From ab8b3af2bc6460dba2a807d27004e128d772ab24 Mon Sep 17 00:00:00 2001 From: YYC <1833023622@qq.com> Date: 星期五, 12 七月 2024 09:30:09 +0800 Subject: [PATCH] 增城配置 --- src/main/java/com/fzzy/api/view/Api1403.view.xml | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 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..4bd0dd4 100644 --- a/src/main/java/com/fzzy/api/view/Api1403.view.xml +++ b/src/main/java/com/fzzy/api/view/Api1403.view.xml @@ -31,6 +31,9 @@ <PropertyDef name="jhxddw"> <Property name="label">璁″垝涓嬭揪鍗曚綅</Property> </PropertyDef> + <PropertyDef name="jhxddwtybm"> + <Property name="label">鍥藉缁熶竴鍗曚綅缂栫爜</Property> + </PropertyDef> <PropertyDef name="jhxddwmc"> <Property name="label">璁″垝涓嬭揪鍗曚綅鍚嶇О</Property> </PropertyDef> @@ -115,6 +118,9 @@ <PropertyDef name="fileStorageId"> <Property></Property> <Property name="label">鏂囦欢瀛樺偍ID</Property> + </PropertyDef> + <PropertyDef name="wjdz"> + <Property name="label">鏂囦欢鍦板潃</Property> </PropertyDef> <PropertyDef name="fileName"> <Property></Property> @@ -351,6 +357,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> @@ -407,6 +419,11 @@ <Editor/> </AutoFormElement> <AutoFormElement> + <Property name="name">jhxddwtybm</Property> + <Property name="property">jhxddwtybm</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> <Property name="name">jhxddwmc</Property> <Property name="property">jhxddwmc</Property> <Editor/> @@ -434,6 +451,11 @@ <AutoFormElement> <Property name="name">kqdm</Property> <Property name="property">kqdm</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">wjdz</Property> + <Property name="property">wjdz</Property> <Editor/> </AutoFormElement> </AutoForm> @@ -505,5 +527,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