spring
2025-04-10 dab59f7624a2fb8d4114bb67b554ff09d91f810c
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
// 抽样信息详情页面相关接口
import request from "@/utils/request";
 
// 抽样信息-可靠性查询
export function getQuarterPage(query) {
  return request({
    url: "/finishProductSpotCheck/getQuarterPage",
    method: "get",
    params: query,
  });
}
// 抽样信息-年度查询
export function getSpotCheckYearPage(query) {
  return request({
    url: "/finishProductSpotCheck/getSpotCheckYearPage",
    method: "get",
    params: query,
  });
}
// 删除可靠性抽检
export function deleteQuarter(query) {
  return request({
    url: "/finishProductSpotCheck/deleteQuarter",
    method: "delete",
    params: query,
  });
}
// 生成可靠性报告
export function finalReportQuarter(query) {
  return request({
    url: "/finishProductSpotCheck/finalReportQuarter",
    method: "get",
    params: query,
    responseType: "blob",
  });
}
// 生成年度报告
export function finalReportSpotCheckYear(query) {
  return request({
    url: "/finishProductSpotCheck/finalReportSpotCheckYear",
    method: "get",
    params: query,
    responseType: "blob",
  });
}
// 删除年度抽检
export function deleteSpotCheckYear(query) {
  return request({
    url: "/finishProductSpotCheck/deleteSpotCheckYear",
    method: "delete",
    params: query,
  });
}
// 年度抽检查看详情
export function getSpotCheckYear(query) {
  return request({
    url: "/finishProductSpotCheck/getSpotCheckYear",
    method: "get",
    params: query,
  });
}
// 提交年度抽样
export function addSpotCheckYear(query) {
  return request({
    url: "/finishProductSpotCheck/addSpotCheckYear",
    method: "post",
    data: query,
  });
}
// 编辑年度抽样
export function updateSpotCheckYear(query) {
  return request({
    url: "/finishProductSpotCheck/updateSpotCheckYear",
    method: "post",
    data: query,
  });
}
// 可靠性抽检查看详情
export function getQuarter(query) {
  return request({
    url: "/finishProductSpotCheck/getQuarter",
    method: "get",
    params: query,
  });
}
// 提交可靠性抽样
export function addQuarter(query) {
  return request({
    url: "/finishProductSpotCheck/addQuarter",
    method: "post",
    data: query,
  });
}
// 编辑可靠性检验
export function updateQuarterOnOrder(query) {
  return request({
    url: "/finishProductSpotCheck/updateQuarterOnOrder",
    method: "post",
    data: query,
  });
}