|
@@ -246,7 +246,7 @@
|
|
|
type="primary"
|
|
|
link
|
|
|
icon="View"
|
|
|
- v-if="scope.row.status == '2' && scope.row.type === AlgorithmType2['预测/推理']"
|
|
|
+ v-if="scope.row.subsystem === SubSystem__['注释轨迹序列'] && scope.row.status == '2' && scope.row.type === AlgorithmType2['预测/推理']"
|
|
|
@click="showEvaluateSubTask(scope.row)"
|
|
|
>
|
|
|
评估
|
|
@@ -728,7 +728,7 @@ const setItemsOptions_TrackSequence = () => {
|
|
|
{
|
|
|
label: '选择模型',
|
|
|
prop: 'algorithmModelId',
|
|
|
- rules: [{ required: true, message: '模型不能为空', trigger: 'blur' }],
|
|
|
+ rules: [{ required: false, message: '模型不能为空', trigger: 'blur' }],
|
|
|
show: params => {
|
|
|
if (params.value.type == AlgorithmType2['预测/推理']) {
|
|
|
return true
|
|
@@ -746,7 +746,7 @@ const setItemsOptions_TrackSequence = () => {
|
|
|
{
|
|
|
label: '选择目标检测模型',
|
|
|
prop: 'algorithmModelTargetDetectionId',
|
|
|
- rules: [{ required: false, message: '目标检测模型不能为空', trigger: 'blur' }],
|
|
|
+ rules: [{ required: true, message: '目标检测模型不能为空', trigger: 'blur' }],
|
|
|
show: params => {
|
|
|
if (params.value.type == AlgorithmType2['预测/推理']) {
|
|
|
return true
|
|
@@ -920,6 +920,7 @@ const getItemsOptions = async (algorithmId: any) => {
|
|
|
// 添加新的表单项选项
|
|
|
itemsOptions_new.push({
|
|
|
label: item['name'],
|
|
|
+ labelWidth: "200px",
|
|
|
prop: item['agName'],
|
|
|
rules: [{ required: item['required'], message: item['agName'] + '不能为空', trigger: 'blur' }],
|
|
|
tooltip: item['prompt'],
|
|
@@ -943,7 +944,7 @@ const setAlgorithmParams = async (id: string | number, paramsName: string) => {
|
|
|
const itemsOptions__ = await getItemsOptions(id)
|
|
|
const params = {
|
|
|
title: '设置算法参数',
|
|
|
- width: 580,
|
|
|
+ width: 650,
|
|
|
isEdit: true,
|
|
|
itemsOptions: itemsOptions__,
|
|
|
model: formAddTask,
|