【bug】会议文件查看的权限
This commit is contained in:
@@ -527,14 +527,15 @@
|
|||||||
<!--会议资料begin-->
|
<!--会议资料begin-->
|
||||||
<section class="base-info">
|
<section class="base-info">
|
||||||
<h3 class="title">会议资料</h3>
|
<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>
|
</section>
|
||||||
<!--会议资料end-->
|
<!--会议资料end-->
|
||||||
|
|
||||||
<!--会议纪要begin-->
|
<!--会议纪要begin-->
|
||||||
<section class="base-info">
|
<section class="base-info">
|
||||||
<h3 class="title">会议纪要</h3>
|
<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>
|
</section>
|
||||||
<!--会议纪要end-->
|
<!--会议纪要end-->
|
||||||
<!--到账信息 begin 2021-12-10 版需求变更去掉了-->
|
<!--到账信息 begin 2021-12-10 版需求变更去掉了-->
|
||||||
@@ -651,7 +652,9 @@ export default {
|
|||||||
// 开票邮寄信息
|
// 开票邮寄信息
|
||||||
logisticsInfoList: [],
|
logisticsInfoList: [],
|
||||||
// 显示更多的开票邮寄信息
|
// 显示更多的开票邮寄信息
|
||||||
showMoreInfo: false
|
showMoreInfo: false,
|
||||||
|
|
||||||
|
// showDetailBool:true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -663,6 +666,14 @@ export default {
|
|||||||
return '女'
|
return '女'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// 是否显示文件查看
|
||||||
|
showDetailBool(){
|
||||||
|
if((this.situationInfo.checkResult == 1 && this.situationInfo.registerCheckResult == 1)){
|
||||||
|
return true
|
||||||
|
}else{
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
},
|
||||||
// 收费二维码 src
|
// 收费二维码 src
|
||||||
paymentQrCodeSrc() {
|
paymentQrCodeSrc() {
|
||||||
return `${window._CONFIG['domianURL']}/sys/common/download/${this.model.paymentQrCode}`
|
return `${window._CONFIG['domianURL']}/sys/common/download/${this.model.paymentQrCode}`
|
||||||
@@ -700,6 +711,11 @@ export default {
|
|||||||
this.queryMeetingInfoById(param.id).then(res => {
|
this.queryMeetingInfoById(param.id).then(res => {
|
||||||
// 会议详情
|
// 会议详情
|
||||||
this.model = Object.assign({}, 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')
|
console.log(this.model, 'this.model')
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
>
|
>
|
||||||
<span slot="action" slot-scope="record" class="action-span-cell">
|
<span slot="action" slot-scope="record" class="action-span-cell">
|
||||||
<a class="color-blue" @click="handleDownLoad(record)">下载</a>
|
<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>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
</div>
|
</div>
|
||||||
@@ -66,6 +66,12 @@ export default {
|
|||||||
meetingId:{
|
meetingId:{
|
||||||
type:String,
|
type:String,
|
||||||
required:false
|
required:false
|
||||||
|
},
|
||||||
|
/*是否显示查看按钮*/
|
||||||
|
showDetailBool:{
|
||||||
|
type:Boolean,
|
||||||
|
required:false,
|
||||||
|
default: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
Reference in New Issue
Block a user