From 99aa67bc1d05c4a9b394d9e5ad5ed68931abcc7e Mon Sep 17 00:00:00 2001
From: YYC <1833023622@qq.com>
Date: 星期三, 25 十月 2023 20:10:06 +0800
Subject: [PATCH] 武汉接口--副食品
---
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1108.view.xml | 8
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1203.view.xml | 844 +++++++++++++++
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1203.java | 10
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1201PR.java | 154 ++
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1106PR.java | 154 ++
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1201.view.xml | 737 +++++++++++++
src/main/resources/templates/home/home-whjl.html | 30
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1107.view.xml | 8
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1202PR.java | 154 ++
src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1203PR.java | 154 ++
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1202.java | 13
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1202.view.xml | 421 +++++++
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1201.java | 12
src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1106.view.xml | 508 +++++++++
src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1106.java | 53
15 files changed, 3,243 insertions(+), 17 deletions(-)
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1106.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1106.view.xml
new file mode 100644
index 0000000..0b8567d
--- /dev/null
+++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1106.view.xml
@@ -0,0 +1,508 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ViewConfig>
+ <Arguments/>
+ <Context/>
+ <Model>
+ <DataType name="dtMain">
+ <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1106</Property>
+ <PropertyDef name="ygbh">
+ <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="ygmc">
+ <Property></Property>
+ <Property name="label">娌圭亴鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="yglx">
+ <Property></Property>
+ <Property name="label">娌圭亴绫诲瀷</Property>
+ </PropertyDef>
+ <PropertyDef name="ykdj">
+ <Property></Property>
+ <Property name="label">娌圭亴绛夌骇</Property>
+ </PropertyDef>
+ <PropertyDef name="ygor">
+ <Property name="dataType">Double</Property>
+ <Property name="label">娌圭綈鎬诲</Property>
+ </PropertyDef>
+ <PropertyDef name="ygzrd1">
+ <Property name="dataType">Double</Property>
+ <Property name="label">娌圭綈缁勫</Property>
+ </PropertyDef>
+ <PropertyDef name="lxdh">
+ <Property></Property>
+ <Property name="label">鑱旂郴鐢佃瘽</Property>
+ </PropertyDef>
+ <PropertyDef name="cfjd">
+ <Property name="dataType">Double</Property>
+ <Property name="label">浠撴埧缁忓害</Property>
+ </PropertyDef>
+ <PropertyDef name="cfwd">
+ <Property name="dataType">Double</Property>
+ <Property name="label">浠撴埧绾害</Property>
+ </PropertyDef>
+ <PropertyDef name="qyrq">
+ <Property name="dataType">Date</Property>
+ <Property name="label">鍚敤鏃ユ湡</Property>
+ </PropertyDef>
+ <PropertyDef name="ygzt">
+ <Property></Property>
+ <Property name="label">娌圭綈鐘舵��</Property>
+ </PropertyDef>
+ <PropertyDef name="ygsyzt">
+ <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>
+ </PropertyDef>
+ <PropertyDef name="kqdm">
+ <Property></Property>
+ <Property name="label">搴撳尯浠g爜</Property>
+ </PropertyDef>
+ </DataType>
+ <DataType name="dtGBArea">
+ <Property name="creationType">com.fzzy.api.entity.GbArea</Property>
+ <PropertyDef name="code">
+ <Property></Property>
+ <Property name="label">鎺ュ彛缂栫爜</Property>
+ </PropertyDef>
+ <PropertyDef name="name">
+ <Property></Property>
+ <Property name="label">鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="parentCode">
+ <Property></Property>
+ <Property name="label">鐖剁紪鐮�</Property>
+ </PropertyDef>
+ <PropertyDef name="disabledTag">
+ <Property></Property>
+ <Property name="label">绂佺敤</Property>
+ </PropertyDef>
+ <PropertyDef name="simple">
+ <Property></Property>
+ <Property name="label">鏄惁榛樿</Property>
+ </PropertyDef>
+ <PropertyDef name="remark">
+ <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">whjlApi1106PR#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="ygbh">
+ <Property name="property">ygbh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jlqybh">
+ <Property name="property">jlqybh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jlqymc">
+ <Property name="property">jlqymc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jgzdbh">
+ <Property name="property">jgzdbh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jgzdmc">
+ <Property name="property">jgzdmc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="ygmc">
+ <Property name="property">ygmc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="yglx">
+ <Property name="property">yglx</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="lxdh">
+ <Property name="property">lxdh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="cfjd">
+ <Property name="property">cfjd</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="cfwd">
+ <Property name="property">cfwd</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="qyrq">
+ <Property name="property">qyrq</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="ygzt">
+ <Property name="property">ygzt</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="ygsyzt">
+ <Property name="property">ygsyzt</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">top</Property>
+ <Property name="labelSeparator">:</Property>
+ <AutoFormElement>
+ <Property name="name">ygbh</Property>
+ <Property name="property">ygbh</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">ygmc</Property>
+ <Property name="property">ygmc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">yglx</Property>
+ <Property name="property">yglx</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">ykdj</Property>
+ <Property name="property">ykdj</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">ygor</Property>
+ <Property name="property">ygor</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">ygzrd1</Property>
+ <Property name="property">ygzrd1</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">lxdh</Property>
+ <Property name="property">lxdh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">cfjd</Property>
+ <Property name="property">cfjd</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">cfwd</Property>
+ <Property name="property">cfwd</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qyrq</Property>
+ <Property name="property">qyrq</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">ygzt</Property>
+ <Property name="property">ygzt</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">ygsyzt</Property>
+ <Property name="property">ygsyzt</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">sfyx</Property>
+ <Property name="property">sfyx</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">bz</Property>
+ <Property name="property">bz</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>
+ </AutoForm>
+ </Children>
+ <Tools/>
+ </Dialog>
+ <UpdateAction id="updateSave">
+ <Property name="dataResolver">whjlApi1106PR#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">whjlApi1106PR#delData</Property>
+ </AjaxAction>
+ <AjaxAction id="ajaxPush">
+ <Property name="service">whjlApi1106PR#pushData</Property>
+ </AjaxAction>
+ <CustomDropDown id="cddGbArea">
+ <Property name="assignmentMap">qyxzqhdm=code,qyxzqhmc=name</Property>
+ <Property name="height">500</Property>
+ <Property name="minHeight">500</Property>
+ <Property name="maxHeight">500</Property>
+ <Property name="width">400</Property>
+ <Container layout="regionPadding:5">
+ <DataSet id="dsGBArea">
+ <Property name="dataProvider">gbAreaPR#findByCode</Property>
+ <Property name="dataType">[dtGBArea]</Property>
+ </DataSet>
+ <Container layout="hbox regionPadding:5">
+ <TextEditor id="key2">
+ <Property name="blankText"> -- 缂栫爜鎴栬�呭悕绉� --</Property>
+ <Property name="width">200</Property>
+ </TextEditor>
+ <Button>
+ <ClientEvent name="onClick">var key = view.get("#key2.value");
+view.get("#dsGBArea").set("parameter",{key:key}).flushAsync();</ClientEvent>
+ <Property name="iconClass">fa fa-search</Property>
+ <Property name="caption">鏌ヨ</Property>
+ </Button>
+ <Button>
+ <ClientEvent name="onClick">var data = view.get("#dsGBArea.data:#");
+if (data) {
+ view.get("#cddGbArea").close(data.toJSON());
+}</ClientEvent>
+ <Property name="caption">纭畾</Property>
+ <Property name="iconClass">fa fa-check</Property>
+ </Button>
+ </Container>
+ <DataGrid>
+ <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsGBArea.data:#");
+if(data){
+ view.get("#cddGbArea").close(data.toJSON());
+}</ClientEvent>
+ <Property name="dataSet">dsGBArea</Property>
+ <Property name="readOnly">true</Property>
+ <DataColumn name="code">
+ <Property name="property">code</Property>
+ </DataColumn>
+ <DataColumn name="name">
+ <Property name="property">name</Property>
+ </DataColumn>
+ </DataGrid>
+ </Container>
+ </CustomDropDown>
+ <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>
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1107.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1107.view.xml
index 52ac2ef..5289bc7 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1107.view.xml
+++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1107.view.xml
@@ -134,7 +134,7 @@
<Property name="packages">font-awesome,css-common</Property>
<DataSet id="dsMain">
<Property name="dataType">[dtMain]</Property>
- <Property name="dataProvider">WhjlApi1107PR#listData</Property>
+ <Property name="dataProvider">whjlApi1107PR#listData</Property>
</DataSet>
<Container layout="regionPadding:10" layoutConstraint="top">
<Property name="exClassName">bg-color</Property>
@@ -429,7 +429,7 @@
<Tools/>
</Dialog>
<UpdateAction id="updateSave">
- <Property name="dataResolver">WhjlApi1107PR#saveData</Property>
+ <Property name="dataResolver">whjlApi1107PR#saveData</Property>
<UpdateItem>
<Property name="dataPath">[#current]</Property>
<Property name="dataSet">dsMain</Property>
@@ -437,10 +437,10 @@
</UpdateAction>
<AjaxAction id="ajaxDel">
<Property name="confirmMessage">褰撳墠鏁版嵁鍒犻櫎鍚庢棤娉曟仮澶嶏紝璇风‘璁よ鍒犻櫎涔堬紵</Property>
- <Property name="service">WhjlApi1107PR#delData</Property>
+ <Property name="service">whjlApi1107PR#delData</Property>
</AjaxAction>
<AjaxAction id="ajaxPush">
- <Property name="service">WhjlApi1107PR#pushData</Property>
+ <Property name="service">whjlApi1107PR#pushData</Property>
</AjaxAction>
<Dialog id="dialogLog">
<Property name="width">90%</Property>
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1108.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1108.view.xml
index ca9fb89..f0d944a 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1108.view.xml
+++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1108.view.xml
@@ -118,7 +118,7 @@
<Property name="packages">font-awesome,css-common</Property>
<DataSet id="dsMain">
<Property name="dataType">[dtMain]</Property>
- <Property name="dataProvider">WhjlApi1108PR#listData</Property>
+ <Property name="dataProvider">whjlApi1108PR#listData</Property>
</DataSet>
<Container layout="regionPadding:10" layoutConstraint="top">
<Property name="exClassName">bg-color</Property>
@@ -384,7 +384,7 @@
<Tools/>
</Dialog>
<UpdateAction id="updateSave">
- <Property name="dataResolver">WhjlApi1108PR#saveData</Property>
+ <Property name="dataResolver">whjlApi1108PR#saveData</Property>
<UpdateItem>
<Property name="dataPath">[#current]</Property>
<Property name="dataSet">dsMain</Property>
@@ -392,10 +392,10 @@
</UpdateAction>
<AjaxAction id="ajaxDel">
<Property name="confirmMessage">褰撳墠鏁版嵁鍒犻櫎鍚庢棤娉曟仮澶嶏紝璇风‘璁よ鍒犻櫎涔堬紵</Property>
- <Property name="service">WhjlApi1108PR#delData</Property>
+ <Property name="service">whjlApi1108PR#delData</Property>
</AjaxAction>
<AjaxAction id="ajaxPush">
- <Property name="service">WhjlApi1108PR#pushData</Property>
+ <Property name="service">whjlApi1108PR#pushData</Property>
</AjaxAction>
<Dialog id="dialogLog">
<Property name="width">90%</Property>
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1201.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1201.view.xml
new file mode 100644
index 0000000..27e2f5b
--- /dev/null
+++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1201.view.xml
@@ -0,0 +1,737 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ViewConfig>
+ <Arguments/>
+ <Context/>
+ <Model>
+ <DataType name="dtMain">
+ <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1201</Property>
+ <PropertyDef name="jljgqybh">
+ <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="jljgqymc">
+ <Property></Property>
+ <Property name="label">鍔犲伐浼佷笟鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="jljgqyjc">
+ <Property></Property>
+ <Property name="label">鍔犲伐浼佷笟绠�绉�</Property>
+ </PropertyDef>
+ <PropertyDef name="zzjgdm">
+ <Property></Property>
+ <Property name="label">缁勭粐鏈烘瀯浠g爜</Property>
+ </PropertyDef>
+ <PropertyDef name="jlqytyshxydm">
+ <Property></Property>
+ <Property name="label">浼佷笟缁熶竴绀句細淇$敤浠g爜</Property>
+ </PropertyDef>
+ <PropertyDef name="qyjjlx">
+ <Property></Property>
+ <Property name="label">浼佷笟缁忔祹绫诲瀷</Property>
+ </PropertyDef>
+ <PropertyDef name="qyxz">
+ <Property></Property>
+ <Property name="label">浼佷笟鎬ц川</Property>
+ </PropertyDef>
+ <PropertyDef name="djzclx">
+ <Property></Property>
+ <Property name="label">鐧昏娉ㄥ唽绫诲瀷</Property>
+ </PropertyDef>
+ <PropertyDef name="gsdjzch">
+ <Property></Property>
+ <Property name="label">宸ュ晢鐧昏娉ㄥ唽鍙�</Property>
+ </PropertyDef>
+ <PropertyDef name="fddbr">
+ <Property></Property>
+ <Property name="label">娉曞畾浠h〃浜�</Property>
+ </PropertyDef>
+ <PropertyDef name="qydz">
+ <Property></Property>
+ <Property name="label">浼佷笟鍦板潃</Property>
+ </PropertyDef>
+ <PropertyDef name="qydh">
+ <Property></Property>
+ <Property name="label">浼佷笟鐢佃瘽</Property>
+ </PropertyDef>
+ <PropertyDef name="qycz">
+ <Property></Property>
+ <Property name="label">浼佷笟浼犵湡</Property>
+ </PropertyDef>
+ <PropertyDef name="qydzyx">
+ <Property></Property>
+ <Property name="label">浼佷笟鐢靛瓙閭</Property>
+ </PropertyDef>
+ <PropertyDef name="qywz">
+ <Property></Property>
+ <Property name="label">浼佷笟缃戝潃</Property>
+ </PropertyDef>
+ <PropertyDef name="qyyzbm">
+ <Property></Property>
+ <Property name="label">浼佷笟閭斂缂栫爜</Property>
+ </PropertyDef>
+ <PropertyDef name="qyjd">
+ <Property name="dataType">Double</Property>
+ <Property name="label">浼佷笟缁忓害</Property>
+ <Property name="displayFormat">#0.000000搴�</Property>
+ </PropertyDef>
+ <PropertyDef name="qywd">
+ <Property name="dataType">Double</Property>
+ <Property name="label">浼佷笟绾害</Property>
+ <Property name="displayFormat">#0.000000搴�</Property>
+ </PropertyDef>
+ <PropertyDef name="qyxzqhmc">
+ <Property></Property>
+ <Property name="label">浼佷笟琛屾斂鍖哄垝鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="qyxzqhdm">
+ <Property></Property>
+ <Property name="label">浼佷笟琛屾斂鍖哄垝浠g爜</Property>
+ </PropertyDef>
+ <PropertyDef name="khyh">
+ <Property></Property>
+ <Property name="label">寮�鎴烽摱琛�</Property>
+ </PropertyDef>
+ <PropertyDef name="yhzh">
+ <Property></Property>
+ <Property name="label">閾惰璐﹀彿</Property>
+ </PropertyDef>
+ <PropertyDef name="yhxydj">
+ <Property></Property>
+ <Property name="label">閾惰淇$敤绛夌骇</Property>
+ </PropertyDef>
+ <PropertyDef name="gdzc">
+ <Property name="dataType">Double</Property>
+ <Property name="label">鍥哄畾璧勪骇</Property>
+ <Property name="displayFormat">#0.00涓囧厓</Property>
+ </PropertyDef>
+ <PropertyDef name="zczb">
+ <Property name="dataType">Double</Property>
+ <Property name="label">娉ㄥ唽璧勬湰</Property>
+ <Property name="displayFormat">#0.00涓囧厓</Property>
+ </PropertyDef>
+ <PropertyDef name="zc">
+ <Property name="dataType">Double</Property>
+ <Property name="label">璧勪骇</Property>
+ <Property name="displayFormat">#0.00涓囧厓</Property>
+ </PropertyDef>
+ <PropertyDef name="qycyrys">
+ <Property name="dataType">int</Property>
+ <Property name="label">浼佷笟浠庝笟浜哄憳鏁�</Property>
+ <Property name="displayFormat">#0浜�</Property>
+ </PropertyDef>
+ <PropertyDef name="scx">
+ <Property></Property>
+ <Property name="label">鐢熶骇绾�</Property>
+ </PropertyDef>
+ <PropertyDef name="scsb">
+ <Property></Property>
+ <Property name="label">鐢熶骇璁惧</Property>
+ </PropertyDef>
+ <PropertyDef name="sbmc">
+ <Property></Property>
+ <Property name="label">璁惧鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="sbcd">
+ <Property></Property>
+ <Property name="label">璁惧浜у湴</Property>
+ </PropertyDef>
+ <PropertyDef name="jgnl">
+ <Property></Property>
+ <Property name="label">鍔犲伐鑳藉姏</Property>
+ </PropertyDef>
+ <PropertyDef name="spscxkz">
+ <Property></Property>
+ <Property name="label">椋熷搧鐢熶骇璁稿彲</Property>
+ </PropertyDef>
+ <PropertyDef name="zypp">
+ <Property></Property>
+ <Property name="label">涓昏鍝佺墝</Property>
+ </PropertyDef>
+ <PropertyDef name="zz">
+ <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>
+ </PropertyDef>
+ <PropertyDef name="kqdm">
+ <Property></Property>
+ <Property name="label">搴撳尯浠g爜</Property>
+ </PropertyDef>
+ </DataType>
+ <DataType name="dtGBArea">
+ <Property name="creationType">com.fzzy.api.entity.GbArea</Property>
+ <PropertyDef name="code">
+ <Property></Property>
+ <Property name="label">鎺ュ彛缂栫爜</Property>
+ </PropertyDef>
+ <PropertyDef name="name">
+ <Property></Property>
+ <Property name="label">鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="parentCode">
+ <Property></Property>
+ <Property name="label">鐖剁紪鐮�</Property>
+ </PropertyDef>
+ <PropertyDef name="disabledTag">
+ <Property></Property>
+ <Property name="label">绂佺敤</Property>
+ </PropertyDef>
+ <PropertyDef name="simple">
+ <Property></Property>
+ <Property name="label">鏄惁榛樿</Property>
+ </PropertyDef>
+ <PropertyDef name="remark">
+ <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">whjlApi1201PR#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="jlqymc">
+ <Property name="property">jlqymc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jgzdmc">
+ <Property name="property">jgzdmc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jljgqymc">
+ <Property name="property">jljgqymc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jljgqyjc">
+ <Property name="property">jljgqyjc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="zzjgdm">
+ <Property name="property">zzjgdm</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="qyjjlx">
+ <Property name="property">qyjjlx</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="qyxz">
+ <Property name="property">qyxz</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="djzclx">
+ <Property name="property">djzclx</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="gsdjzch">
+ <Property name="property">gsdjzch</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="fddbr">
+ <Property name="property">fddbr</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="qydz">
+ <Property name="property">qydz</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="qydh">
+ <Property name="property">qydh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="qycz">
+ <Property name="property">qycz</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="qydzyx">
+ <Property name="property">qydzyx</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="qywz">
+ <Property name="property">qywz</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="qyjd">
+ <Property name="property">qyjd</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="qywd">
+ <Property name="property">qywd</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>
+ <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>
+ <AutoForm>
+ <Property name="dataSet">dsMain</Property>
+ <Property name="cols">*,*,*,*</Property>
+ <Property name="labelPosition">top</Property>
+ <Property name="labelSeparator">:</Property>
+ <AutoFormElement>
+ <Property name="name">jljgqybh</Property>
+ <Property name="property">jljgqybh</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">jljgqymc</Property>
+ <Property name="property">jljgqymc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jljgqyjc</Property>
+ <Property name="property">jljgqyjc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">zzjgdm</Property>
+ <Property name="property">zzjgdm</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jlqytyshxydm</Property>
+ <Property name="property">jlqytyshxydm</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qyjjlx</Property>
+ <Property name="property">qyjjlx</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qyxz</Property>
+ <Property name="property">qyxz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">djzclx</Property>
+ <Property name="property">djzclx</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">gsdjzch</Property>
+ <Property name="property">gsdjzch</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">fddbr</Property>
+ <Property name="property">fddbr</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qydz</Property>
+ <Property name="property">qydz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qydh</Property>
+ <Property name="property">qydh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qycz</Property>
+ <Property name="property">qycz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qydzyx</Property>
+ <Property name="property">qydzyx</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qywz</Property>
+ <Property name="property">qywz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qyyzbm</Property>
+ <Property name="property">qyyzbm</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qyjd</Property>
+ <Property name="property">qyjd</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qywd</Property>
+ <Property name="property">qywd</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qyxzqhmc</Property>
+ <Property name="property">qyxzqhmc</Property>
+ <Property name="trigger">cddGbArea</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qyxzqhdm</Property>
+ <Property name="property">qyxzqhdm</Property>
+ <Property name="trigger">cddGbArea</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">khyh</Property>
+ <Property name="property">khyh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">yhzh</Property>
+ <Property name="property">yhzh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">yhxydj</Property>
+ <Property name="property">yhxydj</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">gdzc</Property>
+ <Property name="property">gdzc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">zczb</Property>
+ <Property name="property">zczb</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">zc</Property>
+ <Property name="property">zc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qycyrys</Property>
+ <Property name="property">qycyrys</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">scx</Property>
+ <Property name="property">scx</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">scsb</Property>
+ <Property name="property">scsb</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">sbmc</Property>
+ <Property name="property">sbmc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">sbcd</Property>
+ <Property name="property">sbcd</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jgnl</Property>
+ <Property name="property">jgnl</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">spscxkz</Property>
+ <Property name="property">spscxkz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">zypp</Property>
+ <Property name="property">zypp</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">zz</Property>
+ <Property name="property">zz</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">bz</Property>
+ <Property name="property">bz</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>
+ </AutoForm>
+ </Children>
+ <Tools/>
+ </Dialog>
+ <UpdateAction id="updateSave">
+ <Property name="dataResolver">whjlApi1201PR#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">whjlApi1201PR#delData</Property>
+ </AjaxAction>
+ <AjaxAction id="ajaxPush">
+ <Property name="service">whjlApi1201PR#pushData</Property>
+ </AjaxAction>
+ <CustomDropDown id="cddGbArea">
+ <Property name="assignmentMap">qyxzqhdm=code,qyxzqhmc=name</Property>
+ <Property name="height">500</Property>
+ <Property name="minHeight">500</Property>
+ <Property name="maxHeight">500</Property>
+ <Property name="width">400</Property>
+ <Container layout="regionPadding:5">
+ <DataSet id="dsGBArea">
+ <Property name="dataProvider">gbAreaPR#findByCode</Property>
+ <Property name="dataType">[dtGBArea]</Property>
+ </DataSet>
+ <Container layout="hbox regionPadding:5">
+ <TextEditor id="key2">
+ <Property name="blankText"> -- 缂栫爜鎴栬�呭悕绉� --</Property>
+ <Property name="width">200</Property>
+ </TextEditor>
+ <Button>
+ <ClientEvent name="onClick">var key = view.get("#key2.value");
+view.get("#dsGBArea").set("parameter",{key:key}).flushAsync();</ClientEvent>
+ <Property name="iconClass">fa fa-search</Property>
+ <Property name="caption">鏌ヨ</Property>
+ </Button>
+ <Button>
+ <ClientEvent name="onClick">var data = view.get("#dsGBArea.data:#");
+if (data) {
+ view.get("#cddGbArea").close(data.toJSON());
+}</ClientEvent>
+ <Property name="caption">纭畾</Property>
+ <Property name="iconClass">fa fa-check</Property>
+ </Button>
+ </Container>
+ <DataGrid>
+ <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsGBArea.data:#");
+if(data){
+ view.get("#cddGbArea").close(data.toJSON());
+}</ClientEvent>
+ <Property name="dataSet">dsGBArea</Property>
+ <Property name="readOnly">true</Property>
+ <DataColumn name="code">
+ <Property name="property">code</Property>
+ </DataColumn>
+ <DataColumn name="name">
+ <Property name="property">name</Property>
+ </DataColumn>
+ </DataGrid>
+ </Container>
+ </CustomDropDown>
+ <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>
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1202.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1202.view.xml
new file mode 100644
index 0000000..e4bb287
--- /dev/null
+++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1202.view.xml
@@ -0,0 +1,421 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ViewConfig>
+ <Arguments/>
+ <Context/>
+ <Model>
+ <DataType name="dtMain">
+ <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1202</Property>
+ <PropertyDef name="jlppbh">
+ <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="jljgqybh">
+ <Property></Property>
+ <Property name="label">鍔犲伐浼佷笟缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="jljgqymc">
+ <Property></Property>
+ <Property name="label">鍔犲伐浼佷笟鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="jlppmc">
+ <Property></Property>
+ <Property name="label">鍐涚伯鍝佺墝鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="jlppmcjc">
+ <Property></Property>
+ <Property name="label">鍐涚伯鍝佺墝绠�绉�</Property>
+ </PropertyDef>
+ <PropertyDef name="sfyx">
+ <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>
+ </PropertyDef>
+ <PropertyDef name="kqdm">
+ <Property></Property>
+ <Property name="label">搴撳尯浠g爜</Property>
+ </PropertyDef>
+ </DataType>
+ <DataType name="dtGBArea">
+ <Property name="creationType">com.fzzy.api.entity.GbArea</Property>
+ <PropertyDef name="code">
+ <Property></Property>
+ <Property name="label">鎺ュ彛缂栫爜</Property>
+ </PropertyDef>
+ <PropertyDef name="name">
+ <Property></Property>
+ <Property name="label">鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="parentCode">
+ <Property></Property>
+ <Property name="label">鐖剁紪鐮�</Property>
+ </PropertyDef>
+ <PropertyDef name="disabledTag">
+ <Property></Property>
+ <Property name="label">绂佺敤</Property>
+ </PropertyDef>
+ <PropertyDef name="simple">
+ <Property></Property>
+ <Property name="label">鏄惁榛樿</Property>
+ </PropertyDef>
+ <PropertyDef name="remark">
+ <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">whjlApi1202PR#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="jlppbh">
+ <Property name="property">jlppbh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jlqybh">
+ <Property name="property">jlqybh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jlqymc">
+ <Property name="property">jlqymc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jgzdbh">
+ <Property name="property">jgzdbh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jgzdmc">
+ <Property name="property">jgzdmc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jljgqybh">
+ <Property name="property">jljgqybh</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jljgqymc">
+ <Property name="property">jljgqymc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jlppmc">
+ <Property name="property">jlppmc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jlppmcjc">
+ <Property name="property">jlppmcjc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="sfyx">
+ <Property name="property">sfyx</Property>
+ <Property name="align">center</Property>
+ <Property name="trigger">listDropYN</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">top</Property>
+ <Property name="labelSeparator">:</Property>
+ <AutoFormElement>
+ <Property name="name">jlppbh</Property>
+ <Property name="property">jlppbh</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">jljgqybh</Property>
+ <Property name="property">jljgqybh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jljgqymc</Property>
+ <Property name="property">jljgqymc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jlppmc</Property>
+ <Property name="property">jlppmc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jlppmcjc</Property>
+ <Property name="property">jlppmcjc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">sfyx</Property>
+ <Property name="property">sfyx</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>
+ </AutoForm>
+ </Children>
+ <Tools/>
+ </Dialog>
+ <UpdateAction id="updateSave">
+ <Property name="dataResolver">whjlApi1202PR#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">whjlApi1202PR#delData</Property>
+ </AjaxAction>
+ <AjaxAction id="ajaxPush">
+ <Property name="service">whjlApi1202PR#pushData</Property>
+ </AjaxAction>
+ <CustomDropDown id="cddGbArea">
+ <Property name="assignmentMap">qyxzqhdm=code,qyxzqhmc=name</Property>
+ <Property name="height">500</Property>
+ <Property name="minHeight">500</Property>
+ <Property name="maxHeight">500</Property>
+ <Property name="width">400</Property>
+ <Container layout="regionPadding:5">
+ <DataSet id="dsGBArea">
+ <Property name="dataProvider">gbAreaPR#findByCode</Property>
+ <Property name="dataType">[dtGBArea]</Property>
+ </DataSet>
+ <Container layout="hbox regionPadding:5">
+ <TextEditor id="key2">
+ <Property name="blankText"> -- 缂栫爜鎴栬�呭悕绉� --</Property>
+ <Property name="width">200</Property>
+ </TextEditor>
+ <Button>
+ <ClientEvent name="onClick">var key = view.get("#key2.value");
+view.get("#dsGBArea").set("parameter",{key:key}).flushAsync();</ClientEvent>
+ <Property name="iconClass">fa fa-search</Property>
+ <Property name="caption">鏌ヨ</Property>
+ </Button>
+ <Button>
+ <ClientEvent name="onClick">var data = view.get("#dsGBArea.data:#");
+if (data) {
+ view.get("#cddGbArea").close(data.toJSON());
+}</ClientEvent>
+ <Property name="caption">纭畾</Property>
+ <Property name="iconClass">fa fa-check</Property>
+ </Button>
+ </Container>
+ <DataGrid>
+ <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsGBArea.data:#");
+if(data){
+ view.get("#cddGbArea").close(data.toJSON());
+}</ClientEvent>
+ <Property name="dataSet">dsGBArea</Property>
+ <Property name="readOnly">true</Property>
+ <DataColumn name="code">
+ <Property name="property">code</Property>
+ </DataColumn>
+ <DataColumn name="name">
+ <Property name="property">name</Property>
+ </DataColumn>
+ </DataGrid>
+ </Container>
+ </CustomDropDown>
+ <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>
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1203.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1203.view.xml
new file mode 100644
index 0000000..5b27bf1
--- /dev/null
+++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1203.view.xml
@@ -0,0 +1,844 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ViewConfig>
+ <Arguments/>
+ <Context/>
+ <Model>
+ <DataType name="dtMain">
+ <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1203</Property>
+ <PropertyDef name="cpbh">
+ <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="jljgqybh">
+ <Property></Property>
+ <Property name="label">鍔犲伐浼佷笟缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="jlppid">
+ <Property></Property>
+ <Property name="label">鍝佺墝ID</Property>
+ </PropertyDef>
+ <PropertyDef name="jlppmc">
+ <Property></Property>
+ <Property name="label">鍝佺墝鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="lspzbm">
+ <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">1</Property>
+ <Property name="value">1锛氬ぇ绫�</Property>
+ </Entity>
+ <Entity>
+ <Property name="key">2</Property>
+ <Property name="value">2锛氬皬楹︾矇</Property>
+ </Entity>
+ <Entity>
+ <Property name="key">3</Property>
+ <Property name="value">3锛氶鐢ㄦ补</Property>
+ </Entity>
+ <Entity>
+ <Property name="key">4</Property>
+ <Property name="value">4锛氳倝</Property>
+ </Entity>
+ <Entity>
+ <Property name="key">5</Property>
+ <Property name="value">5锛氱</Property>
+ </Entity>
+ <Entity>
+ <Property name="key">6</Property>
+ <Property name="value">6锛氳泲</Property>
+ </Entity>
+ <Entity>
+ <Property name="key">7</Property>
+ <Property name="value">7锛氬ザ</Property>
+ </Entity>
+ <Entity>
+ <Property name="key">8</Property>
+ <Property name="value">8锛氳敩鑿�</Property>
+ </Entity>
+ <Entity>
+ <Property name="key">9</Property>
+ <Property name="value">9锛氭按鏋�</Property>
+ </Entity>
+ <Entity>
+ <Property name="key">A</Property>
+ <Property name="value">A锛氬ぇ璞�</Property>
+ </Entity>
+ </Collection>
+ </Property>
+ </Property>
+ </PropertyDef>
+ <PropertyDef name="lspzmc">
+ <Property></Property>
+ <Property name="label">鍝佺鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="cpmc">
+ <Property></Property>
+ <Property name="label">浜у搧鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="pzdj">
+ <Property></Property>
+ <Property name="label">浜у搧绛夌骇</Property>
+ </PropertyDef>
+ <PropertyDef name="jldwbm">
+ <Property></Property>
+ <Property name="label">璁¢噺鍗曚綅缂栧彿</Property>
+ </PropertyDef>
+ <PropertyDef name="jldwmc">
+ <Property></Property>
+ <Property name="label">璁¢噺鍗曚綅鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="jsdwbm">
+ <Property></Property>
+ <Property name="label">璁℃暟鍗曚綅缂栫爜</Property>
+ </PropertyDef>
+ <PropertyDef name="jsdwmc">
+ <Property></Property>
+ <Property name="label">璁℃暟鍗曚綅鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="bzfsbm">
+ <Property></Property>
+ <Property name="label">鍖呰鏂瑰紡缂栫爜</Property>
+ </PropertyDef>
+ <PropertyDef name="bzfsmc">
+ <Property></Property>
+ <Property name="label">鍖呰鏂瑰紡鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="bzgg">
+ <Property name="dataType">Double</Property>
+ <Property name="label">鍖呰瑙勬牸</Property>
+ <Property name="displayFormat">#0.00000鍏枻/鍗�</Property>
+ </PropertyDef>
+ <PropertyDef name="hsgg">
+ <Property name="dataType">Double</Property>
+ <Property name="label">璁℃暟瑙勬牸</Property>
+ <Property name="defaultValue">1</Property>
+ </PropertyDef>
+ <PropertyDef name="sccj">
+ <Property></Property>
+ <Property name="label">鐢熶骇鍘傚</Property>
+ </PropertyDef>
+ <PropertyDef name="cplx">
+ <Property></Property>
+ <Property name="label">浜у搧绫诲瀷</Property>
+ </PropertyDef>
+ <PropertyDef name="bzq">
+ <Property></Property>
+ <Property name="label">淇濊川鏈�</Property>
+ </PropertyDef>
+ <PropertyDef name="cd">
+ <Property></Property>
+ <Property name="label">浜у湴</Property>
+ </PropertyDef>
+ <PropertyDef name="scrq">
+ <Property name="dataType">Date</Property>
+ <Property name="label">鐢熶骇鏃ユ湡</Property>
+ </PropertyDef>
+ <PropertyDef name="lxr">
+ <Property></Property>
+ <Property name="label">鑱旂郴浜�</Property>
+ </PropertyDef>
+ <PropertyDef name="dh">
+ <Property></Property>
+ <Property name="label">鐢佃瘽</Property>
+ </PropertyDef>
+ <PropertyDef name="cz">
+ <Property></Property>
+ <Property name="label">浼犵湡</Property>
+ </PropertyDef>
+ <PropertyDef name="email">
+ <Property></Property>
+ <Property name="label">鐢靛瓙閭欢</Property>
+ </PropertyDef>
+ <PropertyDef name="qq">
+ <Property></Property>
+ <Property name="label">QQ</Property>
+ </PropertyDef>
+ <PropertyDef name="qygk">
+ <Property></Property>
+ <Property name="label">浼佷笟姒傚喌</Property>
+ </PropertyDef>
+ <PropertyDef name="cpjs">
+ <Property></Property>
+ <Property name="label">浜у搧浠嬬粛</Property>
+ </PropertyDef>
+ <PropertyDef name="yyzz">
+ <Property></Property>
+ <Property name="label">钀ヤ笟鎵х収</Property>
+ </PropertyDef>
+ <PropertyDef name="zzjgdmz">
+ <Property></Property>
+ <Property name="label">缁勭粐鏈烘瀯浠g爜璇�</Property>
+ </PropertyDef>
+ <PropertyDef name="swdjz">
+ <Property></Property>
+ <Property name="label">绋庡姟鐧昏璇�</Property>
+ </PropertyDef>
+ <PropertyDef name="spltxkz">
+ <Property></Property>
+ <Property name="label">椋熷搧娴侀�氳鍙瘉</Property>
+ </PropertyDef>
+ <PropertyDef name="ybnsrzgz">
+ <Property></Property>
+ <Property name="label">涓�鑸撼绋庝汉璧勬牸璇佹槑</Property>
+ </PropertyDef>
+ <PropertyDef name="sjgzx">
+ <Property></Property>
+ <Property name="label">甯傚啗渚涗腑蹇冨鏍告剰瑙�</Property>
+ </PropertyDef>
+ <PropertyDef name="jlfwgs">
+ <Property></Property>
+ <Property name="label">鍐涚伯鏈嶅姟鏈夐檺鍏徃瀹℃牳鎰忚</Property>
+ </PropertyDef>
+ <PropertyDef name="sjgzxyj">
+ <Property></Property>
+ <Property name="label">鐪佸啗渚涗腑蹇冩剰瑙�</Property>
+ </PropertyDef>
+ <PropertyDef name="yjcd">
+ <Property></Property>
+ <Property name="label">鍘熶欢瀛樻。</Property>
+ </PropertyDef>
+ <PropertyDef name="dj">
+ <Property name="dataType">Double</Property>
+ <Property name="label">鍗曚环</Property>
+ <Property name="displayFormat">#0.000</Property>
+ </PropertyDef>
+ <PropertyDef name="scxkz">
+ <Property></Property>
+ <Property name="label">鐢熶骇璁稿彲璇佸彿</Property>
+ </PropertyDef>
+ <PropertyDef name="jggy">
+ <Property></Property>
+ <Property name="label">鍔犲伐宸ヨ壓</Property>
+ </PropertyDef>
+ <PropertyDef name="zlxx">
+ <Property></Property>
+ <Property name="label">璐ㄩ噺淇℃伅</Property>
+ </PropertyDef>
+ <PropertyDef name="yyxx">
+ <Property></Property>
+ <Property name="label">钀ュ吇淇℃伅</Property>
+ </PropertyDef>
+ <PropertyDef name="lsyjrz">
+ <Property></Property>
+ <Property name="label">缁胯壊鏈夋満璁よ瘉</Property>
+ </PropertyDef>
+ <PropertyDef name="nscl">
+ <Property></Property>
+ <Property name="label">骞寸敓浜ч噺</Property>
+ </PropertyDef>
+ <PropertyDef name="sfyx">
+ <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>
+ </PropertyDef>
+ <PropertyDef name="kqdm">
+ <Property></Property>
+ <Property name="label">搴撳尯浠g爜</Property>
+ </PropertyDef>
+ </DataType>
+ <DataType name="dtGBArea">
+ <Property name="creationType">com.fzzy.api.entity.GbArea</Property>
+ <PropertyDef name="code">
+ <Property></Property>
+ <Property name="label">鎺ュ彛缂栫爜</Property>
+ </PropertyDef>
+ <PropertyDef name="name">
+ <Property></Property>
+ <Property name="label">鍚嶇О</Property>
+ </PropertyDef>
+ <PropertyDef name="parentCode">
+ <Property></Property>
+ <Property name="label">鐖剁紪鐮�</Property>
+ </PropertyDef>
+ <PropertyDef name="disabledTag">
+ <Property></Property>
+ <Property name="label">绂佺敤</Property>
+ </PropertyDef>
+ <PropertyDef name="simple">
+ <Property></Property>
+ <Property name="label">鏄惁榛樿</Property>
+ </PropertyDef>
+ <PropertyDef name="remark">
+ <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">whjlApi1203PR#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="jldwmc">
+ <Property name="property">jldwmc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="jsdwmc">
+ <Property name="property">jsdwmc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="bzfsmc">
+ <Property name="property">bzfsmc</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="bzgg">
+ <Property name="property">bzgg</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="hsgg">
+ <Property name="property">hsgg</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="sccj">
+ <Property name="property">sccj</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="cplx">
+ <Property name="property">cplx</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="bzq">
+ <Property name="property">bzq</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="cpjs">
+ <Property name="property">cpjs</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="yyzz">
+ <Property name="property">yyzz</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="zzjgdmz">
+ <Property name="property">zzjgdmz</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="swdjz">
+ <Property name="property">swdjz</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="spltxkz">
+ <Property name="property">spltxkz</Property>
+ <Property name="align">center</Property>
+ </DataColumn>
+ <DataColumn name="ybnsrzgz">
+ <Property name="property">ybnsrzgz</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>
+ <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>
+ <AutoForm>
+ <Property name="dataSet">dsMain</Property>
+ <Property name="cols">*,*,*,*</Property>
+ <Property name="labelPosition">top</Property>
+ <Property name="labelSeparator">:</Property>
+ <AutoFormElement>
+ <Property name="name">cpbh</Property>
+ <Property name="property">cpbh</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">jljgqybh</Property>
+ <Property name="property">jljgqybh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jlppid</Property>
+ <Property name="property">jlppid</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jlppmc</Property>
+ <Property name="property">jlppmc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">lspzbm</Property>
+ <Property name="property">lspzbm</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">lspzmc</Property>
+ <Property name="property">lspzmc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">cpmc</Property>
+ <Property name="property">cpmc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">pzdj</Property>
+ <Property name="property">pzdj</Property>
+ <Property name="trigger">listDropDJ</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jldwbm</Property>
+ <Property name="property">jldwbm</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jldwmc</Property>
+ <Property name="property">jldwmc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jsdwbm</Property>
+ <Property name="property">jsdwbm</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jsdwmc</Property>
+ <Property name="property">jsdwmc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">bzfsbm</Property>
+ <Property name="property">bzfsbm</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">bzfsmc</Property>
+ <Property name="property">bzfsmc</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">bzgg</Property>
+ <Property name="property">bzgg</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">hsgg</Property>
+ <Property name="property">hsgg</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">sccj</Property>
+ <Property name="property">sccj</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">cplx</Property>
+ <Property name="property">cplx</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">bzq</Property>
+ <Property name="property">bzq</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">cd</Property>
+ <Property name="property">cd</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">scrq</Property>
+ <Property name="property">scrq</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">lxr</Property>
+ <Property name="property">lxr</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">dh</Property>
+ <Property name="property">dh</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">cz</Property>
+ <Property name="property">cz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">email</Property>
+ <Property name="property">email</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qq</Property>
+ <Property name="property">qq</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">qygk</Property>
+ <Property name="property">qygk</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">cpjs</Property>
+ <Property name="property">cpjs</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">yyzz</Property>
+ <Property name="property">yyzz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">zzjgdmz</Property>
+ <Property name="property">zzjgdmz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">swdjz</Property>
+ <Property name="property">swdjz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">spltxkz</Property>
+ <Property name="property">spltxkz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">ybnsrzgz</Property>
+ <Property name="property">ybnsrzgz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">sjgzx</Property>
+ <Property name="property">sjgzx</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jlfwgs</Property>
+ <Property name="property">jlfwgs</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">sjgzxyj</Property>
+ <Property name="property">sjgzxyj</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">yjcd</Property>
+ <Property name="property">yjcd</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">dj</Property>
+ <Property name="property">dj</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">scxkz</Property>
+ <Property name="property">scxkz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">jggy</Property>
+ <Property name="property">jggy</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">zlxx</Property>
+ <Property name="property">zlxx</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">yyxx</Property>
+ <Property name="property">yyxx</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">lsyjrz</Property>
+ <Property name="property">lsyjrz</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
+ <Property name="name">nscl</Property>
+ <Property name="property">nscl</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>
+ </AutoForm>
+ </Children>
+ <Tools/>
+ </Dialog>
+ <UpdateAction id="updateSave">
+ <Property name="dataResolver">whjlApi1203PR#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">whjlApi1203PR#delData</Property>
+ </AjaxAction>
+ <AjaxAction id="ajaxPush">
+ <Property name="service">whjlApi1203PR#pushData</Property>
+ </AjaxAction>
+ <CustomDropDown id="cddGbArea">
+ <Property name="assignmentMap">qyxzqhdm=code,qyxzqhmc=name</Property>
+ <Property name="height">500</Property>
+ <Property name="minHeight">500</Property>
+ <Property name="maxHeight">500</Property>
+ <Property name="width">400</Property>
+ <Container layout="regionPadding:5">
+ <DataSet id="dsGBArea">
+ <Property name="dataProvider">gbAreaPR#findByCode</Property>
+ <Property name="dataType">[dtGBArea]</Property>
+ </DataSet>
+ <Container layout="hbox regionPadding:5">
+ <TextEditor id="key2">
+ <Property name="blankText"> -- 缂栫爜鎴栬�呭悕绉� --</Property>
+ <Property name="width">200</Property>
+ </TextEditor>
+ <Button>
+ <ClientEvent name="onClick">var key = view.get("#key2.value");
+view.get("#dsGBArea").set("parameter",{key:key}).flushAsync();</ClientEvent>
+ <Property name="iconClass">fa fa-search</Property>
+ <Property name="caption">鏌ヨ</Property>
+ </Button>
+ <Button>
+ <ClientEvent name="onClick">var data = view.get("#dsGBArea.data:#");
+if (data) {
+ view.get("#cddGbArea").close(data.toJSON());
+}</ClientEvent>
+ <Property name="caption">纭畾</Property>
+ <Property name="iconClass">fa fa-check</Property>
+ </Button>
+ </Container>
+ <DataGrid>
+ <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsGBArea.data:#");
+if(data){
+ view.get("#cddGbArea").close(data.toJSON());
+}</ClientEvent>
+ <Property name="dataSet">dsGBArea</Property>
+ <Property name="readOnly">true</Property>
+ <DataColumn name="code">
+ <Property name="property">code</Property>
+ </DataColumn>
+ <DataColumn name="name">
+ <Property name="property">name</Property>
+ </DataColumn>
+ </DataGrid>
+ </Container>
+ </CustomDropDown>
+ <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="listDropDJ">
+ <Property name="items">涓�绾�,浜岀骇,涓夌骇,鍥涚骇,浜旂骇,鍏朵粬</Property>
+ </ListDropDown>
+ </View>
+</ViewConfig>
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1106.java b/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1106.java
new file mode 100644
index 0000000..16a1894
--- /dev/null
+++ b/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1106.java
@@ -0,0 +1,53 @@
+package com.fzzy.otherview.whhpjl.dto;
+
+import com.alibaba.fastjson.annotation.JSONField;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * @Author: YYC
+ * @Description:
+ * @DateTime: 2023-10-25 14:04
+ **/
+@Data
+@EqualsAndHashCode(callSuper = false)
+public class WhjlApi1106 implements Serializable {
+ /**
+ *
+ */
+ private static final long serialVersionUID = 1L;
+
+ private String ygbh;//娌圭綈缂栧彿
+ private String jlqybh;//鍐涚伯浼佷笟缂栧彿
+ private String jlqymc;//鍐涚伯浼佷笟鍚嶇О
+ private String jgzdbh;//鍐涗緵绔欑偣缂栧彿
+ private String jgzdmc;//鍐涗緵绔欑偣鍚嶇О
+ private String ygmc;//娌圭亴鍚嶇О
+ private String yglx;//娌圭亴绫诲瀷
+ private String ykdj;//娌圭亴绛夌骇
+ private Double ygor;//娌圭綈鎬诲
+ private Double ygzrd1;//娌圭綈缁勫
+ private String lxdh;//鑱旂郴鐢佃瘽
+ private Double cfjd;//浠撴埧缁忓害
+ private Double cfwd;//浠撴埧绾害
+ @JSONField(format = "yyyy-MM-dd")
+ private Date qyrq;//鍚敤鏃ユ湡
+ private String ygzt;//娌圭綈鐘舵��
+ private String ygsyzt;//娌圭綈浣跨敤鐘舵��
+ private String sfyx;//鏄惁鏈夋晥
+ private String bz;//澶囨敞
+
+
+ //鍗曠嫭澧炲姞锛屼笉杩涜涓婁紶
+ @JSONField(serialize = false)
+ private String bizId; //涓氬姟ID
+ @JSONField(serialize = false)
+ private Date updateTime; //鏈�鍚庢洿鏂版椂闂�
+ @JSONField(serialize = false)
+ private String czbz; //鎿嶄綔鏍囧織
+ @JSONField(serialize = false)
+ private String kqdm; //搴撳尯浠g爜
+}
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1201.java b/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1201.java
index 2485244..5b45280 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1201.java
+++ b/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1201.java
@@ -1,9 +1,11 @@
package com.fzzy.otherview.whhpjl.dto;
+import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
+import java.util.Date;
/**
* @Author: YYC
@@ -62,4 +64,14 @@
private String bz; //澶囨敞
+ //鍗曠嫭澧炲姞锛屼笉杩涜涓婁紶
+ @JSONField(serialize = false)
+ private String bizId; //涓氬姟ID
+ @JSONField(serialize = false)
+ private Date updateTime; //鏈�鍚庢洿鏂版椂闂�
+ @JSONField(serialize = false)
+ private String czbz; //鎿嶄綔鏍囧織
+ @JSONField(serialize = false)
+ private String kqdm; //搴撳尯浠g爜
+
}
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1202.java b/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1202.java
index 7c32bd1..a2272b5 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1202.java
+++ b/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1202.java
@@ -1,9 +1,11 @@
package com.fzzy.otherview.whhpjl.dto;
+import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
+import java.util.Date;
/**
* @Author: YYC
@@ -29,4 +31,15 @@
private String jlppmc; //鍐涚伯鍝佺墝鍚嶇О
private String jlppmcjc; //鍐涚伯鍝佺墝绠�绉�
private String sfyx; //鏄惁鏈夋晥
+
+
+ //鍗曠嫭澧炲姞锛屼笉杩涜涓婁紶
+ @JSONField(serialize = false)
+ private String bizId; //涓氬姟ID
+ @JSONField(serialize = false)
+ private Date updateTime; //鏈�鍚庢洿鏂版椂闂�
+ @JSONField(serialize = false)
+ private String czbz; //鎿嶄綔鏍囧織
+ @JSONField(serialize = false)
+ private String kqdm; //搴撳尯浠g爜
}
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1203.java b/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1203.java
index 649ab80..fc09fbe 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1203.java
+++ b/src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1203.java
@@ -72,4 +72,14 @@
private String nscl; //骞寸敓浜ч噺
private String sfyx; //鏄惁鏈夋晥
+
+ //鍗曠嫭澧炲姞锛屼笉杩涜涓婁紶
+ @JSONField(serialize = false)
+ private String bizId; //涓氬姟ID
+ @JSONField(serialize = false)
+ private Date updateTime; //鏈�鍚庢洿鏂版椂闂�
+ @JSONField(serialize = false)
+ private String czbz; //鎿嶄綔鏍囧織
+ @JSONField(serialize = false)
+ private String kqdm; //搴撳尯浠g爜
}
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1106PR.java b/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1106PR.java
new file mode 100644
index 0000000..d6e6e58
--- /dev/null
+++ b/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1106PR.java
@@ -0,0 +1,154 @@
+package com.fzzy.otherview.whhpjl.pr;
+
+import com.alibaba.fastjson.JSON;
+import com.alibaba.fastjson.JSONObject;
+import com.bstek.dorado.annotation.DataProvider;
+import com.bstek.dorado.annotation.DataResolver;
+import com.bstek.dorado.annotation.Expose;
+import com.fzzy.api.Constant;
+import com.fzzy.api.data.ApiParam;
+import com.fzzy.api.dto.ResponseDto;
+import com.fzzy.api.entity.ApiConfs;
+import com.fzzy.api.entity.ApiInfoData;
+import com.fzzy.api.service.ApiCommonService;
+import com.fzzy.api.service.ApiPushManager;
+import com.fzzy.api.service.ApiRemoteService;
+import com.fzzy.api.view.repository.ApiInfoDataRep;
+import com.fzzy.otherview.whhpjl.WhjlConstant;
+import com.fzzy.otherview.whhpjl.dto.WhjlApi1106;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Component;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+/**
+ * @Author: YYC
+ * @Description:娌圭綈淇℃伅
+ * @DateTime: 2023-10-25 14:13
+ **/
+@Component
+public class WhjlApi1106PR {
+
+ @Autowired
+ private ApiCommonService apiCommonService;
+ @Autowired
+ private ApiPushManager apiPushManager;
+ @Autowired
+ private ApiInfoDataRep apiInfoDataRep;
+
+ /**
+ * 鑾峰彇鍒楄〃淇℃伅
+ * WhjlApi1106PR#listData
+ *
+ * @return
+ */
+ @DataProvider
+ public List<WhjlApi1106> listData() {
+ List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1106);
+ if (null == result || result.isEmpty()) {
+ return null;
+ }
+ List<WhjlApi1106> list = new ArrayList<>();
+ WhjlApi1106 whjlApi1106;
+ for (ApiInfoData infoData : result) {
+ whjlApi1106 = JSONObject.parseObject(infoData.getData(), WhjlApi1106.class);
+ whjlApi1106.setKqdm(infoData.getKqdm());
+ whjlApi1106.setCzbz(infoData.getCzbz());
+ whjlApi1106.setUpdateTime(infoData.getUpdateTime());
+ whjlApi1106.setBizId(infoData.getDataId());
+ list.add(whjlApi1106);
+ }
+ return list;
+ }
+
+ /**
+ * 鏇存柊鎴栦慨鏀�
+ * WhjlApi1106PR#saveData
+ *
+ * @param data
+ * @return
+ */
+ @DataResolver
+ public void saveData(WhjlApi1106 data) {
+ ApiInfoData infoData = new ApiInfoData();
+ infoData.setId(data.getBizId());
+ infoData.setKqdm(data.getKqdm());
+ infoData.setInteType(WhjlConstant.API_CATEGORY_11);
+ infoData.setInteId(WhjlConstant.API_CODE_1106);
+ infoData.setUpdateTime(new Date());
+ infoData.setDataId(data.getBizId());
+ infoData.setData(JSON.toJSONString(data));
+ infoData.setCzbz(data.getCzbz());
+ infoData.setRemarks("澶囨敞淇℃伅");
+
+ apiInfoDataRep.save(infoData);
+ }
+
+ /**
+ * 鍒犻櫎
+ * WhjlApi1106PR#delData
+ *
+ * @param data
+ * @return
+ */
+ @Expose
+ public String delData(WhjlApi1106 data) {
+ apiInfoDataRep.deleteById(data.getBizId());
+ return null;
+ }
+
+ /**
+ * 涓婁紶
+ * WhjlApi1106PR#pushData
+ *
+ * @param items
+ * @return
+ */
+ @Expose
+ public String pushData(List<WhjlApi1106> items) {
+
+ String result = "";
+
+ String kqdm = items.get(0).getKqdm();
+ ApiConfs apiConf = apiCommonService.getConf(kqdm);
+
+ if (null == apiConf) {
+ return "绯荤粺娌℃湁鑾峰彇鍒板綋鍓嶅簱鍖洪厤缃俊鎭紝鎵ц澶辫触";
+ }
+
+ //灏佽鍙傛暟
+ ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_11, WhjlConstant.API_CODE_1106);
+
+ //鑾峰彇瀹炵幇鎺ュ彛
+ ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
+ if (null == apiService) {
+ return "绯荤粺娌℃湁褰撳墠鎺ㄩ�佸崗璁厤缃紝鎵ц澶辫触";
+ }
+
+ ResponseDto responseDto;
+ ApiInfoData infoData;
+ for (WhjlApi1106 data : items) {
+ responseDto = apiService.pushData(param, apiConf, items);
+ if (responseDto.getSuccess() == 0) {
+ if (Constant.CZBZ_I.equals(data.getCzbz())) {
+ infoData = new ApiInfoData();
+ infoData.setId(data.getBizId());
+ infoData.setKqdm(data.getKqdm());
+ infoData.setInteType(WhjlConstant.API_CATEGORY_11);
+ infoData.setInteId(WhjlConstant.API_CODE_1106);
+ infoData.setUpdateTime(new Date());
+ infoData.setDataId(data.getBizId());
+
+ data.setCzbz(Constant.CZBZ_U);
+ infoData.setCzbz(Constant.CZBZ_U);
+ infoData.setData(JSON.toJSONString(data));
+ apiInfoDataRep.save(infoData);
+ }
+ }
+ result += responseDto.toString();
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1201PR.java b/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1201PR.java
new file mode 100644
index 0000000..ea4ef2d
--- /dev/null
+++ b/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1201PR.java
@@ -0,0 +1,154 @@
+package com.fzzy.otherview.whhpjl.pr;
+
+import com.alibaba.fastjson.JSON;
+import com.alibaba.fastjson.JSONObject;
+import com.bstek.dorado.annotation.DataProvider;
+import com.bstek.dorado.annotation.DataResolver;
+import com.bstek.dorado.annotation.Expose;
+import com.fzzy.api.Constant;
+import com.fzzy.api.data.ApiParam;
+import com.fzzy.api.dto.ResponseDto;
+import com.fzzy.api.entity.ApiConfs;
+import com.fzzy.api.entity.ApiInfoData;
+import com.fzzy.api.service.ApiCommonService;
+import com.fzzy.api.service.ApiPushManager;
+import com.fzzy.api.service.ApiRemoteService;
+import com.fzzy.api.view.repository.ApiInfoDataRep;
+import com.fzzy.otherview.whhpjl.WhjlConstant;
+import com.fzzy.otherview.whhpjl.dto.WhjlApi1201;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Component;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+/**
+ * @Author: YYC
+ * @Description:鍓渚涘簲鍟嗕俊鎭�
+ * @DateTime: 2023-10-25 14:13
+ **/
+@Component
+public class WhjlApi1201PR {
+
+ @Autowired
+ private ApiCommonService apiCommonService;
+ @Autowired
+ private ApiPushManager apiPushManager;
+ @Autowired
+ private ApiInfoDataRep apiInfoDataRep;
+
+ /**
+ * 鑾峰彇鍒楄〃淇℃伅
+ * WhjlApi1201PR#listData
+ *
+ * @return
+ */
+ @DataProvider
+ public List<WhjlApi1201> listData() {
+ List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1201);
+ if (null == result || result.isEmpty()) {
+ return null;
+ }
+ List<WhjlApi1201> list = new ArrayList<>();
+ WhjlApi1201 whjlApi1201;
+ for (ApiInfoData infoData : result) {
+ whjlApi1201 = JSONObject.parseObject(infoData.getData(), WhjlApi1201.class);
+ whjlApi1201.setKqdm(infoData.getKqdm());
+ whjlApi1201.setCzbz(infoData.getCzbz());
+ whjlApi1201.setUpdateTime(infoData.getUpdateTime());
+ whjlApi1201.setBizId(infoData.getDataId());
+ list.add(whjlApi1201);
+ }
+ return list;
+ }
+
+ /**
+ * 鏇存柊鎴栦慨鏀�
+ * WhjlApi1201PR#saveData
+ *
+ * @param data
+ * @return
+ */
+ @DataResolver
+ public void saveData(WhjlApi1201 data) {
+ ApiInfoData infoData = new ApiInfoData();
+ infoData.setId(data.getBizId());
+ infoData.setKqdm(data.getKqdm());
+ infoData.setInteType(WhjlConstant.API_CATEGORY_12);
+ infoData.setInteId(WhjlConstant.API_CODE_1201);
+ infoData.setUpdateTime(new Date());
+ infoData.setDataId(data.getBizId());
+ infoData.setData(JSON.toJSONString(data));
+ infoData.setCzbz(data.getCzbz());
+ infoData.setRemarks("澶囨敞淇℃伅");
+
+ apiInfoDataRep.save(infoData);
+ }
+
+ /**
+ * 鍒犻櫎
+ * WhjlApi1201PR#delData
+ *
+ * @param data
+ * @return
+ */
+ @Expose
+ public String delData(WhjlApi1201 data) {
+ apiInfoDataRep.deleteById(data.getBizId());
+ return null;
+ }
+
+ /**
+ * 涓婁紶
+ * WhjlApi1201PR#pushData
+ *
+ * @param items
+ * @return
+ */
+ @Expose
+ public String pushData(List<WhjlApi1201> items) {
+
+ String result = "";
+
+ String kqdm = items.get(0).getKqdm();
+ ApiConfs apiConf = apiCommonService.getConf(kqdm);
+
+ if (null == apiConf) {
+ return "绯荤粺娌℃湁鑾峰彇鍒板綋鍓嶅簱鍖洪厤缃俊鎭紝鎵ц澶辫触";
+ }
+
+ //灏佽鍙傛暟
+ ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1201);
+
+ //鑾峰彇瀹炵幇鎺ュ彛
+ ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
+ if (null == apiService) {
+ return "绯荤粺娌℃湁褰撳墠鎺ㄩ�佸崗璁厤缃紝鎵ц澶辫触";
+ }
+
+ ResponseDto responseDto;
+ ApiInfoData infoData;
+ for (WhjlApi1201 data : items) {
+ responseDto = apiService.pushData(param, apiConf, items);
+ if (responseDto.getSuccess() == 0) {
+ if (Constant.CZBZ_I.equals(data.getCzbz())) {
+ infoData = new ApiInfoData();
+ infoData.setId(data.getBizId());
+ infoData.setKqdm(data.getKqdm());
+ infoData.setInteType(WhjlConstant.API_CATEGORY_12);
+ infoData.setInteId(WhjlConstant.API_CODE_1201);
+ infoData.setUpdateTime(new Date());
+ infoData.setDataId(data.getBizId());
+
+ data.setCzbz(Constant.CZBZ_U);
+ infoData.setCzbz(Constant.CZBZ_U);
+ infoData.setData(JSON.toJSONString(data));
+ apiInfoDataRep.save(infoData);
+ }
+ }
+ result += responseDto.toString();
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1202PR.java b/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1202PR.java
new file mode 100644
index 0000000..26071f0
--- /dev/null
+++ b/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1202PR.java
@@ -0,0 +1,154 @@
+package com.fzzy.otherview.whhpjl.pr;
+
+import com.alibaba.fastjson.JSON;
+import com.alibaba.fastjson.JSONObject;
+import com.bstek.dorado.annotation.DataProvider;
+import com.bstek.dorado.annotation.DataResolver;
+import com.bstek.dorado.annotation.Expose;
+import com.fzzy.api.Constant;
+import com.fzzy.api.data.ApiParam;
+import com.fzzy.api.dto.ResponseDto;
+import com.fzzy.api.entity.ApiConfs;
+import com.fzzy.api.entity.ApiInfoData;
+import com.fzzy.api.service.ApiCommonService;
+import com.fzzy.api.service.ApiPushManager;
+import com.fzzy.api.service.ApiRemoteService;
+import com.fzzy.api.view.repository.ApiInfoDataRep;
+import com.fzzy.otherview.whhpjl.WhjlConstant;
+import com.fzzy.otherview.whhpjl.dto.WhjlApi1202;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Component;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+/**
+ * @Author: YYC
+ * @Description:鍓鍝佺墝淇℃伅
+ * @DateTime: 2023-10-25 14:13
+ **/
+@Component
+public class WhjlApi1202PR {
+
+ @Autowired
+ private ApiCommonService apiCommonService;
+ @Autowired
+ private ApiPushManager apiPushManager;
+ @Autowired
+ private ApiInfoDataRep apiInfoDataRep;
+
+ /**
+ * 鑾峰彇鍒楄〃淇℃伅
+ * WhjlApi1202PR#listData
+ *
+ * @return
+ */
+ @DataProvider
+ public List<WhjlApi1202> listData() {
+ List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1202);
+ if (null == result || result.isEmpty()) {
+ return null;
+ }
+ List<WhjlApi1202> list = new ArrayList<>();
+ WhjlApi1202 whjlApi1202;
+ for (ApiInfoData infoData : result) {
+ whjlApi1202 = JSONObject.parseObject(infoData.getData(), WhjlApi1202.class);
+ whjlApi1202.setKqdm(infoData.getKqdm());
+ whjlApi1202.setCzbz(infoData.getCzbz());
+ whjlApi1202.setUpdateTime(infoData.getUpdateTime());
+ whjlApi1202.setBizId(infoData.getDataId());
+ list.add(whjlApi1202);
+ }
+ return list;
+ }
+
+ /**
+ * 鏇存柊鎴栦慨鏀�
+ * WhjlApi1202PR#saveData
+ *
+ * @param data
+ * @return
+ */
+ @DataResolver
+ public void saveData(WhjlApi1202 data) {
+ ApiInfoData infoData = new ApiInfoData();
+ infoData.setId(data.getBizId());
+ infoData.setKqdm(data.getKqdm());
+ infoData.setInteType(WhjlConstant.API_CATEGORY_12);
+ infoData.setInteId(WhjlConstant.API_CODE_1202);
+ infoData.setUpdateTime(new Date());
+ infoData.setDataId(data.getBizId());
+ infoData.setData(JSON.toJSONString(data));
+ infoData.setCzbz(data.getCzbz());
+ infoData.setRemarks("澶囨敞淇℃伅");
+
+ apiInfoDataRep.save(infoData);
+ }
+
+ /**
+ * 鍒犻櫎
+ * WhjlApi1202PR#delData
+ *
+ * @param data
+ * @return
+ */
+ @Expose
+ public String delData(WhjlApi1202 data) {
+ apiInfoDataRep.deleteById(data.getBizId());
+ return null;
+ }
+
+ /**
+ * 涓婁紶
+ * WhjlApi1202PR#pushData
+ *
+ * @param items
+ * @return
+ */
+ @Expose
+ public String pushData(List<WhjlApi1202> items) {
+
+ String result = "";
+
+ String kqdm = items.get(0).getKqdm();
+ ApiConfs apiConf = apiCommonService.getConf(kqdm);
+
+ if (null == apiConf) {
+ return "绯荤粺娌℃湁鑾峰彇鍒板綋鍓嶅簱鍖洪厤缃俊鎭紝鎵ц澶辫触";
+ }
+
+ //灏佽鍙傛暟
+ ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1202);
+
+ //鑾峰彇瀹炵幇鎺ュ彛
+ ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
+ if (null == apiService) {
+ return "绯荤粺娌℃湁褰撳墠鎺ㄩ�佸崗璁厤缃紝鎵ц澶辫触";
+ }
+
+ ResponseDto responseDto;
+ ApiInfoData infoData;
+ for (WhjlApi1202 data : items) {
+ responseDto = apiService.pushData(param, apiConf, items);
+ if (responseDto.getSuccess() == 0) {
+ if (Constant.CZBZ_I.equals(data.getCzbz())) {
+ infoData = new ApiInfoData();
+ infoData.setId(data.getBizId());
+ infoData.setKqdm(data.getKqdm());
+ infoData.setInteType(WhjlConstant.API_CATEGORY_12);
+ infoData.setInteId(WhjlConstant.API_CODE_1202);
+ infoData.setUpdateTime(new Date());
+ infoData.setDataId(data.getBizId());
+
+ data.setCzbz(Constant.CZBZ_U);
+ infoData.setCzbz(Constant.CZBZ_U);
+ infoData.setData(JSON.toJSONString(data));
+ apiInfoDataRep.save(infoData);
+ }
+ }
+ result += responseDto.toString();
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1203PR.java b/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1203PR.java
new file mode 100644
index 0000000..2760db2
--- /dev/null
+++ b/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1203PR.java
@@ -0,0 +1,154 @@
+package com.fzzy.otherview.whhpjl.pr;
+
+import com.alibaba.fastjson.JSON;
+import com.alibaba.fastjson.JSONObject;
+import com.bstek.dorado.annotation.DataProvider;
+import com.bstek.dorado.annotation.DataResolver;
+import com.bstek.dorado.annotation.Expose;
+import com.fzzy.api.Constant;
+import com.fzzy.api.data.ApiParam;
+import com.fzzy.api.dto.ResponseDto;
+import com.fzzy.api.entity.ApiConfs;
+import com.fzzy.api.entity.ApiInfoData;
+import com.fzzy.api.service.ApiCommonService;
+import com.fzzy.api.service.ApiPushManager;
+import com.fzzy.api.service.ApiRemoteService;
+import com.fzzy.api.view.repository.ApiInfoDataRep;
+import com.fzzy.otherview.whhpjl.WhjlConstant;
+import com.fzzy.otherview.whhpjl.dto.WhjlApi1203;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Component;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+/**
+ * @Author: YYC
+ * @Description:鍓浜у搧淇℃伅
+ * @DateTime: 2023-10-25 14:13
+ **/
+@Component
+public class WhjlApi1203PR {
+
+ @Autowired
+ private ApiCommonService apiCommonService;
+ @Autowired
+ private ApiPushManager apiPushManager;
+ @Autowired
+ private ApiInfoDataRep apiInfoDataRep;
+
+ /**
+ * 鑾峰彇鍒楄〃淇℃伅
+ * WhjlApi1203PR#listData
+ *
+ * @return
+ */
+ @DataProvider
+ public List<WhjlApi1203> listData() {
+ List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1203);
+ if (null == result || result.isEmpty()) {
+ return null;
+ }
+ List<WhjlApi1203> list = new ArrayList<>();
+ WhjlApi1203 whjlApi1203;
+ for (ApiInfoData infoData : result) {
+ whjlApi1203 = JSONObject.parseObject(infoData.getData(), WhjlApi1203.class);
+ whjlApi1203.setKqdm(infoData.getKqdm());
+ whjlApi1203.setCzbz(infoData.getCzbz());
+ whjlApi1203.setUpdateTime(infoData.getUpdateTime());
+ whjlApi1203.setBizId(infoData.getDataId());
+ list.add(whjlApi1203);
+ }
+ return list;
+ }
+
+ /**
+ * 鏇存柊鎴栦慨鏀�
+ * WhjlApi1203PR#saveData
+ *
+ * @param data
+ * @return
+ */
+ @DataResolver
+ public void saveData(WhjlApi1203 data) {
+ ApiInfoData infoData = new ApiInfoData();
+ infoData.setId(data.getBizId());
+ infoData.setKqdm(data.getKqdm());
+ infoData.setInteType(WhjlConstant.API_CATEGORY_12);
+ infoData.setInteId(WhjlConstant.API_CODE_1203);
+ infoData.setUpdateTime(new Date());
+ infoData.setDataId(data.getBizId());
+ infoData.setData(JSON.toJSONString(data));
+ infoData.setCzbz(data.getCzbz());
+ infoData.setRemarks("澶囨敞淇℃伅");
+
+ apiInfoDataRep.save(infoData);
+ }
+
+ /**
+ * 鍒犻櫎
+ * WhjlApi1203PR#delData
+ *
+ * @param data
+ * @return
+ */
+ @Expose
+ public String delData(WhjlApi1203 data) {
+ apiInfoDataRep.deleteById(data.getBizId());
+ return null;
+ }
+
+ /**
+ * 涓婁紶
+ * WhjlApi1203PR#pushData
+ *
+ * @param items
+ * @return
+ */
+ @Expose
+ public String pushData(List<WhjlApi1203> items) {
+
+ String result = "";
+
+ String kqdm = items.get(0).getKqdm();
+ ApiConfs apiConf = apiCommonService.getConf(kqdm);
+
+ if (null == apiConf) {
+ return "绯荤粺娌℃湁鑾峰彇鍒板綋鍓嶅簱鍖洪厤缃俊鎭紝鎵ц澶辫触";
+ }
+
+ //灏佽鍙傛暟
+ ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1203);
+
+ //鑾峰彇瀹炵幇鎺ュ彛
+ ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
+ if (null == apiService) {
+ return "绯荤粺娌℃湁褰撳墠鎺ㄩ�佸崗璁厤缃紝鎵ц澶辫触";
+ }
+
+ ResponseDto responseDto;
+ ApiInfoData infoData;
+ for (WhjlApi1203 data : items) {
+ responseDto = apiService.pushData(param, apiConf, items);
+ if (responseDto.getSuccess() == 0) {
+ if (Constant.CZBZ_I.equals(data.getCzbz())) {
+ infoData = new ApiInfoData();
+ infoData.setId(data.getBizId());
+ infoData.setKqdm(data.getKqdm());
+ infoData.setInteType(WhjlConstant.API_CATEGORY_12);
+ infoData.setInteId(WhjlConstant.API_CODE_1203);
+ infoData.setUpdateTime(new Date());
+ infoData.setDataId(data.getBizId());
+
+ data.setCzbz(Constant.CZBZ_U);
+ infoData.setCzbz(Constant.CZBZ_U);
+ infoData.setData(JSON.toJSONString(data));
+ apiInfoDataRep.save(infoData);
+ }
+ }
+ result += responseDto.toString();
+ }
+ return result;
+ }
+}
diff --git a/src/main/resources/templates/home/home-whjl.html b/src/main/resources/templates/home/home-whjl.html
index 0cd8f78..16576ce 100644
--- a/src/main/resources/templates/home/home-whjl.html
+++ b/src/main/resources/templates/home/home-whjl.html
@@ -124,31 +124,34 @@
<a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1105.d">浠撴埧淇℃伅</a>
</dd>
<dd>
- <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1106.d">寤掗棿淇℃伅</a>
+ <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1106.d">娌圭綈淇℃伅</a>
</dd>
<dd>
- <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1107.d">璐т綅淇℃伅</a>
+ <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1107.d">寤掗棿淇℃伅</a>
</dd>
<dd>
- <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1108.d">浠撳偍璁炬柦鐢靛瓙妗f</a>
+ <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1108.d">璐т綅淇℃伅</a>
</dd>
<dd>
- <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1109.d">浠撳偍璁炬柦缁存姢璁板綍</a>
+ <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1109.d">浠撳偍璁炬柦鐢靛瓙妗f</a>
</dd>
<dd>
- <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1110.d">浠撳偍璁惧鎶ュ簾璁板綍</a>
+ <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1110.d">浠撳偍璁炬柦缁存姢璁板綍</a>
</dd>
<dd>
- <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1111.d">浠撳偍璁惧淇℃伅</a>
+ <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1111.d">浠撳偍璁惧鎶ュ簾璁板綍</a>
</dd>
<dd>
- <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1112.d">浠撳偍璁惧缁存姢璁板綍</a>
+ <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1112.d">浠撳偍璁惧淇℃伅</a>
</dd>
<dd>
- <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1113.d">浠撳偍璁惧缁翠慨璁板綍</a>
+ <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1113.d">浠撳偍璁惧缁存姢璁板綍</a>
</dd>
<dd>
- <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1114.d">浠撳偍璁惧鎶ュ簾璁板綍</a>
+ <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1114.d">浠撳偍璁惧缁翠慨璁板綍</a>
+ </dd>
+ <dd>
+ <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1115.d">浠撳偍璁惧鎶ュ簾璁板綍</a>
</dd>
</dl>
</li>
@@ -163,6 +166,15 @@
</a>
<dl class="layui-nav-child">
<dd>
+ <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1201.d">鍓渚涘簲鍟嗕俊鎭�</a>
+ </dd>
+ <dd>
+ <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1202.d">鍓鍝佺墝淇℃伅</a>
+ </dd>
+ <dd>
+ <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1203.d">鍓浜у搧淇℃伅</a>
+ </dd>
+ <dd>
<a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1204.d">瀹㈡埛淇℃伅</a>
</dd>
<dd>
--
Gitblit v1.9.3