- {{val.createBy}}
+ {{val.name}}
{{val.createTime}}
- {{val.comment}}
+ {{val.content}}
@@ -112,7 +112,7 @@
confirmLoading: false,
visibleComment: false,
url: {
- list: '/compare/sarFileCompareResComment/list',
+ list: '/compare/sarFileCompareResComment/queryListByInfoId',
add: '/compare/sarFileCompareResComment/add',
edit: '/compare/sarFileCompareResComment/edit'
},
@@ -161,7 +161,7 @@
getList() {
this.loading = true
getAction(this.url.list, {
- infoId: this.$route.query.id,
+ id: this.$route.query.id,
commentContent: this.commentContent
}).then((res) => {
if (res.success) {
@@ -184,7 +184,6 @@
Action = postAction
query = {
comment: this.formInline.commentContent,
- projectLibraryId: this.$route.query.id,
infoId: this.$route.query.id
}
} else if (this.title == this.$t('replyToComments')) {