Răsfoiți Sursa

卷内文件字段回显

duy 2 ani în urmă
părinte
comite
98f5c9cd6c
1 a modificat fișierele cu 8 adăugiri și 4 ștergeri
  1. 8 4
      src/views/using/query.vue

+ 8 - 4
src/views/using/query.vue

@@ -140,7 +140,7 @@
                                 <span>密</span>
                                 <span class="ml-7">级:</span>
                             </div>
-                            <div class="content">{{ fileInfo.secretLevelValueame }}</div>
+                            <div class="content">{{ fileInfo.secretLevelValue }}</div>
                         </div>
                         <div class="hc-info-text-item">
                             <div class="title">保管期限:</div>
@@ -152,7 +152,8 @@
                         </div>
                         <div class="hc-info-text-item">
                             <div class="title">起止日期:</div>
-                            <div class="content">{{ fileInfo.endDate+"~"+ fileInfo.startDate}}</div>
+                            <div class="content" v-if="fileInfo.endDate!==''||fileInfo.startDate!==''">{{ fileInfo.endDate+"~"+ fileInfo.startDate}}</div>
+                            <div class="content" v-else></div>
                         </div>
                         <div class="hc-info-text-item">
                             <div class="title">立卷单位:</div>
@@ -578,7 +579,8 @@ const tableRowClick = ({row}) => {
     cscTableData1.value=getArrValue( row['approvalFileList'])
     InsearchForm.value.total=row['approvalFileList'].length
     fileInfo.value=row
-    fileInfo.value.pageN=row['approvalFileList'].length
+    fileInfo.value.pageN=row['approvalFileList'].length||0
+   
    
 }
 const tableFileCloseClick = () => {
@@ -596,6 +598,7 @@ const consultFileClick = (row,type) => {
    if(type===1){
     cscTableData1.value=row.approvalFileList
     fileInfo.value=row
+    fileInfo.value.pageN=row['approvalFileList'].length||0
    }else if(type==2){
     checkId.value=row.id
     pdfUrl.value=row.pdfFileUrl
@@ -613,7 +616,8 @@ const fileInfo=ref({
     secretLevelValue:'',
     filePage:'',
     unit:'',
-    time:''
+    time:'',
+    pageN:0,
 })//案卷信息
 const checkId=ref('')
 const changePdf=(row)=>{