From eebab358e2882fc7e3aeec152db5151a6bd0be02 Mon Sep 17 00:00:00 2001
From: jiazx0107@163.com <jiazx0107@163.com>
Date: 星期四, 09 十一月 2023 17:24:39 +0800
Subject: [PATCH] 重新调整测试页面

---
 src/main/java/com/fzzy/gateway/view/GatewayConf.view.xml |   32 +++++---------------------------
 1 files changed, 5 insertions(+), 27 deletions(-)

diff --git a/src/main/java/com/fzzy/gateway/view/GatewayConf.view.xml b/src/main/java/com/fzzy/gateway/view/GatewayConf.view.xml
index 94c6caa..4f26326 100644
--- a/src/main/java/com/fzzy/gateway/view/GatewayConf.view.xml
+++ b/src/main/java/com/fzzy/gateway/view/GatewayConf.view.xml
@@ -82,28 +82,12 @@
         <Property name="label">绮簱绯荤粺涓簱鍖虹紪鐮�</Property>
       </PropertyDef>
     </DataType>
-    <DataType name="dtParam" parent="Map">
-      <PropertyDef name="start">
-        <Property name="dataType">Date</Property>
-      </PropertyDef>
-      <PropertyDef name="end">
-        <Property name="dataType">Date</Property>
-      </PropertyDef>
-      <PropertyDef name="dayTime">
-        <Property name="dataType">Date</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">gatewayConfService#listAll</Property>
-    </DataSet>
-    <DataSet id="dsQuery">
-      <ClientEvent name="onReady">self.insert({});</ClientEvent>
-      <Property name="dataType">dtParam</Property>
     </DataSet>
     <ToolBar>
       <ToolBarLabel>
@@ -150,16 +134,10 @@
       </ToolBarButton>
       <Separator/>
       <ToolBarButton>
-        <ClientEvent name="onClick">view.get(&quot;#dialogGrain&quot;).show();</ClientEvent>
-        <Property name="caption">绮儏鎺ㄩ�佹祴璇�</Property>
+        <Property name="caption">缃戝叧鍒濆鍖�</Property>
         <Property name="iconClass">fa fa-search</Property>
         <Property name="exClassName">toolbar-button-push</Property>
-      </ToolBarButton>
-      <ToolBarButton>
-        <ClientEvent name="onClick">view.get(&quot;#dialogWeight&quot;).show();</ClientEvent>
-        <Property name="caption">鍦扮鎺ㄩ�佹祴璇�</Property>
-        <Property name="iconClass">fa fa-search</Property>
-        <Property name="exClassName">toolbar-button-push</Property>
+        <Property name="action">ajaxInit</Property>
       </ToolBarButton>
     </ToolBar>
     <DataGrid id="dgMain">
@@ -351,7 +329,7 @@
           <Property name="caption">纭畾鎵ц</Property>
         </Button>
         <Button>
-          <ClientEvent name="onClick">view.get(&quot;parent&quot;).hide();</ClientEvent>
+          <ClientEvent name="onClick">view.get(&quot;#dialogGrain&quot;).hide();</ClientEvent>
           <Property name="caption">鍙栨秷鎵ц</Property>
         </Button>
       </Buttons>
@@ -368,8 +346,8 @@
       </Children>
       <Tools/>
     </Dialog>
-    <AjaxAction id="ajaxTestGrain">
-      <Property name="service">gatewayDeviceService#ajaxTestGrain</Property>
+    <AjaxAction id="ajaxInit">
+      <Property name="service">apiInitService#init</Property>
       <Property name="executingMessage">鍦ㄥ姫鍔涙墽琛屼腑鈥︹��</Property>
     </AjaxAction>
   </View>

--
Gitblit v1.9.3