diff --git a/src/api/configz.js b/src/api/configz.js index 89cdcd8d..d27809e8 100644 --- a/src/api/configz.js +++ b/src/api/configz.js @@ -12,7 +12,7 @@ import Cookies from 'vue-cookies' // export const BATCH_IMPORT_SCORE = process.env.VUE_APP_BASE_API + '/admin/offcourse/batchImportScore' axios.defaults.withCredentials = true; const http = axios.create({ - baseURL: '/report', + baseURL: '/', timeout: 1000 * 15, // headers: { "Content-Type": "multipart/form-data" }, headers: {"Content-Type": "application/json"}, diff --git a/src/api/indexOvervoew.js b/src/api/indexOvervoew.js index f73cd516..3d074885 100644 --- a/src/api/indexOvervoew.js +++ b/src/api/indexOvervoew.js @@ -4,32 +4,48 @@ import https from './confign' // export const boeuCaseExport = (obj,options) => http.get('/boeu/case/export', { params: obj },options) //概览页面考试列表请求接口 -export const boeuExamPageList = (obj) => http.post('/boeu/exam/pageList', obj) +export const boeuExamPageList = (obj) => http.post('/report/boeu/exam/pageList', obj) //概览页面案例列表请求接口 -export const boeuCasePageList = (obj) => http.post('/boeu/case/pageList', obj) +export const boeuCasePageList = (obj) => http.post('/report/boeu/case/pageList', obj) // 请求组织接口 -export const userGetUserOrg = (obj) => https.get(`/organization/all/tree`,obj) +export const userGetUserOrg = (obj) => https.get(`/report/organization/all/tree`,obj) // 请求所属组织接口 -export const userInfo = (obj) => https.post('/user/info', obj) +export const userInfo = (obj) => https.post('/report/user/info', obj) // 课程列表接口 -export const boeuCoursePageList = (obj) => http.post('/boeu/course/pageList', obj) +export const boeuCoursePageList = (obj) => http.post('/report/boeu/course/pageList', obj) // 授课列表 -export const boeuTeachingPageList = (obj) => http.post('/boeu/teaching/pageList', obj) +export const boeuTeachingPageList = (obj) => http.post('/report/boeu/teaching/pageList', obj) // 学习路径图页面 -export const boeuRoterPageList = (obj) => http.post('/boeu/router/pageList', obj) +export const boeuRoterPageList = (obj) => http.post('/report/boeu/router/pageList', obj) // 项目列表 -export const boeuProjectPageList = (obj) => http.post('/boeu/project/pageList', obj) +export const boeuProjectPageList = (obj) => http.post('/report/boeu/project/pageList', obj) // 学习数据列表 -export const boeuStudyDataPageList = (obj) => http.post('/boeu/studyData/pageList', obj) +export const boeuStudyDataPageList = (obj) => http.post('/report/boeu/studyData/pageList', obj) // 考试列表分页 -export const boeuExamPageListV2 = (obj) => http.post('/boeu/exam/pageList/v2', obj ) +export const boeuExamPageListV2 = (obj) => http.post('/report/boeu/exam/pageList/v2', obj ) // 概览页面 tab头数据 -export const boeuAllTotal = (obj) => http.get('/boeu/all/total', obj) +export const boeuAllTotal = (obj) => http.get('/report/boeu/all/total', obj) // 路径图列表 -export const boeuRouterPlatePageList = (obj) => http.post('/boeu/routerPlate/pageList', obj) +export const boeuRouterPlatePageList = (obj) => http.post('/report/boeu/routerPlate/pageList', obj) // 案例列表 -export const boeuCasePlatePageList = (obj) => http.post('/boeu/case/pageList', obj) - +export const boeuCasePlatePageList = (obj) => http.post('/report/boeu/case/pageList', obj); +//=============版本2======================= +// 项目列表 +export const projectPageList = (obj) => http.post('/reportsnake/report/getProjectReportPage', obj); +//路径图列表 +export const routerPageList = (obj) => http.post('/reportsnake/report/getRouterReportPage', obj); +//面授列表 +export const facePageList = (obj) => http.post('/reportsnake/report/getFaceReportPage', obj); +//在线课程列表 +export const coursePageList = (obj) => http.post('/reportsnake/report/getCourseReportPage', obj); +//考试列表 +export const examPageList = (obj) => http.post('/reportsnake/report/getExamReportPage', obj); +//案例列表 +export const casePageList = (obj) => http.post('/reportsnake/report/getCaseReportPage', obj); +//专注力列表 +export const professionalPageList = (obj) => http.post('/reportsnake/report/getProfessionalReportPage', obj); +//所有模块总数 +export const reportAllTotal = (obj) => http.post('/reportsnake/report/getReportAllTotal', obj); // 专业力列表 export const boeuGrowthPlatePageList = (obj) => http.post('/boeu/grow/pageList', obj) \ No newline at end of file diff --git a/src/views/report/Overvoew.vue b/src/views/report/Overvoew.vue index 1de67b98..f3ae1ff7 100644 --- a/src/views/report/Overvoew.vue +++ b/src/views/report/Overvoew.vue @@ -3,79 +3,88 @@