From 727778de9d41f8b03327a529abd39f48f5387c88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Mon, 19 Jun 2023 16:18:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E6=9D=83=E4=BA=A4=E6=98=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/project/projectDetail.vue | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/src/views/project/projectDetail.vue b/src/views/project/projectDetail.vue index d633dc02..68e34cd1 100644 --- a/src/views/project/projectDetail.vue +++ b/src/views/project/projectDetail.vue @@ -203,7 +203,7 @@ - + {{ btnMsg }}
保证金¥{{detail.deposit}}
@@ -315,6 +315,32 @@ export default { this.reload(); }, 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) { this.current = index; },