From 13c97d76348b5451381320aa54efa0706f38ecb6 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期四, 31 十月 2024 08:49:52 +0800 Subject: [PATCH] 测点列表.xlsx --- 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