|
@@ -414,7 +414,7 @@
|
|
|
</template>
|
|
|
</HcTable>
|
|
|
|
|
|
- <MetaTable v-if="tabTypeKey === 'tab5'" :loading="cscTableLoading" :ishow-file="checkId.length > 0 ? true : false" :meta-data-table="cscmetaDataTabledata" />
|
|
|
+ <MetaTable v-if="tabTypeKey === 'tab5'" :loading="cscTableLoading" :ishow-file="isFile === 1 ? false : true" :meta-data-table="cscmetaDataTabledata" />
|
|
|
|
|
|
<HcTable v-if="tabTypeKey === 'tab6'" :column="cscTableColumn5" :datas="cscTableData5" :loading="cscTableLoading" />
|
|
|
|
|
@@ -437,7 +437,7 @@
|
|
|
|
|
|
<!-- 使用弹窗查看数据 -->
|
|
|
<HcDialog :show="cscTableDataModal" :title="cscTableDataTitle" widths="1080px" is-table :footer="false" @close="cscTableDataModalClose">
|
|
|
- <MetaTable v-if="tabTypeKey === 'tab5'" :loading="cscTableLoading" :ishow-file="checkId.length > 0 ? true : false" :meta-data-table="cscmetaDataTabledata" />
|
|
|
+ <MetaTable v-if="tabTypeKey === 'tab5'" :loading="cscTableLoading" :ishow-file="isFile === 1 ? false : true" :meta-data-table="cscmetaDataTabledata" />
|
|
|
<HcTable v-if="tabTypeKey === 'tab6'" :column="cscTableColumn51" :datas="cscTableData5" :loading="cscTableLoading" />
|
|
|
</HcDialog>
|
|
|
|
|
@@ -1112,6 +1112,7 @@ const viewPdf = async (id) => {
|
|
|
}
|
|
|
}
|
|
|
const isFile = ref('')//查阅案卷或者查阅文件
|
|
|
+const checkId = ref('')
|
|
|
const consultFileClick = async (row, type) => {
|
|
|
isCarrySpotChecksDrawer.value = true
|
|
|
isFile.value = type
|
|
@@ -1143,7 +1144,7 @@ const fileInfo = ref({
|
|
|
time:'',
|
|
|
pageN:0,
|
|
|
})//案卷信息
|
|
|
-const checkId = ref('')
|
|
|
+
|
|
|
const changePdf = (row)=>{
|
|
|
console.log(row, 'row')
|
|
|
if (pdfLoading.value === true) {
|
|
@@ -1151,6 +1152,7 @@ const changePdf = (row)=>{
|
|
|
}
|
|
|
pdfUrl.value = row['pdfFileUrl'] || ''
|
|
|
checkId.value = row.id
|
|
|
+ isFile.value = 2
|
|
|
getmetaInfo(checkId.value)
|
|
|
|
|
|
}
|