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