aef89b62 by 任超
2 parents db5ea3c5 ff1a80d1
1 import request from '@/utils/request'
2
3 class dictionaries {
4 // 获取整个字典数据
5 async getDicData (data) {
6 return request({
7 url: '/SysDict/getJson',
8 method: 'get'
9 })
10 }
11 // 编辑
12 async editSysDict (data) {
13 return request({
14 url: '/SysDict/editSysDictByTypeId',
15 method: 'post',
16 data
17 })
18 }
19 // 获取字典表父级集合
20 async getSysDictParent (data) {
21 return request({
22 url: '/SysDict/getSysDictParent',
23 method: 'post',
24 data
25 })
26 }
27 // 编辑界面获取指定字典编码子集
28 async getSysDictByTypeId (id) {
29 return request({
30 url: '/SysDict/getSysDictByTypeId',
31 method: 'get',
32 params: {
33 typeId: id
34 }
35 })
36 }
37 // 接入业务信息表
38 async getAllSysJrywxx () {
39 return request({
40 url: '/sysJrywxx/getAllSysJrywxx',
41 method: 'get'
42 })
43 }
44 }
45 export default new dictionaries()
...\ No newline at end of file ...\ No newline at end of file
File mode changed
File mode changed
File mode changed