ANDON监控

This commit is contained in:
Vergil
2020-03-30 11:14:02 +08:00
parent 11a7c01949
commit b1c2b59492
4 changed files with 103 additions and 234 deletions

View File

@@ -1,31 +1,18 @@
import request from '@/utils/request'
import state from '@/store'
import router from '@/router'
// 电子看板_线体上下线数量统计_查询
export function ANDON_countselect() {
return request({
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
name: 'ANDON_大屏幕显示',
param: 'WorkShopType=A'
}
})
}
export function ANDON_opselect(opname) {
return request({
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
name: 'ANDON_办公室监控_消息通知',
param: 'WorkShopType=A' + '&工位号=' + opname + '=string'
}
})
}
export function searchTable(check, dateRange0, dateRange1, pageCurrent, pageSize) {
return request({
url: '',
method: 'post',
data: {
UserID: state.state.user.id,
ModularID: router.currentRoute.path,
type: '1',
name: 'ANDON监控_查询',
param: `日期_check=${check}&开始时间=${dateRange0}&结束时间=${dateRange1}`,
Pagination: pageCurrent + '&' + pageSize
}
})
}