From 882fd28ddb5c8fe1764e9b5a0adbdbf665739f59 Mon Sep 17 00:00:00 2001 From: PQZ Date: Wed, 6 Nov 2024 11:54:26 +0800 Subject: [PATCH 1/3] 1 --- pages-order/orderDetail/orderDetail.vue | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pages-order/orderDetail/orderDetail.vue b/pages-order/orderDetail/orderDetail.vue index 78ab98b..3d3e99f 100644 --- a/pages-order/orderDetail/orderDetail.vue +++ b/pages-order/orderDetail/orderDetail.vue @@ -14,8 +14,14 @@ {{ ticketInfo.ticketsStatus == '02' ? '已完成' : ticketInfo.statusStr }} 当前工单维修项目{{ ticketInfo.flag == '02' ? '已全部完成' : ticketInfo.statusStr }} + + 服务顾问 + + {{ticketInfo.adviserName}} {{ticketInfo.linkPhone}} + + 车辆信息 @@ -263,6 +269,13 @@ this.getProjItem() }, methods: { + + callPhone(phone){ + uni.makePhoneCall({ + phoneNumber: phone + }); + }, + /** * 预览图片 */ From e0ec9f5856d396dc719cec903370f73a0098e728 Mon Sep 17 00:00:00 2001 From: xiaofajia <1665375861@qq.com> Date: Wed, 6 Nov 2024 12:08:36 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A2=84=E7=BA=A6?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E7=9A=84=E4=B8=9A=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.js | 3 ++- pages/myReservation/addReservation.vue | 20 ++++++++------------ 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/config.js b/config.js index 3bf87f2..6f0d247 100644 --- a/config.js +++ b/config.js @@ -1,8 +1,9 @@ // 应用全局配置 module.exports = { // baseUrl: 'https://www.nuoyunr.com', - baseUrl: 'http://192.168.1.17:48080', + // baseUrl: 'http://192.168.1.17:48080', // baseUrl: "http://192.168.1.4:48080", + baseUrl: "http://localhost:48080", imagesUrl: 'http://shequ.0315e.com/static/images/pages/', baseImageUrl: 'https://www.nuoyunr.com/minio/', wsUrl: 'wss://www.nuoyunr.com', diff --git a/pages/myReservation/addReservation.vue b/pages/myReservation/addReservation.vue index 22ca397..8d5a597 100644 --- a/pages/myReservation/addReservation.vue +++ b/pages/myReservation/addReservation.vue @@ -70,7 +70,7 @@ --> 预约项目 - + @@ -154,7 +154,7 @@ formData:{ userName: null, userMobile: null, - projectId: null, + repairType: null, carId: null, carNo: null, bookingTime: null, @@ -266,7 +266,6 @@ url: '/pages/myReservation/reservationSuccess?info=' + encodeURIComponent(JSON.stringify(this.info)) }) }).catch(() => {}) - }, async initCarList() { const res = await request({ @@ -308,23 +307,20 @@ // 取服务 async getServer(corpId) { const res = await request({ - url: "/userClient/base/company/get", - method: 'get', - params: { - id: corpId - } + url: "/userClient/dict/type?type=repair_type", + method: 'get' }) - this.serviceList = res.data.servicePackages + this.serviceList = res.data }, // 选择服务 selectServer(){ - const servers = this.serviceList.map(item => item.name) + const servers = this.serviceList.map(item => item.label) uni.showActionSheet({ itemList: servers, success: (res) => { this.service = this.serviceList[res.tapIndex] - this.formData.projectId = this.service.id - this.info.serviceName = this.service.name + this.formData.repairType = this.service.value + this.info.serviceName = this.service.label }, fail: (err) => { console.error('选择框显示失败:', err); From 7b1b7e10ad9b4b79298dc7900e472d8af5ebf776 Mon Sep 17 00:00:00 2001 From: PQZ Date: Wed, 6 Nov 2024 13:46:16 +0800 Subject: [PATCH 3/3] 1 --- config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.js b/config.js index 3bf87f2..3b4b3dc 100644 --- a/config.js +++ b/config.js @@ -1,8 +1,8 @@ // 应用全局配置 module.exports = { // baseUrl: 'https://www.nuoyunr.com', - baseUrl: 'http://192.168.1.17:48080', - // baseUrl: "http://192.168.1.4:48080", + // baseUrl: 'http://192.168.1.17:48080', + baseUrl: "http://192.168.1.4:48080", imagesUrl: 'http://shequ.0315e.com/static/images/pages/', baseImageUrl: 'https://www.nuoyunr.com/minio/', wsUrl: 'wss://www.nuoyunr.com',