api.js 2.63 KB
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")
  }
}