diff --git a/src/components/Portal/noteComment.vue b/src/components/Portal/noteComment.vue index 3d68f327..53630ebc 100644 --- a/src/components/Portal/noteComment.vue +++ b/src/components/Portal/noteComment.vue @@ -2,7 +2,7 @@
-
{{total}}条笔记 +
{{total}}条笔记 只看作者 {{'只看案主'}} @案主可以给他发私信哦 @@ -15,7 +15,7 @@
- +
@@ -46,7 +46,7 @@
- + @@ -172,7 +172,7 @@ toUsers:{ type:Array, }, - + readonly:{ type:Boolean, default:false @@ -292,6 +292,8 @@ item.orgInfo=author.orgInfo; item.sex=author.sex; item.name=author.name; + item.sign=author.sign; + return true; }else{ return false; @@ -352,7 +354,7 @@ ids.push(reply.sysCreateAid); }) } - + let query={ pageIndex:this.pageIndex, pageSize:this.pageSize, @@ -414,9 +416,9 @@ if(this.toUserDig.chooseUserId!=='' && this.toUserDig.chooseUserName!=''){ cdata.toAid=this.toUserDig.chooseUserId; cdata.toAname=this.toUserDig.chooseUserName; - + } - + apiComment.add(cdata).then(res=>{ if(res.status==200){ // this.list.unshift(res.result); @@ -428,7 +430,7 @@ this.loadAuthorInfo([res.result],[res.result.sysCreateAid]); this.$message.success('发布成功'); // - + this.total++; this.$emit('success',res.result); this.inputValue=''; @@ -438,9 +440,9 @@ this.$message.error(res.message); } }); - + } - + }, showButtons(id){ if(!this.readonly){ @@ -525,8 +527,8 @@ } }); }); - - + + }, delReply(com,re,idx){ // if(com.replyList!='' && com.replyList.length>0){ @@ -572,7 +574,7 @@ $this.$message.error(res.message); } }).catch(()=>{ - + }) }) }, @@ -594,7 +596,7 @@ return; } this.replyInfo.commentId=this.replyDiaglog.commentId; - + apiComment.reply(this.replyInfo).then(res=>{ if(res.status==200){ res.result.sex = null; @@ -675,7 +677,7 @@ this.$message.error('查询用户失败'); } }) - + }, confirmUser(u){ this.toUserDig.chooseUserId=u.aid; @@ -686,7 +688,7 @@ } } - + - \ No newline at end of file