From 586f6679de6c8f0216e65454388c530d809717b3 Mon Sep 17 00:00:00 2001
From: jiazx0107 <jiazx0107@163.com>
Date: 星期一, 29 十二月 2025 14:23:39 +0800
Subject: [PATCH] 修改工单审核页面,调整全局CSS

---
 fzzy-igdss-view/src/main/java/com/fzzy/work/WorkOrder.view.xml |  754 +++++++++++++++++++++++++++++++++++++++-------------------
 1 files changed, 507 insertions(+), 247 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 1e6c185..174c171 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
@@ -28,6 +28,11 @@
       <PropertyDef name="status">
         <Property></Property>
         <Property name="label">宸ュ崟鐘舵��</Property>
+        <Property name="mapping">
+          <Property name="mapValues">${dorado.getDataProvider(&quot;workOrderPR#triggerStatus&quot;).getResult()}</Property>
+          <Property name="valueProperty">dictLabel</Property>
+          <Property name="keyProperty">dictValue</Property>
+        </Property>
       </PropertyDef>
       <PropertyDef name="assigneeId">
         <Property></Property>
@@ -61,6 +66,13 @@
         <Property></Property>
         <Property name="label">澶囨敞璇存槑</Property>
       </PropertyDef>
+      <PropertyDef name="companyId">
+        <Property></Property>
+      </PropertyDef>
+      <PropertyDef name="deptId">
+        <Property></Property>
+        <Property name="label">鎵�灞炲簱鍖�</Property>
+      </PropertyDef>
     </DataType>
     <DataType name="dtParam">
       <Property name="creationType">com.fzzy.work.data.WorkOrderParam</Property>
@@ -88,33 +100,56 @@
         <Property name="label">鎴鏃堕棿</Property>
       </PropertyDef>
     </DataType>
+    <DataType name="dtWordProcess">
+      <Property name="creationType">com.fzzy.work.domain.WorkOrderProcess</Property>
+      <PropertyDef name="orderId">
+        <Property/>
+      </PropertyDef>
+      <PropertyDef name="action">
+        <Property/>
+      </PropertyDef>
+      <PropertyDef name="remark">
+        <Property/>
+      </PropertyDef>
+    </DataType>
   </Model>
   <View layout="padding:10">
-    <ClientEvent name="onReady">query = function(){&#xD;
-    view.get(&quot;#dsQuery&quot;).flushAsync();&#xD;
-};&#xD;
-query();&#xD;
-&#xD;
+    <ClientEvent name="onReady">query= function(){&#xD;
+	var param = view.get(&quot;#dsQuery.data&quot;);&#xD;
+	var tabIndex = view.get(&quot;#tabMain.currentIndex&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;
+	}&#xD;
+}&#xD;
       &#xD;
 //瀹d紶鎿嶄綔&#xD;
 renderCell1 = function(arg,self){&#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='audit()' class='a-btn1'>鎸囨淳&lt;/a>&amp;nbsp;|&amp;nbsp;&lt;a onClick='showDetail()' class='a-btn2'>璇︾粏&lt;/a>&quot;;&#xD;
    arg.dom.innerHTML = htm;&#xD;
 };&#xD;
 &#xD;
 renderStatus = function(arg){&#xD;
-	var txt = arg.data.getText(&quot;auditStatus&quot;);&#xD;
-	if(!txt) return true;&#xD;
-	var htm = &quot;&lt;span class='s2'>&quot;+txt+&quot;&lt;/span>&quot;;&#xD;
-	if(txt.includes(&quot;閫�鍥�&quot;)){&#xD;
+	var val = arg.data.get(&quot;status&quot;);&#xD;
+	var txt = arg.data.getText(&quot;status&quot;);&#xD;
+	if(!val) return true;&#xD;
+	var htm = &quot;&lt;span class='s1'>&quot;+txt+&quot;&lt;/span>&quot;;&#xD;
+	if(val==&quot;20&quot;){//宸叉淳鍗�&#xD;
+		htm = &quot;&lt;span class='s2'>&quot;+txt+&quot;&lt;/span>&quot;;&#xD;
+	}&#xD;
+	if(val==&quot;30&quot;){//澶勭悊涓�&#xD;
+		htm = &quot;&lt;span class='s4'>&quot;+txt+&quot;&lt;/span>&quot;;&#xD;
+	}&#xD;
+	if(val==&quot;40&quot;){//宸茶В鍐�&#xD;
 		htm = &quot;&lt;span class='s3'>&quot;+txt+&quot;&lt;/span>&quot;;&#xD;
 	}&#xD;
-	if(txt.includes(&quot;鎷掔粷&quot;)){&#xD;
+	if(val==&quot;50&quot;){//宸插叧闂�&#xD;
 		htm = &quot;&lt;span class='s3'>&quot;+txt+&quot;&lt;/span>&quot;;&#xD;
 	}&#xD;
-	if(txt.includes(&quot;閫氳繃&quot;)){&#xD;
-		htm = &quot;&lt;span class='s1'>&quot;+txt+&quot;&lt;/span>&quot;;&#xD;
+	if(val==&quot;60&quot;){//鎸傝捣&#xD;
+		htm = &quot;&lt;span class='s3'>&quot;+txt+&quot;&lt;/span>&quot;;&#xD;
 	}&#xD;
     arg.dom.innerHTML = htm;&#xD;
 }&#xD;
@@ -125,24 +160,186 @@
 }&#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;
+	if(1 == tabIndex){&#xD;
+		cur = view.get(&quot;#dsMain2.data:#&quot;);&#xD;
+		dialog = view.get(&quot;#dialogMain&quot;);&#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;
+	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;
+		view.get(&quot;#iFrameBiz&quot;).set(&quot;path&quot;,url);&#xD;
+	}else{&#xD;
+		view.get(&quot;#iFrameBiz&quot;).set(&quot;path&quot;,&quot;/work/no-business?orderId=&quot;+orderId);&#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="pageSize">15</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>
     </DataSet>
     <DataSet id="dsQuery">
-      <ClientEvent name="onReady">self.insert({});&#xD;
-</ClientEvent>
-      <Property name="dataType">[dtParam]</Property>
+      <ClientEvent name="onReady">self.insert({});</ClientEvent>
+      <Property name="dataType">dtParam</Property>
     </DataSet>
+    <DataSet id="dsWordProcess">
+      <ClientEvent name="onReady">self.insert();</ClientEvent>
+      <Property name="dataType">dtWordProcess</Property>
+    </DataSet>
+    <HtmlContainer layoutConstraint="top ">
+      <Property name="content">&lt;style>&#xD;
+.parent {&#xD;
+  display: flex;&#xD;
+  width: 100%;&#xD;
+  background: #FFF;&#xD;
+}&#xD;
+.console-link-block {&#xD;
+    font-size: 16px;&#xD;
+    padding: 20px 20px;&#xD;
+    border-radius: 4px;&#xD;
+    background-color: #40D4B0;&#xD;
+    color: #FFFFFF !important;&#xD;
+    box-shadow: 0 2px 3px rgba(0, 0, 0, .05);&#xD;
+    position: relative;&#xD;
+    overflow: hidden;&#xD;
+    display: block;&#xD;
+}&#xD;
+&#xD;
+.console-link-block .console-link-block-num {&#xD;
+    font-size: 40px;&#xD;
+    margin-bottom: 5px;&#xD;
+    opacity: .9;&#xD;
+}&#xD;
+&#xD;
+.console-link-block .console-link-block-text {&#xD;
+    opacity: .8;&#xD;
+}&#xD;
+.console-link-block .console-link-block-icon {&#xD;
+    position: absolute;&#xD;
+    top: 50%;&#xD;
+    right: 20px;&#xD;
+    width: 50px;&#xD;
+    height: 50px;&#xD;
+    font-size: 50px;&#xD;
+    line-height: 50px;&#xD;
+    margin-top: -25px;&#xD;
+    color: #FFFFFF;&#xD;
+    opacity: .8;&#xD;
+}&#xD;
+.console-link-block .console-link-block-band {&#xD;
+    color: #fff;&#xD;
+    width: 100px;&#xD;
+    font-size: 12px;&#xD;
+    padding: 2px 0 3px 0;&#xD;
+    background-color: #E32A16;&#xD;
+    line-height: inherit;&#xD;
+    text-align: center;&#xD;
+    position: absolute;&#xD;
+    top: 8px;&#xD;
+    right: -30px;&#xD;
+    transform-origin: center;&#xD;
+    transform: rotate(45deg) scale(.8);&#xD;
+    opacity: .95;&#xD;
+    z-index: 2;&#xD;
+}&#xD;
+.bg2{&#xD;
+	background-color: #55A5EA;&#xD;
+}&#xD;
+.bg3{&#xD;
+	background-color: #9DAFFF;&#xD;
+}&#xD;
+.bg4{&#xD;
+	 background-color: #F591A2;&#xD;
+}&#xD;
+.bg5{&#xD;
+	  background-color: #FEAA4F;&#xD;
+}&#xD;
+.child {&#xD;
+  flex: 1;&#xD;
+  padding: 10px;&#xD;
+  box-sizing: border-box;&#xD;
+}&#xD;
+.child:last-child {&#xD;
+  border-right: none;&#xD;
+}&#xD;
+.console-icon{&#xD;
+	height:50px;&#xD;
+	position:absolute;&#xD;
+	right:20px;&#xD;
+	opacity:.8;&#xD;
+	top:50%;&#xD;
+	margin-top:-25px;&#xD;
+}&#xD;
+		&#xD;
+&lt;/style>&#xD;
+    &#xD;
+    &lt;!-- 蹇嵎鏂瑰紡 -->&#xD;
+    &lt;div class=&quot;parent&quot;>&#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;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;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;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;img class=&quot;console-icon&quot; src=&quot;/img/icon-tj2.png&quot;>&#xD;
+            &lt;/div>&#xD;
+        &lt;/div>&#xD;
+        &#xD;
+    &lt;/div></Property>
+      <Property name="style">
+        <Property name="background-color">#FFF</Property>
+      </Property>
+    </HtmlContainer>
     <Container>
       <Property name="className">c-param</Property>
+      <Property name="style">
+        <Property name="margin-top">10px</Property>
+      </Property>
       <AutoForm>
-        <Property name="cols">*,*,*,*</Property>
+        <Property name="cols">*,*,*,*,90,90</Property>
         <Property name="dataSet">dsQuery</Property>
         <Property name="labelAlign">right</Property>
         <Property name="labelWidth">100</Property>
@@ -157,11 +354,6 @@
           <Editor/>
         </AutoFormElement>
         <AutoFormElement>
-          <Property name="name">status</Property>
-          <Property name="property">status</Property>
-          <Editor/>
-        </AutoFormElement>
-        <AutoFormElement>
           <Property name="name">start</Property>
           <Property name="property">start</Property>
           <Editor/>
@@ -172,18 +364,13 @@
           <Editor/>
         </AutoFormElement>
         <Button>
-          <ClientEvent name="onClick">var data = view.get(&quot;#dsQuery.data&quot;);&#xD;
-            if(data){&#xD;
-            view.get(&quot;#dsMain&quot;).set(&quot;parameter&quot;,data).flushAsync();&#xD;
-            }else{&#xD;
-            view.get(&quot;#dsMain&quot;).flushAsync();&#xD;
-            }</ClientEvent>
+          <ClientEvent name="onClick">query();</ClientEvent>
           <Property name="caption">鎼滅储</Property>
           <Property name="iconClass">fa fa-search</Property>
           <Property name="exClassName">btn-q1</Property>
         </Button>
         <Button>
-          <ClientEvent name="onClick">view.get(&quot;#dsQuery&quot;).flushAsync();</ClientEvent>
+          <ClientEvent name="onClick">view.get(&quot;#dsQuery&quot;).set(&quot;data&quot;,{});</ClientEvent>
           <Property name="caption">閲嶇疆</Property>
           <Property name="exClassName">btn-q2</Property>
           <Property name="iconClass">fa fa-refresh</Property>
@@ -192,81 +379,177 @@
     </Container>
     <Container>
       <Property name="className">c-data</Property>
-      <ToolBar>
-        <ToolBarButton layoutConstraint="left">
-          <Property name="caption">瀵煎嚭EXCEL</Property>
-          <Property name="exClassName">btn4</Property>
-          <Property name="iconClass">fa fa-file-excel-o</Property>
-        </ToolBarButton>
-      </ToolBar>
-      <DataGrid id="dataGridMain" layoutConstraint="padding:8">
-        <ClientEvent name="onDataRowClick">view.get(&quot;#dataGridMain&quot;).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>
-        <RowSelectorColumn/>
-        <RowNumColumn>
-          <Property name="width">50</Property>
-          <Property name="caption">搴忓彿</Property>
-        </RowNumColumn>
-        <DataColumn name="id">
-          <Property name="property">id</Property>
-        </DataColumn>
-        <DataColumn name="title">
-          <Property name="property">title</Property>
-        </DataColumn>
-        <DataColumn name="description">
-          <Property name="property">description</Property>
-        </DataColumn>
-        <DataColumn name="bizType">
-          <Property name="property">bizType</Property>
-        </DataColumn>
-        <DataColumn name="category">
-          <Property name="property">category</Property>
-        </DataColumn>
-        <DataColumn name="assigneeName">
-          <Property name="property">assigneeName</Property>
-        </DataColumn>
-        <DataColumn name="receiveTime">
-          <Property name="property">receiveTime</Property>
-        </DataColumn>
-        <DataColumn name="createUserName">
-          <Property name="property">createUserName</Property>
-        </DataColumn>
-        <DataColumn name="createTime">
-          <Property name="property">createTime</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>
-          <ClientEvent name="onRenderCell">renderCell1(arg,self);</ClientEvent>
-          <Property name="caption">鎿嶄綔</Property>
+      <TabControl id="tabMain">
+        <ControlTab>
+          <Property name="caption">鍏ㄩ儴</Property>
+          <Property name="iconClass">fa fa-th-large</Property>
           <Property name="width">150</Property>
-          <Property name="align">center</Property>
-          <Editor/>
-        </DataColumn>
-      </DataGrid>
-      <ToolBar layoutConstraint="bottom">
-        <Fill/>
-        <DataPilot layoutConstraint="right">
-          <Property name="itemCodes">pageSize,pages</Property>
-          <Property name="dataSet">dsMain</Property>
-        </DataPilot>
-      </ToolBar>
+          <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">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">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>
+        </ControlTab>
+      </TabControl>
     </Container>
     <Dialog id="dialogMain" layout="regionPadding:8">
       <Property name="closeable">false</Property>
-      <Property name="caption">鍏ュ簱閫氱煡鍗�</Property>
-      <Property name="width">1200</Property>
+      <Property name="caption">宸ュ崟璇︾粏</Property>
       <Property name="iconClass">fa fa-tasks</Property>
+      <Property name="height">95%</Property>
+      <Property name="width">95%</Property>
+      <Property name="showCaptionBar">false</Property>
+      <Property name="style">
+        <Property name="background-color">#e6e6e6</Property>
+      </Property>
       <Buttons>
-        <Button id="btnOk">
+        <Button>
           <ClientEvent name="onClick">view.get(&quot;#updateSave&quot;).execute(function(result){&#xD;
 	if(result){&#xD;
 		$alert(result);&#xD;
@@ -275,165 +558,142 @@
 	$notify(&quot;鏁版嵁鎵ц瀹屾垚锛侊紒&quot;);&#xD;
 	self.get(&quot;parent&quot;).hide();&#xD;
 });</ClientEvent>
-          <Property name="caption">淇濆瓨</Property>
+          <Property name="caption">澶勭悊</Property>
           <Property name="iconClass">fa fa-check-circle</Property>
           <Property name="exClassName">btn1</Property>
-          <Property name="width">120</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="caption">鍏抽棴</Property>
           <Property name="exClassName">btn3</Property>
           <Property name="iconClass">fa fa-times-circle</Property>
-          <Property name="width">120</Property>
         </Button>
       </Buttons>
       <Children>
-        <Container>
-          <AutoForm layoutConstraint="top ">
-            <Property name="dataSet">dsMain</Property>
-            <Property name="showHint">false</Property>
-            <Property name="cols">210,*,210</Property>
-            <Control/>
-            <AutoFormElement>
-              <Property name="name">name</Property>
-              <Property name="property">name</Property>
-              <Property name="editorType">Label</Property>
-              <Property name="showLabel">false</Property>
-              <Property name="showHint">false</Property>
-              <Property name="className">f-title</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
-              <Property name="name">id</Property>
-              <Property name="property">id</Property>
-              <Property name="editorType">Label</Property>
-              <Property name="showHint">false</Property>
-              <Property name="labelAlign">right</Property>
-              <Property name="showLabel">false</Property>
-              <Editor/>
-            </AutoFormElement>
-          </AutoForm>
-          <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 layoutConstraint="colSpan:2">
-              <Property name="name">name</Property>
-              <Property name="property">name</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
-              <Property name="name">type</Property>
-              <Property name="property">type</Property>
-              <Property name="editorType">RadioGroup</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
-              <Property name="name">depotId</Property>
-              <Property name="property">depotId</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
-              <Property name="name">foodVariety</Property>
-              <Property name="property">foodVariety</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
-              <Property name="name">year</Property>
-              <Property name="property">year</Property>
-              <Property name="trigger">defaultYearDropDown</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement layoutConstraint="colSpan:2">
-              <Property name="name">customerName</Property>
-              <Property name="property">customerName</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
-              <Property name="name">unitName</Property>
-              <Property name="property">unitName</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
-              <Property name="name">targetNumber</Property>
-              <Property name="property">targetNumber</Property>
-              <Property name="readOnly">false</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
-              <Property name="name">completeNumber</Property>
-              <Property name="property">completeNumber</Property>
-              <Property name="readOnly">false</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
-              <Property name="name">completeStatus</Property>
-              <Property name="property">completeStatus</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
-              <Property name="name">completeTime</Property>
-              <Property name="property">completeTime</Property>
-              <Property name="readOnly">false</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
-              <Property name="name">createBy</Property>
-              <Property name="property">createBy</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
-              <Property name="name">auditStatus</Property>
-              <Property name="property">auditStatus</Property>
-              <Property name="readOnly">true</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement layoutConstraint="colSpan:2">
-              <Property name="name">contract</Property>
-              <Property name="property">contract</Property>
-              <Editor/>
-            </AutoFormElement>
-            <Label>
-              <Property name="style">
-                <Property name="color">blue</Property>
-              </Property>
-              <Property name="text">娉細鐩戠閫氱煡鍗曪紝鍙~鍐欒川鎶煎悎鍚屽悕绉�</Property>
-            </Label>
-            <AutoFormElement layoutConstraint="colSpan:3">
-              <Property name="name">remark</Property>
-              <Property name="property">remark</Property>
-              <Property name="editorType">TextArea</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
-              <Property name="name">createTime</Property>
-              <Property name="property">createTime</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
-              <Property name="name">auditUser</Property>
-              <Property name="property">auditUser</Property>
-              <Property name="readOnly">true</Property>
-              <Editor/>
-            </AutoFormElement>
-            <AutoFormElement>
-              <Property name="name">auditDate</Property>
-              <Property name="property">auditDate</Property>
-              <Property name="readOnly">true</Property>
-              <Editor/>
-            </AutoFormElement>
-            <HtmlContainer layoutConstraint="colSpan:3">
-              <Property name="content">1.鍏ュ簱閫氱煡鍗曚綔涓哄叆搴撲綔涓氱殑鍓嶇疆鏉′欢锛屽繀椤婚厤缃紝鍚﹀垯鏃犳硶杩涜鍏ュ簱浣滀笟銆�&lt;br>&#xD;
-2.鍗曟嵁绫诲瀷=搴撳尯閫氱煡鍗曪紝琛ㄧず搴撳尯鑷繁浣滀笟涓氬姟锛屼笉鍙楃洃绠$鐞嗐��</Property>
-              <Property name="exClassName">h-tip</Property>
-              <Property name="contentOverflow">hidden</Property>
-            </HtmlContainer>
-          </AutoForm>
-        </Container>
+        <TabControl>
+          <ControlTab>
+            <Property name="caption">宸ュ崟淇℃伅</Property>
+            <Property name="iconClass">fa fa-edit</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>
+          </ControlTab>
+          <ControlTab>
+            <Property name="caption">涓氬姟淇℃伅</Property>
+            <Property name="iconClass">fa fa-file-o</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>

--
Gitblit v1.9.3