From cf5f902a45c8833cace91ee439e44654efa47af3 Mon Sep 17 00:00:00 2001
From: fan <18706759286@163.com>
Date: Wed, 23 Oct 2019 10:18:28 +0800
Subject: [PATCH 01/22] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/router/index.js | 12 +--
src/utils/baseUrl.js | 4 +-
src/views/login/index.vue | 94 ++++++++++----------
src/views/login/loginEn.vue | 105 +++++++++--------------
src/views/trainingPlatform/demonList.vue | 4 -
src/views/trainingPlatform/home.vue | 97 ---------------------
src/views/trainingPlatform/index.vue | 7 ++
7 files changed, 99 insertions(+), 224 deletions(-)
delete mode 100644 src/views/trainingPlatform/home.vue
diff --git a/src/router/index.js b/src/router/index.js
index 74914726c..f21e4c001 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -88,7 +88,6 @@ import PublishLesson from '@/views/publish/publishLesson/index';
import IbpEdit from '@/views/ibp/ibpDraft/ibpEdit/index';
import TrainingPlatform from '@/views/trainingPlatform/index';
-import TrainingPlatformHome from '@/views/trainingPlatform/home';
import Commodity from '@/views/orderauthor/commodity/index';
import CommodityDraft from '@/views/orderauthor/commodity/draft';
@@ -250,7 +249,6 @@ export const UrlConfig = {
},
trainingPlatform: {
trainingPlatform: '/trainingPlatform',
- trainingPlatformHome: '/trainingPlatform/home',
prodDetail: '/trainingPlatform/detail',
teachDetail: '/trainingPlatform/teach',
teachHome: '/trainingPlatform/teachHome',
@@ -608,19 +606,11 @@ export const asyncRouter = [
children: [
{
path: '',
- redirect: '/trainingPlatform/home',
+ redirect: '/trainingPlatform/permission/14',
component: TrainingPlatform,
meta: {
},
children: [
- {
- path: 'home',
- redirect: '/trainingPlatform/permission/14',
- component: TrainingPlatformHome,
- meta: {
- },
- hidden: true
- },
{
path: 'detail/:subSystem',
component: DemonstrationDetail,
diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js
index f997f31f4..871e8ec9c 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.41:9000'; // 王兴杰
} else {
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 44516de61..bb6cfd162 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -49,14 +49,14 @@
@keyup.enter="handleLogin"
/>
-
- {{this.$t('exam.examinationTiming')}}: + {{ this.$t('exam.examinationTiming') }}: {{ formatExamUsedTime }}
- {{this.$t('exam.maximumTimeToCompleteThisQuestion')}}: - {{ courseModel.maxDuration | setTime }}{{this.$t('global.second')}} + {{ this.$t('exam.maximumTimeToCompleteThisQuestion') }}: + {{ courseModel.maxDuration | setTime }}{{ this.$t('global.second') }}
- {{this.$t('exam.theBestTimeToCompleteTheQuestion')}}: - {{ courseModel.minDuration | setTime }}{{this.$t('global.second')}} + {{ this.$t('exam.theBestTimeToCompleteTheQuestion') }}: + {{ courseModel.minDuration | setTime }}{{ this.$t('global.second') }}
- {{this.$t('exam.trainingNotes')}}: + {{ this.$t('exam.trainingNotes') }}: {{ courseModel.remarks }}
-
真实设备-{{ hasPlc?'[PLC网关在线]':'[PLC网关离线]' }}
+{{ this.$t('lesson.courseTree') }}
+