|
@@ -203,7 +203,7 @@ |
|
|
<!-- <p style="line-height: 0.2rem;color: #999999">提醒</p>--> |
|
|
<!-- <p style="line-height: 0.2rem;color: #999999">提醒</p>--> |
|
|
<!-- </van-col>--> |
|
|
<!-- </van-col>--> |
|
|
<van-col span="24"> |
|
|
<van-col span="24"> |
|
|
<van-button round color="#C21F3A" block :disabled="isSignup" :to="{path:'signUp',query:{projectId:detail.id,deposit:detail.deposit,projectName:detail.projectName}}"> |
|
|
|
|
|
|
|
|
<van-button round color="#C21F3A" block :disabled="isSignup" @click="goSignUp"> |
|
|
{{ btnMsg }}<br/> |
|
|
{{ btnMsg }}<br/> |
|
|
<span style="font-size: 10px">保证金¥{{detail.deposit}}</span> |
|
|
<span style="font-size: 10px">保证金¥{{detail.deposit}}</span> |
|
|
</van-button> |
|
|
</van-button> |
|
@@ -315,6 +315,32 @@ export default { |
|
|
this.reload(); |
|
|
this.reload(); |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
goSignUp(){ |
|
|
|
|
|
getInfo().then(response => { |
|
|
|
|
|
getMember(response.user.userId).then(response => { |
|
|
|
|
|
if (response.data.auditStatus == 'Y'){ |
|
|
|
|
|
this.$router.push( |
|
|
|
|
|
{ |
|
|
|
|
|
path: 'signUp', |
|
|
|
|
|
query: { |
|
|
|
|
|
projectId: this.detail.id, |
|
|
|
|
|
deposit: this.detail.deposit, |
|
|
|
|
|
projectName: this.detail.projectName |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
); |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.$toast({ |
|
|
|
|
|
icon: 'error', // 找到自己需要的图标 |
|
|
|
|
|
message: '交易中心审核注册信息后方可进行报名!', |
|
|
|
|
|
duration:"2000", |
|
|
|
|
|
onClose:function(){ |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
onChange(index) { |
|
|
onChange(index) { |
|
|
this.current = index; |
|
|
this.current = index; |
|
|
}, |
|
|
}, |
|
|