立即报名增加apply的状态判断
This commit is contained in:
parent
248d843295
commit
84f97c3eaa
|
@ -628,7 +628,7 @@ async function JoinTeams(name: any) {
|
|||
{HeaderDetail.competition_status === 'nearly_published' ? <Button type="primary" className={styles.buttonsize} disabled={true} >未发布</Button> : null}
|
||||
{HeaderDetail.competition_status !== 'nearly_published' && HeaderDetail.enroll_end && HeaderDetail.competition_status !== 'ended' ? <Button type="primary" className={styles.buttonsize} disabled={true} >报名截止</Button> : null}
|
||||
{
|
||||
HeaderDetail.competition_status === 'progressing' && HeaderDetail.enroll_end != true ?
|
||||
(HeaderDetail.competition_status === 'progressing' || HeaderDetail.competition_status === 'apply') && HeaderDetail.enroll_end != true ?
|
||||
<Button
|
||||
type="primary"
|
||||
disabled={(HeaderDetail.identifier === "track1_2023" || HeaderDetail.identifier === "track2_2023" || HeaderDetail.identifier === "track4_2023" )?false:(StaffDetail.enrolled && !HeaderDetail.need_attachment)}
|
||||
|
|
|
@ -127,8 +127,8 @@ export default function request(url: string, option: any, flag?: boolean) {
|
|||
|
||||
let newOptions = { ...defaultOptions, ...options }
|
||||
let eduHeader = {
|
||||
'X-Edu-Signature':'21f2414978fb35b31669d237fbb51031',
|
||||
'X-Edu-Timestamp':'1719795620994',
|
||||
'X-Edu-Signature':'d81315a984e044dd57456b9e675727b6',
|
||||
'X-Edu-Timestamp':'1722216586532',
|
||||
'X-Edu-Type':'pc',
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue