src/main/java/com/fzzy/otherview/gd2022/pr/GDApi1023PR.java
@@ -150,7 +150,7 @@ infoData.setData(JSON.toJSONString(data)); } else { infoData = new ApiInfoData(); infoData.setId(ContextUtil.getUUID()); infoData.setId(data.getXzbm()); infoData.setKqdm(data.getKqdm()); infoData.setInteId(ApiCodeConstant.API_1023); infoData.setUpdateTime(new Date()); src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1115.view.xml
@@ -6,31 +6,31 @@ <DataType name="dtMain"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1115</Property> <PropertyDef name="sbbfjlbh"> <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="bfsqsj"> @@ -38,19 +38,19 @@ <Property name="label">æ¥åºç³è¯·æ¥æ</Property> </PropertyDef> <PropertyDef name="sqr"> <Property/> <Property></Property> <Property name="label">ç³è¯·äºº</Property> </PropertyDef> <PropertyDef name="ysynx"> <Property/> <Property></Property> <Property name="label">已使ç¨å¹´é</Property> </PropertyDef> <PropertyDef name="bfyy"> <Property/> <Property></Property> <Property name="label">æ¥åºåå </Property> </PropertyDef> <PropertyDef name="pzr"> <Property/> <Property></Property> <Property name="label">æ¹å人</Property> </PropertyDef> <PropertyDef name="pzrq"> @@ -58,15 +58,15 @@ <Property name="label">æ¹åæ¥æ</Property> </PropertyDef> <PropertyDef name="sm"> <Property/> <Property></Property> <Property name="label">说æ</Property> </PropertyDef> <PropertyDef name="bz"> <Property/> <Property></Property> <Property name="label">夿³¨</Property> </PropertyDef> <PropertyDef name="bizId"> <Property/> <Property></Property> <Property name="label">ä¸å¡ID</Property> </PropertyDef> <PropertyDef name="updateTime"> @@ -74,11 +74,11 @@ <Property name="label">æåæ´æ°æ¶é´</Property> </PropertyDef> <PropertyDef name="czbz"> <Property/> <Property></Property> <Property name="label">æä½æ å¿</Property> </PropertyDef> <PropertyDef name="kqdm"> <Property/> <Property></Property> <Property name="label">åºåºä»£ç </Property> </PropertyDef> </DataType> @@ -112,7 +112,7 @@ <DataSet id="dsMain"> <Property name="dataType">[dtMain]</Property> <Property name="dataProvider">whjlApi1115PR#listData</Property> <Property name="parameter">20</Property> <Property name="pageSize">20</Property> </DataSet> <DataSet id="dsQuery"> <ClientEvent name="onReady">self.insert();</ClientEvent> src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1205.view.xml
@@ -168,7 +168,7 @@ <DataSet id="dsMain"> <Property name="dataType">[dtMain]</Property> <Property name="dataProvider">whjlApi1205PR#listData</Property> <Property name="parameter">20</Property> <Property name="pageSize">20</Property> </DataSet> <DataSet id="dsQuery"> <ClientEvent name="onReady">self.insert();</ClientEvent> @@ -296,10 +296,10 @@ </DataPilot> </Container> <Dialog id="dialogMain"> <Property name="width">60%</Property> <Property name="width">80%</Property> <Property name="closeable">false</Property> <Property name="iconClass">fa fa-sliders</Property> <Property name="caption">è´§ä½ä¿¡æ¯</Property> <Property name="caption">订åä¿¡æ¯</Property> <Buttons> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1206.view.xml
@@ -170,8 +170,11 @@ <Property></Property> <Property name="label">åºåºä»£ç </Property> </PropertyDef> <PropertyDef name="htspqdList"> <Property/> </PropertyDef> <Reference name="htspqd"> <Property name="parameter">$${this.htid}</Property> <Property name="parameter">$${this.htspqdList}</Property> <Property name="dataProvider">whjlApi1206PR#listItem</Property> <Property name="dataType">[dtItem]</Property> </Reference> @@ -247,6 +250,7 @@ <DataSet id="dsMain"> <Property name="dataType">[dtMain]</Property> <Property name="dataProvider">whjlApi1206PR#listData</Property> <Property name="pageSize">20</Property> </DataSet> <Container layout="regionPadding:10" layoutConstraint="top"> <Property name="exClassName">bg-color</Property> @@ -387,11 +391,18 @@ </DataColumn> </DataGrid> </Container> <Container layoutConstraint="bottom"> <Property name="exClassName">bg-color</Property> <DataPilot layoutConstraint="right"> <Property name="dataSet">dsMain</Property> <Property name="itemCodes">pageSize,pages</Property> </DataPilot> </Container> <Dialog id="dialogMain" layout="regionPadding:10;padding:5"> <Property name="width">85%</Property> <Property name="closeable">false</Property> <Property name="iconClass">fa fa-sliders</Property> <Property name="caption">客æ·ä¿¡æ¯</Property> <Property name="caption">ååä¿¡æ¯</Property> <Property name="height">85%</Property> <Buttons> <Button> @@ -649,14 +660,7 @@ if(!data){
 return;
 }
 view.get("#ajaxItem").set("parameter",data).execute(function(result){
 if(result){
 $alert(result);
 return;
 }else{
 data.remove();
 }
 });</ClientEvent> data.remove();</ClientEvent> <Property name="caption">å é¤</Property> <Property name="exClassName">btn-warn</Property> <Property name="iconClass">fa fa-minus</Property> src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1207.view.xml
