From 52fa595896da71033a8d002c30822cd3c613aef1 Mon Sep 17 00:00:00 2001 From: unknown <331404948@qq.com> Date: Wed, 1 Nov 2023 19:39:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E6=93=8D=E9=A2=84=E7=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/js/mixins.js | 1 + .../appointItem-student/appointItem-student.vue | 35 +- .../pickDateTimer/pickDateTimer - 副本.vue | 334 --------------- components/pickDateTimer/pickDateTimer.vue | 473 -------------------- config/api.js | 13 + manifest.json | 2 +- .../comp/pickDateTimer/pickDateTimer - 副本.vue | 334 +++++++++++++++ .../comp/pickDateTimer/pickDateTimer.vue | 474 +++++++++++++++++++++ .../operate/mySchedule/mouldEdit/mouldAdd.vue | 2 +- .../recordEntry/operate/mySchedule/mySchedule.vue | 4 +- .../student/studentDetail/comp/info.vue | 36 +- .../student/studentDetail/studentDetail.vue | 8 +- pages/tabbar/student/index.vue | 42 +- pages/userCenter/myCar/myCar.vue | 32 +- 14 files changed, 945 insertions(+), 845 deletions(-) delete mode 100644 components/pickDateTimer/pickDateTimer - 副本.vue delete mode 100644 components/pickDateTimer/pickDateTimer.vue create mode 100644 pages/recordEntry/operate/mySchedule/comp/pickDateTimer/pickDateTimer - 副本.vue create mode 100644 pages/recordEntry/operate/mySchedule/comp/pickDateTimer/pickDateTimer.vue diff --git a/common/js/mixins.js b/common/js/mixins.js index 1bb3dee..6241e7a 100644 --- a/common/js/mixins.js +++ b/common/js/mixins.js @@ -9,6 +9,7 @@ export default { vuex_userInfo: state=>state.user.vuex_userInfo, vuex_deptId: state=>state.user.vuex_userInfo.user.deptId, vuex_coachId: state=>state.user.vuex_userInfo.user.coachId, + vuex_loginInfo: state=>state.user.vuex_loginInfo, }), }, diff --git a/components/appointItem-student/appointItem-student.vue b/components/appointItem-student/appointItem-student.vue index c0f988f..4edca22 100644 --- a/components/appointItem-student/appointItem-student.vue +++ b/components/appointItem-student/appointItem-student.vue @@ -3,7 +3,7 @@ - 张三三 18265468753 + {{item.name}} {{item.phone}} @@ -15,27 +15,27 @@ - + - 报名时间:2023/08/08 + 报名时间:{{$u.timeFormat(item.applyDate, 'yyyy/mm/dd')}} - + - 学驾车型:C1小型汽车手动挡 + 学驾车型:{{item.trainType}} - + - 报名班型:C1一对一VIP班 + 报名班型:{{item.className}} - 最新状态:科目三理论考试已预约 + 最新状态:就先放着不做 @@ -43,6 +43,21 @@ \ No newline at end of file diff --git a/components/pickDateTimer/pickDateTimer.vue b/components/pickDateTimer/pickDateTimer.vue deleted file mode 100644 index 54575ca..0000000 --- a/components/pickDateTimer/pickDateTimer.vue +++ /dev/null @@ -1,473 +0,0 @@ - - - - - \ No newline at end of file diff --git a/config/api.js b/config/api.js index a74d51a..34bd316 100644 --- a/config/api.js +++ b/config/api.js @@ -42,6 +42,19 @@ export const scheduleTemplateGet = (params) => http.get('business/booking/schedu export const trainingSiteList = (params) => http.get('business/training-site/list', {params} ,) // 获得考场模拟预约记录分页 export const examSimulationPages = (params) => http.get('business/exam-simulation-record/page', {params} ,) +// 已报名学员 +export const studentRecordPage = (params) => http.get('business/student-record/page', {params} ,) +// 驾校班型 +export const schoolClass = (params) => http.get('business/school-class/get', {params} ,) +// 获得学员档案记录 +export const studentDetail = (params) => http.get('business/student-record/getStudent', {params} ,) +// 获得教练车信息分页 +export const carPage = (params) => http.get('business/car/page', {params} ,) + + + + + diff --git a/manifest.json b/manifest.json index 4cdbdbe..de2d416 100644 --- a/manifest.json +++ b/manifest.json @@ -82,7 +82,7 @@ "disableHostCheck" : true, "proxy" : { "/api" : { - "target" : "http://192.168.1.39:48080/", + "target" : "http://192.168.1.36:48080/", "changeOrigin" : true, "secure" : true, "pathRewrite" : { diff --git a/pages/recordEntry/operate/mySchedule/comp/pickDateTimer/pickDateTimer - 副本.vue b/pages/recordEntry/operate/mySchedule/comp/pickDateTimer/pickDateTimer - 副本.vue new file mode 100644 index 0000000..feddfd5 --- /dev/null +++ b/pages/recordEntry/operate/mySchedule/comp/pickDateTimer/pickDateTimer - 副本.vue @@ -0,0 +1,334 @@ + + + + + \ No newline at end of file diff --git a/pages/recordEntry/operate/mySchedule/comp/pickDateTimer/pickDateTimer.vue b/pages/recordEntry/operate/mySchedule/comp/pickDateTimer/pickDateTimer.vue new file mode 100644 index 0000000..1bfa23a --- /dev/null +++ b/pages/recordEntry/operate/mySchedule/comp/pickDateTimer/pickDateTimer.vue @@ -0,0 +1,474 @@ + + + + + \ No newline at end of file diff --git a/pages/recordEntry/operate/mySchedule/mouldEdit/mouldAdd.vue b/pages/recordEntry/operate/mySchedule/mouldEdit/mouldAdd.vue index 28eb045..799cfb7 100644 --- a/pages/recordEntry/operate/mySchedule/mouldEdit/mouldAdd.vue +++ b/pages/recordEntry/operate/mySchedule/mouldEdit/mouldAdd.vue @@ -115,7 +115,7 @@ // this.initFormData() }, addFn() { - let obj = {startTime: '',endTime: '', people: 1, id: new Date() * 1} + let obj = {startTime: '',endTime: '', personCount: 1, id: new Date() * 1} this.FormData.scheduleClassTemplateDetailList.push(obj) }, deleteFn(id) { diff --git a/pages/recordEntry/operate/mySchedule/mySchedule.vue b/pages/recordEntry/operate/mySchedule/mySchedule.vue index 3d52c72..bf81418 100644 --- a/pages/recordEntry/operate/mySchedule/mySchedule.vue +++ b/pages/recordEntry/operate/mySchedule/mySchedule.vue @@ -25,9 +25,10 @@