From 933e6001d6259dbedc2e9cc5246c514bdeaa5814 Mon Sep 17 00:00:00 2001 From: ws <ws@123.com> Date: 星期四, 02 十一月 2023 20:55:08 +0800 Subject: [PATCH] 提交武汉接口1 --- src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1113.view.xml | 136 ++++++++++++++++++++++++++++++++------------- 1 files changed, 96 insertions(+), 40 deletions(-) diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1113.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1113.view.xml index 2a84807..b5092e7 100644 --- a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1113.view.xml +++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1113.view.xml @@ -7,88 +7,105 @@ <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1113</Property> <PropertyDef name="sbwhjlbh"> <Property></Property> + <Property name="label">缁存姢璁板綍缂栧彿</Property> </PropertyDef> <PropertyDef name="jlqybh"> <Property></Property> + <Property name="label">鍐涚伯浼佷笟缂栧彿</Property> </PropertyDef> <PropertyDef name="jlqymc"> <Property></Property> + <Property name="label">鍐涚伯浼佷笟鍚嶇О</Property> </PropertyDef> <PropertyDef name="jgzdbh"> <Property></Property> + <Property name="label">鍐涗緵绔欑偣缂栧彿</Property> </PropertyDef> <PropertyDef name="jgzdmc"> <Property></Property> + <Property name="label">鍐涗緵绔欑偣鍚嶇О</Property> </PropertyDef> <PropertyDef name="sbbh"> <Property></Property> + <Property name="label">璁惧缂栧彿</Property> </PropertyDef> <PropertyDef name="sbmc"> <Property></Property> + <Property name="label">璁惧鍚嶇О</Property> </PropertyDef> <PropertyDef name="wbrq"> <Property name="dataType">Date</Property> + <Property name="label">缁翠繚鏃ユ湡</Property> </PropertyDef> <PropertyDef name="wbdw"> <Property></Property> + <Property name="label">缁翠繚鍗曚綅</Property> </PropertyDef> <PropertyDef name="wbr"> <Property></Property> + <Property name="label">缁翠繚浜�</Property> </PropertyDef> <PropertyDef name="lxdh"> <Property></Property> + <Property name="label">鑱旂郴鐢佃瘽</Property> </PropertyDef> <PropertyDef name="whlr"> <Property></Property> + <Property name="label">缁存姢鍐呭</Property> </PropertyDef> <PropertyDef name="whjl"> <Property></Property> + <Property name="label">缁存姢璁板綍</Property> </PropertyDef> <PropertyDef name="fxwt"> <Property></Property> + <Property name="label">鍙戠幇闂</Property> </PropertyDef> <PropertyDef name="jjcs"> <Property></Property> + <Property name="label">瑙e喅鎺柦</Property> </PropertyDef> <PropertyDef name="xcwbrq"> <Property name="dataType">Date</Property> + <Property name="label">涓嬫缁翠繚鏃ユ湡</Property> </PropertyDef> <PropertyDef name="ysr"> <Property></Property> + <Property name="label">楠屾敹浜�</Property> </PropertyDef> <PropertyDef name="whjy"> <Property></Property> - </PropertyDef> - <PropertyDef name="whjlzp"> - <Property></Property> + <Property name="label">缁存姢寤鸿</Property> </PropertyDef> <PropertyDef name="bz"> <Property></Property> - </PropertyDef> - <PropertyDef name="zpid"> - <Property></Property> - </PropertyDef> - <PropertyDef name="zpmc"> - <Property></Property> - </PropertyDef> - <PropertyDef name="zplj"> - <Property></Property> - </PropertyDef> - <PropertyDef name="zpdx"> - <Property></Property> + <Property name="label">澶囨敞</Property> </PropertyDef> <PropertyDef name="bizId"> <Property></Property> + <Property name="label">涓氬姟ID</Property> </PropertyDef> <PropertyDef name="updateTime"> <Property name="dataType">Date</Property> + <Property name="label">鏈�鍚庢洿鏂版椂闂�</Property> </PropertyDef> <PropertyDef name="czbz"> <Property></Property> + <Property name="label">鎿嶄綔鏍囧織</Property> + <Property name="mapping"> + <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CZBZ")}</Property> + <Property name="keyProperty">code</Property> + <Property name="valueProperty">name</Property> + </Property> </PropertyDef> <PropertyDef name="kqdm"> <Property></Property> + <Property name="label">搴撳尯浠g爜</Property> </PropertyDef> + <Reference name="whjlzp"> + <Property name="label">缁存姢璁板綍鐓х墖</Property> + <Property name="dataType">[dtWhjlzp]</Property> + </Reference> </DataType> <DataType name="dtParam"> <Property name="creationType">com.fzzy.api.data.ApiParam</Property> @@ -114,12 +131,32 @@ </Property> </PropertyDef> </DataType> + <DataType name="dtWhjlzp"> + <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlWHJLZP</Property> + <PropertyDef name="zpid"> + <Property/> + <Property name="label">鐓х墖id</Property> + </PropertyDef> + <PropertyDef name="zpmc"> + <Property/> + <Property name="label">鐓х墖鍚嶇О</Property> + </PropertyDef> + <PropertyDef name="zplj"> + <Property/> + <Property name="label">鐓х墖璺緞</Property> + </PropertyDef> + <PropertyDef name="zpdx"> + <Property name="dataType">Integer</Property> + <Property name="label">鐓х墖澶у皬</Property> + </PropertyDef> + </DataType> </Model> <View layout="regionPadding:10"> <Property name="packages">font-awesome,css-common</Property> <DataSet id="dsMain"> <Property name="dataType">[dtMain]</Property> <Property name="dataProvider">whjlApi1113PR#listData</Property> + <Property name="pageSize">20</Property> </DataSet> <DataSet id="dsQuery"> <ClientEvent name="onReady">self.insert();</ClientEvent> @@ -260,6 +297,7 @@ <Property name="closeable">false</Property> <Property name="iconClass">fa fa-sliders</Property> <Property name="caption">璐т綅淇℃伅</Property> + <Property name="height">80%</Property> <Buttons> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 @@ -377,33 +415,8 @@ <Editor/> </AutoFormElement> <AutoFormElement> - <Property name="name">whjlzp</Property> - <Property name="property">whjlzp</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> <Property name="name">bz</Property> <Property name="property">bz</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">zpid</Property> - <Property name="property">zpid</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">zpmc</Property> - <Property name="property">zpmc</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">zplj</Property> - <Property name="property">zplj</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">zpdx</Property> - <Property name="property">zpdx</Property> <Editor/> </AutoFormElement> <AutoFormElement> @@ -427,6 +440,49 @@ <Editor/> </AutoFormElement> </AutoForm> + <Panel> + <Property name="caption">璁惧缁存姢璁板綍鐓х墖</Property> + <Property name="height">80%</Property> + <Buttons/> + <Children> + <Container layout="regionPadding:10"> + <Label layoutConstraint="left"> + <Property name="text">鑿滃崟鏍忥細</Property> + </Label> + <Button layoutConstraint="left"> + <ClientEvent name="onClick">var list = view.get("#dsMain.data:#").get("whjlzp");
 +list.insert({});</ClientEvent> + <Property name="caption">鏂板</Property> + <Property name="exClassName">btn-default</Property> + <Property name="iconClass">fa fa-plus</Property> + </Button> + <Button layoutConstraint="left"> + <ClientEvent name="onClick">var data = view.get("#dgWhjlzp.currentEntity");
 +data.remove();</ClientEvent> + <Property name="caption">鍒犻櫎</Property> + <Property name="exClassName">btn-warn</Property> + <Property name="iconClass">fa fa-minus</Property> + </Button> + </Container> + <DataGrid id="dgWhjlzp"> + <Property name="dataPath">#.whjlzp</Property> + <Property name="dataSet">dsMain</Property> + <DataColumn name="zpid"> + <Property name="property">zpid</Property> + </DataColumn> + <DataColumn name="zpmc"> + <Property name="property">zpmc</Property> + </DataColumn> + <DataColumn name="zplj"> + <Property name="property">zplj</Property> + </DataColumn> + <DataColumn name="zpdx"> + <Property name="property">zpdx</Property> + </DataColumn> + </DataGrid> + </Children> + <Tools/> + </Panel> </Children> <Tools/> </Dialog> -- Gitblit v1.9.3