Browse Source

优化需求

qinzhipeng_v@didiglobal.com 4 years ago
parent
commit
2c942cb12c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/projectManage/bugList/file/createdBug.vue

+ 2 - 1
src/views/projectManage/bugList/file/createdBug.vue

@@ -572,7 +572,7 @@ export default {
     async getTaskList(val) {
     async getTaskList(val) {
       // 获取所属任务列表
       // 获取所属任务列表
       const params = {
       const params = {
-        // bizId: this.formInline.bizId
+        bizId: this.formInline.bizId
       }
       }
       switch (this.$route.name) {
       switch (this.$route.name) {
         case '项目详情':
         case '项目详情':
@@ -580,6 +580,7 @@ export default {
           break
           break
         case '需求详情':
         case '需求详情':
           params.requireId = this.nowPageId
           params.requireId = this.nowPageId
+          delete params.bizId
           break
           break
         case '任务详情':
         case '任务详情':
           params.id = this.nowPageId
           params.id = this.nowPageId