qinzhipeng_v 5 anos atrás
pai
commit
6c984da36e

+ 4 - 12
src/views/projectManage/taskList/components/reportList.vue

@@ -398,25 +398,17 @@ export default {
       this.dialog_testData = false
       this.dialog_testData = false
       this.$message({ type: 'warning', message: '已取消' })
       this.$message({ type: 'warning', message: '已取消' })
     },
     },
+
     toReportView(ele, index) { // 进入报告详情页
     toReportView(ele, index) { // 进入报告详情页
       switch (index) {
       switch (index) {
         case 0:
         case 0:
-          this.dialogDaily = true
-          this.$nextTick(() => {
-            this.$refs.DailyReport.init(3, ele)
-          })
+          this.$router.push({ name: '日报详情', query: { id: ele.id }})
           break
           break
         case 1:
         case 1:
-          this.dialogClient = true
-          this.$nextTick(() => {
-            this.$refs.ClientReport.init(3, ele)
-          })
+          this.$router.push({ name: '准出详情', query: { id: ele.id }})
           break
           break
         case 2:
         case 2:
-          this.dialogTest = true
-          this.$nextTick(() => {
-            this.$refs.TestReport.init(3, ele)
-          })
+          this.$router.push({ name: '提测详情', query: { id: ele.id }})
           break
           break
       }
       }
     },
     },

+ 1 - 1
src/views/reportManagement/daily/components/iconDisplay.vue

@@ -165,7 +165,7 @@ export default {
         this.report_bugList = res1.data
         this.report_bugList = res1.data
       }
       }
 
 
-      const res6 = await bugGetReportDisDataByDate(data)
+      const res6 = await bugGetReportDisDataByDate({ taskIds: this.taskid_arr })
       if (res6.code === 200) {
       if (res6.code === 200) {
         const data = res6.data.yaxis.map(item => ({
         const data = res6.data.yaxis.map(item => ({
           ...item,
           ...item,