integrated_traffic_vue/src/request/map.js

24 lines
1.1 KiB
JavaScript

import { post } from "./axios";
export const getRealTimeList = (params) => post("/map/getRealTimeList", params); // 获取在线人员列表
export const getFenceList = (params) => post("/map/getFenceList", params); // 获取围栏列表
export const getPersonnelTrajectories = (params) =>
post("/map/getPersonnelTrajectories", params); // 获取拥有历史轨迹的全部角色
export const getCharacterTrajectories = (params) =>
post("/map/getCharacterTrajectories", params); // 获取轨迹
export const getUserByCardNo = (params) =>
post("/user/getUserByCardNo", params);
export const getEightWorks = (params) => post("/map/getEightWorks", params);
export const getHotworkList = (params) => post("/map/getHotworkList", params);
export const getEightWorksByType = (params) =>
post("/map/getEightWorksByType", params);
export const getCameraList = (params) => post("/map/getCameraList", params);
export const getConfinedspaceWorkList = (params) =>
post("/map/getConfinedspaceWorkList", params);
export const getHighWorkList = (params) => post("/map/getHighWorkList", params);