监管端对接统计接口
parent
4394bbcb10
commit
8a3fc9d40b
|
|
@ -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",
|
||||
);
|
||||
|
|
|
|||
|
|
@ -26,9 +26,9 @@ function List(props) {
|
|||
<Table
|
||||
columns={[
|
||||
{ title: "公司名称", dataIndex: "corpName" },
|
||||
{ title: "事件总数", dataIndex: "todo" },
|
||||
{ title: "救援已发起数", dataIndex: "todo" },
|
||||
{ title: "救援未发起数", dataIndex: "todo" },
|
||||
{ title: "事件总数", dataIndex: "eventReportCount" },
|
||||
{ title: "救援已发起数", dataIndex: "isRescueExecutedCount" },
|
||||
{ title: "救援未发起数", dataIndex: "noRescueExecutedCount" },
|
||||
{
|
||||
title: "操作",
|
||||
width: 100,
|
||||
|
|
|
|||
|
|
@ -28,48 +28,48 @@ function List(props) {
|
|||
{ title: "公司名称", dataIndex: "corpName" },
|
||||
{
|
||||
title: "案例库数",
|
||||
dataIndex: "todo",
|
||||
dataIndex: "caseCount",
|
||||
render: (_, record) => (
|
||||
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,
|
||||
})
|
||||
),
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@ function List(props) {
|
|||
{ title: "公司名称", dataIndex: "corpName" },
|
||||
{
|
||||
title: "操作",
|
||||
width: 200,
|
||||
fixed: "right",
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
{props.permission("jgd-duty-log") && (
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
})
|
||||
),
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
})
|
||||
),
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
})
|
||||
),
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
})
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in New Issue