显示当前进度
This commit is contained in:
parent
f2202f1674
commit
4f5ad40fbf
@ -50,6 +50,10 @@ import DisplayOrderShow from '../../route/proj/edit/ProjConfigMenuListShow.tsx'
|
|||||||
// }
|
// }
|
||||||
// type FileType = Parameters<GetProp<UploadProps, 'beforeUpload'>>[0];
|
// type FileType = Parameters<GetProp<UploadProps, 'beforeUpload'>>[0];
|
||||||
export default function ProjEditAll() {
|
export default function ProjEditAll() {
|
||||||
|
// 进度提示弹窗
|
||||||
|
const [progressModal, setprogressModal] = useState(true)
|
||||||
|
// 当前进度
|
||||||
|
const [progress, setprogress] = useState('')
|
||||||
//证书img
|
//证书img
|
||||||
const [certificate, setcertificate] = useState('')
|
const [certificate, setcertificate] = useState('')
|
||||||
// 回复信息
|
// 回复信息
|
||||||
@ -347,6 +351,7 @@ export default function ProjEditAll() {
|
|||||||
onSuccess({ data }) {
|
onSuccess({ data }) {
|
||||||
console.log('嘻嘻', data);
|
console.log('嘻嘻', data);
|
||||||
setcertificate(data.certificates)
|
setcertificate(data.certificates)
|
||||||
|
setprogress(data.progress == 'PRODUCTION' ? '制作中' : data.progress == 'SUBMIT_FOR_REVIEW' ? '提交审核' : data.progress == 'DONE' ? '已完成' : '')
|
||||||
console.log('状态判断', data.pay.chargeAdditionals);
|
console.log('状态判断', data.pay.chargeAdditionals);
|
||||||
// setShowZpi(true)
|
// setShowZpi(true)
|
||||||
// const isShow = data.pay.chargeAdditionals.includes('PKG')
|
// const isShow = data.pay.chargeAdditionals.includes('PKG')
|
||||||
@ -1091,6 +1096,29 @@ export default function ProjEditAll() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
<Modal title=""
|
||||||
|
destroyOnClose={true}
|
||||||
|
open={progressModal}
|
||||||
|
|
||||||
|
style={{
|
||||||
|
display: 'flex',
|
||||||
|
alignItems: 'center',
|
||||||
|
justifyContent: 'center',
|
||||||
|
height: `${height}px`,
|
||||||
|
|
||||||
|
}}
|
||||||
|
|
||||||
|
footer={null}
|
||||||
|
onCancel={() => {
|
||||||
|
setprogressModal(false);
|
||||||
|
}}>
|
||||||
|
<div style={{
|
||||||
|
width: 700,
|
||||||
|
// marginTop: 20
|
||||||
|
}}>
|
||||||
|
当前进度:{progress}
|
||||||
|
</div>
|
||||||
|
</Modal>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user