【bug】工作组会议 并且会议费用为0 可以去下载会议文件

This commit is contained in:
fengachen
2022-03-01 11:17:07 +08:00
parent df3b6ab252
commit edcd3d0058
2 changed files with 14 additions and 12 deletions
@@ -249,7 +249,9 @@ Page({
previewFileMeetingData(e) { previewFileMeetingData(e) {
const that = this const that = this
// 只有审核通过的才可以去下载 // 只有审核通过的才可以去下载
if (this.data.singInPersonInfo.checkResult !== 1) { // 工作组会议 会议金额为0 可以去下载文件
let flag = this.data.meetingInfo.meetingType === 1 && this.data.meetingInfo.meetingCosts === '0.00'
if (!flag && this.data.singInPersonInfo.checkResult !== 1) {
wx.showToast({ wx.showToast({
title: '会议报名并审核通过后才可查看文件', title: '会议报名并审核通过后才可查看文件',
icon: 'none', icon: 'none',
@@ -18,11 +18,11 @@
</view> </view>
<view class="sign-in"> <view class="sign-in">
<text>召开时间</text> <text>召开时间</text>
<text class="sign-in-text">{{meetingInfo.startTime + '至' + meetingInfo.endTime}}</text> <text wx:if="{{meetingInfo.startTime}}" class="sign-in-text">{{meetingInfo.startTime + '至' + meetingInfo.endTime}}</text>
</view> </view>
<view class="sign-in"> <view class="sign-in">
<text>召开地点</text> <text>召开地点</text>
<text class="sign-in-text">{{meetingInfo.venue + '/' + meetingInfo.address}}</text> <text wx:if="{{meetingInfo.venue}}" class="sign-in-text">{{meetingInfo.venue + '/' + meetingInfo.address}}</text>
</view> </view>
<view> <view>
<text>报名截止时间</text> <text>报名截止时间</text>