fixed:项目对接资质证照
parent
814738b466
commit
cbaedaba70
|
|
@ -84,7 +84,7 @@ const StepOneComponent = (props) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
getCorpInfoList();
|
getCorpInfoList(1);
|
||||||
form.setFieldsValue(props.formValues);
|
form.setFieldsValue(props.formValues);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
|
@ -114,16 +114,19 @@ const StepOneComponent = (props) => {
|
||||||
onGetLabel={(label) => {
|
onGetLabel={(label) => {
|
||||||
form.setFieldValue("qualificationsTypeName", label);
|
form.setFieldValue("qualificationsTypeName", label);
|
||||||
}}
|
}}
|
||||||
onChange={async (value) => {
|
// onChange={async (value) => {
|
||||||
if (value === "wzgll") {
|
// if (value === "wzgll") {
|
||||||
await getCorpInfoList(1);
|
// await getCorpInfoList(1);
|
||||||
}
|
// }
|
||||||
form.setFieldValue("groupUnitName", "");
|
// else {
|
||||||
form.setFieldValue("groupUnitName", "");
|
// await getCorpInfoList(1);
|
||||||
form.setFieldValue("groupUnitDeptName", "");
|
// }
|
||||||
form.setFieldValue("groupUnitUserName", "");
|
// form.setFieldValue("groupUnitName", "");
|
||||||
form.setFieldValue("qualificationsId", "");
|
// form.setFieldValue("groupUnitName", "");
|
||||||
}}
|
// form.setFieldValue("groupUnitDeptName", "");
|
||||||
|
// form.setFieldValue("groupUnitUserName", "");
|
||||||
|
// form.setFieldValue("qualificationsId", "");
|
||||||
|
// }}
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,8 @@ function List(props) {
|
||||||
<Space>
|
<Space>
|
||||||
{(props.permission(props.cxtjbtn || "zrzz-jtgs-zrzzjl-btn-cxtj")
|
{(props.permission(props.cxtjbtn || "zrzz-jtgs-zrzzjl-btn-cxtj")
|
||||||
&& record.status === 400 && record.createId === currentUserId
|
&& record.status === 400 && record.createId === currentUserId
|
||||||
&& (record.isAnnualInspection === 1)) && (
|
&& record.qualificationsStatus !== 0
|
||||||
|
&& record.isAnnualInspection === 1) && (
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ function Add(props) {
|
||||||
const query = useGetUrlQuery();
|
const query = useGetUrlQuery();
|
||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
const [userInfo, setUserInfo] = useState({});
|
const [userInfo, setUserInfo] = useState({});
|
||||||
const [currentStep, setCurrentStep] = useState(2);
|
const [currentStep, setCurrentStep] = useState(1);
|
||||||
const [formValues, setFormValues] = useState({});
|
const [formValues, setFormValues] = useState({});
|
||||||
const [projectFileAddCmdList, setProjectFileAddCmdList] = useState([]); // 项目资料
|
const [projectFileAddCmdList, setProjectFileAddCmdList] = useState([]); // 项目资料
|
||||||
const [usercontentAddCmdList, setUsercontentAddCmdList] = useState([]); // 项目审核人员
|
const [usercontentAddCmdList, setUsercontentAddCmdList] = useState([]); // 项目审核人员
|
||||||
|
|
|
||||||
|
|
@ -33,12 +33,13 @@ function Review(props) {
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (info.stakeholderLevel === "one-level") {
|
setPassModalOpen(true);
|
||||||
setPassModalOpen(true);
|
// if (info.stakeholderLevel === "one-level") {
|
||||||
}
|
// setPassModalOpen(true);
|
||||||
else {
|
// }
|
||||||
onSubmit();
|
// else {
|
||||||
}
|
// onSubmit();
|
||||||
|
// }
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
通过
|
通过
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue