项目管理相关页面 按钮添加权限
parent
220bf517f1
commit
b9a2be1eb9
|
|
@ -25,6 +25,7 @@ module.exports = {
|
|||
contextInject: {
|
||||
// 应用Key
|
||||
appKey: "",
|
||||
// fileUrl: "https://jpfz.qhdscom/gbsFileTest/",
|
||||
fileUrl: "http://192.168.20.240:9787/mnt/",
|
||||
},
|
||||
// public/index.html注入全局变量
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ export const projectDetail = declareRequest(
|
|||
);
|
||||
export const projectApprovalFlow = declareRequest(
|
||||
"qualificationStatisticsLoading",
|
||||
`Get > /xgfManager/projectApprovalFlow/getRejectCause/`,
|
||||
`Get > /xgfManager/projectApprovalFlow/getRejectCause/{id}`,
|
||||
);
|
||||
export const deptListByType = declareRequest(
|
||||
"qualificationStatisticsLoading",
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Descriptions, Form, Modal, Space } from "antd";
|
||||
import { useState } from "react";
|
||||
|
|
@ -62,15 +63,17 @@ function List(props) {
|
|||
width: 150,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=7`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 7 ? "审核" : "查看"}
|
||||
</Button>
|
||||
{record.projectStatus === 6 && (
|
||||
{props.permission("xmsh-jtgs-ejxmbash-btn-ck" || "xmsh-jtgs-ejxmbash-btn-sh") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=7`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 7 ? "审核" : "查看"}
|
||||
</Button>
|
||||
)}
|
||||
{(props.permission("xmsh-jtgs-ejxmbash-btn-ckbhyy") && record.projectStatus === 6) && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
|
|
@ -108,11 +111,11 @@ const RejectReason = (props) => {
|
|||
column={1}
|
||||
styles={{ label: { width: 200 } }}
|
||||
items={[
|
||||
{ label: "驳回原因", children: props.rejectReason },
|
||||
{ label: "驳回原因", children: props.rejectReason.rejectReason },
|
||||
]}
|
||||
/>
|
||||
</Modal>
|
||||
);
|
||||
};
|
||||
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import ListView from "~/pages/Container/Stakeholder/ProjectReview/ProjectFilingApplication/list";
|
||||
|
||||
function List(props) {
|
||||
return (<ListView {...props} />);
|
||||
return (<ListView xzbtn="xmsh-jtgs-yjxmbasq-btn-xz" ckbtn="xmsh-jtgs-yjxmbasq-btn-ck" xgbtn="xmsh-jtgs-yjxmbasq-btn-xg" ckbhyybtn="xmsh-jtgs-yjxmbasq-btn-ckbhyy" {...props} />);
|
||||
};
|
||||
|
||||
export default List;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Form, Space } from "antd";
|
||||
import Search from "zy-react-library/components/Search";
|
||||
|
|
@ -63,30 +64,36 @@ function List(props) {
|
|||
width: 350,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./UserChange?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
项目人员变更
|
||||
</Button>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./UserChangeRecord?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
人员变更记录
|
||||
</Button>
|
||||
{props.permission("xmsh-jtgs-xmbagl-btn-ck") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
)}
|
||||
{props.permission("xmsh-jtgs-xmbagl-btn-xmrybg") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./UserChange?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
项目人员变更
|
||||
</Button>
|
||||
)}
|
||||
{props.permission("xmsh-jtgs-xmbagl-btn-rybgjl") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./UserChangeRecord?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
人员变更记录
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
|
|
@ -97,4 +104,4 @@ function List(props) {
|
|||
);
|
||||
}
|
||||
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Descriptions, Form, Modal, Space } from "antd";
|
||||
import { useState } from "react";
|
||||
|
|
@ -39,15 +40,17 @@ function List(props) {
|
|||
<Table
|
||||
toolBarRender={() => (
|
||||
<Space>
|
||||
<Button
|
||||
type="primary"
|
||||
icon={<AddIcon />}
|
||||
onClick={() => {
|
||||
props.history.push("./add");
|
||||
}}
|
||||
>
|
||||
新增
|
||||
</Button>
|
||||
{props.permission("zrzz-jtgs-zrzzsq-btn-xz") && (
|
||||
<Button
|
||||
type="primary"
|
||||
icon={<AddIcon />}
|
||||
onClick={() => {
|
||||
props.history.push("./add");
|
||||
}}
|
||||
>
|
||||
新增
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
)}
|
||||
columns={[
|
||||
|
|
@ -69,32 +72,38 @@ function List(props) {
|
|||
width: 200,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./view?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
<Button
|
||||
type="link"
|
||||
disabled={record.status !== 300}
|
||||
onClick={() => {
|
||||
props.history.push(`./add?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
修改
|
||||
</Button>
|
||||
<Button
|
||||
type="link"
|
||||
disabled={record.status !== 300}
|
||||
onClick={() => {
|
||||
onViewRejectReason(record.id);
|
||||
}}
|
||||
>
|
||||
查看驳回原因
|
||||
</Button>
|
||||
{props.permission("zrzz-jtgs-zrzzsq-btn-ck") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./view?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
)}
|
||||
{props.permission("zrzz-jtgs-zrzzsq-btn-xg") && (
|
||||
<Button
|
||||
type="link"
|
||||
disabled={record.status !== 300}
|
||||
onClick={() => {
|
||||
props.history.push(`./add?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
修改
|
||||
</Button>
|
||||
)}
|
||||
{props.permission("zrzz-jtgs-zrzzsq-btn-ckbhyy") && (
|
||||
<Button
|
||||
type="link"
|
||||
disabled={record.status !== 300}
|
||||
onClick={() => {
|
||||
onViewRejectReason(record.id);
|
||||
}}
|
||||
>
|
||||
查看驳回原因
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
|
|
@ -130,4 +139,4 @@ const RejectReason = (props) => {
|
|||
);
|
||||
};
|
||||
|
||||
export default Connect([NS_QUALIFICATION_APPLY], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_APPLY], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { useState } from "react";
|
||||
import { Button, Form, Space, Tooltip } from "antd";
|
||||
import { WarningOutlined } from "@ant-design/icons";
|
||||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Form, Space, Tooltip } from "antd";
|
||||
import { useState } from "react";
|
||||
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";
|
||||
|
|
@ -23,7 +24,7 @@ function List(props) {
|
|||
},
|
||||
onSuccess: (data) => {
|
||||
setCurrentTenantId(data.extValues.currentTenantId);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
return (
|
||||
|
|
@ -39,11 +40,14 @@ function List(props) {
|
|||
},
|
||||
{ name: "stakeholderLevel", label: "资质级别", render: (<DictionarySelect dictValue="stakeholderLevel" />) },
|
||||
{
|
||||
name: "auditStatus", label: "审核状态", render: FORM_ITEM_RENDER_ENUM.SELECT, items: [
|
||||
name: "auditStatus",
|
||||
label: "审核状态",
|
||||
render: FORM_ITEM_RENDER_ENUM.SELECT,
|
||||
items: [
|
||||
{ bianma: "200-200", name: "主管部门审核中" },
|
||||
{ bianma: "200-300", name: "主管部门已驳回" },
|
||||
{ bianma: "400", name: "已完成" },
|
||||
]
|
||||
],
|
||||
},
|
||||
]}
|
||||
form={form}
|
||||
|
|
@ -58,36 +62,49 @@ function List(props) {
|
|||
{ title: "时效属性", dataIndex: "isLongTerm", render: (_, record) => record.isLongTerm ? "长期" : "短期" },
|
||||
{ title: "材料数", dataIndex: "materialNum" },
|
||||
{
|
||||
title: "资质状态", dataIndex: "qualificationsStatus", render: (_, record) => (
|
||||
title: "资质状态",
|
||||
dataIndex: "qualificationsStatus",
|
||||
render: (_, record) => (
|
||||
<div>
|
||||
{record.qualificationsStatus === 0 && "正常"}
|
||||
{record.qualificationsStatus === 1 && "待完善"}
|
||||
{record.qualificationsStatus === 2 && (
|
||||
<Tooltip
|
||||
overlayStyle={{ width: 'auto', maxWidth: '700px', whiteSpace: 'normal', wordBreak: 'break-word' }}
|
||||
overlayStyle={{ width: "auto", maxWidth: "700px", whiteSpace: "normal", wordBreak: "break-word" }}
|
||||
title={
|
||||
record.expireList ? (
|
||||
<div style={{ width: '100%' }}>
|
||||
{record.expireList.map((item, index) => (
|
||||
<div key={index}>
|
||||
{item.dataName} 已于 {item.qualificationsTermEnd} 过期
|
||||
record.expireList
|
||||
? (
|
||||
<div style={{ width: "100%" }}>
|
||||
{record.expireList.map((item, index) => (
|
||||
<div key={index}>
|
||||
{item.dataName}
|
||||
{" "}
|
||||
已于
|
||||
{item.qualificationsTermEnd}
|
||||
{" "}
|
||||
过期
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
) : "部分资料已过期"
|
||||
)
|
||||
: "部分资料已过期"
|
||||
}
|
||||
>
|
||||
<span style={{ display: 'inline-flex', alignItems: 'center' }}>
|
||||
存在异常 <WarningOutlined style={{ color: '#faad14', marginLeft: 4 }} />
|
||||
<span style={{ display: "inline-flex", alignItems: "center" }}>
|
||||
存在异常
|
||||
{" "}
|
||||
<WarningOutlined style={{ color: "#faad14", marginLeft: 4 }} />
|
||||
</span>
|
||||
</Tooltip>
|
||||
)}
|
||||
{record.qualificationsStatus === 3 && "资质过期"}
|
||||
</div>
|
||||
)
|
||||
),
|
||||
},
|
||||
{
|
||||
title: "当前状态", dataIndex: "auditProcess", render: (_, record) => (
|
||||
title: "当前状态",
|
||||
dataIndex: "auditProcess",
|
||||
render: (_, record) => (
|
||||
<div>
|
||||
{record.auditProcess === "100" && "集团单位"}
|
||||
{record.status === 100 && "待审核"}
|
||||
|
|
@ -95,7 +112,7 @@ function List(props) {
|
|||
{record.status === 300 && "已驳回"}
|
||||
{record.status === 400 && "已通过"}
|
||||
</div>
|
||||
)
|
||||
),
|
||||
},
|
||||
{
|
||||
title: "操作",
|
||||
|
|
@ -103,7 +120,7 @@ function List(props) {
|
|||
width: 200,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
{record.status === 400 && record.corpId === currentTenantId && (record.qualificationsStatus === 1 || record.qualificationsStatus === 2) && (
|
||||
{(props.permission(props.cxtjbtn || "zrzz-jtgs-zrzzjl-btn-cxtj") && record.status === 400 && record.corpId === currentTenantId && (record.qualificationsStatus === 1 || record.qualificationsStatus === 2)) && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
|
|
@ -113,14 +130,16 @@ function List(props) {
|
|||
重新提交
|
||||
</Button>
|
||||
)}
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`../ViewInfo?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
{props.permission(props.ckbtn || "zrzz-jtgs-zrzzjl-btn-ck") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`../ViewInfo?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
|
|
@ -131,4 +150,4 @@ function List(props) {
|
|||
);
|
||||
}
|
||||
|
||||
export default Connect([NS_QUALIFICATION_RECORDS], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_RECORDS], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Form, Space } from "antd";
|
||||
import Search from "zy-react-library/components/Search";
|
||||
|
|
@ -36,33 +37,44 @@ function List(props) {
|
|||
{ title: "资质级别", dataIndex: "stakeholderLevelName" },
|
||||
{ title: "材料数", dataIndex: "materialNum" },
|
||||
{
|
||||
title: "资质状态", dataIndex: "qualificationsStatus", render: (_, record) => (
|
||||
title: "资质状态",
|
||||
dataIndex: "qualificationsStatus",
|
||||
render: (_, record) => (
|
||||
<div>
|
||||
{record.qualificationsStatus === 0 && "正常"}
|
||||
{record.qualificationsStatus === 1 && "待完善"}
|
||||
{record.qualificationsStatus === 2 && (
|
||||
<Tooltip
|
||||
overlayStyle={{ width: 'auto', maxWidth: '700px', whiteSpace: 'normal', wordBreak: 'break-word' }}
|
||||
overlayStyle={{ width: "auto", maxWidth: "700px", whiteSpace: "normal", wordBreak: "break-word" }}
|
||||
title={
|
||||
record.expireList ? (
|
||||
<div style={{ width: '100%' }}>
|
||||
{record.expireList.map((item, index) => (
|
||||
<div key={index}>
|
||||
{item.dataName} 已于 {item.qualificationsTermEnd} 过期
|
||||
record.expireList
|
||||
? (
|
||||
<div style={{ width: "100%" }}>
|
||||
{record.expireList.map((item, index) => (
|
||||
<div key={index}>
|
||||
{item.dataName}
|
||||
{" "}
|
||||
已于
|
||||
{item.qualificationsTermEnd}
|
||||
{" "}
|
||||
过期
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
) : "部分资料已过期"
|
||||
)
|
||||
: "部分资料已过期"
|
||||
}
|
||||
>
|
||||
<span style={{ display: 'inline-flex', alignItems: 'center' }}>
|
||||
存在异常 <WarningOutlined style={{ color: '#faad14', marginLeft: 4 }} />
|
||||
<span style={{ display: "inline-flex", alignItems: "center" }}>
|
||||
存在异常
|
||||
{" "}
|
||||
<WarningOutlined style={{ color: "#faad14", marginLeft: 4 }} />
|
||||
</span>
|
||||
</Tooltip>
|
||||
)}
|
||||
{record.qualificationsStatus === 3 && "资质过期"}
|
||||
</div>
|
||||
)
|
||||
),
|
||||
},
|
||||
{
|
||||
title: "操作",
|
||||
|
|
@ -70,14 +82,16 @@ function List(props) {
|
|||
width: 100,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./review?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
审核
|
||||
</Button>
|
||||
{props.permission("zrzz-jtgs-xgfzrzzsh-btn-sh") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./review?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
审核
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
|
|
@ -88,4 +102,4 @@ function List(props) {
|
|||
);
|
||||
}
|
||||
|
||||
export default Connect([NS_QUALIFICATION_REVIEW], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_REVIEW], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Descriptions, Form, Modal, Space } from "antd";
|
||||
import { useState } from "react";
|
||||
|
|
@ -62,15 +63,17 @@ function List(props) {
|
|||
width: 150,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=3`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 3 ? "审核" : "查看"}
|
||||
</Button>
|
||||
{record.projectStatus === 6 && (
|
||||
{props.permission("xmsh-sdgs-ffbxmsh-btn-ck" || "xmsh-sdgs-ffbxmsh-btn-sh") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=3`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 3 ? "审核" : "查看"}
|
||||
</Button>
|
||||
)}
|
||||
{(props.permission("xmsh-sdgs-ffbxmsh-btn-ckbhyy") && record.projectStatus === 6) && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
|
|
@ -108,11 +111,11 @@ const RejectReason = (props) => {
|
|||
column={1}
|
||||
styles={{ label: { width: 200 } }}
|
||||
items={[
|
||||
{ label: "驳回原因", children: props.rejectReason },
|
||||
{ label: "驳回原因", children: props.rejectReason.rejectReason },
|
||||
]}
|
||||
/>
|
||||
</Modal>
|
||||
);
|
||||
};
|
||||
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Form, Space } from "antd";
|
||||
import Search from "zy-react-library/components/Search";
|
||||
|
|
@ -53,14 +54,16 @@ function List(props) {
|
|||
width: 150,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=2`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 2 ? "确认" : "查看"}
|
||||
</Button>
|
||||
{props.permission("xmqr-sdgs-ffbxmqr-btn-ck") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=2`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 2 ? "确认" : "查看"}
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
|
|
@ -70,4 +73,4 @@ function List(props) {
|
|||
</div>
|
||||
);
|
||||
}
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Descriptions, Form, Modal, Space } from "antd";
|
||||
import { useState } from "react";
|
||||
|
|
@ -62,15 +63,17 @@ function List(props) {
|
|||
width: 150,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=3`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 3 ? "审核" : "查看"}
|
||||
</Button>
|
||||
{record.projectStatus === 6 && (
|
||||
{props.permission("xmsh-sdgs-fbxmsh-btn-ck" || "xmsh-sdgs-fbxmsh-btn-sh") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=3`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 3 ? "审核" : "查看"}
|
||||
</Button>
|
||||
)}
|
||||
{(props.permission("xmsh-sdgs-fbxmsh-btn-ckbhyy") && record.projectStatus === 6) && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
|
|
@ -108,11 +111,11 @@ const RejectReason = (props) => {
|
|||
column={1}
|
||||
styles={{ label: { width: 200 } }}
|
||||
items={[
|
||||
{ label: "驳回原因", children: props.rejectReason },
|
||||
{ label: "驳回原因", children: props.rejectReason.rejectReason },
|
||||
]}
|
||||
/>
|
||||
</Modal>
|
||||
);
|
||||
};
|
||||
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Form, Space } from "antd";
|
||||
import Search from "zy-react-library/components/Search";
|
||||
|
|
@ -53,14 +54,16 @@ function List(props) {
|
|||
width: 150,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=2`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 2 ? "确认" : "查看"}
|
||||
</Button>
|
||||
{props.permission("xmqr-sdgs-fbxmqr-btn-ck") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=2`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 2 ? "确认" : "查看"}
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
|
|
@ -71,4 +74,4 @@ function List(props) {
|
|||
);
|
||||
}
|
||||
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Descriptions, Form, Modal, Space } from "antd";
|
||||
import { useState } from "react";
|
||||
|
|
@ -62,15 +63,17 @@ function List(props) {
|
|||
width: 150,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=3`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 3 ? "审核" : "查看"}
|
||||
</Button>
|
||||
{record.projectStatus === 6 && (
|
||||
{props.permission("xmsh-sdgs-ejxmsh-btn-ck" || "xmsh-sdgs-ejxmsh-btn-sh") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=3`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 3 ? "审核" : "查看"}
|
||||
</Button>
|
||||
)}
|
||||
{(props.permission("xmsh-sdgs-ejxmsh-btn-ckbhyy") && record.projectStatus === 6) && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
|
|
@ -108,11 +111,11 @@ const RejectReason = (props) => {
|
|||
column={1}
|
||||
styles={{ label: { width: 200 } }}
|
||||
items={[
|
||||
{ label: "驳回原因", children: props.rejectReason },
|
||||
{ label: "驳回原因", children: props.rejectReason.rejectReason },
|
||||
]}
|
||||
/>
|
||||
</Modal>
|
||||
);
|
||||
};
|
||||
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Form, Space } from "antd";
|
||||
import Search from "zy-react-library/components/Search";
|
||||
|
|
@ -52,14 +53,16 @@ function List(props) {
|
|||
width: 150,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=2`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 2 ? "确认" : "查看"}
|
||||
</Button>
|
||||
{props.permission("xmqr-sdgs-ejxmqr-btn-ck") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=2`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 2 ? "确认" : "查看"}
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
|
|
@ -70,4 +73,4 @@ function List(props) {
|
|||
);
|
||||
}
|
||||
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import ListView from "~/pages/Container/Supervision/ProjectReview/ProjectFilingInformation/list";
|
||||
|
||||
function List(props) {
|
||||
return (<ListView searchType="4" {...props} />);
|
||||
return (<ListView ckbtn="xmsh-sdgs-xmbaxxgl-btn-ck" rybgjlbtn="xmsh-sdgs-xmbaxxgl-btn-rybgjl" searchType="4" {...props} />);
|
||||
};
|
||||
|
||||
export default List;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import ListView from "~/pages/Container/Supervision/ProjectReview/ProjectFilingInformation/list";
|
||||
|
||||
function List(props) {
|
||||
return (<ListView searchType="3" {...props} />);
|
||||
return (<ListView ckbtn="xmqr-sdgs-xmqrbaxxgl-btn-ck" rybgjlbtn="xmqr-sdgs-xmqrbaxxgl-btn-rybgjl" searchType="3" {...props} />);
|
||||
};
|
||||
|
||||
export default List;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Form, Space } from "antd";
|
||||
import Search from "zy-react-library/components/Search";
|
||||
|
|
@ -36,33 +37,44 @@ function List(props) {
|
|||
{ title: "资质级别", dataIndex: "stakeholderLevelName" },
|
||||
{ title: "材料数", dataIndex: "materialNum" },
|
||||
{
|
||||
title: "资质状态", dataIndex: "qualificationsStatus", render: (_, record) => (
|
||||
title: "资质状态",
|
||||
dataIndex: "qualificationsStatus",
|
||||
render: (_, record) => (
|
||||
<div>
|
||||
{record.qualificationsStatus === 0 && "正常"}
|
||||
{record.qualificationsStatus === 1 && "待完善"}
|
||||
{record.qualificationsStatus === 2 && (
|
||||
<Tooltip
|
||||
overlayStyle={{ width: 'auto', maxWidth: '700px', whiteSpace: 'normal', wordBreak: 'break-word' }}
|
||||
overlayStyle={{ width: "auto", maxWidth: "700px", whiteSpace: "normal", wordBreak: "break-word" }}
|
||||
title={
|
||||
record.expireList ? (
|
||||
<div style={{ width: '100%' }}>
|
||||
{record.expireList.map((item, index) => (
|
||||
<div key={index}>
|
||||
{item.dataName} 已于 {item.qualificationsTermEnd} 过期
|
||||
record.expireList
|
||||
? (
|
||||
<div style={{ width: "100%" }}>
|
||||
{record.expireList.map((item, index) => (
|
||||
<div key={index}>
|
||||
{item.dataName}
|
||||
{" "}
|
||||
已于
|
||||
{item.qualificationsTermEnd}
|
||||
{" "}
|
||||
过期
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
) : "部分资料已过期"
|
||||
)
|
||||
: "部分资料已过期"
|
||||
}
|
||||
>
|
||||
<span style={{ display: 'inline-flex', alignItems: 'center' }}>
|
||||
存在异常 <WarningOutlined style={{ color: '#faad14', marginLeft: 4 }} />
|
||||
<span style={{ display: "inline-flex", alignItems: "center" }}>
|
||||
存在异常
|
||||
{" "}
|
||||
<WarningOutlined style={{ color: "#faad14", marginLeft: 4 }} />
|
||||
</span>
|
||||
</Tooltip>
|
||||
)}
|
||||
{record.qualificationsStatus === 3 && "资质过期"}
|
||||
</div>
|
||||
)
|
||||
),
|
||||
},
|
||||
{
|
||||
title: "操作",
|
||||
|
|
@ -70,14 +82,16 @@ function List(props) {
|
|||
width: 100,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./review?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
审核
|
||||
</Button>
|
||||
{props.permission("zrzz-sdgs-xgfzrzzsh-btn-sh") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./review?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
审核
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
|
|
@ -88,4 +102,4 @@ function List(props) {
|
|||
);
|
||||
}
|
||||
|
||||
export default Connect([NS_QUALIFICATION_REVIEW], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_REVIEW], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ const StepOneComponent = (props) => {
|
|||
useEffect(() => {
|
||||
getCorpInfoList();
|
||||
getCropList();
|
||||
if (props.formValues.isLocalCompany) {
|
||||
if (props.formValues.isLocalCompany === 0) {
|
||||
getDeptList(props.formValues.qualificationsTypeId);
|
||||
getUserList(props.formValues.manageDeptId);
|
||||
}
|
||||
|
|
@ -265,11 +265,18 @@ const StepOneComponent = (props) => {
|
|||
<DictionarySelect
|
||||
dictValue="qualificationsType"
|
||||
onGetLabel={label => form.setFieldValue("qualificationsTypeName", label)}
|
||||
onChange={() => {
|
||||
|
||||
}}
|
||||
style={{ width: "100%" }}
|
||||
onChange={() => {}}
|
||||
/>
|
||||
) },
|
||||
{
|
||||
span: 24,
|
||||
render: (
|
||||
<div style={{ fontSize: 12, color: "red", whiteSpace: "nowrap", marginTop: "-8px", marginBottom: "16px", marginLeft: "112px" }}>
|
||||
如果选择项目类别或等级没有您相应的选项时,请在"资质准入管理"中查看是否持有对应类比或等级的相关资质。
|
||||
</div>
|
||||
),
|
||||
},
|
||||
{ name: "qualificationsTypeName", label: "项目类别名称", onlyForLabel: true },
|
||||
{ name: "subcontractFlag", label: "是否存在分包项目", span: 24, render: FORM_ITEM_RENDER_ENUM.RADIO, items: [{ bianma: 1, name: "是" }, { bianma: 0, name: "否" }] },
|
||||
{ name: "isLocalCompany", label: "是否为属地公司推荐", span: 24, render: FORM_ITEM_RENDER_ENUM.RADIO, items: [{ bianma: 1, name: "是" }, { bianma: 0, name: "否" }], componentProps: {
|
||||
|
|
@ -291,6 +298,14 @@ const StepOneComponent = (props) => {
|
|||
});
|
||||
},
|
||||
} },
|
||||
{
|
||||
span: 24,
|
||||
render: (
|
||||
<div style={{ fontSize: 12, color: "red", whiteSpace: "nowrap", marginTop: "-8px", marginBottom: "16px", marginLeft: "112px" }}>
|
||||
本次项目是否属于港股分公司发包项目,如是,请选择"是"
|
||||
</div>
|
||||
),
|
||||
},
|
||||
...(isLocalCompany === 1
|
||||
? [
|
||||
{
|
||||
|
|
@ -391,6 +406,14 @@ const StepOneComponent = (props) => {
|
|||
},
|
||||
{ name: "manageUserNames", label: "主管部门审核人名称", onlyForLabel: true },
|
||||
]),
|
||||
{
|
||||
render: (
|
||||
<div style={{ fontSize: 12, color: "red", whiteSpace: "nowrap", marginTop: "-8px", marginBottom: "16px", marginLeft: "112px" }}>
|
||||
本信息涉及后续项目资料审核,请如实填写。
|
||||
</div>
|
||||
),
|
||||
span: 24,
|
||||
},
|
||||
{
|
||||
name: "approvalCorpId",
|
||||
label: "项目执行属地公司名称",
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Descriptions, Form, Modal, Space } from "antd";
|
||||
import { useState } from "react";
|
||||
|
|
@ -53,15 +54,17 @@ function List(props) {
|
|||
<Table
|
||||
toolBarRender={() => (
|
||||
<Space>
|
||||
<Button
|
||||
type="primary"
|
||||
icon={<AddIcon />}
|
||||
onClick={() => {
|
||||
props.history.push("./add");
|
||||
}}
|
||||
>
|
||||
新增
|
||||
</Button>
|
||||
{props.permission("xmsh-xgf-yjxmbasq-btn-xz" || props.xzbtn) && (
|
||||
<Button
|
||||
type="primary"
|
||||
icon={<AddIcon />}
|
||||
onClick={() => {
|
||||
props.history.push("./add");
|
||||
}}
|
||||
>
|
||||
新增
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
)}
|
||||
columns={[
|
||||
|
|
@ -79,36 +82,42 @@ function List(props) {
|
|||
{
|
||||
title: "操作",
|
||||
fixed: "right",
|
||||
width: 150,
|
||||
width: 200,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
{props.permission("xmsh-xgf-yjxmbasq-btn-ck" || props.ckbtn) && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
)}
|
||||
{record.projectStatus === 6 && (
|
||||
<>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./add?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
编辑
|
||||
</Button>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
onViewRejectReason(record.id);
|
||||
}}
|
||||
danger
|
||||
>
|
||||
查看驳回原因
|
||||
</Button>
|
||||
{props.permission("xmsh-xgf-yjxmbasq-btn-xg" || props.xgbtn) && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./add?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
编辑
|
||||
</Button>
|
||||
)}
|
||||
{props.permission("xmsh-xgf-yjxmbasq-btn-ckbhyy" || props.ckbhyybtn) && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
onViewRejectReason(record.id);
|
||||
}}
|
||||
danger
|
||||
>
|
||||
查看驳回原因
|
||||
</Button>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
</Space>
|
||||
|
|
@ -138,11 +147,11 @@ const RejectReason = (props) => {
|
|||
column={1}
|
||||
styles={{ label: { width: 200 } }}
|
||||
items={[
|
||||
{ label: "驳回原因", children: props.rejectReason },
|
||||
{ label: "驳回原因", children: props.rejectReason.rejectReason },
|
||||
]}
|
||||
/>
|
||||
</Modal>
|
||||
);
|
||||
};
|
||||
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ function Review(props) {
|
|||
const { success } = await props["projectAudit"]({
|
||||
id: query.id,
|
||||
result,
|
||||
rejectReason: values.rejectReason, // 添加拒绝原因
|
||||
rejectCause: values.rejectReason, // 添加拒绝原因
|
||||
});
|
||||
if (success) {
|
||||
message.success("审核驳回成功");
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Form, Space } from "antd";
|
||||
import Search from "zy-react-library/components/Search";
|
||||
|
|
@ -64,30 +65,36 @@ function List(props) {
|
|||
width: 350,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./UserChange?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
项目人员变更
|
||||
</Button>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./UserChangeRecord?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
人员变更记录
|
||||
</Button>
|
||||
{props.permission("xmsh-xgf-yjxmbagl-btn-ck") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
)}
|
||||
{props.permission("xmsh-xgf-yjxmbagl-btn-xmrybg") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./UserChange?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
项目人员变更
|
||||
</Button>
|
||||
)}
|
||||
{props.permission("xmsh-xgf-yjxmbagl-btn-rybgjl") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./UserChangeRecord?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
人员变更记录
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
|
|
@ -98,4 +105,4 @@ function List(props) {
|
|||
);
|
||||
}
|
||||
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Descriptions, Form, Modal, Space } from "antd";
|
||||
import { useState } from "react";
|
||||
|
|
@ -52,15 +53,17 @@ function List(props) {
|
|||
<Table
|
||||
toolBarRender={() => (
|
||||
<Space>
|
||||
<Button
|
||||
type="primary"
|
||||
icon={<AddIcon />}
|
||||
onClick={() => {
|
||||
props.history.push("./add");
|
||||
}}
|
||||
>
|
||||
新增
|
||||
</Button>
|
||||
{props.permission("xmsh-xgf-ejxmbasq-btn-xz") && (
|
||||
<Button
|
||||
type="primary"
|
||||
icon={<AddIcon />}
|
||||
onClick={() => {
|
||||
props.history.push("./add");
|
||||
}}
|
||||
>
|
||||
新增
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
)}
|
||||
columns={[
|
||||
|
|
@ -78,36 +81,42 @@ function List(props) {
|
|||
{
|
||||
title: "操作",
|
||||
fixed: "right",
|
||||
width: 150,
|
||||
width: 200,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
{props.permission("xmsh-xgf-ejxmbasq-btn-ck") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
)}
|
||||
{record.projectStatus === 6 && (
|
||||
<>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./add?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
编辑
|
||||
</Button>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
onViewRejectReason(record.id);
|
||||
}}
|
||||
danger
|
||||
>
|
||||
查看驳回原因
|
||||
</Button>
|
||||
{props.permission("xmsh-xgf-ejxmbasq-btn-xg") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./add?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
编辑
|
||||
</Button>
|
||||
)}
|
||||
{props.permission("xmsh-xgf-ejxmbasq-btn-ckbhyy") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
onViewRejectReason(record.id);
|
||||
}}
|
||||
danger
|
||||
>
|
||||
查看驳回原因
|
||||
</Button>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
</Space>
|
||||
|
|
@ -137,11 +146,11 @@ const RejectReason = (props) => {
|
|||
column={1}
|
||||
styles={{ label: { width: 200 } }}
|
||||
items={[
|
||||
{ label: "驳回原因", children: props.rejectReason },
|
||||
{ label: "驳回原因", children: props.rejectReason.rejectReason },
|
||||
]}
|
||||
/>
|
||||
</Modal>
|
||||
);
|
||||
};
|
||||
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Form, Space } from "antd";
|
||||
import Search from "zy-react-library/components/Search";
|
||||
|
|
@ -52,30 +53,36 @@ function List(props) {
|
|||
width: 350,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./UserChange?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
项目人员变更
|
||||
</Button>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./UserChangeRecord?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
人员变更记录
|
||||
</Button>
|
||||
{props.permission("xmsh-xgf-ejxmbagl-btn-ck") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
)}
|
||||
{props.permission("xmsh-xgf-ejxmbagl-btn-xmrybg") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./UserChange?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
项目人员变更
|
||||
</Button>
|
||||
)}
|
||||
{props.permission("xmsh-xgf-ejxmbagl-btn-rybgjl") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./UserChangeRecord?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
人员变更记录
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
|
|
@ -86,4 +93,4 @@ function List(props) {
|
|||
);
|
||||
}
|
||||
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Descriptions, Form, Modal, Space } from "antd";
|
||||
import { useState } from "react";
|
||||
|
|
@ -39,15 +40,17 @@ function List(props) {
|
|||
<Table
|
||||
toolBarRender={() => (
|
||||
<Space>
|
||||
<Button
|
||||
type="primary"
|
||||
icon={<AddIcon />}
|
||||
onClick={() => {
|
||||
props.history.push("./add");
|
||||
}}
|
||||
>
|
||||
新增
|
||||
</Button>
|
||||
{props.permission("zrzz-xgf-zrzzsq-btn-xz") && (
|
||||
<Button
|
||||
type="primary"
|
||||
icon={<AddIcon />}
|
||||
onClick={() => {
|
||||
props.history.push("./add");
|
||||
}}
|
||||
>
|
||||
新增
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
)}
|
||||
columns={[
|
||||
|
|
@ -70,32 +73,38 @@ function List(props) {
|
|||
width: 200,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./view?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
<Button
|
||||
type="link"
|
||||
disabled={record.status !== 300}
|
||||
onClick={() => {
|
||||
props.history.push(`./add?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
修改
|
||||
</Button>
|
||||
<Button
|
||||
type="link"
|
||||
disabled={record.status !== 300}
|
||||
onClick={() => {
|
||||
onViewRejectReason(record.id);
|
||||
}}
|
||||
>
|
||||
查看驳回原因
|
||||
</Button>
|
||||
{props.permission("zrzz-xgf-zrzzsq-btn-ck") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./view?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
)}
|
||||
{props.permission("zrzz-xgf-zrzzsq-btn-xg") && (
|
||||
<Button
|
||||
type="link"
|
||||
disabled={record.status !== 300}
|
||||
onClick={() => {
|
||||
props.history.push(`./add?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
修改
|
||||
</Button>
|
||||
)}
|
||||
{props.permission("zrzz-xgf-zrzzsq-btn-ckbhyy") && (
|
||||
<Button
|
||||
type="link"
|
||||
disabled={record.status !== 300}
|
||||
onClick={() => {
|
||||
onViewRejectReason(record.id);
|
||||
}}
|
||||
>
|
||||
查看驳回原因
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
|
|
@ -131,4 +140,4 @@ const RejectReason = (props) => {
|
|||
);
|
||||
};
|
||||
|
||||
export default Connect([NS_QUALIFICATION_APPLY], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_APPLY], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import ListPage from "~/pages/Container/BranchCompany/Qualification/Records/List";
|
||||
|
||||
function List(props) {
|
||||
return (<ListPage {...props} />);
|
||||
return (<ListPage ckbtn="zrzz-xgf-zrzzjl-btn-ck" cxtjbtn="zrzz-xgf-zrzzjl-btn-cxtj" {...props} />);
|
||||
}
|
||||
|
||||
export default List;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Descriptions, Form, Modal, Space } from "antd";
|
||||
import { useState } from "react";
|
||||
|
|
@ -62,15 +63,17 @@ function List(props) {
|
|||
width: 150,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=1`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 1 ? "审核" : "查看"}
|
||||
</Button>
|
||||
{record.projectStatus === 6 && (
|
||||
{props.permission("xmsh-gfd-ffbxmsh-btn-ck" || "xmsh-gfd-ffbxmsh-btn-sh") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=1`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 1 ? "审核" : "查看"}
|
||||
</Button>
|
||||
)}
|
||||
{(props.permission("xmsh-gfd-ffbxmsh-btn-ckbhyy") && record.projectStatus === 6) && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
|
|
@ -108,11 +111,11 @@ const RejectReason = (props) => {
|
|||
column={1}
|
||||
styles={{ label: { width: 200 } }}
|
||||
items={[
|
||||
{ label: "驳回原因", children: props.rejectReason },
|
||||
{ label: "驳回原因", children: props.rejectReason.rejectReason },
|
||||
]}
|
||||
/>
|
||||
</Modal>
|
||||
);
|
||||
};
|
||||
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Descriptions, Form, Modal, Space } from "antd";
|
||||
import { useState } from "react";
|
||||
|
|
@ -62,15 +63,17 @@ function List(props) {
|
|||
width: 150,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=1`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 1 ? "审核" : "查看"}
|
||||
</Button>
|
||||
{record.projectStatus === 6 && (
|
||||
{props.permission("xmsh-gfd-fbxmsh-btn-ck" || "xmsh-gfd-fbxmsh-btn-sh") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=1`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 1 ? "审核" : "查看"}
|
||||
</Button>
|
||||
)}
|
||||
{(props.permission("xmsh-gfd-fbxmsh-btn-ckbhyy") && record.projectStatus === 6) && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
|
|
@ -108,11 +111,11 @@ const RejectReason = (props) => {
|
|||
column={1}
|
||||
styles={{ label: { width: 200 } }}
|
||||
items={[
|
||||
{ label: "驳回原因", children: props.rejectReason },
|
||||
{ label: "驳回原因", children: props.rejectReason.rejectReason },
|
||||
]}
|
||||
/>
|
||||
</Modal>
|
||||
);
|
||||
};
|
||||
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Descriptions, Form, Modal, Space } from "antd";
|
||||
import { useState } from "react";
|
||||
|
|
@ -62,15 +63,17 @@ function List(props) {
|
|||
width: 150,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=1`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 1 ? "审核" : "查看"}
|
||||
</Button>
|
||||
{record.projectStatus === 6 && (
|
||||
{props.permission("xmsh-gfd-ejxmsh-btn-ck" || "xmsh-gfd-ejxmsh-btn-sh") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}&projectStatusLast=1`);
|
||||
}}
|
||||
>
|
||||
{record.projectStatus === 1 ? "审核" : "查看"}
|
||||
</Button>
|
||||
)}
|
||||
{(props.permission("xmsh-gfd-ejxmsh-btn-ckbhyy") && record.projectStatus === 6) && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
|
|
@ -108,11 +111,11 @@ const RejectReason = (props) => {
|
|||
column={1}
|
||||
styles={{ label: { width: 200 } }}
|
||||
items={[
|
||||
{ label: "驳回原因", children: props.rejectReason },
|
||||
{ label: "驳回原因", children: props.rejectReason.rejectReason },
|
||||
]}
|
||||
/>
|
||||
</Modal>
|
||||
);
|
||||
};
|
||||
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Form, Space } from "antd";
|
||||
import Search from "zy-react-library/components/Search";
|
||||
|
|
@ -54,14 +55,16 @@ function List(props) {
|
|||
width: 350,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
{props.permission("xmsh-gfd-xmbaxx-btn-ck" || props.ckbtn) && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./reView?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
)}
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
|
|
@ -70,14 +73,16 @@ function List(props) {
|
|||
>
|
||||
项目人员变更
|
||||
</Button>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./UserChangeRecord?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
人员变更记录
|
||||
</Button>
|
||||
{props.permission("xmsh-gfd-xmbaxx-btn-rybgjl" || props.rybgjlbtn) && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./UserChangeRecord?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
人员变更记录
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
|
|
@ -88,4 +93,4 @@ function List(props) {
|
|||
);
|
||||
}
|
||||
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_STATISTICS], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Form, message, Modal, Space } from "antd";
|
||||
import AddIcon from "zy-react-library/components/Icon/AddIcon";
|
||||
|
|
@ -43,15 +44,17 @@ function List(props) {
|
|||
<Table
|
||||
toolBarRender={() => (
|
||||
<Space>
|
||||
<Button
|
||||
type="primary"
|
||||
icon={<AddIcon />}
|
||||
onClick={() => {
|
||||
props.history.push("./add");
|
||||
}}
|
||||
>
|
||||
新增
|
||||
</Button>
|
||||
{props.permission("zrzz-jgd-zrzzwh-btn-xz") && (
|
||||
<Button
|
||||
type="primary"
|
||||
icon={<AddIcon />}
|
||||
onClick={() => {
|
||||
props.history.push("./add");
|
||||
}}
|
||||
>
|
||||
新增
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
)}
|
||||
columns={[
|
||||
|
|
@ -59,37 +62,43 @@ function List(props) {
|
|||
{ title: "资质类别", dataIndex: "qualificationsTypeName" },
|
||||
{ title: "资质级别", dataIndex: "stakeholderLevelName" },
|
||||
{ title: "主管部门", dataIndex: "managerDeptName" },
|
||||
{ title: "材料数量", dataIndex: "materialNum",render:(_,record) => record.details?.length || 0 },
|
||||
{ title: "状态", dataIndex: "status",render:(_,record) => record.status === 0 ? "启用" : "禁用" },
|
||||
{ title: "材料数量", dataIndex: "materialNum", render: (_, record) => record.details?.length || 0 },
|
||||
{ title: "状态", dataIndex: "status", render: (_, record) => record.status === 0 ? "启用" : "禁用" },
|
||||
{
|
||||
title: "操作",
|
||||
fixed: "right",
|
||||
width: 200,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./add?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
编辑
|
||||
</Button>
|
||||
<Button
|
||||
type="link"
|
||||
danger
|
||||
onClick={() => onDelete(record.id, record.status === 0 ? 1 : 0)}
|
||||
>
|
||||
{record.status === 0 ? "禁用" : "启用"}
|
||||
</Button>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./changeLogList?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
变更记录
|
||||
</Button>
|
||||
{props.permission("zrzz-jgd-zrzzwh-btn-xg") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./add?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
编辑
|
||||
</Button>
|
||||
)}
|
||||
{props.permission("zrzz-jgd-zrzzwh-btn-qyjy") && (
|
||||
<Button
|
||||
type="link"
|
||||
danger
|
||||
onClick={() => onDelete(record.id, record.status === 0 ? 1 : 0)}
|
||||
>
|
||||
{record.status === 0 ? "禁用" : "启用"}
|
||||
</Button>
|
||||
)}
|
||||
{props.permission("zrzz-jgd-zrzzwh-btn-bgjl") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./changeLogList?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
变更记录
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
|
|
@ -100,4 +109,4 @@ function List(props) {
|
|||
);
|
||||
}
|
||||
|
||||
export default Connect([NS_QUALIFICATION_MAINTENANCE], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_MAINTENANCE], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import { WarningOutlined } from "@ant-design/icons";
|
||||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Form, Space, Tooltip } from "antd";
|
||||
import { WarningOutlined } from "@ant-design/icons";
|
||||
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";
|
||||
|
|
@ -34,11 +35,14 @@ function List(props) {
|
|||
},
|
||||
{ name: "stakeholderLevel", label: "资质级别", render: (<DictionarySelect dictValue="stakeholderLevel" />) },
|
||||
{
|
||||
name: "auditStatus", label: "审核状态", render: FORM_ITEM_RENDER_ENUM.SELECT, items: [
|
||||
name: "auditStatus",
|
||||
label: "审核状态",
|
||||
render: FORM_ITEM_RENDER_ENUM.SELECT,
|
||||
items: [
|
||||
{ bianma: "200-200", name: "主管部门审核中" },
|
||||
{ bianma: "200-300", name: "主管部门已驳回" },
|
||||
{ bianma: "400", name: "已完成" },
|
||||
]
|
||||
],
|
||||
},
|
||||
]}
|
||||
form={form}
|
||||
|
|
@ -53,36 +57,49 @@ function List(props) {
|
|||
{ title: "时效属性", dataIndex: "isLongTerm", render: (_, record) => record.isLongTerm ? "长期" : "短期" },
|
||||
{ title: "材料数", dataIndex: "materialNum" },
|
||||
{
|
||||
title: "资质状态", dataIndex: "qualificationsStatus", render: (_, record) => (
|
||||
title: "资质状态",
|
||||
dataIndex: "qualificationsStatus",
|
||||
render: (_, record) => (
|
||||
<div>
|
||||
{record.qualificationsStatus === 0 && "正常"}
|
||||
{record.qualificationsStatus === 1 && "待完善"}
|
||||
{record.qualificationsStatus === 2 && (
|
||||
<Tooltip
|
||||
overlayStyle={{ width: 'auto', maxWidth: '700px', whiteSpace: 'normal', wordBreak: 'break-word' }}
|
||||
overlayStyle={{ width: "auto", maxWidth: "700px", whiteSpace: "normal", wordBreak: "break-word" }}
|
||||
title={
|
||||
record.expireList ? (
|
||||
<div style={{ width: '100%' }}>
|
||||
{record.expireList.map((item, index) => (
|
||||
<div key={index}>
|
||||
{item.dataName} 已于 {item.qualificationsTermEnd} 过期
|
||||
record.expireList
|
||||
? (
|
||||
<div style={{ width: "100%" }}>
|
||||
{record.expireList.map((item, index) => (
|
||||
<div key={index}>
|
||||
{item.dataName}
|
||||
{" "}
|
||||
已于
|
||||
{item.qualificationsTermEnd}
|
||||
{" "}
|
||||
过期
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
) : "部分资料已过期"
|
||||
)
|
||||
: "部分资料已过期"
|
||||
}
|
||||
>
|
||||
<span style={{ display: 'inline-flex', alignItems: 'center' }}>
|
||||
存在异常 <WarningOutlined style={{ color: '#faad14', marginLeft: 4 }} />
|
||||
<span style={{ display: "inline-flex", alignItems: "center" }}>
|
||||
存在异常
|
||||
{" "}
|
||||
<WarningOutlined style={{ color: "#faad14", marginLeft: 4 }} />
|
||||
</span>
|
||||
</Tooltip>
|
||||
)}
|
||||
{record.qualificationsStatus === 3 && "资质过期"}
|
||||
</div>
|
||||
)
|
||||
),
|
||||
},
|
||||
{
|
||||
title: "审核状态", dataIndex: "auditProcess", render: (_, record) => (
|
||||
title: "审核状态",
|
||||
dataIndex: "auditProcess",
|
||||
render: (_, record) => (
|
||||
<div>
|
||||
{record.auditProcess === "100" && "集团单位"}
|
||||
{record.status === 100 && "待审核"}
|
||||
|
|
@ -90,23 +107,25 @@ function List(props) {
|
|||
{record.status === 300 && "已驳回"}
|
||||
{record.status === 400 && "已通过"}
|
||||
</div>
|
||||
)
|
||||
),
|
||||
},
|
||||
{ title:"时效性", dataIndex:"qualificationsTermStart", render: (_, record) => record.qualificationsTermStart ? `${record.qualificationsTermStart}至${record.qualificationsTermEnd}` : "-",},
|
||||
{ title: "时效性", dataIndex: "qualificationsTermStart", render: (_, record) => record.qualificationsTermStart ? `${record.qualificationsTermStart}至${record.qualificationsTermEnd}` : "-" },
|
||||
{
|
||||
title: "操作",
|
||||
fixed: "right",
|
||||
width: 130,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`../ViewInfo?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
{props.permission("zrzz-jgd-zrzzjl-btn-ck") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`../ViewInfo?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
|
|
@ -117,4 +136,4 @@ function List(props) {
|
|||
);
|
||||
}
|
||||
|
||||
export default Connect([NS_QUALIFICATION_RECORDS], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_RECORDS], true)(Permission(List));
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { Permission } from "@cqsjjb/jjb-common-decorator/permission";
|
||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||
import { Button, Form, Space } from "antd";
|
||||
import Search from "zy-react-library/components/Search";
|
||||
|
|
@ -41,33 +42,44 @@ function List(props) {
|
|||
{ title: "资质级别", dataIndex: "stakeholderLevelName" },
|
||||
{ title: "材料数", dataIndex: "materialNum" },
|
||||
{
|
||||
title: "资质状态", dataIndex: "qualificationsStatus", render: (_, record) => (
|
||||
title: "资质状态",
|
||||
dataIndex: "qualificationsStatus",
|
||||
render: (_, record) => (
|
||||
<div>
|
||||
{record.qualificationsStatus === 0 && "正常"}
|
||||
{record.qualificationsStatus === 1 && "待完善"}
|
||||
{record.qualificationsStatus === 2 && (
|
||||
<Tooltip
|
||||
overlayStyle={{ width: 'auto', maxWidth: '700px', whiteSpace: 'normal', wordBreak: 'break-word' }}
|
||||
overlayStyle={{ width: "auto", maxWidth: "700px", whiteSpace: "normal", wordBreak: "break-word" }}
|
||||
title={
|
||||
record.expireList ? (
|
||||
<div style={{ width: '100%' }}>
|
||||
{record.expireList.map((item, index) => (
|
||||
<div key={index}>
|
||||
{item.dataName} 已于 {item.qualificationsTermEnd} 过期
|
||||
record.expireList
|
||||
? (
|
||||
<div style={{ width: "100%" }}>
|
||||
{record.expireList.map((item, index) => (
|
||||
<div key={index}>
|
||||
{item.dataName}
|
||||
{" "}
|
||||
已于
|
||||
{item.qualificationsTermEnd}
|
||||
{" "}
|
||||
过期
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
) : "部分资料已过期"
|
||||
)
|
||||
: "部分资料已过期"
|
||||
}
|
||||
>
|
||||
<span style={{ display: 'inline-flex', alignItems: 'center' }}>
|
||||
存在异常 <WarningOutlined style={{ color: '#faad14', marginLeft: 4 }} />
|
||||
<span style={{ display: "inline-flex", alignItems: "center" }}>
|
||||
存在异常
|
||||
{" "}
|
||||
<WarningOutlined style={{ color: "#faad14", marginLeft: 4 }} />
|
||||
</span>
|
||||
</Tooltip>
|
||||
)}
|
||||
{record.qualificationsStatus === 3 && "资质过期"}
|
||||
</div>
|
||||
)
|
||||
),
|
||||
},
|
||||
{
|
||||
title: "操作",
|
||||
|
|
@ -75,14 +87,16 @@ function List(props) {
|
|||
width: 100,
|
||||
render: (_, record) => (
|
||||
<Space>
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./review?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
审核
|
||||
</Button>
|
||||
{props.permission("zrzz-jgd-xgfzrzzsh-btn-sh") && (
|
||||
<Button
|
||||
type="link"
|
||||
onClick={() => {
|
||||
props.history.push(`./review?id=${record.id}`);
|
||||
}}
|
||||
>
|
||||
审核
|
||||
</Button>
|
||||
)}
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
|
|
@ -93,4 +107,4 @@ function List(props) {
|
|||
);
|
||||
}
|
||||
|
||||
export default Connect([NS_QUALIFICATION_REVIEW], true)(List);
|
||||
export default Connect([NS_QUALIFICATION_REVIEW], true)(Permission(List));
|
||||
|
|
|
|||
Loading…
Reference in New Issue