From 51faf3e9c3c613e7fb12db6c88356946f2429e0c Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期五, 12 十二月 2025 17:35:30 +0800
Subject: [PATCH] 调整安防视频页面及逻辑

---
 fzzy-igdss-view/src/main/java/com/fzzy/igds/SecCamera.view.xml |  144 ++++++++++++++++++++++++++++-------------------
 1 files changed, 85 insertions(+), 59 deletions(-)

diff --git a/fzzy-igdss-view/src/main/java/com/fzzy/igds/SecCamera.view.xml b/fzzy-igdss-view/src/main/java/com/fzzy/igds/SecCamera.view.xml
index 3e8a2e8..6dec86e 100644
--- a/fzzy-igdss-view/src/main/java/com/fzzy/igds/SecCamera.view.xml
+++ b/fzzy-igdss-view/src/main/java/com/fzzy/igds/SecCamera.view.xml
@@ -137,7 +137,6 @@
           <Property name="keyProperty">id</Property>
           <Property name="valueProperty">kqmc</Property>
         </Property>
-        <Property name="readOnly">true</Property>
       </PropertyDef>
       <PropertyDef name="name">
         <Property></Property>
@@ -188,7 +187,6 @@
       </PropertyDef>
       <PropertyDef name="sort">
         <Property name="label">閰嶅搴忓彿</Property>
-        <Property name="required">true</Property>
         <Property name="mapping">
           <Property name="mapValues">
             <Collection>
