mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
feat:新增社招新员工报名页面
This commit is contained in:
31
src/api/new-employee/newEmployee.js
Normal file
31
src/api/new-employee/newEmployee.js
Normal file
@@ -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')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user