diff --git a/src/api/new-employee/newEmployee.js b/src/api/new-employee/newEmployee.js new file mode 100644 index 00000000..a7bc648d --- /dev/null +++ b/src/api/new-employee/newEmployee.js @@ -0,0 +1,31 @@ +import ajax from '@/api/boe/boeApiAjax.js' + +/** + * 获取嵌入课程信息 + * @param {Object} params - 参数对象 + * @param {string} params.course_id - 课程ID + */ +export function enrollWork(params) { + return ajax.postJson('/boe/embed-work/complete-embed', params) +} + +/** + * 确认报名注册 + * @param {Object} data - 提交数据 + * @param {string} data.id - 项目ID + * @param {string} data.method - 方法 + * @param {string} data.userId - 用户ID + * @param {string} data.objectType - 对象类型 + * @param {FormData} data.formData - 表单数据 + */ +export function enrollRegSure(data) { + return ajax.postJson('/boe/enroll-data/reg-sure', data) +} + +/** + * 获取欢迎页数据 + */ +export function getWelcomeData() { + return ajax.get('/boe/new-employee/welcome') +} + diff --git a/src/assets/images/new-employee/wel.png b/src/assets/images/new-employee/wel.png new file mode 100644 index 00000000..930331cd Binary files /dev/null and b/src/assets/images/new-employee/wel.png differ diff --git a/src/components/PortalHeader.vue b/src/components/PortalHeader.vue index 628c84b8..cb8b8fbd 100644 --- a/src/components/PortalHeader.vue +++ b/src/components/PortalHeader.vue @@ -1,236 +1,395 @@ diff --git a/src/layout/components/TopNav/Index.vue b/src/layout/components/TopNav/Index.vue index 968c3a92..84dd6d28 100644 --- a/src/layout/components/TopNav/Index.vue +++ b/src/layout/components/TopNav/Index.vue @@ -2,35 +2,67 @@
-
- -
- - - - - -
- - 专区 - - BOE系列公开课 - Grow180 - 管理者进阶 - U选小课堂 - 社招新员工 - 教师专区 - - +
+ +
+
+ 首页 +
+
+ 课程 +
+
+ 案例 +
+
+ 文章 +
+
+ 问答 +
+
+ + 专区 + + BOE系列公开课 + Grow180 + 管理者进阶 + U选小课堂 + 社招新员工 + 教师专区 + + +
+
-
-
-
- - +
- - - + + +
- + - {{curIdentity==3? '管理员':curIdentity==2? '教师':'学员'}} - {{curIdentity==3? '管理员':curIdentity==2? '教师':'学员'}} - + {{ + curIdentity == 3 + ? "管理员" + : curIdentity == 2 + ? "教师" + : "学员" + }} + {{ + curIdentity == 3 + ? "管理员" + : curIdentity == 2 + ? "教师" + : "学员" + }} - 学员 - 教师 - 管理员 + 学员 + 教师 + 管理员
-
- - - - - +
+ + + + + - {{userInfo.name}} -
- - 个人中心 - 个人主页 - + {{ userInfo.name }} +
+ + 个人中心 + 个人主页 +
@@ -89,20 +195,53 @@
--> -
- 登出 +
+ 登出 +
-
- + - + - + - + @@ -110,14 +249,37 @@ 提交修改 - -
- - - - - -
+ +
+ + + + + +
@@ -148,9 +310,7 @@ 内容涵盖:领导力、市场营销、职场技能、财务知识、法律常识、人力资源、经典国学、人文社科
-
- 创新力专区课程版权已到期! -
+
创新力专区课程版权已到期!
+
+
+
+ +
+
+ +
+

{{ userName }},您好!

+

欢迎加入京东方科技集团股份有限公司

+

从这一刻起,你就是这个大家庭里的一份子。

+

在这里,我们干事业、交朋友、长本领、练胸怀!

+

为了帮你快速融入BOE,我们为你准备了丰富的入职培训课程!

+

快开始学习吧!

+
+ +
+

{{ userName }},您好!

+

欢迎加入京东方

+

为了帮你快速融入BOE

+

我们为你准备了丰富的入职培训课程

+

快开始学习吧!

+
+
+ + +

+ 温馨提示:仅社招新员工可以报名,校招新员工和其他员工请不要点击 +

+
+
+
+
+ + + +
+ + 取 消 + + {{ confirmBtnText }} + + +
+ + + +
+ {{ successMessage }} +
+ + 确 定 + +
+
+ + + + + +