|
@@ -159,26 +159,47 @@ const columns = reactive<ColumnProps<any>[]>([
|
|
|
width: 120
|
|
|
},
|
|
|
{
|
|
|
- prop: 'algorithmName',
|
|
|
- label: '算法名称',
|
|
|
+ prop: 'startApi',
|
|
|
+ label: '开始api',
|
|
|
search: {
|
|
|
el: 'input'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- prop: 'algorithmAddress',
|
|
|
- label: '算法地址',
|
|
|
+ prop: 'pauseApi',
|
|
|
+ label: '暂停api',
|
|
|
search: {
|
|
|
el: 'input'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- prop: 'parameterConfig',
|
|
|
+ prop: 'terminateApi',
|
|
|
+ label: '终止api',
|
|
|
+ search: {
|
|
|
+ el: 'input'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: 'parameters',
|
|
|
label: '参数配置',
|
|
|
search: {
|
|
|
el: 'input'
|
|
|
}
|
|
|
},
|
|
|
+ // {
|
|
|
+ // prop: 'algorithmAddress',
|
|
|
+ // label: '算法地址',
|
|
|
+ // search: {
|
|
|
+ // el: 'input'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // prop: 'parameterConfig',
|
|
|
+ // label: '参数配置',
|
|
|
+ // search: {
|
|
|
+ // el: 'input'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
{
|
|
|
prop: 'remarks',
|
|
|
label: '备注',
|
|
@@ -237,23 +258,57 @@ const setItemsOptions = () => {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- label: '算法地址',
|
|
|
- prop: 'algorithmAddress',
|
|
|
- rules: [{ required: true, message: '算法地址不能为空', trigger: 'blur' }],
|
|
|
+ label: '开始api',
|
|
|
+ prop: 'startApi',
|
|
|
+ rules: [{ required: true, message: '开始api不能为空', trigger: 'blur' }],
|
|
|
compOptions: {
|
|
|
- placeholder: '请输入算法地址'
|
|
|
+ placeholder: '请输入开始api'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '暂停api',
|
|
|
+ prop: 'pauseApi',
|
|
|
+ rules: [{ required: false, message: '暂停api不能为空', trigger: 'blur' }],
|
|
|
+ compOptions: {
|
|
|
+ placeholder: '请输入暂停api'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '终止api',
|
|
|
+ prop: 'terminateApi',
|
|
|
+ rules: [{ required: true, message: '终止api不能为空', trigger: 'blur' }],
|
|
|
+ compOptions: {
|
|
|
+ placeholder: '请输入终止api'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
label: '参数配置',
|
|
|
- prop: 'parameterConfig',
|
|
|
- rules: [{ required: true, message: '参数配置不能为空', trigger: 'blur' }],
|
|
|
+ prop: 'parameters',
|
|
|
+ rules: [{ required: false, message: '参数配置不能为空', trigger: 'blur' }],
|
|
|
compOptions: {
|
|
|
type: 'textarea',
|
|
|
clearable: true,
|
|
|
- placeholder: '请输入内容'
|
|
|
+ placeholder: '请输入参数配置'
|
|
|
}
|
|
|
},
|
|
|
+ // {
|
|
|
+ // label: '算法地址',
|
|
|
+ // prop: 'algorithmAddress',
|
|
|
+ // rules: [{ required: true, message: '算法地址不能为空', trigger: 'blur' }],
|
|
|
+ // compOptions: {
|
|
|
+ // placeholder: '请输入算法地址'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: '参数配置',
|
|
|
+ // prop: 'parameterConfig',
|
|
|
+ // rules: [{ required: true, message: '参数配置不能为空', trigger: 'blur' }],
|
|
|
+ // compOptions: {
|
|
|
+ // type: 'textarea',
|
|
|
+ // clearable: true,
|
|
|
+ // placeholder: '请输入内容'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
{
|
|
|
label: '备注',
|
|
|
prop: 'remarks',
|