Browse Source

表格文件数量回显错误

duy 2 years ago
parent
commit
7a736645ab
1 changed files with 5 additions and 3 deletions
  1. 5 3
      src/views/using/query.vue

+ 5 - 3
src/views/using/query.vue

@@ -170,7 +170,7 @@
                         </div>
                         </div>
                         <div class="hc-info-text-item">
                         <div class="hc-info-text-item">
                             <div class="title">卷内文件:</div>
                             <div class="title">卷内文件:</div>
-                            <div class="content">{{ fileInfo.pageN }}</div>
+                            <div class="content">{{ fileInfo.pageNumber }}</div>
                         </div>
                         </div>
                         <div class="hc-info-text-item">
                         <div class="hc-info-text-item">
                             <div class="title">起止日期:</div>
                             <div class="title">起止日期:</div>
@@ -847,7 +847,8 @@ const tableRowClick = ({row}) => {
     cscTableData1.value=getArrValue( row['approvalFileList'])
     cscTableData1.value=getArrValue( row['approvalFileList'])
     InsearchForm.value.total=row['approvalFileList'].length
     InsearchForm.value.total=row['approvalFileList'].length
     fileInfo.value=row
     fileInfo.value=row
-    fileInfo.value.pageN=row['approvalFileList'].length||0
+    // fileInfo.value.pageN=row['approvalFileList'].length||0
+     fileInfo.value.pageNumber=row['approvalFileList'].length||0
    
    
    
    
 }
 }
@@ -866,7 +867,8 @@ const consultFileClick = (row,type) => {
    if(type===1){
    if(type===1){
     cscTableData1.value=row.approvalFileList
     cscTableData1.value=row.approvalFileList
     fileInfo.value=row
     fileInfo.value=row
-    fileInfo.value.pageN=row['approvalFileList'].length||0
+    // fileInfo.value.pageN=row['approvalFileList'].length||0
+    fileInfo.value.pageNumber=row['approvalFileList'].length||0
    }else if(type==2){
    }else if(type==2){
     checkId.value=row.id
     checkId.value=row.id
     pdfUrl.value=row.pdfFileUrl
     pdfUrl.value=row.pdfFileUrl