diff --git a/src/api/basicData/Cache/area.js b/src/api/basicData/Cache/area.js index 6453cde..856032d 100644 --- a/src/api/basicData/Cache/area.js +++ b/src/api/basicData/Cache/area.js @@ -2,14 +2,14 @@ * @Author: zwq * @Date: 2020-12-29 16:00:14 * @LastEditors: zwq - * @LastEditTime: 2021-01-27 16:42:27 + * @LastEditTime: 2022-01-11 16:16:07 * @Description: */ import request from '@/utils/request' export function areaList(data) { // 获取缓存区区域信息列表 return request({ - url: '/basic/area/page', + url: '/api/wms/area/shelf', method: 'post', data }) @@ -17,7 +17,7 @@ export function areaList(data) { // 获取缓存区区域信息列表 export function areaDetail(id) { // 获取缓存区区域信息单条数据 return request({ - url: '/basic/area/get', + url: '/api/wms/area/get', method: 'post', data: { id } }) @@ -25,7 +25,7 @@ export function areaDetail(id) { // 获取缓存区区域信息单条数据 export function areaUpdate(data) { // 更新缓存区区域信息单条数据 return request({ - url: '/basic/area/update', + url: '/api/wms/area/update', method: 'post', data }) @@ -33,7 +33,7 @@ export function areaUpdate(data) { // 更新缓存区区域信息单条数据 export function areaAdd(data) { // 新增缓存区区域信息单条数据 return request({ - url: '/basic/area/add', + url: '/api/wms/area/add', method: 'post', data }) @@ -41,14 +41,14 @@ export function areaAdd(data) { // 新增缓存区区域信息单条数据 export function areaCode() { // 获取缓存区区域信息code return request({ - url: '/basic/area/get-code', + url: '/api/wms/area/get-code', method: 'post' }) } export function areaDelete(id) { // 删除缓存区区域信息单条数据 return request({ - url: '/basic/area/delete', + url: '/api/wms/area/delete', method: 'post', data: { id } }) diff --git a/src/api/basicData/Cache/cache.js b/src/api/basicData/Cache/cache.js index ef098d8..cf33218 100644 --- a/src/api/basicData/Cache/cache.js +++ b/src/api/basicData/Cache/cache.js @@ -2,14 +2,14 @@ * @Author: zwq * @Date: 2020-12-29 16:00:14 * @LastEditors: zwq - * @LastEditTime: 2021-01-20 15:31:32 + * @LastEditTime: 2022-01-11 15:50:42 * @Description: */ import request from '@/utils/request' export function cacheList(data) { // 获取缓存区信息列表 return request({ - url: '/basic/cache/page', + url: '/api/wms/area/page', method: 'post', data }) @@ -17,7 +17,7 @@ export function cacheList(data) { // 获取缓存区信息列表 export function cacheDetail(id) { // 获取缓存区信息单条数据 return request({ - url: '/basic/cache/get', + url: '/api/wms/area/getById', method: 'post', data: { id } }) @@ -25,7 +25,7 @@ export function cacheDetail(id) { // 获取缓存区信息单条数据 export function cacheUpdate(data) { // 更新缓存区信息单条数据 return request({ - url: '/basic/cache/update', + url: '/api/wms/area/update', method: 'post', data }) @@ -33,7 +33,7 @@ export function cacheUpdate(data) { // 更新缓存区信息单条数据 export function cacheAdd(data) { // 新增缓存区信息单条数据 return request({ - url: '/basic/cache/add', + url: '/api/wms/area/add', method: 'post', data }) @@ -41,14 +41,14 @@ export function cacheAdd(data) { // 新增缓存区信息单条数据 export function cacheCode() { // 获取缓存区信息code return request({ - url: '/basic/cache/get-code', + url: '/api/wms/area/get-code', method: 'post' }) } export function cacheDelete(id) { // 删除缓存区信息单条数据 return request({ - url: '/basic/cache/delete', + url: '/api/wms/area/delete', method: 'post', data: { id } }) diff --git a/src/api/basicData/Cache/storageBox.js b/src/api/basicData/Cache/storageBox.js index b49dfc0..ea1f238 100644 --- a/src/api/basicData/Cache/storageBox.js +++ b/src/api/basicData/Cache/storageBox.js @@ -2,14 +2,14 @@ * @Author: zwq * @Date: 2020-12-29 16:00:14 * @LastEditors: zwq - * @LastEditTime: 2021-07-21 14:29:10 + * @LastEditTime: 2022-01-11 16:43:22 * @Description: */ import request from '@/utils/request' export function storageBoxList(data) { // 获取存储箱列表 return request({ - url: '/basic/storage-tank/page', + url: '/api/wms/storagebox/page', method: 'post', data }) @@ -17,7 +17,7 @@ export function storageBoxList(data) { // 获取存储箱列表 export function storageBoxDetail(id) { // 获取存储箱单条数据 return request({ - url: '/basic/storage-tank/get', + url: '/api/wms/storagebox/getById', method: 'post', data: { id } }) @@ -25,7 +25,7 @@ export function storageBoxDetail(id) { // 获取存储箱单条数据 export function storageBoxUpdate(data) { // 更新存储箱单条数据 return request({ - url: '/basic/storage-tank/update', + url: '/api/wms/storagebox/update', method: 'post', data }) @@ -33,7 +33,7 @@ export function storageBoxUpdate(data) { // 更新存储箱单条数据 export function storageBoxAdd(data) { // 新增存储箱单条数据 return request({ - url: '/basic/storage-tank/add', + url: '/api/wms/storagebox/add', method: 'post', data }) @@ -41,14 +41,14 @@ export function storageBoxAdd(data) { // 新增存储箱单条数据 export function storageBoxCode() { // 获取存储箱code return request({ - url: '/basic/storage-tank/get-code', + url: '/api/wms/storagebox/get-code', method: 'post' }) } export function storageBoxDelete(id) { // 删除存储箱单条数据 return request({ - url: '/basic/storage-tank/delete', + url: '/api/wms/storagebox/delete', method: 'post', data: { id } }) @@ -56,14 +56,14 @@ export function storageBoxDelete(id) { // 删除存储箱单条数据 export function PositionDetailInfoAdd(data) { // 新增存储箱地址单条数据 return request({ - url: '/basic/storage-tank-site/add', + url: '/api/wms/storagebox-site/add', method: 'post', data }) } export function PositionDetailInfoList(data) { // 获取存储箱地址列表 return request({ - url: '/basic/storage-tank-site/page', + url: '/api/wms/storagebox-site/page', method: 'post', data }) diff --git a/src/api/basicData/Equipment/equipmentInfo.js b/src/api/basicData/Equipment/equipmentInfo.js index 7b40c7a..61747b3 100644 --- a/src/api/basicData/Equipment/equipmentInfo.js +++ b/src/api/basicData/Equipment/equipmentInfo.js @@ -2,14 +2,14 @@ * @Author: zwq * @Date: 2020-12-29 16:00:14 * @LastEditors: zwq - * @LastEditTime: 2021-03-12 09:40:01 + * @LastEditTime: 2022-01-10 17:00:16 * @Description: */ import request from '@/utils/request' export function equipmentInfoList(data) { // 获取设备信息列表 return request({ - url: '/basic/equipment/page', + url: '/api/wms/equipment/page', method: 'post', data }) @@ -17,7 +17,7 @@ export function equipmentInfoList(data) { // 获取设备信息列表 export function equipmentInfoDetail(id) { // 获取设备信息单条数据 return request({ - url: '/basic/equipment/get', + url: '/api/wms/equipment/get', method: 'post', data: { id } }) @@ -25,7 +25,7 @@ export function equipmentInfoDetail(id) { // 获取设备信息单条数据 export function equipmentInfoUpdate(data) { // 更新设备信息单条数据 return request({ - url: '/basic/equipment/update', + url: '/api/wms/equipment/update', method: 'post', data }) @@ -33,7 +33,7 @@ export function equipmentInfoUpdate(data) { // 更新设备信息单条数据 export function equipmentInfoAdd(data) { // 新增设备信息单条数据 return request({ - url: '/basic/equipment/add', + url: '/api/wms/equipment/add', method: 'post', data }) @@ -41,14 +41,14 @@ export function equipmentInfoAdd(data) { // 新增设备信息单条数据 export function equipmentInfoCode() { // 获取设备信息code return request({ - url: '/basic/equipment/get-code', + url: '/api/wms/equipment/get-code', method: 'post' }) } export function equipmentInfoDelete(id) { // 删除设备信息单条数据 return request({ - url: '/basic/equipment/delete', + url: '/api/wms/equipment/delete', method: 'post', data: { id } }) @@ -56,7 +56,7 @@ export function equipmentInfoDelete(id) { // 删除设备信息单条数据 export function equipmentInfoFileAdd(data) { // 设备信息上传 return request({ - url: '/basic/equipment-file/update-file', + url: '/api/wms/equipment-file/update-file', method: 'post', data }) @@ -64,7 +64,7 @@ export function equipmentInfoFileAdd(data) { // 设备信息上传 export function getEquipmentInfoFile(data) { // 设备信息下载 return request({ - url: '/basic/equipment-file/get-by-param', + url: '/api/wms/equipment-file/get-by-param', method: 'post', data }) diff --git a/src/api/basicData/Warehouse/HistoricalTask.js b/src/api/basicData/Warehouse/HistoricalTask.js new file mode 100644 index 0000000..4b52bc7 --- /dev/null +++ b/src/api/basicData/Warehouse/HistoricalTask.js @@ -0,0 +1,28 @@ +/* + * @Author: zwq + * @Date: 2020-12-29 16:00:14 + * @LastEditors: zwq + * @LastEditTime: 2022-01-12 16:23:00 + * @Description: + */ +import request from '@/utils/request' + +export function HistoricalTaskList(data) { // 获取任务列表 + return request({ + url: '/api/wms/car/task/execution/info/his/page', + method: 'post', + data + }) +} + +export function HistoricalTaskDetail(id) { // 获取任务单条数据 + const data = { + 'id': id + } + return request({ + url: '/api/wms/car/task/execution/info/his/get', + method: 'post', + data + }) +} + diff --git a/src/api/user.js b/src/api/user.js index 8252318..e2943f7 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -1,7 +1,7 @@ /* * @Date: 2020-12-14 09:07:03 - * @LastEditors: Please set LastEditors - * @LastEditTime: 2021-12-06 15:14:46 + * @LastEditors: zwq + * @LastEditTime: 2022-01-11 15:45:54 * @FilePath: \basic-admin\src\api\user.js * @Description: 用户管理 & 登录用户的相关api接口定义 */ @@ -27,13 +27,13 @@ export function logout() { }) } // 获取当前登录的用户信息 -// export function getUserInfo(data) { -// return request({ -// url: '/passport/getLoginUser', -// method: 'post', -// data -// }) -// } +export function getUserInfo(data) { + return request({ + url: '/api/passport/getLoginUser', + method: 'post', + data + }) +} // 修改当前用户密码 export function editUserPW(data) { diff --git a/src/lang/i18n.js b/src/lang/i18n.js index 97b1d97..f7fa434 100644 --- a/src/lang/i18n.js +++ b/src/lang/i18n.js @@ -548,8 +548,8 @@ export default { zh: '缓存区信息', en: 'Ports Info', ports: { - zh: '仓库', - en: 'Warehouse' + zh: '缓存区信息', + en: 'Ports Info' }, area: { zh: '区域', @@ -705,6 +705,22 @@ export default { } } }, + Warehouse: { + zh: '仓库管理', + en: 'Warehouse Manager', + StorageBoxInfo: { + zh: '存储箱信息', + en: 'Storage Box Info' + }, + CurrentTask: { + zh: '当前任务', + en: 'Current Task' + }, + HistoricalTask: { + zh: '历史任务', + en: 'Historical Task' + } + }, order: { zh: '工单管理', en: 'Order Manager', diff --git a/src/lang/i18n/en/module/basicData.js b/src/lang/i18n/en/module/basicData.js index fb11328..e4abb47 100644 --- a/src/lang/i18n/en/module/basicData.js +++ b/src/lang/i18n/en/module/basicData.js @@ -2,7 +2,7 @@ * @Author: gtz * @Date: 2021-03-04 16:13:51 * @LastEditors: zwq - * @LastEditTime: 2021-07-21 09:59:34 + * @LastEditTime: 2022-01-12 16:09:24 * @Description: file content */ export default { @@ -130,9 +130,11 @@ export default { CacheCode: 'Ports Code', CacheName: 'Ports Name', StockNumber: 'Stock Number', - AreaNumber: 'Area Number', - AreaCode: 'Area Code', - AreaName: 'Area Name', + AreaNumber: 'Shelf Number', + AreaCode: 'Shelf Code', + AreaName: 'Shelf Name', + rowNum: 'Row Num', + columnNum: 'Column Num', Shelf: 'Shelf', ManageShelves: 'Manage Shelves', ShelfCode: 'Shelf Code', @@ -145,7 +147,7 @@ export default { LocationName: 'Location Name', anotherName: 'Another Name', place: 'Place', - addCacheArea: 'add Ports Area' + addCacheArea: 'add Ports Shelf' }, storageBox: { name: 'Name', @@ -272,5 +274,20 @@ export default { EquipmentScrapGrade: { keyword: 'name', ScrapGrade: 'Scrap Grade' + }, + Warehouse: { + Code: 'Code', + TaskType: 'Task Type', + TaskStatus: 'Task Status', + VehicleName: 'Vehicle Name', + TimeSlot: 'Time Slot', + ExecutionTime: 'Execution Time', + BoxStatus: 'Box Status', + BoxNumber: 'Box Number', + PreviousOperation: 'Previous Operation', + NextOperation: 'Next Operation', + CompletionTime: 'Completion Time', + StartLocation: 'Start Location', + TargetLocation: 'Target Location' } } diff --git a/src/lang/i18n/zh/module/basicData.js b/src/lang/i18n/zh/module/basicData.js index a5bf481..7941189 100644 --- a/src/lang/i18n/zh/module/basicData.js +++ b/src/lang/i18n/zh/module/basicData.js @@ -2,7 +2,7 @@ * @Author: gtz * @Date: 2021-03-04 16:13:51 * @LastEditors: zwq - * @LastEditTime: 2021-07-21 09:58:59 + * @LastEditTime: 2022-01-12 16:09:25 * @Description: file content */ export default { @@ -130,22 +130,24 @@ export default { CacheCode: '缓存区编码', CacheName: '缓存区名称', StockNumber: '库位数量', - AreaNumber: '区域数量', - AreaCode: '区域编码', - AreaName: '区域名称', + AreaNumber: '货架数量', + AreaCode: '货架编码', + AreaName: '货架名称', + rowNum: '行数', + columnNum: '列数', Shelf: '货架', ManageShelves: '管理货架', ShelfCode: '货架编码', ShelfName: '货架名称', ShelfNumber: '货架数量', StorageQuantity: '存储数量', - Location: '货位', + Location: '库位', ManageLocation: '管理货位', LocationCode: '库位编码', LocationName: '库位名称', anotherName: '别名', place: '位置', - addCacheArea: '添加区域' + addCacheArea: '添加货架' }, storageBox: { name: '名称', @@ -272,5 +274,20 @@ export default { EquipmentScrapGrade: { keyword: '名称', ScrapGrade: '废片等级' + }, + Warehouse: { + Code: '编码', + TaskType: '任务类型', + TaskStatus: '任务状态', + VehicleName: '车辆名', + TimeSlot: '时间段', + ExecutionTime: '执行时间', + BoxStatus: '箱状态', + BoxNumber: '箱号', + PreviousOperation: '上一个工序', + NextOperation: '下一个工序', + CompletionTime: '完成时间', + StartLocation: '开始库位', + TargetLocation: '目标库位' } } diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index b390811..e968af1 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -15,11 +15,6 @@ {{ 'navbar.homepage' | i18nFilter }} -
- - - -