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 | 290 ++++++++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 222 insertions(+), 68 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 21f2c8a..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,12 @@ <PropertyDef name="jhxddw"> <Property name="label">璁″垝涓嬭揪鍗曚綅</Property> </PropertyDef> + <PropertyDef name="jhxddwtybm"> + <Property name="label">鍥藉缁熶竴鍗曚綅缂栫爜</Property> + </PropertyDef> + <PropertyDef name="jhxddwmc"> + <Property name="label">璁″垝涓嬭揪鍗曚綅鍚嶇О</Property> + </PropertyDef> <PropertyDef name="jhxdsj"> <Property name="label">璁″垝涓嬭揪鏃堕棿</Property> <Property name="dataType">Date</Property> @@ -60,6 +66,75 @@ <PropertyDef name="syncTime"> <Property name="dataType">Date</Property> <Property name="label">鍚屾鏃堕棿</Property> + </PropertyDef> + <PropertyDef name="manageWay"> + <Property></Property> + <Property name="label">绠$悊鏂瑰紡</Property> + <Property name="mapping"> + <Property name="keyProperty">key</Property> + <Property name="valueProperty">value</Property> + <Property name="mapValues"> + <Collection> + <Entity> + <Property name="key">1</Property> + <Property name="value">1-鐩村偍</Property> + </Entity> + <Entity> + <Property name="key">2</Property> + <Property name="value">2-浠e偍</Property> + </Entity> + <Entity> + <Property name="key">3</Property> + <Property name="value">3-绉熶粨</Property> + </Entity> + <Entity> + <Property name="key">4</Property> + <Property name="value">4-濮旀墭</Property> + </Entity> + </Collection> + </Property> + </Property> + </PropertyDef> + <PropertyDef name="rotationType"> + <Property></Property> + <Property name="label">杞崲绫诲瀷</Property> + <Property name="mapping"> + <Property name="keyProperty">key</Property> + <Property name="valueProperty">value</Property> + <Property name="mapValues"> + <Collection> + <Entity> + <Property name="key">1</Property> + <Property name="value">1-闈欐�佽疆鎹�</Property> + </Entity> + <Entity> + <Property name="key">2</Property> + <Property name="value">2-鍔ㄦ�佽疆鎹�</Property> + </Entity> + </Collection> + </Property> + </Property> + </PropertyDef> + <PropertyDef name="fileStorageId"> + <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> + </PropertyDef> + <PropertyDef name="rotationInQty"> + <Property></Property> + <Property name="dataType">Double</Property> + <Property name="label">杞叆鏁伴噺</Property> + </PropertyDef> + <PropertyDef name="rotationOutQty"> + <Property></Property> + <Property name="dataType">Double</Property> + <Property name="label">杞嚭鏁伴噺</Property> </PropertyDef> </DataType> <DataType name="dtParam"> @@ -282,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> @@ -291,74 +372,139 @@ </Button> </Buttons> <Children> - <AutoForm> - <Property name="dataSet">dsMain</Property> - <Property name="cols">*,*,*</Property> - <Property name="labelWidth">100</Property> - <Property name="labelAlign">left</Property> - <Property name="labelSeparator">锛�</Property> - <Property name="labelPosition">top</Property> - <AutoFormElement> - <Property name="name">lhjhdh</Property> - <Property name="property">lhjhdh</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">jhwh</Property> - <Property name="property">jhwh</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">jhmc</Property> - <Property name="property">jhmc</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">jhnd</Property> - <Property name="property">jhnd</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">kszxrq</Property> - <Property name="property">kszxrq</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">jzzxrq</Property> - <Property name="property">jzzxrq</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">jhxddw</Property> - <Property name="property">jhxddw</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">jhxdsj</Property> - <Property name="property">jhxdsj</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">czbz</Property> - <Property name="property">czbz</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">zhgxsj</Property> - <Property name="property">zhgxsj</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">bizId</Property> - <Property name="property">bizId</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">kqdm</Property> - <Property name="property">kqdm</Property> - <Editor/> - </AutoFormElement> - </AutoForm> + <GroupBox> + <Property name="caption">鍩虹淇℃伅</Property> + <Buttons/> + <Children> + <AutoForm> + <Property name="dataSet">dsMain</Property> + <Property name="cols">*,*,*</Property> + <Property name="labelWidth">100</Property> + <Property name="labelAlign">left</Property> + <Property name="labelSeparator">锛�</Property> + <Property name="labelPosition">top</Property> + <AutoFormElement> + <Property name="name">lhjhdh</Property> + <Property name="property">lhjhdh</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">jhwh</Property> + <Property name="property">jhwh</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">jhmc</Property> + <Property name="property">jhmc</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">jhnd</Property> + <Property name="property">jhnd</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">kszxrq</Property> + <Property name="property">kszxrq</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">jzzxrq</Property> + <Property name="property">jzzxrq</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">jhxddw</Property> + <Property name="property">jhxddw</Property> + <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/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">jhxdsj</Property> + <Property name="property">jhxdsj</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">czbz</Property> + <Property name="property">czbz</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">zhgxsj</Property> + <Property name="property">zhgxsj</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">bizId</Property> + <Property name="property">bizId</Property> + <Editor/> + </AutoFormElement> + <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> + </Children> + </GroupBox> + <GroupBox> + <Property name="caption">骞夸笢鐪佸钩鍙�</Property> + <Buttons/> + <Children> + <AutoForm> + <Property name="dataSet">dsMain</Property> + <Property name="cols">*,*,*</Property> + <Property name="labelWidth">100</Property> + <Property name="labelAlign">left</Property> + <Property name="labelSeparator">锛�</Property> + <Property name="labelPosition">top</Property> + <AutoFormElement> + <Property name="name">manageWay</Property> + <Property name="property">manageWay</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">rotationType</Property> + <Property name="property">rotationType</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">fileStorageId</Property> + <Property name="property">fileStorageId</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">fileName</Property> + <Property name="property">fileName</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">rotationInQty</Property> + <Property name="property">rotationInQty</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">rotationOutQty</Property> + <Property name="property">rotationOutQty</Property> + <Editor/> + </AutoFormElement> + </AutoForm> + </Children> + </GroupBox> </Children> <Tools/> </Dialog> @@ -381,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