a1b8b9ed by lihua

外部接口传的数据不可编辑和删除

1 parent 6b401072
...@@ -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" },
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!