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

+ 1 - 1
src/views/monthlyReport/childrenPage/editReport/components/SubTitle.vue

@@ -85,7 +85,7 @@ export default {
               if (item.priority > 1) { h.push(item.id) } // P1以上
               one = [f, g, h]
             }
-            if (!item.isRepaired) { // 24小时内未修复
+            if (item.isRepaired && item.repairTime > 24) { // 修复时常超过24小时
               a.push(item.id)
               if (item.priority < 2) { s.push(item.id) }
               if (item.priority > 1) { d.push(item.id) }

+ 1 - 2
src/views/quality/components/drawerAll.vue

@@ -242,9 +242,8 @@ export default {
       } else if (this.Statistics.title === '缺陷24小时修复') {
         const listData = this.Statistics.yaxis[this.defaultKey]
         this.dataList = listData[this.defaultKey2]
-        console.log(this.defaultKey, this.defaultKey2, this.dataList)
       }
-      if (this.dataList[0]) { // 判断idList有没有数据
+      if (this.dataList && this.dataList[0]) { // 判断idList有没有数据
         this.getTableData(this.dataList)
       } else { // 没有数据初始化table
         this.tableData = []