| | |
| | | :on-success="submitFormSuccess" |
| | | accept=".pyd" |
| | | > |
| | | <el-button type="primary"> |
| | | <Icon icon="ep:upload"/> |
| | | 模型上传 |
| | | </el-button> |
| | | <el-tooltip content="上传.pyd算法文件" placement="top" effect="light"> |
| | | <el-button type="primary"> |
| | | <Icon icon="ep:upload"/> |
| | | 模型上传 |
| | | </el-button> |
| | | </el-tooltip> |
| | | </el-upload> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | <el-button |
| | | @click="updateSetting(scope.row)" |
| | | key="danger" |
| | | type="danger" |
| | | type="primary" |
| | | link |
| | | >修改 |
| | | </el-button> |
| | |
| | | // 修改setting |
| | | const updateSetting = (info) => { |
| | | settingFormRef.value.open(info) |
| | | } |
| | | // 删除setting |
| | | const deleteSetting = (methodSettings,index) => { |
| | | methodSettings.splice(index, 1); |
| | | } |
| | | |
| | | const methodExpandedRowKeys = ref([]) |
| | |
| | | methodName: 'train', |
| | | dataLength: 1, |
| | | model: 0, |
| | | resultKey: undefined, |
| | | resultKey: 'result', |
| | | methodSettings: [] |
| | | }, |
| | | { |