From 0c9660562a03191d44fc779a889d3da0dc624b6d Mon Sep 17 00:00:00 2001 From: 董国庆 <364620639@qq.com> Date: 星期五, 25 七月 2025 10:47:19 +0800 Subject: [PATCH] 修改弹窗ui和客户反馈 --- laboratory/src/views/dataManagement/schemeManagement/stop-experiment.vue | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/laboratory/src/views/dataManagement/schemeManagement/stop-experiment.vue b/laboratory/src/views/dataManagement/schemeManagement/stop-experiment.vue index c96466f..8c16875 100644 --- a/laboratory/src/views/dataManagement/schemeManagement/stop-experiment.vue +++ b/laboratory/src/views/dataManagement/schemeManagement/stop-experiment.vue @@ -39,7 +39,7 @@ <AiEditor ref="reasonEditor" :value="editorContent" - height="200px" + height="400px" placeholder="请输入申请说明..." /> </div> @@ -113,6 +113,7 @@ import { getDetail, applicationTermination } from './service' import {queryDetail} from '@/components/service.js' import {getFullUrl} from '@/utils/utils.js' +import { mapState } from "vuex"; export default { name: 'StopExperiment', @@ -141,6 +142,9 @@ } else { this.$message.error('参数错误,缺少实验ID') } + }, + computed: { + ...mapState(["tagList", "isFold"]), }, methods: { getFullUrl, @@ -245,7 +249,11 @@ this.$message.success('提交成功') this.handleDialogClose() // 提交成功后返回列表页 - this.$router.go(-1) + this.$router.back(); + this.$store.commit( + "SET_TAGLIST", + this.tagList.filter((item) => item.path !== this.$route.path) + ); } catch (error) { this.$message.error('提交失败') } finally { -- Gitblit v1.7.1