aef89b62 by 任超
2 parents db5ea3c5 ff1a80d1
import request from '@/utils/request'
class dictionaries {
// 获取整个字典数据
async getDicData (data) {
return request({
url: '/SysDict/getJson',
method: 'get'
})
}
// 编辑
async editSysDict (data) {
return request({
url: '/SysDict/editSysDictByTypeId',
method: 'post',
data
})
}
// 获取字典表父级集合
async getSysDictParent (data) {
return request({
url: '/SysDict/getSysDictParent',
method: 'post',
data
})
}
// 编辑界面获取指定字典编码子集
async getSysDictByTypeId (id) {
return request({
url: '/SysDict/getSysDictByTypeId',
method: 'get',
params: {
typeId: id
}
})
}
// 接入业务信息表
async getAllSysJrywxx () {
return request({
url: '/sysJrywxx/getAllSysJrywxx',
method: 'get'
})
}
}
export default new dictionaries()
\ No newline at end of file
File mode changed
File mode changed
File mode changed