From ab8b3af2bc6460dba2a807d27004e128d772ab24 Mon Sep 17 00:00:00 2001 From: YYC <1833023622@qq.com> Date: 星期五, 12 七月 2024 09:30:09 +0800 Subject: [PATCH] 增城配置 --- src/main/java/com/fzzy/api/view/Api1211.view.xml | 87 ++++++++++++++++++++++++------------------- 1 files changed, 48 insertions(+), 39 deletions(-) diff --git a/src/main/java/com/fzzy/api/view/Api1211.view.xml b/src/main/java/com/fzzy/api/view/Api1211.view.xml index 302d7d2..59fa706 100644 --- a/src/main/java/com/fzzy/api/view/Api1211.view.xml +++ b/src/main/java/com/fzzy/api/view/Api1211.view.xml @@ -26,6 +26,10 @@ <Property></Property> <Property name="label">搴撳尯浠g爜</Property> </PropertyDef> + <PropertyDef name="tykqbm"> + <Property></Property> + <Property name="label">鍥藉缁熶竴搴撳尯缂栫爜</Property> + </PropertyDef> <PropertyDef name="hwdm"> <Property></Property> <Property name="label">璐т綅浠g爜</Property> @@ -40,7 +44,7 @@ </Property> </PropertyDef> <PropertyDef name="id"> - <Property name="dataType">Integer</Property> + <Property name="dataType">String</Property> </PropertyDef> <PropertyDef name="lspzdm"> <Property></Property> @@ -60,19 +64,19 @@ <Property name="label">鏈堜唤</Property> </PropertyDef> <PropertyDef name="qcsl"> - <Property name="dataType">double</Property> + <Property name="dataType">Double</Property> <Property name="label">鏈熷垵鏁伴噺(鍏枻)</Property> </PropertyDef> <PropertyDef name="bqsrsl"> - <Property name="dataType">double</Property> + <Property name="dataType">Double</Property> <Property name="label">鏈湡鏀跺叆鏁伴噺(鍏枻)</Property> </PropertyDef> <PropertyDef name="bqzcsl"> - <Property name="dataType">double</Property> + <Property name="dataType">Double</Property> <Property name="label">鏈湡鏀嚭鏁伴噺(鍏枻)</Property> </PropertyDef> <PropertyDef name="qmye"> - <Property name="dataType">double</Property> + <Property name="dataType">Double</Property> <Property name="label">鏈熸湯鏁伴噺(鍏枻)</Property> </PropertyDef> <PropertyDef name="yjbz"> @@ -134,7 +138,7 @@ </ToolBarLabel> <ToolBarButton> <ClientEvent name="onClick">var query = view.get("#dsQuery").getData();
 -view.get("#dsMain").set("parameter",query).flushAsync();</ClientEvent> + view.get("#dsMain").set("parameter",query).flushAsync();</ClientEvent> <Property name="caption">鏌ヨ</Property> <Property name="iconClass">fa fa-search</Property> <Property name="width">100</Property> @@ -142,7 +146,7 @@ </ToolBarButton> <ToolBarButton id="btnAdd"> <ClientEvent name="onClick">view.get("#dsMain").insert();
 -view.get("#dialogMain").show();</ClientEvent> + view.get("#dialogMain").show();</ClientEvent> <Property name="caption">鏂板</Property> <Property name="iconClass">fa fa-plus</Property> <Property name="width">100</Property> @@ -151,9 +155,9 @@ </ToolBarButton> <ToolBarButton id="btnUpdate"> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 -if(cur){
 - view.get("#dialogMain").show();
 -}</ClientEvent> + if(cur){
 + view.get("#dialogMain").show();
 + }</ClientEvent> <Property name="caption">淇敼</Property> <Property name="iconClass">fa fa-pencil</Property> <Property name="width">100</Property> @@ -162,14 +166,14 @@ </ToolBarButton> <ToolBarButton> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 -view.get("#ajaxDelUpdate").set("parameter",cur).execute(function(result){
 - if(result){
 - $alert(result);
 - } else{
 - cur.set("czbz","d")
 - }
 -});
 -</ClientEvent> + view.get("#ajaxDelUpdate").set("parameter",cur).execute(function(result){
 + if(result){
 + $alert(result);
 + } else{
 + cur.set("czbz","d")
 + }
 + });
 + </ClientEvent> <Property name="caption">鏍囪鍒犻櫎</Property> <Property name="iconClass">fa fa-minus</Property> <Property name="exClassName">toolbar-button-warn</Property> @@ -177,14 +181,14 @@ </ToolBarButton> <ToolBarButton id="btnDel"> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 -view.get("#ajaxDel").set("parameter",cur).execute(function(result){
 - if(result){
 - $alert(result);
 - } else{
 - cur.remove();
 - }
 -});
 -</ClientEvent> + view.get("#ajaxDel").set("parameter",cur).execute(function(result){
 + if(result){
 + $alert(result);
 + } else{
 + cur.remove();
 + }
 + });
 + </ClientEvent> <Property name="caption">鐩存帴鍒犻櫎</Property> <Property name="iconClass">fa fa-minus</Property> <Property name="exClassName">toolbar-button-warn</Property> @@ -193,15 +197,15 @@ </ToolBarButton> <ToolBarButton> <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();
 + if(select && select.length > 0){
 + view.get("#ajaxPush").set("parameter",select).execute(function(result){
 + view.get("#dsMain").flushAsync();
 $notify(result);
 - });
 -}else{
 - $alert("璇峰嬀閫変笂鎶ユ暟鎹紒");
 -}
 -</ClientEvent> + });
 + }else{
 + $alert("璇峰嬀閫変笂鎶ユ暟鎹紒");
 + }
 + </ClientEvent> <Property name="caption">鎵嬪姩涓婁紶</Property> <Property name="iconClass">fa fa-hand-o-up</Property> <Property name="exClassName">toolbar-button-push</Property> @@ -305,17 +309,17 @@ <Buttons> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 -view.get("#updateSave").execute(function(){
 - self.get("parent").hide();
 -});</ClientEvent> + view.get("#updateSave").execute(function(){
 + self.get("parent").hide();
 + });</ClientEvent> <Property name="caption">淇濆瓨淇敼</Property> <Property name="iconClass">fa fa-check</Property> <Property name="exClassName">toolbar-button</Property> </Button> <Button> <ClientEvent name="onClick">var cur = view.get("#dgMain").getCurrentItem();
 -self.get("parent").hide();
 -if(cur) cur.cancel();</ClientEvent> + self.get("parent").hide();
 + if(cur) cur.cancel();</ClientEvent> <Property name="caption">鍙栨秷淇敼</Property> <Property name="iconClass">fa fa-times</Property> <Property name="exClassName">toolbar-button-warn</Property> @@ -335,6 +339,11 @@ <Editor/> </AutoFormElement> <AutoFormElement> + <Property name="name">tykqbm</Property> + <Property name="property">tykqbm</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> <Property name="name">lspzdm</Property> <Property name="property">lspzdm</Property> <Editor/> -- Gitblit v1.9.3