From 9f6dacf7b39e5aeba37d8faf575c9e56d8cbe51a Mon Sep 17 00:00:00 2001 From: czt <czt18638530771@163.com> Date: 星期六, 11 十月 2025 13:35:42 +0800 Subject: [PATCH] 武汉黄陂军粮-质检报告共享接口同步及推送 --- src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1114.view.xml | 191 ++++++++++++++++++++++++++++++----------------- 1 files changed, 120 insertions(+), 71 deletions(-) diff --git a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1114.view.xml b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1114.view.xml index 3a0082f..74816bf 100644 --- a/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1114.view.xml +++ b/src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1114.view.xml @@ -6,70 +6,77 @@ <DataType name="dtMain"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1114</Property> <PropertyDef name="sbwxjlbh"> - <Property/> - <Property name="label">璁惧缁翠慨璁板綍缂栧彿</Property> + <Property></Property> + <Property name="label">缁翠慨璁板綍缂栧彿</Property> </PropertyDef> <PropertyDef name="jlqybh"> - <Property/> + <Property></Property> <Property name="label">鍐涚伯浼佷笟缂栧彿</Property> </PropertyDef> <PropertyDef name="jlqymc"> - <Property/> + <Property></Property> <Property name="label">鍐涚伯浼佷笟鍚嶇О</Property> </PropertyDef> <PropertyDef name="jgzdbh"> - <Property/> + <Property></Property> <Property name="label">鍐涗緵绔欑偣缂栧彿</Property> </PropertyDef> <PropertyDef name="jgzdmc"> - <Property/> + <Property></Property> + <Property name="label">鍐涗緵绔欑偣鍚嶇О</Property> </PropertyDef> <PropertyDef name="sbbh"> - <Property/> + <Property></Property> <Property name="label">璁惧缂栧彿</Property> </PropertyDef> <PropertyDef name="sbmc"> - <Property/> + <Property></Property> <Property name="label">璁惧鍚嶇О</Property> </PropertyDef> <PropertyDef name="wxkssj"> - <Property/> + <Property></Property> <Property name="label">寮�濮嬬淮淇椂闂�</Property> + <Property name="dataType">Date</Property> </PropertyDef> <PropertyDef name="wxjssj"> - <Property/> + <Property></Property> <Property name="label">缁撴潫缁翠慨鏃堕棿</Property> + <Property name="dataType">Date</Property> </PropertyDef> <PropertyDef name="wxdw"> - <Property/> + <Property></Property> <Property name="label">缁翠慨鍗曚綅</Property> </PropertyDef> <PropertyDef name="lxr"> - <Property/> + <Property></Property> <Property name="label">鑱旂郴浜�</Property> </PropertyDef> <PropertyDef name="lxdh"> - <Property/> + <Property></Property> <Property name="label">鑱旂郴鐢佃瘽</Property> </PropertyDef> <PropertyDef name="gzxx"> - <Property/> + <Property></Property> <Property name="label">鏁呴殰鐜拌薄</Property> </PropertyDef> <PropertyDef name="gzyy"> - <Property/> + <Property></Property> <Property name="label">鏁呴殰鍘熷洜</Property> </PropertyDef> <PropertyDef name="wxff"> - <Property/> + <Property></Property> <Property name="label">缁翠慨鏂规硶</Property> </PropertyDef> <PropertyDef name="gxpjxx"> - <Property/> + <Property></Property> <Property name="label">鏇存柊閰嶄欢淇℃伅</Property> </PropertyDef> + <PropertyDef name="ysynx"> + <Property></Property> + <Property name="label">宸蹭娇鐢ㄥ勾闄�</Property> + </PropertyDef> <PropertyDef name="wxhyxzt"> - <Property/> + <Property></Property> <Property name="label">缁翠慨鍚庤繍琛岀姸鎬�</Property> </PropertyDef> <PropertyDef name="sysj"> @@ -77,43 +84,23 @@ <Property name="label">璇曠敤鏃堕棿</Property> </PropertyDef> <PropertyDef name="wxfy"> - <Property/> + <Property></Property> <Property name="label">缁翠慨璐圭敤</Property> </PropertyDef> <PropertyDef name="ysr"> - <Property/> + <Property></Property> <Property name="label">楠屾敹浜�</Property> </PropertyDef> <PropertyDef name="jl"> - <Property/> + <Property></Property> <Property name="label">缁撹</Property> </PropertyDef> - <PropertyDef name="wxjlzp"> - <Property/> - <Property name="label">缁存姢璁板綍鐓х墖</Property> - </PropertyDef> <PropertyDef name="bz"> - <Property/> + <Property></Property> <Property name="label">澶囨敞</Property> </PropertyDef> - <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">int</Property> - <Property name="label">鐓х墖澶у皬</Property> - </PropertyDef> <PropertyDef name="bizId"> - <Property/> + <Property></Property> <Property name="label">涓氬姟ID</Property> </PropertyDef> <PropertyDef name="updateTime"> @@ -121,12 +108,26 @@ <Property name="label">鏈�鍚庢洿鏂版椂闂�</Property> </PropertyDef> <PropertyDef name="czbz"> - <Property/> + <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> <Property name="label">搴撳尯浠g爜</Property> + </PropertyDef> + <PropertyDef name="whjlzp"> + <Property></Property> + <Property name="label">缁存姢璁板綍鐓х墖</Property> + <Property name="dataType">[dtWhjlzp]</Property> + </PropertyDef> + <PropertyDef name="sqr"> + <Property></Property> + <Property name="label">鐢宠浜�</Property> </PropertyDef> </DataType> <DataType name="dtParam"> @@ -153,13 +154,32 @@ </Property> </PropertyDef> </DataType> + <DataType name="dtWhjlzp"> + <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlWHJLZP</Property> + <PropertyDef name="zpid"> + <Property></Property> + <Property name="label">鐓х墖id</Property> + </PropertyDef> + <PropertyDef name="zpmc"> + <Property></Property> + <Property name="label">鐓х墖鍚嶇О</Property> + </PropertyDef> + <PropertyDef name="zplj"> + <Property></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">whjlApi1114PR#listData</Property> - <Property name="parameter">20</Property> + <Property name="pageSize">20</Property> </DataSet> <DataSet id="dsQuery"> <ClientEvent name="onReady">self.insert();</ClientEvent> @@ -306,6 +326,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();
 @@ -378,6 +399,11 @@ <Editor/> </AutoFormElement> <AutoFormElement> + <Property name="name">ysynx</Property> + <Property name="property">ysynx</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> <Property name="name">wxdw</Property> <Property name="property">wxdw</Property> <Editor/> @@ -433,38 +459,18 @@ <Editor/> </AutoFormElement> <AutoFormElement> + <Property name="name">sqr</Property> + <Property name="property">sqr</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> <Property name="name">jl</Property> <Property name="property">jl</Property> <Editor/> </AutoFormElement> <AutoFormElement> - <Property name="name">wxjlzp</Property> - <Property name="property">wxjlzp</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> @@ -488,6 +494,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