liuxiaolong
2019-05-06 8700cf1dc46c350371d865532c2914595187788e
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
import { httpGET, httpPOST } from './common/httpFetch'
 
/**
 * 系统字典集合添加
 * @description 系统字典集合添加
 * @param { string } orgId  学校id或登录人orgId
 * @param { string } parentId  父级ID
 * @param { string } value value值字典值
 * @param { string } lable  lable值字典名称
 * @param { string } type   字典类型
 * @param { string } module    字典所属模块
 * @param { string } sort    字典排序值
 * @param { string } scope     系统级还是用户级
 * @param { string } description      字典描述信息
 */
export const SysDictsSave = body => {
  return httpPOST('data/api-u/dict/SysDicts/save', {
    body
  })
}
 
/**
 * 查询系统字典集合
 * @description 查询系统字典集合
 * @param { string } orgId  学校id或登录人orgId
 * @param { string } type   字典类型
 * @param { string } module    字典所属模块
 * @param { string } start     起始页
 * @param { string } length    长度
 * @param { string } name      字典名称模糊查询
 */
export const getSysDicts = body => {
  return httpGET('data/api-u/dict/getSysDicts', {
    body
  })
}
 
/**
 * 系统字典删除
 * @description 系统字典删除
 * @param { string } id  字典id
 */
export const sysDictsDel = body => {
  return httpGET('data/api-u/dict/SysDicts/delete', {
    body
  })
}
 
/**
 * 系统字典修改回显
 * @description 系统字典修改回显
 * @param { string } id  字典id
 */
export const sysDictsFindSysById = body => {
  return httpGET('data/api-u/dict/SysDicts/findSysById', {
    body
  })
}
 
/**
 * 系统字典修改
 * @description 系统字典修改
 * @param { string } id  字典id
 */
export const sysDictsUpdate = body => {
  return httpGET('data/api-u/dict/SysDicts/update', {
    body
  })
}
 
/**
 * 查询全局字典集合
 * @description 查询全局字典集合
 * @param { string } type  类型:SYS_TYPE,模块:MODULE
 */
export const getGloDicts = body => {
  return httpGET('data/api-u/glo/getGloDicts', {
    body
  })
}