|
@@ -218,7 +218,7 @@
|
|
|
|
|
|
<!-- 查看附件 -->
|
|
|
<hc-new-dialog
|
|
|
- v-model="viewAttachmentModal" is-table title="查看附件444" widths="70rem" is-row-footer
|
|
|
+ v-model="viewAttachmentModal" is-table title="查看附件" widths="70rem" is-row-footer
|
|
|
@close="viewAttachmentModalClose"
|
|
|
>
|
|
|
<template #extra>
|
|
@@ -248,7 +248,7 @@
|
|
|
<img :src="notableform" alt="">
|
|
|
<div class="desc">暂无 文件 数据,请上传</div>
|
|
|
<HcDragUpload
|
|
|
- accept="image/png,image/jpg,image/jpeg,application/pdf,.doc,.docx,application/msword" action="endpoint/put-file-attach" format-tip=":jpg/png/pdf/excel/word.pdf"
|
|
|
+ accept="image/png,image/jpg,image/jpeg,application/pdf" action="endpoint/put-file-attach" format-tip=":jpg/png/pdf/excel/word.pdf"
|
|
|
auto-upload
|
|
|
@finished="tableRowPdfFinished"
|
|
|
@progress="tableRowPdfProgress"
|
|
@@ -385,8 +385,7 @@ const tableColumn = ref([
|
|
|
])
|
|
|
const tableRowData = ref({})
|
|
|
const tableItemClick = (row) => {
|
|
|
- console.log(row, 'rwo')
|
|
|
- toPdfPage(row.productionCertificate)
|
|
|
+ toPdfPage(row[`${tabTypeKey.value}PdfUrl`])
|
|
|
}
|
|
|
|
|
|
//获取数据
|
|
@@ -718,7 +717,9 @@ const viewAttachmentModalClick = (row) => {
|
|
|
viewAttachmentModal.value = true
|
|
|
tabTypeKey.value = 'productionCertificate'
|
|
|
const key = tabTypeKey.value
|
|
|
- ispdf.value = getCaption(row[key])
|
|
|
+ // ispdf.value = getCaption(row[key])
|
|
|
+ // tableItemClick(row)
|
|
|
+
|
|
|
}
|
|
|
|
|
|
//类型tab数据和相关处理
|