yangys
2025-08-23 485bd332398e24037dd34be42e9538e3eca1bcac
撤回按钮增加权限配置
已修改1个文件
11 ■■■■ 文件已修改
src/views/flow/donelist.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/flow/donelist.vue
@@ -11,7 +11,7 @@
            @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad" >
            <template #menu="scope">
                <el-button type="primary" text size="default" @click.stop="handleView(scope.row, scope.index)">查看</el-button>
                <el-button type="primary" text size="default" @click.stop="handleWithdraw(scope.row, scope.index)">撤回</el-button>
                <el-button type="primary" v-if="permission.withdraw_button" text size="default" @click.stop="handleWithdraw(scope.row, scope.index)">撤回</el-button>
            </template>
            
        </avue-crud>
@@ -333,7 +333,7 @@
            this.dialogVisible = true;
        },
        handleWithdraw(row) {
            console.log(row,row.processInstanceId)
            //console.log(row,row.processInstanceId)
            this.$confirm('确认要撤回吗?', '', {
                    confirmButtonText: this.$t('submitText'),
                    cancelButtonText: this.$t('cancelText'),
@@ -416,7 +416,14 @@
                this.loading = false;
            });
        },
        at1(){
            console.log('computed')
        }
        
    },
    computed: {
        ...mapGetters(['userInfo', 'permission']),
    }
}
</script>