yangys
2025-08-26 aaf3711a9fcf1a19eba6b2cca9808fbd50832c2b
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,