fixed:项目对接资质证照
parent
814738b466
commit
cbaedaba70
|
|
@ -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", "");
|
||||
// }}
|
||||
/>
|
||||
),
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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={() => {
|
||||
|
|
|
|||
|
|
@ -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([]); // 项目审核人员
|
||||
|
|
|
|||
|
|
@ -33,12 +33,13 @@ function Review(props) {
|
|||
<Button
|
||||
type="primary"
|
||||
onClick={() => {
|
||||
if (info.stakeholderLevel === "one-level") {
|
||||
setPassModalOpen(true);
|
||||
}
|
||||
else {
|
||||
onSubmit();
|
||||
}
|
||||
setPassModalOpen(true);
|
||||
// if (info.stakeholderLevel === "one-level") {
|
||||
// setPassModalOpen(true);
|
||||
// }
|
||||
// else {
|
||||
// onSubmit();
|
||||
// }
|
||||
}}
|
||||
>
|
||||
通过
|
||||
|
|
|
|||
Loading…
Reference in New Issue