wl
2022-07-27 bed60230e71cbdcfbdefc08be80b885f773502eb
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
import request from '@/plugins/request'
 
export function getAuditList(params) {
    return request({
        url: '/report',
        method: 'get',
        params
    })
}
export function casueList() {
    return request({
        url: '/cause/getCauseList',
        method: 'get',
    })
}
export function remove(params) {
    return request({
        url: '/cause/deleteCause',
        method: 'delete',
        params: {
            id: params
        }
    })
}
 
export function removeReport(params) {
    return request({
        url: '/report/deleteReporter?id='+params,
        method: 'delete'
    })
}
 
export function leaveReport(params,row) {
    return request({
        url: '/report/leaveGroup?id='+params+'&groupId='+row,
        method: 'delete'
    })
}
 
 
export function user(params) {
    return request({
        url: '/cause/getManagerList',
        method: 'get',
    })
}
 
export function updataReportCasue(data) {
    return request({
        url: '/report/updateReport',
        method: 'put',
        data: data
    })
}
 
export function exportReportExcel(params) {
    return request({
        url: '/report/exportReporter?id='+params,
        method: 'post',
        responseType:'blob'
    })
}