YOS-DRVOGPU6U78\Administrator
2023-07-19 3acc5e4a99c7c69d25d7782e3c71152c5d0e0845
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
import request from '@/utils/request.js'
 
export function getInspectionList() {
    return request({
        'url': '/check/getCheckList?userNo=' + uni.getStorageSync('userInfo').code,
        'method': 'post',
        'header': {
            'Content-Type': 'application/json',
            'dataType': 'json',
            'Accept': 'application/json'
        }
    })
}
 
export function getInspectionInfo(checkNo) {
    return request({
        'url': '/check/getCheckInfo?checkNo=' + checkNo,
        'method': 'post',
        'header': {
            'Content-Type': 'application/json',
            'dataType': 'json',
            'Accept': 'application/json'
        }
    })
}
 
export function saveInspectionInfo(checkNo,info) {
    return request({
        'url': '/check/saveCheckInfo?checkNo=' + checkNo +'&userNo=' + uni.getStorageSync('userInfo').code,
        'method': 'post',
        'data':info,
        'header': {
            'Content-Type': 'application/json',
            'dataType': 'json',
            'Accept': 'application/json'
        }
    })
}