|
@@ -661,7 +661,9 @@ export default {
|
|
|
formHeight: '',
|
|
|
formHeight1: '',
|
|
|
statusDialogVisible: false,
|
|
|
- bug: {},
|
|
|
+ bug: {
|
|
|
+ id: analysisBizId_id(this.$route.query.bizId_id)
|
|
|
+ },
|
|
|
bugModel: {},
|
|
|
bugRemark: '',
|
|
|
describeEditorVisible: false,
|
|
@@ -955,7 +957,8 @@ export default {
|
|
|
a.click()
|
|
|
},
|
|
|
getCommentList() {
|
|
|
- getCommentList({ type: 2, joinId: this.id }).then(res => {
|
|
|
+ const bizId_id = analysisBizId_id(this.$route.query.bizId_id)
|
|
|
+ getCommentList({ type: 2, joinId: bizId_id }).then(res => {
|
|
|
this.comments = res.data
|
|
|
this.commentContent = ''
|
|
|
})
|
|
@@ -965,7 +968,8 @@ export default {
|
|
|
this.$message.warning('评论不能为空')
|
|
|
return
|
|
|
}
|
|
|
- addComment({ commentInfo: { joinId: this.id, type: 2, content: this.commentContent }, user: { ename: this.userInformation }}).then(res => {
|
|
|
+ const bizId_id = analysisBizId_id(this.$route.query.bizId_id)
|
|
|
+ addComment({ commentInfo: { joinId: bizId_id, type: 2, content: this.commentContent }, user: { ename: this.userInformation }}).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.getCommentList()
|
|
|
}
|