From aaf3711a9fcf1a19eba6b2cca9808fbd50832c2b Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期二, 26 八月 2025 11:08:14 +0800
Subject: [PATCH] 提醒挪位置

---
 src/views/flow/todolist.vue |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/views/flow/todolist.vue b/src/views/flow/todolist.vue
index 086e72e..a679a40 100644
--- a/src/views/flow/todolist.vue
+++ b/src/views/flow/todolist.vue
@@ -6,12 +6,12 @@
             @selection-change="selectionTransferTask">
             <template #menu-left>
                 
-                <el-button type="primary" v-if="permission.auto_dispatch" plain @click="reassign(2)">鑷姩娲惧伐
+                <el-button type="primary" :disabled="this.transferTaskSelection.length==0" v-if="permission.auto_dispatch" plain @click="reassign(2)">鑷姩娲惧伐
                 </el-button>
-                <el-button type="primary" v-if="permission.manual_dispatch" plain @click="reassign(1)">鎵嬪姩娲惧伐
+                <el-button type="primary" :disabled="this.transferTaskSelection.length==0" v-if="permission.manual_dispatch" plain @click="reassign(1)">鎵嬪姩娲惧伐
                 </el-button>
-                <el-button type="primary" plain @click="reassign(0)">閲嶆柊鎸囨淳</el-button>
-                <el-button type="primary" v-if="permission.batch_approve" plain @click="reassign(3)">鎵归噺瀹℃壒
+                <el-button type="primary" :disabled="this.transferTaskSelection.length==0" plain @click="reassign(0)">閲嶆柊鎸囨淳</el-button>
+                <el-button type="primary" :disabled="this.transferTaskSelection.length==0" v-if="permission.batch_approve" plain @click="reassign(3)">鎵归噺瀹℃壒
                 </el-button>
             </template>
             <template #menu="scope">
@@ -47,8 +47,10 @@
             </div>
         </el-drawer>
     </basic-container>
+    <div>
+        <top-todo ref="topTodoComponent" />
+    </div>
 </template>
-
 <script>
 import { getList, approve, getAssignee,reassgin,manualDispatch,autoDispatch,getPrevius,batchApprove } from '@/api/flow/todolist';
 import { mapGetters } from 'vuex';
@@ -56,6 +58,8 @@
 import TodolistLeft from './components/TodolistLeft.vue';
 import TodolistRightTop from './components/TodolistRightTop.vue';
 import processTrace from './components/process-trace.vue';
+
+//import top-todo from '../../page/index/LoadGood.vue';
 export default {
     components: {
         TodolistLeft,

--
Gitblit v1.9.3