diff --git a/src/views/drivingSchool/DriveSchoolStatistics/api/index.js b/src/views/drivingSchool/DriveSchoolStatistics/api/index.js new file mode 100644 index 0000000..1616cf6 --- /dev/null +++ b/src/views/drivingSchool/DriveSchoolStatistics/api/index.js @@ -0,0 +1,47 @@ +import request from '@/utils/request' + +export function getCoachList() { + return request({ + url: '/base/dl-drive-school-coach/list', + method: 'GET' + }) +} + +export function getDate(paramsObj) { + return request({ + url: '/base/dataView/indexData', + method: 'GET', + params: paramsObj + }) +} + +export function getDetailsData(paramsObj) { + return request({ + url: '/base/dl-drive-school-student/indexStuentList', + method: 'GET', + params: paramsObj + }) +} + +export function getStudentByCoach(paramsObj) { + return request({ + url: '/base/drive-school-staff/pageStaff', + method: 'GET', + params: paramsObj + }) +} + +export function getExamBatch(paramsObj) { + return request({ + url: '/examBatch/page', + method: 'GET', + params: paramsObj + }) +} + +export function getExamBatchById(id) { + return request({ + url: '/examBatch/getById?id=' + id, + method: 'GET' + }) +} diff --git a/src/views/drivingSchool/DriveSchoolStatistics/index.vue b/src/views/drivingSchool/DriveSchoolStatistics/index.vue new file mode 100644 index 0000000..0bf6ee2 --- /dev/null +++ b/src/views/drivingSchool/DriveSchoolStatistics/index.vue @@ -0,0 +1,1036 @@ + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + 招生情况 + + + + + + 教练自招 + + + + + + 招生人数(人) + {{ dataObj.studentInfo.coachNum || '-' }} + + 招生金额(元) + {{ dataObj.studentInfo.coachAmount || '-' }} + + + + + + + + + + 驾校统招 + + + + 招生人数(人) + {{ dataObj.studentInfo.schoolNum || '-' }} + + 招生金额(元) + {{ dataObj.studentInfo.schoolAmount || '-' }} + + + + + + + + + + + + + + 考试情况 + + + + + + 科目二 + + + + 总人数(人) + {{ dataObj.examInfo.subject2All || '-' }} + + 合格数(人) + {{ dataObj.examInfo.subject2Pass || '-' }} + + + + + + + + + + 科目三 + + + + 总人数(人) + {{ dataObj.examInfo.subject3All || '-' }} + + 合格数(人) + {{ dataObj.examInfo.subject3Pass || '-' }} + + + + + + + + + + + + + + + 训练情况 + + + + + + 训练车辆数:{{ dataObj.trainInfo.allCarNum || '-' }} + + + + + + + 科目二车辆:{{ dataObj.trainInfo.subject2CarNum || '-' }} + + + + + + + 科目三车辆:{{ dataObj.trainInfo.subject3CarNum || '-' }} + + + + + + + + + + + + + + + 训练学员数:{{ dataObj.trainInfo.allUserNum || '-' }} + + + + + + + 科目二学员:{{ dataObj.trainInfo.subject2UserNum || '-' }} + + + + + + + 科目三学员:{{ dataObj.trainInfo.subject3UserNum || '-' }} + + + + + + + + + + + + + 财务情况 + + + + + + 已收金额:{{ dataObj.moneyInfo.inAmount || '-'}} + + + + + + + 应付金额:{{ dataObj.moneyInfo.outAmount || '-' }} + + + + + + + + + + + + + + + + + {{ scope.$index + 1 }} + + + + + + + + + {{ + queryParams.timeType === 'all' ? scope.row.totalNum : scope.row.timeTotal + }} + + + + + + 详情 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ formatDateTime(row.startTime) }} + + + + + {{ formatDateTime(row.endTime) }} + + + + + + 详情 + + + + + + + + + + + + + + + + + {{ formatDateTime(row.startTime) }} + + + + + {{ formatDateTime(row.endTime) }} + + + + + + 详情 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ formatDateTime(row.startTime) }} + + + + + 科{{ row.subject }} + + + + + + + + 通过 + 不通过 + - + + + + + + + + + + + + + + + + + +