diff --git a/src/utils/dict.js b/src/utils/dict.js index 0c1cb59..fd777de 100644 --- a/src/utils/dict.js +++ b/src/utils/dict.js @@ -145,6 +145,8 @@ export const DICT_TYPE = { COMPANY_COST_TYPE: 'company_cost_type', // 救援车车型 JYC_TYPE : 'jyc_type', + Drive_Dialy : 'drive_dialy', + Jx_report_state : 'jx_report_state', // 车牌颜色 CAR_LICENSE_COLOR: 'car_license_color', // 车辆使用性质 diff --git a/src/views/drivingSchool/DriveContractTest/api/test.js b/src/views/drivingSchool/DriveContractTest/api/test.js new file mode 100644 index 0000000..9261027 --- /dev/null +++ b/src/views/drivingSchool/DriveContractTest/api/test.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询合同模板列表 +export function listTest(query) { + return request({ + url: '/system/driveSchool/test/list', + method: 'get', + params: query + }) +} + +// 查询合同模板详细 +export function getTest(id) { + return request({ + url: '/system/driveSchool/test/' + id, + method: 'get' + }) +} + +// 新增合同模板 +export function addTest(data) { + return request({ + url: '/system/driveSchool/test', + method: 'post', + data: data + }) +} + +// 修改合同模板 +export function updateTest(data) { + return request({ + url: '/system/driveSchool/test', + method: 'put', + data: data + }) +} + +// 删除合同模板 +export function delTest(id) { + return request({ + url: '/system/driveSchool/test/' + id, + method: 'delete' + }) +} diff --git a/src/views/drivingSchool/DriveContractTest/index.vue b/src/views/drivingSchool/DriveContractTest/index.vue new file mode 100644 index 0000000..e0252f8 --- /dev/null +++ b/src/views/drivingSchool/DriveContractTest/index.vue @@ -0,0 +1,252 @@ + + + diff --git a/src/views/drivingSchool/DriveSchoolContract/api/contract.js b/src/views/drivingSchool/DriveSchoolContract/api/contract.js new file mode 100644 index 0000000..e83dd4e --- /dev/null +++ b/src/views/drivingSchool/DriveSchoolContract/api/contract.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询驾校合同列表 +export function listContract(query) { + return request({ + url: '/system/driveSchool/contract/list', + method: 'get', + params: query + }) +} + +// 查询驾校合同详细 +export function getContract(id) { + return request({ + url: '/system/driveSchool/contract/' + id, + method: 'get' + }) +} + +// 新增驾校合同 +export function addContract(data) { + return request({ + url: '/system/driveSchool/contract', + method: 'post', + data: data + }) +} + +// 修改驾校合同 +export function updateContract(data) { + return request({ + url: '/system/driveSchool/contract', + method: 'put', + data: data + }) +} + +// 删除驾校合同 +export function delContract(id) { + return request({ + url: '/system/driveSchool/contract/' + id, + method: 'delete' + }) +} diff --git a/src/views/drivingSchool/DriveSchoolContract/index.vue b/src/views/drivingSchool/DriveSchoolContract/index.vue new file mode 100644 index 0000000..2153de0 --- /dev/null +++ b/src/views/drivingSchool/DriveSchoolContract/index.vue @@ -0,0 +1,238 @@ + + + diff --git a/src/views/drivingSchool/DriveSchoolNotice/api/notice.js b/src/views/drivingSchool/DriveSchoolNotice/api/notice.js new file mode 100644 index 0000000..4046f57 --- /dev/null +++ b/src/views/drivingSchool/DriveSchoolNotice/api/notice.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询通知列表 +export function listNotice(query) { + return request({ + url: '/system/drive/notice/list', + method: 'get', + params: query + }) +} + +// 查询通知详细 +export function getNotice(id) { + return request({ + url: '/system/drive/notice/' + id, + method: 'get' + }) +} + +// 新增通知 +export function addNotice(data) { + return request({ + url: '/system/drive/notice', + method: 'post', + data: data + }) +} + +// 修改通知 +export function updateNotice(data) { + return request({ + url: '/system/drive/notice', + method: 'put', + data: data + }) +} + +// 删除通知 +export function delNotice(id) { + return request({ + url: '/system/drive/notice/' + id, + method: 'delete' + }) +} diff --git a/src/views/drivingSchool/DriveSchoolNotice/index.vue b/src/views/drivingSchool/DriveSchoolNotice/index.vue new file mode 100644 index 0000000..72b1f64 --- /dev/null +++ b/src/views/drivingSchool/DriveSchoolNotice/index.vue @@ -0,0 +1,260 @@ + + + diff --git a/src/views/drivingSchool/DriveSchoolPay/api/DriveSchoolPay.js b/src/views/drivingSchool/DriveSchoolPay/api/DriveSchoolPay.js new file mode 100644 index 0000000..91b0f1b --- /dev/null +++ b/src/views/drivingSchool/DriveSchoolPay/api/DriveSchoolPay.js @@ -0,0 +1,59 @@ +import request from '@/utils/request' + +// 查询订单列表 +export function listPay(query) { + return request({ + url: '/system/pay/list', + method: 'get', + params: query + }) +} + +// 查询订单详细 +export function getPay(id) { + return request({ + url: '/system/pay/' + id, + method: 'get' + }) +} + +// 新增订单 +export function addPay(data) { + return request({ + url: '/system/pay', + method: 'post', + data: data + }) +} + +// 修改订单 +export function updatePay(data) { + return request({ + url: '/system/pay', + method: 'put', + data: data + }) +} + +// 删除订单 +export function delPay(id) { + return request({ + url: '/system/pay/' + id, + method: 'delete' + }) +} + +export function findJlListAll(jlId) { + return request({ + url: `/drivingSchool/system/schoolCoach/findSelfJlListByJxId?jxId=${jlId}`, + method: 'get' + }) +} + +export function updatePayById(id, name, jlId) { + return request({ + url: `/system/pay/updatePayById?id=${id}&name=${name}&jlId=${jlId}`, + method: 'get' + }) +} + diff --git a/src/views/drivingSchool/DriveSchoolPay/index.vue b/src/views/drivingSchool/DriveSchoolPay/index.vue new file mode 100644 index 0000000..4b9253d --- /dev/null +++ b/src/views/drivingSchool/DriveSchoolPay/index.vue @@ -0,0 +1,465 @@ + + + diff --git a/src/views/drivingSchool/SopeNess/api/ness.js b/src/views/drivingSchool/SopeNess/api/ness.js new file mode 100644 index 0000000..ab4eb2f --- /dev/null +++ b/src/views/drivingSchool/SopeNess/api/ness.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询经营范围列表 +export function listNess(query) { + return request({ + url: '/system/ness/list', + method: 'get', + params: query + }) +} + +// 查询经营范围详细 +export function getNess(id) { + return request({ + url: '/system/ness/' + id, + method: 'get' + }) +} + +// 新增经营范围 +export function addNess(data) { + return request({ + url: '/system/ness', + method: 'post', + data: data + }) +} + +// 修改经营范围 +export function updateNess(data) { + return request({ + url: '/system/ness', + method: 'put', + data: data + }) +} + +// 删除经营范围 +export function delNess(id) { + return request({ + url: '/system/ness/' + id, + method: 'delete' + }) +} diff --git a/src/views/drivingSchool/SopeNess/index.vue b/src/views/drivingSchool/SopeNess/index.vue new file mode 100644 index 0000000..135d902 --- /dev/null +++ b/src/views/drivingSchool/SopeNess/index.vue @@ -0,0 +1,360 @@ + + + diff --git a/src/views/drivingSchool/driveSchoolDila/api/dial.js b/src/views/drivingSchool/driveSchoolDila/api/dial.js new file mode 100644 index 0000000..37eecb4 --- /dev/null +++ b/src/views/drivingSchool/driveSchoolDila/api/dial.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询日常日志列表 +export function listDial(query) { + return request({ + url: '/drivingSchool/system/dial/list', + method: 'get', + params: query + }) +} + +// 查询日常日志详细 +export function getDial(id) { + return request({ + url: '/drivingSchool/system/dial/' + id, + method: 'get' + }) +} + +// 新增日常日志 +export function addDial(data) { + return request({ + url: '/drivingSchool/system/dial', + method: 'post', + data: data + }) +} + +// 修改日常日志 +export function updateDial(data) { + return request({ + url: '/drivingSchool/system/dial', + method: 'put', + data: data + }) +} + +// 删除日常日志 +export function delDial(id) { + return request({ + url: '/drivingSchool/system/dial/' + id, + method: 'delete' + }) +} diff --git a/src/views/drivingSchool/driveSchoolDila/index.vue b/src/views/drivingSchool/driveSchoolDila/index.vue new file mode 100644 index 0000000..7199e97 --- /dev/null +++ b/src/views/drivingSchool/driveSchoolDila/index.vue @@ -0,0 +1,283 @@ + + + diff --git a/src/views/drivingSchool/reservationCourse/api/reservationCourse.js b/src/views/drivingSchool/reservationCourse/api/reservationCourse.js new file mode 100644 index 0000000..6389b9f --- /dev/null +++ b/src/views/drivingSchool/reservationCourse/api/reservationCourse.js @@ -0,0 +1,59 @@ +import request from '@/utils/request' + +// 查询预约练车列表 +export function listReservationCourse(query) { + return request({ + url: '/drivingSchool/system/reservationCourse/pclist', + method: 'get', + params: query + }) +} + +// 查询预约练车详细 +export function getReservationCourse(id) { + return request({ + url: '/drivingSchool/system/reservationCourse/' + id, + method: 'get' + }) +} + +// 新增预约练车 +export function addReservationCourse(data) { + return request({ + url: '/drivingSchool/system/reservationCourse', + method: 'post', + data: data + }) +} + +// 修改预约练车 +export function updateReservationCourse(data) { + return request({ + url: '/drivingSchool/system/reservationCourse', + method: 'put', + data: data + }) +} + +// 删除预约练车 +export function delReservationCourse(id) { + return request({ + url: '/drivingSchool/system/reservationCourse/' + id, + method: 'delete' + }) +} + +export function findJlListAll() { + return request({ + url: '/drivingSchool/system/schoolCoach/list', + method: 'get' + }) +} + +export function updateCourseById(data) { + return request({ + url: `/drivingSchool/system/reservationCourse/updateCourseById`, + method: 'post', + data: data + }) +} diff --git a/src/views/drivingSchool/reservationCourse/index.vue b/src/views/drivingSchool/reservationCourse/index.vue new file mode 100644 index 0000000..4094dfb --- /dev/null +++ b/src/views/drivingSchool/reservationCourse/index.vue @@ -0,0 +1,336 @@ + + + diff --git a/src/views/drivingSchool/student/api/DriveSchoolPay.js b/src/views/drivingSchool/student/api/DriveSchoolPay.js new file mode 100644 index 0000000..91b0f1b --- /dev/null +++ b/src/views/drivingSchool/student/api/DriveSchoolPay.js @@ -0,0 +1,59 @@ +import request from '@/utils/request' + +// 查询订单列表 +export function listPay(query) { + return request({ + url: '/system/pay/list', + method: 'get', + params: query + }) +} + +// 查询订单详细 +export function getPay(id) { + return request({ + url: '/system/pay/' + id, + method: 'get' + }) +} + +// 新增订单 +export function addPay(data) { + return request({ + url: '/system/pay', + method: 'post', + data: data + }) +} + +// 修改订单 +export function updatePay(data) { + return request({ + url: '/system/pay', + method: 'put', + data: data + }) +} + +// 删除订单 +export function delPay(id) { + return request({ + url: '/system/pay/' + id, + method: 'delete' + }) +} + +export function findJlListAll(jlId) { + return request({ + url: `/drivingSchool/system/schoolCoach/findSelfJlListByJxId?jxId=${jlId}`, + method: 'get' + }) +} + +export function updatePayById(id, name, jlId) { + return request({ + url: `/system/pay/updatePayById?id=${id}&name=${name}&jlId=${jlId}`, + method: 'get' + }) +} + diff --git a/src/views/drivingSchool/student/index.vue b/src/views/drivingSchool/student/index.vue new file mode 100644 index 0000000..4373938 --- /dev/null +++ b/src/views/drivingSchool/student/index.vue @@ -0,0 +1,596 @@ + + +