dengzedong
2024-10-10 b45bad33154fb97b76e6c54a86609d446f02ad21
src/views/model/mpk/file/MpkForm.vue
@@ -47,10 +47,12 @@
              :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>
@@ -195,7 +197,7 @@
                      <el-button
                        @click="updateSetting(scope.row)"
                        key="danger"
                        type="danger"
                        type="primary"
                        link
                      >修改
                      </el-button>
@@ -265,6 +267,10 @@
  // 修改setting
  const updateSetting = (info) => {
    settingFormRef.value.open(info)
  }
  // 删除setting
  const deleteSetting = (methodSettings,index) => {
    methodSettings.splice(index, 1);
  }
  const methodExpandedRowKeys = ref([])
@@ -449,7 +455,7 @@
          methodName: 'train',
          dataLength: 1,
          model: 0,
          resultKey: undefined,
          resultKey: 'result',
          methodSettings: []
        },
        {