|
@@ -76,6 +76,7 @@
|
|
|
theme="primary"
|
|
|
hover="color"
|
|
|
@click="handleAudit([row.taskId], true)"
|
|
|
+ :disabled="!row.myself"
|
|
|
>
|
|
|
通过
|
|
|
</t-link>
|
|
@@ -84,6 +85,7 @@
|
|
|
theme="danger"
|
|
|
hover="color"
|
|
|
@click="handleAudit([row.taskId], false)"
|
|
|
+ :disabled="!row.myself"
|
|
|
>
|
|
|
拒绝
|
|
|
</t-link>
|
|
@@ -230,6 +232,9 @@ const columns = [
|
|
|
type: 'multiple',
|
|
|
width: 50,
|
|
|
fixed: 'left',
|
|
|
+ disabled: ({ rowIndex }) => {
|
|
|
+ return !tableData.value[rowIndex].myself;
|
|
|
+ },
|
|
|
},
|
|
|
{ colKey: 'code', title: '异常编号', width: 200 },
|
|
|
{ colKey: 'serviceName', title: '服务单元', width: 140 },
|