12345678910111213141516171819202122232425 |
- import { defHttp } from '/@/utils/http/axios';
- import { Modal } from 'ant-design-vue';
- enum Api {
- list = '/ventanaly-device/monitor/device',
- baseList = '/safety/ventanalyManageSystem/list',
- deviceList = '/ventanaly-device/safety/ventanalyManageSystem/linkdevicelist',
- }
- /**
- * 列表接口
- * @param params
- */
- export const list = (params) => defHttp.post({ url: Api.list, params });
- /**
- * 保存或者更新用户
- * @param params
- */
- export const getTableList = (params) => defHttp.get({ url: Api.baseList, params });
- /**
- * 关联设备列表接口
- * @param params
- */
- export const deviceList = (params) => defHttp.get({ url: Api.deviceList, params });
|