Browse Source

项目任务需求下创建缺陷,缺陷表格没刷新问题

qinzhipeng_v@didiglobal.com 4 năm trước cách đây
mục cha
commit
45a4807917

+ 4 - 0
src/views/projectManage/bugList/details/bugTableDialog.vue

@@ -303,7 +303,11 @@ export default {
       this.bugFormQuery = {}
       this.bugGetTableList(this.bugFormQuery, true, 1)
     },
+    bugQzGetTableList() {
+      this.bugGetTableList(this.eleId, false)
+    },
     bugGetTableList(e, index, vel) {
+      console.log(e, '需求新建')
       this.key = vel
       this.queryData = e
       this.data = {}

+ 1 - 1
src/views/projectManage/projectList/projectViewDetails.vue

@@ -389,7 +389,7 @@ export default {
     reloadList() {
       this.get_project_detail()
       if (this.$refs['bugTableDialog']) {
-        this.$refs['bugTableDialog'].bugGetTableList()
+        this.$refs['bugTableDialog'].bugQzGetTableList()
       }
       if (this.$refs['data-statistics']) {
         this.$refs['data-statistics'].getRequireSumData()

+ 1 - 1
src/views/projectManage/requirement/requirementDetail.vue

@@ -720,7 +720,7 @@ export default {
       this.GetRequireScheduleHistory()
       this.getRequirementById()
       if (this.$refs['bugTableDialog']) {
-        this.$refs['bugTableDialog'].bugGetTableList()
+        this.$refs['bugTableDialog'].bugQzGetTableList()
       }
       if (this.$refs['data-statistics']) {
         this.$refs['data-statistics'].getRequireSumData()

+ 1 - 1
src/views/projectManage/taskList/taskViewDetail.vue

@@ -880,7 +880,7 @@ export default {
     reloadList() {
       this.taskGet()
       if (this.$refs['bugTableDialog']) {
-        this.$refs['bugTableDialog'].bugGetTableList()
+        this.$refs['bugTableDialog'].bugQzGetTableList()
       }
       if (this.$refs['data-statistics']) {
         this.$refs['data-statistics'].getRequireSumData()