|
@@ -272,6 +272,8 @@ const writingConclusionClick = async () => {
|
|
|
|
|
|
|
|
|
|
|
|
+ } else {
|
|
|
+ window.$message?.error(msg)
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -314,7 +316,7 @@ const onSubmitReportClick = async () => {
|
|
|
})
|
|
|
const res = getArrValue(data)
|
|
|
reportData.value = res
|
|
|
- if (res.length >= 0) {
|
|
|
+ if (res.length > 0) {
|
|
|
pdfDateId.value = res[0].id
|
|
|
curPdf.value = res[0].tableUrl
|
|
|
tableTitle.value = res[0].tableTitle
|
|
@@ -353,6 +355,8 @@ const previewClick = async ()=>{
|
|
|
window.$message?.warning('文件不存在')
|
|
|
}
|
|
|
|
|
|
+ } else {
|
|
|
+ window.$message?.error(msg)
|
|
|
}
|
|
|
}
|
|
|
//查看验收报告
|