董国庆
8 天以前 0c9660562a03191d44fc779a889d3da0dc624b6d
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 {