|
@@ -455,21 +455,25 @@ const columns = reactive<ColumnProps<any>[]>([
|
|
|
{ prop: 'operation', label: '操作', width: 230, fixed: 'right' }
|
|
|
])
|
|
|
|
|
|
-const getImageDataList = ref<any>([])
|
|
|
-onMounted(async () => {
|
|
|
+const imageUrlList________ = ref<any>([])
|
|
|
+const getImageData = async (subsystem: string) => {
|
|
|
const qyery = {
|
|
|
- subsystem: SubSystem__['目标检测'],
|
|
|
+ subsystem: SubSystem__[subsystem],
|
|
|
pageNum: 1,
|
|
|
- pageSize: 25
|
|
|
+ pageSize: 1000
|
|
|
}
|
|
|
const result: any = await listDataSeqApi(qyery)
|
|
|
const data = result['data']['list']
|
|
|
for (const item of data) {
|
|
|
- getImageDataList.value.push({
|
|
|
+ imageUrlList________.value.push({
|
|
|
value: item['inputOssId'],
|
|
|
- label: item['name']
|
|
|
+ label: item['name'] + '-' + subsystem
|
|
|
})
|
|
|
}
|
|
|
+}
|
|
|
+onMounted(async () => {
|
|
|
+ getImageData('目标检测')
|
|
|
+ getImageData('注释轨迹序列')
|
|
|
})
|
|
|
|
|
|
const enumsAlgorithmModelTrack = ref<any>([])
|
|
@@ -510,7 +514,7 @@ const setItemsOptions = () => {
|
|
|
compOptions: {
|
|
|
elTagName: 'select',
|
|
|
placeholder: '请选择或者上传数据集',
|
|
|
- enum: getImageDataList,
|
|
|
+ enum: imageUrlList________,
|
|
|
clearable: true
|
|
|
}
|
|
|
},
|