From ccb976f07822d2f378fc80df3849a8614451ee83 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Mon, 29 Jun 2020 15:55:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BF=E7=9C=9F=E4=BB=A3=E7=A0=81=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/simulation.js | 2 +- src/store/modules/exam.js | 3 + src/views/newMap/displayNew/LeftSlider.vue | 4 +- src/views/newMap/displayNew/index.vue | 799 ++++++++----------- src/views/newMap/displayNew/menuDemon.vue | 53 +- src/views/newMap/displayNew/menuExam.vue | 7 +- src/views/newMap/displayNew/menuLesson.vue | 48 +- src/views/newMap/displayNew/menuPractice.vue | 9 +- src/views/newMap/displayNew/menuSchema.vue | 36 +- src/views/newMap/displayNew/menuScript.vue | 7 +- src/views/newMap/displayNew/tipExamList.vue | 2 +- 11 files changed, 443 insertions(+), 527 deletions(-) diff --git a/src/api/simulation.js b/src/api/simulation.js index be1d41e60..8f05ed7a2 100644 --- a/src/api/simulation.js +++ b/src/api/simulation.js @@ -12,7 +12,7 @@ export function getFailureGenerateRules(params) { /** 设置自动故障*/ export function setFailureMode(data, group) { return request({ - url: `/api/simulation/${group}/failureMode`, + url: `/simulation/${group}/faultMode`, method: 'post', data: data }); diff --git a/src/store/modules/exam.js b/src/store/modules/exam.js index a3cf6583d..b9e4ce47c 100644 --- a/src/store/modules/exam.js +++ b/src/store/modules/exam.js @@ -106,6 +106,9 @@ const exam = { countUsedTime({ commit }) { commit('countUsedTime'); }, + stopCountTime({ commit }) { + commit('stopCountTime'); + }, setRuleList({ commit }, ruleList) { commit('setRuleList', ruleList); }, diff --git a/src/views/newMap/displayNew/LeftSlider.vue b/src/views/newMap/displayNew/LeftSlider.vue index 6c6be9906..7e5054adf 100644 --- a/src/views/newMap/displayNew/LeftSlider.vue +++ b/src/views/newMap/displayNew/LeftSlider.vue @@ -6,8 +6,8 @@
- {{ $t('display.lesson.unfold') }} - {{ $t('display.lesson.fold') }} + {{ $t('display.lesson.unfold') }} + {{ $t('display.lesson.fold') }}
diff --git a/src/views/newMap/displayNew/index.vue b/src/views/newMap/displayNew/index.vue index e9829a375..968c168a8 100644 --- a/src/views/newMap/displayNew/index.vue +++ b/src/views/newMap/displayNew/index.vue @@ -1,24 +1,26 @@ - - diff --git a/src/views/newMap/displayNew/menuDemon.vue b/src/views/newMap/displayNew/menuDemon.vue index ca523e4b9..eaf05fb5d 100644 --- a/src/views/newMap/displayNew/menuDemon.vue +++ b/src/views/newMap/displayNew/menuDemon.vue @@ -1,12 +1,14 @@