This commit is contained in:
xixi 2024-05-29 15:11:52 +08:00
parent ceef8a5e88
commit 4f84406957
7 changed files with 43 additions and 33 deletions

View File

@ -561,9 +561,7 @@ export default function ProjConfigLoginpage(props: any) {
}) })
// props.closeModal() // props.closeModal()
props.closeModal() props.closeModal()
setTimeout(() => {
window.location.reload()
}, 500)
}, },
onFinally() { onFinally() {

View File

@ -474,6 +474,7 @@ export default function CardProj(props: { item: IProj }) {
<Modal open={loginPageOpne} <Modal open={loginPageOpne}
title="登陆页面设置" title="登陆页面设置"
width={1700} width={1700}
destroyOnClose={true}
onCancel={() => { onCancel={() => {
setLoginPageOpne(false); setLoginPageOpne(false);
@ -488,6 +489,7 @@ export default function CardProj(props: { item: IProj }) {
<Modal open={loginPageShowOpne} <Modal open={loginPageShowOpne}
title="登陆页面查看" title="登陆页面查看"
width={1700} width={1700}
destroyOnClose={true}
onCancel={() => { onCancel={() => {
setLoginPageShowOpne(false); setLoginPageShowOpne(false);
@ -502,6 +504,7 @@ export default function CardProj(props: { item: IProj }) {
<Modal open={softwareManagementOpen} <Modal open={softwareManagementOpen}
title="软件功能管理设置" title="软件功能管理设置"
width={1500} width={1500}
destroyOnClose={true}
onCancel={() => { onCancel={() => {
setSoftwareManagementOpen(false); setSoftwareManagementOpen(false);
@ -515,6 +518,8 @@ export default function CardProj(props: { item: IProj }) {
<Modal open={softwareManagementShowOpen} <Modal open={softwareManagementShowOpen}
title="软件功能管理查看" title="软件功能管理查看"
width={1500} width={1500}
destroyOnClose={true}
onCancel={() => { onCancel={() => {
setSoftwareManagementShowOpen(false); setSoftwareManagementShowOpen(false);
}} }}
@ -526,6 +531,7 @@ export default function CardProj(props: { item: IProj }) {
<Modal open={displayOrderOpen} <Modal open={displayOrderOpen}
title="设置功能列表显示顺序" title="设置功能列表显示顺序"
width={1500} width={1500}
destroyOnClose={true}
onCancel={() => { onCancel={() => {
setDisplayOrderOpen(false); setDisplayOrderOpen(false);
@ -538,6 +544,7 @@ export default function CardProj(props: { item: IProj }) {
<Modal open={displayOrderShowOpen} <Modal open={displayOrderShowOpen}
title="查看功能列表显示顺序" title="查看功能列表显示顺序"
width={1500} width={1500}
destroyOnClose={true}
onCancel={() => { onCancel={() => {
setDisplayOrderShowOpen(false); setDisplayOrderShowOpen(false);

View File

@ -584,13 +584,14 @@ export default function ProjEdit() {
<Modal open={titleIntroductionOpen} <Modal open={titleIntroductionOpen}
title="软件简介确认" title="软件简介确认"
width={1500} width={1500}
destroyOnClose={true}
onCancel={() => { onCancel={() => {
setTitleIntroductionOpen(false); setTitleIntroductionOpen(false);
setTimeout(() => { // setTimeout(() => {
window.location.reload() // window.location.reload()
}, 500) // }, 500)
}} }}
footer={null} footer={null}
@ -599,9 +600,10 @@ export default function ProjEdit() {
</Modal> </Modal>
{/* 第1步查看 */} {/* 第1步查看 */}
<Modal open={titleIntroductionShowOpen} <Modal open={titleIntroductionShowOpen}
destroyOnClose={true}
title="软件简介查看" title="软件简介查看"
width={1500} width={1500}
onCancel={() => { onCancel={() => {
setTitleIntroductionShowOpen(false); setTitleIntroductionShowOpen(false);
}} }}
@ -613,16 +615,16 @@ export default function ProjEdit() {
<Modal open={softwareInfoOpen} <Modal open={softwareInfoOpen}
title="软件基本信息填写" title="软件基本信息填写"
width={1500} width={1500}
destroyOnClose={true}
onCancel={() => { onCancel={() => {
setSoftwareOpen(false); setSoftwareOpen(false);
// setTimeout(() => { // setTimeout(() => {
// props.closeModal() // props.closeModal()
// window.location.reload(); // 刷新页面 // window.location.reload(); // 刷新页面
// }, 1000); // }, 1000);
setTimeout(() => { // setTimeout(() => {
window.location.reload() // window.location.reload()
}, 500) // }, 500)
}} }}
footer={null} footer={null}
> >
@ -632,7 +634,7 @@ export default function ProjEdit() {
<Modal open={softwareInfoShowOpen} <Modal open={softwareInfoShowOpen}
title="软件基本信息查看" title="软件基本信息查看"
width={1500} width={1500}
destroyOnClose={true}
onCancel={() => { onCancel={() => {
setSoftwareShowOpen(false); setSoftwareShowOpen(false);
}} }}
@ -644,12 +646,12 @@ export default function ProjEdit() {
<Modal open={softwareFeaturesOpen} <Modal open={softwareFeaturesOpen}
title="软件功能特点设置" title="软件功能特点设置"
width={1500} width={1500}
destroyOnClose={true}
onCancel={() => { onCancel={() => {
setSoftwareFeaturesOpen(false); setSoftwareFeaturesOpen(false);
setTimeout(() => { // setTimeout(() => {
window.location.reload() // window.location.reload()
}, 500) // }, 500)
}} }}
footer={null} footer={null}
@ -660,6 +662,7 @@ export default function ProjEdit() {
<Modal open={softwareFeaturesShowOpen} <Modal open={softwareFeaturesShowOpen}
title="软件功能特点查看" title="软件功能特点查看"
width={1500} width={1500}
destroyOnClose={true}
onCancel={() => { onCancel={() => {
setSoftwareFeaturesShowOpen(false); setSoftwareFeaturesShowOpen(false);
@ -672,12 +675,13 @@ export default function ProjEdit() {
<Modal open={loginPageOpne} <Modal open={loginPageOpne}
title="登陆页面设置" title="登陆页面设置"
width={1700} width={1700}
destroyOnClose={true}
onCancel={() => { onCancel={() => {
setLoginPageOpne(false); setLoginPageOpne(false);
setTimeout(() => { // setTimeout(() => {
window.location.reload() // window.location.reload()
}, 500) // }, 500)
}} }}
footer={null} footer={null}
@ -688,6 +692,7 @@ export default function ProjEdit() {
<Modal open={loginPageShowOpne} <Modal open={loginPageShowOpne}
title="登陆页面查看" title="登陆页面查看"
width={1700} width={1700}
destroyOnClose={true}
onCancel={() => { onCancel={() => {
setLoginPageShowOpne(false); setLoginPageShowOpne(false);
@ -700,6 +705,7 @@ export default function ProjEdit() {
<Modal open={softwareManagementOpen} <Modal open={softwareManagementOpen}
title="软件功能管理设置" title="软件功能管理设置"
width={1500} width={1500}
destroyOnClose={true}
onCancel={() => { onCancel={() => {
setSoftwareManagementOpen(false); setSoftwareManagementOpen(false);
@ -715,6 +721,8 @@ export default function ProjEdit() {
onCancel={() => { onCancel={() => {
setSoftwareManagementShowOpen(false); setSoftwareManagementShowOpen(false);
}} }}
destroyOnClose={true}
footer={null} footer={null}
> >
<SoftwareManagementShow></SoftwareManagementShow> <SoftwareManagementShow></SoftwareManagementShow>
@ -723,6 +731,7 @@ export default function ProjEdit() {
<Modal open={displayOrderOpen} <Modal open={displayOrderOpen}
title="设置功能列表显示顺序" title="设置功能列表显示顺序"
width={1500} width={1500}
destroyOnClose={true}
onCancel={() => { onCancel={() => {
setDisplayOrderOpen(false); setDisplayOrderOpen(false);
@ -735,7 +744,7 @@ export default function ProjEdit() {
<Modal open={displayOrderShowOpen} <Modal open={displayOrderShowOpen}
title="查看功能列表显示顺序" title="查看功能列表显示顺序"
width={1500} width={1500}
destroyOnClose={true}
onCancel={() => { onCancel={() => {
setDisplayOrderShowOpen(false); setDisplayOrderShowOpen(false);
}} }}

View File

@ -204,9 +204,9 @@ export default function ProjConfigLoginpage(props: any) {
type="default" type="default"
className='seeButton' onClick={() => { className='seeButton' onClick={() => {
props.closeModal() props.closeModal()
setTimeout(()=>{ // setTimeout(()=>{
window.location.reload() // window.location.reload()
},500) // },500)
}}></Button> }}></Button>
<Button <Button

View File

@ -179,9 +179,7 @@ export default function ProjEditStep1(props: any) {
size='large' size='large'
onClick={() => { onClick={() => {
props.closeModal() props.closeModal()
setTimeout(() => {
window.location.reload()
}, 500); // 刷新页面
}}> }}>
</Button> </Button>
@ -203,6 +201,7 @@ export default function ProjEditStep1(props: any) {
<Modal title="提示" <Modal title="提示"
okText="确定" okText="确定"
cancelText="取消" cancelText="取消"
destroyOnClose={true}
open={isEditModalOpen} open={isEditModalOpen}
onOk={() => { onOk={() => {
setIsEditModalOpen(false); setIsEditModalOpen(false);
@ -226,7 +225,7 @@ export default function ProjEditStep1(props: any) {
}) })
setTimeout(() => { setTimeout(() => {
props.closeModal() props.closeModal()
window.location.reload(); // 刷新页面 // window.location.reload(); // 刷新页面
}, 1000); }, 1000);
}, },

View File

@ -932,9 +932,6 @@ export default function ProjEditStep2(props: any) {
<Flex align="center" justify="center" gap="large"> <Flex align="center" justify="center" gap="large">
<Button type="default" htmlType="button" onClick={() => { <Button type="default" htmlType="button" onClick={() => {
props.closeModal() props.closeModal()
setTimeout(() => {
window.location.reload()
}, 500)
// alert('发挥') // alert('发挥')
}} }}
// style={{ height: '49px', width: '104px', color: '#4B4B4B', background: '#D1D1D1', fontSize: '16px' }} // style={{ height: '49px', width: '104px', color: '#4B4B4B', background: '#D1D1D1', fontSize: '16px' }}

View File

@ -275,9 +275,9 @@ export default function ProjEditStep3(props:any) {
size='large' size='large'
onClick={()=>{ onClick={()=>{
props.closeModal() props.closeModal()
setTimeout(()=>{ // setTimeout(()=>{
window.location.reload() // window.location.reload()
},500) // },500)
}}> }}>
</Button> </Button>