diff --git a/.env.prod b/.env.prod index 89b3763..d1b97bd 100644 --- a/.env.prod +++ b/.env.prod @@ -36,3 +36,6 @@ VUE_APP_IMAGE_URL = 'http://122.51.230.86:9000/' #小程序推广码前缀 VUE_APP_REPAIR_PREX = 'https://www.lighting-it.cn/share?inviteId=' + +# 高德地图密钥 +VUE_APP_AMAP_KEY = 'd0a6d2fc229e376f6bb20d976b4033ef' diff --git a/src/views/base/company/form/CompanyForm.vue b/src/views/base/company/form/CompanyForm.vue index 4fcc99f..c37c6dd 100644 --- a/src/views/base/company/form/CompanyForm.vue +++ b/src/views/base/company/form/CompanyForm.vue @@ -11,7 +11,7 @@ - + @@ -63,31 +63,36 @@ - + - + - + - - + + + - + @@ -96,19 +101,68 @@ + + + + + + + + + + + + + + + + + + + + 点击获取定位 + 经度: + 纬度: + + + + + + + + +
+
+ 取 消 + 确 定 +
+
+ + + diff --git a/src/views/drivingSchool/DriveSchoolGuide/api/guide.js b/src/views/drivingSchool/DriveSchoolGuide/api/guide.js new file mode 100644 index 0000000..5ad7e17 --- /dev/null +++ b/src/views/drivingSchool/DriveSchoolGuide/api/guide.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询业务办理指南列表 +export function listGuide(query) { + return request({ + url: '/jx/driveSchool/guide/page', + method: 'get', + params: query + }) +} + +// 查询业务办理指南详细 +export function getGuide(id) { + return request({ + url: '/jx/driveSchool/guide/' + id, + method: 'get' + }) +} + +// 新增业务办理指南 +export function addGuide(data) { + return request({ + url: '/jx/driveSchool/guide', + method: 'post', + data: data + }) +} + +// 修改业务办理指南 +export function updateGuide(data) { + return request({ + url: '/jx/driveSchool/guide', + method: 'put', + data: data + }) +} + +// 删除业务办理指南 +export function delGuide(id) { + return request({ + url: '/jx/driveSchool/guide/' + id, + method: 'delete' + }) +} diff --git a/src/views/drivingSchool/DriveSchoolGuide/index.vue b/src/views/drivingSchool/DriveSchoolGuide/index.vue new file mode 100644 index 0000000..4f2e94a --- /dev/null +++ b/src/views/drivingSchool/DriveSchoolGuide/index.vue @@ -0,0 +1,293 @@ + + + diff --git a/src/views/drivingSchool/driveSchoolExamPass/api/pass.js b/src/views/drivingSchool/driveSchoolExamPass/api/pass.js index e582f17..88c219e 100644 --- a/src/views/drivingSchool/driveSchoolExamPass/api/pass.js +++ b/src/views/drivingSchool/driveSchoolExamPass/api/pass.js @@ -9,6 +9,15 @@ export function getSchoolCommissionPage(params) { }) } +// 财务新增提成记录 +export function createSchoolCommission(data){ + return request({ + url: '/drive/school-commission/create', + method: 'post', + data: data + }) +} + // 查询考试通过列表 export function listPass(query) { return request({ @@ -51,3 +60,11 @@ export function delPass(id) { method: 'delete' }) } + +// 不分页获取课程信息 +export function getCourseList() { + return request({ + url: '/base/dl-drive-school-course/list', + method: 'get' + }) +} diff --git a/src/views/drivingSchool/driveSchoolExamPass/index.vue b/src/views/drivingSchool/driveSchoolExamPass/index.vue index eeee6d5..eb0df8c 100644 --- a/src/views/drivingSchool/driveSchoolExamPass/index.vue +++ b/src/views/drivingSchool/driveSchoolExamPass/index.vue @@ -31,6 +31,15 @@ + + 新增提成记录 + @@ -53,11 +62,88 @@ @pagination="getList"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +