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

const path = {
  deptList: '/dict/selectDeptItem',
  fsuList: '/dict/selectFsuItem',
yanzhongrong's avatar
yanzhongrong committed
6 7 8
  OperateEnum: '/dict/selectOperationItem',
  LeakyCablelEnum: '/dict/selectLeakyCablelItem',
  MonitorEnum: '/dict/selectMonitorItem',
yanzhongrong's avatar
yanzhongrong committed
9
  selectDictType: '/dict/selectDictType',
yanzhongrong's avatar
yanzhongrong committed
10
  getTree: '/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)
}