From d083482b101654aa069fff26b005b24514b3360b Mon Sep 17 00:00:00 2001 From: ival <610568032@qq.com> Date: Mon, 19 Aug 2019 10:31:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/baseUrl.js | 4 +- src/views/display/index.vue | 13 +- src/views/display/menuDemon.vue | 4 +- src/views/display/menuExam.vue | 297 +++++++------- src/views/display/menuLesson.vue | 377 ++++++++--------- src/views/display/menuScreen.vue | 217 +++++----- src/views/display/menuSystemTime.vue | 78 ++-- src/views/display/tipExamList.vue | 525 ++++++++++++------------ src/views/display/tipScriptRecord.vue | 240 ++++++----- src/views/display/tipTrainingDetail.vue | 277 ++++++------- 10 files changed, 1018 insertions(+), 1014 deletions(-) diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index 72be3b2f1..2e575c51e 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -3,8 +3,8 @@ export function getBaseUrl() { let BASE_API; if (process.env.NODE_ENV === 'development') { // BASE_API = 'https://joylink.club/jlcloud'; - // BASE_API = 'https://test.joylink.club/jlcloud'; - BASE_API = 'http://192.168.3.5:9000'; // 袁琪 + BASE_API = 'https://test.joylink.club/jlcloud'; + // BASE_API = 'http://192.168.3.5:9000'; // 袁琪 // BASE_API = 'http://192.168.3.6:9000'; // 旭强 // BASE_API = 'http://192.168.3.4:9000' // 琰培 } else { diff --git a/src/views/display/index.vue b/src/views/display/index.vue index e4e42b330..bc7e503e4 100644 --- a/src/views/display/index.vue +++ b/src/views/display/index.vue @@ -43,10 +43,8 @@ - - - - + + @@ -195,13 +193,6 @@ export default { }, async created() { this.group = this.$route.query.group || ''; - this.loading = this.$loading({ - lock: true, - text: 'Loading', - spinner: 'el-icon-loading', - background: 'rgba(0, 0, 0, 0.7)' - }); - this.loading.close(); }, async mounted() { this.mode = this.$route.params.mode; diff --git a/src/views/display/menuDemon.vue b/src/views/display/menuDemon.vue index ffffcdac9..449245924 100644 --- a/src/views/display/menuDemon.vue +++ b/src/views/display/menuDemon.vue @@ -40,7 +40,7 @@ export default { name: 'MenuDemon', components: { // ChartView, - SetTime, + SetTime }, props: { group: { @@ -167,7 +167,7 @@ export default { }); }, handleQuitQuest() { - quitScript(this.group).then(resp => { + quitScript(this.group).then(resp => { this.$emit('quitQuest'); }).catch(() => { this.$messageBox('退出任务失败'); diff --git a/src/views/display/menuExam.vue b/src/views/display/menuExam.vue index 90fb9b838..2c76dc749 100644 --- a/src/views/display/menuExam.vue +++ b/src/views/display/menuExam.vue @@ -1,159 +1,158 @@ \ No newline at end of file + diff --git a/src/views/display/menuLesson.vue b/src/views/display/menuLesson.vue index 6ff35ac77..0fdc6a965 100644 --- a/src/views/display/menuLesson.vue +++ b/src/views/display/menuLesson.vue @@ -1,197 +1,202 @@ \ No newline at end of file + diff --git a/src/views/display/menuScreen.vue b/src/views/display/menuScreen.vue index fe8c51c4c..c25c7edf5 100644 --- a/src/views/display/menuScreen.vue +++ b/src/views/display/menuScreen.vue @@ -1,119 +1,118 @@ \ No newline at end of file + diff --git a/src/views/display/menuSystemTime.vue b/src/views/display/menuSystemTime.vue index c7d0f8e1d..852864356 100644 --- a/src/views/display/menuSystemTime.vue +++ b/src/views/display/menuSystemTime.vue @@ -1,42 +1,50 @@ \ No newline at end of file + diff --git a/src/views/display/tipExamList.vue b/src/views/display/tipExamList.vue index bb3e50a05..aa889654f 100644 --- a/src/views/display/tipExamList.vue +++ b/src/views/display/tipExamList.vue @@ -1,272 +1,277 @@ \ No newline at end of file + diff --git a/src/views/display/tipScriptRecord.vue b/src/views/display/tipScriptRecord.vue index 7a60a4bfd..8890d660b 100644 --- a/src/views/display/tipScriptRecord.vue +++ b/src/views/display/tipScriptRecord.vue @@ -1,129 +1,127 @@ \ No newline at end of file + diff --git a/src/views/display/tipTrainingDetail.vue b/src/views/display/tipTrainingDetail.vue index 6f2dee0db..46f6ae9bb 100644 --- a/src/views/display/tipTrainingDetail.vue +++ b/src/views/display/tipTrainingDetail.vue @@ -1,149 +1,150 @@ \ No newline at end of file +