监管端统计对接接口

增加统计数字跳转查看
master
LiuJiaNan 2026-04-08 09:13:57 +08:00
parent a7307c5bc9
commit 1f29e6e267
104 changed files with 1770 additions and 818 deletions

View File

@ -34,6 +34,8 @@
`/emergencyRescue/container/enterprise/emergencyResource/materialEquipment/list` `/emergencyRescue/container/enterprise/emergencyResource/materialEquipment/list`
- 应急资源管理/应急避难场所 - 应急资源管理/应急避难场所
`/emergencyRescue/container/enterprise/emergencyResource/emergencyShelter/list` `/emergencyRescue/container/enterprise/emergencyResource/emergencyShelter/list`
- 应急资源管理/消防物资管理
`/emergencyRescue/container/enterprise/emergencyResource/firefightingEquipment/list`
- 应急资源管理/排水井 - 应急资源管理/排水井
`/emergencyRescue/container/enterprise/emergencyResource/drainageWell/list` `/emergencyRescue/container/enterprise/emergencyResource/drainageWell/list`
- 应急资源管理/封闭卡口 - 应急资源管理/封闭卡口
@ -60,3 +62,5 @@
`/emergencyRescue/container/enterprise/emergencyOrganization/emergencyManagementOrganization/enterpriseEmergencyPersonnel/list` `/emergencyRescue/container/enterprise/emergencyOrganization/emergencyManagementOrganization/enterpriseEmergencyPersonnel/list`
- 应急组织管理/应急救援队伍管理 - 应急组织管理/应急救援队伍管理
`/emergencyRescue/container/enterprise/emergencyOrganization/emergencyRescueTeam/list` `/emergencyRescue/container/enterprise/emergencyOrganization/emergencyRescueTeam/list`
- 预案与演练/企业预案管理
`/emergencyRescue/container/enterprise/planAndDrill/enterprisePlan/list`

View File

@ -0,0 +1,10 @@
import { declareRequest } from "@cqsjjb/jjb-dva-runtime";
export const firefightingEquipmentList = declareRequest(
"firefightingEquipmentLoading",
"Post > @/emergencyRescue",
);
export const fireAreaListAll = declareRequest(
"firefightingEquipmentLoading",
"Get > /fireCheck/fireRegion/listAll",
);

View File

