src/main/java/com/fzzy/api/view/Api1101.view.xml
@@ -137,19 +137,19 @@ <Property name="label">忥æ¶é´</Property> </PropertyDef> <PropertyDef name="balx"> <Property/> <Property></Property> <Property name="label">夿¡ç±»å</Property> </PropertyDef> <PropertyDef name="ccywlx"> <Property/> <Property></Property> <Property name="label">ä»å¨ä¸å¡ç±»å</Property> </PropertyDef> <PropertyDef name="ccpz"> <Property/> <Property></Property> <Property name="label">ä»å¨åç§</Property> </PropertyDef> <PropertyDef name="bazt"> <Property/> <Property></Property> <Property name="label">夿¡ç¶æ</Property> </PropertyDef> </DataType> @@ -229,8 +229,7 @@ </Property> </ToolBarLabel> <ToolBarButton> <ClientEvent name="onClick">view.get("#dsMain").flushAsync();
 </ClientEvent> <ClientEvent name="onClick">view.get("#dsMain").flushAsync();</ClientEvent> <Property name="caption">å·æ°</Property> <Property name="iconClass">fa fa-search</Property> <Property name="width">100</Property> @@ -289,9 +288,7 @@ });
 }else{
 $alert("请å¾ééè¦å é¤çæ°æ®ï¼");
 }
 
 </ClientEvent> }</ClientEvent> <Property name="caption">ç´æ¥å é¤</Property> <Property name="iconClass">fa fa-minus</Property> <Property name="exClassName">toolbar-button-warn</Property> src/main/java/com/fzzy/whjl/dto/WhjlApi1102.java
