监管端统计完善跳转连接
parent
7b5d968b2a
commit
ba7801a494
|
|
@ -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_DUTY_LOG } from "~/enumerate/namespace";
|
import { NS_DUTY_LOG } from "~/enumerate/namespace";
|
||||||
|
|
||||||
|
|
@ -14,8 +15,11 @@ function List(props) {
|
||||||
|
|
||||||
const [form] = Search.useForm();
|
const [form] = Search.useForm();
|
||||||
|
|
||||||
|
const query = useGetUrlQuery();
|
||||||
|
|
||||||
const { tableProps, getData } = useTable(props["dutyLogList"], {
|
const { tableProps, getData } = useTable(props["dutyLogList"], {
|
||||||
form,
|
form,
|
||||||
|
params: { corpinfoId: query.corpinfoId },
|
||||||
});
|
});
|
||||||
|
|
||||||
const onDelete = (record) => {
|
const onDelete = (record) => {
|
||||||
|
|
@ -51,7 +55,7 @@ function List(props) {
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Page isShowAllAction={false}>
|
<Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
|
||||||
<Search
|
<Search
|
||||||
options={[
|
options={[
|
||||||
{ name: "likeUnitName", label: "单位名称" },
|
{ name: "likeUnitName", label: "单位名称" },
|
||||||
|
|
@ -69,6 +73,7 @@ function List(props) {
|
||||||
}}
|
}}
|
||||||
toolBarRender={() => (
|
toolBarRender={() => (
|
||||||
<Space>
|
<Space>
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={(<AddIcon />)}
|
icon={(<AddIcon />)}
|
||||||
|
|
@ -78,6 +83,8 @@ function List(props) {
|
||||||
>
|
>
|
||||||
新增
|
新增
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
danger
|
danger
|
||||||
|
|
@ -87,6 +94,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
批量删除
|
批量删除
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
)}
|
)}
|
||||||
columns={[
|
columns={[
|
||||||
|
|
@ -112,6 +120,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
</Button>
|
</Button>
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
@ -120,6 +129,8 @@ function List(props) {
|
||||||
>
|
>
|
||||||
编辑
|
编辑
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
danger
|
danger
|
||||||
|
|
@ -129,6 +140,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
删除
|
删除
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,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 Table from "zy-react-library/components/Table";
|
import Table from "zy-react-library/components/Table";
|
||||||
import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender";
|
import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender";
|
||||||
|
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
|
||||||
import useImportFile from "zy-react-library/hooks/useImportFile";
|
import useImportFile from "zy-react-library/hooks/useImportFile";
|
||||||
import useTable from "zy-react-library/hooks/useTable";
|
import useTable from "zy-react-library/hooks/useTable";
|
||||||
import { NS_SCHEDULING_REGISTRATION } from "~/enumerate/namespace";
|
import { NS_SCHEDULING_REGISTRATION } from "~/enumerate/namespace";
|
||||||
|
|
@ -18,13 +19,16 @@ function List(props) {
|
||||||
const [form] = Search.useForm();
|
const [form] = Search.useForm();
|
||||||
const { loading: importLoading, importFile } = useImportFile();
|
const { loading: importLoading, importFile } = useImportFile();
|
||||||
|
|
||||||
|
const query = useGetUrlQuery();
|
||||||
|
|
||||||
const { tableProps, getData } = useTable(props["schedulingRegistrationListAll"], {
|
const { tableProps, getData } = useTable(props["schedulingRegistrationListAll"], {
|
||||||
form,
|
form,
|
||||||
usePagination: false,
|
usePagination: false,
|
||||||
|
params: { corpinfoId: query.corpinfoId },
|
||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Page isShowAllAction={false}>
|
<Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
|
||||||
<Search
|
<Search
|
||||||
values={{
|
values={{
|
||||||
likeShiftScheduleDate: dayjs().format("YYYY-MM"),
|
likeShiftScheduleDate: dayjs().format("YYYY-MM"),
|
||||||
|
|
@ -39,6 +43,7 @@ function List(props) {
|
||||||
<Table
|
<Table
|
||||||
toolBarRender={() => (
|
toolBarRender={() => (
|
||||||
<Space>
|
<Space>
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={(<ImportIcon />)}
|
icon={(<ImportIcon />)}
|
||||||
|
|
@ -48,6 +53,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
导入
|
导入
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
)}
|
)}
|
||||||
columns={[
|
columns={[
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ import { UPLOAD_FILE_TYPE_ENUM } from "zy-react-library/enum/uploadFile/gwj";
|
||||||
import useDeleteFile from "zy-react-library/hooks/useDeleteFile";
|
import useDeleteFile from "zy-react-library/hooks/useDeleteFile";
|
||||||
import useDownloadFile from "zy-react-library/hooks/useDownloadFile";
|
import useDownloadFile from "zy-react-library/hooks/useDownloadFile";
|
||||||
import useGetFile from "zy-react-library/hooks/useGetFile";
|
import useGetFile from "zy-react-library/hooks/useGetFile";
|
||||||
|
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 useUploadFile from "zy-react-library/hooks/useUploadFile";
|
import useUploadFile from "zy-react-library/hooks/useUploadFile";
|
||||||
import { NS_EMERGENCY_KNOWLEDGE_LIBRARY } from "~/enumerate/namespace";
|
import { NS_EMERGENCY_KNOWLEDGE_LIBRARY } from "~/enumerate/namespace";
|
||||||
|
|
@ -28,9 +29,11 @@ function List(props) {
|
||||||
|
|
||||||
const [form] = Search.useForm();
|
const [form] = Search.useForm();
|
||||||
|
|
||||||
|
const query = useGetUrlQuery();
|
||||||
|
|
||||||
const { tableProps, getData } = useTable(props["emergencyKnowledgeLibraryList"], {
|
const { tableProps, getData } = useTable(props["emergencyKnowledgeLibraryList"], {
|
||||||
form,
|
form,
|
||||||
params: { likeEmergencyCaseType: 1 },
|
params: { likeEmergencyCaseType: 1, corpinfoId: query.corpinfoId },
|
||||||
});
|
});
|
||||||
|
|
||||||
const onDelete = (record) => {
|
const onDelete = (record) => {
|
||||||
|
|
@ -66,7 +69,7 @@ function List(props) {
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Page isShowAllAction={false}>
|
<Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
|
||||||
<Search
|
<Search
|
||||||
options={[
|
options={[
|
||||||
{ name: "title", label: "标题" },
|
{ name: "title", label: "标题" },
|
||||||
|
|
@ -84,6 +87,7 @@ function List(props) {
|
||||||
}}
|
}}
|
||||||
toolBarRender={() => (
|
toolBarRender={() => (
|
||||||
<Space>
|
<Space>
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={(<AddIcon />)}
|
icon={(<AddIcon />)}
|
||||||
|
|
@ -93,6 +97,8 @@ function List(props) {
|
||||||
>
|
>
|
||||||
新增
|
新增
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
danger
|
danger
|
||||||
|
|
@ -102,6 +108,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
批量删除
|
批量删除
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
)}
|
)}
|
||||||
columns={[
|
columns={[
|
||||||
|
|
@ -130,6 +137,7 @@ function List(props) {
|
||||||
title: "操作",
|
title: "操作",
|
||||||
width: 150,
|
width: 150,
|
||||||
fixed: "right",
|
fixed: "right",
|
||||||
|
hidden: props.isRecord,
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
<Space>
|
<Space>
|
||||||
<Button
|
<Button
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ import { UPLOAD_FILE_TYPE_ENUM } from "zy-react-library/enum/uploadFile/gwj";
|
||||||
import useDeleteFile from "zy-react-library/hooks/useDeleteFile";
|
import useDeleteFile from "zy-react-library/hooks/useDeleteFile";
|
||||||
import useDownloadFile from "zy-react-library/hooks/useDownloadFile";
|
import useDownloadFile from "zy-react-library/hooks/useDownloadFile";
|
||||||
import useGetFile from "zy-react-library/hooks/useGetFile";
|
import useGetFile from "zy-react-library/hooks/useGetFile";
|
||||||
|
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 useUploadFile from "zy-react-library/hooks/useUploadFile";
|
import useUploadFile from "zy-react-library/hooks/useUploadFile";
|
||||||
import { NS_EMERGENCY_KNOWLEDGE_LIBRARY } from "~/enumerate/namespace";
|
import { NS_EMERGENCY_KNOWLEDGE_LIBRARY } from "~/enumerate/namespace";
|
||||||
|
|
@ -27,9 +28,11 @@ function List(props) {
|
||||||
|
|
||||||
const [form] = Search.useForm();
|
const [form] = Search.useForm();
|
||||||
|
|
||||||
|
const query = useGetUrlQuery();
|
||||||
|
|
||||||
const { tableProps, getData } = useTable(props["emergencyKnowledgeLibraryList"], {
|
const { tableProps, getData } = useTable(props["emergencyKnowledgeLibraryList"], {
|
||||||
form,
|
form,
|
||||||
params: { likeEmergencyCaseType: 4 },
|
params: { likeEmergencyCaseType: 4, corpinfoId: query.corpinfoId },
|
||||||
});
|
});
|
||||||
|
|
||||||
const onDelete = (record) => {
|
const onDelete = (record) => {
|
||||||
|
|
@ -65,7 +68,7 @@ function List(props) {
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Page isShowAllAction={false}>
|
<Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
|
||||||
<Search
|
<Search
|
||||||
options={[
|
options={[
|
||||||
{ name: "title", label: "名称" },
|
{ name: "title", label: "名称" },
|
||||||
|
|
@ -83,6 +86,7 @@ function List(props) {
|
||||||
}}
|
}}
|
||||||
toolBarRender={() => (
|
toolBarRender={() => (
|
||||||
<Space>
|
<Space>
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={(<AddIcon />)}
|
icon={(<AddIcon />)}
|
||||||
|
|
@ -92,6 +96,8 @@ function List(props) {
|
||||||
>
|
>
|
||||||
新增
|
新增
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
danger
|
danger
|
||||||
|
|
@ -101,6 +107,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
批量删除
|
批量删除
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
)}
|
)}
|
||||||
columns={[
|
columns={[
|
||||||
|
|
@ -129,6 +136,7 @@ function List(props) {
|
||||||
title: "操作",
|
title: "操作",
|
||||||
width: 150,
|
width: 150,
|
||||||
fixed: "right",
|
fixed: "right",
|
||||||
|
hidden: props.isRecord,
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
<Space>
|
<Space>
|
||||||
<Button
|
<Button
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ import { UPLOAD_FILE_TYPE_ENUM } from "zy-react-library/enum/uploadFile/gwj";
|
||||||
import useDeleteFile from "zy-react-library/hooks/useDeleteFile";
|
import useDeleteFile from "zy-react-library/hooks/useDeleteFile";
|
||||||
import useDownloadFile from "zy-react-library/hooks/useDownloadFile";
|
import useDownloadFile from "zy-react-library/hooks/useDownloadFile";
|
||||||
import useGetFile from "zy-react-library/hooks/useGetFile";
|
import useGetFile from "zy-react-library/hooks/useGetFile";
|
||||||
|
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 useUploadFile from "zy-react-library/hooks/useUploadFile";
|
import useUploadFile from "zy-react-library/hooks/useUploadFile";
|
||||||
import { NS_EMERGENCY_KNOWLEDGE_LIBRARY } from "~/enumerate/namespace";
|
import { NS_EMERGENCY_KNOWLEDGE_LIBRARY } from "~/enumerate/namespace";
|
||||||
|
|
@ -27,9 +28,11 @@ function List(props) {
|
||||||
|
|
||||||
const [form] = Search.useForm();
|
const [form] = Search.useForm();
|
||||||
|
|
||||||
|
const query = useGetUrlQuery();
|
||||||
|
|
||||||
const { tableProps, getData } = useTable(props["emergencyKnowledgeLibraryList"], {
|
const { tableProps, getData } = useTable(props["emergencyKnowledgeLibraryList"], {
|
||||||
form,
|
form,
|
||||||
params: { likeEmergencyCaseType: 3 },
|
params: { likeEmergencyCaseType: 3, corpinfoId: query.corpinfoId },
|
||||||
});
|
});
|
||||||
|
|
||||||
const onDelete = (record) => {
|
const onDelete = (record) => {
|
||||||
|
|
@ -65,7 +68,7 @@ function List(props) {
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Page isShowAllAction={false}>
|
<Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
|
||||||
<Search
|
<Search
|
||||||
options={[
|
options={[
|
||||||
{ name: "title", label: "中文名称" },
|
{ name: "title", label: "中文名称" },
|
||||||
|
|
@ -83,6 +86,7 @@ function List(props) {
|
||||||
}}
|
}}
|
||||||
toolBarRender={() => (
|
toolBarRender={() => (
|
||||||
<Space>
|
<Space>
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={(<AddIcon />)}
|
icon={(<AddIcon />)}
|
||||||
|
|
@ -92,6 +96,8 @@ function List(props) {
|
||||||
>
|
>
|
||||||
新增
|
新增
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
danger
|
danger
|
||||||
|
|
@ -101,6 +107,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
批量删除
|
批量删除
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
)}
|
)}
|
||||||
columns={[
|
columns={[
|
||||||
|
|
@ -129,6 +136,7 @@ function List(props) {
|
||||||
title: "操作",
|
title: "操作",
|
||||||
width: 150,
|
width: 150,
|
||||||
fixed: "right",
|
fixed: "right",
|
||||||
|
hidden: props.isRecord,
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
<Space>
|
<Space>
|
||||||
<Button
|
<Button
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ import { UPLOAD_FILE_TYPE_ENUM } from "zy-react-library/enum/uploadFile/gwj";
|
||||||
import useDeleteFile from "zy-react-library/hooks/useDeleteFile";
|
import useDeleteFile from "zy-react-library/hooks/useDeleteFile";
|
||||||
import useDownloadFile from "zy-react-library/hooks/useDownloadFile";
|
import useDownloadFile from "zy-react-library/hooks/useDownloadFile";
|
||||||
import useGetFile from "zy-react-library/hooks/useGetFile";
|
import useGetFile from "zy-react-library/hooks/useGetFile";
|
||||||
|
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 useUploadFile from "zy-react-library/hooks/useUploadFile";
|
import useUploadFile from "zy-react-library/hooks/useUploadFile";
|
||||||
import { NS_EMERGENCY_KNOWLEDGE_LIBRARY } from "~/enumerate/namespace";
|
import { NS_EMERGENCY_KNOWLEDGE_LIBRARY } from "~/enumerate/namespace";
|
||||||
|
|
@ -27,9 +28,11 @@ function List(props) {
|
||||||
|
|
||||||
const [form] = Search.useForm();
|
const [form] = Search.useForm();
|
||||||
|
|
||||||
|
const query = useGetUrlQuery();
|
||||||
|
|
||||||
const { tableProps, getData } = useTable(props["emergencyKnowledgeLibraryList"], {
|
const { tableProps, getData } = useTable(props["emergencyKnowledgeLibraryList"], {
|
||||||
form,
|
form,
|
||||||
params: { likeEmergencyCaseType: 2 },
|
params: { likeEmergencyCaseType: 2, corpinfoId: query.corpinfoId },
|
||||||
});
|
});
|
||||||
|
|
||||||
const onDelete = (record) => {
|
const onDelete = (record) => {
|
||||||
|
|
@ -65,7 +68,7 @@ function List(props) {
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Page isShowAllAction={false}>
|
<Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
|
||||||
<Search
|
<Search
|
||||||
options={[
|
options={[
|
||||||
{ name: "title", label: "物品名称" },
|
{ name: "title", label: "物品名称" },
|
||||||
|
|
@ -83,6 +86,7 @@ function List(props) {
|
||||||
}}
|
}}
|
||||||
toolBarRender={() => (
|
toolBarRender={() => (
|
||||||
<Space>
|
<Space>
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={(<AddIcon />)}
|
icon={(<AddIcon />)}
|
||||||
|
|
@ -92,6 +96,8 @@ function List(props) {
|
||||||
>
|
>
|
||||||
新增
|
新增
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
danger
|
danger
|
||||||
|
|
@ -101,6 +107,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
批量删除
|
批量删除
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
)}
|
)}
|
||||||
columns={[
|
columns={[
|
||||||
|
|
@ -128,6 +135,7 @@ function List(props) {
|
||||||
title: "操作",
|
title: "操作",
|
||||||
width: 150,
|
width: 150,
|
||||||
fixed: "right",
|
fixed: "right",
|
||||||
|
hidden: props.isRecord,
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
<Space>
|
<Space>
|
||||||
<Button
|
<Button
|
||||||
|
|
|
||||||
|
|
@ -6,14 +6,18 @@ 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 { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender";
|
import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender";
|
||||||
|
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_EVENT_REPORT } from "~/enumerate/namespace";
|
import { NS_EVENT_REPORT } from "~/enumerate/namespace";
|
||||||
|
|
||||||
function List(props) {
|
function List(props) {
|
||||||
const [form] = Search.useForm();
|
const [form] = Search.useForm();
|
||||||
|
|
||||||
|
const query = useGetUrlQuery();
|
||||||
|
|
||||||
const { tableProps, getData } = useTable(props["eventReportList"], {
|
const { tableProps, getData } = useTable(props["eventReportList"], {
|
||||||
form,
|
form,
|
||||||
|
params: { corpinfoId: query.corpinfoId },
|
||||||
});
|
});
|
||||||
|
|
||||||
const onRescue = async (id) => {
|
const onRescue = async (id) => {
|
||||||
|
|
@ -31,7 +35,7 @@ function List(props) {
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Page isShowAllAction={false}>
|
<Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
|
||||||
<Search
|
<Search
|
||||||
options={[
|
options={[
|
||||||
{ name: "likeAccessMode", label: "接入方式", render: (<DictionarySelect dictValue="eventReportMethod" />) },
|
{ name: "likeAccessMode", label: "接入方式", render: (<DictionarySelect dictValue="eventReportMethod" />) },
|
||||||
|
|
@ -44,6 +48,7 @@ function List(props) {
|
||||||
<Table
|
<Table
|
||||||
toolBarRender={() => (
|
toolBarRender={() => (
|
||||||
<Space>
|
<Space>
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={(<AddIcon />)}
|
icon={(<AddIcon />)}
|
||||||
|
|
@ -53,6 +58,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
新增
|
新增
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
)}
|
)}
|
||||||
columns={[
|
columns={[
|
||||||
|
|
@ -73,7 +79,7 @@ function List(props) {
|
||||||
fixed: "right",
|
fixed: "right",
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
<Space>
|
<Space>
|
||||||
{record.isRescueExecuted === 1 && (
|
{(!props.isRecord && record.isRescueExecuted === 1) && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
@ -91,6 +97,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
</Button>
|
</Button>
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
@ -111,6 +118,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
生成专报
|
生成专报
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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 Table from "zy-react-library/components/Table";
|
import Table from "zy-react-library/components/Table";
|
||||||
import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender";
|
import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender";
|
||||||
|
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_EXERCISE } from "~/enumerate/namespace";
|
import { NS_EMERGENCY_EXERCISE } from "~/enumerate/namespace";
|
||||||
|
|
||||||
|
|
@ -15,12 +16,15 @@ function List(props) {
|
||||||
|
|
||||||
const [form] = Search.useForm();
|
const [form] = Search.useForm();
|
||||||
|
|
||||||
|
const query = useGetUrlQuery();
|
||||||
|
|
||||||
const { tableProps, getData } = useTable(props["emergencyExerciseList"], {
|
const { tableProps, getData } = useTable(props["emergencyExerciseList"], {
|
||||||
form,
|
form,
|
||||||
transform: formData => ({
|
transform: formData => ({
|
||||||
drillStartTime: formData.drillTime?.[0],
|
drillStartTime: formData.drillTime?.[0],
|
||||||
drillEndTime: formData.drillTime?.[1],
|
drillEndTime: formData.drillTime?.[1],
|
||||||
}),
|
}),
|
||||||
|
params: { corpinfoId: query.corpinfoId },
|
||||||
});
|
});
|
||||||
|
|
||||||
const onDelete = (record) => {
|
const onDelete = (record) => {
|
||||||
|
|
@ -56,7 +60,7 @@ function List(props) {
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Page isShowAllAction={false}>
|
<Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
|
||||||
<Search
|
<Search
|
||||||
options={[
|
options={[
|
||||||
{ name: "likeDrillName", label: "应急演练方案名称" },
|
{ name: "likeDrillName", label: "应急演练方案名称" },
|
||||||
|
|
@ -75,6 +79,7 @@ function List(props) {
|
||||||
}}
|
}}
|
||||||
toolBarRender={() => (
|
toolBarRender={() => (
|
||||||
<Space>
|
<Space>
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={(<AddIcon />)}
|
icon={(<AddIcon />)}
|
||||||
|
|
@ -84,6 +89,8 @@ function List(props) {
|
||||||
>
|
>
|
||||||
新增
|
新增
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
danger
|
danger
|
||||||
|
|
@ -93,6 +100,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
批量删除
|
批量删除
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
)}
|
)}
|
||||||
columns={[
|
columns={[
|
||||||
|
|
@ -113,6 +121,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
</Button>
|
</Button>
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
@ -121,6 +130,8 @@ function List(props) {
|
||||||
>
|
>
|
||||||
编辑
|
编辑
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
danger
|
danger
|
||||||
|
|
@ -130,6 +141,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
删除
|
删除
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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_PLAN } from "~/enumerate/namespace";
|
import { NS_EMERGENCY_PLAN } from "~/enumerate/namespace";
|
||||||
|
|
||||||
|
|
@ -14,8 +15,11 @@ function List(props) {
|
||||||
|
|
||||||
const [form] = Search.useForm();
|
const [form] = Search.useForm();
|
||||||
|
|
||||||
|
const query = useGetUrlQuery();
|
||||||
|
|
||||||
const { tableProps, getData } = useTable(props["emergencyPlanList"], {
|
const { tableProps, getData } = useTable(props["emergencyPlanList"], {
|
||||||
form,
|
form,
|
||||||
|
params: { corpinfoId: query.corpinfoId },
|
||||||
});
|
});
|
||||||
|
|
||||||
const onDelete = (record) => {
|
const onDelete = (record) => {
|
||||||
|
|
@ -51,7 +55,7 @@ function List(props) {
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Page isShowAllAction={false}>
|
<Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
|
||||||
<Search
|
<Search
|
||||||
options={[
|
options={[
|
||||||
{ name: "likePlanName", label: "应急预案名称" },
|
{ name: "likePlanName", label: "应急预案名称" },
|
||||||
|
|
@ -69,6 +73,7 @@ function List(props) {
|
||||||
}}
|
}}
|
||||||
toolBarRender={() => (
|
toolBarRender={() => (
|
||||||
<Space>
|
<Space>
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={(<AddIcon />)}
|
icon={(<AddIcon />)}
|
||||||
|
|
@ -78,6 +83,8 @@ function List(props) {
|
||||||
>
|
>
|
||||||
新增
|
新增
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
danger
|
danger
|
||||||
|
|
@ -87,6 +94,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
批量删除
|
批量删除
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
)}
|
)}
|
||||||
columns={[
|
columns={[
|
||||||
|
|
@ -108,6 +116,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
</Button>
|
</Button>
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
@ -116,6 +125,8 @@ function List(props) {
|
||||||
>
|
>
|
||||||
编辑
|
编辑
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
|
{!props.isRecord && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
danger
|
danger
|
||||||
|
|
@ -125,6 +136,7 @@ function List(props) {
|
||||||
>
|
>
|
||||||
删除
|
删除
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ import AddIcon from "zy-react-library/components/Icon/AddIcon";
|
||||||
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 { getLabelName } from "zy-react-library/utils";
|
import { getLabelName } from "zy-react-library/utils";
|
||||||
import { ENTERPRISE_PLAN_AUDIT_STATUS_ENUM } from "~/enumerate/constant";
|
import { ENTERPRISE_PLAN_AUDIT_STATUS_ENUM } from "~/enumerate/constant";
|
||||||
|
|
@ -16,9 +17,11 @@ function List(props) {
|
||||||
|
|
||||||
const [form] = Search.useForm();
|
const [form] = Search.useForm();
|
||||||
|
|
||||||
|
const query = useGetUrlQuery();
|
||||||
|
|
||||||
const { tableProps, getData } = useTable(props["enterprisePlanBasicInfoList"], {
|
const { tableProps, getData } = useTable(props["enterprisePlanBasicInfoList"], {
|
||||||
form,
|
form,
|
||||||
params: { processStatus: props.processStatus || 0 },
|
params: { processStatus: props.processStatus || 0, corpinfoId: query.corpinfoId },
|
||||||
});
|
});
|
||||||
|
|
||||||
const onDelete = (record) => {
|
const onDelete = (record) => {
|
||||||
|
|
@ -36,7 +39,7 @@ function List(props) {
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Page isShowAllAction={false}>
|
<Page isShowAllAction={props.headerTitle || false} headerTitle={props.headerTitle}>
|
||||||
<Search
|
<Search
|
||||||
options={[
|
options={[
|
||||||
{ name: "planName", label: "预案名称" },
|
{ name: "planName", label: "预案名称" },
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Enterprise/EmergencyRescue/EmergencyReporting/EventReport/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage isRecord headerTitle="事件接报" {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ViewPage from "~/pages/Container/Enterprise/EmergencyRescue/EmergencyReporting/EventReport/View";
|
||||||
|
|
||||||
|
function View(props) {
|
||||||
|
return (<ViewPage {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default View;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function EventReport(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default EventReport;
|
||||||
|
|
@ -32,7 +32,16 @@ function List(props) {
|
||||||
title: "操作",
|
title: "操作",
|
||||||
width: 100,
|
width: 100,
|
||||||
fixed: "right",
|
fixed: "right",
|
||||||
render: (_, record) => <Button type="link">查看</Button>,
|
render: (_, record) => (
|
||||||
|
<Button
|
||||||
|
type="link"
|
||||||
|
onClick={() => {
|
||||||
|
props.history.push(`./eventReport/list?corpinfoId=${record.corpinfoId}`);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
查看
|
||||||
|
</Button>
|
||||||
|
),
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
{...tableProps}
|
{...tableProps}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Enterprise/EmergencyRescue/EmergencyKnowledgeLibrary/Case/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage isRecord isShowAllAction="案例库" {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function Case(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Case;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Enterprise/EmergencyRescue/EmergencyKnowledgeLibrary/GenerationProcess/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage isRecord isShowAllAction="生产工艺" {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function Case(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Case;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Enterprise/EmergencyRescue/EmergencyKnowledgeLibrary/HazardousChemicals/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage isRecord isShowAllAction="危化品" {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function HazardousGoods(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default HazardousGoods;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Enterprise/EmergencyRescue/EmergencyKnowledgeLibrary/HazardousGoods/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage isRecord isShowAllAction="危险货物品" {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function HazardousGoods(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default HazardousGoods;
|
||||||
|
|
@ -28,22 +28,58 @@ function List(props) {
|
||||||
{
|
{
|
||||||
title: "案例库数",
|
title: "案例库数",
|
||||||
dataIndex: "todo",
|
dataIndex: "todo",
|
||||||
render: (_, record) => <Button type="link">{record.todo}</Button>,
|
render: (_, record) => (
|
||||||
|
<Button
|
||||||
|
type="link"
|
||||||
|
onClick={() => {
|
||||||
|
props.history.push(`./case/list?corpinfoId=${record.corpinfoId}`);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{record.todo}
|
||||||
|
</Button>
|
||||||
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "危险货物品数",
|
title: "危险货物品数",
|
||||||
dataIndex: "todo",
|
dataIndex: "todo",
|
||||||
render: (_, record) => <Button type="link">{record.todo}</Button>,
|
render: (_, record) => (
|
||||||
|
<Button
|
||||||
|
type="link"
|
||||||
|
onClick={() => {
|
||||||
|
props.history.push(`./hazardousGoods/list?corpinfoId=${record.corpinfoId}`);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{record.todo}
|
||||||
|
</Button>
|
||||||
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "危化品数",
|
title: "危化品数",
|
||||||
dataIndex: "todo",
|
dataIndex: "todo",
|
||||||
render: (_, record) => <Button type="link">{record.todo}</Button>,
|
render: (_, record) => (
|
||||||
|
<Button
|
||||||
|
type="link"
|
||||||
|
onClick={() => {
|
||||||
|
props.history.push(`./hazardousChemicals/list?corpinfoId=${record.corpinfoId}`);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{record.todo}
|
||||||
|
</Button>
|
||||||
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "生产工艺数",
|
title: "生产工艺数",
|
||||||
dataIndex: "todo",
|
dataIndex: "todo",
|
||||||
render: (_, record) => <Button type="link">{record.todo}</Button>,
|
render: (_, record) => (
|
||||||
|
<Button
|
||||||
|
type="link"
|
||||||
|
onClick={() => {
|
||||||
|
props.history.push(`./generationProcess/list?corpinfoId=${record.corpinfoId}`);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{record.todo}
|
||||||
|
</Button>
|
||||||
|
),
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
{...tableProps}
|
{...tableProps}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Enterprise/EmergencyRescue/Duty/DutyLog/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage isRecord headerTitle="值班日志" {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ViewPage from "~/pages/Container/Enterprise/PlanAndDrill/EmergencyExercise/View";
|
||||||
|
|
||||||
|
function View(props) {
|
||||||
|
return (<ViewPage {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default View;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function DutyLog(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default DutyLog;
|
||||||
|
|
@ -29,8 +29,22 @@ function List(props) {
|
||||||
title: "操作",
|
title: "操作",
|
||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
<Space>
|
<Space>
|
||||||
<Button type="link">值班日志</Button>
|
<Button
|
||||||
<Button type="link">排班登记记录</Button>
|
type="link"
|
||||||
|
onClick={() => {
|
||||||
|
props.history.push(`./dutyLog/list?corpinfoId=${record.corpinfoId}`);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
值班日志
|
||||||
|
</Button>
|
||||||
|
<Button
|
||||||
|
type="link"
|
||||||
|
onClick={() => {
|
||||||
|
props.history.push(`./schedulingRegistration/list?corpinfoId=${record.corpinfoId}`);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
排班登记记录
|
||||||
|
</Button>
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Enterprise/EmergencyRescue/Duty/SchedulingRegistration/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage isRecord headerTitle="排班登记记录" {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function SchedulingRegistration(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default SchedulingRegistration;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Enterprise/PlanAndDrill/EmergencyExercise/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage isRecord headerTitle="应急演练" {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ViewPage from "~/pages/Container/Enterprise/PlanAndDrill/EmergencyExercise/View";
|
||||||
|
|
||||||
|
function View(props) {
|
||||||
|
return (<ViewPage {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default View;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function EmergencyExercise(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default EmergencyExercise;
|
||||||
|
|
@ -28,7 +28,16 @@ function List(props) {
|
||||||
{
|
{
|
||||||
title: "应急演练次数",
|
title: "应急演练次数",
|
||||||
dataIndex: "todo",
|
dataIndex: "todo",
|
||||||
render: (_, record) => <Button type="link">{record.todo}</Button>,
|
render: (_, record) => (
|
||||||
|
<Button
|
||||||
|
type="link"
|
||||||
|
onClick={() => {
|
||||||
|
props.history.push(`./emergencyExercise/list?corpinfoId=${record.corpinfoId}`);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{record.todo}
|
||||||
|
</Button>
|
||||||
|
),
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
{...tableProps}
|
{...tableProps}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Enterprise/PlanAndDrill/EmergencyPlan/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage isRecord headerTitle="应急预案" {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ViewPage from "~/pages/Container/Enterprise/PlanAndDrill/EmergencyPlan/View";
|
||||||
|
|
||||||
|
function View(props) {
|
||||||
|
return (<ViewPage {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default View;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function EmergencyPlan(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default EmergencyPlan;
|
||||||
|
|
@ -28,7 +28,16 @@ function List(props) {
|
||||||
{
|
{
|
||||||
title: "应急预案数量",
|
title: "应急预案数量",
|
||||||
dataIndex: "todo",
|
dataIndex: "todo",
|
||||||
render: (_, record) => <Button type="link">{record.todo}</Button>,
|
render: (_, record) => (
|
||||||
|
<Button
|
||||||
|
type="link"
|
||||||
|
onClick={() => {
|
||||||
|
props.history.push(`./emergencyPlan/list?corpinfoId=${record.corpinfoId}`);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{record.todo}
|
||||||
|
</Button>
|
||||||
|
),
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
{...tableProps}
|
{...tableProps}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ListPage from "~/pages/Container/Enterprise/PlanAndDrill/EnterprisePlan/List";
|
||||||
|
|
||||||
|
function List(props) {
|
||||||
|
return (<ListPage processStatus={1} headerTitle="企业预案" {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default List;
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ViewPage from "~/pages/Container/Enterprise/PlanAndDrill/EnterprisePlan/View";
|
||||||
|
|
||||||
|
function View(props) {
|
||||||
|
return (<ViewPage {...props} />);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default View;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
function EnterprisePlan(props) {
|
||||||
|
return props.children;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default EnterprisePlan;
|
||||||
|
|
@ -28,7 +28,16 @@ function List(props) {
|
||||||
{
|
{
|
||||||
title: "企业预案数量",
|
title: "企业预案数量",
|
||||||
dataIndex: "todo",
|
dataIndex: "todo",
|
||||||
render: (_, record) => <Button type="link">{record.todo}</Button>,
|
render: (_, record) => (
|
||||||
|
<Button
|
||||||
|
type="link"
|
||||||
|
onClick={() => {
|
||||||
|
props.history.push(`./enterprisePlan/list?corpinfoId=${record.corpinfoId}`);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{record.todo}
|
||||||
|
</Button>
|
||||||
|
),
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
{...tableProps}
|
{...tableProps}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue