From 14f79528513e0f7c08f47c4d34efd7d6fa847a60 Mon Sep 17 00:00:00 2001
From: ws <ws@123.com>
Date: 星期五, 03 十一月 2023 19:13:47 +0800
Subject: [PATCH] 提交武汉接口2

---
 src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1206.view.xml |   57 +++++++++++++++++++++++++++++++++++++--------------------
 1 files changed, 37 insertions(+), 20 deletions(-)

diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1206.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1206.view.xml
index 2d2f1a4..08e7708 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1206.view.xml
+++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1206.view.xml
@@ -28,11 +28,6 @@
       <PropertyDef name="htlx">
         <Property></Property>
         <Property name="label">鍚堝悓绫诲瀷</Property>
-        <Property name="mapping">
-          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;HT_YWLX&quot;)}</Property>
-          <Property name="keyProperty">code</Property>
-          <Property name="valueProperty">name</Property>
-        </Property>
       </PropertyDef>
       <PropertyDef name="htbh">
         <Property></Property>
@@ -118,11 +113,6 @@
       <PropertyDef name="zffs">
         <Property></Property>
         <Property name="label">鏀粯鏂瑰紡</Property>
-        <Property name="mapping">
-          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerService#trigger&quot;).getResult(&quot;JSFS&quot;)}</Property>
-          <Property name="keyProperty">code</Property>
-          <Property name="valueProperty">name</Property>
-        </Property>
       </PropertyDef>
       <PropertyDef name="ywcsl">
         <Property name="dataType">Double</Property>
@@ -144,6 +134,14 @@
       <PropertyDef name="sfyx">
         <Property></Property>
         <Property name="label">鏄惁鏈夋晥</Property>
+      </PropertyDef>
+      <PropertyDef name="htzt">
+        <Property></Property>
+        <Property name="label">鍚堝悓鐘舵��</Property>
+      </PropertyDef>
+      <PropertyDef name="hrqdr">
+        <Property></Property>
+        <Property name="label">鍚堝悓绛捐浜�</Property>
       </PropertyDef>
       <PropertyDef name="bz">
         <Property></Property>
@@ -170,8 +168,11 @@
         <Property></Property>
         <Property name="label">搴撳尯浠g爜</Property>
       </PropertyDef>
+      <PropertyDef name="htspqdList">
+        <Property></Property>
+      </PropertyDef>
       <Reference name="htspqd">
-        <Property name="parameter">$${this.htid}</Property>
+        <Property name="parameter">$${this.htspqdList}</Property>
         <Property name="dataProvider">whjlApi1206PR#listItem</Property>
         <Property name="dataType">[dtItem]</Property>
       </Reference>
@@ -247,6 +248,7 @@
     <DataSet id="dsMain">
       <Property name="dataType">[dtMain]</Property>
       <Property name="dataProvider">whjlApi1206PR#listData</Property>
+      <Property name="pageSize">20</Property>
     </DataSet>
     <Container layout="regionPadding:10" layoutConstraint="top">
       <Property name="exClassName">bg-color</Property>
@@ -387,11 +389,18 @@
         </DataColumn>
       </DataGrid>
     </Container>
+    <Container layoutConstraint="bottom">
+      <Property name="exClassName">bg-color</Property>
+      <DataPilot layoutConstraint="right">
+        <Property name="dataSet">dsMain</Property>
+        <Property name="itemCodes">pageSize,pages</Property>
+      </DataPilot>
+    </Container>
     <Dialog id="dialogMain" layout="regionPadding:10;padding:5">
       <Property name="width">85%</Property>
       <Property name="closeable">false</Property>
       <Property name="iconClass">fa fa-sliders</Property>
-      <Property name="caption">瀹㈡埛淇℃伅</Property>
+      <Property name="caption">鍚堝悓淇℃伅</Property>
       <Property name="height">85%</Property>
       <Buttons>
         <Button>
@@ -591,6 +600,21 @@
                 <Editor/>
               </AutoFormElement>
               <AutoFormElement>
+                <Property name="name">hrqdr</Property>
+                <Property name="property">hrqdr</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">htzt</Property>
+                <Property name="property">htzt</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">htlx</Property>
+                <Property name="property">htlx</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
                 <Property name="name">xh</Property>
                 <Property name="property">xh</Property>
                 <Editor/>
@@ -649,14 +673,7 @@
 if(!data){&#xD;
  return;&#xD;
 }&#xD;
-view.get(&quot;#ajaxItem&quot;).set(&quot;parameter&quot;,data).execute(function(result){&#xD;
-	if(result){&#xD;
-  		$alert(result);&#xD;
-  		return;&#xD;
- 	}else{&#xD;
-  		data.remove();&#xD;
- 	}&#xD;
-});</ClientEvent>
+data.remove();</ClientEvent>
                 <Property name="caption">鍒犻櫎</Property>
                 <Property name="exClassName">btn-warn</Property>
                 <Property name="iconClass">fa fa-minus</Property>

--
Gitblit v1.9.3