From b23dea952d3964c66d8823ebd3f84cabbe978eae Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期四, 18 四月 2024 19:15:18 +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("#dgMain").getCurrentItem();
self.get("parent").hide();
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鏂规硶杩斿洖鐨勪俊鎭�&#xD;
+ 
+ var cur = view.get("#dsMain.data:#");
+ cur.set("wjdz",returnValue);</ClientEvent>
+ <Property name="fileResolver">uploadProcessor#uploadFile</Property>
+ <Filters/>
+ </UploadAction>
</View>
</ViewConfig>
--
Gitblit v1.9.3