|  | @ -18,10 +18,10 @@ | 
		
	
		
			
				|  |  |               <p :style="{ width: item.editLength+'px'}">{{ item.context }}</p> |  |  |               <p :style="{ width: item.editLength+'px'}">{{ item.context }}</p> | 
		
	
		
			
				|  |  |             </el-col> |  |  |             </el-col> | 
		
	
		
			
				|  |  |           </el-row> |  |  |           </el-row> | 
		
	
		
			
				|  |  |           <el-row> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |           <el-row v-if="isDetailsInfo"> | 
		
	
		
			
				|  |  |             <el-col v-for="(item,index) in archivesDetailsData.slice(archivesDetailsData.length-5,archivesDetailsData.length)" :key="'last'+index" :span=" 12" class="base-info-item"> |  |  |             <el-col v-for="(item,index) in archivesDetailsData.slice(archivesDetailsData.length-5,archivesDetailsData.length)" :key="'last'+index" :span=" 12" class="base-info-item"> | 
		
	
		
			
				|  |  |               <span>{{ item.fieldCnName }}:</span> |  |  |               <span>{{ item.fieldCnName }}:</span> | 
		
	
		
			
				|  |  |               <p :style="{ width: item.editLength+'px'}">{{ item.context }}</p> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |               <p :style="{ width: item.editLength+'px'}" :class="[ (item.fieldName === 'borrow_type') ? 'row-state row-lending' : '' ]">{{ item.context }}</p> | 
		
	
		
			
				|  |  |             </el-col> |  |  |             </el-col> | 
		
	
		
			
				|  |  |           </el-row> |  |  |           </el-row> | 
		
	
		
			
				|  |  |         </div> |  |  |         </div> | 
		
	
	
		
			
				|  | @ -69,7 +69,9 @@ export default { | 
		
	
		
			
				|  |  |   data() { |  |  |   data() { | 
		
	
		
			
				|  |  |     return { |  |  |     return { | 
		
	
		
			
				|  |  |       detailTitle: '', |  |  |       detailTitle: '', | 
		
	
		
			
				|  |  |       isHasFile: false, |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       isHasFile: false, // 卷内/文件才有附件 | 
		
	
		
			
				|  |  |  |  |  |       isDetailsInfo: false, // 项目不显示最下面5行基本信息 | 
		
	
		
			
				|  |  |  |  |  |       isTidOrBorrow: true, // 卷内不显示tid/借阅状态 | 
		
	
		
			
				|  |  |       archivesInfoVisible: false, |  |  |       archivesInfoVisible: false, | 
		
	
		
			
				|  |  |       archivesTabIndex: 0, |  |  |       archivesTabIndex: 0, | 
		
	
		
			
				|  |  |       archivesDetailsData: [], |  |  |       archivesDetailsData: [], | 
		
	
	
		
			
				|  | @ -87,6 +89,27 @@ export default { | 
		
	
		
			
				|  |  |       } |  |  |       } | 
		
	
		
			
				|  |  |       FetchArchivesDetails(params).then(data => { |  |  |       FetchArchivesDetails(params).then(data => { | 
		
	
		
			
				|  |  |         this.archivesDetailsData = data |  |  |         this.archivesDetailsData = data | 
		
	
		
			
				|  |  |  |  |  |         // 案卷 / 文件的借阅状态 | 
		
	
		
			
				|  |  |  |  |  |         this.archivesDetailsData.forEach(item => { | 
		
	
		
			
				|  |  |  |  |  |           if (item.fieldName === 'borrow_type') { | 
		
	
		
			
				|  |  |  |  |  |             if (item.context === 1) { | 
		
	
		
			
				|  |  |  |  |  |               item.context = '待登记' | 
		
	
		
			
				|  |  |  |  |  |             } else if (item.context === 2) { | 
		
	
		
			
				|  |  |  |  |  |               item.context = '待借阅' | 
		
	
		
			
				|  |  |  |  |  |             } else if (item.context === 3) { | 
		
	
		
			
				|  |  |  |  |  |               item.context = '待归还' | 
		
	
		
			
				|  |  |  |  |  |             } else if (item.context === 4 || item.context === '') { | 
		
	
		
			
				|  |  |  |  |  |               item.context = '-' | 
		
	
		
			
				|  |  |  |  |  |             } | 
		
	
		
			
				|  |  |  |  |  |           } | 
		
	
		
			
				|  |  |  |  |  |         }) | 
		
	
		
			
				|  |  |  |  |  |         // 如果是卷内 - 不显示‘tid’/'借阅状态' | 
		
	
		
			
				|  |  |  |  |  |         if (!this.isTidOrBorrow) { | 
		
	
		
			
				|  |  |  |  |  |           const indexBorrow = this.archivesDetailsData.findIndex(item => item.fieldName === 'borrow_type') | 
		
	
		
			
				|  |  |  |  |  |           const indexTid = this.archivesDetailsData.findIndex(item => item.fieldName === 'tid') | 
		
	
		
			
				|  |  |  |  |  |           this.archivesDetailsData.splice(indexBorrow, 1) | 
		
	
		
			
				|  |  |  |  |  |           this.archivesDetailsData.splice(indexTid, 1) | 
		
	
		
			
				|  |  |  |  |  |         } | 
		
	
		
			
				|  |  |       }) |  |  |       }) | 
		
	
		
			
				|  |  |       FetchArchivesMetadata(params).then(data => { |  |  |       FetchArchivesMetadata(params).then(data => { | 
		
	
		
			
				|  |  |         this.archivesDetailsMetadata = data |  |  |         this.archivesDetailsMetadata = data | 
		
	
	
		
			
				|  | 
 |