api.js
2.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import api from '~/utils/request/request.js'
module.exports = {
// 获取我的任务看板
getStudyBoard(data) {
return api.post('dj.pad.api.staff.study.bulletin.board', data, [], '/rop-dj-pad/router')
},
// 学习中心-课程任务分页
getCourseTaskPage(data) {
return api.post('dj.pad.api.staff.study.course.task.page', data, [], '/rop-dj-pad/router')
},
// 学习中心-长课程详情
getLongCourseDetail(data) {
return api.post('dj.pad.api.staff.study.long.course.detail', data, [], '/rop-dj-pad/router')
},
// 学习中心-短课程详情
getShortCourseDetail(data) {
return api.post('dj.pad.api.staff.study.short.course.detail', data, [], '/rop-dj-pad/router')
},
// 获取智能体
getAiAgentList(data) {
return api.post('dj.pad.api.aiagent.get.special.agent', data, [], '/rop-dj-pad/router')
},
// 获取门店品牌标识
getMerchantBrand(data = {}) {
return api.post('dj.api.smartcarlife.recepiton.findMerchantBrand', data)
},
// 获取我的课程列表数据
getMyCourseList(data) {
return api.post('dj.api.pad.learning.center.myself.course', data, [], '/rop-dj-pad/router')
},
// 获取我的课程tab状态数量
getMyCourseCount(data) {
return api.post('dj.api.pad.learning.center.myself.course.count', data, [], '/rop-dj-pad/router')
},
// 我的课程-剩余开单时间
getResidueTimeApi(data) {
return api.post('dj.api.pad.learning.center.residue.time', data, [], '/rop-dj-pad/router')
},
// 学习中心-获取学习统计数据
getStudyStatistics(data) {
return api.post('dj.pad.api.course.staff.statistics', data, [], '/rop-dj-pad/router')
},
// 获取全部课程列表数据
getRecommendedCourseList(data) {
return api.post('dj.pad.api.recommended.course.page', data, [], '/rop-dj-pad/router')
},
// 查询课程分类
getCourseCategoryData(data) {
return api.post('dj.pad.api.course.category.list.tree', data, [], '/rop-dj-pad/router')
},
// 获取我的考试列表数据
getStaffExaminationList(data) {
return api.post('dj.pad.api.recommended.staff.examination.page', data, [], '/rop-dj-pad/router')
},
// 获取我的考试统计数据
getStaffExaminationCount(data) {
return api.post('dj.pad.api.recommended.staff.examination.count', data, [], '/rop-dj-pad/router')
},
// 获取员工学习排行榜
getStaffStudyRank(data) {
return api.post('dj.pad.api.recommended.staff.study.duration.rank', data, [], '/rop-dj-pad/router')
},
// 获取我的课程-推荐学习
getRecommendListAPI(data) {
return api.post("dj.api.pad.learning.center.myself.course.recommend", data, [], "/rop-dj-pad/router")
}
}