From 8bb6004ed19b69fff5b0ca70303c616bc71546e6 Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期一, 13 十月 2025 15:46:45 +0800
Subject: [PATCH] 武汉黄陂军粮-质检报告共享接口同步及推送2

---
 src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi20132.view.xml |  126 +++++++++++++++++++++++++++++++++++++----
 1 files changed, 113 insertions(+), 13 deletions(-)

diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi20132.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi20132.view.xml
index 3908cb3..0fda86e 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi20132.view.xml
+++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlShareApi20132.view.xml
@@ -526,12 +526,27 @@
         <Property name="label">妫�楠岀粨璁�</Property>
       </PropertyDef>
     </DataType>
+    <DataType name="dtTest">
+      <Property name="creationType">com.fzzy.api.data.ApiParam</Property>
+      <PropertyDef name="start">
+        <Property name="dataType">DateTime</Property>
+        <Property name="label">寮�濮嬫椂闂�</Property>
+      </PropertyDef>
+      <PropertyDef name="end">
+        <Property name="dataType">DateTime</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">whjlShareApi2013PR2#listData</Property>
+    </DataSet>
+    <DataSet id="dsTest">
+      <ClientEvent name="onReady">self.insert({});</ClientEvent>
+      <Property name="dataType">dtTest</Property>
     </DataSet>
     <Container layout="regionPadding:10" layoutConstraint="top">
       <Property name="exClassName">bg-color</Property>
@@ -582,13 +597,8 @@
         <Property name="exClassName">btn-flush</Property>
       </Button>
       <Button layoutConstraint="left">
-        <ClientEvent name="onClick">var select = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
-	view.get(&quot;#ajaxPull&quot;).set(&quot;parameter&quot;,select).execute(function(result){&#xD;
-		view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
-		$notify(result);&#xD;
-	});&#xD;
- </ClientEvent>
-        <Property name="caption">鎵嬪姩鏇存柊</Property>
+        <ClientEvent name="onClick">view.get(&quot;#testWarn&quot;).show()</ClientEvent>
+        <Property name="caption">鎵嬪姩鎷夊彇</Property>
         <Property name="iconClass">fa fa-hand-o-up</Property>
         <Property name="exClassName">btn-default</Property>
       </Button>
@@ -601,12 +611,7 @@
         <Property name="exClassName">btn-flush</Property>
       </Button>
       <Button layoutConstraint="left">
-        <ClientEvent name="onClick">&#xD;
-var select = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
-	view.get(&quot;#ajaxsysDataToDept&quot;).execute(function(result){&#xD;
-		view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
-		$notify(result);&#xD;
-	});</ClientEvent>
+        <ClientEvent name="onClick">view.get(&quot;#testWarn2&quot;).show()</ClientEvent>
         <Property name="caption">鍚屾鑷冲簱鍖�</Property>
         <Property name="iconClass">fa fa-hand-o-up</Property>
         <Property name="exClassName">btn-default</Property>
@@ -1320,6 +1325,101 @@
       </Children>
       <Tools/>
     </Dialog>
+    <Dialog id="testWarn" layout="padding:10;regionPadding:10">
+      <Property name="width">40%</Property>
+      <Property name="iconClass">fa fa-flag-o</Property>
+      <Property name="closeable">false</Property>
+      <Property name="caption">璧锋鏃堕棿</Property>
+      <Buttons>
+        <Button id="btnOk">
+          <ClientEvent name="onClick">
+            var data = view.get(&quot;#dsTest.data&quot;);&#xD;
+            view.get(&quot;#ajaxPull&quot;).set(&quot;parameter&quot;,data).execute(function(result){&#xD;
+            self.get(&quot;parent&quot;).hide();&#xD;
+            view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
+            $notify(result);&#xD;
+            });&#xD;</ClientEvent>
+          <Property name="caption">纭畾鎷夊彇</Property>
+          <Property name="iconClass">fa fa-check</Property>
+        </Button>
+        <Button>
+          <ClientEvent name="onClick">self.get(&quot;parent&quot;).hide();</ClientEvent>
+          <Property name="caption">鍙栨秷</Property>
+          <Property name="iconClass">fa fa-times-circle</Property>
+          <Property name="width">90</Property>
+        </Button>
+      </Buttons>
+      <Children>
+        <AutoForm>
+          <Property name="dataSet">dsTest</Property>
+          <Property name="cols">*</Property>
+          <Property name="labelWidth">110</Property>
+          <Property name="labelAlign">right</Property>
+          <Property name="labelSeparator">锛�</Property>
+          <AutoFormElement>
+            <Property name="name">start</Property>
+            <Property name="property">start</Property>
+            <Editor/>
+          </AutoFormElement>
+          <AutoFormElement>
+            <Property name="name">end</Property>
+            <Property name="property">end</Property>
+            <Editor/>
+          </AutoFormElement>
+          <Label layoutConstraint="colSpan:2">
+            <Property name="text">璇存槑锛氬繀椤诲~鍐欒捣姝㈡椂闂达紒</Property>
+          </Label>
+        </AutoForm>
+      </Children>
+      <Tools/>
+    </Dialog>
+    <Dialog id="testWarn2" layout="padding:10;regionPadding:10">
+      <Property name="width">40%</Property>
+      <Property name="iconClass">fa fa-flag-o</Property>
+      <Property name="closeable">false</Property>
+      <Property name="caption">璧锋鏃堕棿</Property>
+      <Buttons>
+        <Button id="btnOk2">
+          <ClientEvent name="onClick">
+            var data = view.get(&quot;#dsTest.data&quot;);&#xD;
+            view.get(&quot;#ajaxsysDataToDept&quot;).set(&quot;parameter&quot;,data).execute(function(result){&#xD;
+            self.get(&quot;parent&quot;).hide();&#xD;
+            $notify(result);&#xD;
+            });&#xD;</ClientEvent>
+          <Property name="caption">纭畾鎺ㄩ��</Property>
+          <Property name="iconClass">fa fa-check</Property>
+        </Button>
+        <Button>
+          <ClientEvent name="onClick">self.get(&quot;parent&quot;).hide();</ClientEvent>
+          <Property name="caption">鍙栨秷</Property>
+          <Property name="iconClass">fa fa-times-circle</Property>
+          <Property name="width">90</Property>
+        </Button>
+      </Buttons>
+      <Children>
+        <AutoForm>
+          <Property name="dataSet">dsTest</Property>
+          <Property name="cols">*</Property>
+          <Property name="labelWidth">110</Property>
+          <Property name="labelAlign">right</Property>
+          <Property name="labelSeparator">锛�</Property>
+          <AutoFormElement>
+            <Property name="name">start</Property>
+            <Property name="property">start</Property>
+            <Editor/>
+          </AutoFormElement>
+          <AutoFormElement>
+            <Property name="name">end</Property>
+            <Property name="property">end</Property>
+            <Editor/>
+          </AutoFormElement>
+          <Label layoutConstraint="colSpan:2">
+            <Property name="text">璇存槑锛氬繀椤诲~鍐欒捣姝㈡椂闂达紒</Property>
+          </Label>
+        </AutoForm>
+      </Children>
+      <Tools/>
+    </Dialog>
     <ListDropDown id="listDropYN">
       <Property name="items">鏄�,鍚�</Property>
     </ListDropDown>

--
Gitblit v1.9.3