From 49b65c20fca60494828302dfa51db3596db0b143 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 18 May 2022 10:28:34 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=AE=A2=E6=88=B7=E7=AD=89?= =?UTF-8?q?=E8=81=94=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/api.js | 16 +++++----- src/views/course/AddCurriculum.vue | 49 +++++++++++++++++++++++++++--- src/views/customer/AddCustomer.vue | 14 +++++---- src/views/order/AddOrder.vue | 49 ++++++++++++++++++------------ 4 files changed, 90 insertions(+), 38 deletions(-) diff --git a/src/utils/api.js b/src/utils/api.js index 8edaba2..33f1314 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -2,7 +2,7 @@ import Setting from "@/setting"; const host = Setting.apiBaseURL const uploadURL = Setting.uploadURL -const host1 = 'http://192.168.31.151:9000/' +const host1 = 'http://192.168.31.137:9000/' export default { @@ -144,14 +144,14 @@ export default { courseProfessionalClass: `nakadai/nakadai/subject/courseProfessionalClass`, //课程专业类 courseProfessional: `nakadai/nakadai/subject/courseProfessional`, //课程专业 //课程管理 - curriculumList: `nakadai/nakadai/curriculum/curriculumList`, //课程列表 - createCurriculum: `nakadai/nakadai/curriculum/createCurriculum`, //创建课程 - curriculumDetail: `nakadai/nakadai/curriculum/curriculumDetail`, //课程详情 - modifyCourse: `nakadai/nakadai/curriculum/modifyCourse`, //编辑课程 - delCourse: `nakadai/nakadai/curriculum/delCourse`, //单个、批量删除课程 - isShelves: `nakadai/nakadai/curriculum/isShelves`, //上下架课程 + curriculumList: `${host1}nakadai/nakadai/curriculum/curriculumList`, //课程列表 + createCurriculum: `${host1}nakadai/nakadai/curriculum/createCurriculum`, //创建课程 + curriculumDetail: `${host1}nakadai/nakadai/curriculum/curriculumDetail`, //课程详情 + modifyCourse: `${host1}nakadai/nakadai/curriculum/modifyCourse`, //编辑课程 + delCourse: `${host1}nakadai/nakadai/curriculum/delCourse`, //单个、批量删除课程 + isShelves: `${host1}nakadai/nakadai/curriculum/isShelves`, //上下架课程 getInternalProjectBySystemId: `occupationlab/projectManage/getInternalProjectBySystemId`, //根据系统id、项目权限获取系统内置项目 - checkConfig: `nakadai/nakadai/curriculum/checkConfig`, + checkConfig: `${host1}nakadai/nakadai/curriculum/checkConfig`, // 课程章节管理 addChapter: `nakadai/curriculum/chapter/addChapter`, //添加章节 editChapter: `nakadai/curriculum/chapter/editChapter`, //修改章节 diff --git a/src/views/course/AddCurriculum.vue b/src/views/course/AddCurriculum.vue index f67f998..8281093 100644 --- a/src/views/course/AddCurriculum.vue +++ b/src/views/course/AddCurriculum.vue @@ -23,7 +23,7 @@