|
@@ -1,8 +1,14 @@
|
|
|
<template>
|
|
|
<div class="hc-csc-meta-table-data" v-loading="isLoading">
|
|
|
<el-scrollbar>
|
|
|
+
|
|
|
<table class="hc-csc-meta-table" border="1">
|
|
|
+ <tr class="hc-csc-meta-table-tr">
|
|
|
+ <td colspan="2" class="hc-csc-meta-table-td title" v-if="!iShowFile">案卷元数据信息</td>
|
|
|
+ <td colspan="2" class="hc-csc-meta-table-td title" v-else>文件元数据信息</td>
|
|
|
+ </tr>
|
|
|
<template v-for="item in metaDataTable">
|
|
|
+
|
|
|
<tr class="hc-csc-meta-table-tr" v-if="item.type === 2">
|
|
|
<td colspan="2" class="hc-csc-meta-table-td title">{{item.title}}</td>
|
|
|
</tr>
|
|
@@ -32,6 +38,10 @@ const props = defineProps({
|
|
|
loading: {
|
|
|
type: Boolean,
|
|
|
default: false
|
|
|
+ },
|
|
|
+ ishowFile:{
|
|
|
+ type: Boolean,
|
|
|
+ default: false
|
|
|
}
|
|
|
})
|
|
|
|
|
@@ -39,12 +49,16 @@ const props = defineProps({
|
|
|
const projectId = ref(props.projectId);
|
|
|
const contractId = ref(props.contractId);
|
|
|
const isLoading = ref(props.loading);
|
|
|
+const iShowFile = ref(props.ishowFile);
|
|
|
|
|
|
//监听
|
|
|
watch(() => [
|
|
|
- props.loading
|
|
|
-], ([loading]) => {
|
|
|
+ props.loading,
|
|
|
+ props.ishowFile
|
|
|
+], ([loading,ishowFile]) => {
|
|
|
isLoading.value = loading;
|
|
|
+ console.log(ishowFile,'ishowFile');
|
|
|
+ iShowFile.value=ishowFile
|
|
|
})
|
|
|
|
|
|
//元数据
|