From 757abb26f9479c1ae5beca37f1702647e5b04fb5 Mon Sep 17 00:00:00 2001 From: zc Date: Mon, 5 Jan 2026 15:18:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B4=E5=AE=89=E4=BC=98=E5=8C=96-=E8=BD=A6?= =?UTF-8?q?=E8=BE=86=E8=BF=98=E5=8E=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/vehicle/carInfo.js | 9 + src/views/vehicle/carInfo/index.vue | 3 +- src/views/vehicle/delCarInfo/index.vue | 237 +++++++++++++++++++++++++ vue.config.js | 4 +- 4 files changed, 250 insertions(+), 3 deletions(-) create mode 100644 src/views/vehicle/delCarInfo/index.vue diff --git a/src/api/vehicle/carInfo.js b/src/api/vehicle/carInfo.js index 34b8018..d0fd4e6 100644 --- a/src/api/vehicle/carInfo.js +++ b/src/api/vehicle/carInfo.js @@ -42,3 +42,12 @@ export function delCarInfo(customerId) { method: 'delete' }) } + +// 删除车辆信息 +export function restore(customerIds) { + return request({ + url: '/system/carInfo/restore', + method: 'post', + data: customerIds + }) +} diff --git a/src/views/vehicle/carInfo/index.vue b/src/views/vehicle/carInfo/index.vue index e1412d5..2228203 100644 --- a/src/views/vehicle/carInfo/index.vue +++ b/src/views/vehicle/carInfo/index.vue @@ -40,7 +40,7 @@ /> - + +
+ + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 还原 + + + 导出 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + diff --git a/vue.config.js b/vue.config.js index f36a386..2e31834 100644 --- a/vue.config.js +++ b/vue.config.js @@ -39,9 +39,9 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - // target: `http://127.0.0.1:6609`, //本地 + target: `http://127.0.0.1:6609`, //本地 //target: `http://192.168.1.183:6609`, //测试 - target: `http://113.26.248.155:33966/`, //正式环境 + // target: `http://113.26.248.155:33966/`, //正式环境 changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''