From 933e6001d6259dbedc2e9cc5246c514bdeaa5814 Mon Sep 17 00:00:00 2001
From: ws <ws@123.com>
Date: 星期四, 02 十一月 2023 20:55:08 +0800
Subject: [PATCH] 提交武汉接口1

---
 src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1114.view.xml |  172 +++++++++++++++++++++++++++++++++-----------------------
 1 files changed, 101 insertions(+), 71 deletions(-)

diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1114.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1114.view.xml
index 3a0082f..f764bb2 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1114.view.xml
+++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1114.view.xml
@@ -6,70 +6,73 @@
     <DataType name="dtMain">
       <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1114</Property>
       <PropertyDef name="sbwxjlbh">
-        <Property/>
-        <Property name="label">璁惧缁翠慨璁板綍缂栧彿</Property>
+        <Property></Property>
+        <Property name="label">缁翠慨璁板綍缂栧彿</Property>
       </PropertyDef>
       <PropertyDef name="jlqybh">
-        <Property/>
+        <Property></Property>
         <Property name="label">鍐涚伯浼佷笟缂栧彿</Property>
       </PropertyDef>
       <PropertyDef name="jlqymc">
-        <Property/>
+        <Property></Property>
         <Property name="label">鍐涚伯浼佷笟鍚嶇О</Property>
       </PropertyDef>
       <PropertyDef name="jgzdbh">
-        <Property/>
+        <Property></Property>
         <Property name="label">鍐涗緵绔欑偣缂栧彿</Property>
       </PropertyDef>
       <PropertyDef name="jgzdmc">
-        <Property/>
+        <Property></Property>
+        <Property name="label">鍐涗緵绔欑偣鍚嶇О</Property>
       </PropertyDef>
       <PropertyDef name="sbbh">
-        <Property/>
+        <Property></Property>
         <Property name="label">璁惧缂栧彿</Property>
       </PropertyDef>
       <PropertyDef name="sbmc">
-        <Property/>
+        <Property></Property>
         <Property name="label">璁惧鍚嶇О</Property>
       </PropertyDef>
       <PropertyDef name="wxkssj">
-        <Property/>
+        <Property></Property>
         <Property name="label">寮�濮嬬淮淇椂闂�</Property>
+        <Property name="dataType">Date</Property>
       </PropertyDef>
       <PropertyDef name="wxjssj">
-        <Property/>
+        <Property></Property>
         <Property name="label">缁撴潫缁翠慨鏃堕棿</Property>
+        <Property name="dataType">Date</Property>
       </PropertyDef>
       <PropertyDef name="wxdw">
-        <Property/>
+        <Property></Property>
         <Property name="label">缁翠慨鍗曚綅</Property>
       </PropertyDef>
       <PropertyDef name="lxr">
-        <Property/>
+        <Property></Property>
         <Property name="label">鑱旂郴浜�</Property>
       </PropertyDef>
       <PropertyDef name="lxdh">
-        <Property/>
+        <Property></Property>
         <Property name="label">鑱旂郴鐢佃瘽</Property>
       </PropertyDef>
       <PropertyDef name="gzxx">
-        <Property/>
+        <Property></Property>
         <Property name="label">鏁呴殰鐜拌薄</Property>
       </PropertyDef>
       <PropertyDef name="gzyy">
-        <Property/>
+        <Property></Property>
         <Property name="label">鏁呴殰鍘熷洜</Property>
       </PropertyDef>
       <PropertyDef name="wxff">
-        <Property/>
+        <Property></Property>
         <Property name="label">缁翠慨鏂规硶</Property>
       </PropertyDef>
       <PropertyDef name="gxpjxx">
-        <Property/>
+        <Property></Property>
         <Property name="label">鏇存柊閰嶄欢淇℃伅</Property>
       </PropertyDef>
       <PropertyDef name="wxhyxzt">
-        <Property/>
+        <Property></Property>
         <Property name="label">缁翠慨鍚庤繍琛岀姸鎬�</Property>
       </PropertyDef>
       <PropertyDef name="sysj">
@@ -77,43 +80,23 @@
         <Property name="label">璇曠敤鏃堕棿</Property>
       </PropertyDef>
       <PropertyDef name="wxfy">
-        <Property/>
+        <Property></Property>
         <Property name="label">缁翠慨璐圭敤</Property>
       </PropertyDef>
       <PropertyDef name="ysr">
-        <Property/>
+        <Property></Property>
         <Property name="label">楠屾敹浜�</Property>
       </PropertyDef>
       <PropertyDef name="jl">
-        <Property/>
+        <Property></Property>
         <Property name="label">缁撹</Property>
       </PropertyDef>
-      <PropertyDef name="wxjlzp">
-        <Property/>
-        <Property name="label">缁存姢璁板綍鐓х墖</Property>
-      </PropertyDef>
       <PropertyDef name="bz">
-        <Property/>
+        <Property></Property>
         <Property name="label">澶囨敞</Property>
       </PropertyDef>
-      <PropertyDef name="zpid">
-        <Property/>
-        <Property name="label">鐓х墖id</Property>
-      </PropertyDef>
-      <PropertyDef name="zpmc">
-        <Property/>
-        <Property name="label">鐓х墖鍚嶇О</Property>
-      </PropertyDef>
-      <PropertyDef name="zplj">
-        <Property/>
-        <Property name="label">鐓х墖璺緞</Property>
-      </PropertyDef>
-      <PropertyDef name="zpdx">
-        <Property name="dataType">int</Property>
-        <Property name="label">鐓х墖澶у皬</Property>
-      </PropertyDef>
       <PropertyDef name="bizId">
