From 40671eb79c1805f661fd0e12061dd1b406af9b15 Mon Sep 17 00:00:00 2001
From: jiazx0107 <jiazx0107@163.com>
Date: 星期六, 17 一月 2026 17:10:58 +0800
Subject: [PATCH] Merge branch 'master' of http://124.71.187.17:8299/r/fzzy-igdss
---
fzzy-igdss-view/src/main/java/com/fzzy/work/WorkOrder.view.xml | 896 ++++++++++++++++++++++++++++++++++++++++++-----------------
1 files changed, 630 insertions(+), 266 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..139eed1 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,15 +19,21 @@
</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("workOrderPR#triggerBizType").getResult()}</Property>
+ <Property name="keyProperty">dictValue</Property>
+ <Property name="valueProperty">dictLabel</Property>
+ </Property>
</PropertyDef>
<PropertyDef name="status">
<Property></Property>
<Property name="label">宸ュ崟鐘舵��</Property>
+ <Property name="mapping">
+ <Property name="mapValues">${dorado.getDataProvider("workOrderPR#triggerStatus").getResult()}</Property>
+ <Property name="valueProperty">dictLabel</Property>
+ <Property name="keyProperty">dictValue</Property>
+ </Property>
</PropertyDef>
<PropertyDef name="assigneeId">
<Property></Property>
@@ -42,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>
@@ -61,6 +67,45 @@
<Property></Property>
<Property name="label">澶囨敞璇存槑</Property>
</PropertyDef>
+ <PropertyDef name="companyId">
+ <Property></Property>
+ </PropertyDef>
+ <PropertyDef name="deptId">
+ <Property></Property>
+ <Property name="label">鎵�灞炲簱鍖�</Property>
+ <Property name="mapping">
+ <Property name="mapValues">${dorado.getDataProvider("deptPR#getDeptByUserType").getResult()}</Property>
+ <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("workOrderPR#triggerNode").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">
<Property name="creationType">com.fzzy.work.data.WorkOrderParam</Property>
@@ -70,6 +115,11 @@
<PropertyDef name="deptId">
<Property></Property>
<Property name="label">鎵�灞炲簱鍖�</Property>
+ <Property name="mapping">
+ <Property name="mapValues">${dorado.getDataProvider("deptPR#getDeptByUserType").getResult()}</Property>
+ <Property name="keyProperty">id</Property>
+ <Property name="valueProperty">kqmc</Property>
+ </Property>
</PropertyDef>
<PropertyDef name="name">
<Property></Property>
@@ -87,34 +137,83 @@
<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>
+ <PropertyDef name="orderId">
+ <Property></Property>
+ </PropertyDef>
+ <PropertyDef name="action">
+ <Property></Property>
+ </PropertyDef>
+ <PropertyDef name="remark">
+ <Property></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(){
- view.get("#dsQuery").flushAsync();
-};
+ <ClientEvent name="onReady">view.TAG = 1;
+query= function(){
+ var param = view.get("#dsQuery.data");
+ var tabIndex = view.get("#tabMain.currentIndex");
+ param.set("scope","all");
+ if(0 == tabIndex){
+ param.set("scope","self");
+ }
+ view.get("#dsMain").set("parameter",param).flushAsync();
+}
query();
-

//瀹d紶鎿嶄綔
renderCell1 = function(arg,self){
+ var tabIndex = view.get("#tabMain.currentIndex");
var data = arg.data;
- var htm = "<a onClick='audit()' class='a-btn1'>瀹℃壒</a>&nbsp;|&nbsp;<a onClick='showDetail()' class='a-btn2'>璇︾粏</a>";
+ var htm = "<a onClick='audit()' class='a-btn1'>鎸囨淳</a>&nbsp;|&nbsp;<a onClick='showDetail()' class='a-btn2'>璇︾粏</a>";
+ if(1 == tabIndex){
+ htm = "<a onClick='showDetail()' class='a-btn2'>璇︾粏</a>";
+ }
arg.dom.innerHTML = htm;
};

