diff --git a/src/views/modules/events/borad/messageboradreplyDetail.vue b/src/views/modules/events/borad/messageboradreplyDetail.vue index 87fe0d6..3f1ac10 100644 --- a/src/views/modules/events/borad/messageboradreplyDetail.vue +++ b/src/views/modules/events/borad/messageboradreplyDetail.vue @@ -50,7 +50,7 @@
1~3张图
- + {{"返回"}} - {{ $t('confirm') }} + {{ $t('confirm') }} @@ -130,6 +130,7 @@ export default { meetTypeArr: [], dailyTypeArr: [], hideUpload: false, + hideUpload1:false, pageDisabled: false, // imgUrlArr: [], mapSelectVisible: false, @@ -137,6 +138,7 @@ export default { loading: false, dialogImageUrl: '', dialogVisible: false, + pageDisabled1:false, options: [] } }, @@ -155,6 +157,7 @@ export default { mounted () { this.pageDisabled = this.$route.query.disabled this.hideUpload = this.$route.query.disabled + this.hideUpload1 = this.$route.query.disabled if (this.$route.query.id !== '' && this.$route.query.id != null) { this.dataForm.id = this.$route.query.id this.getInfo() @@ -182,15 +185,19 @@ export default { let infoObj = res.data.state ; if (infoObj == '0' && this.pageDisabled == true){ //表示是留言 查看详情状态 就显示留言内容 this.pove = true; - this.replyState = false + this.replyState = false; + this.pageDisabled1 = true; }else if (infoObj == '0' && this.pageDisabled == false){ //表示是留言 回复状态 就显示回复框 - this.pove = false; + this.pageDisabled = true; + this.pove = true; this.replyState = true; + this.hideUpload = true; this.dataForm.boradId = this.$route.query.id; }else if (infoObj == '1' && this.pageDisabled == true){ //表示留言已经回复 的 查看详情状态 显示全部信息 this.pove = true; this.replyState = true; this.replyInfoState = true; + this.pageDisabled1 = true; } this.dataForm = { ...this.dataForm, @@ -232,6 +239,7 @@ export default { } this.dataForm.replyPicture.push({ url: res.data.imgUrl, breviaryUrl: res.data.thumbnail, fileType: 1 }) this.hideUpload = this.dataForm.replyPicture.length >= 3 + this.hideUpload1 = this.dataForm.replyPicture.length >= 3 }, handleErrorRemove (file) { // 实现缩略图模板时删除文件 @@ -260,6 +268,7 @@ export default { } } this.hideUpload = this.dataForm.replyPicture.length >= 3 + this.hideUpload1 = this.dataForm.replyPicture.length >= 3 }, beforeAvatarUpload (file) { if (this.dataForm.replyPicture.length === 3) {