fixed:项目对接资质证照

master
dearLin 2026-01-22 11:31:06 +08:00
parent 814738b466
commit cbaedaba70
4 changed files with 24 additions and 19 deletions

View File

@ -84,7 +84,7 @@ const StepOneComponent = (props) => {
};
useEffect(() => {
getCorpInfoList();
getCorpInfoList(1);
form.setFieldsValue(props.formValues);
}, []);
@ -114,16 +114,19 @@ const StepOneComponent = (props) => {
onGetLabel={(label) => {
form.setFieldValue("qualificationsTypeName", label);
}}
onChange={async (value) => {
if (value === "wzgll") {
await getCorpInfoList(1);
}
form.setFieldValue("groupUnitName", "");
form.setFieldValue("groupUnitName", "");
form.setFieldValue("groupUnitDeptName", "");
form.setFieldValue("groupUnitUserName", "");
form.setFieldValue("qualificationsId", "");
}}
// onChange={async (value) => {
// if (value === "wzgll") {
// await getCorpInfoList(1);
// }
// else {
// await getCorpInfoList(1);
// }
// form.setFieldValue("groupUnitName", "");
// form.setFieldValue("groupUnitName", "");
// form.setFieldValue("groupUnitDeptName", "");
// form.setFieldValue("groupUnitUserName", "");
// form.setFieldValue("qualificationsId", "");
// }}
/>
),
},

View File

@ -119,7 +119,8 @@ function List(props) {
<Space>
{(props.permission(props.cxtjbtn || "zrzz-jtgs-zrzzjl-btn-cxtj")
&& record.status === 400 && record.createId === currentUserId
&& (record.isAnnualInspection === 1)) && (
&& record.qualificationsStatus !== 0
&& record.isAnnualInspection === 1) && (
<Button
type="link"
onClick={() => {

View File

@ -29,7 +29,7 @@ function Add(props) {
const query = useGetUrlQuery();
const [form] = Form.useForm();
const [userInfo, setUserInfo] = useState({});
const [currentStep, setCurrentStep] = useState(2);
const [currentStep, setCurrentStep] = useState(1);
const [formValues, setFormValues] = useState({});
const [projectFileAddCmdList, setProjectFileAddCmdList] = useState([]); // 项目资料
const [usercontentAddCmdList, setUsercontentAddCmdList] = useState([]); // 项目审核人员

View File

@ -33,12 +33,13 @@ function Review(props) {
<Button
type="primary"
onClick={() => {
if (info.stakeholderLevel === "one-level") {
setPassModalOpen(true);
}
else {
onSubmit();
}
// if (info.stakeholderLevel === "one-level") {
// setPassModalOpen(true);
// }
// else {
// onSubmit();
// }
}}
>
通过