@@ -4,6 +4,7 @@ import lombok.EqualsAndHashCode; import java.io.Serializable; import java.util.Date; /** * åç²®ä¼ä¸-åä¾ç«ç¹ä¿¡æ¯ @@ -28,7 +29,7 @@ private String jgzdjc; //åä¾ç«ç¹ç®ç§° private String qyszbm; //ä¼ä¸æ§è´¨ç¼ç private String jgzdlb; //åä¾ç«ç¹ç±»å« private String jcrq; //å»ºææ¥æ private Date jcrq; //å»ºææ¥æ private Double sjcr; //设计ä»å®¹ private Double mj; //é¢ç§¯ private String lxr; //è系人 src/main/java/com/fzzy/whjl/dto/WhjlApi1105.java
@@ -4,6 +4,7 @@ import lombok.EqualsAndHashCode; import java.io.Serializable; import java.util.Date; /** * ä»å¨è®¾æ½è®¾å¤-仿¿ä¿¡æ¯ @@ -36,7 +37,7 @@ private String lxdh; //èç³»çµè¯ private Double cfjd; //仿¿ç»åº¦ private Double cfwd; //仿¿çº¬åº¦ private String qyrq; //å¯ç¨æ¥æ private Date qyrq; //å¯ç¨æ¥æ private String cfzt; //仿¿ç¶æ private String cfsyzt; //仿¿ä½¿ç¨ç¶æ private Double zp; //ç½©æ£ src/main/java/com/fzzy/whjl/dto/WhjlApi1106.java
@@ -4,6 +4,7 @@ import lombok.EqualsAndHashCode; import java.io.Serializable; import java.util.Date; /** * ä»å¨è®¾æ½è®¾å¤-å»é´ä¿¡æ¯ @@ -29,13 +30,13 @@ private String ajmc; //å»é´åç§° private Double ajcd; //å»é´é¿åº¦ private Double ajkd; //å»é´å®½åº¦ private String ajgd; //å»é´é«åº¦ private Double ajgd; //å»é´é«åº¦ private Double ajsjcr; //å»é´è®¾è®¡ä»å®¹ private Double ajsjcr01; //å»é´å®é ä»å®¹ private String ajlxdh; //å»é´èç³»çµè¯ private Double ajjd; //å»é´ç»åº¦ private Double ajwd; //å»é´çº¬åº¦ private String ajqyrq; //å»é´å¯ç¨æ¥æ private Date ajqyrq; //å»é´å¯ç¨æ¥æ private String ajzt; //å»é´ç¶æ private String ajsyzt; //å»é´ä½¿ç¨ç¶æ private String sfyx; //æ¯å¦ææ src/main/java/com/fzzy/whjl/dto/WhjlApi1107.java
@@ -4,6 +4,7 @@ import lombok.EqualsAndHashCode; import java.io.Serializable; import java.util.Date; /** * ä»å¨è®¾æ½è®¾å¤-è´§ä½ä¿¡æ¯ @@ -29,13 +30,12 @@ private String ssajbh; //å»é´ç¼å· private String ajmc; //å»é´åç§° private String hwmc; //è´§ä½åç§° private String hwqyrq; //è´§ä½å¯ç¨æ¥æ private Date hwqyrq; //è´§ä½å¯ç¨æ¥æ private String hwzt; //è´§ä½ç¶æ private String clfs; //å¨ç²®æ¹å¼ private Double hwrl; //è´§ä½å®¹é private String sfyx; //æ¯å¦ææ private String bz; //夿³¨ } src/main/java/com/fzzy/whjl/view/WhjlApi1101.view.xml
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,941 @@ <?xml version="1.0" encoding="UTF-8"?> <ViewConfig> <Arguments/> <Context/> <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1101</Property> <PropertyDef name="jlqybh"> <Property></Property> <Property name="label">åç²®ä¼ä¸ç¼å·</Property> </PropertyDef> <PropertyDef name="jlqymc"> <Property></Property> <Property name="label">åç²®ä¼ä¸åç§°</Property> </PropertyDef> <PropertyDef name="jlqyjc"> <Property></Property> <Property name="label">åç²®ä¼ä¸ç®ç§°</Property> </PropertyDef> <PropertyDef name="jlzzjgdm"> <Property></Property> <Property name="label">åç²®ç»ç»æºæä»£ç </Property> </PropertyDef> <PropertyDef name="jlqytyshxydm"> <Property></Property> <Property name="label">åç²®ä¼ä¸ç»ä¸ç¤¾ä¼ä¿¡ç¨ä»£ç </Property> </PropertyDef> <PropertyDef name="jlqylx"> <Property></Property> <Property name="label">åç²®ä¼ä¸ç±»å</Property> <Property name="mapping"> <Property name="keyProperty">key</Property> <Property name="valueProperty">value</Property> <Property name="mapValues"> <Collection> <Entity> <Property name="key">1</Property> <Property name="value">ä¿éåºå°</Property> </Entity> <Entity> <Property name="key">2</Property> <Property name="value">é éä¸å¿</Property> </Entity> <Entity> <Property name="key">3</Property> <Property name="value">骨干åä¾ç«</Property> </Entity> <Entity> <Property name="key">4</Property> <Property name="value">ä¸è¬åä¾ç«</Property> </Entity> <Entity> <Property name="key">5</Property> <Property name="value">é«è¾¹å²ç¹å°åºåä¾ç«</Property> </Entity> <Entity> <Property name="key">9</Property> <Property name="value">å ¶ä»</Property> </Entity> </Collection> </Property> </Property> </PropertyDef> <PropertyDef name="qyjjlx"> <Property></Property> <Property name="label">ä¼ä¸ç»æµç±»å</Property> <Property name="mapping"> <Property name="keyProperty">key</Property> <Property name="valueProperty">value</Property> <Property name="mapValues"> <Collection> <Entity> <Property name="key">100</Property> <Property name="value">å èµä¼ä¸</Property> </Entity> <Entity> <Property name="key">110</Property> <Property name="value">彿ä¼ä¸</Property> </Entity> <Entity> <Property name="key">120</Property> <Property name="value">éä½ä¼ä¸</Property> </Entity> <Entity> <Property name="key">130</Property> <Property name="value">è¡ä»½åä½ä¼ä¸</Property> </Entity> <Entity> <Property name="key">140</Property> <Property name="value">èè¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">141</Property> <Property name="value">彿èè¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">142</Property> <Property name="value">éä½èè¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">143</Property> <Property name="value">彿ä¸éä½èè¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">149</Property> <Property name="value">å ¶ä»èè¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">150</Property> <Property name="value">æéè´£ä»»å ¬å¸</Property> </Entity> <Entity> <Property name="key">151</Property> <Property name="value">彿ç¬èµå ¬å¸</Property> </Entity> <Entity> <Property name="key">159</Property> <Property name="value">å ¶ä»æéè´£ä»»å ¬å¸</Property> </Entity> <Entity> <Property name="key">160</Property> <Property name="value">è¡ä»½æéå ¬å¸</Property> </Entity> <Entity> <Property name="key">170</Property> <Property name="value">ç§è¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">171</Property> <Property name="value">ç§è¥ç¬èµä¼ä¸</Property> </Entity> <Entity> <Property name="key">172</Property> <Property name="value">ç§è¥åä¼ä¼ä¸</Property> </Entity> <Entity> <Property name="key">173</Property> <Property name="value">ç§è¥æéè´£ä»»å ¬å¸</Property> </Entity> <Entity> <Property name="key">174</Property> <Property name="value">ç§è¥è¡ä»½æéå ¬å¸</Property> </Entity> <Entity> <Property name="key">190</Property> <Property name="value">å ¶ä»ä¼ä¸</Property> </Entity> <Entity> <Property name="key">200</Property> <Property name="value">æ¸¯ãæ¾³ãå°åæèµä¼ä¸</Property> </Entity> <Entity> <Property name="key">210</Property> <Property name="value">åèµç»è¥ä¼ä¸ï¼æ¸¯ææ¾³ãå°èµï¼</Property> </Entity> <Entity> <Property name="key">220</Property> <Property name="value">åä½ç»è¥ä¼ä¸ï¼æ¸¯ææ¾³ãå°èµï¼</Property> </Entity> <Entity> <Property name="key">230</Property> <Property name="value">æ¸¯ãæ¾³ãå°åç¬èµç»è¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">240</Property> <Property name="value">æ¸¯ãæ¾³ãå°åæèµè¡ä»½æéå ¬å¸</Property> </Entity> <Entity> <Property name="key">290</Property> <Property name="value">å ¶ä»æ¸¯ãæ¾³ãå°åæèµä¼ä¸</Property> </Entity> <Entity> <Property name="key">300</Property> <Property name="value">å¤åæèµä¼ä¸</Property> </Entity> <Entity> <Property name="key">310</Property> <Property name="value">ä¸å¤åèµç»è¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">320</Property> <Property name="value">ä¸å¤åä½ç»è¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">330</Property> <Property name="value">å¤èµä¼ä¸</Property> </Entity> <Entity> <Property name="key">340</Property> <Property name="value">å¤åæèµè¡ä»½æéå ¬å¸</Property> </Entity> <Entity> <Property name="key">390</Property> <Property name="value">å ¶ä»å¤åæèµä¼ä¸</Property> </Entity> <Entity> <Property name="key">900</Property> <Property name="value">å ¶ä»</Property> </Entity> </Collection> </Property> </Property> </PropertyDef> <PropertyDef name="qyxz"> <Property></Property> <Property name="label">ä¼ä¸æ§è´¨</Property> <Property name="mapping"> <Property name="keyProperty">key</Property> <Property name="valueProperty">value</Property> <Property name="mapValues"> <Collection> <Entity> <Property name="key">1</Property> <Property name="value">è¡æ¿æºå ³</Property> </Entity> <Entity> <Property name="key">2</Property> <Property name="value">äºä¸åä½</Property> </Entity> <Entity> <Property name="key">3</Property> <Property name="value">åå ¬ç®¡çäºä¸åä½</Property> </Entity> <Entity> <Property name="key">4</Property> <Property name="value">彿å彿æ§è¡ä¼ä¸</Property> </Entity> <Entity> <Property name="key">5</Property> <Property name="value">å èµé彿ä¼ä¸</Property> </Entity> <Entity> <Property name="key">6</Property> <Property name="value">ç§è¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">7</Property> <Property name="value">港澳å°ååå¤åä¼ä¸</Property> </Entity> <Entity> <Property name="key">8</Property> <Property name="value">个ä½å·¥åæ·</Property> </Entity> <Entity> <Property name="key">9</Property> <Property name="value">å ¶ä»</Property> </Entity> </Collection> </Property> </Property> </PropertyDef> <PropertyDef name="djzclx"> <Property></Property> <Property name="label">ç»è®°æ³¨åç±»å</Property> <Property name="mapping"> <Property name="keyProperty">key</Property> <Property name="valueProperty">value</Property> <Property name="mapValues"> <Collection> <Entity> <Property name="key">100</Property> <Property name="value">å èµä¼ä¸</Property> </Entity> <Entity> <Property name="key">110</Property> <Property name="value">彿ä¼ä¸</Property> </Entity> <Entity> <Property name="key">120</Property> <Property name="value">éä½ä¼ä¸</Property> </Entity> <Entity> <Property name="key">130</Property> <Property name="value">è¡ä»½åä½ä¼ä¸</Property> </Entity> <Entity> <Property name="key">140</Property> <Property name="value">èè¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">141</Property> <Property name="value">彿èè¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">142</Property> <Property name="value">éä½èè¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">143</Property> <Property name="value">彿ä¸éä½èè¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">149</Property> <Property name="value">å ¶ä»èè¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">150</Property> <Property name="value">æéè´£ä»»å ¬å¸</Property> </Entity> <Entity> <Property name="key">151</Property> <Property name="value">彿ç¬èµå ¬å¸</Property> </Entity> <Entity> <Property name="key">159</Property> <Property name="value">å ¶ä»æéè´£ä»»å ¬å¸</Property> </Entity> <Entity> <Property name="key">160</Property> <Property name="value">è¡ä»½æéå ¬å¸</Property> </Entity> <Entity> <Property name="key">170</Property> <Property name="value">ç§è¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">171</Property> <Property name="value">ç§è¥ç¬èµä¼ä¸</Property> </Entity> <Entity> <Property name="key">172</Property> <Property name="value">ç§è¥åä¼ä¼ä¸</Property> </Entity> <Entity> <Property name="key">173</Property> <Property name="value">ç§è¥æéè´£ä»»å ¬å¸</Property> </Entity> <Entity> <Property name="key">174</Property> <Property name="value">ç§è¥è¡ä»½æéå ¬å¸</Property> </Entity> <Entity> <Property name="key">190</Property> <Property name="value">å ¶ä»ä¼ä¸</Property> </Entity> <Entity> <Property name="key">200</Property> <Property name="value">æ¸¯ãæ¾³ãå°åæèµä¼ä¸</Property> </Entity> <Entity> <Property name="key">210</Property> <Property name="value">åèµç»è¥ä¼ä¸ï¼æ¸¯ææ¾³ãå°èµï¼</Property> </Entity> <Entity> <Property name="key">220</Property> <Property name="value">åä½ç»è¥ä¼ä¸ï¼æ¸¯ææ¾³ãå°èµï¼</Property> </Entity> <Entity> <Property name="key">230</Property> <Property name="value">æ¸¯ãæ¾³ãå°åç¬èµç»è¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">240</Property> <Property name="value">æ¸¯ãæ¾³ãå°åæèµè¡ä»½æéå ¬å¸</Property> </Entity> <Entity> <Property name="key">290</Property> <Property name="value">å ¶ä»æ¸¯ãæ¾³ãå°åæèµä¼ä¸</Property> </Entity> <Entity> <Property name="key">300</Property> <Property name="value">å¤åæèµä¼ä¸</Property> </Entity> <Entity> <Property name="key">310</Property> <Property name="value">ä¸å¤åèµç»è¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">320</Property> <Property name="value">ä¸å¤åä½ç»è¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">330</Property> <Property name="value">å¤èµä¼ä¸</Property> </Entity> <Entity> <Property name="key">340</Property> <Property name="value">å¤åæèµè¡ä»½æéå ¬å¸</Property> </Entity> <Entity> <Property name="key">390</Property> <Property name="value">å ¶ä»å¤åæèµä¼ä¸</Property> </Entity> <Entity> <Property name="key">900</Property> <Property name="value">å ¶ä»</Property> </Entity> </Collection> </Property> </Property> </PropertyDef> <PropertyDef name="gsdjzch"> <Property></Property> <Property name="label">å·¥åç»è®°æ³¨åå·</Property> </PropertyDef> <PropertyDef name="sfjbjlcbzg"> <Property></Property> <Property name="label">æ¯å¦å ·å¤åç²®å¨å¤èµæ ¼</Property> <Property name="mapping"> <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("YN")}</Property> <Property name="keyProperty">code</Property> <Property name="valueProperty">name</Property> </Property> </PropertyDef> <PropertyDef name="fddbr"> <Property></Property> <Property name="label">æ³å®ä»£è¡¨äºº</Property> </PropertyDef> <PropertyDef name="qydz"> <Property></Property> <Property name="label">ä¼ä¸å°å</Property> </PropertyDef> <PropertyDef name="qydh"> <Property></Property> <Property name="label">ä¼ä¸çµè¯</Property> </PropertyDef> <PropertyDef name="qycz"> <Property></Property> <Property name="label">ä¼ä¸ä¼ ç</Property> </PropertyDef> <PropertyDef name="qydzyx"> <Property></Property> <Property name="label">ä¼ä¸çµåé®ç®±</Property> </PropertyDef> <PropertyDef name="qywz"> <Property></Property> <Property name="label">ä¼ä¸ç½å</Property> </PropertyDef> <PropertyDef name="qyyzbm"> <Property></Property> <Property name="label">ä¼ä¸é®æ¿ç¼ç </Property> </PropertyDef> <PropertyDef name="qyjd"> <Property name="dataType">Double</Property> <Property name="label">ä¼ä¸ç»åº¦</Property> <Property name="displayFormat">#0.000000度</Property> </PropertyDef> <PropertyDef name="qywd"> <Property name="dataType">Double</Property> <Property name="label">ä¼ä¸çº¬åº¦</Property> <Property name="displayFormat">#0.000000度</Property> </PropertyDef> <PropertyDef name="qyxzqhmc"> <Property></Property> <Property name="label">ä¼ä¸è¡æ¿åºååç§°</Property> </PropertyDef> <PropertyDef name="qyxzqhdm"> <Property></Property> <Property name="label">ä¼ä¸è¡æ¿åºå代ç </Property> </PropertyDef> <PropertyDef name="khyh"> <Property></Property> <Property name="label">弿·é¶è¡</Property> <Property name="mapping"> <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("BANK")}</Property> <Property name="keyProperty">code</Property> <Property name="valueProperty">name</Property> </Property> </PropertyDef> <PropertyDef name="yhzh"> <Property name="dataType">Double</Property> <Property name="label">é¶è¡è´¦å·</Property> </PropertyDef> <PropertyDef name="yhxydj"> <Property></Property> <Property name="label">é¶è¡ä¿¡ç¨ç级</Property> </PropertyDef> <PropertyDef name="gdzc"> <Property name="dataType">Double</Property> <Property name="label">åºå®èµäº§</Property> <Property name="displayFormat">#0.00ä¸å </Property> </PropertyDef> <PropertyDef name="zczb"> <Property name="dataType">Double</Property> <Property name="label">注åèµæ¬</Property> <Property name="displayFormat">#0.00ä¸å </Property> </PropertyDef> <PropertyDef name="zc"> <Property name="dataType">Double</Property> <Property name="label">èµäº§</Property> <Property name="displayFormat">#0.00ä¸å </Property> </PropertyDef> <PropertyDef name="qycyrys"> <Property name="dataType">Double</Property> <Property name="label">ä¼ä¸ä»ä¸äººåæ°</Property> <Property name="displayFormat">#0人</Property> </PropertyDef> <PropertyDef name="sfyx"> <Property></Property> <Property name="label">æ¯å¦å¯ç¨</Property> <Property name="mapping"> <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("YN")}</Property> <Property name="keyProperty">code</Property> <Property name="valueProperty">name</Property> </Property> </PropertyDef> <PropertyDef name="bz"> <Property></Property> <Property name="label">夿³¨</Property> </PropertyDef> <PropertyDef name="bizId"> <Property/> <Property name="label">ä¸å¡ID</Property> </PropertyDef> <PropertyDef name="updateTime"> <Property name="dataType">Date</Property> <Property name="label">æ´æ°æ¶é´</Property> </PropertyDef> </DataType> <DataType name="dtGBArea"> <Property name="creationType">com.fzzy.api.entity.GbArea</Property> <PropertyDef name="code"> <Property></Property> <Property name="label">æ¥å£ç¼ç </Property> </PropertyDef> <PropertyDef name="name"> <Property></Property> <Property name="label">åç§°</Property> </PropertyDef> <PropertyDef name="parentCode"> <Property></Property> <Property name="label">ç¶ç¼ç </Property> </PropertyDef> <PropertyDef name="disabledTag"> <Property></Property> <Property name="label">ç¦ç¨</Property> </PropertyDef> <PropertyDef name="simple"> <Property></Property> <Property name="label">æ¯å¦é»è®¤</Property> </PropertyDef> <PropertyDef name="remark"> <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">whjlApi1101PR#listData</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="jlqybh"> <Property name="property">jlqybh</Property> </DataColumn> <DataColumn name="jlqymc"> <Property name="property">jlqymc</Property> </DataColumn> <DataColumn name="jlqytyshxydm"> <Property name="property">jlqytyshxydm</Property> </DataColumn> <DataColumn name="jlqylx"> <Property name="property">jlqylx</Property> </DataColumn> <DataColumn name="qyxz"> <Property name="property">qyxz</Property> </DataColumn> <DataColumn name="gsdjzch"> <Property name="property">gsdjzch</Property> </DataColumn> <DataColumn name="sfjbjlcbzg"> <Property name="property">sfjbjlcbzg</Property> </DataColumn> <DataColumn name="fddbr"> <Property name="property">fddbr</Property> </DataColumn> <DataColumn name="sfyx"> <Property name="property">sfyx</Property> </DataColumn> </DataGrid> </Container> <Dialog id="dialogMain"> <Property name="width">85%</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> <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">jlqyjc</Property> <Property name="property">jlqyjc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jlzzjgdm</Property> <Property name="property">jlzzjgdm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jlqytyshxydm</Property> <Property name="property">jlqytyshxydm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jlqylx</Property> <Property name="property">jlqylx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">qyjjlx</Property> <Property name="property">qyjjlx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">qyxz</Property> <Property name="property">qyxz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">djzclx</Property> <Property name="property">djzclx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">gsdjzch</Property> <Property name="property">gsdjzch</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sfjbjlcbzg</Property> <Property name="property">sfjbjlcbzg</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">fddbr</Property> <Property name="property">fddbr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">qydz</Property> <Property name="property">qydz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">qydh</Property> <Property name="property">qydh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">qycz</Property> <Property name="property">qycz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">qydzyx</Property> <Property name="property">qydzyx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">qywz</Property> <Property name="property">qywz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">qyyzbm</Property> <Property name="property">qyyzbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">qyjd</Property> <Property name="property">qyjd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">qywd</Property> <Property name="property">qywd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">qyxzqhmc</Property> <Property name="property">qyxzqhmc</Property> <Property name="trigger">cddGbArea</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">qyxzqhdm</Property> <Property name="property">qyxzqhdm</Property> <Property name="trigger">cddGbArea</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">khyh</Property> <Property name="property">khyh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">yhzh</Property> <Property name="property">yhzh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">yhxydj</Property> <Property name="property">yhxydj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">gdzc</Property> <Property name="property">gdzc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zczb</Property> <Property name="property">zczb</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zc</Property> <Property name="property">zc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">qycyrys</Property> <Property name="property">qycyrys</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> </AutoForm> </Children> <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1101PR#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">whjlApi1101PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1101PR#pushData</Property> </AjaxAction> <CustomDropDown id="cddGbArea"> <Property name="assignmentMap">xzqhdm=code,xzqhmc=name</Property> <Property name="height">500</Property> <Property name="minHeight">500</Property> <Property name="maxHeight">500</Property> <Property name="width">400</Property> <Container layout="regionPadding:5"> <DataSet id="dsGBArea"> <Property name="dataProvider">gbAreaPR#findByCode</Property> <Property name="dataType">[dtGBArea]</Property> </DataSet> <Container layout="hbox regionPadding:5"> <TextEditor id="key2"> <Property name="blankText"> -- ç¼ç æè åç§° --</Property> <Property name="width">200</Property> </TextEditor> <Button> <ClientEvent name="onClick">var key = view.get("#key2.value");
 view.get("#dsGBArea").set("parameter",{key:key}).flushAsync();</ClientEvent> <Property name="iconClass">fa fa-search</Property> <Property name="caption">æ¥è¯¢</Property> </Button> <Button> <ClientEvent name="onClick">var data = view.get("#dsGBArea.data:#");
 if (data) {
 view.get("#cddGbArea").close(data.toJSON());
 }</ClientEvent> <Property name="caption">ç¡®å®</Property> <Property name="iconClass">fa fa-check</Property> </Button> </Container> <DataGrid> <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsGBArea.data:#");
 if(data){
 view.get("#cddGbArea").close(data.toJSON());
 }</ClientEvent> <Property name="dataSet">dsGBArea</Property> <Property name="readOnly">true</Property> <DataColumn name="code"> <Property name="property">code</Property> </DataColumn> <DataColumn name="name"> <Property name="property">name</Property> </DataColumn> </DataGrid> </Container> </CustomDropDown> <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="userData"/> </IFrame> </Container> </Children> <Tools/> </Dialog> </View> </ViewConfig> src/main/java/com/fzzy/whjl/view/WhjlApi1102.view.xml
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,590 @@ <?xml version="1.0" encoding="UTF-8"?> <ViewConfig> <Arguments/> <Context/> <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1102</Property> <PropertyDef name="jgzdbh"> <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="jlqybh"> <Property></Property> <Property name="label">åç²®ä¼ä¸ç¼å·</Property> </PropertyDef> <PropertyDef name="jlqymc"> <Property></Property> <Property name="label">åç²®ä¼ä¸åç§°</Property> </PropertyDef> <PropertyDef name="jgzdmc"> <Property></Property> <Property name="label">åä¾ç«ç¹åç§°</Property> </PropertyDef> <PropertyDef name="jgzdjc"> <Property></Property> <Property name="label">åä¾ç«ç¹ç®ç§°</Property> </PropertyDef> <PropertyDef name="qyszbm"> <Property></Property> <Property name="label">ä¼ä¸æ§è´¨ç¼ç </Property> <Property name="mapping"> <Property name="keyProperty">key</Property> <Property name="valueProperty">value</Property> <Property name="mapValues"> <Collection> <Entity> <Property name="key">1</Property> <Property name="value">è¡æ¿æºå ³</Property> </Entity> <Entity> <Property name="key">2</Property> <Property name="value">äºä¸åä½</Property> </Entity> <Entity> <Property name="key">3</Property> <Property name="value">åå ¬ç®¡çäºä¸åä½</Property> </Entity> <Entity> <Property name="key">4</Property> <Property name="value">彿å彿æ§è¡ä¼ä¸</Property> </Entity> <Entity> <Property name="key">5</Property> <Property name="value">å èµé彿ä¼ä¸</Property> </Entity> <Entity> <Property name="key">6</Property> <Property name="value">ç§è¥ä¼ä¸</Property> </Entity> <Entity> <Property name="key">7</Property> <Property name="value">港澳å°ååå¤åä¼ä¸</Property> </Entity> <Entity> <Property name="key">8</Property> <Property name="value">个ä½å·¥åæ·</Property> </Entity> <Entity> <Property name="key">9</Property> <Property name="value">å ¶ä»</Property> </Entity> </Collection> </Property> </Property> </PropertyDef> <PropertyDef name="jgzdlb"> <Property></Property> <Property name="label">åä¾ç«ç¹ç±»å«</Property> <Property name="mapping"> <Property name="keyProperty">key</Property> <Property name="valueProperty">value</Property> <Property name="mapValues"> <Collection> <Entity> <Property name="key">1</Property> <Property name="value">ä¿éåºå°</Property> </Entity> <Entity> <Property name="key">2</Property> <Property name="value">é éä¸å¿</Property> </Entity> <Entity> <Property name="key">3</Property> <Property name="value">骨干åä¾ç«</Property> </Entity> <Entity> <Property name="key">4</Property> <Property name="value">ä¸è¬åä¾ç«</Property> </Entity> <Entity> <Property name="key">5</Property> <Property name="value">é«è¾¹å²ç¹å°åºåä¾ç«</Property> </Entity> <Entity> <Property name="key">9</Property> <Property name="value">å ¶ä»</Property> </Entity> </Collection> </Property> </Property> </PropertyDef> <PropertyDef name="jcrq"> <Property></Property> <Property name="label">å»ºææ¥æ</Property> <Property name="dataType">Date</Property> </PropertyDef> <PropertyDef name="sjcr"> <Property name="dataType">Double</Property> <Property name="label">设计ä»å®¹</Property> <Property name="displayFormat">#0.00å¨</Property> </PropertyDef> <PropertyDef name="mj"> <Property name="dataType">Double</Property> <Property name="label">é¢ç§¯</Property> <Property name="displayFormat">#0.00</Property> </PropertyDef> <PropertyDef name="lxr"> <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="dz"> <Property></Property> <Property name="label">å°å</Property> </PropertyDef> <PropertyDef name="yzbm"> <Property></Property> <Property name="label">鮿¿ç¼ç </Property> </PropertyDef> <PropertyDef name="jd"> <Property name="dataType">Double</Property> <Property name="label">ç»åº¦</Property> <Property name="displayFormat">#0.000000度</Property> </PropertyDef> <PropertyDef name="wd"> <Property name="dataType">Double</Property> <Property name="label">纬度</Property> <Property name="displayFormat">#0.000000度</Property> </PropertyDef> <PropertyDef name="CYRS"> <Property name="dataType">Integer</Property> <Property name="label">ä»ä¸äººæ°</Property> <Property name="displayFormat">#人</Property> </PropertyDef> <PropertyDef name="CLS"> <Property name="dataType">Integer</Property> <Property name="label">è½¦è¾æ°</Property> <Property name="displayFormat">#è¾</Property> </PropertyDef> <PropertyDef name="cplcfmj"> <Property name="dataType">Double</Property> <Property name="label">æåç²®ä»æ¿é¢ç§¯</Property> <Property name="displayFormat">#0.00</Property> </PropertyDef> <PropertyDef name="cplzxnl"> <Property name="dataType">Double</Property> <Property name="label">æåç²®è£ å¸è½å</Property> <Property name="displayFormat">#0.00å¨/天</Property> </PropertyDef> <PropertyDef name="sfyx"> <Property></Property> <Property name="label">æ¯å¦å¯ç¨</Property> <Property name="mapping"> <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("YN")}</Property> <Property name="keyProperty">code</Property> </Property> </PropertyDef> <PropertyDef name="bz"> <Property></Property> <Property name="label">夿³¨</Property> </PropertyDef> </DataType> <DataType name="dtGBArea"> <Property name="creationType">com.fzzy.api.entity.GbArea</Property> <PropertyDef name="code"> <Property></Property> <Property name="label">æ¥å£ç¼ç </Property> </PropertyDef> <PropertyDef name="name"> <Property></Property> <Property name="label">åç§°</Property> </PropertyDef> <PropertyDef name="parentCode"> <Property></Property> <Property name="label">ç¶ç¼ç </Property> </PropertyDef> <PropertyDef name="disabledTag"> <Property></Property> <Property name="label">ç¦ç¨</Property> </PropertyDef> <PropertyDef name="simple"> <Property></Property> <Property name="label">æ¯å¦é»è®¤</Property> </PropertyDef> <PropertyDef name="remark"> <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">whjlApi1102PR#listData</Property> </DataSet> <Container layout="regionPadding:10" layoutConstraint="top"> <Property name="contentOverflow">hidden</Property> <Property name="exClassName">bg-color</Property> <Property name="height">55</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> <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="readOnly">true</Property> <RowNumColumn/> <RowSelectorColumn> <Property name="caption">ä¸ä¼ </Property> </RowSelectorColumn> <DataColumn name="jgzdbh"> <Property name="property">jgzdbh</Property> </DataColumn> <DataColumn name="xzqhmc"> <Property name="property">xzqhmc</Property> </DataColumn> <DataColumn name="jgzdmc"> <Property name="property">jgzdmc</Property> </DataColumn> <DataColumn name="jcrq"> <Property name="property">jcrq</Property> </DataColumn> <DataColumn name="sjcr"> <Property name="property">sjcr</Property> </DataColumn> <DataColumn name="mj"> <Property name="property">mj</Property> </DataColumn> <DataColumn name="CYRS"> <Property name="property">CYRS</Property> </DataColumn> <DataColumn name="cplcfmj"> <Property name="property">cplcfmj</Property> </DataColumn> <DataColumn name="sfyx"> <Property name="property">sfyx</Property> </DataColumn> </DataGrid> </Container> <Dialog id="dialogMain"> <Property name="width">85%</Property> <Property name="caption">åä¾ç«ç¹ä¿¡æ¯</Property> <Property name="closeable">false</Property> <Property name="iconClass">fa fa-sliders</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="labelSeparator">:</Property> <Property name="labelPosition">left</Property> <Property name="labelAlign">right</Property> <Property name="labelWidth">130</Property> <AutoFormElement> <Property name="name">jgzdbh</Property> <Property name="property">jgzdbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">xzqhbm</Property> <Property name="property">xzqhbm</Property> <Property name="trigger">cddGbArea</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">xzqhmc</Property> <Property name="property">xzqhmc</Property> <Property name="trigger">cddGbArea</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">jgzdmc</Property> <Property name="property">jgzdmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdjc</Property> <Property name="property">jgzdjc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">qyszbm</Property> <Property name="property">qyszbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jgzdlb</Property> <Property name="property">jgzdlb</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jcrq</Property> <Property name="property">jcrq</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sjcr</Property> <Property name="property">sjcr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">mj</Property> <Property name="property">mj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">lxr</Property> <Property name="property">lxr</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">dz</Property> <Property name="property">dz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">yzbm</Property> <Property name="property">yzbm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jd</Property> <Property name="property">jd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">wd</Property> <Property name="property">wd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">CYRS</Property> <Property name="property">CYRS</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">CLS</Property> <Property name="property">CLS</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cplcfmj</Property> <Property name="property">cplcfmj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cplzxnl</Property> <Property name="property">cplzxnl</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sfyx</Property> <Property name="property">sfyx</Property> <Editor/> </AutoFormElement> <AutoFormElement layoutConstraint="colSpan:3"> <Property name="name">bz</Property> <Property name="property">bz</Property> <Editor/> </AutoFormElement> </AutoForm> </Children> <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1102PR#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">whjlApi1102PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1102PR#pushData</Property> </AjaxAction> <CustomDropDown id="cddGbArea"> <Property name="assignmentMap">xzqhbm=code,xzqhmc=name</Property> <Property name="height">500</Property> <Property name="minHeight">500</Property> <Property name="maxHeight">500</Property> <Property name="width">400</Property> <Container layout="regionPadding:5"> <DataSet id="dsGBArea"> <Property name="dataProvider">gbAreaPR#findByCode</Property> <Property name="dataType">[dtGBArea]</Property> </DataSet> <Container layout="hbox regionPadding:5"> <TextEditor id="key2"> <Property name="blankText"> -- ç¼ç æè åç§° --</Property> <Property name="width">200</Property> </TextEditor> <Button> <ClientEvent name="onClick">var key = view.get("#key2.value");
 view.get("#dsGBArea").set("parameter",{key:key}).flushAsync();</ClientEvent> <Property name="iconClass">fa fa-search</Property> <Property name="caption">æ¥è¯¢</Property> </Button> <Button> <ClientEvent name="onClick">var data = view.get("#dsGBArea.data:#");
 if (data) {
 view.get("#cddGbArea").close(data.toJSON());
 }</ClientEvent> <Property name="caption">ç¡®å®</Property> <Property name="iconClass">fa fa-check</Property> </Button> </Container> <DataGrid> <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsGBArea.data:#");
 if(data){
 view.get("#cddGbArea").close(data.toJSON());
 }</ClientEvent> <Property name="dataSet">dsGBArea</Property> <Property name="readOnly">true</Property> <DataColumn name="code"> <Property name="property">code</Property> </DataColumn> <DataColumn name="name"> <Property name="property">name</Property> </DataColumn> </DataGrid> </Container> </CustomDropDown> <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="userData"></Property> </IFrame> </Container> </Children> <Tools/> </Dialog> </View> </ViewConfig> src/main/java/com/fzzy/whjl/view/WhjlApi1103.view.xml
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,314 @@ <?xml version="1.0" encoding="UTF-8"?> <ViewConfig> <Arguments/> <Context/> <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1103</Property> <PropertyDef name="rybh"> <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="ryxm"> <Property/> <Property name="label">人åå§å</Property> </PropertyDef> <PropertyDef name="sfzhm"> <Property/> <Property name="label">身份è¯ç¼ç </Property> </PropertyDef> <PropertyDef name="lxdh"> <Property/> <Property name="label">èç³»çµè¯</Property> </PropertyDef> <PropertyDef name="xl"> <Property/> <Property name="label">å¦å</Property> </PropertyDef> <PropertyDef name="lxdz"> <Property/> <Property name="label">èç³»å°å</Property> </PropertyDef> <PropertyDef name="sfyx"> <Property/> <Property name="label">æ¯å¦å¯ç¨</Property> </PropertyDef> <PropertyDef name="bz"> <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">whjlApi1103PR#listData</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="ryxm"> <Property name="property">ryxm</Property> </DataColumn> <DataColumn name="jlqymc"> <Property name="property">jlqymc</Property> </DataColumn> <DataColumn name="jgzdmc"> <Property name="property">jgzdmc</Property> </DataColumn> <DataColumn name="sfzhm"> <Property name="property">sfzhm</Property> </DataColumn> <DataColumn name="lxdh"> <Property name="property">lxdh</Property> </DataColumn> <DataColumn name="xl"> <Property name="property">xl</Property> </DataColumn> <DataColumn name="lxdz"> <Property name="property">lxdz</Property> </DataColumn> <DataColumn name="sfyx"> <Property name="property">sfyx</Property> </DataColumn> </DataGrid> </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">left</Property> <Property name="labelSeparator">:</Property> <Property name="labelWidth">120</Property> <Property name="labelAlign">right</Property> <AutoFormElement> <Property name="name">rybh</Property> <Property name="property">rybh</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">ryxm</Property> <Property name="property">ryxm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sfzhm</Property> <Property name="property">sfzhm</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">lxdh</Property> <Property name="property">lxdh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">xl</Property> <Property name="property">xl</Property> <Property name="trigger">listDropXL</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">lxdz</Property> <Property name="property">lxdz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sfyx</Property> <Property name="property">sfyx</Property> <Property name="trigger">listDropYN</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bz</Property> <Property name="property">bz</Property> <Editor/> </AutoFormElement> </AutoForm> </Children> <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1103PR#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">whjlApi1103PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1103PR#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="userData"/> </IFrame> </Container> </Children> <Tools/> </Dialog> <ListDropDown id="listDropXL"> <Property name="items">å士ï¼ç¡å£«ï¼æ¬ç§ï¼å¤§ä¸ï¼ä¸ä¸ï¼é«ä¸ï¼åä¸</Property> </ListDropDown> <ListDropDown id="listDropYN"> <Property name="items">æ¯,å¦</Property> </ListDropDown> </View> </ViewConfig> src/main/java/com/fzzy/whjl/view/WhjlApi1104.view.xml
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,425 @@ <?xml version="1.0" encoding="UTF-8"?> <ViewConfig> <Arguments/> <Context/> <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1104</Property> <PropertyDef name="lydbh"> <Property/> <Property name="label">粮油åºç¼å·</Property> </PropertyDef> <PropertyDef name="xzqhbm"> <Property/> <Property name="label">è¡æ¿åºåç¼ç </Property> </PropertyDef> <PropertyDef name="xzqhmc"> <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="lydmc"> <Property/> <Property name="label">粮油åºåç§°</Property> </PropertyDef> <PropertyDef name="lxr"> <Property/> <Property name="label">è系人</Property> </PropertyDef> <PropertyDef name="lxrdh"> <Property/> <Property name="label">èç³»çµè¯</Property> </PropertyDef> <PropertyDef name="fgfw"> <Property name="dataType">Double</Property> <Property name="label">è¦çèå´</Property> <Property name="displayFormat">#0.00å ¬é</Property> </PropertyDef> <PropertyDef name="jd"> <Property name="dataType">Double</Property> <Property name="label">ç»åº¦</Property> <Property name="displayFormat">#0.000000</Property> </PropertyDef> <PropertyDef name="wd"> <Property name="dataType">Double</Property> <Property name="label">纬度</Property> <Property name="displayFormat">#0.000000</Property> </PropertyDef> <PropertyDef name="sjcr"> <Property name="dataType">Double</Property> <Property name="label">å®é ä»å®¹</Property> <Property name="displayFormat">#0.00å¨</Property> </PropertyDef> <PropertyDef name="dz"> <Property/> <Property name="label">å°å</Property> </PropertyDef> <PropertyDef name="bz"> <Property/> <Property name="label">夿³¨</Property> </PropertyDef> </DataType> <DataType name="dtGBArea"> <Property name="creationType">com.fzzy.api.entity.GbArea</Property> <PropertyDef name="code"> <Property></Property> <Property name="label">æ¥å£ç¼ç </Property> </PropertyDef> <PropertyDef name="name"> <Property></Property> <Property name="label">åç§°</Property> </PropertyDef> <PropertyDef name="parentCode"> <Property></Property> <Property name="label">ç¶ç¼ç </Property> </PropertyDef> <PropertyDef name="disabledTag"> <Property></Property> <Property name="label">ç¦ç¨</Property> </PropertyDef> <PropertyDef name="simple"> <Property></Property> <Property name="label">æ¯å¦é»è®¤</Property> </PropertyDef> <PropertyDef name="remark"> <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">whjlApi1104PR#listData</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="lydbh"> <Property name="property">lydbh</Property> </DataColumn> <DataColumn name="xzqhmc"> <Property name="property">xzqhmc</Property> </DataColumn> <DataColumn name="jlqymc"> <Property name="property">jlqymc</Property> </DataColumn> <DataColumn name="jgzdmc"> <Property name="property">jgzdmc</Property> </DataColumn> <DataColumn name="lydmc"> <Property name="property">lydmc</Property> </DataColumn> <DataColumn name="lxr"> <Property name="property">lxr</Property> </DataColumn> <DataColumn name="lxrdh"> <Property name="property">lxrdh</Property> </DataColumn> <DataColumn name="sjcr"> <Property name="property">sjcr</Property> </DataColumn> <DataColumn name="dz"> <Property name="property">dz</Property> </DataColumn> </DataGrid> </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">left</Property> <Property name="labelSeparator">:</Property> <Property name="labelAlign">right</Property> <Property name="labelWidth">120</Property> <AutoFormElement> <Property name="name">lydbh</Property> <Property name="property">lydbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">xzqhbm</Property> <Property name="property">xzqhbm</Property> <Property name="trigger">cddGbArea</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">xzqhmc</Property> <Property name="property">xzqhmc</Property> <Property name="trigger">cddGbArea</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">lydmc</Property> <Property name="property">lydmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">lxr</Property> <Property name="property">lxr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">lxrdh</Property> <Property name="property">lxrdh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">fgfw</Property> <Property name="property">fgfw</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jd</Property> <Property name="property">jd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">wd</Property> <Property name="property">wd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sjcr</Property> <Property name="property">sjcr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">dz</Property> <Property name="property">dz</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bz</Property> <Property name="property">bz</Property> <Editor/> </AutoFormElement> </AutoForm> </Children> <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1101PR#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">whjlApi1101PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1101PR#pushData</Property> </AjaxAction> <CustomDropDown id="cddGbArea"> <Property name="assignmentMap">xzqhbm=code,xzqhmc=name</Property> <Property name="height">500</Property> <Property name="minHeight">500</Property> <Property name="maxHeight">500</Property> <Property name="width">400</Property> <Container layout="regionPadding:5"> <DataSet id="dsGBArea"> <Property name="dataProvider">gbAreaPR#findByCode</Property> <Property name="dataType">[dtGBArea]</Property> </DataSet> <Container layout="hbox regionPadding:5"> <TextEditor id="key2"> <Property name="blankText"> -- ç¼ç æè åç§° --</Property> <Property name="width">200</Property> </TextEditor> <Button> <ClientEvent name="onClick">var key = view.get("#key2.value");
 view.get("#dsGBArea").set("parameter",{key:key}).flushAsync();</ClientEvent> <Property name="iconClass">fa fa-search</Property> <Property name="caption">æ¥è¯¢</Property> </Button> <Button> <ClientEvent name="onClick">var data = view.get("#dsGBArea.data:#");
 if (data) {
 view.get("#cddGbArea").close(data.toJSON());
 }</ClientEvent> <Property name="caption">ç¡®å®</Property> <Property name="iconClass">fa fa-check</Property> </Button> </Container> <DataGrid> <ClientEvent name="onDataRowDoubleClick">var data = view.get("#dsGBArea.data:#");
 if(data){
 view.get("#cddGbArea").close(data.toJSON());
 }</ClientEvent> <Property name="dataSet">dsGBArea</Property> <Property name="readOnly">true</Property> <DataColumn name="code"> <Property name="property">code</Property> </DataColumn> <DataColumn name="name"> <Property name="property">name</Property> </DataColumn> </DataGrid> </Container> </CustomDropDown> <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="userData"/> </IFrame> </Container> </Children> <Tools/> </Dialog> </View> </ViewConfig> src/main/java/com/fzzy/whjl/view/WhjlApi1105.view.xml
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,462 @@ <?xml version="1.0" encoding="UTF-8"?> <ViewConfig> <Arguments/> <Context/> <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1105</Property> <PropertyDef name="cfbh"> <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="cfmc"> <Property/> <Property name="label">仿¿åç§°</Property> </PropertyDef> <PropertyDef name="cflx"> <Property/> <Property name="label">仿¿ç±»å</Property> <Property name="mapping"> <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CFLX")}</Property> <Property name="keyProperty">code</Property> <Property name="valueProperty">name</Property> </Property> </PropertyDef> <PropertyDef name="cfjg"> <Property/> <Property name="label">仿¿ç»æ</Property> </PropertyDef> <PropertyDef name="jzlx"> <Property/> <Property name="label">建çç±»å</Property> </PropertyDef> <PropertyDef name="cfcdzj"> <Property name="dataType">Double</Property> <Property name="label">仿¿é¿åº¦(ç´å¾)</Property> <Property name="displayFormat">#0.0ç±³</Property> </PropertyDef> <PropertyDef name="cfkd"> <Property name="dataType">Double</Property> <Property name="label">仿¿å®½åº¦</Property> <Property name="displayFormat">#0.0ç±³</Property> </PropertyDef> <PropertyDef name="cfgd"> <Property name="dataType">Double</Property> <Property name="label">仿¿é«åº¦</Property> <Property name="displayFormat">#0.0ç±³</Property> </PropertyDef> <PropertyDef name="cfsjcr"> <Property name="dataType">Double</Property> <Property name="label">仿¿è®¾è®¡ä»å®¹</Property> <Property name="displayFormat">#0.00å¨</Property> </PropertyDef> <PropertyDef name="cfsjcrO1"> <Property name="dataType">Double</Property> <Property name="label">仿¿å®é ä»å®¹</Property> <Property name="displayFormat">#0.00å¨</Property> </PropertyDef> <PropertyDef name="lxdh"> <Property/> <Property name="label">èç³»çµè¯</Property> </PropertyDef> <PropertyDef name="cfjd"> <Property name="dataType">Double</Property> <Property name="label">仿¿ç»åº¦</Property> <Property name="displayFormat">#0.000000度</Property> </PropertyDef> <PropertyDef name="cfwd"> <Property name="dataType">Double</Property> <Property name="label">仿¿çº¬åº¦</Property> <Property name="displayFormat">#0.000000度</Property> </PropertyDef> <PropertyDef name="qyrq"> <Property/> <Property name="label">å¯ç¨æ¥æ</Property> <Property name="dataType">Date</Property> </PropertyDef> <PropertyDef name="cfzt"> <Property/> <Property name="label">仿¿ç¶æ</Property> <Property name="mapping"> <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CFZT")}</Property> <Property name="keyProperty">code</Property> <Property name="valueProperty">name</Property> </Property> </PropertyDef> <PropertyDef name="cfsyzt"> <Property/> <Property name="label">仿¿ä½¿ç¨ç¶æ</Property> <Property name="mapping"> <Property name="keyProperty">code</Property> <Property name="valueProperty">name</Property> <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("HWZT")}</Property> </Property> </PropertyDef> <PropertyDef name="zp"> <Property name="dataType">Double</Property> <Property name="label">罩æ£</Property> <Property name="displayFormat">#0.00å¨</Property> </PropertyDef> <PropertyDef name="jyd"> <Property name="dataType">Double</Property> <Property name="label">ç®æå¤</Property> <Property name="displayFormat">#0.00å¨</Property> </PropertyDef> <PropertyDef name="jyc"> <Property name="dataType">Double</Property> <Property name="label">ç®æä»</Property> <Property name="displayFormat">#0.00å¨</Property> </PropertyDef> <PropertyDef name="sfyx"> <Property/> <Property name="label">æ¯å¦ææ</Property> </PropertyDef> <PropertyDef name="bz"> <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">whjlApi1105PR#listData</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="cfmc"> <Property name="property">cfmc</Property> </DataColumn> <DataColumn name="jlqymc"> <Property name="property">jlqymc</Property> </DataColumn> <DataColumn name="jgzdmc"> <Property name="property">jgzdmc</Property> </DataColumn> <DataColumn name="cfcdzj"> <Property name="property">cfcdzj</Property> </DataColumn> <DataColumn name="cfkd"> <Property name="property">cfkd</Property> </DataColumn> <DataColumn name="cfgd"> <Property name="property">cfgd</Property> </DataColumn> <DataColumn name="cfsjcrO1"> <Property name="property">cfsjcrO1</Property> </DataColumn> <DataColumn name="qyrq"> <Property name="property">qyrq</Property> </DataColumn> <DataColumn name="cfzt"> <Property name="property">cfzt</Property> </DataColumn> <DataColumn name="cfsyzt"> <Property name="property">cfsyzt</Property> </DataColumn> <DataColumn name="sfyx"> <Property name="property">sfyx</Property> </DataColumn> </DataGrid> </Container> <Dialog id="dialogMain"> <Property name="width">85%</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">left</Property> <Property name="labelSeparator">:</Property> <Property name="labelWidth">120</Property> <Property name="labelAlign">right</Property> <AutoFormElement> <Property name="name">cfbh</Property> <Property name="property">cfbh</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">cfmc</Property> <Property name="property">cfmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cflx</Property> <Property name="property">cflx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cfjg</Property> <Property name="property">cfjg</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jzlx</Property> <Property name="property">jzlx</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cfcdzj</Property> <Property name="property">cfcdzj</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cfkd</Property> <Property name="property">cfkd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cfgd</Property> <Property name="property">cfgd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cfsjcr</Property> <Property name="property">cfsjcr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cfsjcrO1</Property> <Property name="property">cfsjcrO1</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">lxdh</Property> <Property name="property">lxdh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cfjd</Property> <Property name="property">cfjd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cfwd</Property> <Property name="property">cfwd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">qyrq</Property> <Property name="property">qyrq</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cfzt</Property> <Property name="property">cfzt</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">cfsyzt</Property> <Property name="property">cfsyzt</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">zp</Property> <Property name="property">zp</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jyd</Property> <Property name="property">jyd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">jyc</Property> <Property name="property">jyc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sfyx</Property> <Property name="property">sfyx</Property> <Property name="trigger">listDropYN</Property> <Editor/> </AutoFormElement> <AutoFormElement layoutConstraint="colSpan:3"> <Property name="name">bz</Property> <Property name="property">bz</Property> <Editor/> </AutoFormElement> </AutoForm> </Children> <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1105PR#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">whjlApi1105PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1105PR#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="userData"></Property> </IFrame> </Container> </Children> <Tools/> </Dialog> <ListDropDown id="listDropYN"> <Property name="items">æ¯,å¦</Property> </ListDropDown> </View> </ViewConfig> src/main/java/com/fzzy/whjl/view/WhjlApi1106.view.xml
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,418 @@ <?xml version="1.0" encoding="UTF-8"?> <ViewConfig> <Arguments/> <Context/> <Model> <DataType name="dtMain"> <Property name="creationType">com.fzzy.whjl.dto.WhjlApi1106</Property> <PropertyDef name="ajbh"> <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="sscfbh"> <Property/> <Property name="label">仿¿ç¼å·</Property> </PropertyDef> <PropertyDef name="sscfmc"> <Property/> <Property name="label">仿¿åç§°</Property> </PropertyDef> <PropertyDef name="ajmc"> <Property/> <Property name="label">å»é´åç§°</Property> </PropertyDef> <PropertyDef name="ajcd"> <Property name="dataType">Double</Property> <Property name="label">å»é´é¿åº¦</Property> <Property name="displayFormat">#0.0ç±³</Property> </PropertyDef> <PropertyDef name="ajkd"> <Property name="dataType">Double</Property> <Property name="label">å»é´å®½åº¦</Property> <Property name="displayFormat">#0.0ç±³</Property> </PropertyDef> <PropertyDef name="ajgd"> <Property/> <Property name="label">å»é´é«åº¦</Property> <Property name="dataType">Double</Property> <Property name="displayFormat">#0.0ç±³</Property> </PropertyDef> <PropertyDef name="ajsjcr"> <Property name="dataType">Double</Property> <Property name="label">å»é´è®¾è®¡ä»å®¹</Property> <Property name="displayFormat">#0.00å¨</Property> </PropertyDef> <PropertyDef name="ajsjcr01"> <Property name="dataType">Double</Property> <Property name="label">å»é´å®é ä»å®¹</Property> <Property name="displayFormat">#0.00å¨</Property> </PropertyDef> <PropertyDef name="ajlxdh"> <Property/> <Property name="label">å»é´èç³»çµè¯</Property> </PropertyDef> <PropertyDef name="ajjd"> <Property name="dataType">Double</Property> <Property name="label">å»é´ç»åº¦</Property> <Property name="displayFormat">#0.000000度</Property> </PropertyDef> <PropertyDef name="ajwd"> <Property name="dataType">Double</Property> <Property name="label">å»é´çº¬åº¦</Property> <Property name="displayFormat">#0.000000度</Property> </PropertyDef> <PropertyDef name="ajqyrq"> <Property name="dataType">Date</Property> <Property name="label">å»é´å¯ç¨æ¥æ</Property> </PropertyDef> <PropertyDef name="ajzt"> <Property/> <Property name="label">å»é´ç¶æ</Property> <Property name="mapping"> <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("CFZT")}</Property> <Property name="keyProperty">code</Property> <Property name="valueProperty">name</Property> </Property> </PropertyDef> <PropertyDef name="ajsyzt"> <Property/> <Property name="label">å»é´ä½¿ç¨ç¶æ</Property> <Property name="mapping"> <Property name="mapValues">${dorado.getDataProvider("apiTriggerService#trigger").getResult("HWZT")}</Property> <Property name="keyProperty">code</Property> <Property name="valueProperty">name</Property> </Property> </PropertyDef> <PropertyDef name="sfyx"> <Property/> <Property name="label">æ¯å¦ææ</Property> </PropertyDef> <PropertyDef name="bz"> <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">whjlApi1106PR#listData</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="ajmc"> <Property name="property">ajmc</Property> </DataColumn> <DataColumn name="sscfmc"> <Property name="property">sscfmc</Property> </DataColumn> <DataColumn name="ajcd"> <Property name="property">ajcd</Property> </DataColumn> <DataColumn name="ajkd"> <Property name="property">ajkd</Property> </DataColumn> <DataColumn name="ajgd"> <Property name="property">ajgd</Property> </DataColumn> <DataColumn name="ajsjcr"> <Property name="property">ajsjcr</Property> </DataColumn> <DataColumn name="ajsjcr01"> <Property name="property">ajsjcr01</Property> </DataColumn> <DataColumn name="ajqyrq"> <Property name="property">ajqyrq</Property> </DataColumn> <DataColumn name="ajzt"> <Property name="property">ajzt</Property> </DataColumn> <DataColumn name="ajsyzt"> <Property name="property">ajsyzt</Property> </DataColumn> <DataColumn name="sfyx"> <Property name="property">sfyx</Property> </DataColumn> </DataGrid> </Container> <Dialog id="dialogMain"> <Property name="width">85%</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">left</Property> <Property name="labelSeparator">:</Property> <Property name="labelWidth">120</Property> <Property name="labelAlign">right</Property> <AutoFormElement> <Property name="name">ajbh</Property> <Property name="property">ajbh</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">sscfbh</Property> <Property name="property">sscfbh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sscfmc</Property> <Property name="property">sscfmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ajmc</Property> <Property name="property">ajmc</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ajcd</Property> <Property name="property">ajcd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ajkd</Property> <Property name="property">ajkd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ajgd</Property> <Property name="property">ajgd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ajsjcr</Property> <Property name="property">ajsjcr</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ajsjcr01</Property> <Property name="property">ajsjcr01</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ajlxdh</Property> <Property name="property">ajlxdh</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ajjd</Property> <Property name="property">ajjd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ajwd</Property> <Property name="property">ajwd</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ajqyrq</Property> <Property name="property">ajqyrq</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ajzt</Property> <Property name="property">ajzt</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">ajsyzt</Property> <Property name="property">ajsyzt</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">sfyx</Property> <Property name="property">sfyx</Property> <Property name="trigger">listDropYN</Property> <Editor/> </AutoFormElement> <AutoFormElement> <Property name="name">bz</Property> <Property name="property">bz</Property> <Editor/> </AutoFormElement> </AutoForm> </Children> <Tools/> </Dialog> <UpdateAction id="updateSave"> <Property name="dataResolver">whjlApi1106PR#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">whjlApi1106PR#delData</Property> </AjaxAction> <AjaxAction id="ajaxPush"> <Property name="service">whjlApi1106PR#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="userData"></Property> </IFrame> </Container> </Children> <Tools/> </Dialog> <ListDropDown id="listDropYN"> <Property name="items">æ¯,å¦</Property> </ListDropDown> </View> </ViewConfig> src/main/java/com/fzzy/whjl/view/pr/WhjlApi1101PR.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,65 @@ package com.fzzy.whjl.view.pr; import com.bstek.dorado.annotation.DataProvider; import com.bstek.dorado.annotation.DataResolver; import com.bstek.dorado.annotation.Expose; import com.fzzy.whjl.dto.WhjlApi1101; import org.springframework.stereotype.Component; import java.util.List; /** * åç²®ä¼ä¸-åç²®ä¼ä¸ä¿¡æ¯ * * @Author:YAN */ @Component public class WhjlApi1101PR { /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1101PR#listData * * @return */ @DataProvider public List<WhjlApi1101> listData() { return null; } /** * æ´æ°æä¿®æ¹ * whjlApi1101PR#saveData * * @param data * @return */ @DataResolver public String saveData(WhjlApi1101 data) { return null; } /** * å é¤ * whjlApi1101PR#delData * * @param data * @return */ @Expose public String delData(WhjlApi1101 data) { return null; } /** * ä¸ä¼ * whjlApi1101PR#pushData * * @param items * @return */ @Expose public String pushData(List<WhjlApi1101> items) { return null; } } src/main/java/com/fzzy/whjl/view/pr/WhjlApi1102PR.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,64 @@ package com.fzzy.whjl.view.pr; import com.bstek.dorado.annotation.DataProvider; import com.bstek.dorado.annotation.DataResolver; import com.bstek.dorado.annotation.Expose; import com.fzzy.whjl.dto.WhjlApi1102; import org.springframework.stereotype.Component; import java.util.List; /** * åç²®ä¼ä¸-åä¾ç«ç¹ä¿¡æ¯ * * @Author:YAN */ @Component public class WhjlApi1102PR { /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1102PR#listData * * @return */ @DataProvider public List<WhjlApi1102> listData() { return null; } /** * æ´æ°æä¿®æ¹ * whjlApi1102PR#saveData * * @param data * @return */ @DataResolver public String saveData(WhjlApi1102 data) { return null; } /** * å é¤ * whjlApi1102PR#delData * * @param data * @return */ @Expose public String delData(WhjlApi1102 data) { return null; } /** * ä¸ä¼ * whjlApi1102PR#pushData * * @param items * @return */ @Expose public String pushData(List<WhjlApi1102> items) { return null; } } src/main/java/com/fzzy/whjl/view/pr/WhjlApi1103PR.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,64 @@ package com.fzzy.whjl.view.pr; import com.bstek.dorado.annotation.DataProvider; import com.bstek.dorado.annotation.DataResolver; import com.bstek.dorado.annotation.Expose; import com.fzzy.whjl.dto.WhjlApi1103; import org.springframework.stereotype.Component; import java.util.List; /** * å工人åä¿¡æ¯ * * @Author:YAN */ @Component public class WhjlApi1103PR { /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1103PR#listData * * @return */ @DataProvider public List<WhjlApi1103> listData() { return null; } /** * æ´æ°æä¿®æ¹ * whjlApi1103PR#saveData * * @param data * @return */ @DataResolver public String saveData(WhjlApi1103 data) { return null; } /** * å é¤ * whjlApi1103PR#delData * * @param data * @return */ @Expose public String delData(WhjlApi1103 data) { return null; } /** * ä¸ä¼ * whjlApi1103PR#pushData * * @param items * @return */ @Expose public String pushData(List<WhjlApi1103> items) { return null; } } src/main/java/com/fzzy/whjl/view/pr/WhjlApi1104PR.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,65 @@ package com.fzzy.whjl.view.pr; import com.bstek.dorado.annotation.DataProvider; import com.bstek.dorado.annotation.DataResolver; import com.bstek.dorado.annotation.Expose; import com.fzzy.whjl.dto.WhjlApi1103; import com.fzzy.whjl.dto.WhjlApi1104; import org.springframework.stereotype.Component; import java.util.List; /** * æ¾å¿ç²®æ²¹åº * * @Author:YAN */ @Component public class WhjlApi1104PR { /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1104PR#listData * * @return */ @DataProvider public List<WhjlApi1104> listData() { return null; } /** * æ´æ°æä¿®æ¹ * whjlApi1104PR#saveData * * @param data * @return */ @DataResolver public String saveData(WhjlApi1104 data) { return null; } /** * å é¤ * whjlApi1104PR#delData * * @param data * @return */ @Expose public String delData(WhjlApi1104 data) { return null; } /** * ä¸ä¼ * whjlApi1104PR#pushData * * @param items * @return */ @Expose public String pushData(List<WhjlApi1104> items) { return null; } } src/main/java/com/fzzy/whjl/view/pr/WhjlApi1105PR.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,64 @@ package com.fzzy.whjl.view.pr; import com.bstek.dorado.annotation.DataProvider; import com.bstek.dorado.annotation.DataResolver; import com.bstek.dorado.annotation.Expose; import com.fzzy.whjl.dto.WhjlApi1105; import org.springframework.stereotype.Component; import java.util.List; /** * 仿¿ä¿¡æ¯ * * @Author:YAN */ @Component public class WhjlApi1105PR { /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1105PR#listData * * @return */ @DataProvider public List<WhjlApi1105> listData() { return null; } /** * æ´æ°æä¿®æ¹ * whjlApi1105PR#saveData * * @param data * @return */ @DataResolver public String saveData(WhjlApi1105 data) { return null; } /** * å é¤ * whjlApi1105PR#delData * * @param data * @return */ @Expose public String delData(WhjlApi1105 data) { return null; } /** * ä¸ä¼ * whjlApi1105PR#pushData * * @param items * @return */ @Expose public String pushData(List<WhjlApi1105> items) { return null; } } src/main/java/com/fzzy/whjl/view/pr/WhjlApi1106PR.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,64 @@ package com.fzzy.whjl.view.pr; import com.bstek.dorado.annotation.DataProvider; import com.bstek.dorado.annotation.DataResolver; import com.bstek.dorado.annotation.Expose; import com.fzzy.whjl.dto.WhjlApi1106; import org.springframework.stereotype.Component; import java.util.List; /** * å»é´ä¿¡æ¯ * * @Author:YAN */ @Component public class WhjlApi1106PR { /** * è·ååè¡¨ä¿¡æ¯ * whjlApi1106PR#listData * * @return */ @DataProvider public List<WhjlApi1106> listData() { return null; } /** * æ´æ°æä¿®æ¹ * whjlApi1106PR#saveData * * @param data * @return */ @DataResolver public String saveData(WhjlApi1106 data) { return null; } /** * å é¤ * whjlApi1106PR#delData * * @param data * @return */ @Expose public String delData(WhjlApi1106 data) { return null; } /** * ä¸ä¼ * whjlApi1106PR#pushData * * @param items * @return */ @Expose public String pushData(List<WhjlApi1106> items) { return null; } }