@ -2,27 +2,27 @@ import { declareRequest } from "@cqsjjb/jjb-dva-runtime";
export const emergencyResourceStatisticsList = declareRequest( export const emergencyResourceStatisticsList = declareRequest(
"statisticsLoading", "statisticsLoading",
"Post > @/emergencyRescue", "Get > /emergencyRescue/shareStatistics/listEmergencyResourcesGfdCount",
); );
export const emergencyExpertTeamStatisticsList = declareRequest( export const emergencyExpertTeamStatisticsList = declareRequest(
"statisticsLoading", "statisticsLoading",
"Post > @/emergencyRescue", "Post > @/emergencyRescue/shareStatistics/listRescueTeamCount",
); );
export const emergencyAddressBookStatisticsList = declareRequest( export const emergencyAddressBookStatisticsList = declareRequest(
"statisticsLoading", "statisticsLoading",
"Post > @/emergencyRescue", "Post > @/emergencyRescue/shareStatistics/listEmergencyContactGfdCount",
); );
export const professionalGuaranteeOrganizationStatisticsList = declareRequest( export const professionalGuaranteeOrganizationStatisticsList = declareRequest(
"statisticsLoading", "statisticsLoading",
"Post > @/emergencyRescue", "Post > @/emergencyRescue/shareStatistics/listProfessionalSecurityAgencyGfdCount",
); );
export const emergencyOrganizationStatisticsList = declareRequest( export const emergencyOrganizationStatisticsList = declareRequest(
"statisticsLoading", "statisticsLoading",
"Post > @/emergencyRescue", "Post > @/emergencyRescue/shareStatistics/listEnterpriseEmergencyAgencyGfdCount",
); );
export const emergencyRescueTeamStatisticsList = declareRequest( export const emergencyRescueTeamStatisticsList = declareRequest(
"statisticsLoading", "statisticsLoading",
"Post > @/emergencyRescue", "Post > @/emergencyRescue/shareStatistics/listEmergencyRescueTeamManagementGfdCount",
); );
export const enterprisePlanStatisticsList = declareRequest( export const enterprisePlanStatisticsList = declareRequest(
"statisticsLoading", "statisticsLoading",

View File

@ -9,6 +9,7 @@ export const NS_STATISTICS = defineNamespace("statistics");
export const NS_EMERGENCY_EQUIPMENT = defineNamespace("emergencyEquipment"); export const NS_EMERGENCY_EQUIPMENT = defineNamespace("emergencyEquipment");
export const NS_MATERIAL_EQUIPMENT = defineNamespace("materialEquipment"); export const NS_MATERIAL_EQUIPMENT = defineNamespace("materialEquipment");
export const NS_EMERGENCY_SHELTER = defineNamespace("emergencyShelter"); export const NS_EMERGENCY_SHELTER = defineNamespace("emergencyShelter");
export const NS_FIREFIGHTING_EQUIPMENT = defineNamespace("firefightingEquipment");
export const NS_DRAINAGE_WELL = defineNamespace("drainageWell"); export const NS_DRAINAGE_WELL = defineNamespace("drainageWell");
export const NS_CLOSED_CARD_PORT = defineNamespace("closedCardPort"); export const NS_CLOSED_CARD_PORT = defineNamespace("closedCardPort");
export const NS_EXPERT_EMERGENCY_RESCUE_TEAM = defineNamespace("expertEmergencyRescueTeam"); export const NS_EXPERT_EMERGENCY_RESCUE_TEAM = defineNamespace("expertEmergencyRescueTeam");

View File

@ -7,6 +7,7 @@ import Page from "zy-react-library/components/Page";
import Search from "zy-react-library/components/Search"; import Search from "zy-react-library/components/Search";
import DictionarySelect from "zy-react-library/components/Select/Dictionary"; import DictionarySelect from "zy-react-library/components/Select/Dictionary";
import Table from "zy-react-library/components/Table"; import Table from "zy-react-library/components/Table";
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
import useTable from "zy-react-library/hooks/useTable"; import useTable from "zy-react-library/hooks/useTable";
import { NS_EMERGENCY_ADDRESS_BOOK } from "~/enumerate/namespace"; import { NS_EMERGENCY_ADDRESS_BOOK } from "~/enumerate/namespace";
@ -27,8 +28,13 @@ function List(props) {
const [form] = Search.useForm(); const [form] = Search.useForm();
const query = useGetUrlQuery();
const { tableProps, getData } = useTable(props["emergencyAddressBookList"], { const { tableProps, getData } = useTable(props["emergencyAddressBookList"], {
form, form,
params: {
corpinfoId: query.corpinfoId,
},
usePagination: false, usePagination: false,
}); });
@ -47,7 +53,7 @@ function List(props) {
}; };
return ( return (
<Page isShowAllAction={false}> <Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
<Search <Search
options={[ options={[
{ name: "likeGroupName", label: "通讯录名称" }, { name: "likeGroupName", label: "通讯录名称" },
@ -58,6 +64,7 @@ function List(props) {
<Table <Table
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -68,6 +75,7 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -87,6 +95,7 @@ function List(props) {
> >
成员管理 成员管理
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -99,6 +108,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -108,6 +119,8 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -119,6 +132,7 @@ function List(props) {
> >
添加下级通讯组 添加下级通讯组
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -79,6 +79,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -88,6 +89,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -97,6 +100,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -121,6 +125,7 @@ function List(props) {
> >
查看 查看
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -130,6 +135,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -139,6 +146,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -6,6 +6,7 @@ import DeleteIcon from "zy-react-library/components/Icon/DeleteIcon";
import Page from "zy-react-library/components/Page"; import Page from "zy-react-library/components/Page";
import Search from "zy-react-library/components/Search"; import Search from "zy-react-library/components/Search";
import Table from "zy-react-library/components/Table"; import Table from "zy-react-library/components/Table";
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
import useTable from "zy-react-library/hooks/useTable"; import useTable from "zy-react-library/hooks/useTable";
import { NS_EXPERT_EMERGENCY_RESCUE_EXPERT } from "~/enumerate/namespace"; import { NS_EXPERT_EMERGENCY_RESCUE_EXPERT } from "~/enumerate/namespace";
@ -14,8 +15,13 @@ function List(props) {
const [form] = Search.useForm(); const [form] = Search.useForm();
const query = useGetUrlQuery();
const { tableProps, getData } = useTable(props["expertEmergencyRescueExpertList"], { const { tableProps, getData } = useTable(props["expertEmergencyRescueExpertList"], {
form, form,
params: {
corpinfoId: query.corpinfoId,
},
}); });
const onDelete = (record) => { const onDelete = (record) => {
@ -51,7 +57,7 @@ function List(props) {
}; };
return ( return (
<Page isShowAllAction={false}> <Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
<Search <Search
options={[ options={[
{ name: "likeExpertName", label: "专家姓名" }, { name: "likeExpertName", label: "专家姓名" },
@ -69,6 +75,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -78,6 +85,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -87,6 +96,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -109,6 +119,7 @@ function List(props) {
> >
查看 查看
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -117,6 +128,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -126,6 +139,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -7,6 +7,7 @@ import Page from "zy-react-library/components/Page";
import Search from "zy-react-library/components/Search"; import Search from "zy-react-library/components/Search";
import DictionarySelect from "zy-react-library/components/Select/Dictionary"; import DictionarySelect from "zy-react-library/components/Select/Dictionary";
import Table from "zy-react-library/components/Table"; import Table from "zy-react-library/components/Table";
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
import useTable from "zy-react-library/hooks/useTable"; import useTable from "zy-react-library/hooks/useTable";
import { NS_EXPERT_EMERGENCY_RESCUE_EXPERT_GROUP } from "~/enumerate/namespace"; import { NS_EXPERT_EMERGENCY_RESCUE_EXPERT_GROUP } from "~/enumerate/namespace";
@ -15,8 +16,13 @@ function List(props) {
const [form] = Search.useForm(); const [form] = Search.useForm();
const query = useGetUrlQuery();
const { tableProps, getData } = useTable(props["expertEmergencyRescueExpertGroupList"], { const { tableProps, getData } = useTable(props["expertEmergencyRescueExpertGroupList"], {
form, form,
params: {
corpinfoId: query.corpinfoId,
},
}); });
const onDelete = (record) => { const onDelete = (record) => {
@ -52,7 +58,7 @@ function List(props) {
}; };
return ( return (
<Page isShowAllAction={false}> <Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
<Search <Search
options={[ options={[
{ name: "likeGroupName", label: "专家组名称" }, { name: "likeGroupName", label: "专家组名称" },
@ -71,6 +77,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -80,6 +87,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -89,6 +98,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -116,6 +126,7 @@ function List(props) {
> >
成员管理 成员管理
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -124,6 +135,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -133,6 +146,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -73,6 +73,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -82,6 +83,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -91,6 +94,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -102,6 +106,7 @@ function List(props) {
{ {
title: "操作", title: "操作",
width: 100, width: 100,
hidden: props.isRecord,
fixed: "right", fixed: "right",
render: (_, record) => ( render: (_, record) => (
<Space> <Space>

View File

@ -72,6 +72,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -81,6 +82,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -90,6 +93,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -115,6 +119,7 @@ function List(props) {
> >
查看 查看
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -123,6 +128,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -132,6 +139,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -6,6 +6,7 @@ import DeleteIcon from "zy-react-library/components/Icon/DeleteIcon";
import Page from "zy-react-library/components/Page"; import Page from "zy-react-library/components/Page";
import Search from "zy-react-library/components/Search"; import Search from "zy-react-library/components/Search";
import Table from "zy-react-library/components/Table"; import Table from "zy-react-library/components/Table";
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
import useTable from "zy-react-library/hooks/useTable"; import useTable from "zy-react-library/hooks/useTable";
import { NS_EXPERT_EMERGENCY_RESCUE_TEAM } from "~/enumerate/namespace"; import { NS_EXPERT_EMERGENCY_RESCUE_TEAM } from "~/enumerate/namespace";
@ -14,8 +15,13 @@ function List(props) {
const [form] = Search.useForm(); const [form] = Search.useForm();
const query = useGetUrlQuery();
const { tableProps, getData } = useTable(props["expertEmergencyRescueTeamList"], { const { tableProps, getData } = useTable(props["expertEmergencyRescueTeamList"], {
form, form,
params: {
corpinfoId: query.corpinfoId,
},
}); });
const onDelete = (record) => { const onDelete = (record) => {
@ -51,7 +57,7 @@ function List(props) {
}; };
return ( return (
<Page isShowAllAction={false}> <Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
<Search <Search
options={[ options={[
{ name: "likeTeamName", label: "队伍名称" }, { name: "likeTeamName", label: "队伍名称" },
@ -69,6 +75,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -78,6 +85,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -87,6 +96,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -119,6 +129,7 @@ function List(props) {
> >
应急救援人列表 应急救援人列表
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -127,6 +138,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -136,6 +149,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -7,6 +7,7 @@ import Page from "zy-react-library/components/Page";
import Search from "zy-react-library/components/Search"; import Search from "zy-react-library/components/Search";
import DictionarySelect from "zy-react-library/components/Select/Dictionary"; import DictionarySelect from "zy-react-library/components/Select/Dictionary";
import Table from "zy-react-library/components/Table"; import Table from "zy-react-library/components/Table";
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
import useTable from "zy-react-library/hooks/useTable"; import useTable from "zy-react-library/hooks/useTable";
import { NS_ENTERPRISE_EMERGENCY_ORGANIZATION } from "~/enumerate/namespace"; import { NS_ENTERPRISE_EMERGENCY_ORGANIZATION } from "~/enumerate/namespace";
@ -15,8 +16,13 @@ function List(props) {
const [form] = Search.useForm(); const [form] = Search.useForm();
const query = useGetUrlQuery();
const { tableProps, getData } = useTable(props["enterpriseEmergencyOrganizationList"], { const { tableProps, getData } = useTable(props["enterpriseEmergencyOrganizationList"], {
form, form,
params: {
corpinfoId: query.corpinfoId,
},
}); });
const onDelete = (record) => { const onDelete = (record) => {
@ -52,7 +58,7 @@ function List(props) {
}; };
return ( return (
<Page isShowAllAction={false}> <Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
<Search <Search
options={[ options={[
{ name: "likeAgencyName", label: "机构名称" }, { name: "likeAgencyName", label: "机构名称" },
@ -71,6 +77,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -80,6 +87,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -89,6 +98,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -120,6 +130,7 @@ function List(props) {
> >
查看 查看
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -128,6 +139,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -137,6 +150,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -6,6 +6,7 @@ import DeleteIcon from "zy-react-library/components/Icon/DeleteIcon";
import Page from "zy-react-library/components/Page"; import Page from "zy-react-library/components/Page";
import Search from "zy-react-library/components/Search"; import Search from "zy-react-library/components/Search";
import Table from "zy-react-library/components/Table"; import Table from "zy-react-library/components/Table";
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
import useTable from "zy-react-library/hooks/useTable"; import useTable from "zy-react-library/hooks/useTable";
import { NS_ENTERPRISE_EMERGENCY_PERSONNEL } from "~/enumerate/namespace"; import { NS_ENTERPRISE_EMERGENCY_PERSONNEL } from "~/enumerate/namespace";
@ -14,8 +15,13 @@ function List(props) {
const [form] = Search.useForm(); const [form] = Search.useForm();
const query = useGetUrlQuery();
const { tableProps, getData } = useTable(props["enterpriseEmergencyPersonnelList"], { const { tableProps, getData } = useTable(props["enterpriseEmergencyPersonnelList"], {
form, form,
params: {
corpinfoId: query.corpinfoId,
},
}); });
const onDelete = (record) => { const onDelete = (record) => {
@ -51,7 +57,7 @@ function List(props) {
}; };
return ( return (
<Page isShowAllAction={false}> <Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
<Search <Search
options={[ options={[
{ name: "userName", label: "姓名" }, { name: "userName", label: "姓名" },
@ -69,6 +75,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -78,6 +85,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -87,6 +96,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -110,6 +120,7 @@ function List(props) {
> >
查看 查看
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -118,6 +129,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -127,6 +140,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -6,6 +6,7 @@ import DeleteIcon from "zy-react-library/components/Icon/DeleteIcon";
import Page from "zy-react-library/components/Page"; import Page from "zy-react-library/components/Page";
import Search from "zy-react-library/components/Search"; import Search from "zy-react-library/components/Search";
import Table from "zy-react-library/components/Table"; import Table from "zy-react-library/components/Table";
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
import useTable from "zy-react-library/hooks/useTable"; import useTable from "zy-react-library/hooks/useTable";
import { NS_EMERGENCY_RESCUE_TEAM } from "~/enumerate/namespace"; import { NS_EMERGENCY_RESCUE_TEAM } from "~/enumerate/namespace";
@ -14,8 +15,13 @@ function List(props) {
const [form] = Search.useForm(); const [form] = Search.useForm();
const query = useGetUrlQuery();
const { tableProps, getData } = useTable(props["emergencyRescueTeamList"], { const { tableProps, getData } = useTable(props["emergencyRescueTeamList"], {
form, form,
params: {
corpinfoId: query.corpinfoId,
},
}); });
const onDelete = (record) => { const onDelete = (record) => {
@ -51,7 +57,7 @@ function List(props) {
}; };
return ( return (
<Page isShowAllAction={false}> <Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
<Search <Search
options={[ options={[
{ name: "likeTeamName", label: "队伍名称" }, { name: "likeTeamName", label: "队伍名称" },
@ -69,6 +75,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -78,6 +85,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -87,6 +96,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -110,6 +120,7 @@ function List(props) {
> >
查看 查看
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -118,6 +129,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -127,6 +140,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -6,6 +6,7 @@ import DeleteIcon from "zy-react-library/components/Icon/DeleteIcon";
import Page from "zy-react-library/components/Page"; import Page from "zy-react-library/components/Page";
import Search from "zy-react-library/components/Search"; import Search from "zy-react-library/components/Search";
import Table from "zy-react-library/components/Table"; import Table from "zy-react-library/components/Table";
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
import useTable from "zy-react-library/hooks/useTable"; import useTable from "zy-react-library/hooks/useTable";
import { NS_COMMUNICATION_GUARANTEE_ORGANIZATION } from "~/enumerate/namespace"; import { NS_COMMUNICATION_GUARANTEE_ORGANIZATION } from "~/enumerate/namespace";
@ -14,8 +15,13 @@ function List(props) {
const [form] = Search.useForm(); const [form] = Search.useForm();
const query = useGetUrlQuery();
const { tableProps, getData } = useTable(props["communicationGuaranteeOrganizationList"], { const { tableProps, getData } = useTable(props["communicationGuaranteeOrganizationList"], {
form, form,
params: {
corpinfoId: query.corpinfoId,
},
}); });
const onDelete = (record) => { const onDelete = (record) => {
@ -51,7 +57,7 @@ function List(props) {
}; };
return ( return (
<Page isShowAllAction={false}> <Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
<Search <Search
options={[ options={[
{ name: "likeAgencyName", label: "机构名称" }, { name: "likeAgencyName", label: "机构名称" },
@ -69,6 +75,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -78,6 +85,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -87,6 +96,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -109,6 +119,7 @@ function List(props) {
> >
查看 查看
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -117,6 +128,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -126,6 +139,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -7,6 +7,7 @@ import DeleteIcon from "zy-react-library/components/Icon/DeleteIcon";
import Page from "zy-react-library/components/Page"; import Page from "zy-react-library/components/Page";
import Search from "zy-react-library/components/Search"; import Search from "zy-react-library/components/Search";
import Table from "zy-react-library/components/Table"; import Table from "zy-react-library/components/Table";
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
import useTable from "zy-react-library/hooks/useTable"; import useTable from "zy-react-library/hooks/useTable";
import { NS_MEDICAL_GUARANTEE_ORGANIZATION } from "~/enumerate/namespace"; import { NS_MEDICAL_GUARANTEE_ORGANIZATION } from "~/enumerate/namespace";
@ -15,8 +16,13 @@ function List(props) {
const [form] = Search.useForm(); const [form] = Search.useForm();
const query = useGetUrlQuery();
const { tableProps, getData } = useTable(props["medicalGuaranteeOrganizationList"], { const { tableProps, getData } = useTable(props["medicalGuaranteeOrganizationList"], {
form, form,
params: {
corpinfoId: query.corpinfoId,
},
}); });
const onDelete = (record) => { const onDelete = (record) => {
@ -52,7 +58,7 @@ function List(props) {
}; };
return ( return (
<Page isShowAllAction={false}> <Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
<Search <Search
options={[ options={[
{ name: "likeAgencyName", label: "机构名称" }, { name: "likeAgencyName", label: "机构名称" },
@ -70,6 +76,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -79,6 +86,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -88,6 +97,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -117,6 +127,7 @@ function List(props) {
> >
查看 查看
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -125,6 +136,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -134,6 +147,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -7,6 +7,7 @@ import DeleteIcon from "zy-react-library/components/Icon/DeleteIcon";
import Page from "zy-react-library/components/Page"; import Page from "zy-react-library/components/Page";
import Search from "zy-react-library/components/Search"; import Search from "zy-react-library/components/Search";
import Table from "zy-react-library/components/Table"; import Table from "zy-react-library/components/Table";
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
import useTable from "zy-react-library/hooks/useTable"; import useTable from "zy-react-library/hooks/useTable";
import { NS_TECHNICAL_SUPPORT_GUARANTEE_ORGANIZATION } from "~/enumerate/namespace"; import { NS_TECHNICAL_SUPPORT_GUARANTEE_ORGANIZATION } from "~/enumerate/namespace";
@ -15,8 +16,13 @@ function List(props) {
const [form] = Search.useForm(); const [form] = Search.useForm();
const query = useGetUrlQuery();
const { tableProps, getData } = useTable(props["technicalSupportGuaranteeOrganizationList"], { const { tableProps, getData } = useTable(props["technicalSupportGuaranteeOrganizationList"], {
form, form,
params: {
corpinfoId: query.corpinfoId,
},
}); });
const onDelete = (record) => { const onDelete = (record) => {
@ -52,7 +58,7 @@ function List(props) {
}; };
return ( return (
<Page isShowAllAction={false}> <Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
<Search <Search
options={[ options={[
{ name: "likeAgencyName", label: "机构名称" }, { name: "likeAgencyName", label: "机构名称" },
@ -70,6 +76,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -79,6 +86,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -88,6 +97,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -115,6 +125,7 @@ function List(props) {
> >
查看 查看
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -123,6 +134,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -132,6 +145,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -6,6 +6,7 @@ import DeleteIcon from "zy-react-library/components/Icon/DeleteIcon";
import Page from "zy-react-library/components/Page"; import Page from "zy-react-library/components/Page";
import Search from "zy-react-library/components/Search"; import Search from "zy-react-library/components/Search";
import Table from "zy-react-library/components/Table"; import Table from "zy-react-library/components/Table";
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
import useTable from "zy-react-library/hooks/useTable"; import useTable from "zy-react-library/hooks/useTable";
import { NS_TRANSPORT_GUARANTEE_ORGANIZATION } from "~/enumerate/namespace"; import { NS_TRANSPORT_GUARANTEE_ORGANIZATION } from "~/enumerate/namespace";
@ -14,8 +15,13 @@ function List(props) {
const [form] = Search.useForm(); const [form] = Search.useForm();
const query = useGetUrlQuery();
const { tableProps, getData } = useTable(props["transportGuaranteeOrganizationList"], { const { tableProps, getData } = useTable(props["transportGuaranteeOrganizationList"], {
form, form,
params: {
corpinfoId: query.corpinfoId,
},
}); });
const onDelete = (record) => { const onDelete = (record) => {
@ -51,7 +57,7 @@ function List(props) {
}; };
return ( return (
<Page isShowAllAction={false}> <Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
<Search <Search
options={[ options={[
{ name: "likeAgencyName", label: "机构名称" }, { name: "likeAgencyName", label: "机构名称" },
@ -69,6 +75,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -78,6 +85,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -87,6 +96,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -109,6 +119,7 @@ function List(props) {
> >
查看 查看
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -117,6 +128,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -126,6 +139,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -6,6 +6,7 @@ import DeleteIcon from "zy-react-library/components/Icon/DeleteIcon";
import Page from "zy-react-library/components/Page"; import Page from "zy-react-library/components/Page";
import Search from "zy-react-library/components/Search"; import Search from "zy-react-library/components/Search";
import Table from "zy-react-library/components/Table"; import Table from "zy-react-library/components/Table";
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
import useTable from "zy-react-library/hooks/useTable"; import useTable from "zy-react-library/hooks/useTable";
import { NS_CLOSED_CARD_PORT } from "~/enumerate/namespace"; import { NS_CLOSED_CARD_PORT } from "~/enumerate/namespace";
@ -14,8 +15,13 @@ function List(props) {
const [form] = Search.useForm(); const [form] = Search.useForm();
const query = useGetUrlQuery();
const { tableProps, getData } = useTable(props["closedCardPortList"], { const { tableProps, getData } = useTable(props["closedCardPortList"], {
form, form,
params: {
corpinfoId: query.corpinfoId,
},
}); });
const onDelete = (record) => { const onDelete = (record) => {
@ -51,7 +57,7 @@ function List(props) {
}; };
return ( return (
<Page isShowAllAction={false}> <Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
<Search <Search
options={[ options={[
{ name: "likeCheckpointName", label: "卡口名称" }, { name: "likeCheckpointName", label: "卡口名称" },
@ -69,6 +75,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -78,6 +85,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -87,6 +96,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -108,6 +118,7 @@ function List(props) {
> >
查看 查看
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -116,6 +127,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -125,6 +138,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -7,6 +7,7 @@ import Page from "zy-react-library/components/Page";
import Search from "zy-react-library/components/Search"; import Search from "zy-react-library/components/Search";
import DictionarySelect from "zy-react-library/components/Select/Dictionary"; import DictionarySelect from "zy-react-library/components/Select/Dictionary";
import Table from "zy-react-library/components/Table"; import Table from "zy-react-library/components/Table";
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
import useTable from "zy-react-library/hooks/useTable"; import useTable from "zy-react-library/hooks/useTable";
import { NS_DRAINAGE_WELL } from "~/enumerate/namespace"; import { NS_DRAINAGE_WELL } from "~/enumerate/namespace";
@ -15,8 +16,13 @@ function List(props) {
const [form] = Search.useForm(); const [form] = Search.useForm();
const query = useGetUrlQuery();
const { tableProps, getData } = useTable(props["drainageWellList"], { const { tableProps, getData } = useTable(props["drainageWellList"], {
form, form,
params: {
corpinfoId: query.corpinfoId,
},
}); });
const onDelete = (record) => { const onDelete = (record) => {
@ -52,7 +58,7 @@ function List(props) {
}; };
return ( return (
<Page isShowAllAction={false}> <Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
<Search <Search
options={[ options={[
{ name: "likeWellName", label: "排水井名称" }, { name: "likeWellName", label: "排水井名称" },
@ -71,6 +77,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -80,6 +87,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -89,6 +98,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -111,6 +121,7 @@ function List(props) {
> >
查看 查看
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -119,6 +130,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -128,6 +141,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -7,6 +7,7 @@ import Page from "zy-react-library/components/Page";
import Search from "zy-react-library/components/Search"; import Search from "zy-react-library/components/Search";
import DictionarySelect from "zy-react-library/components/Select/Dictionary"; import DictionarySelect from "zy-react-library/components/Select/Dictionary";
import Table from "zy-react-library/components/Table"; import Table from "zy-react-library/components/Table";
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
import useTable from "zy-react-library/hooks/useTable"; import useTable from "zy-react-library/hooks/useTable";
import { NS_EMERGENCY_EQUIPMENT } from "~/enumerate/namespace"; import { NS_EMERGENCY_EQUIPMENT } from "~/enumerate/namespace";
@ -15,8 +16,13 @@ function List(props) {
const [form] = Search.useForm(); const [form] = Search.useForm();
const query = useGetUrlQuery();
const { tableProps, getData } = useTable(props["emergencyEquipmentList"], { const { tableProps, getData } = useTable(props["emergencyEquipmentList"], {
form, form,
params: {
corpinfoId: query.corpinfoId,
},
}); });
const onDelete = (record) => { const onDelete = (record) => {
@ -52,7 +58,7 @@ function List(props) {
}; };
return ( return (
<Page isShowAllAction={false}> <Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
<Search <Search
options={[ options={[
{ name: "likeEquipmentName", label: "装备名称" }, { name: "likeEquipmentName", label: "装备名称" },
@ -71,6 +77,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -80,6 +87,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -89,6 +98,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -110,6 +120,7 @@ function List(props) {
> >
查看 查看
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -118,6 +129,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -127,6 +140,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -6,6 +6,7 @@ import DeleteIcon from "zy-react-library/components/Icon/DeleteIcon";
import Page from "zy-react-library/components/Page"; import Page from "zy-react-library/components/Page";
import Search from "zy-react-library/components/Search"; import Search from "zy-react-library/components/Search";
import Table from "zy-react-library/components/Table"; import Table from "zy-react-library/components/Table";
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
import useTable from "zy-react-library/hooks/useTable"; import useTable from "zy-react-library/hooks/useTable";
import { NS_EMERGENCY_SHELTER } from "~/enumerate/namespace"; import { NS_EMERGENCY_SHELTER } from "~/enumerate/namespace";
@ -14,8 +15,13 @@ function List(props) {
const [form] = Search.useForm(); const [form] = Search.useForm();
const query = useGetUrlQuery();
const { tableProps, getData } = useTable(props["emergencyShelterList"], { const { tableProps, getData } = useTable(props["emergencyShelterList"], {
form, form,
params: {
corpinfoId: query.corpinfoId,
},
}); });
const onDelete = (record) => { const onDelete = (record) => {
@ -51,7 +57,7 @@ function List(props) {
}; };
return ( return (
<Page isShowAllAction={false}> <Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
<Search <Search
options={[ options={[
{ name: "likePlaceName", label: "避难所名称" }, { name: "likePlaceName", label: "避难所名称" },
@ -69,6 +75,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -78,6 +85,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -87,6 +96,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -108,6 +118,7 @@ function List(props) {
> >
查看 查看
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -116,6 +127,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -125,6 +138,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -0,0 +1,70 @@
import { Connect } from "@cqsjjb/jjb-dva-runtime";
import { useEffect, useState } from "react";
import Page from "zy-react-library/components/Page";
import Search from "zy-react-library/components/Search";
import DictionarySelect from "zy-react-library/components/Select/Dictionary";
import Table from "zy-react-library/components/Table";
import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender";
import useTable from "zy-react-library/hooks/useTable";
import { NS_FIREFIGHTING_EQUIPMENT } from "~/enumerate/namespace";
function List(props) {
const [form] = Search.useForm();
const [fireArea, setFireArea] = useState([]);
const { tableProps, getData } = useTable(props["firefightingEquipmentList"], {
form,
});
const getFireArea = async () => {
const { data } = await props["fireAreaListAll"]();
setFireArea(data);
};
useEffect(() => {
getFireArea();
}, []);
return (
<Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
<Search
options={[
{ name: "todo", label: "消防器材类型", render: (<DictionarySelect dictValue="fire_device_type" />) },
{
name: "todo",
label: "消防区域",
render: FORM_ITEM_RENDER_ENUM.SELECT,
items: fireArea,
itemsField: {
labelKey: "fireRegionName",
valueKey: "id",
},
},
{ name: "todo", label: "消防点位" },
{ name: "todo", label: "器材编号" },
]}
form={form}
onFinish={getData}
/>
<Table
columns={[
{ title: "器材类型", dataIndex: "todo" },
{ title: "器材编号", dataIndex: "todo" },
{ title: "消防区域名称", dataIndex: "todo" },
{ title: "消防点位名称", dataIndex: "todo" },
{ title: "消防区域编码", dataIndex: "todo" },
{ title: "消防点位编码", dataIndex: "todo" },
{ title: "有效期开始时间", dataIndex: "todo" },
{ title: "有效期结束时间", dataIndex: "todo" },
{ title: "存放地点", dataIndex: "todo" },
{ title: "负责部门", dataIndex: "todo" },
{ title: "负责人", dataIndex: "todo" },
]}
{...tableProps}
/>
</Page>
);
}
export default Connect([NS_FIREFIGHTING_EQUIPMENT], true)(List);

View File

@ -0,0 +1,5 @@
function FirefightingEquipment(props) {
return props.children;
}
export default FirefightingEquipment;

View File

@ -73,6 +73,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -82,6 +83,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -91,6 +94,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -117,6 +121,7 @@ function List(props) {
> >
查看 查看
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -125,6 +130,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -134,6 +141,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -6,6 +6,7 @@ import DeleteIcon from "zy-react-library/components/Icon/DeleteIcon";
import Page from "zy-react-library/components/Page"; import Page from "zy-react-library/components/Page";
import Search from "zy-react-library/components/Search"; import Search from "zy-react-library/components/Search";
import Table from "zy-react-library/components/Table"; import Table from "zy-react-library/components/Table";
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
import useTable from "zy-react-library/hooks/useTable"; import useTable from "zy-react-library/hooks/useTable";
import { NS_MATERIAL_EQUIPMENT } from "~/enumerate/namespace"; import { NS_MATERIAL_EQUIPMENT } from "~/enumerate/namespace";
@ -14,8 +15,13 @@ function List(props) {
const [form] = Search.useForm(); const [form] = Search.useForm();
const query = useGetUrlQuery();
const { tableProps, getData } = useTable(props["materialEquipmentList"], { const { tableProps, getData } = useTable(props["materialEquipmentList"], {
form, form,
params: {
corpinfoId: query.corpinfoId,
},
}); });
const onDelete = (record) => { const onDelete = (record) => {
@ -51,7 +57,7 @@ function List(props) {
}; };
return ( return (
<Page isShowAllAction={false}> <Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
<Search <Search
options={[ options={[
{ name: "likeWarehouseName", label: "资源库名称" }, { name: "likeWarehouseName", label: "资源库名称" },
@ -71,6 +77,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -80,6 +87,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -89,6 +98,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -136,6 +146,7 @@ function List(props) {
> >
查看 查看
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -144,6 +155,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -153,6 +166,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -73,6 +73,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -82,6 +83,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -91,6 +94,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -118,6 +122,7 @@ function List(props) {
> >
查看 查看
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -126,6 +131,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -135,6 +142,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -73,6 +73,7 @@ function List(props) {
}} }}
toolBarRender={() => ( toolBarRender={() => (
<Space> <Space>
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
icon={(<AddIcon />)} icon={(<AddIcon />)}
@ -82,6 +83,8 @@ function List(props) {
> >
新增 新增
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="primary" type="primary"
danger danger
@ -91,6 +94,7 @@ function List(props) {
> >
批量删除 批量删除
</Button> </Button>
)}
</Space> </Space>
)} )}
columns={[ columns={[
@ -118,6 +122,7 @@ function List(props) {
> >
查看 查看
</Button> </Button>
{!props.isRecord && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
@ -126,6 +131,8 @@ function List(props) {
> >
编辑 编辑
</Button> </Button>
)}
{!props.isRecord && (
<Button <Button
type="link" type="link"
danger danger
@ -135,6 +142,7 @@ function List(props) {
> >
删除 删除
</Button> </Button>
)}
</Space> </Space>
), ),
}, },

View File

@ -0,0 +1,9 @@
import Page from "zy-react-library/components/Page";
function List(props) {
return (
<Page isShowAllAction={false}></Page>
);
}
export default List;

View File

@ -0,0 +1,5 @@
function EnterprisePlan(props) {
return props.children;
}
export default EnterprisePlan;

View File

@ -0,0 +1,5 @@
function PlanAndDrill(props) {
return props.children;
}
export default PlanAndDrill;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyAddressBook/List";
function List(props) {
return (<ListPage isRecord headerTitle="应急救援人" {...props} />);
}
export default List;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyAddressBook/Member/List";
function List(props) {
return (<ListPage isRecord {...props} />);
}
export default List;

View File

@ -0,0 +1,5 @@
function Member(props) {
return props.children;
}
export default Member;

View File

@ -0,0 +1,5 @@
function EmergencyAddressBook(props) {
return props.children;
}
export default EmergencyAddressBook;

View File

@ -25,13 +25,22 @@ function List(props) {
<Table <Table
columns={[ columns={[
{ title: "公司名称", dataIndex: "corpName" }, { title: "公司名称", dataIndex: "corpName" },
{ title: "专家组数量", dataIndex: "todo" }, { title: "专家组数量", dataIndex: "emergencyContactGroupCount" },
{ title: "应急救援总人数", dataIndex: "todo" }, { title: "应急救援总人数", dataIndex: "emergencyContactPersonCount" },
{ {
title: "操作", title: "操作",
width: 150, width: 150,
fixed: "right", fixed: "right",
render: (_, record) => <Button type="link">应急救援人列表</Button>, render: (_, record) => (
<Button
type="link"
onClick={() => {
props.history.push(`./emergencyAddressBook/list?corpinfoId=${record.corpinfoId}`);
}}
>
应急救援人列表
</Button>
),
}, },
]} ]}
{...tableProps} {...tableProps}

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyExpertTeam/ExpertEmergencyRescueExpert/List";
function List(props) {
return (<ListPage isRecord headerTitle="应急救援专家" {...props} />);
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyExpertTeam/ExpertEmergencyRescueExpert/View";
function View(props) {
return (<ViewPage {...props} />);
}
export default View;

View File

@ -0,0 +1,5 @@
function ExpertEmergencyRescueExpert(props) {
return props.children;
}
export default ExpertEmergencyRescueExpert;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyExpertTeam/ExpertEmergencyRescueExpertGroup/List";
function List(props) {
return (<ListPage isRecord headerTitle="应急救援专家组" {...props} />);
}
export default List;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyExpertTeam/ExpertEmergencyRescueExpertGroup/Member/List";
function List(props) {
return (<ListPage isRecord {...props} />);
}
export default List;

View File

@ -0,0 +1,5 @@
function Member(props) {
return props.children;
}
export default Member;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyExpertTeam/ExpertEmergencyRescueExpertGroup/View";
function View(props) {
return (<ViewPage {...props} />);
}
export default View;

View File

@ -0,0 +1,5 @@
function emergencyRescueExpertGroup(props) {
return props.children;
}
export default emergencyRescueExpertGroup;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyExpertTeam/ExpertEmergencyRescueTeam/EmergencyRescuePersonnel/List";
function List(props) {
return (<ListPage isRecord {...props} />);
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyExpertTeam/ExpertEmergencyRescueTeam/EmergencyRescuePersonnel/View";
function View(props) {
return (<ViewPage {...props} />);
}
export default View;

View File

@ -0,0 +1,5 @@
function EmergencyRescuePersonnel(props) {
return props.children;
}
export default EmergencyRescuePersonnel;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyExpertTeam/ExpertEmergencyRescueTeam/List";
function List(props) {
return (<ListPage isRecord headerTitle="救援队伍" {...props} />);
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyExpertTeam/ExpertEmergencyRescueTeam/View";
function View(props) {
return (<ViewPage {...props} />);
}
export default View;

View File

@ -0,0 +1,5 @@
function EmergencyRescueTeam(props) {
return props.children;
}
export default EmergencyRescueTeam;

View File

@ -27,18 +27,45 @@ function List(props) {
{ title: "公司名称", dataIndex: "corpName" }, { title: "公司名称", dataIndex: "corpName" },
{ {
title: "救援队伍数", title: "救援队伍数",
dataIndex: "todo", dataIndex: "emergencyRescueTeamCount",
render: (_, record) => <Button type="link">{record.todo}</Button>, render: (_, record) => (
<Button
type="link"
onClick={() => {
props.history.push(`./expertEmergencyRescueTeam/list?corpinfoId=${record.corpinfoId}`);
}}
>
{record.emergencyRescueTeamCount}
</Button>
),
}, },
{ {
title: "应急救援专家数", title: "应急救援专家数",
dataIndex: "todo", dataIndex: "emergencyRescueExpertCount",
render: (_, record) => <Button type="link">{record.todo}</Button>, render: (_, record) => (
<Button
type="link"
onClick={() => {
props.history.push(`./expertEmergencyRescueExpert/list?corpinfoId=${record.corpinfoId}`);
}}
>
{record.emergencyRescueExpertCount}
</Button>
),
}, },
{ {
title: "应急救援专家组数", title: "应急救援专家组数",
dataIndex: "todo", dataIndex: "emergencyRescueExpertGroupCount",
render: (_, record) => <Button type="link">{record.todo}</Button>, render: (_, record) => (
<Button
type="link"
onClick={() => {
props.history.push(`./expertEmergencyRescueExpertGroup/list?corpinfoId=${record.corpinfoId}`);
}}
>
{record.emergencyRescueExpertGroupCount}
</Button>
),
}, },
]} ]}
{...tableProps} {...tableProps}

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyManagementOrganization/EnterpriseEmergencyOrganization/List";
function List(props) {
return (<ListPage isRecord headerTitle="应急机构" {...props} />);
}
export default List;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyManagementOrganization/EnterpriseEmergencyOrganization/Personnel/List";
function List(props) {
return (<ListPage {...props} />);
}
export default List;

View File

@ -0,0 +1,5 @@
function Personnel(props) {
return props.children;
}
export default Personnel;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyManagementOrganization/EnterpriseEmergencyOrganization/View";
function View(props) {
return (<ViewPage {...props} />);
}
export default View;

View File

@ -0,0 +1,5 @@
function EnterpriseEmergencyOrganization(props) {
return props.children;
}
export default EnterpriseEmergencyOrganization;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyManagementOrganization/EnterpriseEmergencyPersonnel/List";
function List(props) {
return (<ListPage isRecord headerTitle="应急救援人" {...props} />);
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyManagementOrganization/EnterpriseEmergencyPersonnel/View";
function View(props) {
return (<ViewPage {...props} />);
}
export default View;

View File

@ -0,0 +1,5 @@
function EnterpriseEmergencyPersonnel(props) {
return props.children;
}
export default EnterpriseEmergencyPersonnel;

View File

@ -27,13 +27,31 @@ function List(props) {
{ title: "公司名称", dataIndex: "corpName" }, { title: "公司名称", dataIndex: "corpName" },
{ {
title: "应急机构数", title: "应急机构数",
dataIndex: "todo", dataIndex: "enterpriseEmergencyAgencyCount",
render: (_, record) => <Button type="link">{record.todo}</Button>, render: (_, record) => (
<Button
type="link"
onClick={() => {
props.history.push(`./enterpriseEmergencyOrganization/list?corpinfoId=${record.corpinfoId}`);
}}
>
{record.enterpriseEmergencyAgencyCount}
</Button>
),
}, },
{ {
title: "应急救援人数", title: "应急救援人数",
dataIndex: "todo", dataIndex: "enterpriseEmergencyPersonnelCount",
render: (_, record) => <Button type="link">{record.todo}</Button>, render: (_, record) => (
<Button
type="link"
onClick={() => {
props.history.push(`./enterpriseEmergencyPersonnel/list?corpinfoId=${record.corpinfoId}`);
}}
>
{record.enterpriseEmergencyPersonnelCount}
</Button>
),
}, },
]} ]}
{...tableProps} {...tableProps}

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyRescueTeam/List";
function List(props) {
return (<ListPage isRecord headerTitle="救援队伍" {...props} />);
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyRescueTeam/View";
function View(props) {
return (<ViewPage {...props} />);
}
export default View;

View File

@ -0,0 +1,5 @@
function EmergencyRescueTeam(props) {
return props.children;
}
export default EmergencyRescueTeam;

View File

@ -27,8 +27,17 @@ function List(props) {
{ title: "公司名称", dataIndex: "corpName" }, { title: "公司名称", dataIndex: "corpName" },
{ {
title: "救援队伍数量", title: "救援队伍数量",
dataIndex: "todo", dataIndex: "emergencyRescueTeamManagementCount",
render: (_, record) => <Button type="link">{record.todo}</Button>, render: (_, record) => (
<Button
type="link"
onClick={() => {
props.history.push(`./emergencyRescueTeam/list?corpinfoId=${record.corpinfoId}`);
}}
>
{record.emergencyRescueTeamManagementCount}
</Button>
),
}, },
]} ]}
{...tableProps} {...tableProps}

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyOrganization/ProfessionalGuaranteeOrganization/CommunicationGuaranteeOrganization/List";
function List(props) {
return (<ListPage isRecord headerTitle="通讯保障机构" {...props} />);
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Enterprise/EmergencyOrganization/ProfessionalGuaranteeOrganization/CommunicationGuaranteeOrganization/View";
function View(props) {
return (<ViewPage {...props} />);
}
export default View;

View File

@ -0,0 +1,5 @@
function CommunicationGuaranteeOrganization(props) {
return props.children;
}
export default CommunicationGuaranteeOrganization;

View File

@ -27,23 +27,59 @@ function List(props) {
{ title: "公司名称", dataIndex: "corpName" }, { title: "公司名称", dataIndex: "corpName" },
{ {
title: "运输保障机构", title: "运输保障机构",
dataIndex: "todo", dataIndex: "transportSecurityAgencyCount",
render: (_, record) => <Button type="link">{record.todo}</Button>, render: (_, record) => (
<Button
type="link"
onClick={() => {
props.history.push(`./transportGuaranteeOrganization/list?corpinfoId=${record.corpinfoId}`);
}}
>
{record.transportSecurityAgencyCount}
</Button>
),
}, },
{ {
title: "医疗保障机构", title: "医疗保障机构",
dataIndex: "todo", dataIndex: "medicalSecurityAgencyCount",
render: (_, record) => <Button type="link">{record.todo}</Button>, render: (_, record) => (
<Button
type="link"
onClick={() => {
props.history.push(`./medicalGuaranteeOrganization/list?corpinfoId=${record.corpinfoId}`);
}}
>
{record.medicalSecurityAgencyCount}
</Button>
),
}, },
{ {
title: "通讯保障机构", title: "通讯保障机构",
dataIndex: "todo", dataIndex: "communicationSecurityAgencyCount",
render: (_, record) => <Button type="link">{record.todo}</Button>, render: (_, record) => (
<Button
type="link"
onClick={() => {
props.history.push(`./communicationGuaranteeOrganization/list?corpinfoId=${record.corpinfoId}`);
}}
>
{record.communicationSecurityAgencyCount}
</Button>
),
}, },
{ {
title: "技术支持机构", title: "技术支持机构",
dataIndex: "todo", dataIndex: "technicalSupportAgencyCount",
render: (_, record) => <Button type="link">{record.todo}</Button>, render: (_, record) => (
<Button
type="link"
onClick={() => {
props.history.push(`./technicalSupportGuaranteeOrganization/list?corpinfoId=${record.corpinfoId}`);
}}
>
{record.technicalSupportAgencyCount}
</Button>
),
}, },
]} ]}
{...tableProps} {...tableProps}

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyOrganization/ProfessionalGuaranteeOrganization/MedicalGuaranteeOrganization/List";
function List(props) {
return (<ListPage isRecord headerTitle="医疗保障机构" {...props} />);
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Enterprise/EmergencyOrganization/ProfessionalGuaranteeOrganization/MedicalGuaranteeOrganization/View";
function View(props) {
return (<ViewPage {...props} />);
}
export default View;

View File

@ -0,0 +1,5 @@
function MedicalGuaranteeOrganization(props) {
return props.children;
}
export default MedicalGuaranteeOrganization;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyOrganization/ProfessionalGuaranteeOrganization/TechnicalSupportGuaranteeOrganization/List";
function List(props) {
return (<ListPage isRecord headerTitle="技术支持机构" {...props} />);
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Enterprise/EmergencyOrganization/ProfessionalGuaranteeOrganization/TechnicalSupportGuaranteeOrganization/View";
function View(props) {
return (<ViewPage {...props} />);
}
export default View;

View File

@ -0,0 +1,5 @@
function TechnicalSupportGuaranteeOrganization(props) {
return props.children;
}
export default TechnicalSupportGuaranteeOrganization;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyOrganization/ProfessionalGuaranteeOrganization/TransportGuaranteeOrganization/List";
function List(props) {
return (<ListPage isRecord headerTitle="运输保障机构" {...props} />);
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Enterprise/EmergencyOrganization/EmergencyExpertTeam/ExpertEmergencyRescueExpert/View";
function View(props) {
return (<ViewPage {...props} />);
}
export default View;

View File

@ -0,0 +1,5 @@
function TransportGuaranteeOrganization(props) {
return props.children;
}
export default TransportGuaranteeOrganization;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyResource/ClosedCardPort/List";
function List(props) {
return <ListPage isRecord headerTitle="封闭卡口" {...props} />;
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Enterprise/EmergencyResource/ClosedCardPort/View";
function View(props) {
return <ViewPage {...props} />;
}
export default View;

View File

@ -0,0 +1,5 @@
function ClosedCardPort(props) {
return props.children;
}
export default ClosedCardPort;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyResource/DrainageWell/List";
function List(props) {
return <ListPage isRecord headerTitle="排水井" {...props} />;
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Enterprise/EmergencyResource/DrainageWell/View";
function View(props) {
return <ViewPage {...props} />;
}
export default View;

View File

@ -0,0 +1,5 @@
function DrainageWell(props) {
return props.children;
}
export default DrainageWell;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyResource/EmergencyEquipment/List";
function List(props) {
return <ListPage isRecord headerTitle="应急装备" {...props} />;
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Enterprise/EmergencyResource/EmergencyEquipment/View";
function View(props) {
return <ViewPage {...props} />;
}
export default View;

View File

@ -0,0 +1,5 @@
function EmergencyEquipment(props) {
return props.children;
}
export default EmergencyEquipment;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyResource/EmergencyShelter/List";
function List(props) {
return <ListPage isRecord headerTitle="应急避难场所" {...props} />;
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Enterprise/EmergencyResource/EmergencyShelter/View";
function View(props) {
return <ViewPage {...props} />;
}
export default View;

View File

@ -0,0 +1,5 @@
function EmergencyShelter(props) {
return props.children;
}
export default EmergencyShelter;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyResource/FirefightingEquipment/List";
function List(props) {
return <ListPage headerTitle="消防物资" {...props} />;
}
export default List;

View File

@ -0,0 +1,5 @@
function FirefightingEquipment(props) {
return props.children;
}
export default FirefightingEquipment;

View File

@ -27,33 +27,87 @@ function List(props) {
{ title: "公司名称", dataIndex: "corpName" }, { title: "公司名称", dataIndex: "corpName" },
{ {
title: "应急装备数", title: "应急装备数",
dataIndex: "todo", dataIndex: "emergencyEquipmentCount",
render: (_, record) => <Button type="link">{record.todo}</Button>, render: (_, record) => (
<Button
type="link"
onClick={() => {
props.history.push(`./emergencyEquipment/list?corpinfoId=${record.corpinfoId}`);
}}
>
{record.emergencyEquipmentCount}
</Button>
),
}, },
{ {
title: "物资装备库数", title: "物资装备库数",
dataIndex: "todo", dataIndex: "materialEquipmentCount",
render: (_, record) => <Button type="link">{record.todo}</Button>, render: (_, record) => (
<Button
type="link"
onClick={() => {
props.history.push(`./materialEquipment/list?corpinfoId=${record.corpinfoId}`);
}}
>
{record.materialEquipmentCount}
</Button>
),
}, },
{ {
title: "应急避难场所数", title: "应急避难场所数",
dataIndex: "todo", dataIndex: "placeInfoCount",
render: (_, record) => <Button type="link">{record.todo}</Button>, render: (_, record) => (
<Button
type="link"
onClick={() => {
props.history.push(`./emergencyShelter/list?corpinfoId=${record.corpinfoId}`);
}}
>
{record.placeInfoCount}
</Button>
),
}, },
{ {
title: "消防物资数", title: "消防物资数",
dataIndex: "todo", dataIndex: "fireFightingCount",
render: (_, record) => <Button type="link">{record.todo}</Button>, render: (_, record) => (
<Button
type="link"
onClick={() => {
props.history.push(`./firefightingEquipment/list?corpinfoId=${record.corpinfoId}`);
}}
>
{record.fireFightingCount}
</Button>
),
}, },
{ {
title: "排水井数", title: "排水井数",
dataIndex: "todo", dataIndex: "drainageWellCount",
render: (_, record) => <Button type="link">{record.todo}</Button>, render: (_, record) => (
<Button
type="link"
onClick={() => {
props.history.push(`./drainageWell/list?corpinfoId=${record.corpinfoId}`);
}}
>
{record.drainageWellCount}
</Button>
),
}, },
{ {
title: "封闭卡口数", title: "封闭卡口数",
dataIndex: "todo", dataIndex: "closedCheckpointInfoCount",
render: (_, record) => <Button type="link">{record.todo}</Button>, render: (_, record) => (
<Button
type="link"
onClick={() => {
props.history.push(`./closedCardPort/list?corpinfoId=${record.corpinfoId}`);
}}
>
{record.closedCheckpointInfoCount}
</Button>
),
}, },
]} ]}
{...tableProps} {...tableProps}

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyResource/MaterialEquipment/FacilitiesEquipment/List";
function List(props) {
return <ListPage isRecord {...props} />;
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Enterprise/EmergencyResource/MaterialEquipment/FacilitiesEquipment/View";
function View(props) {
return <ViewPage {...props} />;
}
export default View;

View File

@ -0,0 +1,5 @@
function FacilitiesEquipment(props) {
return props.children;
}
export default FacilitiesEquipment;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyResource/MaterialEquipment/List";
function List(props) {
return <ListPage isRecord headerTitle="物资装备库" {...props} />;
}
export default List;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyResource/MaterialEquipment/Material/List";
function List(props) {
return <ListPage isRecord {...props} />;
}
export default List;

View File

@ -0,0 +1,7 @@
import ViewPage from "~/pages/Container/Enterprise/EmergencyResource/MaterialEquipment/Material/View";
function View(props) {
return <ViewPage {...props} />;
}
export default View;

View File

@ -0,0 +1,5 @@
function Material(props) {
return props.children;
}
export default Material;

View File

@ -0,0 +1,7 @@
import ListPage from "~/pages/Container/Enterprise/EmergencyResource/MaterialEquipment/RescueEquipment/List";
function List(props) {
return <ListPage isRecord {...props} />;
}
export default List;

Some files were not shown because too many files have changed in this diff Show More