【bug】工作组会议 并且会议费用为0 可以去下载会议文件
This commit is contained in:
@@ -33,7 +33,7 @@ Page({
|
|||||||
meetingJiyaoList:[],
|
meetingJiyaoList:[],
|
||||||
// 演讲ppt
|
// 演讲ppt
|
||||||
speechPptList: [],
|
speechPptList: [],
|
||||||
// 照片
|
// 照片
|
||||||
photoSrc: '',
|
photoSrc: '',
|
||||||
// 缴费凭证id
|
// 缴费凭证id
|
||||||
imageIds: [],
|
imageIds: [],
|
||||||
@@ -48,7 +48,7 @@ Page({
|
|||||||
userId: '',
|
userId: '',
|
||||||
form: {},
|
form: {},
|
||||||
showSignInBtn:false, // 是否显示签到按钮
|
showSignInBtn:false, // 是否显示签到按钮
|
||||||
isMoreTime:false, // 是否超过 会议截止报名时间
|
isMoreTime:false, // 是否超过 会议截止报名时间
|
||||||
meetingTypeText:"" // 会议类型
|
meetingTypeText:"" // 会议类型
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
@@ -133,7 +133,7 @@ Page({
|
|||||||
orderCode: this.data.ordeCode,
|
orderCode: this.data.ordeCode,
|
||||||
paymentRecord: this.data.imageIds
|
paymentRecord: this.data.imageIds
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Array.isArray(this.data.imageIds)) {
|
if (Array.isArray(this.data.imageIds)) {
|
||||||
param.paymentRecord = this.data.imageIds.join(',')
|
param.paymentRecord = this.data.imageIds.join(',')
|
||||||
}
|
}
|
||||||
@@ -245,11 +245,13 @@ Page({
|
|||||||
return fileList
|
return fileList
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 会议文件的预览
|
// 会议文件的预览
|
||||||
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',
|
||||||
@@ -322,7 +324,7 @@ Page({
|
|||||||
previewFile(fileObj.id, fileObj.name)
|
previewFile(fileObj.id, fileObj.name)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 去签到
|
// 去签到
|
||||||
toSignUp(){
|
toSignUp(){
|
||||||
let meetingId = this.data.meetingInfo.id
|
let meetingId = this.data.meetingInfo.id
|
||||||
wx.navigateTo({
|
wx.navigateTo({
|
||||||
@@ -335,7 +337,7 @@ Page({
|
|||||||
// 如果是去报名页面需要在缓存中存储会议信息 当报名结束后 需要清除缓存中的当前会议信息 meetingSignUpType 1 可报名 2报名
|
// 如果是去报名页面需要在缓存中存储会议信息 当报名结束后 需要清除缓存中的当前会议信息 meetingSignUpType 1 可报名 2报名
|
||||||
let meetingItem = this.data.meetingInfo
|
let meetingItem = this.data.meetingInfo
|
||||||
if (meetingItem.meetingSignUpType === 1) {
|
if (meetingItem.meetingSignUpType === 1) {
|
||||||
// 从消息报名的参会单位不可更改
|
// 从消息报名的参会单位不可更改
|
||||||
wx.setStorage({
|
wx.setStorage({
|
||||||
key:'companyDisabled',
|
key:'companyDisabled',
|
||||||
data:true
|
data:true
|
||||||
@@ -356,7 +358,7 @@ Page({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -366,7 +368,7 @@ Page({
|
|||||||
|
|
||||||
// 获取上一个页面的会议数据
|
// 获取上一个页面的会议数据
|
||||||
const meetingInfo = JSON.parse(options.meetingInfo)
|
const meetingInfo = JSON.parse(options.meetingInfo)
|
||||||
|
|
||||||
const that = this
|
const that = this
|
||||||
this.setData({
|
this.setData({
|
||||||
paymentQrCodeSrc:baseUrl + URL_CONFIG + 'sys/common/download/' + meetingInfo.paymentQrCode
|
paymentQrCodeSrc:baseUrl + URL_CONFIG + 'sys/common/download/' + meetingInfo.paymentQrCode
|
||||||
@@ -395,7 +397,7 @@ Page({
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 如果会议的报名状态是待签到则显示去签到按钮 待签到的报名状态时 6 并且会议的不是已结束
|
// 如果会议的报名状态是待签到则显示去签到按钮 待签到的报名状态时 6 并且会议的不是已结束
|
||||||
if(this.data.meetingInfo.signUpStatus == 6 && this.data.meetingInfo.signUpStatus +'' !== '4' ){
|
if(this.data.meetingInfo.signUpStatus == 6 && this.data.meetingInfo.signUpStatus +'' !== '4' ){
|
||||||
this.setData({
|
this.setData({
|
||||||
showSignInBtn:true
|
showSignInBtn:true
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user