Browse Source

更新依赖

duy 2 months ago
parent
commit
d94721e669
3 changed files with 14 additions and 13 deletions
  1. 1 1
      package.json
  2. 9 8
      src/views/archives/manage/inspects.vue
  3. 4 4
      yarn.lock

+ 1 - 1
package.json

@@ -25,7 +25,7 @@
         "dayjs": "^1.11.13",
         "echarts": "^5.5.1",
         "element-plus": "^2.8.5",
-        "hc-vue3-ui": "^4.7.4",
+        "hc-vue3-ui": "^4.7.5",
         "js-base64": "^3.7.7",
         "js-cookie": "^3.0.5",
         "js-fast-way": "^0.5.7",

+ 9 - 8
src/views/archives/manage/inspects.vue

@@ -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()

+ 4 - 4
yarn.lock

@@ -2164,10 +2164,10 @@ has-flag@^4.0.0:
   resolved "http://219.151.181.73:9000/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
   integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
 
-hc-vue3-ui@^4.7.4:
-  version "4.7.4"
-  resolved "http://219.151.181.73:9000/hc-vue3-ui/-/hc-vue3-ui-4.7.4.tgz#2677da438263aa1d3e935d5880b3aa4df9c6d9b6"
-  integrity sha512-yi9ibC3gFgyeN5h0DtwG5CUvaPVN/m74nu8LuX13y0LYDFgYJGjZ8RY7dfoswqmoXMDJe2ndho7NeE06sKc12w==
+hc-vue3-ui@^4.7.5:
+  version "4.7.5"
+  resolved "http://219.151.181.73:9000/hc-vue3-ui/-/hc-vue3-ui-4.7.5.tgz#6add859bb1fb971e5478822d5dc7f57828043673"
+  integrity sha512-mSciFtK5wcQGxMGMA7ay4brlcCV1rWsp95fb90v5I3JL2GFSBiDV3Ie6MVibkuzEPsDVZgrUOUTRJXg8Pmxfrg==
   dependencies:
     axios "^1.7.7"
     dayjs "^1.11.13"