From 20ab183600cd34b682f8eef40af809636443d386 Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期一, 11 八月 2025 21:56:23 +0800
Subject: [PATCH] update
---
src/api/flow/todolist.js | 8 +++-----
src/views/flow/todolist.vue | 5 +++--
src/views/flow/todoindex.vue | 6 +++---
3 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/src/api/flow/todolist.js b/src/api/flow/todolist.js
index 03e3c59..18f858f 100644
--- a/src/api/flow/todolist.js
+++ b/src/api/flow/todolist.js
@@ -1,7 +1,7 @@
/*
* @Date: 2025-06-12 22:38:05
* @LastEditors: gaoshp
- * @LastEditTime: 2025-08-10 15:29:06
+ * @LastEditTime: 2025-08-11 21:50:32
* @FilePath: /mdmweb/src/api/flow/todolist.js
*/
import request from '@/axios';
@@ -93,8 +93,7 @@
return request({
url: '/blade-mdm/flow/dispatch/batchDispatch',
method: 'post',
- params: data,
- data: {}
+ data: data,
})
}
// 鑷姩娲惧伐
@@ -102,8 +101,7 @@
return request({
url: '/blade-mdm/flow/dispatch/batchDispatchAuto',
method: 'post',
- params: data,
- data: {}
+ data: data,
})
}
// 涓婁竴鐜妭瀹℃壒浜�
diff --git a/src/views/flow/todoindex.vue b/src/views/flow/todoindex.vue
index a128ca8..1774eab 100644
--- a/src/views/flow/todoindex.vue
+++ b/src/views/flow/todoindex.vue
@@ -1,7 +1,7 @@
<!--
* @Date: 2025-08-10 14:14:58
* @LastEditors: gaoshp
- * @LastEditTime: 2025-08-10 14:32:11
+ * @LastEditTime: 2025-08-11 21:46:04
* @FilePath: /mdmweb/src/views/flow/todoindex.vue
-->
<template>
@@ -12,10 +12,10 @@
class="demo-tabs"
>
<el-tab-pane label="寰呭姙" name="todo">
- <todolist></todolist>
+ <todolist v-if="activeName==='todo'"></todolist>
</el-tab-pane>
<el-tab-pane label="宸插姙" name="done">
- <donelist> </donelist>
+ <donelist v-if="activeName==='done'"> </donelist>
</el-tab-pane>
</el-tabs>
</basic-container>
diff --git a/src/views/flow/todolist.vue b/src/views/flow/todolist.vue
index 7d845cc..a28e0c8 100644
--- a/src/views/flow/todolist.vue
+++ b/src/views/flow/todolist.vue
@@ -12,7 +12,8 @@
</el-button>
</template>
<template #menu="scope">
- <el-button type="primary" text size="default" @click.stop="handleAction(scope.row, scope.index)">瀹℃壒
+ <el-button type="primary" text size="default" @click.stop="handleAction(scope.row, scope.index)">
+ {{scope.row.taskDefinitionKey === 'teamLeaderTask' ? '娲惧伐' : '瀹℃壒'}}
</el-button>
</template>
</avue-crud>
@@ -275,7 +276,7 @@
span: 24,
prop: 'comment',
type: 'textarea',
- rules: [{ required: false, message: '璇疯緭鍏ュ鎵规剰瑙�', trigger: 'blur' }],
+ // rules: [{ required: true, message: '璇疯緭鍏ュ鎵规剰瑙�', trigger: 'blur' }],
},
],
},
--
Gitblit v1.9.3