|
@@ -329,14 +329,14 @@ const tableRowClick = async ({ row }) => {
|
|
|
// pdfUrl.value = url
|
|
|
console.log(row, 'row')
|
|
|
|
|
|
- // if (pdfUrl.value && pdfUrl?.value.length > 0 && isCarrySpotChecksDrawer.value) {
|
|
|
- // setTimeout(() => {
|
|
|
- // if (isCarrySpotChecksDrawer.value) {
|
|
|
- // serReviewFile()
|
|
|
- // }
|
|
|
-
|
|
|
- // }, 30000)
|
|
|
- // }
|
|
|
+ if (pdfUrl.value && pdfUrl?.value.length > 0 && isCarrySpotChecksDrawer.value) {
|
|
|
+ setTimeout(() => {
|
|
|
+ if (isCarrySpotChecksDrawer.value) {
|
|
|
+ serReviewFile()
|
|
|
+ }
|
|
|
+
|
|
|
+ }, 30000)
|
|
|
+ }
|
|
|
}
|
|
|
//获取卷内文件数据
|
|
|
const getArchiveFileListData = async ()=>{
|
|
@@ -399,6 +399,7 @@ const changePdf = (row)=>{
|
|
|
let rawUrl = row['pdfFileUrl'] || ''
|
|
|
const encodedUrl = encodeFullUrl(rawUrl)
|
|
|
pdfUrl.value = encodedUrl
|
|
|
+ console.log(encodedUrl, 'encodedUrl')
|
|
|
checkId.value = row.id
|
|
|
checkmetaFileId.value = row.id
|
|
|
getmetaInfo()
|