Parcourir la source

按文件查询更改

duy il y a 2 ans
Parent
commit
b3042910c2
1 fichiers modifiés avec 12 ajouts et 1 suppressions
  1. 12 1
      src/views/using/query.vue

+ 12 - 1
src/views/using/query.vue

@@ -495,6 +495,8 @@ const searchFileClick = (type) => {
     filteringShow.value = ''
     searchForm.value.searchType=type
     getTableData()
+    
+    
 }
 
 //按案卷查询
@@ -566,7 +568,16 @@ const getTableData = async () => {
         tableData.value = []
         searchForm.value.total = 0
     }
-    tableFileCloseClick()
+    tableFileCloseClick()   
+    if(searchForm.value.searchType==='2'){
+        if(tableData.value.length>0&&tableData.value[0]?.approvalFileList.length>0){
+            tableFileData.value =getArrValue( tableData.value[0]['approvalFileList'])
+            tableAllShow.value = true;
+            tableFileShow.value = true;
+        }
+       
+    }
+
 }
 //多选
 const tableKeys = ref([]);