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