From 428e6d08629efa80a31e50e27e3c5c38b36bbc67 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期二, 26 八月 2025 15:18:14 +0800
Subject: [PATCH] 修复重新指派下拉框无人的问题
---
src/views/flow/todolist.vue | 27 ++++++++++-----------------
1 files changed, 10 insertions(+), 17 deletions(-)
diff --git a/src/views/flow/todolist.vue b/src/views/flow/todolist.vue
index a679a40..0b8a2c7 100644
--- a/src/views/flow/todolist.vue
+++ b/src/views/flow/todolist.vue
@@ -48,7 +48,7 @@
</el-drawer>
</basic-container>
<div>
- <top-todo ref="topTodoComponent" />
+ <!--<top-todo ref="topTodoComponent" />-->
</div>
</template>
<script>
@@ -325,24 +325,9 @@
};
},
watch: {
- // 'form.category'() {
- // const category = func.toInt(this.form.category);
- // this.$refs.crud.option.column.filter(item => {
- // if (item.prop === 'path') {
- // item.rules[0].required = category === 1;
- // }
- // if (item.prop === 'isOpen') {
- // item.disabled = category === 2;
- // }
- // });
- // },
+
'formApprove.approve'(val) {
this.setAssignee(this.row, val);
- // if(val === 'Y' && ['confirmIsUseableTask'].includes(this.row.taskDefinitionKey) && this.row.variables.isProcessEditionSame=='N') {
- // // this.optionApprove.column[2].display = true; // 鏄剧ず宸ュ簭鐗堟
- // } else {
- // this.optionApprove.column[2].display = false; // 闅愯棌宸ュ簭鐗堟
- // }
},
'reassignForm.approve'(val) {
@@ -372,6 +357,13 @@
},
mounted() {
//this.setApproveBtn(row)
+ getAssignee({
+ taskId: 0,
+ }).then(res => {
+ //if(row.taskDefinitionKey === '')
+ this.assigneeData = res.data.data;
+ this.reassignOption.column[1].dicData = this.assigneeData;
+ });
},
methods: {
// 璁剧疆瀹℃壒缁撴灉鐨勭姸鎬�
@@ -510,6 +502,7 @@
this.transferTaskSelection = list;
},
reassign(val) {// 閲嶆柊鎸囨淳
+
this.reassignType = val;
if (this.transferTaskSelection.length === 0) {
this.$message.warning('璇烽�夋嫨闇�瑕佹搷浣滅殑浠诲姟');
--
Gitblit v1.9.3