-        <Property/>
+        <Property></Property>
         <Property name="label">涓氬姟ID</Property>
       </PropertyDef>
       <PropertyDef name="updateTime">
@@ -121,13 +104,22 @@
         <Property name="label">鏈�鍚庢洿鏂版椂闂�</Property>
       </PropertyDef>
       <PropertyDef name="czbz">
-        <Property/>
+        <Property></Property>
         <Property name="label">鎿嶄綔鏍囧織</Property>
+        <Property name="mapping">
+          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;CZBZ&quot;)}</Property>
+          <Property name="keyProperty">code</Property>
+          <Property name="valueProperty">name</Property>
+        </Property>
       </PropertyDef>
       <PropertyDef name="kqdm">
-        <Property/>
+        <Property></Property>
         <Property name="label">搴撳尯浠g爜</Property>
       </PropertyDef>
+      <Reference name="whjlzp">
+        <Property name="label">缁存姢璁板綍鐓х墖</Property>
+        <Property name="dataType">[dtWhjlzp]</Property>
+      </Reference>
     </DataType>
     <DataType name="dtParam">
       <Property name="creationType">com.fzzy.api.data.ApiParam</Property>
@@ -153,13 +145,32 @@
         </Property>
       </PropertyDef>
     </DataType>
+    <DataType name="dtWhjlzp">
+      <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlWHJLZP</Property>
+      <PropertyDef name="zpid">
+        <Property/>
+        <Property name="label">鐓х墖id</Property>
+      </PropertyDef>
+      <PropertyDef name="zpmc">
+        <Property/>
+        <Property name="label">鐓х墖鍚嶇О</Property>
+      </PropertyDef>
+      <PropertyDef name="zplj">
+        <Property/>
+        <Property name="label">鐓х墖璺緞</Property>
+      </PropertyDef>
+      <PropertyDef name="zpdx">
+        <Property name="dataType">Integer</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">whjlApi1114PR#listData</Property>
-      <Property name="parameter">20</Property>
+      <Property name="pageSize">20</Property>
     </DataSet>
     <DataSet id="dsQuery">
       <ClientEvent name="onReady">self.insert();</ClientEvent>
@@ -306,6 +317,7 @@
       <Property name="closeable">false</Property>
       <Property name="iconClass">fa fa-sliders</Property>
       <Property name="caption">璐т綅淇℃伅</Property>
+      <Property name="height">80%</Property>
       <Buttons>
         <Button>
           <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
@@ -438,33 +450,8 @@
             <Editor/>
           </AutoFormElement>
           <AutoFormElement>
-            <Property name="name">wxjlzp</Property>
-            <Property name="property">wxjlzp</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
             <Property name="name">bz</Property>
             <Property name="property">bz</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">zpid</Property>
-            <Property name="property">zpid</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">zpmc</Property>
-            <Property name="property">zpmc</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">zplj</Property>
-            <Property name="property">zplj</Property>
-            <Editor/>
-          </AutoFormElement>
-          <AutoFormElement>
-            <Property name="name">zpdx</Property>
-            <Property name="property">zpdx</Property>
             <Editor/>
           </AutoFormElement>
           <AutoFormElement>
@@ -488,6 +475,49 @@
             <Editor/>
           </AutoFormElement>
         </AutoForm>
+        <Panel>
+          <Property name="caption">璁惧缁存姢璁板綍鐓х墖</Property>
+          <Property name="height">80%</Property>
+          <Buttons/>
+          <Children>
+            <Container layout="regionPadding:10">
+              <Label layoutConstraint="left">
+                <Property name="text">鑿滃崟鏍忥細</Property>
+              </Label>
+              <Button layoutConstraint="left">
+                <ClientEvent name="onClick">var list = view.get(&quot;#dsMain.data:#&quot;).get(&quot;whjlzp&quot;);&#xD;
+list.insert({});</ClientEvent>
+                <Property name="caption">鏂板</Property>
+                <Property name="exClassName">btn-default</Property>
+                <Property name="iconClass">fa fa-plus</Property>
+              </Button>
+              <Button layoutConstraint="left">
+                <ClientEvent name="onClick">var data = view.get(&quot;#dgWhjlzp.currentEntity&quot;);&#xD;
+data.remove();</ClientEvent>
+                <Property name="caption">鍒犻櫎</Property>
+                <Property name="exClassName">btn-warn</Property>
+                <Property name="iconClass">fa fa-minus</Property>
+              </Button>
+            </Container>
+            <DataGrid id="dgWhjlzp">
+              <Property name="dataPath">#.whjlzp</Property>
+              <Property name="dataSet">dsMain</Property>
+              <DataColumn name="zpid">
+                <Property name="property">zpid</Property>
+              </DataColumn>
+              <DataColumn name="zpmc">
+                <Property name="property">zpmc</Property>
+              </DataColumn>
+              <DataColumn name="zplj">
+                <Property name="property">zplj</Property>
+              </DataColumn>
+              <DataColumn name="zpdx">
+                <Property name="property">zpdx</Property>
+              </DataColumn>
+            </DataGrid>
+          </Children>
+          <Tools/>
+        </Panel>
       </Children>
       <Tools/>
     </Dialog>

--
Gitblit v1.9.3