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/Building.view.xml | 303 +++++++++++++++++++++++++------------------------- 1 files changed, 152 insertions(+), 151 deletions(-) diff --git a/igds-dzhwk-view/src/main/java/com/fzzy/igds/sys/Building.view.xml b/igds-dzhwk-view/src/main/java/com/fzzy/igds/sys/Building.view.xml index 54c09f2..8c34524 100644 --- a/igds-dzhwk-view/src/main/java/com/fzzy/igds/sys/Building.view.xml +++ b/igds-dzhwk-view/src/main/java/com/fzzy/igds/sys/Building.view.xml @@ -245,59 +245,53 @@ </PropertyDef> </DataType> </Model> - <View layout="regionPadding:10"> + <View> <Property name="packages">font-awesome,css-common</Property> <DataSet id="dsMain"> <Property name="dataProvider">buildingPR#loadData</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">view.get("#dsMain").insert();
 - view.get("#dialogMain").show();</ClientEvent> - <Property name="caption">鏂板</Property> - <Property name="exClassName">btn1</Property> - <Property name="iconClass">fa fa-plus</Property> - </Button> - <Button layoutConstraint="left"> - <ClientEvent name="onClick">
 -var select = view.get("#dgMain").get("selection");
 + <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">view.get("#dsMain").insert();
 +view.get("#dialogMain").show();</ClientEvent> + <Property name="caption">鏂板</Property> + <Property name="exClassName">btn1</Property> + <Property name="iconClass">fa fa-plus</Property> + </ToolBarButton> + <ToolBarButton> + <ClientEvent name="onClick">var select = view.get("#dgMain").get("selection");
 if(select){
 view.get("#dialogMain").show();;
 }else{
 $notify("璇烽�夋嫨闇�瑕佷慨鏀圭殑鏁版嵁鈥︹��");
 -} </ClientEvent> - <Property name="caption">缂栬緫</Property> - <Property name="exClassName">btn2</Property> - <Property name="iconClass">fa fa-pencil</Property> - </Button> - <Button layoutConstraint="left"> - <ClientEvent name="onClick"> 
 -var select = view.get("#dgMain").get("selection");
 +}</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("#dgMain").get("selection");
 if(select){
 view.get("#ajaxDel").set("parameter",select).execute(function(){
 - select.remove();
 - });
 + select.remove();
 + });
 }else{
 $notify("璇烽�夋嫨闇�瑕佸垹闄ょ殑鏁版嵁鈥︹��");
 -}
 -</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("#dialogMain");
 - dialog.show();</ClientEvent> +}</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("#dgMain").set("selection",arg.data);</ClientEvent> <Property name="dataSet">dsMain</Property> <Property name="readOnly">true</Property> <Property name="selectionMode">singleRow</Property> @@ -345,7 +339,8 @@ </DataColumn> </DataGrid> </Container> - <Dialog id="dialogMain"> + <Dialog id="dialogMain" layout="regionPadding:10"> + <Property name="iconClass">fa fa-pencil-square-o</Property> <Property name="closeable">false</Property> <Property name="caption">浠撴埧淇℃伅</Property> <Property name="width">60%</Property> @@ -373,116 +368,122 @@ </Button> </Buttons> <Children> - <AutoForm> - <Property name="dataSet">dsMain</Property> - <Property name="cols">*,*</Property> - <Property name="labelAlign">right</Property> - <Property name="labelSeparator">锛�</Property> - <Property name="labelWidth">150</Property> - <AutoFormElement> - <Property name="name">id</Property> - <Property name="property">id</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">deptId</Property> - <Property name="property">deptId</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">name</Property> - <Property name="property">name</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">storage</Property> - <Property name="property">storage</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">length</Property> - <Property name="property">length</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">width</Property> - <Property name="property">width</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">height</Property> - <Property name="property">height</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">diameter</Property> - <Property name="property">diameter</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">volume</Property> - <Property name="property">volume</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">doorNum</Property> - <Property name="property">doorNum</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">ground</Property> - <Property name="property">ground</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">wall</Property> - <Property name="property">wall</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">roof</Property> - <Property name="property">roof</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">roofTruss</Property> - <Property name="property">roofTruss</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">createDate</Property> - <Property name="property">createDate</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">userDate</Property> - <Property name="property">userDate</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">lon</Property> - <Property name="property">lon</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">lat</Property> - <Property name="property">lat</Property> - <Editor/> - </AutoFormElement> - <AutoFormElement> - <Property name="name">deVolume</Property> - <Property name="property">deVolume</Property> - <Editor/> - </AutoFormElement> - <Link> - <Property name="href">http://api.map.baidu.com/lbsapi/getpoint/</Property> - <Property name="target">_blank</Property> - <Property name="style"> - <Property name="padding-left">150px</Property> - </Property> - <Property name="text">甯姪锛氱偣鍑诲潗鏍囦綅缃嬀鍙�</Property> - </Link> - </AutoForm> + <FieldSet layout="padding:5"> + <Property name="caption">鍩烘湰淇℃伅</Property> + <Buttons/> + <Children> + <AutoForm> + <Property name="dataSet">dsMain</Property> + <Property name="cols">*,*</Property> + <Property name="labelAlign">right</Property> + <Property name="labelSeparator">锛�</Property> + <Property name="labelWidth">120</Property> + <AutoFormElement> + <Property name="name">id</Property> + <Property name="property">id</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">deptId</Property> + <Property name="property">deptId</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">name</Property> + <Property name="property">name</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">storage</Property> + <Property name="property">storage</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">length</Property> + <Property name="property">length</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">width</Property> + <Property name="property">width</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">height</Property> + <Property name="property">height</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">diameter</Property> + <Property name="property">diameter</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">volume</Property> + <Property name="property">volume</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">doorNum</Property> + <Property name="property">doorNum</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">ground</Property> + <Property name="property">ground</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">wall</Property> + <Property name="property">wall</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">roof</Property> + <Property name="property">roof</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">roofTruss</Property> + <Property name="property">roofTruss</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">createDate</Property> + <Property name="property">createDate</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">userDate</Property> + <Property name="property">userDate</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">lon</Property> + <Property name="property">lon</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">lat</Property> + <Property name="property">lat</Property> + <Editor/> + </AutoFormElement> + <AutoFormElement> + <Property name="name">deVolume</Property> + <Property name="property">deVolume</Property> + <Editor/> + </AutoFormElement> + <Link> + <Property name="href">http://api.map.baidu.com/lbsapi/getpoint/</Property> + <Property name="target">_blank</Property> + <Property name="style"> + <Property name="padding-left">150px</Property> + </Property> + <Property name="text">甯姪锛氱偣鍑诲潗鏍囦綅缃嬀鍙�</Property> + </Link> + </AutoForm> + </Children> + </FieldSet> </Children> <Tools/> </Dialog> -- Gitblit v1.9.3