@@ -260,6 +258,16 @@
         <Property name="label">鎶撴媿鏂瑰紡</Property>
         <Property name="mapping">
           <Property name="mapValues">${dorado.getDataProvider(&quot;dicPR#triggerSnapType&quot;).getResult()}</Property>
+          <Property name="keyProperty">dictValue</Property>
+          <Property name="valueProperty">dictLabel</Property>
+        </Property>
+        <Property name="required">true</Property>
+      </PropertyDef>
+      <PropertyDef name="ptzType">
+        <Property></Property>
+        <Property name="label">浜戝彴鏂瑰紡</Property>
+        <Property name="mapping">
+          <Property name="mapValues">${dorado.getDataProvider(&quot;dicPR#triggerPtzType&quot;).getResult()}</Property>
           <Property name="keyProperty">dictValue</Property>
           <Property name="valueProperty">dictLabel</Property>
         </Property>
@@ -786,6 +794,21 @@
                 <Editor/>
               </AutoFormElement>
               <AutoFormElement>
+                <Property name="name">type</Property>
+                <Property name="property">type</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">brand</Property>
+                <Property name="property">brand</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
+                <Property name="name">ip</Property>
+                <Property name="property">ip</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement>
                 <Property name="name">chanNum</Property>
                 <Property name="property">chanNum</Property>
                 <Editor/>
@@ -796,8 +819,8 @@
                 <Editor/>
               </AutoFormElement>
               <AutoFormElement>
-                <Property name="name">ip</Property>
-                <Property name="property">ip</Property>
+                <Property name="name">spdwlx</Property>
+                <Property name="property">spdwlx</Property>
                 <Editor/>
               </AutoFormElement>
               <AutoFormElement>
@@ -808,16 +831,6 @@
               <AutoFormElement>
                 <Property name="name">webPort</Property>
                 <Property name="property">webPort</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">spdwlx</Property>
-                <Property name="property">spdwlx</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">sort</Property>
-                <Property name="property">sort</Property>
                 <Editor/>
               </AutoFormElement>
               <AutoFormElement>
@@ -886,13 +899,9 @@
                 <Editor/>
               </AutoFormElement>
               <AutoFormElement layoutConstraint="colSpan:2">
-                <Property name="name">sn</Property>
-                <Property name="property">sn</Property>
-                <Editor>
-                  <TextEditor id="sn">
-                    <Property name="blankText"> -- 娴佸獟浣撳钩鍙颁腑璁惧SN --</Property>
-                  </TextEditor>
-                </Editor>
+                <Property name="name">ptzType</Property>
+                <Property name="property">ptzType</Property>
+                <Editor/>
               </AutoFormElement>
               <AutoFormElement layoutConstraint="colSpan:3">
                 <Property name="name">mediaAddr</Property>
@@ -901,6 +910,15 @@
                 <Editor>
                   <TextEditor id="mediaAddr">
                     <Property name="blankText"> -- 鐐瑰嚮鍙充晶閫夋嫨锛屾垨鑰呮墜鍔ㄥ~鍐� --</Property>
+                  </TextEditor>
+                </Editor>
+              </AutoFormElement>
+              <AutoFormElement layoutConstraint="colSpan:5">
+                <Property name="name">sn</Property>
+                <Property name="property">sn</Property>
+                <Editor>
+                  <TextEditor id="sn">
+                    <Property name="blankText"> -- 娴佸獟浣撳钩鍙颁腑璁惧SN --</Property>
                   </TextEditor>
                 </Editor>
               </AutoFormElement>
@@ -938,23 +956,8 @@
                 <Editor/>
               </AutoFormElement>
               <AutoFormElement>
-                <Property name="name">createBy</Property>
-                <Property name="property">createBy</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">createTime</Property>
-                <Property name="property">createTime</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
                 <Property name="name">updateBy</Property>
                 <Property name="property">updateBy</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement>
-                <Property name="name">updateTime</Property>
-                <Property name="property">updateTime</Property>
                 <Editor/>
               </AutoFormElement>
             </AutoForm>
@@ -994,7 +997,8 @@
 </ClientEvent>
     </Trigger>
     <Dialog id="dialogMeidaSelect" layout="vbox padding:10">
-      <Property name="width">650</Property>
+      <Property name="width">800</Property>
+      <Property name="height">80%</Property>
       <Property name="caption">娴佸獟浣撳湴鍧�閫夋嫨</Property>
       <Buttons/>
       <Children>
@@ -1010,10 +1014,11 @@
           </Label>
           <Button layoutConstraint="right">
             <ClientEvent name="onClick">view.get(&quot;#mediaAddr&quot;).set(&quot;text&quot;,view.get(&quot;#text1.text&quot;));&#xD;
-view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
-</ClientEvent>
+              view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
+            </ClientEvent>
             <Property name="caption">閫夋嫨</Property>
             <Property name="iconClass">fa fa-check</Property>
+            <Property name="exClassName">btn1</Property>
           </Button>
         </Container>
         <Container>
@@ -1028,10 +1033,11 @@
           </Label>
           <Button layoutConstraint="right">
             <ClientEvent name="onClick">view.get(&quot;#mediaAddr&quot;).set(&quot;text&quot;,view.get(&quot;#text2.text&quot;));&#xD;
-view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
-</ClientEvent>
+              view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
+            </ClientEvent>
             <Property name="caption">閫夋嫨</Property>
             <Property name="iconClass">fa fa-check</Property>
+            <Property name="exClassName">btn1</Property>
           </Button>
         </Container>
         <Container>
@@ -1046,10 +1052,11 @@
           </Label>
           <Button layoutConstraint="right">
             <ClientEvent name="onClick">view.get(&quot;#mediaAddr&quot;).set(&quot;text&quot;,view.get(&quot;#text3.text&quot;));&#xD;
-view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
-</ClientEvent>
+              view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
+            </ClientEvent>
             <Property name="caption">閫夋嫨</Property>
             <Property name="iconClass">fa fa-check</Property>
+            <Property name="exClassName">btn1</Property>
           </Button>
         </Container>
         <Container>
@@ -1064,10 +1071,11 @@
           </Label>
           <Button layoutConstraint="right">
             <ClientEvent name="onClick">view.get(&quot;#mediaAddr&quot;).set(&quot;text&quot;,view.get(&quot;#text4.text&quot;));&#xD;
-view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
-</ClientEvent>
+              view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
+            </ClientEvent>
             <Property name="caption">閫夋嫨</Property>
             <Property name="iconClass">fa fa-check</Property>
+            <Property name="exClassName">btn1</Property>
           </Button>
         </Container>
         <Container>
@@ -1082,10 +1090,11 @@
           </Label>
           <Button layoutConstraint="right">
             <ClientEvent name="onClick">view.get(&quot;#mediaAddr&quot;).set(&quot;text&quot;,view.get(&quot;#text5.text&quot;));&#xD;
-view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
-</ClientEvent>
+              view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
+            </ClientEvent>
             <Property name="caption">閫夋嫨</Property>
             <Property name="iconClass">fa fa-check</Property>
+            <Property name="exClassName">btn1</Property>
           </Button>
         </Container>
         <Container>
@@ -1100,10 +1109,11 @@
           </Label>
           <Button layoutConstraint="right">
             <ClientEvent name="onClick">view.get(&quot;#mediaAddr&quot;).set(&quot;text&quot;,view.get(&quot;#text6.text&quot;));&#xD;
-view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
-</ClientEvent>
+              view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
+            </ClientEvent>
             <Property name="caption">閫夋嫨</Property>
             <Property name="iconClass">fa fa-check</Property>
+            <Property name="exClassName">btn1</Property>
           </Button>
         </Container>
         <Container>
@@ -1118,10 +1128,11 @@
           </Label>
           <Button layoutConstraint="right">
             <ClientEvent name="onClick">view.get(&quot;#mediaAddr&quot;).set(&quot;text&quot;,view.get(&quot;#text7.text&quot;));&#xD;
-view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
-</ClientEvent>
+              view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
+            </ClientEvent>
             <Property name="caption">閫夋嫨</Property>
             <Property name="iconClass">fa fa-check</Property>
+            <Property name="exClassName">btn1</Property>
           </Button>
         </Container>
         <Container>
@@ -1136,10 +1147,11 @@
           </Label>
           <Button layoutConstraint="right">
             <ClientEvent name="onClick">view.get(&quot;#mediaAddr&quot;).set(&quot;text&quot;,view.get(&quot;#text8.text&quot;));&#xD;
-view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
-</ClientEvent>
+              view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
+            </ClientEvent>
             <Property name="caption">閫夋嫨</Property>
             <Property name="iconClass">fa fa-check</Property>
+            <Property name="exClassName">btn1</Property>
           </Button>
         </Container>
         <Container>
@@ -1154,10 +1166,11 @@
           </Label>
           <Button layoutConstraint="right">
             <ClientEvent name="onClick">view.get(&quot;#mediaAddr&quot;).set(&quot;text&quot;,view.get(&quot;#text9.text&quot;));&#xD;
-view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
-</ClientEvent>
+              view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
+            </ClientEvent>
             <Property name="caption">閫夋嫨</Property>
             <Property name="iconClass">fa fa-check</Property>
+            <Property name="exClassName">btn1</Property>
           </Button>
         </Container>
         <Container>
@@ -1172,10 +1185,11 @@
           </Label>
           <Button layoutConstraint="right">
             <ClientEvent name="onClick">view.get(&quot;#mediaAddr&quot;).set(&quot;text&quot;,view.get(&quot;#text10.text&quot;));&#xD;
-view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
-</ClientEvent>
+              view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
+            </ClientEvent>
             <Property name="caption">閫夋嫨</Property>
             <Property name="iconClass">fa fa-check</Property>
+            <Property name="exClassName">btn1</Property>
           </Button>
         </Container>
         <Container>
@@ -1190,12 +1204,24 @@
           </Label>
           <Button layoutConstraint="right">
             <ClientEvent name="onClick">view.get(&quot;#mediaAddr&quot;).set(&quot;text&quot;,view.get(&quot;#text11.text&quot;));&#xD;
-view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
-</ClientEvent>
+              view.get(&quot;#dialogMeidaSelect&quot;).hide();&#xD;
+            </ClientEvent>
             <Property name="caption">閫夋嫨</Property>
             <Property name="iconClass">fa fa-check</Property>
+            <Property name="exClassName">btn1</Property>
           </Button>
         </Container>
+        <Container>
+          <Label>
+            <Property name="text">淇℃伅璇存槑</Property>
+            <Property name="style">
+              <Property name="font-weight">bold</Property>
+            </Property>
+          </Label>
+          <Label>
+            <Property name="text">{0}=鐢ㄦ埛鍚嶏紱{1}=瀵嗙爜锛泏2}=IP锛泏3}=绔彛锛泏4}=閫氶亾鍙凤紱{5}=搴忓垪鍙凤紱</Property>
+          </Label>
+        </Container>
       </Children>
       <Tools/>
     </Dialog>

--
Gitblit v1.9.3