From 7a37638acd98169986054157fbf27aca59eb1cd4 Mon Sep 17 00:00:00 2001 From: Lx <935448346@qq.com> Date: Thu, 15 May 2025 16:39:20 +0800 Subject: [PATCH] =?UTF-8?q?0515=20=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DriveSchoolStatistics/api/index.js | 47 + .../DriveSchoolStatistics/index.vue | 1036 +++++++++++++++++ 2 files changed, 1083 insertions(+) create mode 100644 src/views/drivingSchool/DriveSchoolStatistics/api/index.js create mode 100644 src/views/drivingSchool/DriveSchoolStatistics/index.vue 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 }} + + + + + + + + 通过 + 不通过 + - + + + + + + + + + + + + + + + + + +