duy 1 жил өмнө
parent
commit
c70cf96e99

+ 3 - 3
src/views/data-fill/query.vue

@@ -608,17 +608,17 @@ const tableRowName = (row) => {
     // } else {
     //     window.$message?.warning('文件不存在')
     // }
-    bussPreview()
+    bussPreview(row)
 }
 
 
 //多表预览
 const bussPreviewLoading = ref(false)
-const bussPreview = async () => {
+const bussPreview = async (row) => {
     const info = nodeDataInfo.value
     bussPreviewLoading.value = true
     const { error, code, data } = await wbsApi.getBussPdfs({
-        nodeId: info?.primaryKeyId || '',
+        nodeId: row?.wbsId || '',
         classify: contractTypeTabKey.value,
         projectId: projectId.value,
         // contractId: contractId.value