|
@@ -124,6 +124,9 @@
|
|
|
<template #action="{row,index}">
|
|
|
<el-button type="primary" size="small" @click.stop="consultFileClick(row,2)">查阅文件</el-button>
|
|
|
</template>
|
|
|
+ <template #fileName="{row}">
|
|
|
+ <span class="text-link text-hover" @click="viewfilePdf(row)">{{ row?.fileName }}</span>
|
|
|
+ </template>
|
|
|
</HcTable>
|
|
|
<!-- <template #action>
|
|
|
<HcPages :pages="InsearchForm" @change="InpageChange"/>
|
|
@@ -822,6 +825,14 @@ const tableFileColumn = ref([
|
|
|
const tableFileData = ref([
|
|
|
|
|
|
])
|
|
|
+//查看卷内文件pdf
|
|
|
+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)
|