<?xml version="1.0" encoding="UTF-8"?>
|
<ViewConfig>
|
<Arguments/>
|
<Context/>
|
<Model>
|
<DataType name="dtMain">
|
<Property name="creationType">com.fzzy.api.entity.Api1405</Property>
|
<PropertyDef name="xmdm">
|
<Property></Property>
|
<Property name="label">项目代码</Property>
|
</PropertyDef>
|
<PropertyDef name="tydwbm">
|
<Property></Property>
|
<Property name="label">国家统一单位编码</Property>
|
</PropertyDef>
|
<PropertyDef name="xmmc">
|
<Property></Property>
|
<Property name="label">项目名称</Property>
|
</PropertyDef>
|
<PropertyDef name="xzqhdm">
|
<Property></Property>
|
<Property name="label">行政区划代码</Property>
|
</PropertyDef>
|
<PropertyDef name="nf">
|
<Property name="label">年份</Property>
|
</PropertyDef>
|
<PropertyDef name="xmlx">
|
<Property name="label">项目类型</Property>
|
<Property name="mapping">
|
<Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("XMLX")}</Property>
|
<Property name="keyProperty">code</Property>
|
<Property name="valueProperty">name</Property>
|
</Property>
|
</PropertyDef>
|
<PropertyDef name="jsnr">
|
<Property name="label">建设内容及规模</Property>
|
</PropertyDef>
|
<PropertyDef name="nkgsj">
|
<Property name="dataType">Date</Property>
|
<Property name="label">拟开工时间</Property>
|
</PropertyDef>
|
<PropertyDef name="njcsj">
|
<Property name="label">拟建成时间</Property>
|
<Property name="dataType">Date</Property>
|
</PropertyDef>
|
<PropertyDef name="jszt">
|
<Property name="label">建设状态</Property>
|
<Property name="mapping">
|
<Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("XMLX")}</Property>
|
<Property name="keyProperty">code</Property>
|
<Property name="valueProperty">name</Property>
|
</Property>
|
</PropertyDef>
|
<PropertyDef name="sbrq">
|
<Property name="label">申报日期</Property>
|
<Property name="dataType">Date</Property>
|
</PropertyDef>
|
<PropertyDef name="spwh">
|
<Property></Property>
|
<Property name="label">审批文号</Property>
|
</PropertyDef>
|
<PropertyDef name="xmdw">
|
<Property></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="zhgxsj">
|
<Property></Property>
|
<Property name="label">更新时间</Property>
|
<Property name="dataType">DateTime</Property>
|
</PropertyDef>
|
<PropertyDef name="bizId">
|
<Property></Property>
|
<Property name="label">业务id</Property>
|
</PropertyDef>
|
<PropertyDef name="kqdm">
|
<Property></Property>
|
<Property name="label">库区代码</Property>
|
</PropertyDef>
|
<PropertyDef name="fddbrzzlx">
|
<Property></Property>
|
<Property name="label">法定代表人证照类型</Property>
|
<Property name="mapping">
|
<Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("ZJZLX")}</Property>
|
<Property name="keyProperty">code</Property>
|
<Property name="valueProperty">name</Property>
|
</Property>
|
</PropertyDef>
|
<PropertyDef name="fddbrzzhm">
|
<Property></Property>
|
<Property name="label">法定代表人证照号码</Property>
|
</PropertyDef>
|
<PropertyDef name="lxr">
|
<Property></Property>
|
<Property name="label">联系人</Property>
|
</PropertyDef>
|
<PropertyDef name="lxfs">
|
<Property></Property>
|
<Property name="label">联系方式</Property>
|
</PropertyDef>
|
<PropertyDef name="dzyx">
|
<Property></Property>
|
<Property name="label">电子邮箱</Property>
|
</PropertyDef>
|
<PropertyDef name="jsdd">
|
<Property></Property>
|
<Property name="label">建设地点</Property>
|
</PropertyDef>
|
<PropertyDef name="ztz">
|
<Property></Property>
|
<Property name="label">总投资</Property>
|
<Property name="dataType">double</Property>
|
</PropertyDef>
|
<PropertyDef name="gdzctz">
|
<Property></Property>
|
<Property name="label">固定资产投资</Property>
|
<Property name="dataType">double</Property>
|
</PropertyDef>
|
<PropertyDef name="zyczzj">
|
<Property></Property>
|
<Property name="label">中央财政资金</Property>
|
<Property name="dataType">double</Property>
|
</PropertyDef>
|
<PropertyDef name="sczzj">
|
<Property></Property>
|
<Property name="label">省财政资金</Property>
|
<Property name="dataType">double</Property>
|
</PropertyDef>
|
<PropertyDef name="sczzj2">
|
<Property></Property>
|
<Property name="label">市财政资金</Property>
|
<Property name="dataType">double</Property>
|
</PropertyDef>
|
<PropertyDef name="yhdk">
|
<Property></Property>
|
<Property name="label">银行贷款</Property>
|
<Property name="dataType">double</Property>
|
</PropertyDef>
|
<PropertyDef name="gpzq">
|
<Property></Property>
|
<Property name="label">股票债券</Property>
|
<Property name="dataType">double</Property>
|
</PropertyDef>
|
<PropertyDef name="qtzj">
|
<Property></Property>
|
<Property name="label">其资金</Property>
|
<Property name="dataType">double</Property>
|
</PropertyDef>
|
<PropertyDef name="xmzl">
|
<Property></Property>
|
<Property name="label">项目资料</Property>
|
</PropertyDef>
|
<PropertyDef name="xmdzjd">
|
<Property></Property>
|
<Property name="label">项目地址经度</Property>
|
<Property name="dataType">double</Property>
|
</PropertyDef>
|
<PropertyDef name="zmdzwd">
|
<Property></Property>
|
<Property name="label">项目地址纬度</Property>
|
<Property name="dataType">double</Property>
|
</PropertyDef>
|
<PropertyDef name="syncTime">
|
<Property name="dataType">Date</Property>
|
<Property name="label">同步时间</Property>
|
</PropertyDef>
|
</DataType>
|
<DataType name="dtParam">
|
<Property name="creationType">com.fzzy.api.data.ApiParam</Property>
|
<PropertyDef name="kqdm">
|
<Property></Property>
|
<Property name="label">所属库区</Property>
|
</PropertyDef>
|
<PropertyDef name="start">
|
<Property name="dataType">Date</Property>
|
<Property name="label">开始时间</Property>
|
</PropertyDef>
|
<PropertyDef name="end">
|
<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>
|
</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">api1405PR#pageList</Property>
|
<Property name="pageSize">20</Property>
|
</DataSet>
|
<DataSet id="dsQuery">
|
<ClientEvent name="onReady">self.insert();</ClientEvent>
|
<Property name="dataType">dtParam</Property>
|
</DataSet>
|
<ToolBar>
|
<ToolBarLabel>
|
<Property name="text">工具栏:</Property>
|
<Property name="style">
|
<Property name="font-weight">bold</Property>
|
</Property>
|
</ToolBarLabel>
|
<ToolBarButton>
|
<ClientEvent name="onClick">var query = view.get("#dsQuery").getData();
|
view.get("#dsMain").set("parameter",query).flushAsync();</ClientEvent>
|
<Property name="caption">查询</Property>
|
<Property name="iconClass">fa fa-search</Property>
|
<Property name="width">100</Property>
|
<Property name="exClassName">toolbar-button-push</Property>
|
</ToolBarButton>
|
<ToolBarButton id="btnAdd">
|
<ClientEvent name="onClick">view.get("#dsMain").insert();
|
view.get("#dialogMain").show();</ClientEvent>
|
<Property name="caption">新增</Property>
|
<Property name="iconClass">fa fa-plus</Property>
|
<Property name="width">100</Property>
|
<Property name="exClassName">toolbar-button</Property>
|
<Property name="hideMode">display</Property>
|
</ToolBarButton>
|
<ToolBarButton id="btnUpdate">
|
<ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
|
if(cur){
|
view.get("#dialogMain").show();
|
}</ClientEvent>
|
<Property name="caption">修改</Property>
|
<Property name="iconClass">fa fa-pencil</Property>
|
<Property name="width">100</Property>
|
<Property name="exClassName">toolbar-button-warm</Property>
|
<Property name="hideMode">display</Property>
|
</ToolBarButton>
|
<ToolBarButton>
|
<ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
|
view.get("#ajaxDelUpdate").set("parameter",cur).execute(function(result){
|
if(result){
|
$alert(result);
|
} else{
|
cur.set("czbz","d")
|
}
|
});
|
</ClientEvent>
|
<Property name="caption">标记删除</Property>
|
<Property name="iconClass">fa fa-minus</Property>
|
<Property name="exClassName">toolbar-button-warn</Property>
|
<Property name="width">100</Property>
|
</ToolBarButton>
|
<ToolBarButton id="btnDel">
|
<ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
|
view.get("#ajaxDel").set("parameter",cur).execute(function(result){
|
if(result){
|
$alert(result);
|
} else{
|
cur.remove();
|
}
|
});
|
</ClientEvent>
|
<Property name="caption">直接删除</Property>
|
<Property name="iconClass">fa fa-minus</Property>
|
<Property name="exClassName">toolbar-button-warn</Property>
|
<Property name="width">100</Property>
|
<Property name="hideMode">display</Property>
|
</ToolBarButton>
|
<ToolBarButton>
|
<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">toolbar-button-push</Property>
|
<Property name="width">100</Property>
|
</ToolBarButton>
|
<Fill/>
|
<ToolBarButton>
|
<Property name="caption">上传记录</Property>
|
<Property name="iconClass">fa fa-bars</Property>
|
<Property name="exClassName">toolbar-button</Property>
|
<Property name="width">100</Property>
|
</ToolBarButton>
|
</ToolBar>
|
<AutoForm>
|
<Property name="dataSet">dsQuery</Property>
|
<Property name="cols">*,*,*,*</Property>
|
<Property name="labelAlign">right</Property>
|
<Property name="labelSeparator">:</Property>
|
<Property name="labelWidth">90</Property>
|
<AutoFormElement>
|
<Property name="name">kqdm</Property>
|
<Property name="property">kqdm</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">start</Property>
|
<Property name="property">start</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">end</Property>
|
<Property name="property">end</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">czbz</Property>
|
<Property name="property">czbz</Property>
|
<Property name="trigger">autoMappingDropDown2</Property>
|
<Editor/>
|
</AutoFormElement>
|
</AutoForm>
|
<DataGrid id="dgMain">
|
<Property name="dataSet">dsMain</Property>
|
<Property name="selectionMode">multiRows</Property>
|
<Property name="readOnly">true</Property>
|
<RowNumColumn/>
|
<RowSelectorColumn>
|
<Property name="caption">上传</Property>
|
</RowSelectorColumn>
|
<DataColumn>
|
<Property name="property">xmdm</Property>
|
<Property name="name">xmdm</Property>
|
</DataColumn>
|
<DataColumn>
|
<Property name="property">xmmc</Property>
|
<Property name="name">xmmc</Property>
|
</DataColumn>
|
<DataColumn>
|
<Property name="property">xzqhdm</Property>
|
<Property name="name">xzqhdm</Property>
|
</DataColumn>
|
<DataColumn>
|
<Property name="property">nf</Property>
|
<Property name="name">nf</Property>
|
</DataColumn>
|
<DataColumn>
|
<Property name="property">xmlx</Property>
|
<Property name="name">xmlx</Property>
|
</DataColumn>
|
<DataColumn>
|
<Property name="property">jsnr</Property>
|
<Property name="name">jsnr</Property>
|
</DataColumn>
|
<DataColumn>
|
<Property name="property">jszt</Property>
|
<Property name="name">jszt</Property>
|
</DataColumn>
|
<DataColumn>
|
<Property name="property">njcsj</Property>
|
<Property name="name">njcsj</Property>
|
</DataColumn>
|
<DataColumn name="czbz">
|
<Property name="property">czbz</Property>
|
</DataColumn>
|
<DataColumn name="zhgxsj">
|
<Property name="property">zhgxsj</Property>
|
</DataColumn>
|
</DataGrid>
|
<ToolBar layoutConstraint="bottom">
|
<Fill/>
|
<DataPilot>
|
<Property name="itemCodes">pageSize,pages</Property>
|
<Property name="dataSet">dsMain</Property>
|
</DataPilot>
|
</ToolBar>
|
<Dialog id="dialogMain">
|
<Property name="width">1000</Property>
|
<Property name="caption">项目信息</Property>
|
<Property name="iconClass">fa fa-sliders</Property>
|
<Property name="closeable">false</Property>
|
<Property name="height">90%</Property>
|
<Buttons>
|
<Button>
|
<ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
|
view.get("#updateSave").execute(function(){
|
self.get("parent").hide();
|
});</ClientEvent>
|
<Property name="caption">保存修改</Property>
|
<Property name="iconClass">fa fa-check</Property>
|
<Property name="exClassName">toolbar-button</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>
|
<Property name="exClassName">toolbar-button-warn</Property>
|
</Button>
|
</Buttons>
|
<Children>
|
<AutoForm>
|
<Property name="dataSet">dsMain</Property>
|
<Property name="cols">*,*,*</Property>
|
<Property name="labelWidth">100</Property>
|
<Property name="labelAlign">left</Property>
|
<Property name="labelSeparator">:</Property>
|
<Property name="labelPosition">top</Property>
|
<AutoFormElement>
|
<Property name="name">xmdm</Property>
|
<Property name="property">xmdm</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">xmmc</Property>
|
<Property name="property">xmmc</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">xzqhdm</Property>
|
<Property name="property">xzqhdm</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">tydwbm</Property>
|
<Property name="property">tydwbm</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">nf</Property>
|
<Property name="property">nf</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">xmlx</Property>
|
<Property name="property">xmlx</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jsnr</Property>
|
<Property name="property">jsnr</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">nkgsj</Property>
|
<Property name="property">nkgsj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">njcsj</Property>
|
<Property name="property">njcsj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jszt</Property>
|
<Property name="property">jszt</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sbrq</Property>
|
<Property name="property">sbrq</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">spwh</Property>
|
<Property name="property">spwh</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">xmdw</Property>
|
<Property name="property">xmdw</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">fddbrzzlx</Property>
|
<Property name="property">fddbrzzlx</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">fddbrzzhm</Property>
|
<Property name="property">fddbrzzhm</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">lxr</Property>
|
<Property name="property">lxr</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">lxfs</Property>
|
<Property name="property">lxfs</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">dzyx</Property>
|
<Property name="property">dzyx</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">jsdd</Property>
|
<Property name="property">jsdd</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">ztz</Property>
|
<Property name="property">ztz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">gdzctz</Property>
|
<Property name="property">gdzctz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zyczzj</Property>
|
<Property name="property">zyczzj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sczzj</Property>
|
<Property name="property">sczzj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">sczzj2</Property>
|
<Property name="property">sczzj2</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">gpzq</Property>
|
<Property name="property">gpzq</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">qtzj</Property>
|
<Property name="property">qtzj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">xmzl</Property>
|
<Property name="property">xmzl</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">xmdzjd</Property>
|
<Property name="property">xmdzjd</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zmdzwd</Property>
|
<Property name="property">zmdzwd</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">czbz</Property>
|
<Property name="property">czbz</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">zhgxsj</Property>
|
<Property name="property">zhgxsj</Property>
|
<Editor/>
|
</AutoFormElement>
|
<AutoFormElement>
|
<Property name="name">bizId</Property>
|
<Property name="property">bizId</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">api1405PR#updateSave</Property>
|
<UpdateItem>
|
<Property name="dataPath">[#current]</Property>
|
<Property name="dataSet">dsMain</Property>
|
</UpdateItem>
|
</UpdateAction>
|
<AjaxAction id="ajaxPush">
|
<Property name="service">api1405PR#pushData</Property>
|
<Property name="confirmMessage">确定要上报么?</Property>
|
</AjaxAction>
|
<AjaxAction id="ajaxDel">
|
<Property name="service">api1405PR#delData</Property>
|
<Property name="confirmMessage">当前数据删除后无法恢复,请确认要删除么?</Property>
|
</AjaxAction>
|
<AjaxAction id="ajaxDelUpdate">
|
<Property name="service">api1405PR#delUpdate</Property>
|
<Property name="confirmMessage">确定要将数据标记为删除么?</Property>
|
</AjaxAction>
|
</View>
|
</ViewConfig>
|