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

const path = {
4 5 6
  cableTypeEnum: 'api/equipParam/selectItem',
  saveParam: 'api/equipParam/saveParam',
  selectEquipByType: 'api/equipParam/selectEquipByType',
yanzhongrong's avatar
yanzhongrong committed
7 8 9
}

export function cableTypeEnum() {
yanzhongrong's avatar
yanzhongrong committed
10
  return request.post(path.cableTypeEnum, ...arguments);
yanzhongrong's avatar
yanzhongrong committed
11 12 13
}

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

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