guoshilong
2022-10-10 ef067f1f44ac95e7f65eec34aef5c4da9ed603de
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
import http from '@/http/api.js'
 
export const getList = (current, size, params) => {
    return http.request({
        url: '/taskInfo/taskinfo/page',
        method: 'get',
        params: {
            ...params,
            current,
            size,
        }
    })
}
export const getDetail = (id) => {
    return http.request({
        url: '/taskInfo/taskinfo/detail',
        method: 'get',
        params: {
            id
        }
    })
}
export const update = (row) =>{
    return http.request({
        url:'/taskInfo/taskinfo/submit',
        method:'POST',
        data:row
    })
}