‘基础资料对接口’
Bu işleme şunda yer alıyor:
ebeveyn
d47343af69
işleme
fe1c64845e
@ -9,7 +9,7 @@ import request from '@/utils/request'
|
||||
|
||||
export function areaList(data) { // 获取缓存区区域信息列表
|
||||
return request({
|
||||
url: '/api/wms/area/shelf',
|
||||
url: '/api/wms/area/page',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
@ -17,7 +17,7 @@ export function areaList(data) { // 获取缓存区区域信息列表
|
||||
|
||||
export function areaDetail(id) { // 获取缓存区区域信息单条数据
|
||||
return request({
|
||||
url: '/api/wms/area/get',
|
||||
url: '/api/wms/area/getById',
|
||||
method: 'post',
|
||||
data: { id }
|
||||
})
|
||||
|
@ -9,7 +9,7 @@ import request from '@/utils/request'
|
||||
|
||||
export function shelfList(data) { // 获取货架信息列表
|
||||
return request({
|
||||
url: '/basic/shelf/page',
|
||||
url: '/api/wms/area/shelf',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
@ -17,7 +17,7 @@ export function shelfList(data) { // 获取货架信息列表
|
||||
|
||||
export function shelfDetail(id) { // 获取货架信息单条数据
|
||||
return request({
|
||||
url: '/basic/shelf/get',
|
||||
url: '/api/wms/area/shelfById',
|
||||
method: 'post',
|
||||
data: { id }
|
||||
})
|
||||
@ -25,7 +25,8 @@ export function shelfDetail(id) { // 获取货架信息单条数据
|
||||
|
||||
export function shelfUpdate(data) { // 更新货架信息单条数据
|
||||
return request({
|
||||
url: '/basic/shelf/update',
|
||||
// url: '/basic/shelf/update',
|
||||
url: '/api/wms/area/updateshelf',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
@ -33,7 +34,7 @@ export function shelfUpdate(data) { // 更新货架信息单条数据
|
||||
|
||||
export function shelfAdd(data) { // 新增货架信息单条数据
|
||||
return request({
|
||||
url: '/basic/shelf/add',
|
||||
url: '/api/wms/area/addshelf',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
@ -41,14 +42,14 @@ export function shelfAdd(data) { // 新增货架信息单条数据
|
||||
|
||||
export function shelfCode() { // 获取货架信息code
|
||||
return request({
|
||||
url: '/basic/shelf/get-code',
|
||||
url: '/api/wms/area/getCode',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
export function shelfDelete(id) { // 删除货架信息单条数据
|
||||
return request({
|
||||
url: '/basic/shelf/delete',
|
||||
url: '/api/wms/area/deleteshelf',
|
||||
method: 'post',
|
||||
data: { id }
|
||||
})
|
||||
|
@ -10,7 +10,8 @@ import request from '@/utils/request'
|
||||
|
||||
export function equipmentGroupList(data) { // 获取设备分组列表
|
||||
return request({
|
||||
url: '/equipment/equipment-group/findAll',
|
||||
// url: '/equipment/equipment-group/findAll',
|
||||
url: '/api/wms/equipment/page',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
|
@ -64,8 +64,10 @@ export function equipmentInfoFileAdd(data) { // 设备信息上传
|
||||
|
||||
export function getEquipmentInfoFile(data) { // 设备信息下载
|
||||
return request({
|
||||
url: '/api/wms/equipment-file/get-by-param',
|
||||
method: 'post',
|
||||
// url: '/api/wms/equipment-file/get-by-param',
|
||||
url: '/api/common/attachment/downloadFile',
|
||||
// method: 'post',
|
||||
method: 'get',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
@ -9,7 +9,8 @@ import request from '@/utils/request'
|
||||
|
||||
export function equipmentInfoAttrList(data) { // 获取设备属性列表
|
||||
return request({
|
||||
url: '/basic/equipment-attr/page',
|
||||
// url: '/basic/equipment-attr/page',
|
||||
url: '/api/wms/equipment/page',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
@ -17,7 +18,8 @@ export function equipmentInfoAttrList(data) { // 获取设备属性列表
|
||||
|
||||
export function equipmentInfoAttrDetail(id) { // 获取设备属性单条数据
|
||||
return request({
|
||||
url: '/basic/equipment-attr/get',
|
||||
// url: '/basic/equipment-attr/get',
|
||||
url: '/api/wms/equipment/attrById',
|
||||
method: 'post',
|
||||
data: { id }
|
||||
})
|
||||
|
@ -9,7 +9,8 @@ import request from '@/utils/request'
|
||||
|
||||
export function equipmentTypeList(data) { // 获取设备类型列表
|
||||
return request({
|
||||
url: '/basic/equipment-type/page',
|
||||
// url: '/basic/equipment-type/page',
|
||||
url: '/api/wms/equipment/page',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
|
@ -46,8 +46,8 @@ module.exports = {
|
||||
// 这里写入需要代理的api和对应的目标地址
|
||||
proxy: {
|
||||
'/api': {
|
||||
// target: 'http://localhost:8080',
|
||||
target: 'http://192.168.0.148:8080',
|
||||
target: 'http://localhost:8080',
|
||||
// target: 'http://192.168.0.148:8080',
|
||||
// target: 'http://192.168.0.127:8080',
|
||||
// target: 'http://192.168.0.165:8080',
|
||||
// target: 'http://192.168.43.105:8080',
|
||||
|
Yükleniyor…
Yeni konuda referans
Bir kullanıcı engelle