From acabc1556c93fc02a5e8d5dd414df77f49eb2cf0 Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Thu, 16 Feb 2023 22:03:45 +0800 Subject: [PATCH] --fix bug --- src/api/apis.js | 4 +++- src/api/indexLearningPath.js | 1 + src/components/drawers/UnlockMode.vue | 14 ++++++++------ src/utils/const.js | 14 +++++++------- src/views/learningpath/LevelAddDetail.vue | 7 +++---- src/views/projectcenter/ProjectAdd.vue | 16 ++++++++-------- 6 files changed, 30 insertions(+), 26 deletions(-) diff --git a/src/api/apis.js b/src/api/apis.js index 0bab4d73..1f6ff030 100644 --- a/src/api/apis.js +++ b/src/api/apis.js @@ -2,4 +2,6 @@ export const STUDENT_LIST = '/admin/student/getStudent' export const ONLINE_COURSE_PAGE = '/onlineClasses/queryOnlineList' export const ASSESSMENT_PAGE = '/assessment/queryAssessmentDetailList post' export const PROJECT_AUDIT_PAGE = '/admin/project/auditedlist post' -export const ROUTER_DETAIL_MODIFY = '/admin/router/routerInfoTemp post' \ No newline at end of file +export const ROUTER_DETAIL_MODIFY = '/admin/router/routerInfoTemp post' +export const PROJECT_DETAIL_MODIFY = '/admin/project/projectInfoTemp post' +export const PROJECT_RELEASE = '/admin/project/realease post' \ No newline at end of file diff --git a/src/api/indexLearningPath.js b/src/api/indexLearningPath.js index eb3ae038..f41de800 100644 --- a/src/api/indexLearningPath.js +++ b/src/api/indexLearningPath.js @@ -6,6 +6,7 @@ export const getRouterOverview = (routerId) => http.get(`/admin/router/overview? //新建或编辑路径图 export const editRoutered = (obj) => http.post('/admin/router/edit', obj) export const editRouterModel = (obj) => http.post('/admin/router/editModel', obj) +export const editProjectModel = (obj) => http.post('/admin/project/editModel', obj) // 路径图模式修改接口 export const editRouteredModel = (obj) => http.post('/admin/router/editModel', obj) diff --git a/src/components/drawers/UnlockMode.vue b/src/components/drawers/UnlockMode.vue index ea1464f8..6512420c 100644 --- a/src/components/drawers/UnlockMode.vue +++ b/src/components/drawers/UnlockMode.vue @@ -75,7 +75,7 @@