From 4901f0cf60ecc6484d149ca5e9a0083e4b21db21 Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期二, 03 六月 2025 17:09:17 +0800
Subject: [PATCH] 增加库区鸟瞰图及简介视频上传

---
 igds-dzhwk-view/src/main/java/com/fzzy/igds/sys/Company.view.xml |   74 ++++++++++++++++--------------------
 1 files changed, 33 insertions(+), 41 deletions(-)

diff --git a/igds-dzhwk-view/src/main/java/com/fzzy/igds/sys/Company.view.xml b/igds-dzhwk-view/src/main/java/com/fzzy/igds/sys/Company.view.xml
index 4de6ea9..9ad9aac 100644
--- a/igds-dzhwk-view/src/main/java/com/fzzy/igds/sys/Company.view.xml
+++ b/igds-dzhwk-view/src/main/java/com/fzzy/igds/sys/Company.view.xml
@@ -208,52 +208,46 @@
       </PropertyDef>
     </DataType>
   </Model>
-  <View layout="regionPadding:10">
+  <View>
     <Property name="packages">font-awesome,css-common</Property>
     <DataSet id="dsMain">
       <Property name="dataProvider">companyPR#getData</Property>
       <Property name="dataType">[dtMain]</Property>
     </DataSet>
-    <Container layout="regionPadding:10" layoutConstraint="top">
-      <Property name="exClassName">bg-color</Property>
-      <Property name="height">55</Property>
-      <Property name="contentOverflow">hidden</Property>
-      <Label layoutConstraint="left">
-        <Property name="text">鑿滃崟鏍忥細</Property>
-      </Label>
-      <Button layoutConstraint="left">
-        <ClientEvent name="onClick">&#xD;
-var select = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
+    <Container>
+      <Property name="exClassName">c-data</Property>
+      <ToolBar>
+        <ToolBarLabel>
+          <Property name="text">鑿滃崟鏍忥細</Property>
+          <Property name="exClassName">menu-bar-caption</Property>
+        </ToolBarLabel>
+        <ToolBarButton>
+          <ClientEvent name="onClick">var select = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
 if(select){&#xD;
     view.get(&quot;#dialogMain&quot;).show();;&#xD;
 }else{&#xD;
-    $notify(&quot;璇烽�夋嫨闇�瑕佷慨鏀圭殑鏁版嵁鈥︹��&quot;);&#xD;
-}		  </ClientEvent>
-        <Property name="caption">璇︽儏缂栬緫</Property>
-        <Property name="exClassName">btn2</Property>
-        <Property name="iconClass">fa fa-pencil</Property>
-      </Button>
-      <Button layoutConstraint="left">
-        <ClientEvent name="onClick">  &#xD;
-var select = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
+     $notify(&quot;璇烽�夋嫨闇�瑕佺紪杈戠殑鏁版嵁鈥︹��&quot;);&#xD;
+}</ClientEvent>
+          <Property name="caption">璇︽儏缂栬緫</Property>
+          <Property name="exClassName">btn2</Property>
+          <Property name="iconClass">fa fa-pencil</Property>
+        </ToolBarButton>
+        <ToolBarButton>
+          <ClientEvent name="onClick">var select = view.get(&quot;#dgMain&quot;).get(&quot;selection&quot;);&#xD;
 if(select){&#xD;
     view.get(&quot;#ajaxDel&quot;).set(&quot;parameter&quot;,select).execute(function(){&#xD;
-		select.remove();&#xD;
-	});&#xD;
+        select.remove();&#xD;
+    });&#xD;
 }else{&#xD;
     $notify(&quot;璇烽�夋嫨闇�瑕佸垹闄ょ殑鏁版嵁鈥︹��&quot;);&#xD;
-}&#xD;
-</ClientEvent>
-        <Property name="caption">鍒犻櫎</Property>
-        <Property name="exClassName">btn3</Property>
-        <Property name="iconClass">fa fa-trash-o</Property>
-      </Button>
-    </Container>
-    <Container layout="regionPadding:10" layoutConstraint="center">
-      <Property name="exClassName">bg-color</Property>
-      <DataGrid id="dgMain">
-        <ClientEvent name="onDataRowDoubleClick">var dialog= view.get(&quot;#dialogMain&quot;);&#xD;
-          dialog.show();</ClientEvent>
+}&#xD;</ClientEvent>
+          <Property name="caption">鍒犻櫎</Property>
+          <Property name="exClassName">btn3</Property>
+          <Property name="iconClass">fa fa-trash-o</Property>
+        </ToolBarButton>
+      </ToolBar>
+      <DataGrid id="dgMain" layoutConstraint="padding:15px 0px 0px 0px">
+        <ClientEvent name="onDataRowClick">view.get(&quot;#dgMain&quot;).set(&quot;selection&quot;,arg.data);</ClientEvent>
         <Property name="dataSet">dsMain</Property>
         <Property name="readOnly">true</Property>
         <Property name="selectionMode">singleRow</Property>
@@ -301,7 +295,8 @@
         </DataColumn>
       </DataGrid>
     </Container>
-    <Dialog id="dialogMain">
+    <Dialog id="dialogMain" layout="regionPadding:10">
+      <Property name="iconClass">fa fa-pencil-square-o</Property>
       <Property name="caption">浠撳偍鍗曚綅淇℃伅</Property>
       <Property name="width">1200</Property>
       <Property name="closeable">false</Property>
@@ -328,7 +323,7 @@
         </Button>
       </Buttons>
       <Children>
-        <FieldSet layout="padding:15">
+        <FieldSet layout="padding:5">
           <Property name="caption">鍩烘湰淇℃伅</Property>
           <Buttons/>
           <Children>
@@ -465,10 +460,7 @@
             </AutoForm>
           </Children>
         </FieldSet>
-        <Control>
-          <Property name="height">10</Property>
-        </Control>
-        <FieldSet layout="padding:15">
+        <FieldSet layout="padding:5">
           <Property name="caption">涓婄骇鍗曚綅淇℃伅</Property>
           <Buttons/>
           <Children>
@@ -496,7 +488,7 @@
             </AutoForm>
           </Children>
         </FieldSet>
-        <FieldSet layout="padding:15">
+        <FieldSet layout="padding:5">
           <Property name="caption">缁熻淇℃伅</Property>
           <Buttons/>
           <Children>

--
Gitblit v1.9.3