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

const path = {
  cableTypeEnum: 'equipParam/selectItem',
  saveParam: 'equipParam/saveParam',
yanzhongrong's avatar
yanzhongrong committed
6
  selectEquipByType: 'equipParam/selectEquipByType',
yanzhongrong's avatar
yanzhongrong committed
7 8 9 10 11 12 13 14 15
}

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

export function saveParam() {
  return request.post(path.saveParam, ...arguments)
}
yanzhongrong's avatar
yanzhongrong committed
16 17 18 19

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