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 @@