inleft
2022-02-09 9bcb19959eeb9da9bde2561e7278f6d0a55eb151
commit | author | age
9bcb19 1 import { axios } from '@/utils/request'
I 2
3 /**
4  * 查询系统字典值
5  *
6  * @author yubaoshan
7  * @date 2020/5/17 02:24
8  */
9 export function sysDictDataPage (parameter) {
10   return axios({
11     url: '/sysDictData/page',
12     method: 'get',
13     params: parameter
14   })
15 }
16
17 /**
18  * 添加系统字典值
19  *
20  * @author yubaoshan
21  * @date 2020/5/17 02:24
22  */
23 export function sysDictDataAdd (parameter) {
24   return axios({
25     url: '/sysDictData/add',
26     method: 'post',
27     data: parameter
28   })
29 }
30
31 /**
32  * 编辑系统字典值
33  *
34  * @author yubaoshan
35  * @date 2020/5/17 02:25
36  */
37 export function sysDictDataEdit (parameter) {
38   return axios({
39     url: '/sysDictData/edit',
40     method: 'post',
41     data: parameter
42   })
43 }
44
45 /**
46  * 删除系统字典值
47  *
48  * @author yubaoshan
49  * @date 2020/5/17 02:25
50  */
51 export function sysDictDataDelete (parameter) {
52   return axios({
53     url: '/sysDictData/delete',
54     method: 'post',
55     data: parameter
56   })
57 }