diff --git a/ruoyi-ui/src/api/basecar/car.js b/ruoyi-ui/src/api/basecar/car.js index 0ed8ae3..e5e21b8 100644 --- a/ruoyi-ui/src/api/basecar/car.js +++ b/ruoyi-ui/src/api/basecar/car.js @@ -3,7 +3,7 @@ import request from '@/utils/request' // 查询轮胎基础信息列表 export function listBaseCar(query) { return request({ - url: '/basetyre/basetyre/list', + url: '/basecar/car/list', method: 'get', params: query }) diff --git a/ruoyi-ui/src/lang/en.js b/ruoyi-ui/src/lang/en.js index c14aafb..0432e96 100644 --- a/ruoyi-ui/src/lang/en.js +++ b/ruoyi-ui/src/lang/en.js @@ -81,6 +81,8 @@ export default { longitude: 'Longitude', latitude: 'Latitude', tiresTotal: 'Tire Quantity', + addTitle: 'Add Vehicle Basic Information', + editTitle: 'Modify vehicle basic information', } } } \ No newline at end of file diff --git a/ruoyi-ui/src/lang/zhCn.js b/ruoyi-ui/src/lang/zhCn.js index 1495d7b..929c7b8 100644 --- a/ruoyi-ui/src/lang/zhCn.js +++ b/ruoyi-ui/src/lang/zhCn.js @@ -81,6 +81,8 @@ export default { longitude: '经度', latitude: '纬度', tiresTotal: '轮胎数', + addTitle: '添加车辆基础信息', + editTitle: '修改车辆基础信息', } } } \ No newline at end of file diff --git a/ruoyi-ui/src/views/basecar/car/index.vue b/ruoyi-ui/src/views/basecar/car/index.vue index ad17243..265d909 100644 --- a/ruoyi-ui/src/views/basecar/car/index.vue +++ b/ruoyi-ui/src/views/basecar/car/index.vue @@ -171,7 +171,7 @@ { form.value = response.data; open.value = true; - title.value = t('tireManagement.editTitle'); + title.value = t('baseCar.car.editTitle'); }); }