baseData.js 976 Bytes
Newer Older
yanzhongrong's avatar
yanzhongrong committed
1 2 3
import request from '@/utils/request'

const path = {
4 5 6 7 8 9 10
  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',
yanzhongrong's avatar
yanzhongrong committed
11 12 13 14 15 16 17 18 19 20
}

export function deptList() {
  return request.post(path.deptList, ...arguments)
}

export function fsuList() {
  return request.post(path.fsuList, ...arguments)
}

yanzhongrong's avatar
yanzhongrong committed
21 22 23 24 25 26 27 28 29 30 31 32
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)
}

yanzhongrong's avatar
yanzhongrong committed
33 34 35 36
export function selectDictType() {
  return request.post(path.selectDictType, ...arguments)
}

yanzhongrong's avatar
yanzhongrong committed
37 38 39 40
export function getTree() {
  return request.post(path.getTree, ...arguments)
}