qinzhipeng_v@didiglobal.com 4 سال پیش
والد
کامیت
62952a03d6
1فایلهای تغییر یافته به همراه3 افزوده شده و 5 حذف شده
  1. 3 5
      src/views/projectManage/bugList/details/index.vue

+ 3 - 5
src/views/projectManage/bugList/details/index.vue

@@ -661,9 +661,7 @@ export default {
       formHeight: '',
       formHeight1: '',
       statusDialogVisible: false,
-      bug: {
-        id: analysisBizId_id(this.$route.query.bizId_id)
-      },
+      bug: {},
       bugModel: {},
       bugRemark: '',
       describeEditorVisible: false,
@@ -958,7 +956,7 @@ export default {
     },
     getCommentList() {
       const bizId_id = analysisBizId_id(this.$route.query.bizId_id)
-      getCommentList({ type: 2, joinId: bizId_id }).then(res => {
+      getCommentList({ type: 2, joinId: bizId_id[1] }).then(res => {
         this.comments = res.data
         this.commentContent = ''
       })
@@ -969,7 +967,7 @@ export default {
         return
       }
       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 => {
+      addComment({ commentInfo: { joinId: bizId_id[1], type: 2, content: this.commentContent }, user: { ename: this.userInformation }}).then(res => {
         if (res.code === 200) {
           this.getCommentList()
         }