|
|
@@ -327,8 +327,28 @@ export default { |
|
|
|
methods: { |
|
|
|
goSignUp(){ |
|
|
|
getInfo().then(response => { |
|
|
|
getMember(response.user.userId).then(response => { |
|
|
|
if (response.data.auditStatus == 'Y'){ |
|
|
|
getMember(response.user.userId).then(resresponse => { |
|
|
|
let data= { |
|
|
|
projectId:this.id, |
|
|
|
memberId:resresponse.data.id, |
|
|
|
}; |
|
|
|
var isSign; |
|
|
|
getSignup(data).then(r =>{ |
|
|
|
if(r.data=="1"){ |
|
|
|
isSign=true |
|
|
|
} |
|
|
|
}) |
|
|
|
if (resresponse.data.auditStatus == 'Y'){ |
|
|
|
if (isSign){ |
|
|
|
this.$toast({ |
|
|
|
icon: 'error', // 找到自己需要的图标 |
|
|
|
message: '已报名,请耐心等待审核结果!', |
|
|
|
duration:"2000", |
|
|
|
onClose:function(){ |
|
|
|
} |
|
|
|
}) |
|
|
|
return; |
|
|
|
} |
|
|
|
this.$router.push( |
|
|
|
{ |
|
|
|
path: 'signUp', |
|
|
|