Эх сурвалжийг харах

缺陷筛选开发修复时长

qinzhipeng_v@didiglobal.com 4 жил өмнө
parent
commit
1289f23502

+ 9 - 4
src/views/projectManage/bugList/bugindex.vue

@@ -402,10 +402,15 @@ export default {
       if (!this.stratAndEnd) {
         this.stratAndEnd = []
       }
-      this.formInline.createStartTime = this.stratAndEnd[0] || null
-      this.formInline.createEndTime = this.stratAndEnd[1] || null
-      this.indexPage = this.formInline
-      this.$refs.bugTableDialog.bugGetTableList(this.formInline, true)
+      const fromData = { ...this.formInline }
+      if (this.formInline.devRepairTime) {
+        fromData.devRepairTimeType = this.formInline.devRepairTime[0]
+        fromData.devRepairTime = this.formInline.devRepairTime[1]
+      }
+      fromData.createStartTime = this.stratAndEnd[0] || null
+      fromData.createEndTime = this.stratAndEnd[1] || null
+      this.indexPage = fromData
+      this.$refs.bugTableDialog.bugGetTableList(fromData, true)
     },
     curIndexs(e) { // 返回查询和分页  导出功能使用
       this.indexPage.bizId = e.bizId