From effbd81dd598750429c05e88f5fb6789bec1bc0f Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期三, 16 十月 2024 09:57:01 +0800
Subject: [PATCH] 1、项目名增加plat 2、增加数据和模型的swagger接口api 3、增加应用列表及应用切换功能,暂时放home页 4、其它相关修改

---
 src/views/model/mpk/file/MpkForm.vue |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/src/views/model/mpk/file/MpkForm.vue b/src/views/model/mpk/file/MpkForm.vue
index b7a937a..bc18d62 100644
--- a/src/views/model/mpk/file/MpkForm.vue
+++ b/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: []
         },
         {

--
Gitblit v1.9.3