diff --git a/.env.development b/.env.development index 889821b0..7151581c 100644 --- a/.env.development +++ b/.env.development @@ -35,3 +35,6 @@ VUE_APP_PUBLIC_PATH='/pc' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true + +# scorm课件的播放url地址 +VUE_APP_SCORM_URL = 'http://localhost:9083/scorm-player' diff --git a/.env.preview b/.env.preview index a1b96aec..61261405 100644 --- a/.env.preview +++ b/.env.preview @@ -32,3 +32,6 @@ VUE_APP_PUBLIC_PATH='/pc-release' # 登录地址 VUE_APP_LOGIN_URL='https://u.boe.com/web-release/' + +# scorm课件的播放url地址 +VUE_APP_SCORM_URL = 'http://localhost:9083/scorm-player' diff --git a/.env.production b/.env.production index b18fe5a4..25388f13 100644 --- a/.env.production +++ b/.env.production @@ -32,3 +32,6 @@ VUE_APP_PUBLIC_PATH='/pc' # 登录地址 VUE_APP_LOGIN_URL='https://u.boe.com/web/' + +# scorm课件的播放url地址 +VUE_APP_SCORM_URL = 'http://localhost:9083/scorm-player' diff --git a/.env.testing b/.env.testing index a0aa5726..910d20c6 100644 --- a/.env.testing +++ b/.env.testing @@ -32,3 +32,6 @@ VUE_APP_PUBLIC_PATH='/pc' # 登录地址 VUE_APP_LOGIN_URL='https://u-pre.boe.com/web/' + +# scorm课件的播放url地址 +VUE_APP_SCORM_URL = 'http://localhost:9083/scorm-player' diff --git a/src/api/boe/boeAjax.js b/src/api/boe/boeAjax.js index 728435d2..c575e8e7 100644 --- a/src/api/boe/boeAjax.js +++ b/src/api/boe/boeAjax.js @@ -47,7 +47,7 @@ const formRequest=axios.create({ Promise.reject(error) }); formRequest.interceptors.response.use(res => { - console.log(res); + //console.log(res); const code = res.data.status || 200; if(code===200){ return res.data diff --git a/src/api/modules/paper.js b/src/api/modules/paper.js index 8dc08937..5ed38974 100644 --- a/src/api/modules/paper.js +++ b/src/api/modules/paper.js @@ -32,8 +32,8 @@ const update = function(data) { } /* 编辑详情 */ const detail = function(id) { - return ajax.get('/xboe/m/exam/paper/query?id=' + id); - } + return ajax.get('/xboe/m/exam/paper/query?id=' + id); +} /* 试卷批量导入计算 * num 数目 diff --git a/src/components/Course/catalogCourseware.vue b/src/components/Course/catalogCourseware.vue index d52acc1e..c115226c 100644 --- a/src/components/Course/catalogCourseware.vue +++ b/src/components/Course/catalogCourseware.vue @@ -19,7 +19,7 @@
-
+
@@ -95,6 +95,9 @@
+
+ +
@@ -102,7 +105,7 @@
- +
@@ -326,7 +329,6 @@