@@ -187,7 +187,7 @@ <Property name="packages">font-awesome,css-common</Property> <DataSet id="dsMain"> <Property name="dataType">[dtMain]</Property> <Property name="dataProvider">whjlApi1206PR#listData</Property> <Property name="dataProvider">whjlApi1207PR#listData</Property> <Property name="pageSize">20</Property> </DataSet> <Container layout="regionPadding:10" layoutConstraint="top"> @@ -329,10 +329,11 @@ <Property name="service">whjlApi1207PR#pushData</Property> </AjaxAction> <Dialog id="dialogMain"> <Property name="width">60%</Property> <Property name="width">80%</Property> <Property name="closeable">false</Property> <Property name="iconClass">fa fa-sliders</Property> <Property name="caption">è´§ä½ä¿¡æ¯</Property> <Property name="caption">åºåå°è´¦</Property> <Property name="height">80%</Property> <Buttons> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1208.view.xml
@@ -200,6 +200,7 @@ <DataSet id="dsMain"> <Property name="dataType">[dtMain]</Property> <Property name="dataProvider">whjlApi1208PR#listData</Property> <Property name="pageSize">20</Property> </DataSet> <DataSet id="dsQuery"> <ClientEvent name="onReady">self.insert();</ClientEvent> @@ -321,10 +322,11 @@ </DataPilot> </Container> <Dialog id="dialogMain"> <Property name="width">60%</Property> <Property name="width">80%</Property> <Property name="closeable">false</Property> <Property name="iconClass">fa fa-sliders</Property> <Property name="caption">è´§ä½ä¿¡æ¯</Property> <Property name="caption">åºåå°è´¦äº§åæ¹æ¬¡</Property> <Property name="height">80%</Property> <Buttons> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1209.view.xml
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,421 @@ <?xml version="1.0" encoding="UTF-8"?> <ViewConfig> <Arguments/> <Context/> <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1209</Property> <PropertyDef name="kctzcpcrjlid"> <Property/> <Property name="label">åºåå°è´¦åºå ¥è®°å½ID</Property> </PropertyDef> <PropertyDef name="kctzcppcid"> <Property/> <Property name="label">åºåå°è´¦äº§åæ¹æ¬¡ID</Property> </PropertyDef> <PropertyDef name="jlqybh"> <Property/> <Property name="label">åç²®ä¼ä¸ç¼å·</Property> </PropertyDef> <PropertyDef name="ssqymc"> <Property/> <Property name="label">åç²®ä¼ä¸åç§°</Property> </PropertyDef> <PropertyDef name="jgzdbh"> <Property/> <Property name="label">åä¾ç«ç¹ç¼å·</Property> </PropertyDef> <PropertyDef name="jgzdmc"> <Property/> <Property name="label">åä¾ç«ç¹åç§°</Property> </PropertyDef> <PropertyDef name="crlx"> <Property/> <Property name="label">åºå ¥ç±»å</Property> </PropertyDef> <PropertyDef name="jllx"> <Property/> <Property name="label">è®°å½ç±»å</Property> </PropertyDef> <PropertyDef name="jlsj"> <Property/> <Property name="label">è®°å½æ¶é´</Property> </PropertyDef> <PropertyDef name="crqsl"> <Property name="dataType">Double</Property> <Property name="label">åºå ¥åºåæ°é</Property> </PropertyDef> <PropertyDef name="crqzl"> <Property name="dataType">Double</Property> <Property name="label">åºå ¥åºåéé</Property> </PropertyDef> <PropertyDef name="crsl"> <Property name="dataType">Double</Property> <Property name="label">åºå ¥æ°é</Property> </PropertyDef> <PropertyDef name="crzl"> <Property name="dataType">Double</Property> <Property name="label">åºå ¥éé</Property> </PropertyDef> <PropertyDef name="crhsl"> <Property name="dataType">Double</Property> <Property name="label">åºå ¥åºåæ°é</Property> </PropertyDef> <PropertyDef name="crhzl"> <Property name="dataType">Double</Property> <Property name="label">åºå ¥åºåéé</Property> </PropertyDef> <PropertyDef name="bizId"> <Property></Property> <Property name="label">ä¸å¡ID</Property> </PropertyDef> <PropertyDef name="updateTime"> <Property name="dataType">DateTime</Property> <Property name="label">æåæ´æ°æ¶é´</Property> </PropertyDef> <PropertyDef name="czbz"> <Property></Property> <Property name="label">æä½æ å¿</Property> </PropertyDef> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">åºåºä»£ç </Property> </PropertyDef> </DataType> <DataType name="dtParam"> <Property name="creationType">com.fzzy.api.data.ApiParam</Property> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">æå±åºåº</Property> </PropertyDef> <PropertyDef name="start"> <Property name="dataType">Date</Property> <Property name="label">å¼å§æ¶é´</Property> </PropertyDef> <PropertyDef name="end"> <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> </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">whjlApi1209PR#listData</Property> <Property name="pageSize">20</Property> </DataSet> <DataSet id="dsQuery"> <ClientEvent name="onReady">self.insert();</ClientEvent> <Property name="dataType">dtParam</Property> </DataSet> <Container layout="regionPadding:10" layoutConstraint="top"> <Property name="exClassName">bg-color</Property> <Property name="height">55</Property> <Property name="contentOverflow">hidden</Property> <Label layoutConstraint="left"> <Property name="text">èåæ ï¼</Property> </Label> <Button layoutConstraint="left"> <ClientEvent name="onClick">view.get("#dsMain").insert();
 view.get("#dialogMain").show();</ClientEvent> <Property name="iconClass">fa fa-plus</Property> <Property name="caption">æ°å¢</Property> <Property name="exClassName">btn-default</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 if(cur){
 view.get("#dialogMain").show();
 }else{
 $alert("请å¾ééè¦ä¿®æ¹çæ°æ®ï¼");
 }</ClientEvent> <Property name="caption">ç¼è¾</Property> <Property name="iconClass">fa fa-pencil</Property> <Property name="exClassName">btn-warm</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 if(cur){
 view.get("#ajaxDel").set("parameter",cur).execute(function(result){
 if(result){
 $alert(result);
 } else{
 cur.remove();
 }
 });
 }else{
 $alert("请å¾ééè¦å é¤çæ°æ®ï¼");
 }</ClientEvent> <Property name="caption">å é¤</Property> <Property name="iconClass">fa fa-minus</Property> <Property name="exClassName">btn-warn</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">view.get("#dsMain").flushAsync();</ClientEvent> <Property name="caption">å·æ°</Property> <Property name="iconClass">fa fa-search</Property> <Property name="exClassName">btn-flush</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var select = view.get("#dgMain").get("selection");
 if(select && select.length > 0){
 view.get("#ajaxPush").set("parameter",select).execute(function(result){
 view.get("#dsMain").flushAsync();
 $notify(result);
 });
 }else{
 $alert("请å¾ééè¦ä¸æ¥çæ°æ®ï¼");
 }</ClientEvent> <Property name="caption">æå¨ä¸ä¼ </Property> <Property name="iconClass">fa fa-hand-o-up</Property> <Property name="exClassName">btn-default</Property> </Button> <Button layoutConstraint="right"> <ClientEvent name="onClick">//æ¾ç¤ºè®°å½
 view.get("#iFrame").reload();
 view.get("#dialogLog").show();</ClientEvent> <Property name="caption">ä¸ä¼ è®°å½</Property> <Property name="iconClass">fa fa-bars</Property> <Property name="exClassName">btn-flush</Property> </Button> </Container> <Container layoutConstraint="center"> <Property name="exClassName">bg-color</Property> <DataGrid id="dgMain"> <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsMain.data:#");
 if(data){
 view.get("#dialogMain").show();
 }</ClientEvent> <Property name="dataSet">dsMain</Property> <Property name="selectionMode">multiRows</Property> <Property name="readOnly">true</Property> <RowNumColumn/> <RowSelectorColumn> <Property name="caption">ä¸ä¼ </Property> </RowSelectorColumn> <DataColumn name="kctzcpcrjlid"> <Property name="property">kctzcpcrjlid</Property> </DataColumn> <DataColumn name="kctzcppcid"> <Property name="property">kctzcppcid</Property> </DataColumn> <DataColumn name="jlqybh"> <Property name="property">jlqybh</Property> </DataColumn> <DataColumn name="ssqymc"> <Property name="property">ssqymc</Property> </DataColumn> <DataColumn name="jgzdbh"> <Property name="property">jgzdbh</Property> </DataColumn> <DataColumn name="jgzdmc"> <Property name="property">jgzdmc</Property> </DataColumn> <DataColumn name="crlx"> <Property name="property">crlx</Property> </DataColumn> <DataColumn name="jllx"> <Property name="property">jllx</Property> </DataColumn> <DataColumn name="jlsj"> <Property name="property">jlsj</Property> </DataColumn> <DataColumn name="crqsl"> <Property name="property">crqsl</Property> </DataColumn> <DataColumn name="czbz"> <Property name="property">czbz</Property> </DataColumn> </DataGrid> </Container> <Container layoutConstraint="bottom"> <Property name="exClassName">bg-color</Property> <DataPilot layoutConstraint="right"> <Property name="dataSet">dsMain</Property> <Property name="itemCodes">pageSize,pages</Property> </DataPilot> </Container> <Dialog id="dialogMain"> <Property name="width">60%</Property> <Property name="closeable">false</Property> <Property name="iconClass">fa fa-sliders</Property> <Property name="caption">è´§ä½ä¿¡æ¯</Property> <Buttons> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 view.get("#updateSave").execute(function(){
 self.get("parent").hide();
 view.get("#dsMain").flushAsync();
 });</ClientEvent> <Property name="caption">ç¡®å®</Property> <Property name="iconClass">fa fa-check</Property> </Button> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 self.get("parent").hide();
 if(cur) cur.cancel();</ClientEvent> <Property name="caption">åæ¶</Property> <Property name="iconClass">fa fa-times</Property> </Button> </Buttons> <Children> <AutoForm> <Property name="dataSet">dsMain</Property> <Property name="cols">*,*,*</Property> <Property name="labelPosition">top</Property> <Property name="labelSeparator">:</Property> <Property name="labelWidth">120</Property> <AutoFormElement> <Property name="name">kctzcpcrjlid</Property> <Property name="property">kctzcpcrjlid</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kctzcppcid</Property> <Property name="property">kctzcppcid</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jlqybh</Property> <Property name="property">jlqybh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ssqymc</Property> <Property name="property">ssqymc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdbh</Property> <Property name="property">jgzdbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdmc</Property> <Property name="property">jgzdmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">crlx</Property> <Property name="property">crlx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jllx</Property> <Property name="property">jllx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jlsj</Property> <Property name="property">jlsj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">crqsl</Property> <Property name="property">crqsl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">crqzl</Property> <Property name="property">crqzl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">crsl</Property> <Property name="property">crsl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">crzl</Property> <Property name="property">crzl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">crhsl</Property> <Property name="property">crhsl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">crhzl</Property> <Property name="property">crhzl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bizId</Property> <Property name="property">bizId</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">updateTime</Property> <Property name="property">updateTime</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">czbz</Property> <Property name="property">czbz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kqdm</Property> <Property name="property">kqdm</Property> <Editor/> </AutoFormElement> </AutoForm> </Children> <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1209PR#saveData</Property> <UpdateItem> <Property name="dataPath">[#current]</Property> <Property name="dataSet">dsMain</Property> </UpdateItem> </UpdateAction> <AjaxAction id="ajaxDel"> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> <Property name="service">whjlApi1209PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1209PR#pushData</Property> </AjaxAction> <Dialog id="dialogLog"> <Property name="width">90%</Property> <Property name="height">90%</Property> <Property name="caption">ä¸ä¼ è®°å½</Property> <Property name="iconClass">fa fa-sliders</Property> <Buttons> <Button> <ClientEvent name="onClick">self.get("parent").hide();</ClientEvent> <Property name="caption">å ³é</Property> <Property name="iconClass">fa fa-times</Property> </Button> </Buttons> <Children> <Container> <IFrame id="iFrame"> <Property name="path">com.fzzy.api.view.ApiLog.d</Property> <Property name="userData"> <Entity> <Property name="deptId">deptId</Property> </Entity> </Property> </IFrame> </Container> </Children> <Tools/> </Dialog> <ListDropDown id="listDropYN"> <Property name="items">æ¯,å¦</Property> </ListDropDown> </View> </ViewConfig> src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1210.view.xml
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,391 @@ <?xml version="1.0" encoding="UTF-8"?> <ViewConfig> <Arguments/> <Context/> <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1210</Property> <PropertyDef name="kcpdjlid"> <Property/> <Property name="label">åºåçç¹è®°å½ID</Property> </PropertyDef> <PropertyDef name="jlqybh"> <Property/> <Property name="label">åç²®ä¼ä¸ç¼å·</Property> </PropertyDef> <PropertyDef name="jlqymc"> <Property/> <Property name="label">åç²®ä¼ä¸åç§°</Property> </PropertyDef> <PropertyDef name="jgzdbh"> <Property/> <Property name="label">åä¾ç«ç¹ç¼å·</Property> </PropertyDef> <PropertyDef name="jgzdmc"> <Property/> <Property name="label">åä¾ç«ç¹åç§°</Property> </PropertyDef> <PropertyDef name="ajbh"> <Property/> <Property name="label">å»é´ç¼å·</Property> </PropertyDef> <PropertyDef name="ajmc"> <Property/> <Property name="label">å»é´åç§°</Property> </PropertyDef> <PropertyDef name="pdrq"> <Property name="dataType">Date</Property> <Property name="label">çç¹æ¥æ</Property> </PropertyDef> <PropertyDef name="pdkj"> <Property/> <Property name="label">çç¹ä¼è®¡</Property> </PropertyDef> <PropertyDef name="bgy"> <Property/> <Property name="label">ä¿ç®¡å</Property> </PropertyDef> <PropertyDef name="fzr"> <Property/> <Property name="label">è´è´£äºº</Property> </PropertyDef> <PropertyDef name="sfyx"> <Property/> <Property name="label">æ¯å¦ææ</Property> </PropertyDef> <PropertyDef name="bizId"> <Property/> <Property name="label">ä¸å¡ID</Property> </PropertyDef> <PropertyDef name="updateTime"> <Property name="dataType">DateTime</Property> <Property name="label">æåæ´æ°æ¶é´</Property> </PropertyDef> <PropertyDef name="czbz"> <Property/> <Property name="label">æä½æ å¿</Property> </PropertyDef> <PropertyDef name="kqdm"> <Property/> <Property name="label">åºåºä»£ç </Property> </PropertyDef> </DataType> <DataType name="dtParam"> <Property name="creationType">com.fzzy.api.data.ApiParam</Property> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">æå±åºåº</Property> </PropertyDef> <PropertyDef name="start"> <Property name="dataType">Date</Property> <Property name="label">å¼å§æ¶é´</Property> </PropertyDef> <PropertyDef name="end"> <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> </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">whjlApi1210PR#listData</Property> <Property name="pageSize">20</Property> </DataSet> <DataSet id="dsQuery"> <ClientEvent name="onReady">self.insert();</ClientEvent> <Property name="dataType">dtParam</Property> </DataSet> <Container layout="regionPadding:10" layoutConstraint="top"> <Property name="exClassName">bg-color</Property> <Property name="height">55</Property> <Property name="contentOverflow">hidden</Property> <Label layoutConstraint="left"> <Property name="text">èåæ ï¼</Property> </Label> <Button layoutConstraint="left"> <ClientEvent name="onClick">view.get("#dsMain").insert();
 view.get("#dialogMain").show();</ClientEvent> <Property name="iconClass">fa fa-plus</Property> <Property name="caption">æ°å¢</Property> <Property name="exClassName">btn-default</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 if(cur){
 view.get("#dialogMain").show();
 }else{
 $alert("请å¾ééè¦ä¿®æ¹çæ°æ®ï¼");
 }</ClientEvent> <Property name="caption">ç¼è¾</Property> <Property name="iconClass">fa fa-pencil</Property> <Property name="exClassName">btn-warm</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 if(cur){
 view.get("#ajaxDel").set("parameter",cur).execute(function(result){
 if(result){
 $alert(result);
 } else{
 cur.remove();
 }
 });
 }else{
 $alert("请å¾ééè¦å é¤çæ°æ®ï¼");
 }</ClientEvent> <Property name="caption">å é¤</Property> <Property name="iconClass">fa fa-minus</Property> <Property name="exClassName">btn-warn</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">view.get("#dsMain").flushAsync();</ClientEvent> <Property name="caption">å·æ°</Property> <Property name="iconClass">fa fa-search</Property> <Property name="exClassName">btn-flush</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var select = view.get("#dgMain").get("selection");
 if(select && select.length > 0){
 view.get("#ajaxPush").set("parameter",select).execute(function(result){
 view.get("#dsMain").flushAsync();
 $notify(result);
 });
 }else{
 $alert("请å¾ééè¦ä¸æ¥çæ°æ®ï¼");
 }</ClientEvent> <Property name="caption">æå¨ä¸ä¼ </Property> <Property name="iconClass">fa fa-hand-o-up</Property> <Property name="exClassName">btn-default</Property> </Button> <Button layoutConstraint="right"> <ClientEvent name="onClick">//æ¾ç¤ºè®°å½
 view.get("#iFrame").reload();
 view.get("#dialogLog").show();</ClientEvent> <Property name="caption">ä¸ä¼ è®°å½</Property> <Property name="iconClass">fa fa-bars</Property> <Property name="exClassName">btn-flush</Property> </Button> </Container> <Container layoutConstraint="center"> <Property name="exClassName">bg-color</Property> <DataGrid id="dgMain"> <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsMain.data:#");
 if(data){
 view.get("#dialogMain").show();
 }</ClientEvent> <Property name="dataSet">dsMain</Property> <Property name="selectionMode">multiRows</Property> <Property name="readOnly">true</Property> <RowNumColumn/> <RowSelectorColumn> <Property name="caption">ä¸ä¼ </Property> </RowSelectorColumn> <DataColumn name="kcpdjlid"> <Property name="property">kcpdjlid</Property> </DataColumn> <DataColumn name="jlqybh"> <Property name="property">jlqybh</Property> </DataColumn> <DataColumn name="jlqymc"> <Property name="property">jlqymc</Property> </DataColumn> <DataColumn name="jgzdbh"> <Property name="property">jgzdbh</Property> </DataColumn> <DataColumn name="jgzdmc"> <Property name="property">jgzdmc</Property> </DataColumn> <DataColumn name="ajbh"> <Property name="property">ajbh</Property> </DataColumn> <DataColumn name="ajmc"> <Property name="property">ajmc</Property> </DataColumn> <DataColumn name="pdrq"> <Property name="property">pdrq</Property> </DataColumn> <DataColumn name="pdkj"> <Property name="property">pdkj</Property> </DataColumn> <DataColumn name="czbz"> <Property name="property">czbz</Property> </DataColumn> </DataGrid> </Container> <Container layoutConstraint="bottom"> <Property name="exClassName">bg-color</Property> <DataPilot layoutConstraint="right"> <Property name="dataSet">dsMain</Property> <Property name="itemCodes">pageSize,pages</Property> </DataPilot> </Container> <Dialog id="dialogMain"> <Property name="width">60%</Property> <Property name="closeable">false</Property> <Property name="iconClass">fa fa-sliders</Property> <Property name="caption">è´§ä½ä¿¡æ¯</Property> <Buttons> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 view.get("#updateSave").execute(function(){
 self.get("parent").hide();
 view.get("#dsMain").flushAsync();
 });</ClientEvent> <Property name="caption">ç¡®å®</Property> <Property name="iconClass">fa fa-check</Property> </Button> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 self.get("parent").hide();
 if(cur) cur.cancel();</ClientEvent> <Property name="caption">åæ¶</Property> <Property name="iconClass">fa fa-times</Property> </Button> </Buttons> <Children> <AutoForm> <Property name="dataSet">dsMain</Property> <Property name="cols">*,*,*</Property> <Property name="labelPosition">top</Property> <Property name="labelSeparator">:</Property> <Property name="labelWidth">120</Property> <AutoFormElement> <Property name="name">kcpdjlid</Property> <Property name="property">kcpdjlid</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jlqybh</Property> <Property name="property">jlqybh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jlqymc</Property> <Property name="property">jlqymc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdbh</Property> <Property name="property">jgzdbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdmc</Property> <Property name="property">jgzdmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ajbh</Property> <Property name="property">ajbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ajmc</Property> <Property name="property">ajmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">pdrq</Property> <Property name="property">pdrq</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">pdkj</Property> <Property name="property">pdkj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bgy</Property> <Property name="property">bgy</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">fzr</Property> <Property name="property">fzr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sfyx</Property> <Property name="property">sfyx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bizId</Property> <Property name="property">bizId</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">updateTime</Property> <Property name="property">updateTime</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">czbz</Property> <Property name="property">czbz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kqdm</Property> <Property name="property">kqdm</Property> <Editor/> </AutoFormElement> </AutoForm> </Children> <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1210PR#saveData</Property> <UpdateItem> <Property name="dataPath">[#current]</Property> <Property name="dataSet">dsMain</Property> </UpdateItem> </UpdateAction> <AjaxAction id="ajaxDel"> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> <Property name="service">whjlApi1210PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1210PR#pushData</Property> </AjaxAction> <Dialog id="dialogLog"> <Property name="width">90%</Property> <Property name="height">90%</Property> <Property name="caption">ä¸ä¼ è®°å½</Property> <Property name="iconClass">fa fa-sliders</Property> <Buttons> <Button> <ClientEvent name="onClick">self.get("parent").hide();</ClientEvent> <Property name="caption">å ³é</Property> <Property name="iconClass">fa fa-times</Property> </Button> </Buttons> <Children> <Container> <IFrame id="iFrame"> <Property name="path">com.fzzy.api.view.ApiLog.d</Property> <Property name="userData"> <Entity> <Property name="deptId">deptId</Property> </Entity> </Property> </IFrame> </Container> </Children> <Tools/> </Dialog> <ListDropDown id="listDropYN"> <Property name="items">æ¯,å¦</Property> </ListDropDown> </View> </ViewConfig> src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1211.view.xml
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,496 @@ <?xml version="1.0" encoding="UTF-8"?> <ViewConfig> <Arguments/> <Context/> <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1211</Property> <PropertyDef name="kcpdjlid"> <Property></Property> <Property name="label">åºå转ä»è®°å½ID</Property> </PropertyDef> <PropertyDef name="jlqybh"> <Property></Property> <Property name="label">åç²®ä¼ä¸ç¼å·</Property> </PropertyDef> <PropertyDef name="ssqymc"> <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="zcsj"> <Property name="dataType">Date</Property> <Property name="label">è½¬ä»æ¶é´</Property> </PropertyDef> <PropertyDef name="zcajbh"> <Property></Property> <Property name="label">转åºå»é´ç¼å·</Property> </PropertyDef> <PropertyDef name="zccfmc"> <Property></Property> <Property name="label">转åºå»é´åç§°</Property> </PropertyDef> <PropertyDef name="zrajbh"> <Property></Property> <Property name="label">è½¬å ¥å»é´ç¼å·</Property> </PropertyDef> <PropertyDef name="zrajmc"> <Property></Property> <Property name="label">è½¬å ¥å»é´åç§°</Property> </PropertyDef> <PropertyDef name="zckctzbh"> <Property></Property> <Property name="label">转åºåºåå°å¸ç¼å·</Property> </PropertyDef> <PropertyDef name="zrkctzbh"> <Property></Property> <Property name="label">è½¬å ¥åºåå°å¸ç¼å·</Property> </PropertyDef> <PropertyDef name="zczsl"> <Property name="dataType">Double</Property> <Property name="label">è½¬ä»æ»æ°é</Property> </PropertyDef> <PropertyDef name="zczzl"> <Property name="dataType">Double</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> </PropertyDef> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">åºåºä»£ç </Property> </PropertyDef> <PropertyDef name="zcmxList"> <Property/> </PropertyDef> <Reference name="zcmx"> <Property name="parameter">$${this.zcmxList}</Property> <Property name="dataProvider">whjlApi1211PR#listItem</Property> <Property name="dataType">[dtItem]</Property> </Reference> </DataType> <DataType name="dtParam"> <Property name="creationType">com.fzzy.api.data.ApiParam</Property> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">æå±åºåº</Property> </PropertyDef> <PropertyDef name="start"> <Property name="dataType">Date</Property> <Property name="label">å¼å§æ¶é´</Property> </PropertyDef> <PropertyDef name="end"> <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> </DataType> <DataType name="dtItem"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlZCMX</Property> <PropertyDef name="zcmxid"> <Property></Property> <Property name="label">è½¬ä»æç»ID</Property> </PropertyDef> <PropertyDef name="zckctzcppcid"> <Property></Property> <Property name="label">转åºåºåå°äº§åæ¹æ¬¡ID</Property> </PropertyDef> <PropertyDef name="zrkctzcppcid"> <Property></Property> <Property name="label">è½¬å ¥åºåå°äº§åæ¹æ¬¡ID</Property> </PropertyDef> <PropertyDef name="zcsl"> <Property></Property> <Property name="label">è½¬ä»æ°é</Property> </PropertyDef> <PropertyDef name="zczl"> <Property></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">whjlApi1211PR#listData</Property> <Property name="pageSize">20</Property> </DataSet> <DataSet id="dsQuery"> <ClientEvent name="onReady">self.insert();</ClientEvent> <Property name="dataType">dtParam</Property> </DataSet> <Container layout="regionPadding:10" layoutConstraint="top"> <Property name="exClassName">bg-color</Property> <Property name="height">55</Property> <Property name="contentOverflow">hidden</Property> <Label layoutConstraint="left"> <Property name="text">èåæ ï¼</Property> </Label> <Button layoutConstraint="left"> <ClientEvent name="onClick">view.get("#dsMain").insert();
 view.get("#dialogMain").show();</ClientEvent> <Property name="iconClass">fa fa-plus</Property> <Property name="caption">æ°å¢</Property> <Property name="exClassName">btn-default</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 if(cur){
 view.get("#dialogMain").show();
 }else{
 $alert("请å¾ééè¦ä¿®æ¹çæ°æ®ï¼");
 }</ClientEvent> <Property name="caption">ç¼è¾</Property> <Property name="iconClass">fa fa-pencil</Property> <Property name="exClassName">btn-warm</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 if(cur){
 view.get("#ajaxDel").set("parameter",cur).execute(function(result){
 if(result){
 $alert(result);
 } else{
 cur.remove();
 }
 });
 }else{
 $alert("请å¾ééè¦å é¤çæ°æ®ï¼");
 }</ClientEvent> <Property name="caption">å é¤</Property> <Property name="iconClass">fa fa-minus</Property> <Property name="exClassName">btn-warn</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">view.get("#dsMain").flushAsync();</ClientEvent> <Property name="caption">å·æ°</Property> <Property name="iconClass">fa fa-search</Property> <Property name="exClassName">btn-flush</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var select = view.get("#dgMain").get("selection");
 if(select && select.length > 0){
 view.get("#ajaxPush").set("parameter",select).execute(function(result){
 view.get("#dsMain").flushAsync();
 $notify(result);
 });
 }else{
 $alert("请å¾ééè¦ä¸æ¥çæ°æ®ï¼");
 }</ClientEvent> <Property name="caption">æå¨ä¸ä¼ </Property> <Property name="iconClass">fa fa-hand-o-up</Property> <Property name="exClassName">btn-default</Property> </Button> <Button layoutConstraint="right"> <ClientEvent name="onClick">//æ¾ç¤ºè®°å½
 view.get("#iFrame").reload();
 view.get("#dialogLog").show();</ClientEvent> <Property name="caption">ä¸ä¼ è®°å½</Property> <Property name="iconClass">fa fa-bars</Property> <Property name="exClassName">btn-flush</Property> </Button> </Container> <Container layoutConstraint="center"> <Property name="exClassName">bg-color</Property> <DataGrid id="dgMain"> <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsMain.data:#");
 if(data){
 view.get("#dialogMain").show();
 }</ClientEvent> <Property name="dataSet">dsMain</Property> <Property name="selectionMode">multiRows</Property> <Property name="readOnly">true</Property> <RowNumColumn/> <RowSelectorColumn> <Property name="caption">ä¸ä¼ </Property> </RowSelectorColumn> <DataColumn name="kcpdjlid"> <Property name="property">kcpdjlid</Property> </DataColumn> <DataColumn name="jlqybh"> <Property name="property">jlqybh</Property> </DataColumn> <DataColumn name="ssqymc"> <Property name="property">ssqymc</Property> </DataColumn> <DataColumn name="jgzdmc"> <Property name="property">jgzdmc</Property> </DataColumn> <DataColumn name="zcsj"> <Property name="property">zcsj</Property> </DataColumn> <DataColumn name="zcajbh"> <Property name="property">zcajbh</Property> </DataColumn> <DataColumn name="zccfmc"> <Property name="property">zccfmc</Property> </DataColumn> <DataColumn name="zrajbh"> <Property name="property">zrajbh</Property> </DataColumn> <DataColumn name="zrajmc"> <Property name="property">zrajmc</Property> </DataColumn> <DataColumn name="czbz"> <Property name="property">czbz</Property> </DataColumn> </DataGrid> </Container> <Container layoutConstraint="bottom"> <Property name="exClassName">bg-color</Property> <DataPilot layoutConstraint="right"> <Property name="dataSet">dsMain</Property> <Property name="itemCodes">pageSize,pages</Property> </DataPilot> </Container> <Dialog id="dialogMain" layout="regionPadding:10;padding:5"> <Property name="width">85%</Property> <Property name="closeable">false</Property> <Property name="iconClass">fa fa-sliders</Property> <Property name="caption">ååä¿¡æ¯</Property> <Property name="height">85%</Property> <Buttons> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 view.get("#updateSave").execute(function(){
 self.get("parent").hide();
 view.get("#dsMain").flushAsync();
 });</ClientEvent> <Property name="caption">ç¡®å®</Property> <Property name="iconClass">fa fa-check</Property> </Button> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 self.get("parent").hide();
 if(cur) cur.cancel();</ClientEvent> <Property name="caption">åæ¶</Property> <Property name="iconClass">fa fa-times</Property> </Button> </Buttons> <Children> <FieldSet> <Property name="caption">åºå 转ä»è®°å½</Property> <Buttons/> <Children> <AutoForm> <Property name="dataSet">dsMain</Property> <Property name="cols">*,*,*,*</Property> <Property name="labelPosition">top</Property> <Property name="labelSeparator">:</Property> <Property name="labelAlign">left</Property> <AutoFormElement> <Property name="name">kcpdjlid</Property> <Property name="property">kcpdjlid</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jlqybh</Property> <Property name="property">jlqybh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ssqymc</Property> <Property name="property">ssqymc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdbh</Property> <Property name="property">jgzdbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdmc</Property> <Property name="property">jgzdmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zcsj</Property> <Property name="property">zcsj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zcajbh</Property> <Property name="property">zcajbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zccfmc</Property> <Property name="property">zccfmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zrajbh</Property> <Property name="property">zrajbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zrajmc</Property> <Property name="property">zrajmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zckctzbh</Property> <Property name="property">zckctzbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zrkctzbh</Property> <Property name="property">zrkctzbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zczsl</Property> <Property name="property">zczsl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zczzl</Property> <Property name="property">zczzl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bizId</Property> <Property name="property">bizId</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">updateTime</Property> <Property name="property">updateTime</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">czbz</Property> <Property name="property">czbz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kqdm</Property> <Property name="property">kqdm</Property> <Editor/> </AutoFormElement> </AutoForm> </Children> </FieldSet> <Panel layout="regionPadding:5"> <Property name="caption">è½¬ä»æç»</Property> <Property name="height">400</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("zcmx");
 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("#dataGridDetail.currentEntity");
 if(!data){
 return;
 }
 data.remove();</ClientEvent> <Property name="caption">å é¤</Property> <Property name="exClassName">btn-warn</Property> <Property name="iconClass">fa fa-minus</Property> </Button> </Container> <DataGrid id="dataGridDetail"> <Property name="dataSet">dsMain</Property> <Property name="dataPath">#.zcmx</Property> <DataColumn name="zcmxid"> <Property name="property">zcmxid</Property> </DataColumn> <DataColumn name="zckctzcppcid"> <Property name="property">zckctzcppcid</Property> </DataColumn> <DataColumn name="zrkctzcppcid"> <Property name="property">zrkctzcppcid</Property> </DataColumn> <DataColumn name="zcsl"> <Property name="property">zcsl</Property> </DataColumn> <DataColumn name="zczl"> <Property name="property">zczl</Property> </DataColumn> </DataGrid> </Children> <Tools/> </Panel> </Children> <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1211PR#saveData</Property> <UpdateItem> <Property name="dataPath">[#current]</Property> <Property name="dataSet">dsMain</Property> </UpdateItem> </UpdateAction> <AjaxAction id="ajaxDel"> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> <Property name="service">whjlApi1211PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1211PR#pushData</Property> </AjaxAction> <Dialog id="dialogLog"> <Property name="width">90%</Property> <Property name="height">90%</Property> <Property name="caption">ä¸ä¼ è®°å½</Property> <Property name="iconClass">fa fa-sliders</Property> <Buttons> <Button> <ClientEvent name="onClick">self.get("parent").hide();</ClientEvent> <Property name="caption">å ³é</Property> <Property name="iconClass">fa fa-times</Property> </Button> </Buttons> <Children> <Container> <IFrame id="iFrame"> <Property name="path">com.fzzy.api.view.ApiLog.d</Property> <Property name="userData"> <Entity> <Property name="deptId">deptId</Property> </Entity> </Property> </IFrame> </Container> </Children> <Tools/> </Dialog> <ListDropDown id="listDropYN"> <Property name="items">æ¯,å¦</Property> </ListDropDown> </View> </ViewConfig> src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1212.view.xml
