From 71129b0f0c2217f4adf209ba4e1a1852a4032cb1 Mon Sep 17 00:00:00 2001 From: PQZ Date: Tue, 13 Aug 2024 17:01:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E8=BE=86=E8=AE=A1=E7=AE=97=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/api/base/carmain/index.js | 8 + src/views/base/carbrand/CarBrandForm.vue | 84 ++++-- src/views/base/carbrand/CarModelForm.vue | 66 ++++- src/views/base/carmain/CarMainForm.vue | 295 +++++++++++-------- src/views/base/customer/CustomerMainForm.vue | 24 +- 6 files changed, 309 insertions(+), 169 deletions(-) diff --git a/package.json b/package.json index a056811..d9cdca2 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,7 @@ "clipboard": "2.0.8", "core-js": "^3.26.0", "crypto-js": "^4.0.0", + "dayjs": "^1.11.12", "echarts": "5.4.0", "element-ui": "2.15.12", "file-saver": "2.0.5", diff --git a/src/api/base/carmain/index.js b/src/api/base/carmain/index.js index 8cf9720..20bd9bd 100644 --- a/src/api/base/carmain/index.js +++ b/src/api/base/carmain/index.js @@ -59,6 +59,14 @@ export function getCarMainPage(params) { params }) } +// 获得车辆信息分页 +export function compute(data) { + return request({ + url: '/base/carMain/compute', + method: 'post', + data: data + }) +} // 导出车辆信息 Excel export function exportCarMainExcel(params) { return request({ diff --git a/src/views/base/carbrand/CarBrandForm.vue b/src/views/base/carbrand/CarBrandForm.vue index b7deea3..aba4edc 100644 --- a/src/views/base/carbrand/CarBrandForm.vue +++ b/src/views/base/carbrand/CarBrandForm.vue @@ -3,33 +3,65 @@ - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - +