From 10c2ee4be4508c62b5980cc7059b1e8e95f7a3cc Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期二, 04 七月 2023 17:22:11 +0800
Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs
---
Source/UBCS-WEB/src/views/work/process/leave/handle.vue | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/Source/UBCS-WEB/src/views/work/process/leave/handle.vue b/Source/UBCS-WEB/src/views/work/process/leave/handle.vue
index 056cfed..50f4ae3 100644
--- a/Source/UBCS-WEB/src/views/work/process/leave/handle.vue
+++ b/Source/UBCS-WEB/src/views/work/process/leave/handle.vue
@@ -5,7 +5,7 @@
<el-card class="dialogwarp_tab_card">
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="涓氬姟鏁版嵁淇℃伅" name="first">
-
+ <businesswork ref="businesswork":ids="ids" :templateId="templateId"></businesswork>
</el-tab-pane>
<el-tab-pane label="娴佺▼璺熻釜" name="second">
<avue-crud :data="flowList" :option="option" ref="crud">
@@ -75,6 +75,8 @@
export default {
data() {
return {
+ ids:[],
+ templateId:'',
taskId: '',
businessId: '',
processInstanceId: '',
@@ -94,7 +96,7 @@
indexLabelClassName: '搴忓彿',
column: [
{ label: '浠诲姟鍚嶇О', prop: 'historyActivityName', minWidth: 120 },
- { label: '鎵ц鎿嶄綔', prop: 'sex', minWidth: 80 },
+ { label: '鎵ц鎿嶄綔', prop: 'pass', minWidth: 80 ,formatter:this.formatterPass},
{ label: '浠诲姟寮�濮嬫椂闂�', prop: 'createTime', minWidth: 140 },
{ label: '瀹℃壒鎰忚', prop: 'comment', minWidth: 220, overHidden: true },
{ label: '鎵ц浜�', prop: 'assigneeName', minWidth: 80 },
@@ -131,9 +133,15 @@
})
this.apiGetBtnTask(this.processInstanceId)
},
+ formatterPass(row, value, column) {
+ console.log('value',value)
+ return value?'鍚屾剰':'椹冲洖'
+ },
async apiGetBtnTask(id) {
const response = await getBtnTask({ processInstanceId: id })
const res = response.data
+ this.ids=res.data.variables.ids;
+ this.templateId=res.data.variables.templateId;
if (res.success) {
console.log(res)
this.btnList = res.data.toTasks
@@ -185,7 +193,7 @@
display: -ms-flexbox;
display: flex;
justify-content: space-between;
- height: 70vh;
+ height: 85vh;
&_tab {
width: 79%;
--
Gitblit v1.9.3