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
import request from '@/utils/request'
const path = {
deptList: '/api/dict/selectDeptItem',
fsuList: '/api/dict/selectFsuItem',
OperateEnum: '/api/dict/selectOperationItem',
LeakyCablelEnum: '/api/dict/selectLeakyCablelItem',
MonitorEnum: '/api/dict/selectMonitorItem',
selectDictType: '/api/dict/selectDictType',
getTree: '/api/home/getTree',
}
export function deptList() {
return request.post(path.deptList, ...arguments)
}
export function fsuList() {
return request.post(path.fsuList, ...arguments)
}
export function OperateEnum() {
return request.post(path.OperateEnum, ...arguments)
}
export function LeakyCablelEnum() {
return request.post(path.LeakyCablelEnum, ...arguments)
}
export function MonitorEnum() {
return request.post(path.MonitorEnum, ...arguments)
}
export function selectDictType() {
return request.post(path.selectDictType, ...arguments)
}
export function getTree() {
return request.post(path.getTree, ...arguments)
}