فهرست منبع

档案查询不需要查看pdf

duy 2 سال پیش
والد
کامیت
fcbc446016
1فایلهای تغییر یافته به همراه9 افزوده شده و 9 حذف شده
  1. 9 9
      src/views/using/query.vue

+ 9 - 9
src/views/using/query.vue

@@ -124,9 +124,9 @@
                         <template #action="{row,index}">
                             <el-button type="primary" size="small" @click.stop="consultFileClick(row,2)">查阅文件</el-button>
                         </template>
-                        <template #fileName="{row}">
+                        <!-- <template #fileName="{row}">
                                     <span class="text-link text-hover" @click="viewfilePdf(row)">{{ row?.fileName }}</span>
-                         </template>
+                         </template> -->
                     </HcTable>
                     <!-- <template #action>
                         <HcPages :pages="InsearchForm" @change="InpageChange"/>
@@ -826,13 +826,13 @@ const tableFileData = ref([
 
 ])
 //查看卷内文件pdf
-const viewfilePdf=(row)=>{
-    if(row?.pdfFileUrl){
-        window.open(row?.pdfFileUrl, '_blank')
-    }else{
-        window.$message?.warning('文件不存在')
- }
-}
+// const viewfilePdf=(row)=>{
+//     if(row?.pdfFileUrl){
+//         window.open(row?.pdfFileUrl, '_blank')
+//     }else{
+//         window.$message?.warning('文件不存在')
+//  }
+// }
 const tableFileLoading = ref(false)
 const tableFileSelection = (rows) => {
     console.log(rows)