vince
2024-04-26 b1c572949997a5d82d9b609163ff280a1c49627d
src/main/java/com/fzzy/gateway/view/GatewayDevice.view.xml
@@ -149,6 +149,19 @@
        <Property></Property>
        <Property name="label">电缆类型</Property>
      </PropertyDef>
      <PropertyDef name="depotType">
        <Property></Property>
        <Property name="label">仓库类型</Property>
        <Property name="mapping">
          <Property name="mapValues">${dorado.getDataProvider(&quot;apiTriggerPR#listDepotType&quot;).getResult()}</Property>
          <Property name="keyProperty">code</Property>
          <Property name="valueProperty">name</Property>
        </Property>
      </PropertyDef>
      <PropertyDef name="bhId">
        <Property></Property>
        <Property name="label">分机内部仓库编码</Property>
      </PropertyDef>
    </DataType>
    <DataType name="dtParam" parent="Map">
      <PropertyDef name="start">
@@ -252,12 +265,15 @@
        <Property name="exClassName">toolbar-button-push</Property>
      </ToolBarButton>
      <ToolBarButton>
        <ClientEvent name="onClick">var data = view.get(&quot;#dsMain.data:#&quot;);&#xD;
var param = {&#xD;
   deviceId:data.get(&quot;deviceId&quot;),&#xD;
   bizType:&quot;testGrain&quot;&#xD;
}&#xD;
testDevice(param);</ClientEvent>
        <ClientEvent name="onClick">$confirm(&quot;确认测试粮情?&quot;,function(){&#xD;
   var data = view.get(&quot;#dsMain.data:#&quot;);&#xD;
   var param = {&#xD;
      deviceId:data.get(&quot;deviceId&quot;),&#xD;
      bizType:&quot;testGrain&quot;&#xD;
   }&#xD;
testDevice(param);&#xD;
});&#xD;
</ClientEvent>
        <Property name="caption">粮情调试</Property>
        <Property name="iconClass">fa fa-wrench</Property>
        <Property name="exClassName">toolbar-button-push</Property>
@@ -440,7 +456,12 @@
                  <Property name="property">position</Property>
                  <Editor/>
                </AutoFormElement>
                <AutoFormElement layoutConstraint="colSpan:2">
                <AutoFormElement>
                  <Property name="name">bhId</Property>
                  <Property name="property">bhId</Property>
                  <Editor/>
                </AutoFormElement>
                <AutoFormElement layoutConstraint="colSpan:1">
                  <Property name="name">remark</Property>
                  <Property name="property">remark</Property>
                  <Editor/>
@@ -534,6 +555,11 @@
                  <Editor/>
                </AutoFormElement>
                <AutoFormElement>
                  <Property name="name">depotType</Property>
                  <Property name="property">depotType</Property>
                  <Editor/>
                </AutoFormElement>
                <AutoFormElement>
                  <Property name="name">cableRule</Property>
                  <Property name="property">cableRule</Property>
                  <Editor/>