[bug]- 会议判断是否是成员bug的修改2

This commit is contained in:
fengchenchen
2022-01-07 17:21:03 +08:00
parent b9cb359ff4
commit 980ee6ac4a
+5 -6
View File
@@ -720,15 +720,14 @@ export default {
},
methods: {
// 是否显示文件查看
changeShowDetailBool(){
//todo 增加判断,等后端接口开发完成后再做处理
async changeShowDetailBool(){
// 增加判断,等后端接口开发完成后再做处理
//先判断当前的会议类型,如果会议是分标委会议或者理事会会议 需要判断当前人是否是 分标委成员或者理事会成员,
if (this.model.meetingType === MeetingTypeEnums.committee.index || this.model.meetingType === MeetingTypeEnums.council.index) {
// 判断是否是成员,如果是成员返回true 否则进行下面的判断
if (this.judgeIsMember()) {
this.showDetailBool = true
return
}
let isBool = await this.judgeIsMember()
this.showDetailBool = isBool
return
}
if((this.situationInfo.checkResult == 1 && this.situationInfo.registerCheckResult == 1)){
this.showDetailBool = true