<?xml version="1.0" encoding="UTF-8"?>
|
<ViewConfig>
|
<Arguments/>
|
<Context/>
|
<Model>
|
<DataType name="dtMain">
|
<Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlShareApi2010</Property>
|
<PropertyDef name="zjbzid">
|
<Property></Property>
|
<Property name="label">质检标准ID</Property>
|
</PropertyDef>
|
<PropertyDef name="zjbzbm">
|
<Property></Property>
|
<Property name="label">质检标准编码</Property>
|
</PropertyDef>
|
<PropertyDef name="zjbzlx">
|
<Property></Property>
|
<Property name="label">质检标准类型</Property>
|
</PropertyDef>
|
<PropertyDef name="zjbzmc">
|
<Property></Property>
|
<Property name="label">质检标准名称</Property>
|
</PropertyDef>
|
<PropertyDef name="zjbzyj">
|
<Property></Property>
|
<Property name="label">质检检验依据</Property>
|
</PropertyDef>
|
<PropertyDef name="sxh">
|
<Property></Property>
|
<Property name="label">顺序号</Property>
|
</PropertyDef>
|
<PropertyDef name="sfyx">
|
<Property></Property>
|
<Property name="label">是否有效</Property>
|
</PropertyDef>
|
<PropertyDef name="updateTime">
|
<Property name="dataType">Date</Property>
|
<Property name="label">更新时间</Property>
|
</PropertyDef>
|
<PropertyDef name="czbz">
|
<Property></Property>
|
<Property name="label">操作标志</Property>
|
<Property name="mapping">
|
<Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CZBZ")}</Property>
|
<Property name="keyProperty">code</Property>
|
<Property name="valueProperty">name</Property>
|
</Property>
|
</PropertyDef>
|
<PropertyDef name="kqdm">
|
<Property></Property>
|
<Property name="label">库区代码</Property>
|
</PropertyDef>
|
<PropertyDef name="zjbzpzList">
|
<Property/>
|
</PropertyDef>
|
<PropertyDef name="zjbzmxList">
|
<Property/>
|
</PropertyDef>
|
<Reference name="zjbzpz">
|
<Property name="parameter">$${this.zjbzpzList}</Property>
|
<Property name="dataProvider">whjlShareApi2010PR#listItemShareApi2010Pz</Property>
|
<Property name="dataType">[dtItemShareApi2010Pz]</Property>
|
</Reference>
|
<Reference name="zjbzmx">
|
<Property name="parameter">$${this.zjbzmxList}</Property>
|
<Property name="dataProvider">whjlShareApi2010PR#listItemShareApi2010Mx</Property>
|
<Property name="dataType">[dtItemShareApi2010Mx]</Property>
|
</Reference>
|
</DataType>
|
<DataType name="dtItemShareApi2010Pz">
|
<Property name="creationType">com.fzzy.otherview.whhpjl.dto.ShareApi2010Pz</Property>
|
<PropertyDef name="pzflbh">
|
<Property></Property>
|
<Property name="label">品种分类编号</Property>
|
</PropertyDef>
|
<PropertyDef name="pzflmc">
|
<Property></Property>
|
<Property name="label">品种分类名称</Property>
|
</PropertyDef>
|
</DataType>
|
<DataType name="dtItemShareApi2010Mx">
|
<Property name="creationType">com.fzzy.otherview.whhpjl.dto.ShareApi2010Mx</Property>
|
<PropertyDef name="zjbzmxid">
|
<Property></Property>
|
<Property name="label">质检标准明细ID</Property>
|
</PropertyDef>
|
<PropertyDef name="zjxmbm">
|
<Property></Property>
|
<Property name="label">质检项目编码</Property>
|
</PropertyDef>
|
<PropertyDef name="zjxmmc">
|
<Property></Property>
|
<Property name="label">质检项目名称</Property>
|
</PropertyDef>
|
<PropertyDef name="sjlx">
|
<Property></Property>
|
<Property name="label">数据类型</Property>
|
</PropertyDef>
|
<PropertyDef name="xswjd">
|
<Property></Property>
|
<Property name="label">小数位精度</Property>
|
</PropertyDef>
|
<PropertyDef name="jldw">
|
<Property></Property>
|
<Property name="label">计量单位</Property>
|
</PropertyDef>
|
<PropertyDef name="djmc">
|
<Property></Property>
|
<Property name="label">等级名称</Property>
|
</PropertyDef>
|
<PropertyDef name="djbh">
|
<Property></Property>
|
<Property name="label">等级编号</Property>
|
</PropertyDef>
|
<PropertyDef name="xxcsf">
|
<Property></Property>
|
<Property name="label">下限操作符</Property>
|
</PropertyDef>
|
<PropertyDef name="xxz">
|
<Property></Property>
|
<Property name="label">下限值</Property>
|
</PropertyDef>
|
<PropertyDef name="zjz">
|
<Property></Property>
|
<Property name="label">中间值</Property>
|
</PropertyDef>
|
<PropertyDef name="sxcsf">
|
<Property></Property>
|
<Property name="label">上限操作符</Property>
|
</PropertyDef>
|
<PropertyDef name="sxz">
|
<Property></Property>
|
<Property name="label">上限值</Property>
|
</PropertyDef>
|
<PropertyDef name="qxbh">
|
<Property></Property>
|
<Property name="label">缺陷编号</Property>
|
</PropertyDef>
|
<PropertyDef name="qxmc">
|
<Property></Property>
|
<Property name="label">缺陷名称</Property>
|
</PropertyDef>
|
<PropertyDef name="xmzfz">
|
<Property></Property>
|
<Property name="label">项目字符值</Property>
|
</PropertyDef>
|
<PropertyDef name="bzyq">
|
<Property></Property>
|
<Property name="label">标准要求</Property>
|
</PropertyDef>
|
<PropertyDef name="jyfa">
|
<Property></Property>
|
<Property name="label">检验方案</Property>
|
</PropertyDef>
|
<PropertyDef name="sfbt">
|
<Property></Property>
|
<Property name="label">是否必填</Property>
|
</PropertyDef>
|
</DataType>
|
</Model>
|
<View layout="regionPadding:10">
|
<Property name="packages">font-awesome,css-common</Property>
|
<DataSet id="dsMain">
|
<Property name="dataType">[dtMain]</Property>
|
<Property name="dataProvider">whjlShareApi2010PR#listData</Property>
|
</DataSet>
|
<Container layout="regionPadding:10" layoutConstraint="top">
|
<Property name="exClassName">bg-color</Property>
|
<Property name="height">55</Property>
|
<Property name="contentOverflow">hidden</Property>
|
<Label layoutConstraint="left">
|
<Property name="text">菜单栏:</Property>
|
</Label>
|
<Button layoutConstraint="left">
|
<ClientEvent name="onClick">view.get("#dsMain").insert();
|
view.get("#dialogMain").show();</ClientEvent>
|
<Property name="iconClass">fa fa-plus</Property>
|
<Property name="caption">新增</Property>
|
<Property name="exClassName">btn-default</Property>
|
</Button>
|
<Button layoutConstraint="left">
|
<ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
|
if(cur){
|
view.get("#dialogMain").show();
|
}else{
|
$alert("请勾选需要修改的数据!");
|
}</ClientEvent>
|
<Property name="caption">编辑</Property>
|
<Property name="iconClass">fa fa-pencil</Property>
|
<Property name="exClassName">btn-warm</Property>
|
</Button>
|
<Button layoutConstraint="left">
|
<ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
|
if(cur){
|
view.get("#ajaxDel").set("parameter",cur).execute(function(result){
|
if(result){
|
$alert(result);
|
} else{
|
cur.remove();
|
}
|
});
|
}else{
|
$alert("请勾选需要删除的数据!");
|
}</ClientEvent>
|
<Property name="caption">删除</Property>
|
<Property name="iconClass">fa fa-minus</Property>
|
<Property name="exClassName">btn-warn</Property>
|
</Button>
|
<Button layoutConstraint="left">
|
<ClientEvent name="onClick">view.get("#dsMain").flushAsync();</ClientEvent>
|
<Property name="caption">刷新</Property>
|
<Property name="iconClass">fa fa-search</Property>
|
<Property name="exClassName">btn-flush</Property>
|
</Button>
|
<Button layoutConstraint="left">
|
<ClientEvent name="onClick">var select = view.get("#dgMain").get("selection");
|
view.get("#ajaxPull").set("parameter",select).execute(function(result){
|
view.get("#dsMain").flushAsync();
|
$notify(result);
|
});
|
</ClientEvent>
|
<Property name="caption">手动更新</Property>
|
<Property name="iconClass">fa fa-hand-o-up</Property>
|
<Property name="exClassName">btn-default</Property>
|
</Button>
|
<Button layoutConstraint="right">
|
<ClientEvent name="onClick">//显示记录
|
view.get("#iFrame").reload();
|
view.get("#dialogLog").show();</ClientEvent>
|
<Property name="caption">更新记录</Property>
|
<Property name="iconClass">fa fa-bars</Property>
|
<Property name="exClassName">btn-flush</Property>
|
</Button>
|
</Container>
|
<Container layoutConstraint="center">
|
<Property name="exClassName">bg-color</Property>
|
<DataGrid id="dgMain">
|
<ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsMain.data:#");
|
if(data){
|
view.get("#dialogMain").show();
|
}</ClientEvent>
|
<Property name="dataSet">dsMain</Property>
|
<Property name="selectionMode">multiRows</Property>
|
<Property name="readOnly">true</Property>
|
<RowNumColumn/>
|
<RowSelectorColumn>
|
<Property name="caption">上传</Property>
|
</RowSelectorColumn>
|
<DataColumn name="zjbzid">
|
<Property name="property">zjbzid</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="zjbzbm">
|
<Property name="property">zjbzbm</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="zjbzlx">
|
<Property name="property">zjbzlx</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="zjbzmc">
|
<Property name="property">zjbzmc</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="zjbzyj">
|
<Property name="property">zjbzyj</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="sxh">
|
<Property name="property">sxh</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="sfyx">
|
<Property name="property">sfyx</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="updateTime">
|
<Property name="property">updateTime</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
</DataGrid>
|
</Container>
|
<Dialog id="dialogMain" layout="regionPadding:10;padding:5">
|
<Property name="width">80%</Property>
|
<Property name="closeable">false</Property>
|
<Property name="iconClass">fa fa-sliders</Property>
|
<Property name="caption">质量检查标准</Property>
|
<Property name="height">85%</Property>
|
<Buttons>
|
<Button>
|
<ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
|
view.get("#updateSave").execute(function(){
|
self.get("parent").hide();
|
view.get("#dsMain").flushAsync();
|
});</ClientEvent>
|
<Property name="caption">确定</Property>
|
<Property name="iconClass">fa fa-check</Property>
|
</Button>
|
<Button>
|
<ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
|
self.get("parent").hide();
|
if(cur) cur.cancel();</ClientEvent>
|
<Property name="caption">取消</Property>
|
<Property name="iconClass">fa fa-times</Property>
|
</Button>
|
</Buttons>
|
<Children>
|
<FieldSet>
|
<Property name="caption">质量检查标准</Property>
|
<Buttons/>
|
<Children>
|
<AutoForm>
|
<Property name="dataSet">dsMain</Property>
|
<Property name="cols">*,*</Property>
|
<Property name="labelPosition">left</Property>
|
<Property name="labelSeparator">:</Property>
|
<Property name="labelAlign">right</Property>
|
<Property name="labelWidth">120</Property>
|
<AutoFormElement>
|
<Property name="name">zjbzid</Property>
|
<Property name="property">zjbzid</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zjbzbm</Property>
|
<Property name="property">zjbzbm</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zjbzlx</Property>
|
<Property name="property">zjbzlx</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zjbzmc</Property>
|
<Property name="property">zjbzmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zjbzyj</Property>
|
<Property name="property">zjbzyj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sxh</Property>
|
<Property name="property">sxh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sfyx</Property>
|
<Property name="property">sfyx</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">updateTime</Property>
|
<Property name="property">updateTime</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">czbz</Property>
|
<Property name="property">czbz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">kqdm</Property>
|
<Property name="property">kqdm</Property>
|
<Editor/>
|
</AutoFormElement>
|
</AutoForm>
|
</Children>
|
</FieldSet>
|
<Panel layout="regionPadding:5">
|
<Property name="caption">质检标准适用的品种</Property>
|
<Property name="height">140</Property>
|
<Buttons/>
|
<Children>
|
<DataGrid id="dataGridDetail1">
|
<Property name="dataSet">dsMain</Property>
|
<Property name="dataPath">#.zjbzpz</Property>
|
<DataColumn name="pzflbh">
|
<Property name="property">pzflbh</Property>
|
</DataColumn>
|
<DataColumn name="pzflmc">
|
<Property name="property">pzflmc</Property>
|
</DataColumn>
|
</DataGrid>
|
</Children>
|
<Tools/>
|
</Panel>
|
<Panel layout="regionPadding:5">
|
<Property name="caption">质检标准明细</Property>
|
<Property name="height">200</Property>
|
<Buttons/>
|
<Children>
|
<DataGrid id="dataGridDetail2">
|
<Property name="dataSet">dsMain</Property>
|
<Property name="dataPath">#.zjbzmx</Property>
|
<DataColumn name="zjbzmxid">
|
<Property name="property">zjbzmxid</Property>
|
</DataColumn>
|
<DataColumn name="zjxmbm">
|
<Property name="property">zjxmbm</Property>
|
</DataColumn>
|
<DataColumn name="zjxmmc">
|
<Property name="property">zjxmmc</Property>
|
</DataColumn>
|
<DataColumn name="sjlx">
|
<Property name="property">sjlx</Property>
|
</DataColumn>
|
<DataColumn name="xswjd">
|
<Property name="property">xswjd</Property>
|
</DataColumn>
|
<DataColumn name="jldw">
|
<Property name="property">jldw</Property>
|
</DataColumn>
|
<DataColumn name="djmc">
|
<Property name="property">djmc</Property>
|
</DataColumn>
|
<DataColumn name="djbh">
|
<Property name="property">djbh</Property>
|
</DataColumn>
|
<DataColumn name="djmc">
|
<Property name="property">djmc</Property>
|
</DataColumn>
|
<DataColumn name="jyfa">
|
<Property name="property">jyfa</Property>
|
</DataColumn>
|
<DataColumn name="sfbt">
|
<Property name="property">sfbt</Property>
|
</DataColumn>
|
</DataGrid>
|
</Children>
|
<Tools/>
|
</Panel>
|
</Children>
|
<Tools/>
|
</Dialog>
|
<UpdateAction id="updateSave">
|
<Property name="dataResolver">whjlShareApi2010PR#saveData</Property>
|
<UpdateItem>
|
<Property name="dataPath">[#current]</Property>
|
<Property name="dataSet">dsMain</Property>
|
</UpdateItem>
|
</UpdateAction>
|
<AjaxAction id="ajaxDel">
|
<Property name="confirmMessage">当前数据删除后无法恢复,请确认要删除么?</Property>
|
<Property name="service">whjlShareApi2010PR#delData</Property>
|
</AjaxAction>
|
<AjaxAction id="ajaxPull">
|
<Property name="service">whjlShareApi2010PR#pullData</Property>
|
</AjaxAction>
|
<Dialog id="dialogLog">
|
<Property name="width">90%</Property>
|
<Property name="height">90%</Property>
|
<Property name="caption">更新记录</Property>
|
<Property name="iconClass">fa fa-sliders</Property>
|
<Buttons>
|
<Button>
|
<ClientEvent name="onClick">self.get("parent").hide();</ClientEvent>
|
<Property name="caption">关闭</Property>
|
<Property name="iconClass">fa fa-times</Property>
|
</Button>
|
</Buttons>
|
<Children>
|
<Container>
|
<IFrame id="iFrame">
|
<Property name="path">com.fzzy.api.view.ApiLog.d</Property>
|
<Property name="userData">
|
<Entity>
|
<Property name="deptId">deptId</Property>
|
</Entity>
|
</Property>
|
</IFrame>
|
</Container>
|
</Children>
|
<Tools/>
|
</Dialog>
|
<ListDropDown id="listDropYN">
|
<Property name="items">是,否</Property>
|
</ListDropDown>
|
</View>
|
</ViewConfig>
|