/* * @Author: gtz * @Date: 2021-02-27 17:23:17 * @LastEditors: gtz * @LastEditTime: 2021-03-25 16:21:36 * @Description: file content */ import request from '@/utils/request' // 获取可视化布局图列表 export function VisualList(data) { return request({ url: '/visual/visual/page', method: 'post', data }) } // 获取设备数据字典 export function eqList(data) { return request({ url: '/basic/equipment/page', method: 'post', data }) } // 获取库位列表 export function locationList(data) { return request({ url: '/basic/stock/list', method: 'post', data }) } // 获取可视化布局图信息单条数据 export function VisualDetail(id) { return request({ url: '/visual/visual/get', method: 'post', data: { id } }) } // 更新可视化布局图信息单条数据 export function VisualUpdate(data) { return request({ url: '/visual/visual/update', method: 'post', data }) } // 新增可视化布局图信息单条数据 export function VisualAdd(data) { return request({ url: '/visual/visual/add', method: 'post', data }) } // 删除可视化布局图单条数据 export function VisualDelete(id) { return request({ url: '/visual/visual/delete', method: 'post', data: { id } }) } // 获取可视化实时信息 export function VisualEqData(data) { return request({ url: '/visual/visual/equipmentStatusList', method: 'post', data }) } // 获取可视化库位信息 export function VisualLocationData(data) { return request({ url: '/visual/visual/stroageBoxForStockList', method: 'post', data }) }