/* * @Author: zwq * @Date: 2020-12-29 16:00:14 * @LastEditors: zwq * @LastEditTime: 2021-07-21 14:29:10 * @Description: */ import request from '@/utils/request' export function storageBoxList(data) { // 获取存储箱列表 return request({ url: '/basic/storage-tank/page', method: 'post', data }) } export function storageBoxDetail(id) { // 获取存储箱单条数据 return request({ url: '/basic/storage-tank/get', method: 'post', data: { id } }) } export function storageBoxUpdate(data) { // 更新存储箱单条数据 return request({ url: '/basic/storage-tank/update', method: 'post', data }) } export function storageBoxAdd(data) { // 新增存储箱单条数据 return request({ url: '/basic/storage-tank/add', method: 'post', data }) } export function storageBoxCode() { // 获取存储箱code return request({ url: '/basic/storage-tank/get-code', method: 'post' }) } export function storageBoxDelete(id) { // 删除存储箱单条数据 return request({ url: '/basic/storage-tank/delete', method: 'post', data: { id } }) } export function PositionDetailInfoAdd(data) { // 新增存储箱地址单条数据 return request({ url: '/basic/storage-tank-site/add', method: 'post', data }) } export function PositionDetailInfoList(data) { // 获取存储箱地址列表 return request({ url: '/basic/storage-tank-site/page', method: 'post', data }) }