外部接口传的数据不可编辑和删除
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -56,7 +56,7 @@ const tableInfo = ref({ | ... | @@ -56,7 +56,7 @@ const tableInfo = ref({ |
| 56 | { label: "数据集名称", field: "taskName", width: 160 }, | 56 | { label: "数据集名称", field: "taskName", width: 160 }, |
| 57 | { | 57 | { |
| 58 | label: "数据来源", field: "dataSource", width: 100, getName: (scope) => { | 58 | label: "数据来源", field: "dataSource", width: 100, getName: (scope) => { |
| 59 | return scope.row.dataSource && dataSourceTypeList.find(f => f.value == scope.row.dataSource)?.label || '--'; | 59 | return scope.row.dataSource == 4 ? '外部数据' : (scope.row.dataSource && dataSourceTypeList.find(f => f.value == scope.row.dataSource)?.label || '--'); |
| 60 | } | 60 | } |
| 61 | }, | 61 | }, |
| 62 | { label: "任务状态", field: "sensitiveIdentifyTaskStatus", width: TableColumnWidth.STATE, align: 'center', type: "tag" }, | 62 | { label: "任务状态", field: "sensitiveIdentifyTaskStatus", width: TableColumnWidth.STATE, align: 'center', type: "tag" }, | ... | ... |
-
Please register or sign in to post a comment