From b1671582a18471c38a88ba5bc467dc35ebce6118 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 13 Oct 2021 17:04:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E9=A2=84=E8=A7=88=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 9 ++--- src/pages/ass/list/index.vue | 54 ++++++++++++++++++++--------- src/pages/course/details/index.vue | 4 +-- src/pages/station/preview/index.vue | 21 +++++++---- 4 files changed, 59 insertions(+), 29 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index b6510d9..5be0fe6 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -3,10 +3,9 @@ import Setting from "@/setting"; // let host = `${Setting.apiBaseURL}evaluation/`; let loginhost = `${Setting.apiBaseURL}liuwanr/`; -// let host = "http://192.168.31.151:9000/"; // 榕 +let host = "http://192.168.31.151:9000/"; // 榕 // let host = "http://192.168.31.137:9000/"; // 赓 - -let host = "http://39.108.250.202:9000/"; // 测试服 +// let host = "http://39.108.250.202:9000/"; // 测试服 export default { host, @@ -16,8 +15,10 @@ export default { verification: `${host}users/users/user/captcha`,// 验证码图片 //实验台 - curriculumChapter: `${host}nakadai/curriculum/chapter/queryChaptersAndSubsections`, // curriculumDetail: `${host}nakadai/nakadai/curriculum/curriculumDetail`, // 课程详情 + curriculumChapter: `${host}nakadai/curriculum/chapter/queryChaptersAndSubsections`, // 根据课程id查询章节小节,树状结构 + curriculumGetSubsection: `${host}nakadai/curriculum/subsection/getSubsection`, // 根据小节id获取预览文件地址 + // 能力测评 canExperiment: `${host}occupationlab/occupationlab/evaluationrecord/can_experiment`, // 查询是否能够开启实验 diff --git a/src/pages/ass/list/index.vue b/src/pages/ass/list/index.vue index 09ac3fb..862b0d8 100644 --- a/src/pages/ass/list/index.vue +++ b/src/pages/ass/list/index.vue @@ -86,21 +86,24 @@ {{ scope.row.countDown | timeFilter }} - + + + +