diff --git a/src/components/LoginPage/LoginPage.tsx b/src/components/LoginPage/LoginPage.tsx index 9dca6b4..0aabbf8 100644 --- a/src/components/LoginPage/LoginPage.tsx +++ b/src/components/LoginPage/LoginPage.tsx @@ -35,7 +35,7 @@ type FormFieldType = { type FileType = Parameters>[0]; -export default function ProjConfigLoginpage(props:any) { +export default function ProjConfigLoginpage(props: any) { // const nav = useNavigate(); // const pathParams = useParams(); const [messageApi, contextHolder] = message.useMessage(); @@ -58,7 +58,7 @@ export default function ProjConfigLoginpage(props:any) { return isJpgOrPng; }; const preview = () => { - + post({ messageApi, url: `/api/proj/preview/${props.projId}`, @@ -187,7 +187,7 @@ export default function ProjConfigLoginpage(props:any) { {title: '登录界面设置'}, ]} /> */} -
+
@@ -206,6 +206,7 @@ export default function ProjConfigLoginpage(props:any) { type="default" className='seeButton' onClick={() => { props.closeModal() + // window.location.reload() }}>返回
diff --git a/src/route/proj/ProjEdit.tsx b/src/route/proj/ProjEdit.tsx index 05a0e9e..e094113 100644 --- a/src/route/proj/ProjEdit.tsx +++ b/src/route/proj/ProjEdit.tsx @@ -56,8 +56,8 @@ export default function ProjEdit() { const [softwareManagementOpen, setSoftwareManagementOpen] = useState(false) const [softwareManagementShowOpen, setSoftwareManagementShowOpen] = useState(false) // 第六步 显示顺序 - const [displayOrderOpen,setDisplayOrderOpen] = useState(false) - const [displayOrderShowOpen,setDisplayOrderShowOpen] = useState(false) + const [displayOrderOpen, setDisplayOrderOpen] = useState(false) + const [displayOrderShowOpen, setDisplayOrderShowOpen] = useState(false) // 判断是否完成状态 成功未处理/失败/正在处理 // 模块数量 @@ -512,6 +512,7 @@ export default function ProjEdit() {
{ setAiHelperModalOpen(true) }} description={AI} >AI助手 @@ -585,7 +586,12 @@ export default function ProjEdit() { width={1500} onCancel={() => { + setTitleIntroductionOpen(false); + setTimeout(() => { + window.location.reload() + }, 500) + }} footer={null} > @@ -610,6 +616,13 @@ export default function ProjEdit() { onCancel={() => { setSoftwareOpen(false); + // setTimeout(() => { + // props.closeModal() + // window.location.reload(); // 刷新页面 + // }, 1000); + setTimeout(() => { + window.location.reload() + }, 500) }} footer={null} > @@ -634,6 +647,10 @@ export default function ProjEdit() { onCancel={() => { setSoftwareFeaturesOpen(false); + setTimeout(() => { + window.location.reload() + }, 500) + }} footer={null} > @@ -658,6 +675,10 @@ export default function ProjEdit() { onCancel={() => { setLoginPageOpne(false); + setTimeout(() => { + window.location.reload() + }, 500) + }} footer={null} > @@ -710,8 +731,8 @@ export default function ProjEdit() { > - {/* 第六步 查看 */} - ([]) + const [listProjChargeAdditional, setlistProjChargeAdditional] = useState([]) useEffect(() => { get({ @@ -69,7 +69,7 @@ export default function ProjNew() { price += charge.additional.pkg; oldlistProjChargeAdditional.push(ProjAdditionalType.PKG); console.log(listProjChargeAdditional); - + } if (videoDemo) { price += charge.additional.videoDemo; @@ -97,7 +97,7 @@ export default function ProjNew() { {title: '新建项目'}, ]} /> */} -
+
{/*
请完善项目的基本信息
*/}
@@ -117,12 +117,28 @@ export default function ProjNew() { autoComplete="off" >
-
系统标题*
+
系统全称*
name="projName" - rules={[{ required: true, message: '请输入系统标题' }]} + rules={[{ required: true, message: '请输入系统全称' }]} > - + + +
+
+ + value ? Promise.resolve() : Promise.reject(new Error('请阅读并勾选《软件委托开发协议》')), + }, + ]} + > + + 我同意平台 《软件委托开发协议》 +
{/*
@@ -133,29 +149,29 @@ export default function ProjNew() {