From 33ce398c984111413ea72f30f194369d547e0c15 Mon Sep 17 00:00:00 2001 From: unknown <331404948@qq.com> Date: Wed, 1 Nov 2023 19:39:59 +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 --- config/api.js | 2 + manifest.json | 2 +- .../carEntry/examineAppointment/comp/pickDate.vue | 8 +- pages/carEntry/operaAppointment/comp/pickDate.vue | 380 +++++++++++++++++++++ pages/carEntry/operaAppointment/comp/searchBox.vue | 9 +- pages/carEntry/operaAppointment/comp/step1.vue | 131 ++++--- pages/carEntry/operaAppointment/comp/step2.vue | 87 +++-- pages/carEntry/operaAppointment/comp/step3.vue | 188 ++++++---- .../carEntry/operaAppointment/operaAppointment.vue | 168 +++++---- pages/carEntry/simulateAppointment/comp/step3.vue | 10 +- pages/mineEntry/myAppointment/comp/examin.vue | 7 +- pages/mineEntry/myAppointment/myAppointment.vue | 35 +- 12 files changed, 814 insertions(+), 213 deletions(-) create mode 100644 pages/carEntry/operaAppointment/comp/pickDate.vue diff --git a/config/api.js b/config/api.js index e24717c..209afc4 100644 --- a/config/api.js +++ b/config/api.js @@ -106,6 +106,8 @@ export const simulationClass = (params) => http.get('business/booking/simulation export const simulationDevices = (params) => http.get('business/booking/simulation-devices/list', {params}) // 4创建模拟预约 export const simulationCreate = (data) => http.post('business/booking/simulation-record/create', data) +// 5获得模拟预约记录 +export const simulationPage = (params) => http.get('business/booking/simulation-record/page', {params}) // 1新增实操预约记录 export const masterCreate = (data) => http.post('business/booking/master/create', data) // 1获得考场 diff --git a/manifest.json b/manifest.json index 14a763a..e015b22 100644 --- a/manifest.json +++ b/manifest.json @@ -94,7 +94,7 @@ "proxy" : { "/api" : { // "target" : "http://192.168.1.26:48080/", - "target" : "http://192.168.1.39:48080/", + "target" : "http://192.168.1.36:48080/", "changeOrigin" : true, "secure" : true, "pathRewrite" : { diff --git a/pages/carEntry/examineAppointment/comp/pickDate.vue b/pages/carEntry/examineAppointment/comp/pickDate.vue index 03823f8..0dbbf45 100644 --- a/pages/carEntry/examineAppointment/comp/pickDate.vue +++ b/pages/carEntry/examineAppointment/comp/pickDate.vue @@ -57,11 +57,12 @@ + + 暂无预约排课 + - - 暂无预约排课 - + diff --git a/pages/carEntry/operaAppointment/comp/pickDate.vue b/pages/carEntry/operaAppointment/comp/pickDate.vue new file mode 100644 index 0000000..87b4482 --- /dev/null +++ b/pages/carEntry/operaAppointment/comp/pickDate.vue @@ -0,0 +1,380 @@ + + + + + \ No newline at end of file diff --git a/pages/carEntry/operaAppointment/comp/searchBox.vue b/pages/carEntry/operaAppointment/comp/searchBox.vue index a439fdb..4b2c559 100644 --- a/pages/carEntry/operaAppointment/comp/searchBox.vue +++ b/pages/carEntry/operaAppointment/comp/searchBox.vue @@ -5,8 +5,8 @@ - + @@ -19,6 +19,11 @@ return { keywords: '' } + }, + methods: { + searchFn() { + this.$emit('searchFn', this.keywords) + } } } diff --git a/pages/carEntry/operaAppointment/comp/step1.vue b/pages/carEntry/operaAppointment/comp/step1.vue index d6817b9..07e307a 100644 --- a/pages/carEntry/operaAppointment/comp/step1.vue +++ b/pages/carEntry/operaAppointment/comp/step1.vue @@ -1,72 +1,117 @@ \ No newline at end of file diff --git a/pages/carEntry/operaAppointment/comp/step2.vue b/pages/carEntry/operaAppointment/comp/step2.vue index 976100d..01179b7 100644 --- a/pages/carEntry/operaAppointment/comp/step2.vue +++ b/pages/carEntry/operaAppointment/comp/step2.vue @@ -1,20 +1,19 @@