From 091ab73efd7620f09423c1e96b2090ed59fe5c4b Mon Sep 17 00:00:00 2001
From: weikai <123456>
Date: Mon, 30 Nov 2020 14:49:18 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AE=89=E5=AE=81pc=E7=AB=AF=20?=
=?UTF-8?q?=E9=A6=96=E9=A1=B5=EF=BC=8C=E6=88=91=E8=A6=81=E9=97=AE=E4=BA=8B?=
=?UTF-8?q?=E3=80=91-=E3=80=90=E7=95=99=E8=A8=80=E6=9D=BF=20-=20=E5=9B=9E?=
=?UTF-8?q?=E5=A4=8D=E9=A1=B5=E9=9D=A2=E8=B0=83=E6=95=B4=E3=80=91=E9=AD=8F?=
=?UTF-8?q?=E5=87=AF=202020-11-30?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../events/borad/messageboradreplyDetail.vue | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
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) {