rev:取消或者完成任务权限控制

This commit is contained in:
2025-11-10 15:20:32 +08:00
parent 1220fb1878
commit c1e82b3ddc
9 changed files with 57 additions and 36 deletions

View File

@@ -380,6 +380,7 @@
<!-- @click="doOperate(scope.row, 'c')"-->
<!-- >下发</el-button>-->
<el-button
v-permission="['admin','task:operation']"
type="text"
icon="el-icon-success"
:disabled="scope.row.task_status==='5' || scope.row.task_status==='6'"
@@ -387,6 +388,7 @@
>{{ $t('Task.table.complete') }}
</el-button>
<el-button
v-permission="['admin','task:operation']"
type="text"
icon="el-icon-error"
:disabled="scope.row.task_status==='5' || scope.row.task_status==='6'"
@@ -394,6 +396,7 @@
>{{ $t('common.Cancel') }}
</el-button>
<el-button
v-permission="['admin','task:operation']"
type="text"
icon="el-icon-error"
:disabled="scope.row.task_status==='5' || scope.row.task_status==='6'"