瀏覽代碼

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

wangziqian 5 年之前
父節點
當前提交
bb7501bb40

+ 2 - 6
src/views/reportManagement/daily/components/iconDisplay.vue

@@ -62,15 +62,11 @@ export default {
           }
           if (newV.taskIds) {
             this.taskid_arr = newV.taskIds
-            newV.taskIds.map(item => {
-              this.bugGetReportSumData(item)
-            })
+            this.bugGetReportSumData(newV.taskIds)
           }
         } else if (newV[0]) {
           this.taskid_arr = JSON.parse(JSON.stringify(newV))
-          this.taskid_arr.map(item => {
-            this.bugGetReportSumData(item)
-          })
+          this.bugGetReportSumData(this.taskid_arr)
         }
       },
       immediate: true

+ 1 - 1
src/views/reportManagement/daily/dailyTemplate.vue

@@ -146,7 +146,7 @@ export default {
         return item.id !== val.id
       })
       this.taskid_arr = this.taskid_arr.filter(item => {
-        return item.id !== val.id
+        return item !== val.id
       })
       this.tasksDetailList.length <= 0 ? this.selectTask = true : this.selectTask = false
     },