diff --git a/src/api/statistics/index.js b/src/api/statistics/index.js index 7f397a9..49b2f9a 100644 --- a/src/api/statistics/index.js +++ b/src/api/statistics/index.js @@ -6,49 +6,49 @@ export const emergencyResourceStatisticsList = declareRequest( ); export const emergencyExpertTeamStatisticsList = declareRequest( "statisticsLoading", - "Post > @/emergencyRescue/shareStatistics/listRescueTeamCount", + "Get > /emergencyRescue/shareStatistics/listRescueTeamCount", ); export const emergencyAddressBookStatisticsList = declareRequest( "statisticsLoading", - "Post > @/emergencyRescue/shareStatistics/listEmergencyContactGfdCount", + "Get > /emergencyRescue/shareStatistics/listEmergencyContactGfdCount", ); export const professionalGuaranteeOrganizationStatisticsList = declareRequest( "statisticsLoading", - "Post > @/emergencyRescue/shareStatistics/listProfessionalSecurityAgencyGfdCount", + "Get > /emergencyRescue/shareStatistics/listProfessionalSecurityAgencyGfdCount", ); export const emergencyOrganizationStatisticsList = declareRequest( "statisticsLoading", - "Post > @/emergencyRescue/shareStatistics/listEnterpriseEmergencyAgencyGfdCount", + "Get > /emergencyRescue/shareStatistics/listEnterpriseEmergencyAgencyGfdCount", ); export const emergencyRescueTeamStatisticsList = declareRequest( "statisticsLoading", - "Post > @/emergencyRescue/shareStatistics/listEmergencyRescueTeamManagementGfdCount", + "Get > /emergencyRescue/shareStatistics/listEmergencyRescueTeamManagementGfdCount", ); export const enterprisePlanStatisticsList = declareRequest( "statisticsLoading", - "Post > @/emergencyRescue", + "Get > /emergencyRescue/shareStatistics/listEnterprisePlanBasicInfoGfdCount", ); export const emergencyPlanStatisticsList = declareRequest( "statisticsLoading", - "Post > @/emergencyRescue", + "Get > /emergencyRescue/shareStatistics/listEmergencyPlanManagementGfdCount", ); export const emergencyExerciseStatisticsList = declareRequest( "statisticsLoading", - "Post > @/emergencyRescue", + "Get > /emergencyRescue/shareStatistics/listEmergencyDrillGfdCount", ); export const dutyLogAndSchedulingRegistrationStatisticsList = declareRequest( "statisticsLoading", - "Post > @/emergencyRescue", + "Get > /emergencyRescue/shareStatistics/listDutyLogAndShiftScheduleGfdCount", ); export const eventReportStatisticsList = declareRequest( "statisticsLoading", - "Post > @/emergencyRescue", + "Get > /emergencyRescue/shareStatistics/listEventReportGfdCount", ); export const rescueStatisticsList = declareRequest( "statisticsLoading", - "Post > @/emergencyRescue", + "Get > /emergencyRescue/shareStatistics/listRescueGfdCount", ); export const emergencyKnowledgeLibraryStatisticsList = declareRequest( "statisticsLoading", - "Post > @/emergencyRescue", + "Get > /emergencyRescue/shareStatistics/listEmergencyCaseLibraryGfdCount", ); diff --git a/src/pages/Container/Supervision/EmergencyRescue/EmergencyEvent/EventReport/List/index.js b/src/pages/Container/Supervision/EmergencyRescue/EmergencyEvent/EventReport/List/index.js index 7fcd24b..7f0b987 100644 --- a/src/pages/Container/Supervision/EmergencyRescue/EmergencyEvent/EventReport/List/index.js +++ b/src/pages/Container/Supervision/EmergencyRescue/EmergencyEvent/EventReport/List/index.js @@ -26,9 +26,9 @@ function List(props) { ( permissionButtonByStatistics({ permission: props.permission("jgd-case"), url: `./case/list?corpinfoId=${record.corpinfoId}`, - text: record.todo, + text: record.caseCount, history: props.history, }) ), }, { title: "危险货物品数", - dataIndex: "todo", + dataIndex: "dangerousGoodsCount", render: (_, record) => ( permissionButtonByStatistics({ permission: props.permission("jgd-hazardous-goods"), url: `./hazardousGoods/list?corpinfoId=${record.corpinfoId}`, - text: record.todo, + text: record.dangerousGoodsCount, history: props.history, }) ), }, { title: "危化品数", - dataIndex: "todo", + dataIndex: "goodsCount", render: (_, record) => ( permissionButtonByStatistics({ permission: props.permission("jgd-hazardous-chemicals"), url: `./hazardousChemicals/list?corpinfoId=${record.corpinfoId}`, - text: record.todo, + text: record.goodsCount, history: props.history, }) ), }, { title: "生产工艺数", - dataIndex: "todo", + dataIndex: "productionProcessLibraryCount", render: (_, record) => ( permissionButtonByStatistics({ permission: props.permission("jgd-generation-process"), url: `./generationProcess/list?corpinfoId=${record.corpinfoId}`, - text: record.todo, + text: record.productionProcessLibraryCount, history: props.history, }) ), diff --git a/src/pages/Container/Supervision/EmergencyRescue/EnterpriseDuty/DutyLogAndSchedulingRegistration/List/index.js b/src/pages/Container/Supervision/EmergencyRescue/EnterpriseDuty/DutyLogAndSchedulingRegistration/List/index.js index 1a39c29..389d280 100644 --- a/src/pages/Container/Supervision/EmergencyRescue/EnterpriseDuty/DutyLogAndSchedulingRegistration/List/index.js +++ b/src/pages/Container/Supervision/EmergencyRescue/EnterpriseDuty/DutyLogAndSchedulingRegistration/List/index.js @@ -28,6 +28,8 @@ function List(props) { { title: "公司名称", dataIndex: "corpName" }, { title: "操作", + width: 200, + fixed: "right", render: (_, record) => ( {props.permission("jgd-duty-log") && ( diff --git a/src/pages/Container/Supervision/EmergencyRescue/Rescue/List/index.js b/src/pages/Container/Supervision/EmergencyRescue/Rescue/List/index.js index c1be687..88ad718 100644 --- a/src/pages/Container/Supervision/EmergencyRescue/Rescue/List/index.js +++ b/src/pages/Container/Supervision/EmergencyRescue/Rescue/List/index.js @@ -28,12 +28,12 @@ function List(props) { { title: "公司名称", dataIndex: "corpName" }, { title: "救援次数", - dataIndex: "todo", + dataIndex: "isRescueExecutedCount", render: (_, record) => ( permissionButtonByStatistics({ permission: props.permission("jgd-rescue"), url: `./todo/list?corpinfoId=${record.corpinfoId}`, - text: record.todo, + text: record.isRescueExecutedCount, history: props.history, }) ), diff --git a/src/pages/Container/Supervision/PlanAndDrill/EmergencyExercise/List/index.js b/src/pages/Container/Supervision/PlanAndDrill/EmergencyExercise/List/index.js index 1cc56dc..fafb6ae 100644 --- a/src/pages/Container/Supervision/PlanAndDrill/EmergencyExercise/List/index.js +++ b/src/pages/Container/Supervision/PlanAndDrill/EmergencyExercise/List/index.js @@ -28,12 +28,12 @@ function List(props) { { title: "公司名称", dataIndex: "corpName" }, { title: "应急演练次数", - dataIndex: "todo", + dataIndex: "emergencyDrillCount", render: (_, record) => ( permissionButtonByStatistics({ permission: props.permission("jgd-emergency-exercise"), url: `./emergencyExercise/list?corpinfoId=${record.corpinfoId}`, - text: record.todo, + text: record.emergencyDrillCount, history: props.history, }) ), diff --git a/src/pages/Container/Supervision/PlanAndDrill/EmergencyPlan/List/index.js b/src/pages/Container/Supervision/PlanAndDrill/EmergencyPlan/List/index.js index ccb7f4a..7f0fb7a 100644 --- a/src/pages/Container/Supervision/PlanAndDrill/EmergencyPlan/List/index.js +++ b/src/pages/Container/Supervision/PlanAndDrill/EmergencyPlan/List/index.js @@ -28,12 +28,12 @@ function List(props) { { title: "公司名称", dataIndex: "corpName" }, { title: "应急预案数量", - dataIndex: "todo", + dataIndex: "emergencyPlanManagementCount", render: (_, record) => ( permissionButtonByStatistics({ permission: props.permission("jgd-emergency-plan"), url: `./emergencyPlan/list?corpinfoId=${record.corpinfoId}`, - text: record.todo, + text: record.emergencyPlanManagementCount, history: props.history, }) ), diff --git a/src/pages/Container/Supervision/PlanAndDrill/EnterprisePlan/List/index.js b/src/pages/Container/Supervision/PlanAndDrill/EnterprisePlan/List/index.js index 705b215..0cda954 100644 --- a/src/pages/Container/Supervision/PlanAndDrill/EnterprisePlan/List/index.js +++ b/src/pages/Container/Supervision/PlanAndDrill/EnterprisePlan/List/index.js @@ -28,12 +28,12 @@ function List(props) { { title: "公司名称", dataIndex: "corpName" }, { title: "企业预案数量", - dataIndex: "todo", + dataIndex: "enterprisePlanBasicInfoCount", render: (_, record) => ( permissionButtonByStatistics({ permission: props.permission("jgd-enterprise-plan"), url: `./enterprisePlan/list?corpinfoId=${record.corpinfoId}`, - text: record.todo, + text: record.enterprisePlanBasicInfoCount, history: props.history, }) ),