From 42cb54bf7222f4e8c139b581d61cbcd2bf90966a Mon Sep 17 00:00:00 2001 From: fan Date: Fri, 24 Nov 2023 13:17:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=AE=AD=E7=BC=96=E5=88=B6=E9=A2=84?= =?UTF-8?q?=E8=A7=88=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../newMap/display/trainingDesign/designPane.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/views/newMap/display/trainingDesign/designPane.vue b/src/views/newMap/display/trainingDesign/designPane.vue index c0d353d84..3154a93cc 100644 --- a/src/views/newMap/display/trainingDesign/designPane.vue +++ b/src/views/newMap/display/trainingDesign/designPane.vue @@ -43,7 +43,7 @@ 重置 - 返回列表 + 返回列表
实训背景 @@ -130,6 +130,7 @@ import EditOperate from './editOperate'; import CreateDraftTraining from './createDraftTraining'; import GradeRules from './gradeRules'; import TrackList from './trackList'; +import { EventBus } from '@/scripts/event-bus'; export default { name: 'DesignIndex', @@ -217,6 +218,15 @@ export default { }); }, methods: { + goBackList() { + const qObj = {...this.$route.query}; + qObj.record = false; + this.$router.replace({ query:{...qObj}}); + this.showMode = 'draftTrainingList'; + this.$nextTick(() => { + EventBus.$emit('viewLoading', false); + }); + }, computedRoleDisabled(role) { if (!this.editData.client) { return false;