更新
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 获取机床
|
||||
export function searchMachine() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据'
|
||||
}
|
||||
})
|
||||
}
|
||||
// 获取不合格处理文本
|
||||
export function searchProcessingResult() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '质检管理_不合格处理_查询数据'
|
||||
}
|
||||
})
|
||||
}
|
||||
// 质检管理_质量情况_查询数据
|
||||
export function searchtable(check1, value1, check3, value3, check5, value5, value6, check8, value8, pageCurrent, pageSize) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '报废补投_车间补投_查询数据',
|
||||
param: '机床流水号_check=' + check1 + '&机床流水号=' + value1 + '&零件名称_check=' + check3 + '&零件名称=' + value3 + '&时间段_check=' + check5 + '&开始时间=' + value5 + '&结束时间=' + value6 + '&处理结果_check=' + check8 + '&处理结果=' + value8 + `&PageCurrent=${pageCurrent}&PageSize=${pageSize}&PageCount=1111=int=output&ItemCount=1111=int=output`
|
||||
}
|
||||
})
|
||||
}
|
||||
export function editSpare(CutCode, number, id) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '报废补投_提交报废_循环执行',
|
||||
param: '工艺计划流水号组=' + CutCode + '&报废数量组=' + number + '&报废人=' + id
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user