企业端增加【审核记录菜单】
parent
994dc3d26b
commit
b6c757ba30
|
|
@ -0,0 +1,75 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Form, Space } from "antd";
|
||||
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 useTable from "zy-react-library/hooks/useTable";
|
||||
import { getLabelName } from "zy-react-library/utils";
|
||||
import { PROJECT_STATUS_MAP } from "~/enumerate/constant";
|
||||
import { NS_QUALIFICATION_STATISTICS } from "~/enumerate/namespace";
|
||||
|
||||
function List(props) {
|
||||
const [form] = Form.useForm();
|
||||
const { tableProps, getData } = useTable(props["inCheckList"], {
|
||||
form,
|
||||
params: {
|
||||
eqStakeholderLevel: "one-level",
|
||||
eqProjectStatus: 4,
|
||||
},
|
||||
});
|
||||
|
||||
return (
|
||||
<Page isShowAllAction={false}>
|
||||
<Search
|
||||
options={[
|
||||
{ name: "likeProjectName", label: "二级项目名称" },
|
||||
{
|
||||
name: "eqQualificationsTypeId",
|
||||
label: "项目类别",
|
||||
render: (<DictionarySelect dictValue="qualificationsType" />),
|
||||
},
|
||||
]}
|
||||
form={form}
|
||||
onFinish={getData}
|
||||
/>
|
||||
<Table
|
||||
columns={[
|
||||
{ title: "集团单位名称", dataIndex: "groupCompanyName" },
|
||||
{ title: "一级项目名称", dataIndex: "relatedProjectName" },
|
||||
{ title: "二级项目名称", dataIndex: "projectName" },
|
||||
{ title: "项目负责人", dataIndex: "userName" },
|
||||
{ title: "立项时间", dataIndex: "initiationTime" },
|
||||
{ title: "项目类别", dataIndex: "qualificationsTypeName" },
|
||||
{ title: "相关方名称", dataIndex: "corpinfoName" },
|
||||
{
|
||||
title: "项目备案审核状态",
|
||||
dataIndex: "projectStatus",
|
||||
render: (_, record) => getLabelName({ list: PROJECT_STATUS_MAP, status: record.projectStatus }),
|
||||
},
|
||||
{
|
||||
title: "操作",
|
||||
fixed: "right",
|
||||
width: 150,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
]}
|
||||
{...tableProps}
|
||||
/>
|
||||
</Page>
|
||||
);
|
||||
}
|
||||
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(Permission(List));
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
import ViewPage from "~/pages/Container/Stakeholder/ProjectReview/ProjectFilingApplication/ReView";
|
||||
|
||||
function ReView(props) {
|
||||
return (<ViewPage {...props} />);
|
||||
};
|
||||
|
||||
export default ReView;
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
function ProjectAuditRecord(props) {
|
||||
return (<div>{props.children}</div>);
|
||||
}
|
||||
|
||||
export default ProjectAuditRecord;
|
||||
Loading…
Reference in New Issue