From 06353b131ea9897edbe399713e168f59f3115ab7 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:18:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=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/api/basecar/cartype.js | 44 ++ ruoyi-ui/src/lang/en.js | 10 + ruoyi-ui/src/lang/zhCn.js | 10 + ruoyi-ui/src/views/basecar/car/index.vue | 7 +- ruoyi-ui/src/views/basecar/cartype/index.vue | 581 +++++++++++++++++++ 5 files changed, 646 insertions(+), 6 deletions(-) create mode 100644 ruoyi-ui/src/api/basecar/cartype.js create mode 100644 ruoyi-ui/src/views/basecar/cartype/index.vue diff --git a/ruoyi-ui/src/api/basecar/cartype.js b/ruoyi-ui/src/api/basecar/cartype.js new file mode 100644 index 0000000..2f4ccab --- /dev/null +++ b/ruoyi-ui/src/api/basecar/cartype.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询轮胎基础信息列表 +export function listBaseCar(query) { + return request({ + url: '/cartype/cartype/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 0432e96..4c2d2eb 100644 --- a/ruoyi-ui/src/lang/en.js +++ b/ruoyi-ui/src/lang/en.js @@ -83,6 +83,16 @@ export default { tiresTotal: 'Tire Quantity', addTitle: 'Add Vehicle Basic Information', editTitle: 'Modify vehicle basic information', + }, + carType: { + tyreFacCode: 'Tire Factory Code', + companyCode: 'Enterprise number', + code: 'Code', + title: 'Title', + state: 'State', + axleTotal: 'Axle Number', + tyreTotal: 'Number Of Tires', + trailerNum: 'Trailer Num' } } } \ No newline at end of file diff --git a/ruoyi-ui/src/lang/zhCn.js b/ruoyi-ui/src/lang/zhCn.js index 929c7b8..4caf1a4 100644 --- a/ruoyi-ui/src/lang/zhCn.js +++ b/ruoyi-ui/src/lang/zhCn.js @@ -83,6 +83,16 @@ export default { tiresTotal: '轮胎数', addTitle: '添加车辆基础信息', editTitle: '修改车辆基础信息', + }, + carType:{ + tyreFacCode:'轮胎厂编码', + companyCode:'企业编码', + code:'编码', + title:'名称', + state:'状态', + axleTotal:'车轴数', + tyreTotal:'轮胎数', + trailerNum:'布局挂数' } } } \ 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 bce4fa4..24bbe01 100644 --- a/ruoyi-ui/src/views/basecar/car/index.vue +++ b/ruoyi-ui/src/views/basecar/car/index.vue @@ -42,7 +42,7 @@ - diff --git a/ruoyi-ui/src/views/basecar/cartype/index.vue b/ruoyi-ui/src/views/basecar/cartype/index.vue new file mode 100644 index 0000000..5a31c4a --- /dev/null +++ b/ruoyi-ui/src/views/basecar/cartype/index.vue @@ -0,0 +1,581 @@ + + +