广丰卷烟厂数采质量分析系统
zhuguifei
8 小时以前 27f6c638a3006dc1c230feb7cfb44ad2df0a43dc
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
import { request } from '@/service/request';
 
/** 获取材料检验统计列表 */
export function fetchGetMatcheckList (params?: Api.Qm.MatcheckSearchParams) {
    return request<Api.Qm.MatcheckList>({
        url: '/qm/matcheck/list',
        method: 'get',
        params
    });
}
 
export function fetchCheckItemList (params?: Api.Qm.MatcheckSearchParams) {
  return request<Api.Qm.MatcheckCustomItem[]>({
    url: '/qm/matcheck/listCheckItem',
    method: 'get',
    params
  });
}
 
 
/**
 * 多表查询
 * @param params
 */
export function fetchGetQmMatcheckList (params?: Api.Qm.MatcheckSearchParams) {
  return request<Api.Qm.MatcheckList[]>({
    url: '/qm/matcheck/listQmMatcheck',
    method: 'get',
    params
  });
}
 
/** 新增材料检验统计 */
export function fetchCreateMatcheck (data: Api.Qm.MatcheckOperateParams) {
    return request<boolean>({
        url: '/qm/matcheck',
        method: 'post',
        data
    });
}
 
/** 修改材料检验统计 */
export function fetchUpdateMatcheck (data: Api.Qm.MatcheckOperateParams) {
    return request<boolean>({
        url: '/qm/matcheck',
        method: 'put',
        data
    });
}
 
/** 批量删除材料检验统计 */
export function fetchBatchDeleteMatcheck (ids: CommonType.IdType[]) {
    return request<boolean>({
        url: `/qm/matcheck/${ids.join(',')}`,
        method: 'delete'
    });
}