123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268 |
- import request from '@/utils/request'
- // 修改Shoudown Hour
- export function updateShoudownHour(data) {
- return request({
- url: '/production/monthly/shoudownHour',
- method: 'put',
- data: data
- })
- }
- // 修改Aromatics Utility Consumption
- export function updateAromaticsUtilityConsumption(data) {
- return request({
- url: '/production/monthly/aromaticsUtilityConsumption',
- method: 'put',
- data: data
- })
- }
- // 修改Cracker Utility Consumption
- export function updateCrackerUtilityConsumption(data) {
- return request({
- url: '/production/monthly/crackerUtilityConsumption',
- method: 'put',
- data: data
- })
- }
- // 修改Eligible Product Rate
- export function updateEligibleProductRate(data) {
- return request({
- url: '/production/monthly/eligibleProductRate',
- method: 'put',
- data: data
- })
- }
- // 按年份查询Summary
- export function getSummary(year) {
- return request({
- url: '/production/monthly/summary/' + year,
- method: 'get'
- })
- }
- // 按年份查询KBI
- export function getKbi(year) {
- return request({
- url: '/production/monthly/kbi/' + year,
- method: 'get'
- })
- }
- // 按年份查询SCTF Utility Consumption
- export function getSCTFUtilityConsumption(year) {
- return request({
- url: '/production/monthly/SCTFUtilityConsumption/' + year,
- method: 'get'
- })
- }
- // 按年份查询SUB Utility Consumption
- export function getSUBUtilityConsumption(year) {
- return request({
- url: '/production/monthly/SUBUtilityConsumption/' + year,
- method: 'get'
- })
- }
- // 按年份查询SCTU Utility Consumption
- export function getSCTUUtilityConsumption(year) {
- return request({
- url: '/production/monthly/SCTUUtilityConsumption/' + year,
- method: 'get'
- })
- }
- // 按年份查询Chemical Consume
- export function getChemicalConsume(year) {
- return request({
- url: '/production/monthly/chemicalConsume/' + year,
- method: 'get'
- })
- }
- // 按年份查询Otherside
- export function getOtherside(year) {
- return request({
- url: '/production/monthly/otherside/' + year,
- method: 'get'
- })
- }
- // 按年份查询Shoudown Hour
- export function getShoudownHour(year) {
- return request({
- url: '/production/monthly/shoudownHour/' + year,
- method: 'get'
- })
- }
- // 按年份查询Runing Rate
- export function getRuningRate(year) {
- return request({
- url: '/production/monthly/runingRate/' + year,
- method: 'get'
- })
- }
- // 按年份查询Cost Fr Ethylene
- export function getCostFrEthylene(year) {
- return request({
- url: '/production/monthly/costFrEthylene/' + year,
- method: 'get'
- })
- }
- // 按年份查询Plant Load
- export function getPlantLoad(year) {
- return request({
- url: '/production/monthly/plantLoad/' + year,
- method: 'get'
- })
- }
- // 按年份查询Aromatics Energy Consumption
- export function getAromaticsEnergyConsumption(year) {
- return request({
- url: '/production/monthly/aromaticsEnergyConsumption/' + year,
- method: 'get'
- })
- }
- // 按年份查询Aromatics Utility Consumption
- export function getAromaticsUtilityConsumption(year) {
- return request({
- url: '/production/monthly/aromaticsUtilityConsumption/' + year,
- method: 'get'
- })
- }
- // 按年份查询Cracker Energy Consumption
- export function getCrackerEnergyConsumption(year) {
- return request({
- url: '/production/monthly/crackerEnergyConsumption/' + year,
- method: 'get'
- })
- }
- // 按年份查询Cracker Utility Consumption
- export function getCrackerUtilityConsumption(year) {
- return request({
- url: '/production/monthly/crackerUtilityConsumption/' + year,
- method: 'get'
- })
- }
- // 按年份查询Product Yield
- export function getProductYield(year) {
- return request({
- url: '/production/monthly/productYield/' + year,
- method: 'get'
- })
- }
- // 按年份查询Eligible Product Rate
- export function getEligibleProductRate(year) {
- return request({
- url: '/production/monthly/eligibleProductRate/' + year,
- method: 'get'
- })
- }
- // 按年份查询Aromatics Output Product
- export function getAromaticsOutputProduct(year) {
- return request({
- url: '/production/monthly/aromaticsOutputProduct/' + year,
- method: 'get'
- })
- }
- // 按年份查询Aromatics Raw Material
- export function getAromaticsRawMaterial(year) {
- return request({
- url: '/production/monthly/aromaticsRawMaterial/' + year,
- method: 'get'
- })
- }
- // 按年份查询Cracker Output Product
- export function getCrackerOutputProduct(year) {
- return request({
- url: '/production/monthly/crackerOutputProduct/' + year,
- method: 'get'
- })
- }
- // 按年份查询Cracker Raw Material
- export function getCrackerRawMaterial(year) {
- return request({
- url: '/production/monthly/crackerRawMaterial/' + year,
- method: 'get'
- })
- }
- // 查询趋势分析数据
- export function getAnalysisData(query) {
- return request({
- url: '/production/monthly/analysis',
- method: 'get',
- params: query
- })
- }
- // 查询每月生产报告列表
- export function listReport(query) {
- return request({
- url: '/production/monthly/list',
- method: 'get',
- params: query
- })
- }
- // 查询每月生产报告详细
- export function getReport(id) {
- return request({
- url: '/production/monthly/' + id,
- method: 'get'
- })
- }
- // 新增每月生产报告
- export function addReport(data) {
- return request({
- url: '/production/monthly',
- method: 'post',
- data: data
- })
- }
- // 修改每月生产报告
- export function updateReport(data) {
- return request({
- url: '/production/monthly',
- method: 'put',
- data: data
- })
- }
- // 删除每月生产报告
- export function delReport(id) {
- return request({
- url: '/production/monthly/' + id,
- method: 'delete'
- })
- }
- // 导出每月生产报告
- export function exportReport(query) {
- return request({
- url: '/production/monthly/export',
- method: 'get',
- params: query
- })
- }
|