rev:取消或者完成任务权限控制
This commit is contained in:
@@ -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'"
|
||||
|
||||
Reference in New Issue
Block a user