76 lines
5.4 KiB
JavaScript
76 lines
5.4 KiB
JavaScript
/**
|
|
* 智慧梁场API接口统一管理
|
|
*/
|
|
import { post, get } from '../http'
|
|
|
|
// 工序列表 相关接口
|
|
export const beamFieldProcessAdd = data => post('xmgl/smartBeamFieldProcess/add', data) //添加
|
|
export const beamFieldProcessEdit = data => post('xmgl/smartBeamFieldProcess/edit', data) //编辑
|
|
export const beamFieldProcessDelete = data => post('xmgl/smartBeamFieldProcess/delete', data) //删除
|
|
export const beamFieldProcessPage = data => get('xmgl/smartBeamFieldProcess/page', data) //查询列表数据
|
|
export const beamFieldProcessList = data => get('xmgl/smartBeamFieldProcess/list', data) //查询列表数据
|
|
|
|
// 制梁台座管理 相关接口
|
|
export const makeBeamPedestalAdd = data => post('xmgl/smartBeamFieldMakeBeamPedestal/add', data) //添加
|
|
export const makeBeamPedestalEdit = data => post('xmgl/smartBeamFieldMakeBeamPedestal/edit', data) //编辑
|
|
export const makeBeamPedestalDelete = data => post('xmgl/smartBeamFieldMakeBeamPedestal/delete', data) //删除
|
|
export const makeBeamPedestalPage = data => get('xmgl/smartBeamFieldMakeBeamPedestal/page', data) //查询列表数据
|
|
export const makeBeamPedestalList = data => get('xmgl/smartBeamFieldMakeBeamPedestal/list', data) //查询列表数据
|
|
|
|
// 生产线管理 相关接口
|
|
export const fieldProductionLineAdd = data => post('xmgl/smartBeamFieldProductionLine/add', data) //添加
|
|
export const fieldProductionLineEdit = data => post('xmgl/smartBeamFieldProductionLine/edit', data) //编辑
|
|
export const fieldProductionLineDelete = data => post('xmgl/smartBeamFieldProductionLine/delete', data) //删除
|
|
export const fieldProductionLinePage = data => get('xmgl/smartBeamFieldProductionLine/page', data) //查询列表数据
|
|
export const fieldProductionLineList = data => get('xmgl/smartBeamFieldProductionLine/list', data) //查询列表数据
|
|
|
|
export const fieldProductionLineDetail = data => get('xmgl/smartBeamFieldProductionLine/queryById', data) //查询 生产线详情
|
|
|
|
// 存梁区管理 存梁区 相关接口
|
|
export const saveBeamDistrictAdd = data => post('xmgl/smartBeamFieldSaveBeamDistrict/add', data) //添加
|
|
export const saveBeamDistrictEdit = data => post('xmgl/smartBeamFieldSaveBeamDistrict/edit', data) //编辑
|
|
export const saveBeamDistrictDelete = data => post('xmgl/smartBeamFieldSaveBeamDistrict/delete', data) //删除
|
|
export const saveBeamDistrictPage = data => get('xmgl/smartBeamFieldSaveBeamDistrict/page', data) //查询列表数据
|
|
export const saveBeamDistrictList = data => get('xmgl/smartBeamFieldSaveBeamDistrict/list', data) //查询列表数据
|
|
|
|
// 存梁区管理 存梁台座 相关接口
|
|
export const saveBeamPedestalAdd = data => post('xmgl/smartBeamFieldSaveBeamPedestal/add', data) //添加
|
|
export const saveBeamPedestalEdit = data => post('xmgl/smartBeamFieldSaveBeamPedestal/edit', data) //编辑
|
|
export const saveBeamPedestalDelete = data => post('xmgl/smartBeamFieldSaveBeamPedestal/delete', data) //删除
|
|
export const saveBeamPedestalPage = data => get('xmgl/smartBeamFieldSaveBeamPedestal/page', data) //查询列表数据
|
|
export const saveBeamPedestalList = data => get('xmgl/smartBeamFieldSaveBeamPedestal/list', data) //查询列表数据
|
|
|
|
|
|
// 计划管理、梁管理相关接口
|
|
// 梁体相关
|
|
export const smartBeamFieldBeamAdd = data => post('xmgl/smartBeamFieldBeam/add', data) //添加
|
|
export const smartBeamFieldBeamEdit = data => post('xmgl/smartBeamFieldBeam/edit', data) //编辑
|
|
export const smartBeamFieldBeamDelete = data => post('xmgl/smartBeamFieldBeam/delete', data) //删除
|
|
export const smartBeamFieldBeamPage = data => get('xmgl/smartBeamFieldBeam/page', data) //查询列表数据
|
|
export const smartBeamFieldBeamList = data => get('xmgl/smartBeamFieldBeam/list', data) //查询列表数据
|
|
export const smartBeamFieldBeamStart = data => post('xmgl/smartBeamFieldBeam/beginProduce', data) // 开始生产
|
|
export const smartBeamFieldBeamDetail = data => get('xmgl/smartBeamFieldBeam/queryById', data) // 查询梁体详情信息
|
|
|
|
// 桥段相关
|
|
export const smartBridgeSectionAdd = data => post('xmgl/smartBeamFieldBridgeSection/add', data) //添加
|
|
export const smartBridgeSectionEdit = data => post('xmgl/smartBeamFieldBridgeSection/edit', data) //编辑
|
|
export const smartBridgeSectionDelete = data => post('xmgl/smartBeamFieldBridgeSection/delete', data) //删除
|
|
export const smartBridgeSectionPage = data => get('xmgl/smartBeamFieldBridgeSection/page', data) //查询列表数据
|
|
export const smartBridgeSectionList = data => get('xmgl/smartBeamFieldBridgeSection/list', data) //查询列表数据
|
|
|
|
// 梁体信息下方 智慧梁场-梁和工序 制梁进度 相关
|
|
export const smartBeamToProcessAdd = data => post('xmgl/smartBeamFieldBeamToProcess/add', data) //添加
|
|
export const smartBeamToProcessEdit = data => post('xmgl/smartBeamFieldBeamToProcess/edit', data) //编辑
|
|
export const smartBeamToProcessDelete = data => post('xmgl/smartBeamFieldBeamToProcess/delete', data) //删除
|
|
export const smartBeamToProcessPage = data => get('xmgl/smartBeamFieldBeamToProcess/page', data) //查询列表数据
|
|
export const smartBeamToProcessList = data => get('xmgl/smartBeamFieldBeamToProcess/list', data) //查询列表数据
|
|
|
|
// 给梁绑定生产线
|
|
export const bindProcessForBeam = data => post('xmgl/smartBeamFieldBeam/bindProcessForBeam', data)
|
|
// 给梁绑定存梁台座
|
|
export const bindSaveBeamForBeam = data => post('xmgl/smartBeamFieldBeam/bindSaveBeamForBeam', data)
|
|
|
|
// 计算制梁进度
|
|
export const countDuration = data => get('xmgl/smartBeamFieldBeamToProcess/countDuration', data)
|
|
|