【bug】会议文件查看的权限

This commit is contained in:
fengachen
2021-12-23 13:34:08 +08:00
parent 38c0279dfa
commit cea4ba75e8
2 changed files with 26 additions and 4 deletions
+19 -3
View File
@@ -527,14 +527,15 @@
<!--会议资料begin-->
<section class="base-info">
<h3 class="title">会议资料</h3>
<file-table :file-id="model.meetingData" :has-limit-bool="true" :meeting-id="model.id"></file-table>
<!-- 报名成功才显示查看按钮-->
<file-table :file-id="model.meetingData" :has-limit-bool="true" :meeting-id="model.id" :show-detail-bool="showDetailBool"></file-table>
</section>
<!--会议资料end-->
<!--会议纪要begin-->
<section class="base-info">
<h3 class="title">会议纪要</h3>
<file-table :file-id="model.meetingMinute" :has-limit-bool="true" :meeting-id="model.id"></file-table>
<file-table :file-id="model.meetingMinute" :has-limit-bool="true" :meeting-id="model.id" :show-detail-bool="showDetailBool"></file-table>
</section>
<!--会议纪要end-->
<!--到账信息 begin 2021-12-10 版需求变更去掉了-->
@@ -651,7 +652,9 @@ export default {
// 开票邮寄信息
logisticsInfoList: [],
// 显示更多的开票邮寄信息
showMoreInfo: false
showMoreInfo: false,
// showDetailBool:true
}
},
computed: {
@@ -663,6 +666,14 @@ export default {
return '女'
}
},
// 是否显示文件查看
showDetailBool(){
if((this.situationInfo.checkResult == 1 && this.situationInfo.registerCheckResult == 1)){
return true
}else{
return false
}
},
// 收费二维码 src
paymentQrCodeSrc() {
return `${window._CONFIG['domianURL']}/sys/common/download/${this.model.paymentQrCode}`
@@ -700,6 +711,11 @@ export default {
this.queryMeetingInfoById(param.id).then(res => {
// 会议详情
this.model = Object.assign({}, res)
// if((this.model.checkResult == 1 && this.model.registerCheckResult == 1)){
// this.showDetailBool =true
// }else{
// this.showDetailBool = false
// }
console.log(this.model, 'this.model')
})
} else {
+7 -1
View File
@@ -13,7 +13,7 @@
>
<span slot="action" slot-scope="record" class="action-span-cell">
<a class="color-blue" @click="handleDownLoad(record)">下载</a>
<a class="color-blue" @click="handlePreview(record)">查看</a>
<a class="color-blue" @click="handlePreview(record)" v-if="showDetailBool">查看</a>
</span>
</a-table>
</div>
@@ -66,6 +66,12 @@ export default {
meetingId:{
type:String,
required:false
},
/*是否显示查看按钮*/
showDetailBool:{
type:Boolean,
required:false,
default: true
}
},
data() {