From fff68633c2fb6aad6b6b42077bb8d5833b92d4d2 Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期一, 23 三月 2026 11:39:39 +0800
Subject: [PATCH] 视频监管页,添加库区监管人及联系方式显示

---
 fzzy-igdss-view/src/main/java/com/fzzy/work/WorkOrder.view.xml |  725 +++++++++++++++++++++++++++++++++++--------------------
 1 files changed, 455 insertions(+), 270 deletions(-)

diff --git a/fzzy-igdss-view/src/main/java/com/fzzy/work/WorkOrder.view.xml b/fzzy-igdss-view/src/main/java/com/fzzy/work/WorkOrder.view.xml
index 3fc6cc8..ba41e4b 100644
--- a/fzzy-igdss-view/src/main/java/com/fzzy/work/WorkOrder.view.xml
+++ b/fzzy-igdss-view/src/main/java/com/fzzy/work/WorkOrder.view.xml
@@ -19,11 +19,12 @@
       </PropertyDef>
       <PropertyDef name="bizType">
         <Property></Property>
-        <Property name="label">涓氬姟鍒嗙被</Property>
-      </PropertyDef>
-      <PropertyDef name="category">
-        <Property></Property>
         <Property name="label">宸ュ崟鍒嗙被</Property>
+        <Property name="mapping">
+          <Property name="mapValues">${dorado.getDataProvider(&quot;workOrderPR#triggerBizType&quot;).getResult()}</Property>
+          <Property name="keyProperty">dictValue</Property>
+          <Property name="valueProperty">dictLabel</Property>
+        </Property>
       </PropertyDef>
       <PropertyDef name="status">
         <Property></Property>
@@ -47,14 +48,14 @@
       </PropertyDef>
       <PropertyDef name="createTime">
         <Property name="dataType">DateTime</Property>
-        <Property name="label">宸ュ崟鍒涘缓鏃堕棿</Property>
+        <Property name="label">鍒涘缓鏃堕棿</Property>
       </PropertyDef>
       <PropertyDef name="createUserId">
         <Property></Property>
       </PropertyDef>
       <PropertyDef name="createUserName">
         <Property></Property>
-        <Property name="label">宸ュ崟鍒涘缓浜�</Property>
+        <Property name="label">鍒涘缓浜�</Property>
       </PropertyDef>
       <PropertyDef name="businessId">
         <Property></Property>
@@ -77,6 +78,33 @@
           <Property name="keyProperty">id</Property>
           <Property name="valueProperty">kqmc</Property>
         </Property>
+      </PropertyDef>
+      <PropertyDef name="node">
+        <Property></Property>
+        <Property name="mapping">
+          <Property name="mapValues">${dorado.getDataProvider(&quot;workOrderPR#triggerNode&quot;).getResult()}</Property>
+          <Property name="keyProperty">dictValue</Property>
+          <Property name="valueProperty">dictLabel</Property>
+        </Property>
+        <Property name="label">娴佺▼鐜妭</Property>
+      </PropertyDef>
+      <PropertyDef name="createById">
+        <Property></Property>
+      </PropertyDef>
+      <PropertyDef name="bankId">
+        <Property></Property>
+      </PropertyDef>
+      <PropertyDef name="confId">
+        <Property></Property>
+      </PropertyDef>
+      <PropertyDef name="createBy">
+        <Property></Property>
+      </PropertyDef>
+      <PropertyDef name="updateBy">
+        <Property></Property>
+      </PropertyDef>
+      <PropertyDef name="updateTime">
+        <Property name="dataType">Date</Property>
       </PropertyDef>
     </DataType>
     <DataType name="dtParam">
@@ -109,6 +137,9 @@
         <Property name="dataType">Date</Property>
         <Property name="label">鎴鏃堕棿</Property>
       </PropertyDef>
+      <PropertyDef name="scope">
+        <Property></Property>
+      </PropertyDef>
     </DataType>
     <DataType name="dtWordProcess">
       <Property name="creationType">com.fzzy.work.domain.WorkOrderProcess</Property>
@@ -120,24 +151,61 @@
       </PropertyDef>
       <PropertyDef name="remark">
         <Property></Property>
+        <Property name="label">瀹℃壒寤鸿</Property>
+      </PropertyDef>
+      <PropertyDef name="id">
+        <Property></Property>
+      </PropertyDef>
+      <PropertyDef name="assigneeId">
+        <Property></Property>
+      </PropertyDef>
+      <PropertyDef name="assigneeName">
+        <Property></Property>
+        <Property name="label">澶勭悊浜�</Property>
+      </PropertyDef>
+      <PropertyDef name="node">
+        <Property></Property>
+        <Property name="label">褰撳墠鑺傜偣</Property>
+      </PropertyDef>
+      <PropertyDef name="createTime">
+        <Property name="dataType">Date</Property>
       </PropertyDef>
     </DataType>
   </Model>
   <View layout="padding:10">
-    <ClientEvent name="onReady">query= function(){&#xD;
+    <ClientEvent name="onReady">view.TAG = 1;&#xD;
+query= function(){&#xD;
 	var param = view.get(&quot;#dsQuery.data&quot;);&#xD;
 	var tabIndex = view.get(&quot;#tabMain.currentIndex&quot;);&#xD;
+	param.set(&quot;scope&quot;,&quot;all&quot;);&#xD;
 	if(0 == tabIndex){&#xD;
-		view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,param).flushAsync();&#xD;
-	}else{&#xD;
-		view.get(&quot;#dsMain2&quot;).set(&quot;parameter&quot;,param).flushAsync();&#xD;
+		param.set(&quot;scope&quot;,&quot;self&quot;);&#xD;
 	}&#xD;
+	view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,param).flushAsync();&#xD;
 }&#xD;
+//姹囨�讳俊鎭�&#xD;
+summaryCount = function(){&#xD;
+	view.get(&quot;#ajaxSummary&quot;).execute(function(result){&#xD;
+		//console.log(result);&#xD;
+		jQuery('#child-num1').text(result.selfTodo);&#xD;
+		jQuery('#child-num2').text(result.assignTodo);&#xD;
+		jQuery('#child-num3').text(result.todayTodo);&#xD;
+		jQuery('#child-num4').text(result.sumTodo);&#xD;
+	});&#xD;
+}&#xD;
+&#xD;
+summaryCount();&#xD;
+	&#xD;
+query();&#xD;
       &#xD;
 //瀹d紶鎿嶄綔&#xD;
 renderCell1 = function(arg,self){&#xD;
+   var tabIndex = view.get(&quot;#tabMain.currentIndex&quot;);&#xD;
    var data = arg.data;&#xD;
-   var htm = &quot;&lt;a onClick='audit()' class='a-btn1'>鎸囨淳&lt;/a>&amp;nbsp;|&amp;nbsp;&lt;a onClick='showDetail()' class='a-btn2'>璇︾粏&lt;/a>&quot;;&#xD;
+   var htm = &quot;&lt;a onClick='selectUser()' class='a-btn1'>鎸囨淳&lt;/a>&amp;nbsp;|&amp;nbsp;&lt;a onClick='showDetail()' class='a-btn2'>璇︾粏&lt;/a>&quot;;&#xD;
+   if(1 == tabIndex){&#xD;
+   		htm = &quot;&lt;a onClick='showDetail()' class='a-btn2'>璇︾粏&lt;/a>&quot;;&#xD;
+   }&#xD;
    arg.dom.innerHTML = htm;&#xD;
 };&#xD;
 &#xD;
@@ -164,26 +232,20 @@
     arg.dom.innerHTML = htm;&#xD;
 }&#xD;
 &#xD;
-//鐐瑰嚮瀹℃牳&#xD;
-audit = function(){&#xD;
-	&#xD;
-}&#xD;
 //鐐瑰嚮璇︾粏&#xD;
 showDetail = function(){&#xD;
 	var tabIndex = view.get(&quot;#tabMain.currentIndex&quot;);&#xD;
 	var cur = view.get(&quot;#dsMain.data:#&quot;);&#xD;
 	var dialog = view.get(&quot;#dialogMain&quot;);&#xD;
+	view.get('#btnTodo').set('disabled',false);&#xD;
 	if(1 == tabIndex){&#xD;
-		cur = view.get(&quot;#dsMain2.data:#&quot;);&#xD;
-		dialog = view.get(&quot;#dialogMain&quot;);&#xD;
+		view.get('#btnTodo').set('disabled',true);&#xD;
 	}&#xD;
 	dialog.show();&#xD;
 	&#xD;
 	var orderId = cur.get(&quot;id&quot;);&#xD;
-	//璧嬪�肩粰瀹℃壒&#xD;
-	view.get(&quot;#dsWordProcess&quot;).set(&quot;data&quot;,{orderId:orderId});&#xD;
-	//鍘嗗彶璁板綍&#xD;
-	view.get(&quot;#iFrameProcess&quot;).set(&quot;path&quot;,&quot;com.fzzy.work.WorkProcess.d?orderId=&quot;+orderId);&#xD;
+	//鍘嗗彶鏁版嵁&#xD;
+	view.get('#iFrameFlowHis').set('path','/work/flow-his?orderId='+orderId);&#xD;
 	//涓氬姟淇℃伅&#xD;
 	if(cur.get(&quot;businessUrl&quot;)){&#xD;
 		var url = cur.get(&quot;businessUrl&quot;)+&quot;?businessId=&quot;+cur.get(&quot;businessId&quot;)+&quot;&amp;orderId=&quot;+orderId;&#xD;
@@ -191,28 +253,58 @@
 	}else{&#xD;
 		view.get(&quot;#iFrameBiz&quot;).set(&quot;path&quot;,&quot;/work/no-business?orderId=&quot;+orderId);&#xD;
 	}&#xD;
-}</ClientEvent>
+}&#xD;
+//鎵ц瀹℃壒&#xD;
+todo = function(){&#xD;
+	var cur = view.get(&quot;#dsMain.data:#&quot;);&#xD;
+	var process = view.get(&quot;#dsProcess.data&quot;);&#xD;
+	process.set(&quot;orderId&quot;, cur.get(&quot;id&quot;));&#xD;
+	process.set(&quot;node&quot;, cur.get(&quot;node&quot;));&#xD;
+	var remark = process.get('remark');&#xD;
+	if(!remark){&#xD;
+		$notify(&quot;璇峰~鍐欏鎵规剰瑙佲�︹��&quot;);&#xD;
+		return;&#xD;
+	}&#xD;
+	view.get(&quot;#ajaxTodo&quot;).set('parameter',process).execute(function(result){&#xD;
+		if('200' != result.code){&#xD;
+			view.get('#dialogTodo').hide();&#xD;
+			$alert(result.message);&#xD;
+		}else{&#xD;
+			$alert(&quot;鎵ц鎴愬姛锛�&quot;);&#xD;
+			view.get('#dialogTodo').hide();&#xD;
+			view.get(&quot;#dialogMain&quot;).hide();&#xD;
+			query();&#xD;
+		}&#xD;
+	});&#xD;
+}&#xD;
+cancelTodo = function(){&#xD;
+	var process = view.get(&quot;#dsProcess.data&quot;);&#xD;
+	process.set(&quot;action&quot;,null);&#xD;
+	process.set('remark',null);&#xD;
+	process.set('assigneeId',null);&#xD;
+	process.set('assigneeName',null);&#xD;
+	view.get('#dialogTodo').hide();&#xD;
+	view.get('#dialogSelectUser').hide();&#xD;
+}&#xD;
+selectUser = function(){&#xD;
+	var process = view.get(&quot;#dsProcess.data&quot;);&#xD;
+	process.set('action','transfer')&#xD;
+	view.get(&quot;#dialogSelectUser&quot;).show();&#xD;
+}&#xD;
+</ClientEvent>
     <Property name="packages">font-awesome,css-common</Property>
     <DataSet id="dsMain">
       <ClientEvent name="onLoadData">$notify(&quot;鏁版嵁鍔犺浇瀹屾垚鈥︹��&quot;);</ClientEvent>
       <Property name="dataType">[dtMain]</Property>
-      <Property name="dataProvider">workOrderPR#pageQuery</Property>
+      <Property name="dataProvider">workOrderPR#pageQueryByUserType</Property>
       <Property name="pageSize">10</Property>
-      <Property name="loadMode">lazy</Property>
-    </DataSet>
-    <DataSet id="dsMain2">
-      <ClientEvent name="onLoadData">$notify(&quot;鏁版嵁鍔犺浇瀹屾垚鈥︹��&quot;);&#xD;
-</ClientEvent>
-      <Property name="dataType">[dtMain]</Property>
-      <Property name="dataProvider">workOrderPR#pageQuery2</Property>
-      <Property name="pageSize">10</Property>
-      <Property name="loadMode">lazy</Property>
+      <Property name="loadMode">manual</Property>
     </DataSet>
     <DataSet id="dsQuery">
       <ClientEvent name="onReady">self.insert({});</ClientEvent>
       <Property name="dataType">dtParam</Property>
     </DataSet>
-    <DataSet id="dsWordProcess">
+    <DataSet id="dsProcess">
       <ClientEvent name="onReady">self.insert();</ClientEvent>
       <Property name="dataType">dtWordProcess</Property>
     </DataSet>
@@ -305,35 +397,35 @@
     &#xD;
     &lt;!-- 蹇嵎鏂瑰紡 -->&#xD;
     &lt;div class=&quot;parent&quot;>&#xD;
-   &#xD;
+  &#xD;
         &lt;div class=&quot;child&quot;>&#xD;
             &lt;div class=&quot;console-link-block&quot;>&#xD;
-                &lt;div class=&quot;console-link-block-num&quot;>0&lt;/div>&#xD;
-                &lt;div class=&quot;console-link-block-text&quot;>浠婃棩宸ュ崟缁熻&lt;/div>&#xD;
+                &lt;div class=&quot;console-link-block-num&quot; id=&quot;child-num1&quot;>0&lt;/div>&#xD;
+                &lt;div class=&quot;console-link-block-text&quot;>鎴戠殑寰呭姙宸ュ崟&lt;/div>&#xD;
                 &lt;img class=&quot;console-icon&quot; src=&quot;/img/icon-wj.png&quot;>&#xD;
             &lt;/div>&#xD;
         &lt;/div>&#xD;
         &#xD;
         &lt;div class=&quot;child&quot;>&#xD;
             &lt;div class=&quot;console-link-block bg2&quot;>&#xD;
-                &lt;div class=&quot;console-link-block-num&quot;>0&lt;/div>&#xD;
-                &lt;div class=&quot;console-link-block-text&quot;>浠婃棩寰呭畬鎴愬伐鍗�&lt;/div>&#xD;
+                &lt;div class=&quot;console-link-block-num&quot; id=&quot;child-num2&quot;>0&lt;/div>&#xD;
+                &lt;div class=&quot;console-link-block-text&quot;>鎴戠殑鎸囨淳宸ュ崟&lt;/div>&#xD;
                 &lt;img class=&quot;console-icon&quot; src=&quot;/img/icon-wj2.png&quot;>&#xD;
             &lt;/div>&#xD;
         &lt;/div>&#xD;
         &#xD;
         &lt;div class=&quot;child&quot;>&#xD;
             &lt;div class=&quot;console-link-block bg3&quot;>&#xD;
-                &lt;div class=&quot;console-link-block-num&quot;>0&lt;/div>&#xD;
-                &lt;div class=&quot;console-link-block-text&quot;>鎬诲伐鍗曠粺璁�&lt;/div>&#xD;
+                &lt;div class=&quot;console-link-block-num&quot; id=&quot;child-num3&quot;>0&lt;/div>&#xD;
+                &lt;div class=&quot;console-link-block-text&quot;>浠婃棩宸ュ崟&lt;/div>&#xD;
                 &lt;img class=&quot;console-icon&quot; src=&quot;/img/icon-tj.png&quot;>&#xD;
             &lt;/div>&#xD;
         &lt;/div>&#xD;
         &#xD;
        &lt;div class=&quot;child&quot;>&#xD;
-            &lt;div class=&quot;console-link-block bg4&quot;>&#xD;
-                &lt;div class=&quot;console-link-block-num&quot;>0&lt;/div>&#xD;
-                &lt;div class=&quot;console-link-block-text&quot;>鎬绘湭瀹屾垚宸ュ崟&lt;/div>&#xD;
+            &lt;div class=&quot;console-link-block bg5&quot;>&#xD;
+                &lt;div class=&quot;console-link-block-num&quot; id=&quot;child-num4&quot;>0&lt;/div>&#xD;
+                &lt;div class=&quot;console-link-block-text&quot;>鎬诲緟鍔炲伐鍗�&lt;/div>&#xD;
                 &lt;img class=&quot;console-icon&quot; src=&quot;/img/icon-tj2.png&quot;>&#xD;
             &lt;/div>&#xD;
         &lt;/div>&#xD;
@@ -349,7 +441,7 @@
         <Property name="margin-top">10px</Property>
       </Property>
       <AutoForm>
-        <Property name="cols">*,*,*,*,90,90</Property>
+        <Property name="cols">*,300,300,90,90,*</Property>
         <Property name="dataSet">dsQuery</Property>
         <Property name="labelAlign">right</Property>
         <Property name="labelWidth">100</Property>
@@ -357,11 +449,6 @@
           <Property name="name">deptId</Property>
           <Property name="property">deptId</Property>
           <Property name="trigger">autoMappingDropDown2</Property>
-          <Editor/>
-        </AutoFormElement>
-        <AutoFormElement>
-          <Property name="name">name</Property>
-          <Property name="property">name</Property>
           <Editor/>
         </AutoFormElement>
         <AutoFormElement>
@@ -391,9 +478,93 @@
     <Container>
       <Property name="className">c-data</Property>
       <TabControl id="tabMain">
+        <ClientEvent name="onTabChange">if(view.TAG) query();</ClientEvent>
         <ControlTab>
-          <Property name="caption">鍏ㄩ儴</Property>
+          <Property name="caption">鎴戠殑宸ュ崟</Property>
           <Property name="iconClass">fa fa-th-large</Property>
+          <Property name="width">150</Property>
+          <Container>
+            <DataGrid layoutConstraint="padding:8">
+              <ClientEvent name="onDataRowClick">self.set(&quot;selection&quot;,arg.data);</ClientEvent>
+              <Property name="dataSet">dsMain</Property>
+              <Property name="readOnly">true</Property>
+              <Property name="selectionMode">singleRow</Property>
+              <Property name="readOnly">true</Property>
+              <Property name="fixedColumnCount">3</Property>
+              <RowSelectorColumn/>
+              <RowNumColumn>
+                <Property name="width">50</Property>
+                <Property name="caption">搴忓彿</Property>
+              </RowNumColumn>
+              <DataColumn>
+                <ClientEvent name="onRenderCell">renderCell1(arg,self);</ClientEvent>
+                <Property name="caption">鎿嶄綔</Property>
+                <Property name="width">160</Property>
+                <Property name="align">center</Property>
+                <Editor/>
+              </DataColumn>
+              <DataColumn name="id">
+                <Property name="property">id</Property>
+                <Property name="width">180</Property>
+              </DataColumn>
+              <DataColumn name="deptId">
+                <Property name="property">deptId</Property>
+                <Property name="width">250</Property>
+              </DataColumn>
+              <DataColumn name="title">
+                <Property name="property">title</Property>
+                <Property name="width">300</Property>
+              </DataColumn>
+              <DataColumn>
+                <ClientEvent name="onRenderCell">renderStatus(arg);</ClientEvent>
+                <Property name="property">status</Property>
+                <Property name="width">120</Property>
+                <Property name="align">center</Property>
+                <Property name="name">status</Property>
+              </DataColumn>
+              <DataColumn name="node">
+                <Property name="property">node</Property>
+                <Property name="width">120</Property>
+                <Property name="align">center</Property>
+              </DataColumn>
+              <DataColumn name="bizType">
+                <Property name="property">bizType</Property>
+                <Property name="width">120</Property>
+                <Property name="align">center</Property>
+              </DataColumn>
+              <DataColumn name="assigneeName">
+                <Property name="property">assigneeName</Property>
+                <Property name="align">center</Property>
+                <Property name="width">150</Property>
+              </DataColumn>
+              <DataColumn name="receiveTime">
+                <Property name="property">receiveTime</Property>
+                <Property name="width">150</Property>
+                <Property name="align">center</Property>
+              </DataColumn>
+              <DataColumn name="createUserName">
+                <Property name="property">createUserName</Property>
+                <Property name="align">center</Property>
+                <Property name="width">150</Property>
+              </DataColumn>
+              <DataColumn name="createTime">
+                <Property name="property">createTime</Property>
+                <Property name="align">center</Property>
+                <Property name="width">150</Property>
+              </DataColumn>
+            </DataGrid>
+            <ToolBar layoutConstraint="bottom">
+              <Fill/>
+              <DataPilot layoutConstraint="right">
+                <Property name="itemCodes">pageSize,pages</Property>
+                <Property name="dataSet">dsMain</Property>
+              </DataPilot>
+            </ToolBar>
+          </Container>
+        </ControlTab>
+        <ControlTab>
+          <Property name="caption">鍏ㄩ儴宸ュ崟</Property>
+          <Property name="iconClass">fa fa-history</Property>
           <Property name="width">150</Property>
           <Container>
             <DataGrid layoutConstraint="padding:8">
@@ -434,6 +605,11 @@
                 <Property name="align">center</Property>
                 <Property name="name">status</Property>
               </DataColumn>
+              <DataColumn name="node">
+                <Property name="property">node</Property>
+                <Property name="width">120</Property>
+                <Property name="align">center</Property>
+              </DataColumn>
               <DataColumn name="bizType">
                 <Property name="property">bizType</Property>
                 <Property name="width">120</Property>
@@ -465,84 +641,6 @@
               <DataPilot layoutConstraint="right">
                 <Property name="itemCodes">pageSize,pages</Property>
                 <Property name="dataSet">dsMain</Property>
-              </DataPilot>
-            </ToolBar>
-          </Container>
-        </ControlTab>
-        <ControlTab>
-          <Property name="caption">宸茬粨鏉�</Property>
-          <Property name="iconClass">fa fa-history</Property>
-          <Property name="width">150</Property>
-          <Container>
-            <DataGrid layoutConstraint="padding:8">
-              <ClientEvent name="onDataRowClick">self.set(&quot;selection&quot;,arg.data);</ClientEvent>
-              <Property name="dataSet">dsMain2</Property>
-              <Property name="readOnly">true</Property>
-              <Property name="selectionMode">singleRow</Property>
-              <Property name="readOnly">true</Property>
-              <Property name="fixedColumnCount">3</Property>
-              <RowSelectorColumn/>
-              <RowNumColumn>
-                <Property name="width">50</Property>
-                <Property name="caption">搴忓彿</Property>
-              </RowNumColumn>
-              <DataColumn>
-                <ClientEvent name="onRenderCell">renderCell1(arg,self);</ClientEvent>
-                <Property name="caption">鎿嶄綔</Property>
-                <Property name="width">150</Property>
-                <Property name="align">center</Property>
-                <Editor/>
-              </DataColumn>
-              <DataColumn name="id">
-                <Property name="property">id</Property>
-                <Property name="width">180</Property>
-              </DataColumn>
-              <DataColumn name="deptId">
-                <Property name="property">deptId</Property>
-                <Property name="width">250</Property>
-              </DataColumn>
-              <DataColumn name="title">
-                <Property name="property">title</Property>
-                <Property name="width">300</Property>
-              </DataColumn>
-              <DataColumn>
-                <ClientEvent name="onRenderCell">renderStatus(arg);</ClientEvent>
-                <Property name="property">status</Property>
-                <Property name="width">120</Property>
-                <Property name="align">center</Property>
-                <Property name="name">status</Property>
-              </DataColumn>
-              <DataColumn name="bizType">
-                <Property name="property">bizType</Property>
-                <Property name="width">120</Property>
-                <Property name="align">center</Property>
-              </DataColumn>
-              <DataColumn name="assigneeName">
-                <Property name="property">assigneeName</Property>
-                <Property name="align">center</Property>
-                <Property name="width">150</Property>
-              </DataColumn>
-              <DataColumn name="receiveTime">
-                <Property name="property">receiveTime</Property>
-                <Property name="width">150</Property>
-                <Property name="align">center</Property>
-              </DataColumn>
-              <DataColumn name="createUserName">
-                <Property name="property">createUserName</Property>
-                <Property name="align">center</Property>
-                <Property name="width">150</Property>
-              </DataColumn>
-              <DataColumn name="createTime">
-                <Property name="property">createTime</Property>
-                <Property name="align">center</Property>
-                <Property name="width">150</Property>
-              </DataColumn>
-            </DataGrid>
-            <ToolBar layoutConstraint="bottom">
-              <Fill/>
-              <DataPilot layoutConstraint="right">
-                <Property name="itemCodes">pageSize,pages</Property>
-                <Property name="dataSet">dsMain2</Property>
               </DataPilot>
             </ToolBar>
           </Container>
@@ -553,169 +651,256 @@
       <Property name="closeable">false</Property>
       <Property name="caption">宸ュ崟璇︾粏</Property>
       <Property name="iconClass">fa fa-tasks</Property>
-      <Property name="height">95%</Property>
-      <Property name="width">95%</Property>
+      <Property name="width">90%</Property>
       <Property name="showCaptionBar">false</Property>
       <Property name="style">
         <Property name="background-color">#e6e6e6</Property>
       </Property>
-      <Buttons>
-        <Button>
-          <ClientEvent name="onClick">view.get(&quot;#updateSave&quot;).execute(function(result){&#xD;
-	if(result){&#xD;
-		$alert(result);&#xD;
-		return;&#xD;
-	}&#xD;
-	$notify(&quot;鏁版嵁鎵ц瀹屾垚锛侊紒&quot;);&#xD;
-	self.get(&quot;parent&quot;).hide();&#xD;
-});</ClientEvent>
-          <Property name="caption">澶勭悊</Property>
-          <Property name="iconClass">fa fa-check-circle</Property>
-          <Property name="exClassName">btn1</Property>
-        </Button>
-        <Button>
-          <ClientEvent name="onClick">view.get(&quot;#updateSave&quot;).execute(function(result){&#xD;
-	if(result){&#xD;
-		$alert(result);&#xD;
-		return;&#xD;
-	}&#xD;
-	$notify(&quot;鏁版嵁鎵ц瀹屾垚锛侊紒&quot;);&#xD;
-	self.get(&quot;parent&quot;).hide();&#xD;
-});</ClientEvent>
-          <Property name="caption">杞氦</Property>
-          <Property name="iconClass">fa fa-check-circle</Property>
-          <Property name="exClassName">btn2</Property>
-        </Button>
-        <Button>
-          <ClientEvent name="onClick">view.get(&quot;#dsMain.data:#&quot;).cancel();&#xD;
-            self.get(&quot;parent&quot;).hide();</ClientEvent>
-          <Property name="caption">鍏抽棴</Property>
-          <Property name="exClassName">btn3</Property>
-          <Property name="iconClass">fa fa-times-circle</Property>
-        </Button>
-      </Buttons>
+      <Property name="height">95%</Property>
+      <Buttons/>
       <Children>
         <TabControl>
           <ControlTab>
             <Property name="caption">宸ュ崟淇℃伅</Property>
             <Property name="iconClass">fa fa-edit</Property>
+            <Property name="width">120</Property>
             <Container>
-              <AutoForm>
-                <Property name="dataSet">dsMain</Property>
-                <Property name="cols">*,*,*</Property>
-                <Property name="labelAlign">right</Property>
-                <Property name="labelSeparator">锛�</Property>
-                <Property name="labelWidth">120</Property>
-                <Property name="readOnly">true</Property>
-                <AutoFormElement layoutConstraint="colSpan:2">
-                  <Property name="name">title</Property>
-                  <Property name="property">title</Property>
-                  <Editor/>
-                </AutoFormElement>
-                <AutoFormElement>
-                  <Property name="name">deptId</Property>
-                  <Property name="property">deptId</Property>
-                  <Editor/>
-                </AutoFormElement>
-                <AutoFormElement layoutConstraint="colSpan:3">
-                  <Property name="name">description</Property>
-                  <Property name="property">description</Property>
-                  <Property name="editorType">TextArea</Property>
-                  <Editor/>
-                </AutoFormElement>
-                <AutoFormElement>
-                  <Property name="name">bizType</Property>
-                  <Property name="property">bizType</Property>
-                  <Editor/>
-                </AutoFormElement>
-                <AutoFormElement>
-                  <Property name="name">status</Property>
-                  <Property name="property">status</Property>
-                  <Editor/>
-                </AutoFormElement>
-                <AutoFormElement>
-                  <Property name="name">assigneeName</Property>
-                  <Property name="property">assigneeName</Property>
-                  <Editor/>
-                </AutoFormElement>
-                <AutoFormElement>
-                  <Property name="name">createTime</Property>
-                  <Property name="property">createTime</Property>
-                  <Editor/>
-                </AutoFormElement>
-                <AutoFormElement>
-                  <Property name="name">createUserName</Property>
-                  <Property name="property">createUserName</Property>
-                  <Editor/>
-                </AutoFormElement>
-                <AutoFormElement>
-                  <Property name="name">receiveTime</Property>
-                  <Property name="property">receiveTime</Property>
-                  <Property name="labelWidth">140</Property>
-                  <Editor/>
-                </AutoFormElement>
-                <AutoFormElement layoutConstraint="colSpan:3">
-                  <Property name="name">remark</Property>
-                  <Property name="property">remark</Property>
-                  <Property name="editorType">TextArea</Property>
-                  <Editor/>
-                </AutoFormElement>
-              </AutoForm>
-              <GroupBox>
-                <Property name="caption">宸ュ崟瀹℃壒/澶勭悊</Property>
-                <Property name="collapseable">false</Property>
-                <Buttons/>
-                <Children>
-                  <AutoForm>
-                    <Property name="dataSet">dsWordProcess</Property>
-                    <Property name="cols">*,*,*</Property>
-                    <Property name="labelAlign">right</Property>
-                    <Property name="labelSeparator">锛�</Property>
-                    <Property name="labelWidth">120</Property>
-                    <Property name="showLabel">false</Property>
-                    <AutoFormElement layoutConstraint="colSpan:3">
-                      <Property name="name">remark</Property>
-                      <Property name="property">remark</Property>
-                      <Editor>
-                        <TextArea>
-                          <Property name="blankText">-- 瀹℃壒/澶勭悊璇存槑 --</Property>
-                        </TextArea>
-                      </Editor>
-                    </AutoFormElement>
-                    <HtmlContainer layoutConstraint="colSpan:3">
-                      <Property name="content">1.宸ュ崟璇︾粏涓氬姟瑙併�愪笟鍔′俊鎭�戞煡鐪嬨��&lt;br></Property>
-                      <Property name="exClassName">h-tip</Property>
-                      <Property name="contentOverflow">hidden</Property>
-                    </HtmlContainer>
-                  </AutoForm>
-                </Children>
-              </GroupBox>
+              <Container>
+                <Property name="exClassName">c-data</Property>
+                <AutoForm>
+                  <Property name="dataSet">dsMain</Property>
+                  <Property name="cols">*,*,*</Property>
+                  <Property name="labelAlign">right</Property>
+                  <Property name="labelSeparator">锛�</Property>
+                  <Property name="labelWidth">100</Property>
+                  <Property name="readOnly">true</Property>
+                  <AutoFormElement layoutConstraint="colSpan:2">
+                    <Property name="name">title</Property>
+                    <Property name="property">title</Property>
+                    <Editor/>
+                  </AutoFormElement>
+                  <AutoFormElement>
+                    <Property name="name">deptId</Property>
+                    <Property name="property">deptId</Property>
+                    <Editor/>
+                  </AutoFormElement>
+                  <AutoFormElement layoutConstraint="colSpan:3">
+                    <Property name="name">description</Property>
+                    <Property name="property">description</Property>
+                    <Property name="editorType">TextArea</Property>
+                    <Editor/>
+                  </AutoFormElement>
+                  <AutoFormElement>
+                    <Property name="name">bizType</Property>
+                    <Property name="property">bizType</Property>
+                    <Editor/>
+                  </AutoFormElement>
+                  <AutoFormElement>
+                    <Property name="name">status</Property>
+                    <Property name="property">status</Property>
+                    <Editor/>
+                  </AutoFormElement>
+                  <AutoFormElement>
+                    <Property name="name">assigneeName</Property>
+                    <Property name="property">assigneeName</Property>
+                    <Editor/>
+                  </AutoFormElement>
+                  <AutoFormElement>
+                    <Property name="name">createTime</Property>
+                    <Property name="property">createTime</Property>
+                    <Editor/>
+                  </AutoFormElement>
+                  <AutoFormElement>
+                    <Property name="name">createUserName</Property>
+                    <Property name="property">createUserName</Property>
+                    <Editor/>
+                  </AutoFormElement>
+                  <AutoFormElement>
+                    <Property name="name">receiveTime</Property>
+                    <Property name="property">receiveTime</Property>
+                    <Property name="labelWidth">140</Property>
+                    <Editor/>
+                  </AutoFormElement>
+                </AutoForm>
+                <ToolBar>
+                  <Fill/>
+                  <ToolBarButton id="btnTodo">
+                    <Property name="caption">宸ュ崟瀹℃壒</Property>
+                    <Property name="exClassName">btn1</Property>
+                    <Property name="iconClass">fa fa-check-circle</Property>
+                    <Property name="menu">menus</Property>
+                    <Property name="width">120</Property>
+                  </ToolBarButton>
+                  <ToolBarButton>
+                    <ClientEvent name="onClick">view.get(&quot;#dialogMain&quot;).hide();</ClientEvent>
+                    <Property name="caption">鍏抽棴</Property>
+                    <Property name="width">120</Property>
+                    <Property name="exClassName">btn3</Property>
+                    <Property name="iconClass">fa fa-times-circle</Property>
+                  </ToolBarButton>
+                  <Separator>
+                    <Property name="width">30</Property>
+                  </Separator>
+                </ToolBar>
+              </Container>
+              <IFrame id="iFrameFlowHis">
+                <Property name="path">/work/flow-his?orderId=1</Property>
+              </IFrame>
             </Container>
           </ControlTab>
           <ControlTab>
             <Property name="caption">涓氬姟淇℃伅</Property>
             <Property name="iconClass">fa fa-file-o</Property>
+            <Property name="width">120</Property>
             <IFrame id="iFrameBiz"/>
-          </ControlTab>
-          <ControlTab>
-            <Property name="caption">瀹℃壒璁板綍</Property>
-            <Property name="iconClass">fa fa-history</Property>
-            <IFrame id="iFrameProcess">
-              <Property name="path">com.fzzy.work.WorkProcess.d</Property>
-            </IFrame>
           </ControlTab>
         </TabControl>
       </Children>
       <Tools/>
     </Dialog>
-    <UpdateAction id="updateSave">
-      <UpdateItem>
-        <Property name="dataPath">[#current]</Property>
-        <Property name="dataSet">dsMain</Property>
-      </UpdateItem>
-    </UpdateAction>
-    <AjaxAction id="ajaxDel">
-      <Property name="confirmMessage">纭畾瑕佹墽琛屽垹闄や箞锛�</Property>
+    <Dialog id="dialogTodo">
+      <Property name="width">600</Property>
+      <Property name="caption">瀹℃壒澶勭悊</Property>
+      <Property name="closeable">false</Property>
+      <Property name="iconClass">fa fa-bookmark</Property>
+      <Buttons>
+        <Button>
+          <ClientEvent name="onClick">todo();</ClientEvent>
+          <Property name="caption">纭畾</Property>
+          <Property name="iconClass">fa fa-check</Property>
+          <Property name="exClassName">btn1</Property>
+          <Property name="width">90</Property>
+        </Button>
+        <Button>
+          <ClientEvent name="onClick">cancelTodo();</ClientEvent>
+          <Property name="caption">鍙栨秷</Property>
+          <Property name="iconClass">fa fa-times</Property>
+          <Property name="exClassName">btn3</Property>
+          <Property name="width">90</Property>
+        </Button>
+      </Buttons>
+      <Children>
+        <Container>
+          <AutoForm>
+            <Property name="cols">*</Property>
+            <Property name="dataSet">dsProcess</Property>
+            <AutoFormElement>
+              <Property name="name">remark</Property>
+              <Property name="property">remark</Property>
+              <Property name="showHint">false</Property>
+              <Property name="showLabel">false</Property>
+              <Editor>
+                <TextArea>
+                  <Property name="blankText">-- 濉啓瀹℃壒寤鸿 --</Property>
+                  <Property name="height">100</Property>
+                </TextArea>
+              </Editor>
+            </AutoFormElement>
+          </AutoForm>
+        </Container>
+      </Children>
+      <Tools/>
+    </Dialog>
+    <AjaxAction id="ajaxTodo">
+      <Property name="service">workOrderPR#todo</Property>
+      <Property name="executingMessage">澶勭悊涓�︹��</Property>
     </AjaxAction>
+    <DataSet id="dsSysUser">
+      <Property name="dataType">[dtSysUser]</Property>
+      <Property name="dataProvider">commonPR#listUserByCurUserType</Property>
+    </DataSet>
+    <DataSetDropDown id="selectUser">
+      <Property name="dataSet">dsSysUser</Property>
+      <Property name="property">userName</Property>
+      <Property name="assignmentMap">assigneeId=loginName,assigneeName=userName</Property>
+    </DataSetDropDown>
+    <Dialog id="dialogSelectUser">
+      <Property name="width">600</Property>
+      <Property name="caption">鎸囧畾/杞澶勭悊浜�</Property>
+      <Property name="closeable">false</Property>
+      <Property name="iconClass">fa fa-bookmark</Property>
+      <Buttons>
+        <Button>
+          <ClientEvent name="onClick">todo();</ClientEvent>
+          <Property name="caption">纭畾</Property>
+          <Property name="iconClass">fa fa-check</Property>
+          <Property name="exClassName">btn1</Property>
+          <Property name="width">90</Property>
+        </Button>
+        <Button>
+          <ClientEvent name="onClick">cancelTodo();</ClientEvent>
+          <Property name="caption">鍙栨秷</Property>
+          <Property name="iconClass">fa fa-times</Property>
+          <Property name="exClassName">btn3</Property>
+          <Property name="width">90</Property>
+        </Button>
+      </Buttons>
+      <Children>
+        <Container>
+          <AutoForm>
+            <Property name="cols">*</Property>
+            <Property name="dataSet">dsProcess</Property>
+            <Property name="labelAlign">right</Property>
+            <Property name="labelWidth">100</Property>
+            <AutoFormElement>
+              <Property name="name">assigneeName</Property>
+              <Property name="property">assigneeName</Property>
+              <Property name="trigger">selectUser</Property>
+              <Editor/>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">remark</Property>
+              <Property name="property">remark</Property>
+              <Editor>
+                <TextArea>
+                  <Property name="blankText">-- 濉啓瀹℃壒寤鸿 --</Property>
+                  <Property name="height">100</Property>
+                </TextArea>
+              </Editor>
+            </AutoFormElement>
+            <AutoFormElement>
+              <Property name="name">assigneeId</Property>
+              <Property name="property">assigneeId</Property>
+              <Property name="visible">false</Property>
+              <Editor/>
+            </AutoFormElement>
+          </AutoForm>
+        </Container>
+      </Children>
+      <Tools/>
+    </Dialog>
+    <AjaxAction id="ajaxSummary">
+      <Property name="service">workOrderPR#pageSummary</Property>
+    </AjaxAction>
+    <Menu id="menus">
+      <MenuItem>
+        <ClientEvent name="onClick">var process = view.get(&quot;#dsProcess.data&quot;);&#xD;
+process.set('action','pass')&#xD;
+view.get(&quot;#dialogTodo&quot;).show();</ClientEvent>
+        <Property name="caption">瀹℃壒閫氳繃</Property>
+        <Property name="iconClass">fa fa-check</Property>
+      </MenuItem>
+      <MenuItem>
+        <ClientEvent name="onClick">selectUser();</ClientEvent>
+        <Property name="caption">杞氦澶勭悊</Property>
+        <Property name="iconClass">fa fa-repeat</Property>
+      </MenuItem>
+      <MenuItem>
+        <ClientEvent name="onClick">var process = view.get(&quot;#dsProcess.data&quot;);&#xD;
+process.set('action','refuse')&#xD;
+view.get(&quot;#dialogTodo&quot;).show();</ClientEvent>
+        <Property name="caption">瀹℃壒鎷掔粷</Property>
+        <Property name="iconClass">fa fa-times</Property>
+      </MenuItem>
+      <Separator/>
+      <MenuItem>
+        <ClientEvent name="onClick">var process = view.get(&quot;#dsProcess.data&quot;);&#xD;
+process.set('action','error')&#xD;
+view.get(&quot;#dialogTodo&quot;).show();</ClientEvent>
+        <Property name="caption">寮傚父澶勭悊</Property>
+        <Property name="iconClass">fa fa-tags</Property>
+        <Property name="tip">寮傚父宸ュ崟澶勭悊--鐩存帴娴佺▼缁撴潫</Property>
+      </MenuItem>
+    </Menu>
   </View>
 </ViewConfig>

--
Gitblit v1.9.3