Browse Source

保存后预览

duy 2 years ago
parent
commit
0e65e06f37
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/other/first-item.vue

+ 3 - 1
src/views/other/first-item.vue

@@ -548,14 +548,16 @@ const tableDelButton = (index) => {
 //填报数据保存
 //填报数据保存
 const pdfId=ref('')
 const pdfId=ref('')
 const saveBussData = async () => {
 const saveBussData = async () => {
+    console.log('保存');
     const { id } = treeItem.value
     const { id } = treeItem.value
     const res = await saveExcelBussData(id + '')
     const res = await saveExcelBussData(id + '')
     //刷新页面
     //刷新页面
     //  window?.location?.reload()  //刷新页面
     //  window?.location?.reload()  //刷新页面
     if (res) {
     if (res) {
         pdfId.value=res
         pdfId.value=res
+         queryNodeStatus()
         await getBussPdfInfo(res)
         await getBussPdfInfo(res)
-          queryNodeStatus()
+         
           
           
        
        
     }
     }