电气装配
This commit is contained in:
87
src/api/Assembly/ElectricalAssembly.js
Normal file
87
src/api/Assembly/ElectricalAssembly.js
Normal file
@@ -0,0 +1,87 @@
|
||||
import request from '@/utils/request'
|
||||
// 初始化机床项目
|
||||
export function initProject() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据'
|
||||
}
|
||||
})
|
||||
}
|
||||
// 组件查询
|
||||
export function searchgroup(num) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + num
|
||||
}
|
||||
})
|
||||
}
|
||||
// 机床查询
|
||||
export function searchTable1(machineNumberValue, check2) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间装配管理_机床信息_查询数据',
|
||||
param: '机床流水号_check=' + check2 + '&机床流水号=' + machineNumberValue
|
||||
}
|
||||
})
|
||||
}
|
||||
// 组件查询
|
||||
export function searchTable2(machineNumberValue, check2, groupNumberValue, check3) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '车间管理_基本件采购_查询数据_电气',
|
||||
param: '机床流水号_check=' + check2 + '&机床流水号=' + machineNumberValue + '&组件流水号_check=' + check3 + '&组件流水号=' + groupNumberValue
|
||||
}
|
||||
})
|
||||
}
|
||||
// 机床名称_机床状态_修改数据
|
||||
export function MachineToolStateUpdate(machineNumberValue, check) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: 'PDM_机床名称_机床状态_修改数据',
|
||||
param: '机床流水号=' + machineNumberValue + '&装配状态=' + check
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 机床名称_调试状态_修改数据
|
||||
export function DebugStatusUpdate(machineNumberValue, check) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: 'PDM_机床名称_调试状态_修改数据',
|
||||
param: '机床流水号=' + machineNumberValue + '&调试状态=' + check
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 组件名称_组件状态_修改数据
|
||||
export function ComponentStateUpdate(machineNumberValue, check) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_组件状态_修改数据',
|
||||
param: '组件流水号=' + machineNumberValue + '&组件是否完成=' + check
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user