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

修改准出、提测第二部返回第一步报错

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

+ 2 - 2
src/views/reportManagement/components/ReleaseReport.vue

@@ -180,8 +180,8 @@ export default {
     },
 
     async report_return() {
-      const res = await reportreleaseGetReportById(this.dailyId)
-      this.daily_taskIds = res.data.taskIds
+      // const res = await reportreleaseGetReportById(this.dailyId)
+      // this.daily_taskIds = res.data.taskIds
       this.reportHome = '准出报告' // 步骤条
       this.showOne = true // 模版选择
       this.reportTamplate = false // 编辑区域

+ 2 - 2
src/views/reportManagement/components/TestingReport.vue

@@ -214,8 +214,8 @@ export default {
       // }
     },
     async report_return() { // 新建模版点击返回
-      const res = await reportdelivertestGetReportById(this.dailyId)
-      if (res.code === 200) this.daily_taskIds = res.data.taskIds || null
+      // const res = await reportdelivertestGetReportById(this.dailyId)
+      // if (res.code === 200) this.daily_taskIds = res.data.taskIds || null
       this.reportHome = '提测报告' // 步骤条
       this.showOne = true // 模版选择
       this.newDailyTemplate = false // 隐藏第二步