From afb343786f79088d830be39822fc4c00f564828c Mon Sep 17 00:00:00 2001 From: PQZ Date: Sat, 3 Aug 2024 21:51:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=91=E5=AE=9A=E8=BD=A6=E8=BE=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/base/customer/index.js | 8 + src/views/base/customer/ChooseCarDraw.vue | 306 ++++++++++-------- src/views/base/customer/CustomerCarForm.vue | 67 ++-- .../base/customer/components/CorpCustomer.vue | 17 +- .../base/customer/components/TodoCustomer.vue | 15 +- 5 files changed, 248 insertions(+), 165 deletions(-) diff --git a/src/api/base/customer/index.js b/src/api/base/customer/index.js index e745be9..378f6a5 100644 --- a/src/api/base/customer/index.js +++ b/src/api/base/customer/index.js @@ -9,6 +9,14 @@ export function createCustomerMain(data) { }) } +export function bindCustomerCar(data) { + return request({ + url: '/base/custom/bindCustomerCar', + method: 'post', + data: data + }) +} + // 更新客户管理 export function updateCustomerMain(data) { return request({ diff --git a/src/views/base/customer/ChooseCarDraw.vue b/src/views/base/customer/ChooseCarDraw.vue index 8dc9c1a..5f1a0d4 100644 --- a/src/views/base/customer/ChooseCarDraw.vue +++ b/src/views/base/customer/ChooseCarDraw.vue @@ -1,80 +1,30 @@