Browse Source

Merge branch 'http_mock' of git.xiaojukeji.com:jacklijiajia/thoth-frontend into http_mock

qinzhipeng_v 5 years ago
parent
commit
708326e3d4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/quality/defectStatistics.vue

+ 2 - 1
src/views/quality/defectStatistics.vue

@@ -357,7 +357,6 @@ export default {
       this.getModuleDistributeData()
       this.getMemberDistributeData()
       this.defectTrendTimeChange()
-      this.defectTrendTimeChange()
     },
     async getTeamList() {
       const myRes = await teamQueryTeamInfoList({ type: 0 })
@@ -433,6 +432,8 @@ export default {
     async defectTrendTimeChange() { // 趋势图日期变动
       const moduleIds = this.defectForm.moduleIds
       const params = {
+        beginTime: this.stratAndEnd[0] || null,
+        endTime: this.stratAndEnd[1] || null,
         bizId: Number(localStorage.getItem('bizId')),
         teamIds: this.defectForm.team || null,
         moduleIds: moduleIds && moduleIds.length > 0 ? moduleIds : null,