lyp
This commit is contained in:
parent
252570a588
commit
afc607c455
@ -335,9 +335,9 @@ export default function ProjEdit() {
|
|||||||
canBtnClick={canGenerate}
|
canBtnClick={canGenerate}
|
||||||
handleEdit={() => {
|
handleEdit={() => {
|
||||||
setIsGenerateModalOpen(true);
|
setIsGenerateModalOpen(true);
|
||||||
setTimeout(() => {
|
// setTimeout(() => {
|
||||||
window.location.reload();
|
// window.location.reload();
|
||||||
}, 1000)
|
// }, 1000)
|
||||||
}}
|
}}
|
||||||
// background = {status == EditStepEnum.EDITED?'#F5FAFE':'#f3f3f3'}
|
// background = {status == EditStepEnum.EDITED?'#F5FAFE':'#f3f3f3'}
|
||||||
// shadow = {status == EditStepEnum.EDITED?'0px 3px 0px 0px rgba(55,144,215,0.18)':''}
|
// shadow = {status == EditStepEnum.EDITED?'0px 3px 0px 0px rgba(55,144,215,0.18)':''}
|
||||||
@ -455,11 +455,13 @@ export default function ProjEdit() {
|
|||||||
cancelText="取消"
|
cancelText="取消"
|
||||||
open={isGenerateModalOpen}
|
open={isGenerateModalOpen}
|
||||||
onOk={() => {
|
onOk={() => {
|
||||||
|
|
||||||
post({
|
post({
|
||||||
messageApi,
|
messageApi,
|
||||||
url: `/api/proj/generate/proj-id/${pathParams.projId}`,
|
url: `/api/proj/generate/proj-id/${pathParams.projId}`,
|
||||||
body: {},
|
body: {},
|
||||||
onSuccess() {
|
onSuccess() {
|
||||||
|
window.location.reload();
|
||||||
messageApi.success('提交成功');
|
messageApi.success('提交成功');
|
||||||
setIsGenerateModalOpen(false);
|
setIsGenerateModalOpen(false);
|
||||||
renderData();
|
renderData();
|
||||||
|
@ -898,6 +898,7 @@ export default function ProjEditStep2() {
|
|||||||
<Button type="primary"
|
<Button type="primary"
|
||||||
htmlType="submit"
|
htmlType="submit"
|
||||||
// style={{ height: '49px', width: '104px', color: '#FDFDF2', background: '#1564ED', fontSize: '16px' }}
|
// style={{ height: '49px', width: '104px', color: '#FDFDF2', background: '#1564ED', fontSize: '16px' }}
|
||||||
|
style={{ marginLeft:"-10px" }}
|
||||||
size='large'
|
size='large'
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
formInfo.validateFields().then(() => {
|
formInfo.validateFields().then(() => {
|
||||||
|
@ -282,7 +282,7 @@ export default function ProjEditStep3() {
|
|||||||
onClick={()=>{
|
onClick={()=>{
|
||||||
setIsEditModalOpen(true)
|
setIsEditModalOpen(true)
|
||||||
}}>
|
}}>
|
||||||
上传
|
保存
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user