63 lines
2.2 KiB
JavaScript
63 lines
2.2 KiB
JavaScript
|
|
import { declareRequest } from "@cqsjjb/jjb-dva-runtime";
|
||
|
|
|
||
|
|
export const getWeather = declareRequest(
|
||
|
|
"indexInfoWeatherLoading",
|
||
|
|
"Get > /bi/weather/info",
|
||
|
|
);
|
||
|
|
export const getEventReportListUnfinished = declareRequest(
|
||
|
|
"indexInfoEmergencyRescueLoading",
|
||
|
|
"Post > @/emergencyRescue/eventReport/listUnfinished",
|
||
|
|
);
|
||
|
|
export const getProjectTaskScoreCount = declareRequest(
|
||
|
|
"indexInfoDomainLoading",
|
||
|
|
"Get > /domain/projectTask/scoreCount",
|
||
|
|
);
|
||
|
|
export const getHiddenStatisticsByCorp = declareRequest(
|
||
|
|
"indexInfoHiddenLoading",
|
||
|
|
"Post > @/hidden/hidden/statisticsByCorp",
|
||
|
|
);
|
||
|
|
export const getXgfStatisticsListCorpStatistics = declareRequest(
|
||
|
|
"indexInfoXgfManagerLoading",
|
||
|
|
"Post > @/xgfManager/xgfStatistics/listCorpStatistics",
|
||
|
|
);
|
||
|
|
export const getAlarmRecordScreenIotDeviceAlarmPage = declareRequest(
|
||
|
|
"indexInfoIotalarmLoading",
|
||
|
|
"Post > @/iotalarm/alarmRecord/screenIotDeviceAlarmPage",
|
||
|
|
);
|
||
|
|
export const getXgfStatisticsListRecordProjectStatistics = declareRequest(
|
||
|
|
"indexInfoXgfManagerProjectLoading",
|
||
|
|
"Get > /xgfManager/xgfStatistics/listRecordProjectStatistics",
|
||
|
|
);
|
||
|
|
export const getFixedCameraVideoList = declareRequest(
|
||
|
|
"indexInfoVideoPatrolLoading",
|
||
|
|
"Post > @/videopatrol/fixedCamera/getVideoList",
|
||
|
|
);
|
||
|
|
export const getFixedCameraPlayUrl = declareRequest(
|
||
|
|
"indexInfoVideoPatrolUrlLoading",
|
||
|
|
"Get > /videopatrol/fixedCamera/getPlayUrl",
|
||
|
|
);
|
||
|
|
export const getEightWorkInfoDangerWorkStatistics = declareRequest(
|
||
|
|
"indexInfoEightWorkLoading",
|
||
|
|
"Post > @/eightwork/eightworkInfo/dangerWorkStatistics",
|
||
|
|
);
|
||
|
|
export const getKeyProjectLargeScreenStatistics = declareRequest(
|
||
|
|
"indexInfoKeyProjectLoading",
|
||
|
|
"Post > @/keyProject/keyProject/largeScreenStatistics",
|
||
|
|
);
|
||
|
|
export const getRiskPointCorpRiskLevel = declareRequest(
|
||
|
|
"portIndexRiskLoading",
|
||
|
|
"Post > @/risk/riskPoint/corpRiskLevel",
|
||
|
|
);
|
||
|
|
export const getCorpInfoCorpUserSummary = declareRequest(
|
||
|
|
"portIndexBasicInfoSummaryLoading",
|
||
|
|
"Post > @/basicInfo/corpInfo/corpUserSummary",
|
||
|
|
);
|
||
|
|
export const getCorpInfoCorpUserStatisticPage = declareRequest(
|
||
|
|
"portIndexBasicInfoStatisticPageLoading",
|
||
|
|
"Post > @/basicInfo/corpInfo/corpUserStatisticPage",
|
||
|
|
);
|
||
|
|
export const getFirePointDeviceList = declareRequest(
|
||
|
|
"xiaoFangFirePointDeviceListLoading",
|
||
|
|
"Post > @/fireCheck/firePoint/deviceList",
|
||
|
|
);
|