@@ -502,7 +502,7 @@ <Property name="items">æ¯,å¦</Property> </ListDropDown> <ListDropDown id="listDropType"> <Property name="items">æ¥å¸¸åºåº,æ¥å¸¸å ¥åº,åºæ¥åºåº,åºæ¥å ¥åº</Property> <Property name="items">æ¥å¸¸åºåº,æ¥å¸¸å ¥åº,åºæ¥åºåº,åºæ¥å ¥åº,çç¹å ¥åº,çç¹åºåº,转ä»å ¥åº,转ä»åºåº</Property> </ListDropDown> <ListDropDown id="listDropInOut"> <Property name="items">å ¥åº,åºåº</Property> src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1213.view.xml
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,585 @@ <?xml version="1.0" encoding="UTF-8"?> <ViewConfig> <Arguments/> <Context/> <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1213</Property> <PropertyDef name="rkfkjlid"> <Property></Property> <Property name="label">å ¥åºç»ç®è®°å½ID</Property> </PropertyDef> <PropertyDef name="crkid"> <Property></Property> <Property name="label">åºå ¥åºè®°å½id</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="jljgqybh"> <Property></Property> <Property name="label">å å·¥ä¼ä¸ç¼å·</Property> </PropertyDef> <PropertyDef name="jljgqymc"> <Property></Property> <Property name="label">å å·¥ä¼ä¸åç§°</Property> </PropertyDef> <PropertyDef name="khbh"> <Property></Property> <Property name="label">客æ·ç¼å·</Property> </PropertyDef> <PropertyDef name="glzxm"> <Property></Property> <Property name="label">客æ·å§å</Property> </PropertyDef> <PropertyDef name="crklx"> <Property></Property> <Property name="label">åºå ¥åºç±»å</Property> </PropertyDef> <PropertyDef name="jslx"> <Property></Property> <Property name="label">ç»ç®ç±»å</Property> </PropertyDef> <PropertyDef name="jsrq"> <Property name="dataType">Date</Property> <Property name="label">ç»ç®æ¥æ</Property> </PropertyDef> <PropertyDef name="jszt"> <Property></Property> <Property name="label">ç»ç®ç¶æ</Property> </PropertyDef> <PropertyDef name="je"> <Property name="dataType">Double</Property> <Property name="label">éé¢</Property> </PropertyDef> <PropertyDef name="skr"> <Property></Property> <Property name="label">æ¶æ¬¾äºº</Property> </PropertyDef> <PropertyDef name="skrsfzh"> <Property></Property> <Property name="label">æ¶æ¬¾äººèº«ä»½è¯å·</Property> </PropertyDef> <PropertyDef name="skrdh"> <Property></Property> <Property name="label">æ¶æ¬¾äººçµè¯</Property> </PropertyDef> <PropertyDef name="khh"> <Property></Property> <Property name="label">弿·è¡</Property> </PropertyDef> <PropertyDef name="yhkh"> <Property></Property> <Property name="label">é¶è¡å¡å·</Property> </PropertyDef> <PropertyDef name="sfyx"> <Property></Property> <Property name="label">æ¯å¦ææ</Property> </PropertyDef> <PropertyDef name="bz"> <Property></Property> <Property name="label">夿³¨</Property> </PropertyDef> <PropertyDef name="bizId"> <Property></Property> <Property name="label">ä¸å¡ID</Property> </PropertyDef> <PropertyDef name="updateTime"> <Property name="dataType">DateTime</Property> <Property name="label">æåæ´æ°æ¶é´</Property> </PropertyDef> <PropertyDef name="czbz"> <Property></Property> <Property name="label">æä½æ å¿</Property> </PropertyDef> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">åºåºä»£ç </Property> </PropertyDef> <Reference name="jsmx"> <Property name="parameter">$${this.jsmxList}</Property> <Property name="dataProvider">whjlApi1213PR#listItem</Property> <Property name="dataType">[dtItem]</Property> </Reference> <PropertyDef name="jsmxList"> <Property/> </PropertyDef> </DataType> <DataType name="dtParam"> <Property name="creationType">com.fzzy.api.data.ApiParam</Property> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">æå±åºåº</Property> </PropertyDef> <PropertyDef name="start"> <Property name="dataType">Date</Property> <Property name="label">å¼å§æ¶é´</Property> </PropertyDef> <PropertyDef name="end"> <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> </DataType> <DataType name="dtItem"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlJSMX</Property> <PropertyDef name="rkfkjlmxid"> <Property></Property> <Property name="label">ç»ç®è®°å½æç»ID</Property> </PropertyDef> <PropertyDef name="crkmxid"> <Property></Property> <Property name="label">åºå ¥åºæç»ID</Property> </PropertyDef> <PropertyDef name="fkpzh"> <Property></Property> <Property name="label">仿¬¾åè¯å·</Property> </PropertyDef> <PropertyDef name="sl"> <Property name="dataType">Double</Property> <Property name="label">æ°é</Property> </PropertyDef> <PropertyDef name="dj"> <Property name="dataType">Double</Property> <Property name="label">åä»·</Property> </PropertyDef> <PropertyDef name="je"> <Property name="dataType">Double</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">whjlApi1213PR#listData</Property> <Property name="pageSize">20</Property> </DataSet> <DataSet id="dsQuery"> <ClientEvent name="onReady">self.insert();</ClientEvent> <Property name="dataType">dtParam</Property> </DataSet> <Container layout="regionPadding:10" layoutConstraint="top"> <Property name="exClassName">bg-color</Property> <Property name="height">55</Property> <Property name="contentOverflow">hidden</Property> <Label layoutConstraint="left"> <Property name="text">èåæ ï¼</Property> </Label> <Button layoutConstraint="left"> <ClientEvent name="onClick">view.get("#dsMain").insert();
 view.get("#dialogMain").show();</ClientEvent> <Property name="iconClass">fa fa-plus</Property> <Property name="caption">æ°å¢</Property> <Property name="exClassName">btn-default</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 if(cur){
 view.get("#dialogMain").show();
 }else{
 $alert("请å¾ééè¦ä¿®æ¹çæ°æ®ï¼");
 }</ClientEvent> <Property name="caption">ç¼è¾</Property> <Property name="iconClass">fa fa-pencil</Property> <Property name="exClassName">btn-warm</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 if(cur){
 view.get("#ajaxDel").set("parameter",cur).execute(function(result){
 if(result){
 $alert(result);
 } else{
 cur.remove();
 }
 });
 }else{
 $alert("请å¾ééè¦å é¤çæ°æ®ï¼");
 }</ClientEvent> <Property name="caption">å é¤</Property> <Property name="iconClass">fa fa-minus</Property> <Property name="exClassName">btn-warn</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">view.get("#dsMain").flushAsync();</ClientEvent> <Property name="caption">å·æ°</Property> <Property name="iconClass">fa fa-search</Property> <Property name="exClassName">btn-flush</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var select = view.get("#dgMain").get("selection");
 if(select && select.length > 0){
 view.get("#ajaxPush").set("parameter",select).execute(function(result){
 view.get("#dsMain").flushAsync();
 $notify(result);
 });
 }else{
 $alert("请å¾ééè¦ä¸æ¥çæ°æ®ï¼");
 }</ClientEvent> <Property name="caption">æå¨ä¸ä¼ </Property> <Property name="iconClass">fa fa-hand-o-up</Property> <Property name="exClassName">btn-default</Property> </Button> <Button layoutConstraint="right"> <ClientEvent name="onClick">//æ¾ç¤ºè®°å½
 view.get("#iFrame").reload();
 view.get("#dialogLog").show();</ClientEvent> <Property name="caption">ä¸ä¼ è®°å½</Property> <Property name="iconClass">fa fa-bars</Property> <Property name="exClassName">btn-flush</Property> </Button> </Container> <Container layoutConstraint="center"> <Property name="exClassName">bg-color</Property> <DataGrid id="dgMain"> <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsMain.data:#");
 if(data){
 view.get("#dialogMain").show();
 }</ClientEvent> <Property name="dataSet">dsMain</Property> <Property name="selectionMode">multiRows</Property> <Property name="readOnly">true</Property> <RowNumColumn/> <RowSelectorColumn> <Property name="caption">ä¸ä¼ </Property> </RowSelectorColumn> <DataColumn name="kcpdjlid"> <Property name="property">kcpdjlid</Property> </DataColumn> <DataColumn name="jlqybh"> <Property name="property">jlqybh</Property> </DataColumn> <DataColumn name="ssqymc"> <Property name="property">ssqymc</Property> </DataColumn> <DataColumn name="jgzdmc"> <Property name="property">jgzdmc</Property> </DataColumn> <DataColumn name="zcsj"> <Property name="property">zcsj</Property> </DataColumn> <DataColumn name="zcajbh"> <Property name="property">zcajbh</Property> </DataColumn> <DataColumn name="zccfmc"> <Property name="property">zccfmc</Property> </DataColumn> <DataColumn name="zrajbh"> <Property name="property">zrajbh</Property> </DataColumn> <DataColumn name="zrajmc"> <Property name="property">zrajmc</Property> </DataColumn> <DataColumn name="czbz"> <Property name="property">czbz</Property> </DataColumn> </DataGrid> </Container> <Container layoutConstraint="bottom"> <Property name="exClassName">bg-color</Property> <DataPilot layoutConstraint="right"> <Property name="dataSet">dsMain</Property> <Property name="itemCodes">pageSize,pages</Property> </DataPilot> </Container> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1213PR#saveData</Property> <UpdateItem> <Property name="dataPath">[#current]</Property> <Property name="dataSet">dsMain</Property> </UpdateItem> </UpdateAction> <AjaxAction id="ajaxDel"> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> <Property name="service">whjlApi1213PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1213PR#pushData</Property> </AjaxAction> <Dialog id="dialogLog"> <Property name="width">90%</Property> <Property name="height">90%</Property> <Property name="caption">ä¸ä¼ è®°å½</Property> <Property name="iconClass">fa fa-sliders</Property> <Buttons> <Button> <ClientEvent name="onClick">self.get("parent").hide();</ClientEvent> <Property name="caption">å ³é</Property> <Property name="iconClass">fa fa-times</Property> </Button> </Buttons> <Children> <Container> <IFrame id="iFrame"> <Property name="path">com.fzzy.api.view.ApiLog.d</Property> <Property name="userData"> <Entity> <Property name="deptId">deptId</Property> </Entity> </Property> </IFrame> </Container> </Children> <Tools/> </Dialog> <ListDropDown id="listDropYN"> <Property name="items">æ¯,å¦</Property> </ListDropDown> <Dialog id="dialogMain" layout="regionPadding:10;padding:5"> <Property name="width">85%</Property> <Property name="closeable">false</Property> <Property name="iconClass">fa fa-sliders</Property> <Property name="caption">ååä¿¡æ¯</Property> <Property name="height">85%</Property> <Buttons> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 view.get("#updateSave").execute(function(){
 self.get("parent").hide();
 view.get("#dsMain").flushAsync();
 });</ClientEvent> <Property name="caption">ç¡®å®</Property> <Property name="iconClass">fa fa-check</Property> </Button> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 self.get("parent").hide();
 if(cur) cur.cancel();</ClientEvent> <Property name="caption">åæ¶</Property> <Property name="iconClass">fa fa-times</Property> </Button> </Buttons> <Children> <FieldSet> <Property name="caption">åºå ¥åºç»ç®è®°å½</Property> <Buttons/> <Children> <AutoForm> <Property name="dataSet">dsMain</Property> <Property name="cols">*,*,*,*</Property> <Property name="labelPosition">top</Property> <Property name="labelSeparator">:</Property> <Property name="labelAlign">left</Property> <AutoFormElement> <Property name="name">rkfkjlid</Property> <Property name="property">rkfkjlid</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">crkid</Property> <Property name="property">crkid</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jlqybh</Property> <Property name="property">jlqybh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jlqymc</Property> <Property name="property">jlqymc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdbh</Property> <Property name="property">jgzdbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdmc</Property> <Property name="property">jgzdmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jljgqybh</Property> <Property name="property">jljgqybh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jljgqymc</Property> <Property name="property">jljgqymc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">khbh</Property> <Property name="property">khbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">glzxm</Property> <Property name="property">glzxm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">crklx</Property> <Property name="property">crklx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jslx</Property> <Property name="property">jslx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jsrq</Property> <Property name="property">jsrq</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jszt</Property> <Property name="property">jszt</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">je</Property> <Property name="property">je</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">skr</Property> <Property name="property">skr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">skrsfzh</Property> <Property name="property">skrsfzh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">skrdh</Property> <Property name="property">skrdh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">khh</Property> <Property name="property">khh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">yhkh</Property> <Property name="property">yhkh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sfyx</Property> <Property name="property">sfyx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bz</Property> <Property name="property">bz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bizId</Property> <Property name="property">bizId</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">updateTime</Property> <Property name="property">updateTime</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">czbz</Property> <Property name="property">czbz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kqdm</Property> <Property name="property">kqdm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jsmx</Property> <Property name="property">jsmx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jsmxList</Property> <Property name="property">jsmxList</Property> <Editor/> </AutoFormElement> </AutoForm> </Children> </FieldSet> <Panel layout="regionPadding:5"> <Property name="caption">ç»ç®æç»è®°å½</Property> <Property name="height">400</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("jsmx");
 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("#dataGridDetail.currentEntity");
 if(!data){
 return;
 }
 data.remove();</ClientEvent> <Property name="caption">å é¤</Property> <Property name="exClassName">btn-warn</Property> <Property name="iconClass">fa fa-minus</Property> </Button> </Container> <DataGrid id="dataGridDetail"> <Property name="dataSet">dsMain</Property> <Property name="dataPath">#.jsmx</Property> <DataColumn name="rkfkjlmxid"> <Property name="property">rkfkjlmxid</Property> </DataColumn> <DataColumn name="crkmxid"> <Property name="property">crkmxid</Property> </DataColumn> <DataColumn name="fkpzh"> <Property name="property">fkpzh</Property> </DataColumn> <DataColumn name="sl"> <Property name="property">sl</Property> </DataColumn> <DataColumn name="dj"> <Property name="property">dj</Property> </DataColumn> <DataColumn name="je"> <Property name="property">je</Property> </DataColumn> </DataGrid> </Children> <Tools/> </Panel> </Children> <Tools/> </Dialog> </View> </ViewConfig> src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1214.view.xml
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,746 @@ <?xml version="1.0" encoding="UTF-8"?> <ViewConfig> <Arguments/> <Context/> <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1214</Property> <PropertyDef name="zjjgbm"> <Property></Property> <Property name="label">è´¨æ£æºæç¼å·</Property> </PropertyDef> <PropertyDef name="zjjgmc"> <Property></Property> <Property name="label">è´¨æ£æºæåç§°</Property> </PropertyDef> <PropertyDef name="zjjgjc"> <Property></Property> <Property name="label">è´¨æ£æºæç®ç§°</Property> </PropertyDef> <PropertyDef name="zjjgssly"> <Property></Property> <Property name="label">è´¨æ£æºææå±é¢å</Property> </PropertyDef> <PropertyDef name="zjjgssdq"> <Property></Property> <Property name="label">è´¨æ£æºææå±å°åº</Property> </PropertyDef> <PropertyDef name="xzqhbm"> <Property></Property> <Property name="label">è¡æ¿åºåç¼ç </Property> </PropertyDef> <PropertyDef name="xzqhmc"> <Property></Property> <Property name="label">è¡æ¿åºååç§°</Property> </PropertyDef> <PropertyDef name="sysfr"> <Property></Property> <Property name="label">è´¨æ£æºææ³äºº</Property> </PropertyDef> <PropertyDef name="dh"> <Property></Property> <Property name="label">èç³»çµè¯</Property> </PropertyDef> <PropertyDef name="cz"> <Property></Property> <Property name="label">ä¼ ç</Property> </PropertyDef> <PropertyDef name="dzyx"> <Property></Property> <Property name="label">çµåé®ç®±</Property> </PropertyDef> <PropertyDef name="dz"> <Property></Property> <Property name="label">å°å</Property> </PropertyDef> <PropertyDef name="yb"> <Property></Property> <Property name="label">é®ç¼</Property> </PropertyDef> <PropertyDef name="lxr"> <Property></Property> <Property name="label">è系人</Property> </PropertyDef> <PropertyDef name="zgbm"> <Property></Property> <Property name="label">主管é¨é¨</Property> </PropertyDef> <PropertyDef name="zjjgjb"> <Property></Property> <Property name="label">è´¨æ£æºæçº§å«</Property> </PropertyDef> <PropertyDef name="zcygs"> <Property name="dataType">int</Property> <Property name="label">å¨ååå·¥æ°</Property> </PropertyDef> <PropertyDef name="gjzcrs"> <Property name="dataType">int</Property> <Property name="label">é«çº§è称人æ°</Property> </PropertyDef> <PropertyDef name="zjzcrs"> <Property name="dataType">int</Property> <Property name="label">ä¸çº§è称人æ°</Property> </PropertyDef> <PropertyDef name="cjzcrs"> <Property name="dataType">int</Property> <Property name="label">å级è称人æ°</Property> </PropertyDef> <PropertyDef name="bs"> <Property name="dataType">int</Property> <Property name="label">å士人æ°</Property> </PropertyDef> <PropertyDef name="ss"> <Property name="dataType">int</Property> <Property name="label">ç¡å£«äººæ°</Property> </PropertyDef> <PropertyDef name="xs"> <Property name="dataType">int</Property> <Property name="label">å¦å£«äººæ°</Property> </PropertyDef> <PropertyDef name="dzsyx"> <Property name="dataType">int</Property> <Property name="label">大ä¸ç以ä¸</Property> </PropertyDef> <PropertyDef name="zgdzc"> <Property name="dataType">Double</Property> <Property name="label">æ»åºå®èµäº§</Property> </PropertyDef> <PropertyDef name="mj"> <Property name="dataType">Double</Property> <Property name="label">é¢ç§¯</Property> </PropertyDef> <PropertyDef name="zcxz"> <Property></Property> <Property name="label">èµäº§æ§è´¨</Property> </PropertyDef> <PropertyDef name="csspjcdrs"> <Property name="dataType">int</Property> <Property name="label">ä»äºé£åæ£æµç人æ°</Property> </PropertyDef> <PropertyDef name="bz"> <Property></Property> <Property name="label">夿³¨</Property> </PropertyDef> <PropertyDef name="bizId"> <Property></Property> <Property name="label">ä¸å¡ID</Property> </PropertyDef> <PropertyDef name="updateTime"> <Property name="dataType">DateTime</Property> <Property name="label">æåæ´æ°æ¶é´</Property> </PropertyDef> <PropertyDef name="czbz"> <Property></Property> <Property name="label">æä½æ å¿</Property> </PropertyDef> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">åºåºä»£ç </Property> </PropertyDef> <Reference name="jcnl"> <Property name="parameter">$${this.jcnlList}</Property> <Property name="dataProvider">whjlApi1214PR#listJCNL</Property> <Property name="dataType">[dtJCNL]</Property> </Reference> <Reference name="yqsb"> <Property name="parameter">$${this.yqsbList}</Property> <Property name="dataProvider">whjlApi1214PR#listYQSB</Property> <Property name="dataType">[dtYQSB]</Property> </Reference> <PropertyDef name="jcnlList"> <Property/> </PropertyDef> <PropertyDef name="yqsbList"> <Property/> </PropertyDef> </DataType> <DataType name="dtParam"> <Property name="creationType">com.fzzy.api.data.ApiParam</Property> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">æå±åºåº</Property> </PropertyDef> <PropertyDef name="start"> <Property name="dataType">Date</Property> <Property name="label">å¼å§æ¶é´</Property> </PropertyDef> <PropertyDef name="end"> <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> </DataType> <DataType name="dtJCNL"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlJCNL</Property> <PropertyDef name="bzbm"> <Property></Property> <Property name="label">è´¨æ£æ åç¼ç </Property> </PropertyDef> <PropertyDef name="bzmxbm"> <Property></Property> <Property name="label">æ åæç»ç¼ç </Property> </PropertyDef> <PropertyDef name="jcxmdjbm"> <Property></Property> <Property name="label">æ£æµé¡¹ç®ç级ç¼ç </Property> </PropertyDef> <PropertyDef name="jcly"> <Property></Property> <Property name="label">æ£æµé¢å</Property> </PropertyDef> <PropertyDef name="xzfw"> <Property></Property> <Property name="label">éå¶èå´</Property> </PropertyDef> <PropertyDef name="zzzmdm"> <Property></Property> <Property name="label">èµè´¨è¯æä»£ç </Property> </PropertyDef> <PropertyDef name="xh"> <Property name="dataType">int</Property> <Property name="label">åºå·</Property> </PropertyDef> </DataType> <DataType name="dtYQSB"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlYQSB</Property> <PropertyDef name="yqsbbm"> <Property/> <Property name="label">仪å¨è®¾å¤ç¼ç </Property> </PropertyDef> <PropertyDef name="yqsbmc"> <Property/> <Property name="label">仪å¨è®¾å¤åç§°</Property> </PropertyDef> <PropertyDef name="ggxh"> <Property/> <Property name="label">è§æ ¼åå·</Property> </PropertyDef> <PropertyDef name="zzgb"> <Property/> <Property name="label">å¶é å½å«</Property> </PropertyDef> <PropertyDef name="jg"> <Property name="dataType">Double</Property> <Property name="label">ä»·æ ¼</Property> </PropertyDef> <PropertyDef name="gznf"> <Property/> <Property name="label">è´ç½®å¹´ä»½</Property> </PropertyDef> <PropertyDef name="syl"> <Property name="dataType">Double</Property> <Property name="label">使ç¨ç</Property> </PropertyDef> <PropertyDef name="xh"> <Property name="dataType">int</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">whjlApi1214PR#listData</Property> <Property name="pageSize">20</Property> </DataSet> <DataSet id="dsQuery"> <ClientEvent name="onReady">self.insert();</ClientEvent> <Property name="dataType">dtParam</Property> </DataSet> <Container layout="regionPadding:10" layoutConstraint="top"> <Property name="exClassName">bg-color</Property> <Property name="height">55</Property> <Property name="contentOverflow">hidden</Property> <Label layoutConstraint="left"> <Property name="text">èåæ ï¼</Property> </Label> <Button layoutConstraint="left"> <ClientEvent name="onClick">view.get("#dsMain").insert();
 view.get("#dialogMain").show();</ClientEvent> <Property name="iconClass">fa fa-plus</Property> <Property name="caption">æ°å¢</Property> <Property name="exClassName">btn-default</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 if(cur){
 view.get("#dialogMain").show();
 }else{
 $alert("请å¾ééè¦ä¿®æ¹çæ°æ®ï¼");
 }</ClientEvent> <Property name="caption">ç¼è¾</Property> <Property name="iconClass">fa fa-pencil</Property> <Property name="exClassName">btn-warm</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 if(cur){
 view.get("#ajaxDel").set("parameter",cur).execute(function(result){
 if(result){
 $alert(result);
 } else{
 cur.remove();
 }
 });
 }else{
 $alert("请å¾ééè¦å é¤çæ°æ®ï¼");
 }</ClientEvent> <Property name="caption">å é¤</Property> <Property name="iconClass">fa fa-minus</Property> <Property name="exClassName">btn-warn</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">view.get("#dsMain").flushAsync();</ClientEvent> <Property name="caption">å·æ°</Property> <Property name="iconClass">fa fa-search</Property> <Property name="exClassName">btn-flush</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var select = view.get("#dgMain").get("selection");
 if(select && select.length > 0){
 view.get("#ajaxPush").set("parameter",select).execute(function(result){
 view.get("#dsMain").flushAsync();
 $notify(result);
 });
 }else{
 $alert("请å¾ééè¦ä¸æ¥çæ°æ®ï¼");
 }</ClientEvent> <Property name="caption">æå¨ä¸ä¼ </Property> <Property name="iconClass">fa fa-hand-o-up</Property> <Property name="exClassName">btn-default</Property> </Button> <Button layoutConstraint="right"> <ClientEvent name="onClick">//æ¾ç¤ºè®°å½
 view.get("#iFrame").reload();
 view.get("#dialogLog").show();</ClientEvent> <Property name="caption">ä¸ä¼ è®°å½</Property> <Property name="iconClass">fa fa-bars</Property> <Property name="exClassName">btn-flush</Property> </Button> </Container> <Container layoutConstraint="center"> <Property name="exClassName">bg-color</Property> <DataGrid id="dgMain"> <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsMain.data:#");
 if(data){
 view.get("#dialogMain").show();
 }</ClientEvent> <Property name="dataSet">dsMain</Property> <Property name="selectionMode">multiRows</Property> <Property name="readOnly">true</Property> <RowNumColumn/> <RowSelectorColumn> <Property name="caption">ä¸ä¼ </Property> </RowSelectorColumn> <DataColumn name="zjjgbm"> <Property name="property">zjjgbm</Property> </DataColumn> <DataColumn name="zjjgmc"> <Property name="property">zjjgmc</Property> </DataColumn> <DataColumn name="zjjgjc"> <Property name="property">zjjgjc</Property> </DataColumn> <DataColumn name="zjjgssly"> <Property name="property">zjjgssly</Property> </DataColumn> <DataColumn name="zjjgssdq"> <Property name="property">zjjgssdq</Property> </DataColumn> <DataColumn name="xzqhbm"> <Property name="property">xzqhbm</Property> </DataColumn> <DataColumn name="zjjgjb"> <Property name="property">zjjgjb</Property> </DataColumn> <DataColumn name="zcygs"> <Property name="property">zcygs</Property> </DataColumn> <DataColumn name="gjzcrs"> <Property name="property">gjzcrs</Property> </DataColumn> <DataColumn name="czbz"> <Property name="property">czbz</Property> </DataColumn> </DataGrid> </Container> <Container layoutConstraint="bottom"> <Property name="exClassName">bg-color</Property> <DataPilot layoutConstraint="right"> <Property name="dataSet">dsMain</Property> <Property name="itemCodes">pageSize,pages</Property> </DataPilot> </Container> <Dialog id="dialogMain" layout="regionPadding:10;padding:5"> <Property name="width">85%</Property> <Property name="closeable">false</Property> <Property name="iconClass">fa fa-sliders</Property> <Property name="caption">ååä¿¡æ¯</Property> <Property name="height">85%</Property> <Buttons> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 view.get("#updateSave").execute(function(){
 self.get("parent").hide();
 view.get("#dsMain").flushAsync();
 });</ClientEvent> <Property name="caption">ç¡®å®</Property> <Property name="iconClass">fa fa-check</Property> </Button> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 self.get("parent").hide();
 if(cur) cur.cancel();</ClientEvent> <Property name="caption">åæ¶</Property> <Property name="iconClass">fa fa-times</Property> </Button> </Buttons> <Children> <FieldSet> <Property name="caption">è´¨æ£æºæ</Property> <Buttons/> <Children> <AutoForm> <Property name="dataSet">dsMain</Property> <Property name="cols">*,*,*,*</Property> <Property name="labelPosition">top</Property> <Property name="labelSeparator">:</Property> <Property name="labelWidth">120</Property> <AutoFormElement> <Property name="name">zjjgbm</Property> <Property name="property">zjjgbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zjjgmc</Property> <Property name="property">zjjgmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zjjgjc</Property> <Property name="property">zjjgjc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zjjgssly</Property> <Property name="property">zjjgssly</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zjjgssdq</Property> <Property name="property">zjjgssdq</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">xzqhbm</Property> <Property name="property">xzqhbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">xzqhmc</Property> <Property name="property">xzqhmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sysfr</Property> <Property name="property">sysfr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">dh</Property> <Property name="property">dh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cz</Property> <Property name="property">cz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">dzyx</Property> <Property name="property">dzyx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">dz</Property> <Property name="property">dz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">yb</Property> <Property name="property">yb</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">lxr</Property> <Property name="property">lxr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zgbm</Property> <Property name="property">zgbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zjjgjb</Property> <Property name="property">zjjgjb</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zcygs</Property> <Property name="property">zcygs</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">gjzcrs</Property> <Property name="property">gjzcrs</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zjzcrs</Property> <Property name="property">zjzcrs</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cjzcrs</Property> <Property name="property">cjzcrs</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bs</Property> <Property name="property">bs</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ss</Property> <Property name="property">ss</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">xs</Property> <Property name="property">xs</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">dzsyx</Property> <Property name="property">dzsyx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zgdzc</Property> <Property name="property">zgdzc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">mj</Property> <Property name="property">mj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zcxz</Property> <Property name="property">zcxz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">csspjcdrs</Property> <Property name="property">csspjcdrs</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bz</Property> <Property name="property">bz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bizId</Property> <Property name="property">bizId</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">updateTime</Property> <Property name="property">updateTime</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">czbz</Property> <Property name="property">czbz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kqdm</Property> <Property name="property">kqdm</Property> <Editor/> </AutoFormElement> </AutoForm> </Children> </FieldSet> <Panel layout="regionPadding:5"> <Property name="caption">æ£æµè½å</Property> <Property name="height">400</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("jcnl");
 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("#dataGridJCNL.currentEntity");
 if(!data){
 return;
 }
 data.remove();</ClientEvent> <Property name="caption">å é¤</Property> <Property name="exClassName">btn-warn</Property> <Property name="iconClass">fa fa-minus</Property> </Button> </Container> <DataGrid id="dataGridJCNL"> <Property name="dataSet">dsMain</Property> <Property name="dataPath">#.jcnl</Property> <DataColumn name="bzbm"> <Property name="property">bzbm</Property> </DataColumn> <DataColumn name="bzmxbm"> <Property name="property">bzmxbm</Property> </DataColumn> <DataColumn name="jcxmdjbm"> <Property name="property">jcxmdjbm</Property> </DataColumn> <DataColumn name="jcly"> <Property name="property">jcly</Property> </DataColumn> <DataColumn name="xzfw"> <Property name="property">xzfw</Property> </DataColumn> <DataColumn name="zzzmdm"> <Property name="property">zzzmdm</Property> </DataColumn> <DataColumn name="xh"> <Property name="property">xh</Property> </DataColumn> </DataGrid> </Children> <Tools/> </Panel> <Panel layout="regionPadding:5"> <Property name="caption">仪å¨è®¾å¤</Property> <Property name="height">400</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("yqsb");
 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("#dataGridYQSB.currentEntity");
 if(!data){
 return;
 }
 data.remove();</ClientEvent> <Property name="caption">å é¤</Property> <Property name="exClassName">btn-warn</Property> <Property name="iconClass">fa fa-minus</Property> </Button> </Container> <DataGrid id="dataGridYQSB"> <Property name="dataSet">dsMain</Property> <Property name="dataPath">#.yqsb</Property> <DataColumn name="yqsbbm"> <Property name="property">yqsbbm</Property> </DataColumn> <DataColumn name="yqsbmc"> <Property name="property">yqsbmc</Property> </DataColumn> <DataColumn name="ggxh"> <Property name="property">ggxh</Property> </DataColumn> <DataColumn name="zzgb"> <Property name="property">zzgb</Property> </DataColumn> <DataColumn name="jg"> <Property name="property">jg</Property> </DataColumn> <DataColumn name="gznf"> <Property name="property">gznf</Property> </DataColumn> <DataColumn name="syl"> <Property name="property">syl</Property> </DataColumn> <DataColumn name="xh"> <Property name="property">xh</Property> </DataColumn> </DataGrid> </Children> <Tools/> </Panel> </Children> <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1214PR#saveData</Property> <UpdateItem> <Property name="dataPath">[#current]</Property> <Property name="dataSet">dsMain</Property> </UpdateItem> </UpdateAction> <AjaxAction id="ajaxDel"> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> <Property name="service">whjlApi1214PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1214PR#pushData</Property> </AjaxAction> <Dialog id="dialogLog"> <Property name="width">90%</Property> <Property name="height">90%</Property> <Property name="caption">ä¸ä¼ è®°å½</Property> <Property name="iconClass">fa fa-sliders</Property> <Buttons> <Button> <ClientEvent name="onClick">self.get("parent").hide();</ClientEvent> <Property name="caption">å ³é</Property> <Property name="iconClass">fa fa-times</Property> </Button> </Buttons> <Children> <Container> <IFrame id="iFrame"> <Property name="path">com.fzzy.api.view.ApiLog.d</Property> <Property name="userData"> <Entity> <Property name="deptId">deptId</Property> </Entity> </Property> </IFrame> </Container> </Children> <Tools/> </Dialog> <ListDropDown id="listDropYN"> <Property name="items">æ¯,å¦</Property> </ListDropDown> </View> </ViewConfig> src/main/java/com/fzzy/otherview/whhpjl/WhjlApi1215.view.xml
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,466 @@ <?xml version="1.0" encoding="UTF-8"?> <ViewConfig> <Arguments/> <Context/> <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.otherview.whhpjl.dto.WhjlApi1215</Property> <PropertyDef name="cybh"> <Property/> <Property name="label">æ ·åç¼å·</Property> </PropertyDef> <PropertyDef name="jlqybh"> <Property/> <Property name="label">åç²®ä¼ä¸ç¼å·</Property> </PropertyDef> <PropertyDef name="jlqymc"> <Property/> <Property name="label">åç²®ä¼ä¸åç§°</Property> </PropertyDef> <PropertyDef name="jgzdbh"> <Property/> <Property name="label">åä¾ç«ç¹ç¼å·</Property> </PropertyDef> <PropertyDef name="jgzdmc"> <Property/> <Property name="label">åä¾ç«ç¹åç§°</Property> </PropertyDef> <PropertyDef name="zjjgbm"> <Property/> <Property name="label">è´¨æ£æºæç¼å·</Property> </PropertyDef> <PropertyDef name="zjjgmc"> <Property/> <Property name="label">è´¨æ£æºæåç§°</Property> </PropertyDef> <PropertyDef name="jljgqybh"> <Property/> <Property name="label">å å·¥ä¼ä¸ç¼å·</Property> </PropertyDef> <PropertyDef name="cpmc"> <Property/> <Property name="label">产ååç§°</Property> </PropertyDef> <PropertyDef name="cppc"> <Property/> <Property name="label">äº§åæ¹æ¬¡</Property> </PropertyDef> <PropertyDef name="scrq"> <Property name="dataType">Date</Property> <Property name="label">çäº§æ¥æ</Property> </PropertyDef> <PropertyDef name="cysm"> <Property/> <Property name="label">æ½æ ·è¯´æ</Property> </PropertyDef> <PropertyDef name="cysj"> <Property name="dataType">DateTime</Property> <Property name="label">æ½æ ·æ¶é´</Property> </PropertyDef> <PropertyDef name="cyr"> <Property/> <Property name="label">æ½æ ·äºº</Property> </PropertyDef> <PropertyDef name="cydd"> <Property/> <Property name="label">æ½æ ·å°ç¹</Property> </PropertyDef> <PropertyDef name="djsj"> <Property name="dataType">DateTime</Property> <Property name="label">ç»è®°æ¶é´</Property> </PropertyDef> <PropertyDef name="cyjs"> <Property name="dataType">Double</Property> <Property name="label">æ½æ ·åºæ°</Property> </PropertyDef> <PropertyDef name="cysl"> <Property name="dataType">Double</Property> <Property name="label">æ½æ ·æ°é</Property> </PropertyDef> <PropertyDef name="sfyx"> <Property/> <Property name="label">æ¯å¦ææ</Property> </PropertyDef> <PropertyDef name="bz"> <Property/> <Property name="label">夿³¨</Property> </PropertyDef> <PropertyDef name="bizId"> <Property></Property> <Property name="label">ä¸å¡ID</Property> </PropertyDef> <PropertyDef name="updateTime"> <Property name="dataType">DateTime</Property> <Property name="label">æåæ´æ°æ¶é´</Property> </PropertyDef> <PropertyDef name="czbz"> <Property></Property> <Property name="label">æä½æ å¿</Property> </PropertyDef> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">åºåºä»£ç </Property> </PropertyDef> </DataType> <DataType name="dtParam"> <Property name="creationType">com.fzzy.api.data.ApiParam</Property> <PropertyDef name="kqdm"> <Property></Property> <Property name="label">æå±åºåº</Property> </PropertyDef> <PropertyDef name="start"> <Property name="dataType">Date</Property> <Property name="label">å¼å§æ¶é´</Property> </PropertyDef> <PropertyDef name="end"> <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> </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">whjlApi1215PR#listData</Property> <Property name="pageSize">20</Property> </DataSet> <DataSet id="dsQuery"> <ClientEvent name="onReady">self.insert();</ClientEvent> <Property name="dataType">dtParam</Property> </DataSet> <Container layout="regionPadding:10" layoutConstraint="top"> <Property name="exClassName">bg-color</Property> <Property name="height">55</Property> <Property name="contentOverflow">hidden</Property> <Label layoutConstraint="left"> <Property name="text">èåæ ï¼</Property> </Label> <Button layoutConstraint="left"> <ClientEvent name="onClick">view.get("#dsMain").insert();
 view.get("#dialogMain").show();</ClientEvent> <Property name="iconClass">fa fa-plus</Property> <Property name="caption">æ°å¢</Property> <Property name="exClassName">btn-default</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 if(cur){
 view.get("#dialogMain").show();
 }else{
 $alert("请å¾ééè¦ä¿®æ¹çæ°æ®ï¼");
 }</ClientEvent> <Property name="caption">ç¼è¾</Property> <Property name="iconClass">fa fa-pencil</Property> <Property name="exClassName">btn-warm</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 if(cur){
 view.get("#ajaxDel").set("parameter",cur).execute(function(result){
 if(result){
 $alert(result);
 } else{
 cur.remove();
 }
 });
 }else{
 $alert("请å¾ééè¦å é¤çæ°æ®ï¼");
 }</ClientEvent> <Property name="caption">å é¤</Property> <Property name="iconClass">fa fa-minus</Property> <Property name="exClassName">btn-warn</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">view.get("#dsMain").flushAsync();</ClientEvent> <Property name="caption">å·æ°</Property> <Property name="iconClass">fa fa-search</Property> <Property name="exClassName">btn-flush</Property> </Button> <Button layoutConstraint="left"> <ClientEvent name="onClick">var select = view.get("#dgMain").get("selection");
 if(select && select.length > 0){
 view.get("#ajaxPush").set("parameter",select).execute(function(result){
 view.get("#dsMain").flushAsync();
 $notify(result);
 });
 }else{
 $alert("请å¾ééè¦ä¸æ¥çæ°æ®ï¼");
 }</ClientEvent> <Property name="caption">æå¨ä¸ä¼ </Property> <Property name="iconClass">fa fa-hand-o-up</Property> <Property name="exClassName">btn-default</Property> </Button> <Button layoutConstraint="right"> <ClientEvent name="onClick">//æ¾ç¤ºè®°å½
 view.get("#iFrame").reload();
 view.get("#dialogLog").show();</ClientEvent> <Property name="caption">ä¸ä¼ è®°å½</Property> <Property name="iconClass">fa fa-bars</Property> <Property name="exClassName">btn-flush</Property> </Button> </Container> <Container layoutConstraint="center"> <Property name="exClassName">bg-color</Property> <DataGrid id="dgMain"> <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsMain.data:#");
 if(data){
 view.get("#dialogMain").show();
 }</ClientEvent> <Property name="dataSet">dsMain</Property> <Property name="selectionMode">multiRows</Property> <Property name="readOnly">true</Property> <RowNumColumn/> <RowSelectorColumn> <Property name="caption">ä¸ä¼ </Property> </RowSelectorColumn> <DataColumn name="cybh"> <Property name="property">cybh</Property> </DataColumn> <DataColumn name="jlqybh"> <Property name="property">jlqybh</Property> </DataColumn> <DataColumn name="jlqymc"> <Property name="property">jlqymc</Property> </DataColumn> <DataColumn name="jgzdbh"> <Property name="property">jgzdbh</Property> </DataColumn> <DataColumn name="jgzdmc"> <Property name="property">jgzdmc</Property> </DataColumn> <DataColumn name="zjjgbm"> <Property name="property">zjjgbm</Property> </DataColumn> <DataColumn name="zjjgmc"> <Property name="property">zjjgmc</Property> </DataColumn> <DataColumn name="jljgqybh"> <Property name="property">jljgqybh</Property> </DataColumn> <DataColumn name="cpmc"> <Property name="property">cpmc</Property> </DataColumn> <DataColumn name="cppc"> <Property name="property">cppc</Property> </DataColumn> <DataColumn name="czbz"> <Property name="property">czbz</Property> </DataColumn> </DataGrid> </Container> <Container layoutConstraint="bottom"> <Property name="exClassName">bg-color</Property> <DataPilot layoutConstraint="right"> <Property name="dataSet">dsMain</Property> <Property name="itemCodes">pageSize,pages</Property> </DataPilot> </Container> <Dialog id="dialogMain"> <Property name="width">60%</Property> <Property name="closeable">false</Property> <Property name="iconClass">fa fa-sliders</Property> <Property name="caption">è´§ä½ä¿¡æ¯</Property> <Buttons> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 view.get("#updateSave").execute(function(){
 self.get("parent").hide();
 view.get("#dsMain").flushAsync();
 });</ClientEvent> <Property name="caption">ç¡®å®</Property> <Property name="iconClass">fa fa-check</Property> </Button> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 self.get("parent").hide();
 if(cur) cur.cancel();</ClientEvent> <Property name="caption">åæ¶</Property> <Property name="iconClass">fa fa-times</Property> </Button> </Buttons> <Children> <AutoForm> <Property name="dataSet">dsMain</Property> <Property name="cols">*,*,*</Property> <Property name="labelPosition">top</Property> <Property name="labelSeparator">:</Property> <Property name="labelWidth">120</Property> <AutoFormElement> <Property name="name">cybh</Property> <Property name="property">cybh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jlqybh</Property> <Property name="property">jlqybh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jlqymc</Property> <Property name="property">jlqymc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdbh</Property> <Property name="property">jgzdbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdmc</Property> <Property name="property">jgzdmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zjjgbm</Property> <Property name="property">zjjgbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zjjgmc</Property> <Property name="property">zjjgmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jljgqybh</Property> <Property name="property">jljgqybh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cpmc</Property> <Property name="property">cpmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cppc</Property> <Property name="property">cppc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">scrq</Property> <Property name="property">scrq</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cysm</Property> <Property name="property">cysm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cysj</Property> <Property name="property">cysj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cyr</Property> <Property name="property">cyr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cydd</Property> <Property name="property">cydd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">djsj</Property> <Property name="property">djsj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cyjs</Property> <Property name="property">cyjs</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cysl</Property> <Property name="property">cysl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sfyx</Property> <Property name="property">sfyx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bz</Property> <Property name="property">bz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bizId</Property> <Property name="property">bizId</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">updateTime</Property> <Property name="property">updateTime</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">czbz</Property> <Property name="property">czbz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">kqdm</Property> <Property name="property">kqdm</Property> <Editor/> </AutoFormElement> </AutoForm> </Children> <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1215PR#saveData</Property> <UpdateItem> <Property name="dataPath">[#current]</Property> <Property name="dataSet">dsMain</Property> </UpdateItem> </UpdateAction> <AjaxAction id="ajaxDel"> <Property name="confirmMessage">å½åæ°æ®å é¤åæ æ³æ¢å¤ï¼è¯·ç¡®è®¤è¦å é¤ä¹ï¼</Property> <Property name="service">whjlApi1215PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1215PR#pushData</Property> </AjaxAction> <Dialog id="dialogLog"> <Property name="width">90%</Property> <Property name="height">90%</Property> <Property name="caption">ä¸ä¼ è®°å½</Property> <Property name="iconClass">fa fa-sliders</Property> <Buttons> <Button> <ClientEvent name="onClick">self.get("parent").hide();</ClientEvent> <Property name="caption">å ³é</Property> <Property name="iconClass">fa fa-times</Property> </Button> </Buttons> <Children> <Container> <IFrame id="iFrame"> <Property name="path">com.fzzy.api.view.ApiLog.d</Property> <Property name="userData"> <Entity> <Property name="deptId">deptId</Property> </Entity> </Property> </IFrame> </Container> </Children> <Tools/> </Dialog> <ListDropDown id="listDropYN"> <Property name="items">æ¯,å¦</Property> </ListDropDown> </View> </ViewConfig> src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1206.java
