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