From 5aee17b6b4d7e280d3ce75c48bd66d9fe75ffe2b Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期一, 02 三月 2026 10:51:00 +0800
Subject: [PATCH] 巡检配置,起止时间修改
---
fzzy-igdss-view/src/main/java/com/fzzy/igds/QuantityConf.view.xml | 103 +++++++++++++++++++++++++++++++--------------------
1 files changed, 62 insertions(+), 41 deletions(-)
diff --git a/fzzy-igdss-view/src/main/java/com/fzzy/igds/QuantityConf.view.xml b/fzzy-igdss-view/src/main/java/com/fzzy/igds/QuantityConf.view.xml
index e5318f8..fc15a8b 100644
--- a/fzzy-igdss-view/src/main/java/com/fzzy/igds/QuantityConf.view.xml
+++ b/fzzy-igdss-view/src/main/java/com/fzzy/igds/QuantityConf.view.xml
@@ -17,19 +17,22 @@
<Property name="keyProperty">id</Property>
<Property name="valueProperty">name</Property>
</Property>
+ <Property name="required">true</Property>
</PropertyDef>
<PropertyDef name="deptId">
<Property></Property>
<Property name="label">鎵�灞炲垎搴�</Property>
<Property name="mapping">
- <Property name="mapValues">${dorado.getDataProvider("deptPR#getAllData").getResult()}</Property>
+ <Property name="mapValues">${dorado.getDataProvider("deptPR#getDeptByUserType").getResult()}</Property>
<Property name="keyProperty">id</Property>
<Property name="valueProperty">kqmc</Property>
</Property>
+ <Property name="required">true</Property>
</PropertyDef>
<PropertyDef name="name">
<Property></Property>
<Property name="label">璁惧鍚嶇О</Property>
+ <Property name="required">true</Property>
</PropertyDef>
<PropertyDef name="sn">
<Property></Property>
@@ -134,6 +137,17 @@
<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("dicPR#triggerPtzType").getResult()}</Property>
+ <Property name="keyProperty">dictValue</Property>
+ <Property name="valueProperty">dictLabel</Property>
+ </Property>
+ <Property name="required">true</Property>
</PropertyDef>
<PropertyDef name="urlIn">
<Property></Property>
@@ -189,7 +203,6 @@
<ToolBar>
<ToolBarButton>
<ClientEvent name="onClick">view.get("#dsMain").insert();
- view.get("#depotId").set("readOnly",false);
view.get("#dgMain").show();</ClientEvent>
<Property name="caption">鏂板</Property>
<Property name="exClassName">btn1</Property>
@@ -200,7 +213,6 @@
<ClientEvent name="onClick">
var select = view.get("#dataGridMain").get("selection");
if(select){
- view.get("#depotId").set("readOnly",true)
view.get("#dgMain").show();
}else{
$notify("璇烽�夋嫨闇�瑕佷慨鏀圭殑鏁版嵁鈥︹��");
@@ -312,7 +324,7 @@
<ClientEvent name="onShow">//鏍规嵁浠撳簱绫诲瀷涓嶅悓锛屾樉绀轰笉鍚岀殑閰嶇疆淇℃伅</ClientEvent>
<Property name="iconClass">fa fa-tasks</Property>
<Property name="caption">鏁伴噺妫�娴嬪弬鏁�</Property>
- <Property name="width">60%</Property>
+ <Property name="width">80%</Property>
<Property name="closeable">false</Property>
<Property name="height">90%</Property>
<Buttons>
@@ -335,13 +347,13 @@
</Button>
</Buttons>
<Children>
- <GroupBox layoutConstraint="padding:5">
+ <FieldSet layout="padding:5">
<Property name="caption">鍩烘湰淇℃伅</Property>
<Buttons/>
<Children>
<AutoForm>
<Property name="dataSet">dsMain</Property>
- <Property name="cols">*,*,*</Property>
+ <Property name="cols">*,*,*,*</Property>
<Property name="labelSeparator">锛�</Property>
<Property name="labelAlign">right</Property>
<Property name="labelWidth">110</Property>
@@ -351,14 +363,13 @@
<Editor/>
</AutoFormElement>
<AutoFormElement>
- <Property name="name">sn</Property>
- <Property name="property">sn</Property>
- <Editor/>
- </AutoFormElement>
- <AutoFormElement id="depotId">
<Property name="name">depotId</Property>
<Property name="property">depotId</Property>
- <Property name="readOnly">false</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement layoutConstraint="colSpan:2">
+ <Property name="name">deptId</Property>
+ <Property name="property">deptId</Property>
<Editor/>
</AutoFormElement>
<AutoFormElement>
@@ -371,6 +382,11 @@
<Property name="property">port</Property>
<Editor/>
</AutoFormElement>
+ <AutoFormElement layoutConstraint="colSpan:2">
+ <Property name="name">sn</Property>
+ <Property name="property">sn</Property>
+ <Editor/>
+ </AutoFormElement>
<AutoFormElement>
<Property name="name">protocol</Property>
<Property name="property">protocol</Property>
@@ -381,21 +397,16 @@
<Property name="property">status</Property>
<Editor/>
</AutoFormElement>
- <AutoFormElement layoutConstraint="colSpan:2">
- <Property name="name">remark</Property>
- <Property name="property">remark</Property>
- <Editor/>
- </AutoFormElement>
</AutoForm>
</Children>
- </GroupBox>
- <GroupBox layoutConstraint="padding:5">
+ </FieldSet>
+ <FieldSet layout="padding:5">
<Property name="caption">鎽勫儚澶撮厤缃�</Property>
<Buttons/>
<Children>
<AutoForm>
<Property name="dataSet">dsMain</Property>
- <Property name="cols">*,*,*</Property>
+ <Property name="cols">*,*,*,*</Property>
<Property name="labelSeparator">锛�</Property>
<Property name="labelAlign">right</Property>
<Property name="labelWidth">110</Property>
@@ -415,6 +426,11 @@
<Editor/>
</AutoFormElement>
<AutoFormElement>
+ <Property name="name">chanNum</Property>
+ <Property name="property">chanNum</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement>
<Property name="name">loginId</Property>
<Property name="property">loginId</Property>
<Property name="readOnly">false</Property>
@@ -426,18 +442,8 @@
<Editor/>
</AutoFormElement>
<AutoFormElement>
- <Property name="name">chanNum</Property>
- <Property name="property">chanNum</Property>
- <Editor/>
- </AutoFormElement>
- <AutoFormElement>
<Property name="name">playType</Property>
<Property name="property">playType</Property>
- <Editor/>
- </AutoFormElement>
- <AutoFormElement layoutConstraint="colSpan:2">
- <Property name="name">urlIn</Property>
- <Property name="property">urlIn</Property>
<Editor/>
</AutoFormElement>
<AutoFormElement>
@@ -445,17 +451,12 @@
<Property name="property">snapType</Property>
<Editor/>
</AutoFormElement>
- <AutoFormElement layoutConstraint="colSpan:2">
- <Property name="name">urlOut</Property>
- <Property name="property">urlOut</Property>
- <Editor/>
- </AutoFormElement>
<AutoFormElement>
- <Property name="name">cameraSn</Property>
- <Property name="property">cameraSn</Property>
+ <Property name="name">ptzType</Property>
+ <Property name="property">ptzType</Property>
<Editor/>
</AutoFormElement>
- <AutoFormElement layoutConstraint="colSpan:2">
+ <AutoFormElement layoutConstraint="colSpan:3">
<Property name="name">mediaAddr</Property>
<Property name="property">mediaAddr</Property>
<Property name="trigger">triggerMedia</Property>
@@ -465,10 +466,30 @@
</TextEditor>
</Editor>
</AutoFormElement>
+ <AutoFormElement layoutConstraint="colSpan:2">
+ <Property name="name">urlIn</Property>
+ <Property name="property">urlIn</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement layoutConstraint="colSpan:2">
+ <Property name="name">urlOut</Property>
+ <Property name="property">urlOut</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement layoutConstraint="colSpan:2">
+ <Property name="name">cameraSn</Property>
+ <Property name="property">cameraSn</Property>
+ <Editor/>
+ </AutoFormElement>
+ <AutoFormElement layoutConstraint="colSpan:2">
+ <Property name="name">remark</Property>
+ <Property name="property">remark</Property>
+ <Editor/>
+ </AutoFormElement>
</AutoForm>
</Children>
- </GroupBox>
- <GroupBox layoutConstraint="padding:5">
+ </FieldSet>
+ <FieldSet layout="padding:5">
<Property name="caption">鏁伴噺妫�娴嬪弬鏁�</Property>
<Buttons/>
<Children>
@@ -515,7 +536,7 @@
</AutoFormElement>
</AutoForm>
</Children>
- </GroupBox>
+ </FieldSet>
</Children>
<Tools/>
</Dialog>
--
Gitblit v1.9.3