From c8758e2ecad0d3acd8e100619030b132844c6331 Mon Sep 17 00:00:00 2001
From: CZT <czt18638530771@163.com>
Date: 星期四, 16 十一月 2023 17:47:47 +0800
Subject: [PATCH] 广东省平台接口-新增轮换计划文件信息提交

---
 src/main/java/com/fzzy/api/view/Api1403.view.xml |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/fzzy/api/view/Api1403.view.xml b/src/main/java/com/fzzy/api/view/Api1403.view.xml
index dc0c06e..54e77cd 100644
--- a/src/main/java/com/fzzy/api/view/Api1403.view.xml
+++ b/src/main/java/com/fzzy/api/view/Api1403.view.xml
@@ -116,6 +116,9 @@
         <Property></Property>
         <Property name="label">鏂囦欢瀛樺偍ID</Property>
       </PropertyDef>
+      <PropertyDef name="wjdz">
+        <Property name="label">鏂囦欢鍦板潃</Property>
+      </PropertyDef>
       <PropertyDef name="fileName">
           <Property></Property>
           <Property name="label">鏂囦欢鍚嶇О</Property>
@@ -351,6 +354,12 @@
           <Property name="exClassName">toolbar-button</Property>
         </Button>
         <Button>
+          <Property name="caption">涓婁紶鏂囦欢</Property>
+          <Property name="iconClass">fa fa-upload</Property>
+          <Property name="exClassName">toolbar-button-warm</Property>
+          <Property name="action">uploadAction</Property>
+        </Button>
+        <Button>
           <ClientEvent name="onClick">var cur = view.get(&quot;#dgMain&quot;).getCurrentItem();&#xD;
 self.get(&quot;parent&quot;).hide();&#xD;
 if(cur) cur.cancel();</ClientEvent>
@@ -436,6 +445,11 @@
                 <Property name="property">kqdm</Property>
                 <Editor/>
               </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">wjdz</Property>
+                <Property name="property">wjdz</Property>
+                <Editor/>
+              </AutoFormElement>
             </AutoForm>
           </Children>
         </GroupBox>
@@ -505,5 +519,13 @@
       <Property name="service">api1403PR#delUpdate</Property>
       <Property name="confirmMessage">纭畾瑕佸皢鏁版嵁鏍囪涓哄垹闄や箞锛�</Property>
     </AjaxAction>
+    <UploadAction id="uploadAction">
+      <ClientEvent name="onFileUploaded">var returnValue = arg.returnValue;//鑾峰彇FileResolver鏂规硶杩斿洖鐨勪俊鎭�&amp;#xD;&#xD;
+        &#xD;
+        var cur = view.get(&quot;#dsMain.data:#&quot;);&#xD;
+        cur.set(&quot;wjdz&quot;,returnValue);</ClientEvent>
+      <Property name="fileResolver">uploadProcessor#uploadFile</Property>
+      <Filters/>
+    </UploadAction>
   </View>
 </ViewConfig>

--
Gitblit v1.9.3