import request from '@/utils/request'
|
|
// 编码规则查询
|
export function EncodingRules(data) {
|
return request({
|
url: 'SystemSetting/EncodingRules',
|
method: 'get',
|
params: data
|
})
|
}
|
|
// 编码规则编辑保存
|
export function SaveEncodingRules(data) {
|
return request({
|
url: 'SystemSetting/SaveEncodingRules',
|
method: 'post',
|
data
|
})
|
}
|
|
// 获取规则生成的编码
|
export function NewEncodingRules(data) {
|
return request({
|
url: 'SystemSetting/NewEncodingRules',
|
method: 'get',
|
params: data
|
})
|
}
|
|
// 车间公告列表
|
export function SystemAnnouncementSearch(data) {
|
return request({
|
url: 'SystemSetting/SystemAnnouncementSearch',
|
method: 'get',
|
params: data
|
})
|
}
|
|
// 车间公告新增编辑提交
|
export function SystemAnnouncementAddUpdate(data, id, ancetitle, ancecont, level, cancel, opertype) {
|
return request({
|
url: 'SystemSetting/SystemAnnouncementAddUpdate?id=' + id + '&ancetitle=' + ancetitle + '&ancecont=' + ancecont + '&level=' + level + '&cancel=' + cancel + '&opertype=' + opertype,
|
method: 'post',
|
data
|
})
|
}
|
|
// 车间公告删除
|
export function SystemAnnouncementDelete(data) {
|
return request({
|
url: 'SystemSetting/SystemAnnouncementDelete',
|
method: 'post',
|
params: data
|
})
|
}
|
|
// SOP列表查询
|
export function SystemSopSearch(data) {
|
return request({
|
url: 'SystemSetting/SystemSopSearch',
|
method: 'get',
|
params: data
|
})
|
}
|
|
// SOP文件上传查找设备类型数据
|
export function SystemSopDeviceSearch(data) {
|
return request({
|
url: 'SystemSetting/SystemSopDeviceSearch',
|
method: 'get',
|
params: data
|
})
|
}
|
|
// SOP文件作业文件上传获取最大版本号
|
export function SystemSopMaxVersion(data) {
|
return request({
|
url: 'SystemSetting/SystemSopMaxVersion',
|
method: 'get',
|
params: data
|
})
|
}
|
|
// SOP文件上传提交
|
export function SystemSopSava(data) {
|
return request({
|
url: 'SystemSetting/SystemSopSava',
|
method: 'post',
|
data
|
})
|
}
|
|
// SOP文件删除
|
export function SystemSopDelete(data) {
|
return request({
|
url: 'SystemSetting/SystemSopDelete',
|
method: 'post',
|
params: data
|
})
|
}
|
|
// SOP文件预览
|
export function SystemSopView(data) {
|
return request({
|
url: 'SystemSetting/SystemSopView',
|
method: 'post',
|
params: data
|
})
|
}
|