From b09b45bf812f48bdd9cbcd3243ece3dd2b5a792b Mon Sep 17 00:00:00 2001 From: Lihx Date: Thu, 19 Sep 2024 18:00:36 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=B8=8A=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/partner/api/workOrder.js | 2 +- src/views/partner/shopmaintaining/api/shopmaintaining.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/partner/api/workOrder.js b/src/views/partner/api/workOrder.js index 2c98299..f2025b2 100644 --- a/src/views/partner/api/workOrder.js +++ b/src/views/partner/api/workOrder.js @@ -74,7 +74,7 @@ export function inspectionDetail(id){ // pid export function shopInfo() { return request({ - url: '/partnerOwn/partner/shopInfo', + url: '/partnerOwn/partner/shopInfoByUserId', method: 'get', }) diff --git a/src/views/partner/shopmaintaining/api/shopmaintaining.js b/src/views/partner/shopmaintaining/api/shopmaintaining.js index 5c59714..7b32763 100644 --- a/src/views/partner/shopmaintaining/api/shopmaintaining.js +++ b/src/views/partner/shopmaintaining/api/shopmaintaining.js @@ -12,7 +12,7 @@ export function shopInfo() { // dian export function getPartnerInfo(data) { return request({ - url: '/partnerOwn/partner/shopInfo', + url: '/partnerOwn/partner/shopInfoByUserId', method: 'get', params: data From 4ee9a84b56c508b4a02b9fa4d68ebec585a8ba12 Mon Sep 17 00:00:00 2001 From: xiao-fajia <1665375861@qq.com> Date: Thu, 19 Sep 2024 19:46:32 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/base/customer/index.js | 8 -- src/views/repair/Components/CarChoose.vue | 68 +++++++++ src/views/repair/Components/PartChoose.vue | 25 ++-- src/views/repair/Components/StaffChoose.vue | 1 - src/views/repair/Components/UserChoose.vue | 22 ++- .../repair/tickets/Components/TicketItem.vue | 132 +++++++++++++++--- .../repair/tickets/Components/UserInfo.vue | 113 ++++++++++----- src/views/repair/tickets/CreateTicket.vue | 3 +- 8 files changed, 293 insertions(+), 79 deletions(-) create mode 100644 src/views/repair/Components/CarChoose.vue diff --git a/src/api/base/customer/index.js b/src/api/base/customer/index.js index b666448..711b32a 100644 --- a/src/api/base/customer/index.js +++ b/src/api/base/customer/index.js @@ -67,11 +67,3 @@ export function exportCustomerMainExcel(params) { responseType: 'blob' }) } - -// 用户列表 -export function getCustomerList(){ - return request({ - url: "/base/custom/list", - method: "get" - }) -} diff --git a/src/views/repair/Components/CarChoose.vue b/src/views/repair/Components/CarChoose.vue new file mode 100644 index 0000000..3dd5fce --- /dev/null +++ b/src/views/repair/Components/CarChoose.vue @@ -0,0 +1,68 @@ + + + + + diff --git a/src/views/repair/Components/PartChoose.vue b/src/views/repair/Components/PartChoose.vue index 882e365..a86780a 100644 --- a/src/views/repair/Components/PartChoose.vue +++ b/src/views/repair/Components/PartChoose.vue @@ -1,5 +1,5 @@