fix
songhuangfeng123
2022-04-18 969835593bd5217b223444bae71fccfdf67a2d89
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
import request from '@/utils/request';
import {getTokenAndVerify} from "@/api/sgyhpczl/auth";
 
//所有搜索条件的下拉框
 
//隐患级别
export function initYHJB() {
    return request({
        headers:{
            'token': getTokenAndVerify().token,
            'verify':getTokenAndVerify().verify
        },
        contentType: "multipart/form-data",
        url: "/taboi/user/option_ht_level",
        method: 'GET',
    });
}
 
//检查部门
// 上级单位 type=1 ,否则 type=0
export function initJCBM(type) {
    return request({
        headers:{
            'token': getTokenAndVerify().token,
            'verify':getTokenAndVerify().verify
        },
        contentType: "multipart/form-data",
        url: "/taboi/user/option_check_branch?type="+type,
        method: 'GET',
    });
}
 
//隐患类型
export function initYHLX() {
    return request({
        headers:{
            'token': getTokenAndVerify().token,
            'verify':getTokenAndVerify().verify
        },
        contentType: "multipart/form-data",
        url: "/taboi/user/option_ht_type",
        method: 'GET',
    });
}
 
//班次
export function initBC() {
    return request({
        headers:{
            'token': getTokenAndVerify().token,
            'verify':getTokenAndVerify().verify
        },
        contentType: "multipart/form-data",
        url: "/taboi/user/option_check_class",
        method: 'GET',
    });
}
 
//检查类别
export function initJCLB() {
    return request({
        headers:{
            'token': getTokenAndVerify().token,
            'verify':getTokenAndVerify().verify
        },
        contentType: "multipart/form-data",
        url: "/taboi/user/option_check_type",
        method: 'GET',
    });
}
 
//隐患部门
export function initYHBM() {
    return request({
        headers:{
            'token': getTokenAndVerify().token,
            'verify':getTokenAndVerify().verify
        },
        contentType: "multipart/form-data",
        url: "/taboi/user/option_branch",
        method: 'GET',
    });
}