loulijun2021
2023-05-11 12ef895481038a7bec06a2c6cb47748a6353e848
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
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
  })
}