From b8fb1d580d3cd345c6fb96ff9d54d437c3137fd1 Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期一, 25 十二月 2023 17:25:49 +0800 Subject: [PATCH] 1、数据进行状态修改时会报错,且部分数据更改不了。 2、删除数据时会报错。 --- Source/UBCS-WEB/src/views/work/start.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/views/work/start.vue b/Source/UBCS-WEB/src/views/work/start.vue index e0a034b..75ae125 100644 --- a/Source/UBCS-WEB/src/views/work/start.vue +++ b/Source/UBCS-WEB/src/views/work/start.vue @@ -24,13 +24,13 @@ <el-button type="text" size="small" icon="el-icon-video-play" - v-if="permission.work_start_flow" + v-if="permissionList.startBtn" @click.stop="handleStart(scope.row)">鍙戣捣 </el-button> <el-button type="text" size="small" icon="el-icon-search" - v-if="permission.work_start_image" + v-if="permissionList.img" @click.stop="handleImage(scope.row,scope.index)">娴佺▼鍥� </el-button> </template> @@ -153,7 +153,13 @@ } }, computed: { - ...mapGetters(["permission", "flowRoutes"]), + ...mapGetters(["permission", "flowRoutes","permission"]), + permissionList(){ + return{ + startBtn:this.vaildData(this.permission.work_start.work_start_flow,false), + img:this.vaildData(this.permission.work_start.work_start_image,false), + } + }, ids() { let ids = []; this.selectionList.forEach(ele => { -- Gitblit v1.9.3