|
@@ -20,7 +20,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<a v-if="!dataStatus" href="javascript:void(0)" style="color:#20a0ff" @click="toReportView(scope.row, 2)">{{ scope.row.reportName }}</a>
|
|
|
<a v-if="dataStatus" href="javascript:void(0)" style="color:#20a0ff" @click="OldDaily(scope.row ,'提测报告')">{{ scope.row.name }}</a>
|
|
|
- <br>{{ scope.row.returnReason }}
|
|
|
+ <br><div v-if="scope.row.returnReason" style="color:red;">打回原因:{{ scope.row.returnReason }}</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="状态" min-width="100" align="center">
|
|
@@ -90,7 +90,7 @@
|
|
|
<el-table :data="dailyData" size="small" :header-cell-style="{ color: 'rgb(74, 74, 74)', fontSize: '14px', fontWeight: '500' }" show-overflow-tooltip="true">
|
|
|
<el-table-column label="标题名称" min-width="120">
|
|
|
<template slot-scope="scope">
|
|
|
- <a href="javascript:void(0)" style="color:#20a0ff" @click="dailyDataStatus ? OldDaily(scope.row ,'测试日报') :toReportView(scope.row, 0)">{{ scope.row.reportName }}</a>
|
|
|
+ <a href="javascript:void(0)" style="color:#20a0ff" @click="!dailyDataStatus ? OldDaily(scope.row ,'测试日报') :toReportView(scope.row, 0)">{{ scope.row.reportName }}</a>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="状态" min-width="100" align="center">
|
|
@@ -156,7 +156,7 @@
|
|
|
<el-table :data="clientData" size="small" :header-cell-style="{ color: 'rgb(74, 74, 74)', fontSize: '14px', fontWeight: '500' }" show-overflow-tooltip="true">
|
|
|
<el-table-column label="标题名称" min-width="120">
|
|
|
<template slot-scope="scope">
|
|
|
- <a href="javascript:void(0)" style="color:#20a0ff" @click="releaseDataStatus ? OldDaily(scope.row ,'准出报告') : toReportView(scope.row, 1)">{{ scope.row.reportName }}</a>
|
|
|
+ <a href="javascript:void(0)" style="color:#20a0ff" @click="!releaseDataStatus ? OldDaily(scope.row ,'准出报告') : toReportView(scope.row, 1)">{{ scope.row.reportName }}</a>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="状态" min-width="100" align="center">
|
|
@@ -392,7 +392,6 @@ export default {
|
|
|
},
|
|
|
async passOrBackSend() { // 提测打回
|
|
|
this.dialog_testData = false
|
|
|
- // const userData = { id: '', ename: this.userInformation, name: this.userNames }
|
|
|
if (this.Str === '通过' || this.Str === '打回') {
|
|
|
const data = {
|
|
|
id: this.reportData.id,
|
|
@@ -405,6 +404,7 @@ export default {
|
|
|
}
|
|
|
const res = await reportdelivertestUpdate(data)
|
|
|
if (res.code === 200) {
|
|
|
+ this.dataStatus = true
|
|
|
this.getTest()
|
|
|
this.$message({ message: res.msg, type: 'success', offset: 150 })
|
|
|
}
|