| | |
| | | <AiEditor |
| | | ref="reasonEditor" |
| | | :value="editorContent" |
| | | height="200px" |
| | | height="400px" |
| | | placeholder="请输入申请说明..." |
| | | /> |
| | | </div> |
| | |
| | | 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', |
| | |
| | | } else { |
| | | this.$message.error('参数错误,缺少实验ID') |
| | | } |
| | | }, |
| | | computed: { |
| | | ...mapState(["tagList", "isFold"]), |
| | | }, |
| | | methods: { |
| | | getFullUrl, |
| | |
| | | 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 { |