|
@@ -60,7 +60,7 @@
|
|
|
<el-option v-for="item in timeData " :label="item" :value="item" />
|
|
|
</el-select>
|
|
|
</div>
|
|
|
- <div class="hc-title-view">试验资料(含工地试验室资质证书、仪器标定证书等)</div>
|
|
|
+ <div class="hc-title-view">{{ tableTitle }})</div>
|
|
|
</template>
|
|
|
<template #extra>
|
|
|
<div class="hc-icon-view text-hover" @click="onSubmitReportDrawerClose">
|
|
@@ -264,6 +264,7 @@ const onSubmitReportClick = async () => {
|
|
|
if (timeData.value.length > 0) {
|
|
|
pdfDate.value = timeData.value[0]
|
|
|
curPdf.value = reportData.value[0].tableUrl
|
|
|
+ tableTitle.value = reportData.value[0].tableTitle
|
|
|
isSubmitReportDrawer.value = true
|
|
|
}
|
|
|
|
|
@@ -275,6 +276,7 @@ const onSubmitReportClick = async () => {
|
|
|
}
|
|
|
const pdfDate = ref(null)
|
|
|
const curPdf = ref('')
|
|
|
+const tableTitle = ref('')
|
|
|
//历史报告
|
|
|
const onSubmitReportDrawerClose = () => {
|
|
|
isSubmitReportDrawer.value = false
|
|
@@ -283,7 +285,8 @@ const onSubmitReportDrawerClose = () => {
|
|
|
const changePdfDate = (val)=>{
|
|
|
reportData.value.forEach((ele)=>{
|
|
|
if (ele.approveDate === val) {
|
|
|
- curPdf.value = ele.tableUrl
|
|
|
+ curPdf.value = ele.
|
|
|
+ tableTitle.value = ele.tableTitle
|
|
|
}
|
|
|
})
|
|
|
}
|