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]: ''