修改车辆基础信息

master
夜笙歌 2 years ago
parent 859309300e
commit 5ea076bca6

@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询轮胎基础信息列表 // 查询轮胎基础信息列表
export function listBaseCar(query) { export function listBaseCar(query) {
return request({ return request({
url: '/basetyre/basetyre/list', url: '/basecar/car/list',
method: 'get', method: 'get',
params: query params: query
}) })

@ -81,6 +81,8 @@ export default {
longitude: 'Longitude', longitude: 'Longitude',
latitude: 'Latitude', latitude: 'Latitude',
tiresTotal: 'Tire Quantity', tiresTotal: 'Tire Quantity',
addTitle: 'Add Vehicle Basic Information',
editTitle: 'Modify vehicle basic information',
} }
} }
} }

@ -81,6 +81,8 @@ export default {
longitude: '经度', longitude: '经度',
latitude: '纬度', latitude: '纬度',
tiresTotal: '轮胎数', tiresTotal: '轮胎数',
addTitle: '添加车辆基础信息',
editTitle: '修改车辆基础信息',
} }
} }
} }

@ -171,7 +171,7 @@
</el-form-item> </el-form-item>
<el-form-item :label="t('common.isRemove')" prop="isDelete"> <el-form-item :label="t('common.isRemove')" prop="isDelete">
<el-input <el-input
v-model="queryParams.tiresTotal" v-model="queryParams.isDelete"
:placeholder="t('common.pleaseEnter') + t('common.isRemove')" :placeholder="t('common.pleaseEnter') + t('common.isRemove')"
style="width: 200px" style="width: 200px"
clearable clearable
@ -697,7 +697,7 @@ function handleSelectionChange(selection) {
function handleAdd() { function handleAdd() {
reset(); reset();
open.value = true; open.value = true;
title.value = t('tireManagement.addTitle'); title.value = t('baseCar.car.addTitle');
} }
/** 修改按钮操作 */ /** 修改按钮操作 */
@ -707,7 +707,7 @@ function handleUpdate(row) {
getBaseCar(postId).then(response => { getBaseCar(postId).then(response => {
form.value = response.data; form.value = response.data;
open.value = true; open.value = true;
title.value = t('tireManagement.editTitle'); title.value = t('baseCar.car.editTitle');
}); });
} }

Loading…
Cancel
Save