diff --git a/ruoyi-ui/src/api/basecar/car.js b/ruoyi-ui/src/api/basecar/car.js
new file mode 100644
index 0000000..0ed8ae3
--- /dev/null
+++ b/ruoyi-ui/src/api/basecar/car.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询轮胎基础信息列表
+export function listBaseCar(query) {
+ return request({
+ url: '/basetyre/basetyre/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询轮胎基础信息详细
+export function getBaseCar(id) {
+ return request({
+ url: '/basetyre/basetyre/' + id,
+ method: 'get'
+ })
+}
+
+// 新增轮胎基础信息
+export function addBaseCar(data) {
+ return request({
+ url: '/basetyre/basetyre',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改轮胎基础信息
+export function updateBaseCar(data) {
+ return request({
+ url: '/basetyre/basetyre',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除轮胎基础信息
+export function delBaseCar(id) {
+ return request({
+ url: '/basetyre/basetyre/' + id,
+ method: 'delete'
+ })
+}
diff --git a/ruoyi-ui/src/lang/en.js b/ruoyi-ui/src/lang/en.js
index 8015c30..c14aafb 100644
--- a/ruoyi-ui/src/lang/en.js
+++ b/ruoyi-ui/src/lang/en.js
@@ -19,7 +19,7 @@ export default {
sidebarLogo: 'Sidebar Logo'
},
option: {
- refresh:'refresh',
+ refresh: 'refresh',
option: 'option',
edit: 'Edit',
remove: 'Remove',
@@ -29,6 +29,7 @@ export default {
reset: 'reset'
},
common: {
+ success: 'success',
show: 'show',
hide: 'hide',
pleaseEnter: 'please enter ',
@@ -37,10 +38,13 @@ export default {
isRemove: 'Is it deleted',
creatorId: 'Creator ID',
creatorName: 'Creator name',
+ createTime: 'Create Time',
+ createBy: 'Creator',
editTime: 'Edit time',
editID: 'Editor\'s ID',
editAccount: 'Editor\'s account',
- editName: 'Editor\'s name'
+ editName: 'Editor\'s name',
+ editBy: 'Editor',
},
tireManagement: {
tireFactoryCode: 'Tire Factory Code',
@@ -50,9 +54,33 @@ export default {
wheelPosition: 'Wheel Position',
tireSensorID: 'Tire Sensor ID',
treadDepth: 'Tread Depth',
- carId:'Car ID',
- tireModel:'Tire Model',
- tireModelId:'Tire ModelId',
- brandId:'Brand ID'
+ carId: 'Car ID',
+ tireModel: 'Tire Model',
+ tireModelId: 'Tire Model ID',
+ brandId: 'Brand ID',
+ addTitle: 'Add tire basic information',
+ editTitle: 'Modify tire basic information',
+ },
+ baseCar: {
+ car: {
+ companyCode: 'Enterprise number',
+ carQueueId: 'Fleet ID',
+ caiTypeId: 'Model ID',
+ carLicense: 'Plate Number',
+ carLicenseIn: 'Internal Plate Number',
+ carLicenseParent: 'Head Car Plate Number',
+ carIdParent: 'Head Car ID',
+ userId: 'Driver ID',
+ userName: 'Driver Name',
+ deviceId: 'Sensor ID',
+ deviceBindTime: 'Sensor Binding Time',
+ firstChangeDate: 'First Replacement Date',
+ trailerNum: 'Trailer Num',
+ isHandDevice: 'Whether Or Not Manually maintain the sensor',
+ isHasDevice: 'Whether Or Not independent sensor',
+ longitude: 'Longitude',
+ latitude: 'Latitude',
+ tiresTotal: 'Tire Quantity',
+ }
}
}
\ No newline at end of file
diff --git a/ruoyi-ui/src/lang/zhCn.js b/ruoyi-ui/src/lang/zhCn.js
index 4cb9e5b..1495d7b 100644
--- a/ruoyi-ui/src/lang/zhCn.js
+++ b/ruoyi-ui/src/lang/zhCn.js
@@ -19,7 +19,7 @@ export default {
sidebarLogo: '侧边栏 Logo'
},
option: {
- refresh:'刷新',
+ refresh: '刷新',
option: '操作',
edit: '修改',
remove: '删除',
@@ -29,18 +29,22 @@ export default {
reset: '重置'
},
common: {
- show:'显示',
- hide:'隐藏',
+ success: '成功',
+ show: '显示',
+ hide: '隐藏',
pleaseEnter: '请输入',
PleaseSelect: '请选择',
state: '状态',
isRemove: '是否删除',
creatorId: '创建者Id',
creatorName: '创建者姓名',
+ createTime: '创建时间',
+ createBy: '创建人',
editTime: '修改时间',
editID: '修改者ID',
editAccount: '修改者账号',
- editName: '编辑者姓名'
+ editName: '编辑者姓名',
+ editBy: '修改人',
},
tireManagement: {
tireFactoryCode: '轮胎厂编码',
@@ -50,9 +54,33 @@ export default {
wheelPosition: '轮位',
tireSensorID: '轮胎传感器ID',
treadDepth: '花纹深度',
- carId:'车辆ID',
- tireModel:'轮胎型号',
- tireModelId:'轮胎型号表ID',
- brandId:'品牌ID'
+ carId: '车辆ID',
+ tireModel: '轮胎型号',
+ tireModelId: '轮胎型号表ID',
+ brandId: '品牌ID',
+ addTitle: '添加轮胎基础信息',
+ editTitle: '修改轮胎基础信息',
+ },
+ baseCar: {
+ car: {
+ companyCode: '企业编号',
+ carQueueId: '车队ID',
+ carTypeId: '车型ID',
+ carLicense: '车牌号',
+ carLicenseIn: '内部牌号',
+ carLicenseParent: '车头牌号',
+ carIdParent: '车头ID',
+ userId: '司机ID',
+ userName: '司机姓名',
+ deviceId: '接收器ID',
+ deviceBindTime: '接收器绑定时间',
+ firstChangeDate: '初换日期',
+ trailerNum: '布局挂数',
+ isHandDevice: '是否手工维护接收器',
+ isHasDevice: '是否独立接收器',
+ longitude: '经度',
+ latitude: '纬度',
+ tiresTotal: '轮胎数',
+ }
}
}
\ 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
new file mode 100644
index 0000000..075c904
--- /dev/null
+++ b/ruoyi-ui/src/views/basecar/car/index.vue
@@ -0,0 +1,755 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('option.search') }}
+ {{ t('option.reset') }}
+
+
+
+
+
+
+ {{ t('option.add') }}
+
+
+
+ {{ t('option.edit') }}
+
+
+
+ {{ t('option.remove') }}
+
+
+
+ {{ t('option.export') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('option.edit') }}
+
+ {{ t('option.remove') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ruoyi-ui/src/views/tireManagement/info/index.vue b/ruoyi-ui/src/views/tireManagement/info/index.vue
index 49d1c8c..91d7c09 100644
--- a/ruoyi-ui/src/views/tireManagement/info/index.vue
+++ b/ruoyi-ui/src/views/tireManagement/info/index.vue
@@ -108,6 +108,7 @@
style="width: 200px"
v-model="queryParams.modifyTime"
type="date"
+ format="YYYY/MM/DD"
value-format="yyyy-MM-dd"
:placeholder="t('common.PleaseSelect') + t('common.editTime')"
/>
@@ -445,7 +446,7 @@ function handleSelectionChange(selection) {
function handleAdd() {
reset();
open.value = true;
- title.value = "添加轮胎基础信息";
+ title.value = t('tireManagement.addTitle');
}
/** 修改按钮操作 */
@@ -455,7 +456,7 @@ function handleUpdate(row) {
getBasetyre(postId).then(response => {
form.value = response.data;
open.value = true;
- title.value = "修改轮胎基础信息";
+ title.value = t('tireManagement.editTitle');
});
}
@@ -500,4 +501,5 @@ function handleExport() {
}
getList();
+