diff --git a/pages/signUpEntrance/signUpEntrance.js b/pages/signUpEntrance/signUpEntrance.js index 90e8f2a..9ce8135 100644 --- a/pages/signUpEntrance/signUpEntrance.js +++ b/pages/signUpEntrance/signUpEntrance.js @@ -84,6 +84,16 @@ Page({ }, // 报名 signUp() { + // 超出报名时间 提示 + let flag = this.compareCurrentTime(this.data.meetingDetailIngfo.registerDeadline) + if(flag){ + wx.showToast({ + title: '当前会议超出报名时间,不可报名', + icon:'none', + duration:2000 + }) + return + } const that = this // 企业列表与参会人列表调用的是无权限接口 wx.setStorage({ @@ -132,7 +142,6 @@ Page({ }, // 预览文件 preview(e) { - console.log(e); const fileObj = e.currentTarget.dataset.file; previewFile(fileObj.id, fileObj.name) }, @@ -145,10 +154,7 @@ Page({ data: false }) let url = decodeURIComponent(options.q) - console.log(options,'options'); - console.log(url,'url'); let meetingId = url.split('=')[1] - console.log(meetingId,'meetingId'); this.queryMeetingDetail(meetingId) },