<?xml version="1.0" encoding="UTF-8"?>
|
<ViewConfig>
|
<Arguments/>
|
<Context/>
|
<Model>
|
<DataType name="dtMain">
|
<Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1112</Property>
|
<PropertyDef name="sbbh">
|
<Property></Property>
|
<Property name="label">设备编号</Property>
|
</PropertyDef>
|
<PropertyDef name="jlqybh">
|
<Property></Property>
|
<Property name="label">军粮企业编号</Property>
|
</PropertyDef>
|
<PropertyDef name="jlqymc">
|
<Property></Property>
|
<Property name="label">军粮企业名称</Property>
|
</PropertyDef>
|
<PropertyDef name="jgzdbh">
|
<Property></Property>
|
<Property name="label">军供站点编号</Property>
|
</PropertyDef>
|
<PropertyDef name="jgzdmc">
|
<Property></Property>
|
<Property name="label">军供站点名称</Property>
|
</PropertyDef>
|
<PropertyDef name="cfbh">
|
<Property></Property>
|
<Property name="label">仓房编号</Property>
|
</PropertyDef>
|
<PropertyDef name="sscfmc">
|
<Property></Property>
|
<Property name="label">仓房名称</Property>
|
</PropertyDef>
|
<PropertyDef name="sblxbh">
|
<Property></Property>
|
<Property name="label">设备类型编号</Property>
|
</PropertyDef>
|
<PropertyDef name="sbmc">
|
<Property></Property>
|
<Property name="label">设备名称</Property>
|
</PropertyDef>
|
<PropertyDef name="sbzt">
|
<Property></Property>
|
<Property name="label">设备状态</Property>
|
</PropertyDef>
|
<PropertyDef name="ggxh">
|
<Property></Property>
|
<Property name="label">规格型号</Property>
|
</PropertyDef>
|
<PropertyDef name="zzdw">
|
<Property></Property>
|
<Property name="label">制造单位</Property>
|
</PropertyDef>
|
<PropertyDef name="cgsj">
|
<Property></Property>
|
<Property name="label">采购时间</Property>
|
<Property name="dataType">DateTime</Property>
|
</PropertyDef>
|
<PropertyDef name="gl">
|
<Property></Property>
|
<Property name="label">功率</Property>
|
</PropertyDef>
|
<PropertyDef name="cl">
|
<Property></Property>
|
<Property name="label">产量</Property>
|
</PropertyDef>
|
<PropertyDef name="wxcc">
|
<Property></Property>
|
<Property name="label">外形尺寸</Property>
|
</PropertyDef>
|
<PropertyDef name="zygn">
|
<Property></Property>
|
<Property name="label">主要功能</Property>
|
</PropertyDef>
|
<PropertyDef name="bgfzrmc">
|
<Property></Property>
|
<Property name="label">保管负责人</Property>
|
</PropertyDef>
|
<PropertyDef name="whgzrmc">
|
<Property></Property>
|
<Property name="label">维护负责人</Property>
|
</PropertyDef>
|
<PropertyDef name="czfzrmc">
|
<Property></Property>
|
<Property name="label">操作负责人</Property>
|
</PropertyDef>
|
<PropertyDef name="zynhyq">
|
<Property></Property>
|
<Property name="label">主要保管要求</Property>
|
</PropertyDef>
|
<PropertyDef name="xgrq">
|
<Property></Property>
|
<Property name="label">修改日期</Property>
|
<Property name="dataType">Date</Property>
|
</PropertyDef>
|
<PropertyDef name="tbrmc">
|
<Property></Property>
|
<Property name="label">填表人名称</Property>
|
</PropertyDef>
|
<PropertyDef name="sfytkk">
|
<Property></Property>
|
<Property name="label">是否云台可控</Property>
|
<Property name="mapping">
|
<Property name="keyProperty">key</Property>
|
<Property name="valueProperty">value</Property>
|
<Property name="mapValues">
|
<Collection>
|
<Entity>
|
<Property name="key">0</Property>
|
<Property name="value">否</Property>
|
</Entity>
|
<Entity>
|
<Property name="key">1</Property>
|
<Property name="value">是</Property>
|
</Entity>
|
</Collection>
|
</Property>
|
</Property>
|
</PropertyDef>
|
<PropertyDef name="ipdz">
|
<Property></Property>
|
<Property name="label">IP地址</Property>
|
</PropertyDef>
|
<PropertyDef name="gldk">
|
<Property name="dataType">Integer</Property>
|
<Property name="label">管理端口</Property>
|
</PropertyDef>
|
<PropertyDef name="sdkdk">
|
<Property></Property>
|
<Property name="label">Sdk端口</Property>
|
</PropertyDef>
|
<PropertyDef name="zh">
|
<Property></Property>
|
<Property name="label">帐号</Property>
|
</PropertyDef>
|
<PropertyDef name="mm">
|
<Property></Property>
|
<Property name="label">密码</Property>
|
</PropertyDef>
|
<PropertyDef name="rstpdz">
|
<Property name="dataType">Integer</Property>
|
<Property name="label">Rtsp地址</Property>
|
</PropertyDef>
|
<PropertyDef name="rtspdk">
|
<Property></Property>
|
<Property name="label">rtsp端口</Property>
|
</PropertyDef>
|
<PropertyDef name="sbxlh">
|
<Property></Property>
|
<Property name="label">设备序列号</Property>
|
</PropertyDef>
|
<PropertyDef name="jklx">
|
<Property></Property>
|
<Property name="label">监控类型</Property>
|
</PropertyDef>
|
<PropertyDef name="sfyx">
|
<Property></Property>
|
<Property name="label">是否有效</Property>
|
</PropertyDef>
|
<PropertyDef name="bz">
|
<Property></Property>
|
<Property name="label">备注</Property>
|
</PropertyDef>
|
<PropertyDef name="bizId">
|
<Property></Property>
|
<Property name="label">业务ID</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>
|
</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">whjlApi1112PR#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");
|
if(select && select.length > 0){
|
view.get("#ajaxPush").set("parameter",select).execute(function(result){
|
view.get("#dsMain").flushAsync();
|
$notify(result);
|
});
|
}else{
|
$alert("请勾选需要上报的数据!");
|
}</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="sbmc">
|
<Property name="property">sbmc</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="cfbh">
|
<Property name="property">cfbh</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="sscfmc">
|
<Property name="property">sscfmc</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="sbzt">
|
<Property name="property">sbzt</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="cgsj">
|
<Property name="property">cgsj</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="gl">
|
<Property name="property">gl</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="wxcc">
|
<Property name="property">wxcc</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="zygn">
|
<Property name="property">zygn</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="sfyx">
|
<Property name="property">sfyx</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
</DataGrid>
|
</Container>
|
<Dialog id="dialogMain">
|
<Property name="width">85%</Property>
|
<Property name="closeable">false</Property>
|
<Property name="iconClass">fa fa-sliders</Property>
|
<Property name="caption">货位信息</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>
|
<AutoForm>
|
<Property name="dataSet">dsMain</Property>
|
<Property name="cols">*,*,*</Property>
|
<Property name="labelPosition">left</Property>
|
<Property name="labelSeparator">:</Property>
|
<Property name="labelWidth">120</Property>
|
<Property name="labelAlign">right</Property>
|
<AutoFormElement>
|
<Property name="name">sbbh</Property>
|
<Property name="property">sbbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jlqybh</Property>
|
<Property name="property">jlqybh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jlqymc</Property>
|
<Property name="property">jlqymc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jgzdbh</Property>
|
<Property name="property">jgzdbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jgzdmc</Property>
|
<Property name="property">jgzdmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">cfbh</Property>
|
<Property name="property">cfbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sscfmc</Property>
|
<Property name="property">sscfmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sblxbh</Property>
|
<Property name="property">sblxbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sbmc</Property>
|
<Property name="property">sbmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sbzt</Property>
|
<Property name="property">sbzt</Property>
|
<Property name="trigger">listDropZT</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">ggxh</Property>
|
<Property name="property">ggxh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zzdw</Property>
|
<Property name="property">zzdw</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">cgsj</Property>
|
<Property name="property">cgsj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">gl</Property>
|
<Property name="property">gl</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">cl</Property>
|
<Property name="property">cl</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">wxcc</Property>
|
<Property name="property">wxcc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zygn</Property>
|
<Property name="property">zygn</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">bgfzrmc</Property>
|
<Property name="property">bgfzrmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">whgzrmc</Property>
|
<Property name="property">whgzrmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">czfzrmc</Property>
|
<Property name="property">czfzrmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zynhyq</Property>
|
<Property name="property">zynhyq</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">xgrq</Property>
|
<Property name="property">xgrq</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">tbrmc</Property>
|
<Property name="property">tbrmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sfytkk</Property>
|
<Property name="property">sfytkk</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">ipdz</Property>
|
<Property name="property">ipdz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">gldk</Property>
|
<Property name="property">gldk</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sdkdk</Property>
|
<Property name="property">sdkdk</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zh</Property>
|
<Property name="property">zh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">mm</Property>
|
<Property name="property">mm</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">rstpdz</Property>
|
<Property name="property">rstpdz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">rtspdk</Property>
|
<Property name="property">rtspdk</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sbxlh</Property>
|
<Property name="property">sbxlh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jklx</Property>
|
<Property name="property">jklx</Property>
|
<Property name="trigger">listDropType</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sfyx</Property>
|
<Property name="property">sfyx</Property>
|
<Property name="trigger">listDropYN</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">bizId</Property>
|
<Property name="property">bizId</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>
|
<AutoFormElement>
|
<Property name="name">bz</Property>
|
<Property name="property">bz</Property>
|
<Editor/>
|
</AutoFormElement>
|
</AutoForm>
|
</Children>
|
<Tools/>
|
</Dialog>
|
<UpdateAction id="updateSave">
|
<Property name="dataResolver">whjlApi1112PR#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">whjlApi1112PR#delData</Property>
|
</AjaxAction>
|
<AjaxAction id="ajaxPush">
|
<Property name="service">whjlApi1112PR#pushData</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>
|
<ListDropDown id="listDropType">
|
<Property name="items">仓内,库区,运输在途,其他</Property>
|
</ListDropDown>
|
<ListDropDown id="listDropZT">
|
<Property name="items">在库,领用,报废</Property>
|
</ListDropDown>
|
</View>
|
</ViewConfig>
|