commit | author | age
|
9bcb19
|
1 |
import { axios } from '@/utils/request' |
I |
2 |
|
|
3 |
/** |
|
4 |
* 查询系统职位 |
|
5 |
* |
|
6 |
* @author yubaoshan |
|
7 |
* @date 2020/5/25 01:31 |
|
8 |
*/ |
|
9 |
export function sysPosPage (parameter) { |
|
10 |
return axios({ |
|
11 |
url: '/sysPos/page', |
|
12 |
method: 'get', |
|
13 |
params: parameter |
|
14 |
}) |
|
15 |
} |
|
16 |
|
|
17 |
/** |
|
18 |
* 系统职位列表 |
|
19 |
* |
|
20 |
* @author yubaoshan |
|
21 |
* @date 2020/6/21 23:50 |
|
22 |
*/ |
|
23 |
export function sysPosList (parameter) { |
|
24 |
return axios({ |
|
25 |
url: '/sysPos/list', |
|
26 |
method: 'get', |
|
27 |
params: parameter |
|
28 |
}) |
|
29 |
} |
|
30 |
|
|
31 |
/** |
|
32 |
* 添加系统职位 |
|
33 |
* |
|
34 |
* @author yubaoshan |
|
35 |
* @date 2020/5/25 01:31 |
|
36 |
*/ |
|
37 |
export function sysPosAdd (parameter) { |
|
38 |
return axios({ |
|
39 |
url: '/sysPos/add', |
|
40 |
method: 'post', |
|
41 |
data: parameter |
|
42 |
}) |
|
43 |
} |
|
44 |
|
|
45 |
/** |
|
46 |
* 编辑系统职位 |
|
47 |
* |
|
48 |
* @author yubaoshan |
|
49 |
* @date 2020/5/25 01:31 |
|
50 |
*/ |
|
51 |
export function sysPosEdit (parameter) { |
|
52 |
return axios({ |
|
53 |
url: '/sysPos/edit', |
|
54 |
method: 'post', |
|
55 |
data: parameter |
|
56 |
}) |
|
57 |
} |
|
58 |
|
|
59 |
/** |
|
60 |
* 删除系统职位 |
|
61 |
* |
|
62 |
* @author yubaoshan |
|
63 |
* @date 2020/5/25 01:31 |
|
64 |
*/ |
|
65 |
export function sysPosDelete (parameter) { |
|
66 |
return axios({ |
|
67 |
url: '/sysPos/delete', |
|
68 |
method: 'post', |
|
69 |
data: parameter |
|
70 |
}) |
|
71 |
} |
|
72 |
|
|
73 |
/** |
|
74 |
* 导出系统职位 |
|
75 |
* |
|
76 |
* @author yubaoshan |
|
77 |
* @date 2021/5/29 16:19 |
|
78 |
*/ |
|
79 |
export function sysPosExport (parameter) { |
|
80 |
return axios({ |
|
81 |
url: '/sysPos/export', |
|
82 |
method: 'get', |
|
83 |
params: parameter, |
|
84 |
responseType: 'blob' |
|
85 |
}) |
|
86 |
} |