From 487e28fdf186295f8fcef8142df990488470896f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Wed, 8 Feb 2023 17:54:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BD=A6=E8=BE=86=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/lang/en.js | 4 +++- ruoyi-ui/src/lang/zhCn.js | 4 +++- ruoyi-ui/src/views/basecar/car/index.vue | 2 +- ruoyi-ui/src/views/basecar/cartype/index.vue | 6 +++--- ruoyi-ui/src/views/tireManagement/info/index.vue | 2 +- 5 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ruoyi-ui/src/lang/en.js b/ruoyi-ui/src/lang/en.js index 4c2d2eb..09625c5 100644 --- a/ruoyi-ui/src/lang/en.js +++ b/ruoyi-ui/src/lang/en.js @@ -92,7 +92,9 @@ export default { state: 'State', axleTotal: 'Axle Number', tyreTotal: 'Number Of Tires', - trailerNum: 'Trailer Num' + trailerNum: 'Trailer Num', + addTitle: 'Add Vehicle Type', + editTitle: 'Modify Vehicle Type', } } } \ No newline at end of file diff --git a/ruoyi-ui/src/lang/zhCn.js b/ruoyi-ui/src/lang/zhCn.js index 4caf1a4..be862e5 100644 --- a/ruoyi-ui/src/lang/zhCn.js +++ b/ruoyi-ui/src/lang/zhCn.js @@ -92,7 +92,9 @@ export default { state:'状态', axleTotal:'车轴数', tyreTotal:'轮胎数', - trailerNum:'布局挂数' + trailerNum:'布局挂数', + 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 24bbe01..0cc7967 100644 --- a/ruoyi-ui/src/views/basecar/car/index.vue +++ b/ruoyi-ui/src/views/basecar/car/index.vue @@ -694,7 +694,7 @@ const resetQuery = () => { /** 多选框选中数据 */ function handleSelectionChange(selection) { - ids.value = selection.map(item => item.postId); + ids.value = selection.map(item => item.id); single.value = selection.length !== 1; multiple.value = !selection.length; } diff --git a/ruoyi-ui/src/views/basecar/cartype/index.vue b/ruoyi-ui/src/views/basecar/cartype/index.vue index 3b278f6..c7b8a1a 100644 --- a/ruoyi-ui/src/views/basecar/cartype/index.vue +++ b/ruoyi-ui/src/views/basecar/cartype/index.vue @@ -2,7 +2,7 @@
+ :label-width=" locale ? '100px':'140px'"> - + { /** 多选框选中数据 */ function handleSelectionChange(selection) { - ids.value = selection.map(item => item.postId); + ids.value = selection.map(item => item.id); single.value = selection.length !== 1; multiple.value = !selection.length; } diff --git a/ruoyi-ui/src/views/tireManagement/info/index.vue b/ruoyi-ui/src/views/tireManagement/info/index.vue index 91d7c09..2053dd1 100644 --- a/ruoyi-ui/src/views/tireManagement/info/index.vue +++ b/ruoyi-ui/src/views/tireManagement/info/index.vue @@ -437,7 +437,7 @@ const resetQuery = () => { /** 多选框选中数据 */ function handleSelectionChange(selection) { - ids.value = selection.map(item => item.postId); + ids.value = selection.map(item => item.id); single.value = selection.length !== 1; multiple.value = !selection.length; }