From 2411d88ab5411fed8928ace4d3c46a62dedd00fc Mon Sep 17 00:00:00 2001
From: jiazx0107@163.com <jiazx0107@163.com>
Date: 星期二, 12 九月 2023 12:10:34 +0800
Subject: [PATCH] 测试提交

---
 igds-manager/src/main/java/com/ld/igds/oa/view/DeptDevice.view.xml |   84 +++++++++++++++++++++++++++++++----------
 1 files changed, 63 insertions(+), 21 deletions(-)

diff --git a/igds-manager/src/main/java/com/ld/igds/oa/view/DeptDevice.view.xml b/igds-manager/src/main/java/com/ld/igds/oa/view/DeptDevice.view.xml
index c34851b..83ea38b 100644
--- a/igds-manager/src/main/java/com/ld/igds/oa/view/DeptDevice.view.xml
+++ b/igds-manager/src/main/java/com/ld/igds/oa/view/DeptDevice.view.xml
@@ -170,7 +170,8 @@
     </DataType>
   </Model>
   <View layout="regionPadding:10">
-    <ClientEvent name="onReady">view.get(&quot;#dsParam&quot;).insert({});</ClientEvent>
+    <ClientEvent name="onReady">view.get(&quot;#dsParam&quot;).insert({});&#xD;
+view.get(&quot;#dsParamCheck&quot;).insert({});</ClientEvent>
     <Property name="packages">font-awesome,css-common</Property>
     <DataSet id="dsMain">
       <Property name="dataType">[dtMain]</Property>
@@ -178,6 +179,9 @@
       <Property name="pageSize">15</Property>
     </DataSet>
     <DataSet id="dsParam">
+      <Property name="dataType">dtParam</Property>
+    </DataSet>
+    <DataSet id="dsParamCheck">
       <Property name="dataType">dtParam</Property>
     </DataSet>
     <DataSet id="dsCheck">
@@ -265,7 +269,8 @@
             <Property name="iconClass">fa fa-search</Property>
           </Button>
           <Button layoutConstraint="left">
-            <ClientEvent name="onClick">view.get(&quot;#dsParam&quot;).flushAsync();</ClientEvent>
+            <ClientEvent name="onClick">view.get(&quot;#dsParam&quot;).flushAsync();&#xD;
+view.get(&quot;#dsParam&quot;).insert({});</ClientEvent>
             <Property name="caption">閲嶇疆</Property>
             <Property name="iconClass">fa fa-refresh</Property>
             <Property name="exClassName">btn-default</Property>
@@ -449,6 +454,7 @@
       <Property name="height">90%</Property>
       <Property name="caption">璁惧妫�淇褰�</Property>
       <Property name="closeable">false</Property>
+      <Property name="background">crey</Property>
       <Buttons>
         <Button layoutConstraint="center">
           <ClientEvent name="onClick">self.get(&quot;parent&quot;).hide();</ClientEvent>
@@ -459,8 +465,15 @@
       <Children>
         <Container layout="regionPadding:10" layoutConstraint="top">
           <Property name="exClassName">bg-color</Property>
-          <Button layoutConstraint="left">
-            <ClientEvent name="onClick">var data = view.get(&quot;#dsMain.data:#&quot;)&#xD;
+          <AutoForm>
+            <Property name="dataSet">dsParamCheck</Property>
+            <Property name="cols">*,*,*,*</Property>
+            <Property name="labelAlign">right</Property>
+            <Property name="labelSeparator">:</Property>
+            <Property name="labelWidth">140</Property>
+            <Container layout="regionPadding:10">
+              <Button layoutConstraint="left">
+                <ClientEvent name="onClick">var data = view.get(&quot;#dsMain.data:#&quot;)&#xD;
 view.get(&quot;#dsCheck&quot;).insert({&#xD;
 	sbbh:data.get(&quot;sbbh&quot;),&#xD;
 	kqdm:data.get(&quot;kqdm&quot;),&#xD;
@@ -469,19 +482,19 @@
 	sbyqdm:data.get(&quot;sbyqdm&quot;)&#xD;
 });&#xD;
 view.get(&quot;#addCheck&quot;).show();</ClientEvent>
-            <Property name="caption">鏂板</Property>
-            <Property name="exClassName">btn-normal</Property>
-            <Property name="iconClass">fa fa-plus</Property>
-          </Button>
-          <Button layoutConstraint="left">
-            <ClientEvent name="onClick">var dialog= view.get(&quot;#addCheck&quot;);&#xD;
+                <Property name="caption">鏂板</Property>
+                <Property name="exClassName">btn-normal</Property>
+                <Property name="iconClass">fa fa-plus</Property>
+              </Button>
+              <Button layoutConstraint="left">
+                <ClientEvent name="onClick">var dialog= view.get(&quot;#addCheck&quot;);&#xD;
 dialog.show();</ClientEvent>
-            <Property name="caption">缂栬緫</Property>
-            <Property name="exClassName">btn-warm</Property>
-            <Property name="iconClass">fa fa-pencil</Property>
-          </Button>
-          <Button layoutConstraint="left">
-            <ClientEvent name="onClick">var cur = view.get(&quot;#dsCheck.data:#&quot;);&#xD;
+                <Property name="caption">缂栬緫</Property>
+                <Property name="exClassName">btn-warm</Property>
+                <Property name="iconClass">fa fa-pencil</Property>
+              </Button>
+              <Button layoutConstraint="left">
+                <ClientEvent name="onClick">var cur = view.get(&quot;#dsCheck.data:#&quot;);&#xD;
 if(!cur) return;&#xD;
 view.get(&quot;#ajaxDelCheck&quot;).set(&quot;parameter&quot;,cur).execute(function(result){&#xD;
 	if(result){&#xD;
@@ -491,10 +504,38 @@
 		cur.remove();&#xD;
 	}&#xD;
 });</ClientEvent>
-            <Property name="caption">鍒犻櫎</Property>
-            <Property name="exClassName">btn-warn</Property>
-            <Property name="iconClass">fa fa-trash-o</Property>
-          </Button>
+                <Property name="caption">鍒犻櫎</Property>
+                <Property name="exClassName">btn-warn</Property>
+                <Property name="iconClass">fa fa-trash-o</Property>
+              </Button>
+            </Container>
+            <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>
+            <Container layout="regionPadding:10">
+              <Button layoutConstraint="left">
+                <ClientEvent name="onClick">var param = view.get(&quot;#dsParamCheck.data&quot;);&#xD;
+view.get(&quot;#dsCheck&quot;).set(&quot;parameter&quot;,param).flushAsync();</ClientEvent>
+                <Property name="caption">鏌ヨ</Property>
+                <Property name="exClassName">btn-normal</Property>
+                <Property name="iconClass">fa fa-search</Property>
+              </Button>
+              <Button layoutConstraint="left">
+                <ClientEvent name="onClick">view.get(&quot;#dsParamCheck&quot;).flushAsync();&#xD;
+view.get(&quot;#dsParamCheck&quot;).insert({});</ClientEvent>
+                <Property name="caption">閲嶇疆</Property>
+                <Property name="iconClass">fa fa-refresh</Property>
+                <Property name="exClassName">btn-default</Property>
+              </Button>
+            </Container>
+          </AutoForm>
         </Container>
         <Container layout="regionPadding:10" layoutConstraint="center">
           <Property name="exClassName">bg-color</Property>
@@ -630,9 +671,10 @@
             <Property name="trigger">listDropYN</Property>
             <Editor/>
           </AutoFormElement>
-          <AutoFormElement>
+          <AutoFormElement layoutConstraint="colSpan:2">
             <Property name="name">remark</Property>
             <Property name="property">remark</Property>
+            <Property name="editorType">TextArea</Property>
             <Editor/>
           </AutoFormElement>
         </AutoForm>

--
Gitblit v1.9.3