@@ -58,6 +58,7 @@ private String bz; //夿³¨ private List<WhjlQDItem> htspqd; //å忏 å private String htspqdList; //åç¬å¢å ï¼ä¸è¿è¡ä¸ä¼ @JSONField(serialize = false) private String bizId; //ä¸å¡ID src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1210.java
@@ -36,6 +36,8 @@ private String fzr; //è´è´£äºº private String sfyx; //æ¯å¦ææ //***************æ³¨ï¼æ¥å£ä¸ä¸éè¦çç¹æ¸ åï¼çç¹æ¸ ååªæ¯ä¸ºäºæäº¤æ¶æ´æ°åºåå°åºåæ¹æ¬¡å°å¸ï¼ä¸æ¥è¿æ¥çåºåæ¹æ¬¡å°è´¦å·²ç»æ´æ°è¿äº********************// //åç¬å¢å ï¼ä¸è¿è¡ä¸ä¼ @JSONField(serialize = false) private String bizId; //ä¸å¡ID src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1211.java
@@ -39,6 +39,7 @@ private Double zczzl;//è½¬ä»æ»éé private List<WhjlZCMX> zcmx;//è½¬ä»æç» private String zcmxList; //åç¬å¢å ï¼ä¸è¿è¡ä¸ä¼ @JSONField(serialize = false) src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1212.java
@@ -50,6 +50,9 @@ private List<WhjlInoutDel> crkmx; //åºå ¥åºæç» private List<WhjlCheck> zjbgwj; //è´¨æ£æ¥åæä»¶ private String crkmxList; private String zjbgwjList; //åç¬å¢å ï¼ä¸è¿è¡ä¸ä¼ @JSONField(serialize = false) private String bizId; //ä¸å¡ID src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1213.java
@@ -46,6 +46,9 @@ private String bz;//夿³¨ private List<WhjlJSMX> jsmx;//ç»ç®æç»è®°å½ private String jsmxList; //åç¬å¢å ï¼ä¸è¿è¡ä¸ä¼ @JSONField(serialize = false) private String bizId; //ä¸å¡ID src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlApi1214.java
@@ -55,6 +55,9 @@ private List<WhjlJCNL> jcnl;//æ£æµè½å private List<WhjlYQSB> yqsb;//仪å¨è®¾å¤ private String jcnlList; private String yqsbList; //åç¬å¢å ï¼ä¸è¿è¡ä¸ä¼ @JSONField(serialize = false) private String bizId; //ä¸å¡ID src/main/java/com/fzzy/otherview/whhpjl/dto/WhjlJSMX.java
@@ -19,10 +19,10 @@ */ private static final long serialVersionUID = 1L; private String rkfkjlmxid; private String crkmxid; private String fkpzh; private Double sl; private Double dj; private Double je; private String rkfkjlmxid; //ç»ç®è®°å½æç»ID private String crkmxid;//åºå ¥åºæç»ID private String fkpzh; //仿¬¾åè¯å· private Double sl; //æ°é private Double dj; //åä»· private Double je; //éé¢ } src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1206PR.java
@@ -16,10 +16,13 @@ import com.fzzy.api.service.ApiRemoteService; import com.fzzy.api.utils.ContextUtil; import com.fzzy.api.view.repository.ApiInfoDataRep; import com.fzzy.otherview.gd2022.dto.GdApi1023; import com.fzzy.otherview.gd2022.dto.GdApi1023Way; import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1206; import com.fzzy.otherview.whhpjl.dto.WhjlApi1206; import com.fzzy.otherview.whhpjl.dto.WhjlQDItem; import com.fzzy.push.gd2022.ApiCodeConstant; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; @@ -52,7 +55,7 @@ /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1207PR#listData * whjlApi1206PR#listData * * @return */ @@ -110,42 +113,47 @@ /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1207PR#listItem * whjlApi1206PR#listItem * * @return */ @DataProvider public List<WhjlQDItem> listItem(String id) { return null; public List<WhjlQDItem> listItem(String code) { return JSON.parseArray(code, WhjlQDItem.class); } /** * æ´æ°æä¿®æ¹ * whjlApi1207PR#saveData * whjlApi1206PR#saveData * * @param data * @return */ @DataResolver public void saveData(WhjlApi1206 data) { ApiInfoData infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1207); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(data.getCzbz()); infoData.setRemarks("夿³¨ä¿¡æ¯"); data.setHtspqdList(JSON.toJSONString(data.getHtspqd())); ApiInfoData infoData; List<ApiInfoData> apiInfoList = apiInfoDataRep.getDataByInteAndData(WhjlConstant.API_CODE_1206, data.getBizId(), data.getKqdm()); if (apiInfoList.size() != 0) { infoData = apiInfoList.get(0); infoData.setData(JSON.toJSONString(data)); } else { infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteId(WhjlConstant.API_CODE_1206); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(Constant.CZBZ_I); infoData.setRemarks("夿³¨ä¿¡æ¯"); } apiInfoDataRep.save(infoData); } /** * å é¤ * whjlApi1207PR#delData * whjlApi1206PR#delData * * @param data * @return @@ -158,7 +166,7 @@ /** * å é¤ååå忏 å * whjlApi1207PR#delItem * whjlApi1206PR#delItem * * @param data * @return @@ -170,7 +178,7 @@ /** * ä¸ä¼ * whjlApi1207PR#pushData * whjlApi1206PR#pushData * * @param items * @return @@ -188,7 +196,7 @@ } //å°è£ åæ° ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1207); ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1206); //è·åå®ç°æ¥å£ ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol()); @@ -207,7 +215,7 @@ infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1207); infoData.setInteId(WhjlConstant.API_CODE_1206); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1207PR.java
@@ -5,6 +5,7 @@ import com.bstek.dorado.annotation.DataProvider; import com.bstek.dorado.annotation.DataResolver; import com.bstek.dorado.annotation.Expose; import com.bstek.dorado.data.provider.Page; import com.fzzy.api.Constant; import com.fzzy.api.data.ApiParam; import com.fzzy.api.dto.ResponseDto; @@ -13,13 +14,24 @@ import com.fzzy.api.service.ApiCommonService; import com.fzzy.api.service.ApiPushManager; import com.fzzy.api.service.ApiRemoteService; import com.fzzy.api.utils.ContextUtil; import com.fzzy.api.view.repository.ApiInfoDataRep; import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1207; import com.fzzy.otherview.whhpjl.dto.WhjlApi1207; import com.fzzy.otherview.whhpjl.dto.WhjlQDItem; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; import org.springframework.data.jpa.domain.Specification; import org.springframework.stereotype.Component; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Predicate; import javax.persistence.criteria.Root; import java.util.ArrayList; import java.util.Date; import java.util.List; @@ -45,14 +57,46 @@ * @return */ @DataProvider public List<WhjlApi1207> listData() { List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1207); if (null == result || result.isEmpty()) { return null; } public void listData(Page<WhjlApi1207> page, ApiParam param) { Pageable pageable = PageRequest.of(page.getPageNo() - 1, page.getPageSize(), Sort.Direction.DESC, "updateTime"); Specification specification = new Specification<ApiInfoData>() { private static final long serialVersionUID = 1L; @Override public Predicate toPredicate(Root<ApiInfoData> root, CriteriaQuery<?> criteriaQuery, CriteriaBuilder criteriaBuilder) { List<Predicate> predicates = new ArrayList<>(); //ææçæè¨ Predicate predicate = criteriaBuilder.equal(root.get("inteId"), WhjlConstant.API_CODE_1207); predicates.add(predicate); if (null != param) { if (StringUtils.isNotBlank(param.getKqdm())) { Predicate predicate1 = criteriaBuilder.equal(root.get("kqdm"), param.getKqdm()); predicates.add(predicate1); } if (StringUtils.isNotBlank(param.getCzbz())) { Predicate predicate2 = criteriaBuilder.equal(root.get("czbz"), param.getCzbz()); predicates.add(predicate2); } if (null != param.getStart()) { Predicate predicate3 = criteriaBuilder.greaterThan(root.get("updateTime"), ContextUtil.getCurZero(param.getStart())); predicates.add(predicate3); } if (null != param.getEnd()) { Predicate predicate4 = criteriaBuilder.lessThan(root.get("updateTime"), ContextUtil.getNextZero(param.getEnd())); predicates.add(predicate4); } } return criteriaBuilder.and(predicates.toArray(new Predicate[0])); } }; org.springframework.data.domain.Page<ApiInfoData> japPage = apiInfoDataRep.findAll(specification, pageable); page.setEntityCount((int) japPage.getTotalElements()); List<WhjlApi1207> list = new ArrayList<>(); WhjlApi1207 whjlApi1207; for (ApiInfoData infoData : result) { for (ApiInfoData infoData : japPage.getContent()) { whjlApi1207 = JSONObject.parseObject(infoData.getData(), WhjlApi1207.class); whjlApi1207.setKqdm(infoData.getKqdm()); whjlApi1207.setCzbz(infoData.getCzbz()); @@ -60,9 +104,11 @@ whjlApi1207.setBizId(infoData.getDataId()); list.add(whjlApi1207); } return list; page.setEntities(list); } /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1207PR#listItem src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1211PR.java
@@ -18,7 +18,9 @@ import com.fzzy.api.view.repository.ApiInfoDataRep; import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1211; import com.fzzy.otherview.whhpjl.dto.WhjlApi1211; import com.fzzy.otherview.whhpjl.dto.WhjlQDItem; import com.fzzy.otherview.whhpjl.dto.WhjlZCMX; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; @@ -113,8 +115,8 @@ * @return */ @DataProvider public List<WhjlQDItem> listItem(String id) { return null; public List<WhjlZCMX> listItem(String code) { return JSON.parseArray(code, WhjlZCMX.class); } /** @@ -126,17 +128,23 @@ */ @DataResolver public void saveData(WhjlApi1211 data) { ApiInfoData infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1211); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(data.getCzbz()); infoData.setRemarks("夿³¨ä¿¡æ¯"); data.setZcmxList(JSON.toJSONString(data.getZcmx())); ApiInfoData infoData; List<ApiInfoData> apiInfoList = apiInfoDataRep.getDataByInteAndData(WhjlConstant.API_CODE_1211, data.getBizId(), data.getKqdm()); if (apiInfoList.size() != 0) { infoData = apiInfoList.get(0); infoData.setData(JSON.toJSONString(data)); } else { infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteId(WhjlConstant.API_CODE_1211); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(Constant.CZBZ_I); infoData.setRemarks("夿³¨ä¿¡æ¯"); } apiInfoDataRep.save(infoData); } @@ -154,17 +162,6 @@ return null; } /** * å é¤ååå忏 å * whjlApi1211PR#delItem * * @param data * @return */ @Expose public String delItem(WhjlQDItem data) { return null; } /** * ä¸ä¼ src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1213PR.java
@@ -19,6 +19,7 @@ import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1213; import com.fzzy.otherview.whhpjl.dto.WhjlQDItem; import com.fzzy.otherview.whhpjl.dto.WhjlZCMX; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; @@ -113,8 +114,8 @@ * @return */ @DataProvider public List<WhjlQDItem> listItem(String id) { return null; public List<WhjlZCMX> listItem(String code) { return JSON.parseArray(code, WhjlZCMX.class); } /** @@ -126,17 +127,23 @@ */ @DataResolver public void saveData(WhjlApi1213 data) { ApiInfoData infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1213); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(data.getCzbz()); infoData.setRemarks("夿³¨ä¿¡æ¯"); data.setJsmxList(JSON.toJSONString(data.getJsmx())); ApiInfoData infoData; List<ApiInfoData> apiInfoList = apiInfoDataRep.getDataByInteAndData(WhjlConstant.API_CODE_1213, data.getBizId(), data.getKqdm()); if (apiInfoList.size() != 0) { infoData = apiInfoList.get(0); infoData.setData(JSON.toJSONString(data)); } else { infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteId(WhjlConstant.API_CODE_1213); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(Constant.CZBZ_I); infoData.setRemarks("夿³¨ä¿¡æ¯"); } apiInfoDataRep.save(infoData); } src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1214PR.java
@@ -17,8 +17,7 @@ import com.fzzy.api.utils.ContextUtil; import com.fzzy.api.view.repository.ApiInfoDataRep; import com.fzzy.otherview.whhpjl.WhjlConstant; import com.fzzy.otherview.whhpjl.dto.WhjlApi1214; import com.fzzy.otherview.whhpjl.dto.WhjlQDItem; import com.fzzy.otherview.whhpjl.dto.*; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; @@ -113,8 +112,13 @@ * @return */ @DataProvider public List<WhjlQDItem> listItem(String id) { return null; public List<WhjlJCNL> listJCNL(String code) { return JSON.parseArray(code, WhjlJCNL.class); } @DataProvider public List<WhjlYQSB> listYQSB(String code) { return JSON.parseArray(code, WhjlYQSB.class); } /** @@ -126,17 +130,24 @@ */ @DataResolver public void saveData(WhjlApi1214 data) { ApiInfoData infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteType(WhjlConstant.API_CATEGORY_12); infoData.setInteId(WhjlConstant.API_CODE_1214); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(data.getCzbz()); infoData.setRemarks("夿³¨ä¿¡æ¯"); data.setJcnlList(JSON.toJSONString(data.getJcnl())); data.setYqsbList(JSON.toJSONString(data.getYqsb())); ApiInfoData infoData; List<ApiInfoData> apiInfoList = apiInfoDataRep.getDataByInteAndData(WhjlConstant.API_CODE_1214, data.getBizId(), data.getKqdm()); if (apiInfoList.size() != 0) { infoData = apiInfoList.get(0); infoData.setData(JSON.toJSONString(data)); } else { infoData = new ApiInfoData(); infoData.setId(data.getBizId()); infoData.setKqdm(data.getKqdm()); infoData.setInteId(WhjlConstant.API_CODE_1214); infoData.setUpdateTime(new Date()); infoData.setDataId(data.getBizId()); infoData.setData(JSON.toJSONString(data)); infoData.setCzbz(Constant.CZBZ_I); infoData.setRemarks("夿³¨ä¿¡æ¯"); } apiInfoDataRep.save(infoData); } src/main/resources/templates/home/home-whjl.html
@@ -178,19 +178,37 @@ <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1204.d">客æ·ä¿¡æ¯</a> </dd> <dd> <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1207.d">ååä¿¡æ¯</a> <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1205.d">订åä¿¡æ¯</a> </dd> <dd> <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1208.d">åºåå°è´¦</a> <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1206.d">ååä¿¡æ¯</a> </dd> <dd> <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1209.d">åºåå°è´¦äº§åæ¹æ¬¡</a> <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1207.d">åºåå°è´¦</a> </dd> <dd> <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1210.d">åºåå°è´¦åºå ¥è®°å½</a> <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1208.d">åºåå°è´¦äº§åæ¹æ¬¡</a> </dd> <dd> <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1214.d">åºå ¥åºè®°å½</a> <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1209.d">åºåå°è´¦åºå ¥è®°å½</a> </dd> <dd> <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1210.d">åºåçç¹è®°å½</a> </dd> <dd> <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1211.d">åºå 转ä»è®°å½</a> </dd> <dd> <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1212.d">åºå ¥åºè®°å½</a> </dd> <dd> <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1213.d">åºå ¥åºç»ç®è®°å½</a> </dd> <dd> <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1214.d">è´¨æ£æºæ</a> </dd> <dd> <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1215.d">æ ·åç»è®°ä¿¡æ¯</a> </dd> <dd> <a lay-href="com.fzzy.otherview.whhpjl.WhjlApi1216.d">è´¨æ£æ¥å</a>