import request from "@/utils/request"; // 履职 export function resumption(query) { return request({ url: "/core/cockpit/resumption", method: "get", params: query, }); } // 安全检查 export function safetyCheck(query) { return request({ url: "/core/cockpit/safetycheck", method: "get", params: query, }); } // 监控调阅 export function monitor(query) { return request({ url: "/core/cockpit/monitor", method: "get", params: query, }); } // 教育 export function edu(query) { return request({ url: "/core/cockpit/edu", method: "get", params: query, }); } // 预案演练 export function drill(query) { return request({ url: "/core/cockpit/drill", method: "get", params: query, }); } // GA38统计 export function orgGA38(orgId) { return request({ url: "/core/cockpit/orgga38", method: "get", params: { orgId }, }); } // 隐患统计 export function question(query) { return request({ url: "/core/cockpit/question", method: "get", params: query, }); } export function getMap(url){ let address=location.origin+url return request({ url: address, method: "get" }); }