|
@@ -27,6 +27,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<a v-if="title === '测试日报' || title === '准出报告'" href="javascript:void(0)" style="color:#20a0ff" @click="history ? toReportView(scope.row) : OldDaily(scope.row)">{{ scope.row.reportName }}</a>
|
|
|
<a v-if="title === '提测报告'" href="javascript:void(0)" style="color:#20a0ff" @click="history ? toReportView(scope.row) : OldDaily(scope.row)">{{ history ? scope.row.reportName : scope.row.name }}</a>
|
|
|
+ <div v-if="title === '提测报告'">{{ scope.row.returnReason }}</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="状态" min-width="150">
|
|
@@ -203,6 +204,7 @@ export default {
|
|
|
handleClick(tab, event) {
|
|
|
this.curIndex = 1
|
|
|
this.loading = true
|
|
|
+ console.log(tab.index, 'cdscsc')
|
|
|
switch (Number(tab.index)) {
|
|
|
case 0:
|
|
|
this.title = '测试日报'
|