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
| // 实验室的检测能力档案相关接口
| import request from "@/utils/request";
|
| //获取标准方法列表
| export function selectStandardMethodList(query) {
| return request({
| url: "/standardMethod/selectStandardMethodList",
| method: "get",
| params: query,
| });
| }
|
| //删除标准方法
| export function delStandardMethod(query) {
| return request({
| url: "/standardMethod/delStandardMethod",
| method: "delete",
| params: query,
| });
| }
|
| // 添加标准方法
| export function addStandardMethod(data) {
| return request({
| url: "/standardMethod/addStandardMethod",
| method: "post",
| data: data,
| });
| }
|
| // 修改标准方法
| export function upStandardMethod(data) {
| return request({
| url: "/standardMethod/upStandardMethod",
| method: "post",
| data: data,
| });
| }
|
| //获取产品架构
| export function getStandardTree2(query) {
| return request({
| url: "/standardTree/getStandardTree2",
| method: "get",
| params: query,
| });
| }
|
| export function selectIndustryOptions() {
| return request({ url: '/standardMethod/selectIndustryOptions', method: 'get' })
| }
|
| export function selectAttachments(query) {
| return request({ url: '/standardMethod/selectAttachments', method: 'get', params: query })
| }
|
| export function uploadAttachment(data, standardMethodId) {
| return request({
| url: '/standardMethod/uploadAttachment',
| method: 'post',
| params: { standardMethodId },
| data,
| headers: { 'Content-Type': 'multipart/form-data' }
| })
| }
|
| export function deleteAttachment(query) {
| return request({ url: '/standardMethod/deleteAttachment', method: 'delete', params: query })
| }
|
|