|
@@ -409,7 +409,7 @@ const addCATDialog = async () => {
|
|
|
|
|
|
const showEvaluate = (row: any) => {
|
|
|
const newItem = {
|
|
|
- id: row.id
|
|
|
+ predictTaskId: row.id
|
|
|
}
|
|
|
|
|
|
const enumsAlgorithmConfigTrack__: Array<any> = []
|
|
@@ -439,6 +439,28 @@ const showEvaluate = (row: any) => {
|
|
|
enum: enumsAlgorithmConfigTrack__
|
|
|
}
|
|
|
},
|
|
|
+ {
|
|
|
+ label: '选择Label文件',
|
|
|
+ prop: 'inputLabelOssId',
|
|
|
+ rules: [{ required: false, message: 'Label文件不能为空', trigger: 'blur' }],
|
|
|
+ compOptions: {
|
|
|
+ elTagName: 'select',
|
|
|
+ placeholder: '请选择或者上传Label文件',
|
|
|
+ enum: datasetList,
|
|
|
+ clearable: true
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "上传Label文件",
|
|
|
+ prop: 'inputLabelOssId',
|
|
|
+ rules: [{ required: false, message: '请上传Label文件', trigger: 'blur' }],
|
|
|
+ compOptions: {
|
|
|
+ elTagName: 'file-upload',
|
|
|
+ fileSize: 4096,
|
|
|
+ fileType: ['txt'],
|
|
|
+ placeholder: '请上传数据集'
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
label: '备注',
|
|
|
prop: 'remarks',
|
|
@@ -454,7 +476,7 @@ const showEvaluate = (row: any) => {
|
|
|
isEdit: true,
|
|
|
itemsOptions: itemsOptions,
|
|
|
model: newItem,
|
|
|
- api: addEvaluateTrackSequenceApi,
|
|
|
+ api: addTrackSequenceApi,
|
|
|
getTableList: proTable.value?.getTableList
|
|
|
}
|
|
|
formDialogRef.value?.openDialog(params)
|