| | |
| | | // 生产任务,报工 |
| | | import request from '@/utils/request' |
| | | |
| | | // 查询生产加工-正式库煤种列表 |
| | | export function listPage(query) { |
| | | return request({ |
| | | url: '/productionScheduling/list', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | // 获取智能排产库存原料列表 |
| | | export function getProductionSchedulingInventoryList(query) { |
| | | return request({ |
| | | url: '/productHome/productionSchedulingInventoryList', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | // 获取生产排程统计数据 |
| | | export function getProductionSchedulingStatistics(query) { |
| | | return request({ |
| | | url: '/productHome/productionSchedulingStatistics', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | // 获取生产排程统计列表 |
| | | export function getProductionSchedulingStatisticsList(query) { |
| | | return request({ |
| | | url: '/productHome/productionSchedulingStatisticsList', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | // 获取物料看板统计数据 |
| | | export function getMaterialStatistics(query) { |
| | | return request({ |
| | | url: '/productHome/materialStatistics', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | // 获取煤种分布数据 |
| | | export function getCoalTypeDistribution(query) { |
| | | return request({ |
| | | url: '/productHome/coalTypeDistribution', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | // 获取热值分布数据 |
| | | export function getHeatValueDistribution(query) { |
| | | return request({ |
| | | url: '/productHome/heatValueDistribution', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | // 获取车次编码分布数据 |
| | | export function getCarCodeDistribution(query) { |
| | | return request({ |
| | | url: '/productHome/carCodeDistribution', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | // 获取最近交易记录 |
| | | export function getRecentTransaction(query) { |
| | | return request({ |
| | | url: '/productHome/recentTransaction', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |