|
@@ -1111,13 +1111,13 @@ const consultFileClick = async (row, type) => {
|
|
|
isFile.value = type
|
|
|
if (type === 1) {
|
|
|
//查阅案卷
|
|
|
-
|
|
|
+ getArchivesAutoView( row.id)
|
|
|
fileInfo.value = row
|
|
|
getArchiveFileListData()
|
|
|
const url = await viewPdf(row.id)
|
|
|
pdfUrl.value = url
|
|
|
checkId.value = ''
|
|
|
- getArchivesAutoView( fileInfo.value.id)
|
|
|
+
|
|
|
|
|
|
} else if (type == 2) {//查阅卷内文件
|
|
|
checkId.value = row.id
|
|
@@ -1242,10 +1242,7 @@ const cscTableDataModalShow = () => {
|
|
|
if (key === 'tab5') {
|
|
|
cscTableDataTitle.value = '元数据'
|
|
|
if (isFile.value == 1) {
|
|
|
- if (tableFileData.value.length > 0) {
|
|
|
- getArchivesAutoView( fileInfo.value.id)
|
|
|
-
|
|
|
- }
|
|
|
+ getArchivesAutoView( fileInfo.value.id)
|
|
|
} else {
|
|
|
getmetaInfo(checkId.value)
|
|
|
}
|
|
@@ -1568,7 +1565,7 @@ const getArchivesAutoView = async (fileId)=>{
|
|
|
if (!error && code === 200) {
|
|
|
let obj = getObjValue(data)
|
|
|
cscmetaDataTabledata.value = [
|
|
|
- { containerName:'题名', keyValue:'', isType:1 },
|
|
|
+ { containerName:'题名', keyValue:'', isType:3 },
|
|
|
{ containerName:'档号', keyValue:obj?.fileNumber, isType:2 },
|
|
|
{ containerName:'文件件数', keyValue:obj?.fileN, isType:2 },
|
|
|
{ containerName:'移交时间', keyValue:'', isType:2 },
|