对接文档对比

This commit is contained in:
qq787203167
2022-08-08 14:17:18 +08:00
parent be68956294
commit 5114d3dba1
@@ -26,27 +26,27 @@
<img src="../../../../assets/daiban.png" class="img" alt=""> <img src="../../../../assets/daiban.png" class="img" alt="">
</div> </div>
<div class="box-text"> <div class="box-text">
<span class="box-text-name">{{item.createBy}}</span> <span class="box-text-name">{{item.name}}</span>
<span calss="box-text-time">{{item.createTime}}</span> <span calss="box-text-time">{{item.createTime}}</span>
</div> </div>
<div class="box-text-text"> <div class="box-text-text">
{{item.comment}} {{item.content}}
</div> </div>
<div class="box-icon" @click="messageClick(item)"> <div class="box-icon" @click="messageClick(item)">
<a-icon type="message"/> <a-icon type="message"/>
</div> </div>
</div> </div>
<div class="inside-box" v-if="item.projectCommentVOList && item.projectCommentVOList.length > 0"> <div class="inside-box" v-if="item.resComVoList && item.resComVoList.length > 0">
<div class="box-content-inside" v-for="(val,indexOne) in item.projectCommentVOList" :key="indexOne"> <div class="box-content-inside" v-for="(val,indexOne) in item.resComVoList" :key="indexOne">
<div class="img-box"> <div class="img-box">
<img src="../../../../assets/daiban.png" class="img" alt=""> <img src="../../../../assets/daiban.png" class="img" alt="">
</div> </div>
<div class="box-text"> <div class="box-text">
<span class="box-text-name">{{val.createBy}}</span> <span class="box-text-name">{{val.name}}</span>
<span calss="box-text-time">{{val.createTime}}</span> <span calss="box-text-time">{{val.createTime}}</span>
</div> </div>
<div class="box-text-text"> <div class="box-text-text">
{{val.comment}} {{val.content}}
</div> </div>
<div class="box-icon" @click="messageClick(item)"> <div class="box-icon" @click="messageClick(item)">
<a-icon type="message"/> <a-icon type="message"/>
@@ -112,7 +112,7 @@
confirmLoading: false, confirmLoading: false,
visibleComment: false, visibleComment: false,
url: { url: {
list: '/compare/sarFileCompareResComment/list', list: '/compare/sarFileCompareResComment/queryListByInfoId',
add: '/compare/sarFileCompareResComment/add', add: '/compare/sarFileCompareResComment/add',
edit: '/compare/sarFileCompareResComment/edit' edit: '/compare/sarFileCompareResComment/edit'
}, },
@@ -161,7 +161,7 @@
getList() { getList() {
this.loading = true this.loading = true
getAction(this.url.list, { getAction(this.url.list, {
infoId: this.$route.query.id, id: this.$route.query.id,
commentContent: this.commentContent commentContent: this.commentContent
}).then((res) => { }).then((res) => {
if (res.success) { if (res.success) {
@@ -184,7 +184,6 @@
Action = postAction Action = postAction
query = { query = {
comment: this.formInline.commentContent, comment: this.formInline.commentContent,
projectLibraryId: this.$route.query.id,
infoId: this.$route.query.id infoId: this.$route.query.id
} }
} else if (this.title == this.$t('replyToComments')) { } else if (this.title == this.$t('replyToComments')) {