From caf2599a9869244ded811018811c37a2aabac3fc Mon Sep 17 00:00:00 2001
From: vince <757871790@qq.com>
Date: 星期三, 08 一月 2025 11:29:05 +0800
Subject: [PATCH] 优化测温协议

---
 src/main/java/com/fzzy/gateway/view/GatewayConf.view.xml |   35 +++++------------------------------
 1 files changed, 5 insertions(+), 30 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 fb93759..4f26326 100644
--- a/src/main/java/com/fzzy/gateway/view/GatewayConf.view.xml
+++ b/src/main/java/com/fzzy/gateway/view/GatewayConf.view.xml
@@ -15,10 +15,6 @@
         <Property name="label">搴撳尯浠g爜</Property>
         <Property name="required">true</Property>
       </PropertyDef>
-      <PropertyDef name="appId">
-        <Property></Property>
-        <Property name="label">appId</Property>
-      </PropertyDef>
       <PropertyDef name="gatewayId">
         <Property></Property>
         <Property name="label">缃戝叧ID</Property>
@@ -86,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>
@@ -154,10 +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>
+        <Property name="action">ajaxInit</Property>
       </ToolBarButton>
     </ToolBar>
     <DataGrid id="dgMain">
@@ -279,11 +259,6 @@
               <Editor/>
             </AutoFormElement>
             <AutoFormElement>
-              <Property name="name">appId</Property>
-              <Property name="property">appId</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
               <Property name="name">userName</Property>
               <Property name="property">userName</Property>
               <Editor/>
@@ -354,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>
@@ -371,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