From 97a8e6f4c681821df1ad4e4ce83074977609ae67 Mon Sep 17 00:00:00 2001 From: lixg Date: Thu, 17 Nov 2022 21:25:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=85=B3=E5=8D=A1=E5=8F=8A=E9=98=B6=E6=AE=B5?= =?UTF-8?q?=E5=B9=B6=E8=87=AA=E5=8A=A8=E5=88=B7=E6=96=B0=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index1.js | 2 +- src/api/indexStage.js | 12 +- src/assets/images/leveladd/edit1.png | Bin 0 -> 410 bytes src/assets/scss/common.scss | 11 + src/components/BreadCrumb.vue | 52 + src/components/Modals/projSet.vue | 2 +- src/components/NavLeft.vue | 8 +- src/views/courselibrary/CourseManage.vue | 551 +------ src/views/courselibrary/CoursewareManage.vue | 8 +- src/views/learningpath/LevelAddDetail.vue | 1548 ++++++++++-------- src/views/projectcenter/ClassAdd.vue | 6 +- src/views/projectcenter/LibraryAdd.vue | 4 +- src/views/projectcenter/ProjectAdd.vue | 9 +- src/views/projectcenter/ProjectManage.vue | 46 +- src/views/projectcenter/SonProject.vue | 6 +- src/views/projectcenter/TaskAdd.vue | 1501 ++++++++++------- src/views/projectcenter/TaskPage.vue | 159 +- 17 files changed, 1977 insertions(+), 1948 deletions(-) create mode 100644 src/assets/images/leveladd/edit1.png diff --git a/src/api/index1.js b/src/api/index1.js index b8f120f7..d7517673 100644 --- a/src/api/index1.js +++ b/src/api/index1.js @@ -2,7 +2,7 @@ * @Author: lixg lixg@dongwu-inc.com * @Date: 2022-11-04 22:45:31 * @LastEditors: lixg lixg@dongwu-inc.com - * @LastEditTime: 2022-11-10 11:41:52 + * @LastEditTime: 2022-11-17 15:41:45 * @FilePath: /fe-manage/src/api/index1.js * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ diff --git a/src/api/indexStage.js b/src/api/indexStage.js index 1e6a2587..a39355b9 100644 --- a/src/api/indexStage.js +++ b/src/api/indexStage.js @@ -1,4 +1,14 @@ +/* + * @Author: lixg lixg@dongwu-inc.com + * @Date: 2022-11-09 09:26:26 + * @LastEditors: lixg lixg@dongwu-inc.com + * @LastEditTime: 2022-11-17 21:20:05 + * @FilePath: /fe-manage/src/api/indexStage.js + * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + */ import http from "./config"; //添加阶段 -export const editStage = (obj) => http.post('/admin/project/editStage', obj); \ No newline at end of file +export const editStage = (obj) => http.post('/admin/project/editStage', obj); +// 删除阶段 +export const deleteStage = (obj) => http.delete('/admin/project/deleteStage',{params:obj}); \ No newline at end of file diff --git a/src/assets/images/leveladd/edit1.png b/src/assets/images/leveladd/edit1.png new file mode 100644 index 0000000000000000000000000000000000000000..e319e324dc5f650105a482cb7eb0825a02335f3b GIT binary patch literal 410 zcmV;L0cHM)P)Px$R7pfZR5(wilD$d;Q4odCvG5HP3tzy_!crf=U3UW_f}K_h7AlE~f6-tf{$Pl~ zLeq$yV0Tw{t$h(IOAE0K=14X%*({q7$W)hm?|gI4%n$-qAX9KdV>>l>qEBb=&K zqi+h_TL|m444VK~06qae0=4?N5ghu$&v2QG&%ggy3fyA|Cjg#knWZQoL(5$Ea@0yD zikvm+utvi|sNj^ANwN_#<)^ZMasX~pC^W-DHxCqRL_4dF6gS;5>iG_+8+(iI@z*#}sNdv5mQ9MEoTjBN{gOU(^b literal 0 HcmV?d00001 diff --git a/src/assets/scss/common.scss b/src/assets/scss/common.scss index 09f462c8..a8adc8b1 100644 --- a/src/assets/scss/common.scss +++ b/src/assets/scss/common.scss @@ -437,6 +437,17 @@ textarea { } } +.ant-modal{ + .modalHeader{ + background: linear-gradient(180deg, rgba(103,64,255,0.2) 0%, rgba(166,168,255,0) 100%) !important; + } + .top{ + background: linear-gradient(180deg, rgba(103,64,255,0.2) 0%, rgba(166,168,255,0) 100%) !important; + } + .del_header{ + background: linear-gradient(180deg, rgba(103,64,255,0.2) 0%, rgba(166,168,255,0) 100%) !important; + } +} //弹窗-------------------------------------------------------- //loading-------------------------------------------------------- diff --git a/src/components/BreadCrumb.vue b/src/components/BreadCrumb.vue index 2abfc972..c4cb108c 100644 --- a/src/components/BreadCrumb.vue +++ b/src/components/BreadCrumb.vue @@ -273,6 +273,58 @@ export default { }, ]; } + if ( + n.indexOf("/coursereviewed") !== -1 || + n.indexOf("/CourseReiewed") !== -1 + ) { + state.list = [ + { + name: "审核管理", + }, + { + name: "已审核课程", + }, + ]; + } + if ( + n.indexOf("/coursereviewedn") !== -1 || + n.indexOf("/CourseReiewedN") !== -1 + ) { + state.list = [ + { + name: "审核管理", + }, + { + name: "待审核课程", + }, + ]; + } + if ( + n.indexOf("/projectreviewed") !== -1 || + n.indexOf("/ProjectReviewed") !== -1 + ) { + state.list = [ + { + name: "审核管理", + }, + { + name: "已审核项目", + }, + ]; + } + if ( + n.indexOf("/projectreviewedn") !== -1 || + n.indexOf("/ProjectReviewedN") !== -1 + ) { + state.list = [ + { + name: "审核管理", + }, + { + name: "待审核项目", + }, + ]; + } } ); diff --git a/src/components/Modals/projSet.vue b/src/components/Modals/projSet.vue index d41a38c6..92306df8 100644 --- a/src/components/Modals/projSet.vue +++ b/src/components/Modals/projSet.vue @@ -180,7 +180,7 @@ alt="" /> - 培训体系: + 培训分类:
- 待审核项目 + 待审核项目 - 已审核项目 + 已审核项目 @@ -307,13 +307,13 @@ export default { pagename: "已审核课程", }, { - href: "/projectviewedn", + href: "/projectreviewedn", openKeys: "sub10", selectedKeys: "sub10-3", pagename: "待审核项目", }, { - href: "/projectviewed", + href: "/projectrrviewed", openKeys: "sub10", selectedKeys: "sub10-4", pagename: "已审核项目", diff --git a/src/views/courselibrary/CourseManage.vue b/src/views/courselibrary/CourseManage.vue index 2a5bf0bc..fb6beea2 100644 --- a/src/views/courselibrary/CourseManage.vue +++ b/src/views/courselibrary/CourseManage.vue @@ -1,458 +1,40 @@ +