【bug】会议资料的下载次数限制

This commit is contained in:
fengachen
2021-10-29 15:15:06 +08:00
parent 77a21acc9e
commit b98416304d
3 changed files with 20 additions and 7 deletions
+1 -1
View File
@@ -117,7 +117,7 @@
<a-row :gutter="24" class="flex-col">
<a-col :span="12">
<label>会议资料:</label>
<span><preview-file :file-id="model.meetingData"></preview-file></span>
<span><preview-file :file-id="model.meetingData" :is-meeting-data-bool="true"></preview-file></span>
</a-col>
</a-row>
</section>
@@ -67,7 +67,7 @@
<!--上传了付款凭证才显示 -->
<a-row :gutter="24" v-if="model.paymentRecord" class="flex-col">
<a-col :span="12">
<label>缴费状态:</label>
<label>审核凭证p'te状态:</label>
<span>{{ model.checkResult_dictText }}</span>
</a-col>
</a-row>
@@ -99,7 +99,7 @@
</a-form>
</section>
</a-spin>
</a-spin>l
<template slot="footer">
<a-button @click="handleCancel">关闭</a-button>
@@ -183,20 +183,22 @@ export default {
this.form.resetFields()
this.visible = true
this.meetingName = param.meetingName
// 是否是线上缴费
this.payModeOnlineBool = param.payMode === 2 || false
if (param.id) {
// 获取参会人信息
this.querySingUpUserInfo(this.singUpPerosnId).then(res => {
this.model = {}
this.model = res
// 是否是线上缴费
this.payModeOnlineBool = this.model.payMode === 2 || false
// 如果缴费方式为汇款的并且上传了缴费凭证 回显缴费凭证
if (this.model.paymentRecord && this.model.payMode === 1) {
this.form.setFieldsValue({'paymentRecord': this.model.paymentRecord})
}
// 如果缴费方式为线上缴费并且上传了缴费凭证和订单后四位 需要回显
if (this.model.paymentRecord && this.model.payMode === 2) {
this.form.setFieldsValue({'paymentRecord': this.model.paymentRecord, 'orderCode': this.model.orderCode})
this.$nextTick(() => {
this.form.setFieldsValue({'paymentRecord': this.model.paymentRecord, 'orderCode': this.model.orderCode})
})
}
// 审核通过以后不可在上传
if (this.model.checkResult === 1) {