From 76f237ecabf8a5735e421c82f584a2ce8b00aa4e Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Sat, 30 Aug 2025 10:07:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E6=80=81=E5=AE=A2=E6=9C=8D=E5=BC=B9?= =?UTF-8?q?=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/customer/customer.js | 5 ++ .../customer-service-modal.vue | 61 +++++++++++++------ config/dev.js | 2 +- pages/profile/profile.vue | 1 + utils/request.js | 6 +- 5 files changed, 52 insertions(+), 23 deletions(-) create mode 100644 api/customer/customer.js diff --git a/api/customer/customer.js b/api/customer/customer.js new file mode 100644 index 0000000..c9c9ac5 --- /dev/null +++ b/api/customer/customer.js @@ -0,0 +1,5 @@ +import { get } from '../../utils/request' + +export function getCustomerList() { + return get('/app/customer/list') +} diff --git a/components/customer-service-modal/customer-service-modal.vue b/components/customer-service-modal/customer-service-modal.vue index 1863e3f..5be160a 100644 --- a/components/customer-service-modal/customer-service-modal.vue +++ b/components/customer-service-modal/customer-service-modal.vue @@ -24,11 +24,11 @@ {{ service.name }} - {{ service.phone }} + {{ service.contact }} 工作时间: - {{ service.workTime }} + {{ service.startTime }}~{{ service.entTime }} @@ -48,7 +48,8 @@