bug:147738、14565、14508、14443

master
LiuJiaNan 2026-02-25 17:01:32 +08:00
parent 033c898875
commit 638777ebe7
15 changed files with 24 additions and 15 deletions

View File

@ -34,7 +34,7 @@ function List(props) {
<Search <Search
labelCol={{ span: 8 }} labelCol={{ span: 8 }}
options={[ options={[
{ name: "likeProjectName", label: "项目名称" }, { name: "likeProjectName", label: "二级项目名称" },
{ {
name: "eqQualificationsTypeId", name: "eqQualificationsTypeId",
label: "项目类别", label: "项目类别",
@ -70,6 +70,7 @@ function List(props) {
onClick={() => { onClick={() => {
props.history.push(`./reView?id=${record.id}&projectStatusLast=7`); props.history.push(`./reView?id=${record.id}&projectStatusLast=7`);
}} }}
disabled={record.projectStatus === 7 && record.currentUserCanAudit === 2}
> >
{record.projectStatus === 7 ? "审核" : "查看"} {record.projectStatus === 7 ? "审核" : "查看"}
</Button> </Button>

View File

@ -114,7 +114,7 @@ const StepOneComponent = (props) => {
onGetLabel={(label) => { onGetLabel={(label) => {
form.setFieldValue("qualificationsTypeName", label); form.setFieldValue("qualificationsTypeName", label);
}} }}
// onChange={async (value) => { onChange={() => {
// if (value === "wzgll") { // if (value === "wzgll") {
// await getCorpInfoList(1); // await getCorpInfoList(1);
// } // }
@ -125,8 +125,8 @@ const StepOneComponent = (props) => {
// form.setFieldValue("groupUnitName", ""); // form.setFieldValue("groupUnitName", "");
// form.setFieldValue("groupUnitDeptName", ""); // form.setFieldValue("groupUnitDeptName", "");
// form.setFieldValue("groupUnitUserName", ""); // form.setFieldValue("groupUnitUserName", "");
// form.setFieldValue("qualificationsId", ""); form.setFieldValue("qualificationsId", "");
// }} }}
/> />
), ),
}, },

View File

@ -80,6 +80,7 @@ function List(props) {
onClick={() => { onClick={() => {
props.history.push(`./reView?id=${record.id}&projectStatusLast=${record.projectStatus}`); props.history.push(`./reView?id=${record.id}&projectStatusLast=${record.projectStatus}`);
}} }}
disabled={record.currentUserCanAudit === 2}
> >
审核 审核
</Button> </Button>

View File

@ -61,6 +61,7 @@ function List(props) {
onClick={() => { onClick={() => {
props.history.push(`./reView?id=${record.id}&projectStatusLast=2`); props.history.push(`./reView?id=${record.id}&projectStatusLast=2`);
}} }}
disabled={record.projectStatus === 2 && record.currentUserCanAudit === 2}
> >
{record.projectStatus === 2 ? "确认" : "查看"} {record.projectStatus === 2 ? "确认" : "查看"}
</Button> </Button>

View File

@ -80,6 +80,7 @@ function List(props) {
onClick={() => { onClick={() => {
props.history.push(`./reView?id=${record.id}&projectStatusLast=${record.projectStatus}`); props.history.push(`./reView?id=${record.id}&projectStatusLast=${record.projectStatus}`);
}} }}
disabled={record.currentUserCanAudit === 2}
> >
审核 审核
</Button> </Button>

View File

@ -61,6 +61,7 @@ function List(props) {
onClick={() => { onClick={() => {
props.history.push(`./reView?id=${record.id}&projectStatusLast=2`); props.history.push(`./reView?id=${record.id}&projectStatusLast=2`);
}} }}
disabled={record.projectStatus === 2 && record.currentUserCanAudit === 2}
> >
{record.projectStatus === 2 ? "确认" : "查看"} {record.projectStatus === 2 ? "确认" : "查看"}
</Button> </Button>

View File

@ -80,6 +80,7 @@ function List(props) {
onClick={() => { onClick={() => {
props.history.push(`./reView?id=${record.id}&projectStatusLast=${record.projectStatus}`); props.history.push(`./reView?id=${record.id}&projectStatusLast=${record.projectStatus}`);
}} }}
disabled={record.currentUserCanAudit === 2}
> >
审核 审核
</Button> </Button>

View File

@ -24,7 +24,7 @@ function List(props) {
<Search <Search
labelCol={{ span: 8 }} labelCol={{ span: 8 }}
options={[ options={[
{ name: "likeProjectName", label: "项目名称" }, { name: "likeProjectName", label: "二级项目名称" },
{ name: "likeCorpInfoName", label: "相关方名称" }, { name: "likeCorpInfoName", label: "相关方名称" },
{ {
name: "eqQualificationsTypeId", name: "eqQualificationsTypeId",
@ -61,6 +61,7 @@ function List(props) {
onClick={() => { onClick={() => {
props.history.push(`./reView?id=${record.id}&projectStatusLast=2`); props.history.push(`./reView?id=${record.id}&projectStatusLast=2`);
}} }}
disabled={record.projectStatus === 2 && record.currentUserCanAudit === 2}
> >
{record.projectStatus === 2 ? "确认" : "查看"} {record.projectStatus === 2 ? "确认" : "查看"}
</Button> </Button>

View File

@ -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 ckbtn="xmsh-sdgs-xmbaxxgl-btn-ck" rybgjlbtn="xmsh-sdgs-xmbaxxgl-btn-rybgjl" searchType="4" {...props} />); return (<ListView ckbtn="xmsh-sdgs-xmbaxxgl-btn-ck" rybgjlbtn="xmsh-sdgs-xmbaxxgl-btn-rybgjl" eqStakeholderLevel="two-level" searchType="4" {...props} />);
}; }
export default List; export default List;

View File

@ -594,8 +594,10 @@ const StepTwoComponent = (props) => {
const [, setChooseFilsListModalData] = useState([]); const [, setChooseFilsListModalData] = useState([]);
const getData = async () => { const getData = async () => {
for (let i = 0; i < projectFileList.length; i++) { for (let i = 0; i < projectFileList.length; i++) {
const files = await getFile({ eqType: UPLOAD_FILE_TYPE_ENUM["148"], eqForeignKey: projectFileList[i].projectFileId }); if (projectFileList[i].projectFileId) {
projectFileList[i].files = files; const files = await getFile({ eqType: UPLOAD_FILE_TYPE_ENUM["148"], eqForeignKey: projectFileList[i].projectFileId });
projectFileList[i].files = files;
}
} }
}; };
useEffect(() => { useEffect(() => {
@ -1042,7 +1044,7 @@ const UserSelectComponent = (props) => {
return ( return (
<Modal <Modal
title="相关方企业人员列表" title="相关方企业人员列表"
width={1200} width={1500}
open open
maskClosable={false} maskClosable={false}
onCancel={props.onCancel} onCancel={props.onCancel}
@ -1061,7 +1063,6 @@ const UserSelectComponent = (props) => {
</div> </div>
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<Search <Search
labelCol={{ span: 8 }}
options={[ options={[
{ name: "likeName", label: "姓名" }, { name: "likeName", label: "姓名" },
{ name: "likeUserIdCard", label: "身份证" }, { name: "likeUserIdCard", label: "身份证" },

View File

@ -846,7 +846,7 @@ const UsercontentComponent = (props) => {
return ( return (
<Modal <Modal
title="相关方企业人员列表" title="相关方企业人员列表"
width={1200} width={1500}
open open
maskClosable={false} maskClosable={false}
onCancel={props.onCancel} onCancel={props.onCancel}
@ -865,7 +865,6 @@ const UsercontentComponent = (props) => {
</div> </div>
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<Search <Search
labelCol={{ span: 8 }}
options={[ options={[
{ name: "likeName", label: "姓名" }, { name: "likeName", label: "姓名" },
{ name: "likeUserIdCard", label: "身份证" }, { name: "likeUserIdCard", label: "身份证" },

View File

@ -70,6 +70,7 @@ function List(props) {
onClick={() => { onClick={() => {
props.history.push(`./reView?id=${record.id}&projectStatusLast=1`); props.history.push(`./reView?id=${record.id}&projectStatusLast=1`);
}} }}
disabled={record.projectStatus === 1 && record.currentUserCanAudit === 2}
> >
{record.projectStatus === 1 ? "审核" : "查看"} {record.projectStatus === 1 ? "审核" : "查看"}
</Button> </Button>

View File

@ -72,6 +72,7 @@ function List(props) {
onClick={() => { onClick={() => {
props.history.push(`./reView?id=${record.id}&projectStatusLast=1`); props.history.push(`./reView?id=${record.id}&projectStatusLast=1`);
}} }}
disabled={record.projectStatus === 1 && record.currentUserCanAudit === 2}
> >
{record.projectStatus === 1 ? "审核" : "查看"} {record.projectStatus === 1 ? "审核" : "查看"}
</Button> </Button>

View File

@ -70,6 +70,7 @@ function List(props) {
onClick={() => { onClick={() => {
props.history.push(`./reView?id=${record.id}&projectStatusLast=1`); props.history.push(`./reView?id=${record.id}&projectStatusLast=1`);
}} }}
disabled={record.projectStatus === 1 && record.currentUserCanAudit === 2}
> >
{record.projectStatus === 1 ? "审核" : "查看"} {record.projectStatus === 1 ? "审核" : "查看"}
</Button> </Button>

View File

@ -275,7 +275,7 @@ const UserSelectComponent = (props) => {
return ( return (
<Modal <Modal
title="相关方企业人员列表" title="相关方企业人员列表"
width={1200} width={1500}
open open
maskClosable={false} maskClosable={false}
onCancel={props.onCancel} onCancel={props.onCancel}
@ -294,7 +294,6 @@ const UserSelectComponent = (props) => {
</div> </div>
<div style={{ flex: 1 }}> <div style={{ flex: 1 }}>
<Search <Search
labelCol={{ span: 8 }}
options={[ options={[
{ name: "likeName", label: "姓名" }, { name: "likeName", label: "姓名" },
{ name: "likeUserIdCard", label: "身份证" }, { name: "likeUserIdCard", label: "身份证" },