renderStatus = function(arg){
- var txt = arg.data.getText("auditStatus");
- if(!txt) return true;
- var htm = "<span class='s2'>"+txt+"</span>";
- if(txt.includes("閫�鍥�")){
+ var val = arg.data.get("status");
+ var txt = arg.data.getText("status");
+ if(!val) return true;
+ var htm = "<span class='s1'>"+txt+"</span>";
+ if(val=="20"){//宸叉淳鍗�
+ htm = "<span class='s2'>"+txt+"</span>";
+ }
+ if(val=="30"){//澶勭悊涓�
+ htm = "<span class='s4'>"+txt+"</span>";
+ }
+ if(val=="40"){//宸茶В鍐�
htm = "<span class='s3'>"+txt+"</span>";
}
- if(txt.includes("鎷掔粷")){
+ if(val=="50"){//宸插叧闂�
htm = "<span class='s3'>"+txt+"</span>";
}
- if(txt.includes("閫氳繃")){
- htm = "<span class='s1'>"+txt+"</span>";
+ if(val=="60"){//鎸傝捣
+ htm = "<span class='s3'>"+txt+"</span>";
}
arg.dom.innerHTML = htm;
}
@@ -125,40 +224,216 @@
}
//鐐瑰嚮璇︾粏
showDetail = function(){
+ var tabIndex = view.get("#tabMain.currentIndex");
+ var cur = view.get("#dsMain.data:#");
+ var dialog = view.get("#dialogMain");
+ view.get('^btnTag').set('visible',true);
+ if(1 == tabIndex){
+ view.get('^btnTag').set('visible',false);
+ }
+ dialog.show();

-}</ClientEvent>
+ var orderId = cur.get("id");
+ //鍘嗗彶鏁版嵁
+ view.get('#iFrameFlowHis').set('path','/work/flow-his?orderId='+orderId);
+ //涓氬姟淇℃伅
+ if(cur.get("businessUrl")){
+ var url = cur.get("businessUrl")+"?businessId="+cur.get("businessId")+"&orderId="+orderId;
+ view.get("#iFrameBiz").set("path",url);
+ }else{
+ view.get("#iFrameBiz").set("path","/work/no-business?orderId="+orderId);
+ }
+}
+//鎵ц瀹℃壒
+todo = function(){
+ var cur = view.get("#dsMain.data:#");
+ var process = view.get("#dsProcess.data");
+ process.set("orderId", cur.get("id"));
+ process.set("node", cur.get("node"));
+ var remark = process.get('remark');
+ if(!remark){
+ $notify("璇峰~鍐欏鎵规剰瑙佲�︹��");
+ return;
+ }
+ view.get("#ajaxTodo").set('parameter',process).execute(function(result){
+ if('200' != result.code){
+ $alert(result.message);
+ }else{
+ $alert("鎵ц鎴愬姛锛�");
+ view.get('#dialogTodo').hide();
+ query();
+ }
+ });
+}
+cancelTodo = function(){
+ var process = view.get("#dsProcess.data");
+ process.set("action",null);
+ process.set('remark',null);
+ view.get('#dialogTodo').hide();
+}
+</ClientEvent>
<Property name="packages">font-awesome,css-common</Property>
<DataSet id="dsMain">
+ <ClientEvent name="onLoadData">$notify("鏁版嵁鍔犺浇瀹屾垚鈥︹��");</ClientEvent>
<Property name="dataType">[dtMain]</Property>
- <Property name="dataProvider">workOrderPR#pageQuery</Property>
- <Property name="pageSize">15</Property>
- <Property name="loadMode">lazy</Property>
+ <Property name="dataProvider">workOrderPR#pageQueryByUserType</Property>
+ <Property name="pageSize">10</Property>
+ <Property name="loadMode">manual</Property>
</DataSet>
<DataSet id="dsQuery">
- <ClientEvent name="onReady">self.insert({});
-</ClientEvent>
- <Property name="dataType">[dtParam]</Property>
+ <ClientEvent name="onReady">self.insert({});</ClientEvent>
+ <Property name="dataType">dtParam</Property>
</DataSet>
+ <DataSet id="dsProcess">
+ <ClientEvent name="onReady">self.insert();</ClientEvent>
+ <Property name="dataType">dtWordProcess</Property>
+ </DataSet>
+ <HtmlContainer layoutConstraint="top ">
+ <Property name="content"><style>
+.parent {
+ display: flex;
+ width: 100%;
+ background: #FFF;
+}
+.console-link-block {
+ font-size: 16px;
+ padding: 20px 20px;
+ border-radius: 4px;
+ background-color: #40D4B0;
+ color: #FFFFFF !important;
+ box-shadow: 0 2px 3px rgba(0, 0, 0, .05);
+ position: relative;
+ overflow: hidden;
+ display: block;
+}
+
+.console-link-block .console-link-block-num {
+ font-size: 40px;
+ margin-bottom: 5px;
+ opacity: .9;
+}
+
+.console-link-block .console-link-block-text {
+ opacity: .8;
+}
+.console-link-block .console-link-block-icon {
+ position: absolute;
+ top: 50%;
+ right: 20px;
+ width: 50px;
+ height: 50px;
+ font-size: 50px;
+ line-height: 50px;
+ margin-top: -25px;
+ color: #FFFFFF;
+ opacity: .8;
+}
+.console-link-block .console-link-block-band {
+ color: #fff;
+ width: 100px;
+ font-size: 12px;
+ padding: 2px 0 3px 0;
+ background-color: #E32A16;
+ line-height: inherit;
+ text-align: center;
+ position: absolute;
+ top: 8px;
+ right: -30px;
+ transform-origin: center;
+ transform: rotate(45deg) scale(.8);
+ opacity: .95;
+ z-index: 2;
+}
+.bg2{
+ background-color: #55A5EA;
+}
+.bg3{
+ background-color: #9DAFFF;
+}
+.bg4{
+ background-color: #F591A2;
+}
+.bg5{
+ background-color: #FEAA4F;
+}
+.child {
+ flex: 1;
+ padding: 10px;
+ box-sizing: border-box;
+}
+.child:last-child {
+ border-right: none;
+}
+.console-icon{
+ height:50px;
+ position:absolute;
+ right:20px;
+ opacity:.8;
+ top:50%;
+ margin-top:-25px;
+}
+ 
+</style>
+ 
+ <!-- 蹇嵎鏂瑰紡 -->
+ <div class="parent">
+ 
+ <div class="child">
+ <div class="console-link-block">
+ <div class="console-link-block-num">0</div>
+ <div class="console-link-block-text">浠婃棩宸ュ崟缁熻</div>
+ <img class="console-icon" src="/img/icon-wj.png">
+ </div>
+ </div>
+ 
+ <div class="child">
+ <div class="console-link-block bg2">
+ <div class="console-link-block-num">0</div>
+ <div class="console-link-block-text">浠婃棩寰呭畬鎴愬伐鍗�</div>
+ <img class="console-icon" src="/img/icon-wj2.png">
+ </div>
+ </div>
+ 
+ <div class="child">
+ <div class="console-link-block bg3">
+ <div class="console-link-block-num">0</div>
+ <div class="console-link-block-text">鎬诲伐鍗曠粺璁�</div>
+ <img class="console-icon" src="/img/icon-tj.png">
+ </div>
+ </div>
+ 
+ <div class="child">
+ <div class="console-link-block bg4">
+ <div class="console-link-block-num">0</div>
+ <div class="console-link-block-text">鎬绘湭瀹屾垚宸ュ崟</div>
+ <img class="console-icon" src="/img/icon-tj2.png">
+ </div>
+ </div>
+ 
+ </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>
<AutoFormElement>
<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>
- <Property name="name">status</Property>
- <Property name="property">status</Property>
<Editor/>
</AutoFormElement>
<AutoFormElement>
@@ -172,18 +447,13 @@
<Editor/>
</AutoFormElement>
<Button>
- <ClientEvent name="onClick">var data = view.get("#dsQuery.data");
- if(data){
- view.get("#dsMain").set("parameter",data).flushAsync();
- }else{
- view.get("#dsMain").flushAsync();
- }</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("#dsQuery").flushAsync();</ClientEvent>
+ <ClientEvent name="onClick">view.get("#dsQuery").set("data",{});</ClientEvent>
<Property name="caption">閲嶇疆</Property>
<Property name="exClassName">btn-q2</Property>
<Property name="iconClass">fa fa-refresh</Property>
@@ -192,259 +462,353 @@
</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("#dataGridMain").set("selection",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">
+ <ClientEvent name="onTabChange">if(view.TAG) query();</ClientEvent>
+ <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("selection",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">
+ <ClientEvent name="onDataRowClick">self.set("selection",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="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>
+ </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="width">90%</Property>
+ <Property name="showCaptionBar">false</Property>
+ <Property name="style">
+ <Property name="background-color">#e6e6e6</Property>
+ </Property>
+ <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>
+ <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>
+ <ClientEvent name="onClick">var process = view.get("#dsProcess.data");
+process.set('action','pass')
+view.get("#dialogTodo").show();</ClientEvent>
+ <Property name="caption">閫氳繃</Property>
+ <Property name="width">80</Property>
+ <Property name="exClassName">btn1</Property>
+ <Property name="iconClass">fa fa-check-circle</Property>
+ <Property name="tags">btnTag</Property>
+ </ToolBarButton>
+ <ToolBarButton>
+ <Property name="caption">杞氦</Property>
+ <Property name="width">80</Property>
+ <Property name="exClassName">btn2</Property>
+ <Property name="iconClass">fa fa-check-circle</Property>
+ <Property name="tags">btnTag</Property>
+ </ToolBarButton>
+ <ToolBarButton>
+ <ClientEvent name="onClick">var process = view.get("#dsProcess.data");
+process.set('action','refuse')
+view.get("#dialogTodo").show();</ClientEvent>
+ <Property name="caption">鎷掔粷</Property>
+ <Property name="width">80</Property>
+ <Property name="exClassName">btn5</Property>
+ <Property name="iconClass">fa fa-check-circle</Property>
+ <Property name="tags">btnTag</Property>
+ </ToolBarButton>
+ <ToolBarButton>
+ <ClientEvent name="onClick">view.get("#dialogMain").hide();</ClientEvent>
+ <Property name="caption">鍏抽棴</Property>
+ <Property name="width">80</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>
+ </TabControl>
+ </Children>
+ <Tools/>
+ </Dialog>
+ <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 id="btnOk">
- <ClientEvent name="onClick">view.get("#updateSave").execute(function(result){
- if(result){
- $alert(result);
- return;
- }
- $notify("鏁版嵁鎵ц瀹屾垚锛侊紒");
- self.get("parent").hide();
-});</ClientEvent>
- <Property name="caption">淇濆瓨</Property>
- <Property name="iconClass">fa fa-check-circle</Property>
+ <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">120</Property>
+ <Property name="width">90</Property>
</Button>
<Button>
- <ClientEvent name="onClick">view.get("#dsMain.data:#").cancel();
- self.get("parent").hide();</ClientEvent>
+ <ClientEvent name="onClick">cancelTodo();</ClientEvent>
<Property name="caption">鍙栨秷</Property>
+ <Property name="iconClass">fa fa-times</Property>
<Property name="exClassName">btn3</Property>
- <Property name="iconClass">fa fa-times-circle</Property>
- <Property name="width">120</Property>
+ <Property name="width">90</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>
+ <Property name="cols">*</Property>
+ <Property name="dataSet">dsProcess</Property>
<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/>
+ <Property name="showHint">false</Property>
+ <Property name="showLabel">false</Property>
+ <Editor>
+ <TextArea>
+ <Property name="blankText">-- 濉啓瀹℃壒寤鸿 --</Property>
+ <Property name="height">100</Property>
+ </TextArea>
+ </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.鍏ュ簱閫氱煡鍗曚綔涓哄叆搴撲綔涓氱殑鍓嶇疆鏉′欢锛屽繀椤婚厤缃紝鍚﹀垯鏃犳硶杩涜鍏ュ簱浣滀笟銆�<br>
-2.鍗曟嵁绫诲瀷=搴撳尯閫氱煡鍗曪紝琛ㄧず搴撳尯鑷繁浣滀笟涓氬姟锛屼笉鍙楃洃绠$鐞嗐��</Property>
- <Property name="exClassName">h-tip</Property>
- <Property name="contentOverflow">hidden</Property>
- </HtmlContainer>
</AutoForm>
</Container>
</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>
+ <AjaxAction id="ajaxTodo">
+ <Property name="service">workOrderPR#todo</Property>
+ <Property name="executingMessage">澶勭悊涓�︹��</Property>
</AjaxAction>
</View>
</ViewConfig>
--
Gitblit v1.9.3