监管端对接统计接口
parent
4394bbcb10
commit
8a3fc9d40b
|
|
@ -6,49 +6,49 @@ export const emergencyResourceStatisticsList = declareRequest(
|
||||||
);
|
);
|
||||||
export const emergencyExpertTeamStatisticsList = declareRequest(
|
export const emergencyExpertTeamStatisticsList = declareRequest(
|
||||||
"statisticsLoading",
|
"statisticsLoading",
|
||||||
"Post > @/emergencyRescue/shareStatistics/listRescueTeamCount",
|
"Get > /emergencyRescue/shareStatistics/listRescueTeamCount",
|
||||||
);
|
);
|
||||||
export const emergencyAddressBookStatisticsList = declareRequest(
|
export const emergencyAddressBookStatisticsList = declareRequest(
|
||||||
"statisticsLoading",
|
"statisticsLoading",
|
||||||
"Post > @/emergencyRescue/shareStatistics/listEmergencyContactGfdCount",
|
"Get > /emergencyRescue/shareStatistics/listEmergencyContactGfdCount",
|
||||||
);
|
);
|
||||||
export const professionalGuaranteeOrganizationStatisticsList = declareRequest(
|
export const professionalGuaranteeOrganizationStatisticsList = declareRequest(
|
||||||
"statisticsLoading",
|
"statisticsLoading",
|
||||||
"Post > @/emergencyRescue/shareStatistics/listProfessionalSecurityAgencyGfdCount",
|
"Get > /emergencyRescue/shareStatistics/listProfessionalSecurityAgencyGfdCount",
|
||||||
);
|
);
|
||||||
export const emergencyOrganizationStatisticsList = declareRequest(
|
export const emergencyOrganizationStatisticsList = declareRequest(
|
||||||
"statisticsLoading",
|
"statisticsLoading",
|
||||||
"Post > @/emergencyRescue/shareStatistics/listEnterpriseEmergencyAgencyGfdCount",
|
"Get > /emergencyRescue/shareStatistics/listEnterpriseEmergencyAgencyGfdCount",
|
||||||
);
|
);
|
||||||
export const emergencyRescueTeamStatisticsList = declareRequest(
|
export const emergencyRescueTeamStatisticsList = declareRequest(
|
||||||
"statisticsLoading",
|
"statisticsLoading",
|
||||||
"Post > @/emergencyRescue/shareStatistics/listEmergencyRescueTeamManagementGfdCount",
|
"Get > /emergencyRescue/shareStatistics/listEmergencyRescueTeamManagementGfdCount",
|
||||||
);
|
);
|
||||||
export const enterprisePlanStatisticsList = declareRequest(
|
export const enterprisePlanStatisticsList = declareRequest(
|
||||||
"statisticsLoading",
|
"statisticsLoading",
|
||||||
"Post > @/emergencyRescue",
|
"Get > /emergencyRescue/shareStatistics/listEnterprisePlanBasicInfoGfdCount",
|
||||||
);
|
);
|
||||||
export const emergencyPlanStatisticsList = declareRequest(
|
export const emergencyPlanStatisticsList = declareRequest(
|
||||||
"statisticsLoading",
|
"statisticsLoading",
|
||||||
"Post > @/emergencyRescue",
|
"Get > /emergencyRescue/shareStatistics/listEmergencyPlanManagementGfdCount",
|
||||||
);
|
);
|
||||||
export const emergencyExerciseStatisticsList = declareRequest(
|
export const emergencyExerciseStatisticsList = declareRequest(
|
||||||
"statisticsLoading",
|
"statisticsLoading",
|
||||||
"Post > @/emergencyRescue",
|
"Get > /emergencyRescue/shareStatistics/listEmergencyDrillGfdCount",
|
||||||
);
|
);
|
||||||
export const dutyLogAndSchedulingRegistrationStatisticsList = declareRequest(
|
export const dutyLogAndSchedulingRegistrationStatisticsList = declareRequest(
|
||||||
"statisticsLoading",
|
"statisticsLoading",
|
||||||
"Post > @/emergencyRescue",
|
"Get > /emergencyRescue/shareStatistics/listDutyLogAndShiftScheduleGfdCount",
|
||||||
);
|
);
|
||||||
export const eventReportStatisticsList = declareRequest(
|
export const eventReportStatisticsList = declareRequest(
|
||||||
"statisticsLoading",
|
"statisticsLoading",
|
||||||
"Post > @/emergencyRescue",
|
"Get > /emergencyRescue/shareStatistics/listEventReportGfdCount",
|
||||||
);
|
);
|
||||||
export const rescueStatisticsList = declareRequest(
|
export const rescueStatisticsList = declareRequest(
|
||||||
"statisticsLoading",
|
"statisticsLoading",
|
||||||
"Post > @/emergencyRescue",
|
"Get > /emergencyRescue/shareStatistics/listRescueGfdCount",
|
||||||
);
|
);
|
||||||
export const emergencyKnowledgeLibraryStatisticsList = declareRequest(
|
export const emergencyKnowledgeLibraryStatisticsList = declareRequest(
|
||||||
"statisticsLoading",
|
"statisticsLoading",
|
||||||
"Post > @/emergencyRescue",
|
"Get > /emergencyRescue/shareStatistics/listEmergencyCaseLibraryGfdCount",
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,9 @@ function List(props) {
|
||||||
<Table
|
<Table
|
||||||
columns={[
|
columns={[
|
||||||
{ title: "公司名称", dataIndex: "corpName" },
|
{ title: "公司名称", dataIndex: "corpName" },
|
||||||
{ title: "事件总数", dataIndex: "todo" },
|
{ title: "事件总数", dataIndex: "eventReportCount" },
|
||||||
{ title: "救援已发起数", dataIndex: "todo" },
|
{ title: "救援已发起数", dataIndex: "isRescueExecutedCount" },
|
||||||
{ title: "救援未发起数", dataIndex: "todo" },
|
{ title: "救援未发起数", dataIndex: "noRescueExecutedCount" },
|
||||||
{
|
{
|
||||||
title: "操作",
|
title: "操作",
|
||||||
width: 100,
|
width: 100,
|
||||||
|
|
|
||||||
|
|
@ -28,48 +28,48 @@ function List(props) {
|
||||||
{ title: "公司名称", dataIndex: "corpName" },
|
{ title: "公司名称", dataIndex: "corpName" },
|
||||||
{
|
{
|
||||||
title: "案例库数",
|
title: "案例库数",
|
||||||
dataIndex: "todo",
|
dataIndex: "caseCount",
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
permissionButtonByStatistics({
|
permissionButtonByStatistics({
|
||||||
permission: props.permission("jgd-case"),
|
permission: props.permission("jgd-case"),
|
||||||
url: `./case/list?corpinfoId=${record.corpinfoId}`,
|
url: `./case/list?corpinfoId=${record.corpinfoId}`,
|
||||||
text: record.todo,
|
text: record.caseCount,
|
||||||
history: props.history,
|
history: props.history,
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "危险货物品数",
|
title: "危险货物品数",
|
||||||
dataIndex: "todo",
|
dataIndex: "dangerousGoodsCount",
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
permissionButtonByStatistics({
|
permissionButtonByStatistics({
|
||||||
permission: props.permission("jgd-hazardous-goods"),
|
permission: props.permission("jgd-hazardous-goods"),
|
||||||
url: `./hazardousGoods/list?corpinfoId=${record.corpinfoId}`,
|
url: `./hazardousGoods/list?corpinfoId=${record.corpinfoId}`,
|
||||||
text: record.todo,
|
text: record.dangerousGoodsCount,
|
||||||
history: props.history,
|
history: props.history,
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "危化品数",
|
title: "危化品数",
|
||||||
dataIndex: "todo",
|
dataIndex: "goodsCount",
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
permissionButtonByStatistics({
|
permissionButtonByStatistics({
|
||||||
permission: props.permission("jgd-hazardous-chemicals"),
|
permission: props.permission("jgd-hazardous-chemicals"),
|
||||||
url: `./hazardousChemicals/list?corpinfoId=${record.corpinfoId}`,
|
url: `./hazardousChemicals/list?corpinfoId=${record.corpinfoId}`,
|
||||||
text: record.todo,
|
text: record.goodsCount,
|
||||||
history: props.history,
|
history: props.history,
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "生产工艺数",
|
title: "生产工艺数",
|
||||||
dataIndex: "todo",
|
dataIndex: "productionProcessLibraryCount",
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
permissionButtonByStatistics({
|
permissionButtonByStatistics({
|
||||||
permission: props.permission("jgd-generation-process"),
|
permission: props.permission("jgd-generation-process"),
|
||||||
url: `./generationProcess/list?corpinfoId=${record.corpinfoId}`,
|
url: `./generationProcess/list?corpinfoId=${record.corpinfoId}`,
|
||||||
text: record.todo,
|
text: record.productionProcessLibraryCount,
|
||||||
history: props.history,
|
history: props.history,
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,8 @@ function List(props) {
|
||||||
{ title: "公司名称", dataIndex: "corpName" },
|
{ title: "公司名称", dataIndex: "corpName" },
|
||||||
{
|
{
|
||||||
title: "操作",
|
title: "操作",
|
||||||
|
width: 200,
|
||||||
|
fixed: "right",
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
<Space>
|
<Space>
|
||||||
{props.permission("jgd-duty-log") && (
|
{props.permission("jgd-duty-log") && (
|
||||||
|
|
|
||||||
|
|
@ -28,12 +28,12 @@ function List(props) {
|
||||||
{ title: "公司名称", dataIndex: "corpName" },
|
{ title: "公司名称", dataIndex: "corpName" },
|
||||||
{
|
{
|
||||||
title: "救援次数",
|
title: "救援次数",
|
||||||
dataIndex: "todo",
|
dataIndex: "isRescueExecutedCount",
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
permissionButtonByStatistics({
|
permissionButtonByStatistics({
|
||||||
permission: props.permission("jgd-rescue"),
|
permission: props.permission("jgd-rescue"),
|
||||||
url: `./todo/list?corpinfoId=${record.corpinfoId}`,
|
url: `./todo/list?corpinfoId=${record.corpinfoId}`,
|
||||||
text: record.todo,
|
text: record.isRescueExecutedCount,
|
||||||
history: props.history,
|
history: props.history,
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -28,12 +28,12 @@ function List(props) {
|
||||||
{ title: "公司名称", dataIndex: "corpName" },
|
{ title: "公司名称", dataIndex: "corpName" },
|
||||||
{
|
{
|
||||||
title: "应急演练次数",
|
title: "应急演练次数",
|
||||||
dataIndex: "todo",
|
dataIndex: "emergencyDrillCount",
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
permissionButtonByStatistics({
|
permissionButtonByStatistics({
|
||||||
permission: props.permission("jgd-emergency-exercise"),
|
permission: props.permission("jgd-emergency-exercise"),
|
||||||
url: `./emergencyExercise/list?corpinfoId=${record.corpinfoId}`,
|
url: `./emergencyExercise/list?corpinfoId=${record.corpinfoId}`,
|
||||||
text: record.todo,
|
text: record.emergencyDrillCount,
|
||||||
history: props.history,
|
history: props.history,
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -28,12 +28,12 @@ function List(props) {
|
||||||
{ title: "公司名称", dataIndex: "corpName" },
|
{ title: "公司名称", dataIndex: "corpName" },
|
||||||
{
|
{
|
||||||
title: "应急预案数量",
|
title: "应急预案数量",
|
||||||
dataIndex: "todo",
|
dataIndex: "emergencyPlanManagementCount",
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
permissionButtonByStatistics({
|
permissionButtonByStatistics({
|
||||||
permission: props.permission("jgd-emergency-plan"),
|
permission: props.permission("jgd-emergency-plan"),
|
||||||
url: `./emergencyPlan/list?corpinfoId=${record.corpinfoId}`,
|
url: `./emergencyPlan/list?corpinfoId=${record.corpinfoId}`,
|
||||||
text: record.todo,
|
text: record.emergencyPlanManagementCount,
|
||||||
history: props.history,
|
history: props.history,
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -28,12 +28,12 @@ function List(props) {
|
||||||
{ title: "公司名称", dataIndex: "corpName" },
|
{ title: "公司名称", dataIndex: "corpName" },
|
||||||
{
|
{
|
||||||
title: "企业预案数量",
|
title: "企业预案数量",
|
||||||
dataIndex: "todo",
|
dataIndex: "enterprisePlanBasicInfoCount",
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
permissionButtonByStatistics({
|
permissionButtonByStatistics({
|
||||||
permission: props.permission("jgd-enterprise-plan"),
|
permission: props.permission("jgd-enterprise-plan"),
|
||||||
url: `./enterprisePlan/list?corpinfoId=${record.corpinfoId}`,
|
url: `./enterprisePlan/list?corpinfoId=${record.corpinfoId}`,
|
||||||
text: record.todo,
|
text: record.enterprisePlanBasicInfoCount,
|
||||||
history: props.history,
|
history: props.history,
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue