diff --git a/src/views/newMap/displayNew/lesson/index.vue b/src/views/newMap/displayNew/lesson/index.vue
index f057c8cb0..1ed89f2cb 100644
--- a/src/views/newMap/displayNew/lesson/index.vue
+++ b/src/views/newMap/displayNew/lesson/index.vue
@@ -14,9 +14,9 @@
- {{ $t('display.backBtn') }}
- {{ $t('display.endBtn') }}
{{ $t('display.startBtn') }}
+ {{ $t('display.endBtn') }}
+ {{ $t('display.backBtn') }}
@@ -67,7 +67,7 @@ export default {
},
data() {
return {
- result: {},
+ result: {},
timeInterval: null,
TrainingMode: TrainingMode,
trainingObj:{},
@@ -108,9 +108,9 @@ export default {
project() {
return getSessionStorage('project');
},
- isOther() {
- return this.$route.query.from == 'kzfmooc';
- }
+ isOther() {
+ return this.$route.query.from == 'kzfmooc';
+ }
},
watch: {
demoMode: function (val) {
@@ -159,7 +159,7 @@ export default {
}
},
setTrainingData(resp) {
- const detail = resp.data;
+ const detail = resp.data;
this.trainingObj = detail;
this.$store.dispatch('exam/setCenter', detail.locateDeviceCode);
this.$store.dispatch('training/setTrainingData', this.trainingObj); // 设置实训教学信息
@@ -228,7 +228,7 @@ export default {
};
endTrainingNew(mode, this.group).then(response => {
const data = response.data;
- this.result = data;
+ this.result = data;
this.$store.dispatch('training/judgeFinish', data).then(rsp => {
this.$store.dispatch('training/setStopCountTime');
this.$store.dispatch('training/emitTipFresh');
@@ -262,7 +262,7 @@ export default {
usedTime: this.usedTime
};
endTrainingNew(mode, this.group).then(response => {
- this.result = response.data;
+ this.result = response.data;
this.$store.dispatch('training/end', null);
this.$store.dispatch('training/setStopCountTime');
this.$store.dispatch('training/setScore', 0);
@@ -281,9 +281,9 @@ export default {
},
back() {
Notification.closeAll();
- if (this.isOther) {
- EventBus.$emit('demoResult', this.result);
- } else if (this.$route.params.mode == 'record') {
+ if (this.isOther) {
+ EventBus.$emit('demoResult', this.result);
+ } else if (this.$route.params.mode == 'record') {
/** 如果是演示返回时,需要重新创建仿真*/
trainingNotifyNew({ trainingId: this.$route.query.trainingId }).then(resp => {
this.$router.push({ path: `${UrlConfig.lesson.record}/${this.$route.query.trainingId}/${this.$route.query.trainingName}`, query: { group: resp.data } });