feat:当选择物资类资质维护时,股份主管部门里的人可多选

master
dearLin 2026-03-30 13:51:38 +08:00
parent b83d4bbdd1
commit ba98f78280
8 changed files with 20 additions and 17 deletions

View File

@ -61,7 +61,7 @@ const ViewProjectReviewUserModal = (props) => {
return (
<div>
<Modal
title="特种证书"
title="资质证书"
width={1200}
open
maskClosable={false}
@ -155,7 +155,7 @@ const ViewInfoModalComponent = (props) => {
return (
<Modal
title="特种证书"
title="资质证书"
width={1200}
open
maskClosable={false}

View File

@ -23,7 +23,7 @@ export const PROJECT_STATUS_MAP = [
export const PROJECT_ONELEVEL_STATUS_MAP = [
{ name: "主管部门审核中", bianma: "1" },
{ name: "项目属地单位确认中", bianma: "2" },
{ name: "推荐属地公司审核中", bianma: "3" },
{ name: "审核属地公司审核中", bianma: "3" },
{ name: "已完成", bianma: "4" },
{ name: "已驳回", bianma: "6" },
];

View File

@ -49,7 +49,7 @@ function List(props) {
<Table
columns={[
{ title: "项目名称", dataIndex: "projectName" },
{ title: "是否为股份公司审核", dataIndex: "isLocalCompany", render: (_, record) => record.isLocalCompany === 1 ? "是" : "否" },
{ title: "是否为属地公司审核", dataIndex: "isLocalCompany", render: (_, record) => record.isLocalCompany === 1 ? "是" : "否" },
{ title: "项目属地单位", dataIndex: "companyName" },
{ title: "主管部门", dataIndex: "manageDeptName" },
{ title: "项目类别", dataIndex: "qualificationsTypeName" },

View File

@ -156,7 +156,7 @@ const StepOneComponent = (props) => {
const form = props.form;
const approvalCorpId = Form.useWatch("approvalCorpId", form); // 项目审核部门公司
const approvalDeptId = Form.useWatch("approvalDeptId", form); // 项目审核部门
const isLocalCompany = Form.useWatch("isLocalCompany", form); // 是否为股份公司审核
const isLocalCompany = Form.useWatch("isLocalCompany", form); // 是否为属地公司审核
const qualificationsTypeId = Form.useWatch("qualificationsTypeId", form);
const recommendCorpId = Form.useWatch("recommendCorpId", form);
const recommendDeptId = Form.useWatch("recommendDeptId", form);
@ -420,7 +420,7 @@ const StepOneComponent = (props) => {
},
{
name: "isLocalCompany",
label: "是否为股份公司审核",
label: "是否为属地公司审核",
span: 24,
render: FORM_ITEM_RENDER_ENUM.RADIO,
items: [{ bianma: 1, name: "是" }, { bianma: 0, name: "否" }],
@ -457,7 +457,7 @@ const StepOneComponent = (props) => {
? [
{
name: "recommendCorpId",
label: "推荐属地公司名称",
label: "审核属地公司名称",
labelCol: { span: 6 },
items: corpInfoList,
render: FORM_ITEM_RENDER_ENUM.SELECT,
@ -475,11 +475,11 @@ const StepOneComponent = (props) => {
},
},
},
{ name: "recommendCorpName", label: "推荐属地公司名称", onlyForLabel: true },
{ name: "recommendCorpName", label: "审核属地公司名称", onlyForLabel: true },
{
name: "recommendDeptId",
labelCol: { span: 6 },
label: "推荐属地公司部门",
label: "审核属地公司部门",
render: (
<DepartmentSelectTree
params={{ eqCorpinfoId: recommendCorpId }}
@ -494,10 +494,10 @@ const StepOneComponent = (props) => {
/>
),
},
{ name: "recommendDeptName", label: "推荐属地公司部门", onlyForLabel: true },
{ name: "recommendDeptName", label: "审核属地公司部门", onlyForLabel: true },
{
name: "recommendUserIds",
label: "推荐属地公司人员",
label: "审核属地公司人员",
span: 8,
labelCol: { span: 6 },
wrapperCol: { span: 19 },
@ -509,7 +509,7 @@ const StepOneComponent = (props) => {
/>
),
},
{ name: "recommendUserNames", label: "推荐属地公司人员", onlyForLabel: true },
{ name: "recommendUserNames", label: "审核属地公司人员", onlyForLabel: true },
]
: [
{

View File

@ -71,7 +71,7 @@ function List(props) {
)}
columns={[
{ title: "项目名称", dataIndex: "projectName" },
{ title: "是否为股份公司审核", dataIndex: "isLocalCompany", render: (_, record) => record.isLocalCompany === 1 ? "是" : "否" },
{ title: "是否为属地公司审核", dataIndex: "isLocalCompany", render: (_, record) => record.isLocalCompany === 1 ? "是" : "否" },
{ title: "项目属地单位", dataIndex: "companyName" },
{ title: "主管部门", dataIndex: "manageDeptName" },
{ title: "项目类别", dataIndex: "qualificationsTypeName" },

View File

@ -285,7 +285,7 @@ function Review(props) {
{ label: "是否涉及夜间作业", children: info.nightWorkFlag === 1 ? "是" : "否" },
{ label: "项目类别", children: info.qualificationsTypeName },
{ label: "是否存在分包项目", children: info.subcontractFlag === 1 ? "是" : "否" },
{ label: "是否为股份公司审核", children: info.isLocalCompany === 1 ? "是" : "否" },
{ label: "是否为属地公司审核", children: info.isLocalCompany === 1 ? "是" : "否" },
{ label: "安全管理协议", children: (
<>
<PreviewImg files={info.imgFiles} />

View File

@ -50,7 +50,7 @@ function List(props) {
<Table
columns={[
{ title: "项目名称", dataIndex: "projectName" },
{ title: "是否为股份公司审核", dataIndex: "isLocalCompany", render: (_, record) => record.isLocalCompany === 1 ? "是" : "否" },
{ title: "是否为属地公司审核", dataIndex: "isLocalCompany", render: (_, record) => record.isLocalCompany === 1 ? "是" : "否" },
{ title: "项目属地单位", dataIndex: "companyName" },
{ title: "主管部门", dataIndex: "manageDeptName" },
{ title: "项目类别", dataIndex: "qualificationsTypeName" },

View File

@ -37,6 +37,8 @@ function Add(props) {
...values,
managerUser: values.managerUser.join(","),
managerUserName: values.managerUserName.join(","),
shareUserId: values.shareUserId.join(","),
shareUserName: values.shareUserName.join(","),
id: query.id,
});
if (success) {
@ -162,8 +164,8 @@ function Add(props) {
form.setFieldValue("shareDeptName", label);
}}
onChange={() => {
form.setFieldValue("shareUserId", "");
form.setFieldValue("shareUserName", "");
form.setFieldValue("shareUserId", []);
form.setFieldValue("shareUserName", []);
}}
/>
),
@ -179,6 +181,7 @@ function Add(props) {
disabled={query.id}
params={{ departmentId: shareDeptId }}
extraParams={{ noMain: 1 }}
mode="multiple"
onGetLabel={(label) => {
form.setFieldValue("shareUserName", label);
}}