Commit d2e2ff5c authored by zhangyanni's avatar zhangyanni

自己删除

parent 3b0e099d
......@@ -142,10 +142,10 @@
<p v-for="(secondItem,secondIndex) in item.childFirstList"
@click="handleComment(item,secondItem,$event)">
<i v-if="secondItem.commentsReplyId==null"><span>{{secondItem.nickName}}</span><span
v-html="publicFun.analyzeEmoji(secondItem.commentsContent)">{{secondItem.commentsContent}}</span><span class="deleteReply" v-if="userInfo&&(publicFun.isgetUserRoleFunc(2)||(topicInfo&&topicInfo.baseModeratorList.length>0&&publicFun.isgetUserRoleFunc(10)&&userInfo.empId==topicInfo.baseModeratorList[0].empId))">删除</span></i>
v-html="publicFun.analyzeEmoji(secondItem.commentsContent)">{{secondItem.commentsContent}}</span><span class="deleteReply" v-if="userInfo&&userInfo.empId==secondItem.createdBy||userInfo&&(publicFun.isgetUserRoleFunc(2)||(topicInfo&&topicInfo.baseModeratorList.length>0&&publicFun.isgetUserRoleFunc(10)&&userInfo.empId==topicInfo.baseModeratorList[0].empId))">删除</span></i>
<i v-else><span>{{secondItem.nickName?secondItem.nickName:secondItem.empName}}<span
style="color: #3F3F53;"> 回复 </span>{{secondItem.replyNickName}}</span><span
v-html="publicFun.analyzeEmoji(secondItem.commentsContent)">{{secondItem.commentsContent}}</span><span class="deleteReply" v-if="userInfo&&(publicFun.isgetUserRoleFunc(2)||(topicInfo&&topicInfo.baseModeratorList.length>0&&publicFun.isgetUserRoleFunc(10)&&userInfo.empId==topicInfo.baseModeratorList[0].empId))">删除</span></i>
v-html="publicFun.analyzeEmoji(secondItem.commentsContent)">{{secondItem.commentsContent}}</span><span class="deleteReply" v-if="userInfo&&userInfo.empId==secondItem.createdBy||userInfo&&(publicFun.isgetUserRoleFunc(2)||(topicInfo&&topicInfo.baseModeratorList.length>0&&publicFun.isgetUserRoleFunc(10)&&userInfo.empId==topicInfo.baseModeratorList[0].empId))">删除</span></i>
</p>
</div>
<div class="div1px"
......
......@@ -87,13 +87,13 @@
</div>
<div class="bottomInfo" v-if="item.replyNickName==null"
@click="handleComment(tableData[0],item,$event)">
<p><span v-html="analyzeEmoji(item.commentsContent)">{{item.commentsContent}}</span><span class="deleteReply" v-if="cancelVisible">删除</span></p>
<p><span v-html="analyzeEmoji(item.commentsContent)">{{item.commentsContent}}</span><span class="deleteReply" v-if="cancelVisible||userInfo&&userInfo.empId==item.createdBy">删除</span></p>
</div>
<div class="manyComment" v-if="item.replyNickName!=null">
<p @click="handleComment(tableData[0],item,$event)">
<span><span>回复</span><span
style="color: #5d78ff;">@{{item.replyNickName}}</span></span><span
v-html="analyzeEmoji(item.commentsContent)">{{item.commentsContent}}</span><span class="deleteReply" v-if="cancelVisible">删除</span>
v-html="analyzeEmoji(item.commentsContent)">{{item.commentsContent}}</span><span class="deleteReply" v-if="cancelVisible||userInfo&&userInfo.empId==item.createdBy">删除</span>
</p>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment