refactor(auth): 增加锌线系统token管理功能 feat(api): 添加锌线停机记录、生产报表和设备快照API feat(views): 实现锌线实时监控、生产统计和停机统计页面 feat(components): 开发锌线生产报表、停机统计和班组绩效组件 feat(utils): 新增锌线专用请求工具zinc1Request chore(vue.config): 配置锌线API代理
19 lines
399 B
JavaScript
19 lines
399 B
JavaScript
import zinc1Request from '@/utils/zinc1Request'
|
|
|
|
// 获取当前生产中的计划信息
|
|
export function getCurrentPlan() {
|
|
return zinc1Request({
|
|
url: '/business/dashboard/currentPlan',
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 获取当前生产卷的关键工艺参数
|
|
export function getCurrentProcess() {
|
|
return zinc1Request({
|
|
url: '/business/dashboard/currentProcess',
|
|
method: 'get'
|
|
})
|
|
}
|
|
|