<?xml version="1.0" encoding="UTF-8"?>
|
<ViewConfig>
|
<Arguments/>
|
<Context/>
|
<Model>
|
<DataType name="dtMain">
|
<Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlShareApi2004</Property>
|
<PropertyDef name="jlgljgbh">
|
<Property></Property>
|
<Property name="label">军粮管理机构编号</Property>
|
</PropertyDef>
|
<PropertyDef name="tyshxydm">
|
<Property></Property>
|
<Property name="label">统一社会信用代码</Property>
|
</PropertyDef>
|
<PropertyDef name="sydwfrzsh">
|
<Property></Property>
|
<Property name="label">事业单位法人证书号</Property>
|
</PropertyDef>
|
<PropertyDef name="jgmc">
|
<Property></Property>
|
<Property name="label">机构名称</Property>
|
</PropertyDef>
|
<PropertyDef name="jgjc">
|
<Property></Property>
|
<Property name="label">机构简称</Property>
|
</PropertyDef>
|
<PropertyDef name="jgpzmc">
|
<Property></Property>
|
<Property name="label">加挂牌子名称</Property>
|
</PropertyDef>
|
<PropertyDef name="jbdw">
|
<Property></Property>
|
<Property name="label">举办单位</Property>
|
</PropertyDef>
|
<PropertyDef name="fzr">
|
<Property></Property>
|
<Property name="label">负责人</Property>
|
</PropertyDef>
|
<PropertyDef name="jgxz">
|
<Property></Property>
|
<Property name="label">机构性质</Property>
|
</PropertyDef>
|
<PropertyDef name="jgxzmc">
|
<Property></Property>
|
<Property name="label">机构性质名称</Property>
|
</PropertyDef>
|
<PropertyDef name="pzjg">
|
<Property></Property>
|
<Property name="label">批准机构</Property>
|
</PropertyDef>
|
<PropertyDef name="jggg">
|
<Property></Property>
|
<Property name="label">机构规格</Property>
|
</PropertyDef>
|
<PropertyDef name="jfglxs">
|
<Property></Property>
|
<Property name="label">经费管理形式</Property>
|
</PropertyDef>
|
<PropertyDef name="jfglxsmc">
|
<Property></Property>
|
<Property name="label">经费管理形式名称</Property>
|
</PropertyDef>
|
<PropertyDef name="zyzn">
|
<Property></Property>
|
<Property name="label">主要职能</Property>
|
</PropertyDef>
|
<PropertyDef name="jgdz">
|
<Property></Property>
|
<Property name="label">机构地址</Property>
|
</PropertyDef>
|
<PropertyDef name="jgxzqhbm">
|
<Property></Property>
|
<Property name="label">机构行政区划编码</Property>
|
</PropertyDef>
|
<PropertyDef name="jgxzqhmc">
|
<Property></Property>
|
<Property name="label">机构行政区划名称</Property>
|
</PropertyDef>
|
<PropertyDef name="jgyzbm">
|
<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>
|
</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">whjlShareApi2004PR#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="jgmc">
|
<Property name="property">jgmc</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="jgjc">
|
<Property name="property">jgjc</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="fzr">
|
<Property name="property">fzr</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="jgxz">
|
<Property name="property">jgxz</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="jlgljgbh">
|
<Property name="property">jlgljgbh</Property>
|
<Property name="align">center</Property>
|
</DataColumn>
|
<DataColumn name="tyshxydm">
|
<Property name="property">tyshxydm</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">
|
<Property name="width">60%</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="labelAlign">right</Property>
|
<Property name="labelWidth">120</Property>
|
<AutoFormElement>
|
<Property name="name">jlgljgbh</Property>
|
<Property name="property">jlgljgbh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">tyshxydm</Property>
|
<Property name="property">tyshxydm</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sydwfrzsh</Property>
|
<Property name="property">sydwfrzsh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jgmc</Property>
|
<Property name="property">jgmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jgjc</Property>
|
<Property name="property">jgjc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jgpzmc</Property>
|
<Property name="property">jgpzmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jbdw</Property>
|
<Property name="property">jbdw</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">fzr</Property>
|
<Property name="property">fzr</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jgxz</Property>
|
<Property name="property">jgxz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jgxzmc</Property>
|
<Property name="property">jgxzmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">pzjg</Property>
|
<Property name="property">pzjg</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jggg</Property>
|
<Property name="property">jggg</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jfglxs</Property>
|
<Property name="property">jfglxs</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jfglxsmc</Property>
|
<Property name="property">jfglxsmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zyzn</Property>
|
<Property name="property">zyzn</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jgdz</Property>
|
<Property name="property">jgdz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jgxzqhbm</Property>
|
<Property name="property">jgxzqhbm</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jgxzqhmc</Property>
|
<Property name="property">jgxzqhmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jgyzbm</Property>
|
<Property name="property">jgyzbm</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>
|
<Tools/>
|
</Dialog>
|
<UpdateAction id="updateSave">
|
<Property name="dataResolver">whjlShareApi2004PR#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">whjlShareApi2004PR#delData</Property>
|
</AjaxAction>
|
<AjaxAction id="ajaxPull">
|
<Property name="service">whjlShareApi2004PR#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>
|