From 9072fdbdd4fdafcf529829df93327b1e1256f794 Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期二, 06 一月 2026 14:44:08 +0800
Subject: [PATCH] 调整流媒体接口,增加流媒体节点查看功能

---
 fzzy-igdss-view/src/main/java/com/fzzy/igds/Depot.view.xml |   99 +++++++++++++++++++++++--------------------------
 1 files changed, 47 insertions(+), 52 deletions(-)

diff --git a/fzzy-igdss-view/src/main/java/com/fzzy/igds/Depot.view.xml b/fzzy-igdss-view/src/main/java/com/fzzy/igds/Depot.view.xml
index 7d42514..291836b 100644
--- a/fzzy-igdss-view/src/main/java/com/fzzy/igds/Depot.view.xml
+++ b/fzzy-igdss-view/src/main/java/com/fzzy/igds/Depot.view.xml
@@ -17,16 +17,45 @@
   </Model>
   <View layout="padding:10">
     <ClientEvent name="onReady">&#xD;
+&#xD;
 /**&#xD;
  * 鏌ヨ&#xD;
  */&#xD;
 query = function(){&#xD;
-    view.get(&quot;#dataSetdepot&quot;).flushAsync();&#xD;
-}&#xD;</ClientEvent>
+	//閫氳繃搴撳尯id鏉ュ姞杞戒粨鍌ㄦ暟鎹�&#xD;
+	var parentId = &quot;${request.getParameter('parentId')}&quot;;&#xD;
+	view.get(&quot;#dataSetdepot&quot;).set(&quot;parameter&quot;,{parentId: parentId}).flushAsync();&#xD;
+};&#xD;query();&#xD;
+&#xD;
+&#xD;
+showDlg=function(){&#xD;
+	var select = view.get(&quot;#dataGridDepot&quot;).get(&quot;selection&quot;);&#xD;
+	if(select){&#xD;
+    	view.get(&quot;#depotdialog&quot;).show();;&#xD;
+	}else{&#xD;
+     	$notify(&quot;璇峰厛閫夋嫨鏁版嵁鈥︹��&quot;);&#xD;
+	}&#xD;
+};&#xD;
+&#xD;
+renderId = function(arg){&#xD;
+    var txt = arg.data.getText(&quot;id&quot;);&#xD;
+    if(!txt) return true;&#xD;
+    var htm = &quot;&lt;a href='javascript:;' onClick='showDlg()' >&quot;+txt+&quot;&lt;/a>&quot;;&#xD;
+    arg.dom.innerHTML = htm;&#xD;
+}&#xD;
+&#xD;
+renderName = function(arg){&#xD;
+    var txt = arg.data.getText(&quot;name&quot;);&#xD;
+    if(!txt) return true;&#xD;
+    var htm = &quot;&lt;a href='javascript:;' onClick='showDlg()' >&quot;+txt+&quot;&lt;/a>&quot;;&#xD;
+    arg.dom.innerHTML = htm;&#xD;
+}
+</ClientEvent>
     <Property name="packages">font-awesome,css-common</Property>
     <DataSet id="dataSetdepot">
       <Property name="dataProvider">depotPR#getData</Property>
       <Property name="dataType">[dtDepot]</Property>
+      <Property name="loadMode">manual</Property>
     </DataSet>
     <DataSet id="dataSetUser">
       <Property name="dataType">[dataTypeUser]</Property>
@@ -80,12 +109,13 @@
           <Property name="action">ajaxRefreshCache</Property>
         </ToolBarButton>
         <ToolBarButton>
-          <ClientEvent name="onClick">var url = &quot;com.fzzy.igds.sys.DepotStore.d&quot;;&#xD;
+          <ClientEvent name="onClick">var url = &quot;com.fzzy.igds.DepotStore.d&quot;;&#xD;
 var panelId = window.frameElement.getAttribute('data-id');
 window.parent.$.modal.openTab(&quot;搴撳瓨绠$悊&quot;, url, false, panelId);</ClientEvent>
           <Property name="caption">搴撳瓨绠$悊</Property>
           <Property name="iconClass">fa fa-book</Property>
           <Property name="exClassName">btn1</Property>
+          <Property name="visible">false</Property>
           <Property name="width">100</Property>
         </ToolBarButton>
       </ToolBar>
@@ -97,11 +127,13 @@
         <RowSelectorColumn/>
         <RowNumColumn/>
         <DataColumn name="id">
+          <ClientEvent name="onRenderCell">renderId(arg);</ClientEvent>
           <Property name="property">id</Property>
           <Property name="align">center</Property>
           <Property name="width">120</Property>
         </DataColumn>
         <DataColumn name="name">
+          <ClientEvent name="onRenderCell">renderName(arg);</ClientEvent>
           <Property name="property">name</Property>
           <Property name="align">center</Property>
           <Property name="width">120</Property>
@@ -154,7 +186,8 @@
     <Dialog id="depotdialog" layout="regionPadding:8">
       <Property name="iconClass">fa fa-tasks</Property>
       <Property name="caption">浠撳簱淇℃伅</Property>
-      <Property name="width">1200</Property>
+      <Property name="width">80%</Property>
+      <Property name="height">90%</Property>
       <Property name="closeable">false</Property>
       <Buttons>
         <Button id="btnOK">
@@ -214,19 +247,14 @@
                 <Property name="property">deptId</Property>
                 <Editor/>
               </AutoFormElement>
-                <AutoFormElement layoutConstraint="colSpan:2">
-                    <Property name="name">storageMax</Property>
-                    <Property name="property">storageMax</Property>
-                    <Editor/>
-                </AutoFormElement>
               <AutoFormElement layoutConstraint="colSpan:2">
-                <Property name="name">storeType</Property>
-                <Property name="property">storeType</Property>
+                <Property name="name">storageMax</Property>
+                <Property name="property">storageMax</Property>
                 <Editor/>
               </AutoFormElement>
               <AutoFormElement layoutConstraint="colSpan:2">
-                <Property name="name">createBy</Property>
-                <Property name="property">createBy</Property>
+                <Property name="name">storeType</Property>
+                <Property name="property">storeType</Property>
                 <Editor/>
               </AutoFormElement>
               <AutoFormElement layoutConstraint="colSpan:2">
@@ -241,11 +269,6 @@
                 <Editor/>
               </AutoFormElement>
               <AutoFormElement layoutConstraint="colSpan:2">
-                <Property name="name">createTime</Property>
-                <Property name="property">createTime</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement layoutConstraint="colSpan:2">
                 <Property name="name">storeKeeperName</Property>
                 <Property name="property">storeKeeperName</Property>
                 <Property name="trigger">triggerUserList</Property>
@@ -254,6 +277,11 @@
               <AutoFormElement layoutConstraint="colSpan:2">
                 <Property name="name">orderNum</Property>
                 <Property name="property">orderNum</Property>
+                <Editor/>
+              </AutoFormElement>
+              <AutoFormElement layoutConstraint="colSpan:4">
+                <Property name="name">pledgeBank</Property>
+                <Property name="property">pledgeBank</Property>
                 <Editor/>
               </AutoFormElement>
               <AutoFormElement layoutConstraint="colSpan:2">
@@ -296,11 +324,6 @@
                 <Editor/>
               </AutoFormElement>
               <AutoFormElement layoutConstraint="colSpan:2">
-                <Property name="name">foodType</Property>
-                <Property name="property">foodType</Property>
-                <Editor/>
-              </AutoFormElement>
-              <AutoFormElement layoutConstraint="colSpan:2">
                 <Property name="name">foodLevel</Property>
                 <Property name="property">foodLevel</Property>
                 <Editor/>
@@ -321,20 +344,6 @@
                 <Property name="property">storeDate</Property>
                 <Editor/>
               </AutoFormElement>
-              <Label>
-                <Property name="text"></Property>
-                <Property name="style">
-                  <Property name="color">blue</Property>
-                  <Property name="padding-left">50px</Property>
-                </Property>
-              </Label>
-              <Label layoutConstraint="colSpan:3">
-                <Property name="text">璇存槑锛�1銆佸疄闄呭偍閲忚皟鏁磋浣跨敤鈥滃簱瀛樼鐞嗏�濆姛鑳斤紱</Property>
-                <Property name="style">
-                  <Property name="color">blue</Property>
-                  <Property name="padding-left">50px</Property>
-                </Property>
-              </Label>
             </AutoForm>
           </Children>
         </FieldSet>
@@ -347,7 +356,7 @@
               <Property name="readOnly">false</Property>
               <Property name="labelSeparator"> : </Property>
               <Property name="labelAlign">right</Property>
-              <Property name="cols">*,*,*,*,*,*</Property>
+              <Property name="cols">*,*,*,*,*,*,*,*</Property>
               <Property name="labelWidth">80</Property>
               <AutoFormElement layoutConstraint="colSpan:2">
                 <Property name="name">perWet</Property>
@@ -369,20 +378,6 @@
                 <Property name="property">checkDate</Property>
                 <Editor/>
               </AutoFormElement>
-              <Label>
-                <Property name="text"></Property>
-                <Property name="style">
-                  <Property name="color">blue</Property>
-                  <Property name="padding-left">50px</Property>
-                </Property>
-              </Label>
-              <Label layoutConstraint="colSpan:3">
-                <Property name="text">璇存槑锛氬偍澶囩伯璐ㄦ淇℃伅浼氭牴鎹川閲忕鐞� 鑷姩鍚屾鏇存柊</Property>
-                <Property name="style">
-                  <Property name="color">blue</Property>
-                  <Property name="padding-left">50px</Property>
-                </Property>
-              </Label>
             </AutoForm>
           </Children>
         </FieldSet>

--
Gitblit v1.9.3