修改bug

This commit is contained in:
caoyang
2022-03-30 22:19:08 +08:00
parent 6324e40d2d
commit 66ecd07c6e
13 changed files with 90 additions and 97 deletions
@@ -127,7 +127,7 @@
seachList: 'document/bussDocumentLibraryEO/getHeaderOrConditionForOcr', //搜索字段
tableList: 'document/bussDocumentLibraryEO/ocrPageInfo', //表格数据
},
type:'doc',
type:'',
OperationList:[]
}
},
@@ -205,7 +205,7 @@
if (file.file_name) {
let name = file.file_name.split('.')
let nameSuffix = name[name.length - 1]
if (nameSuffix.toLowerCase() === 'doc'||nameSuffix.toLowerCase() === 'docx') {
// if (nameSuffix.toLowerCase() === 'doc'||nameSuffix.toLowerCase() === 'docx') {
let params = {
attId: file.id,
standName: file.title,
@@ -236,9 +236,9 @@
}
})
// this.$emit('exportVisible',true)
} else {
this.$message.warning(this.$t('OnlyPDF'))
}
// } else {
// this.$message.warning(this.$t('OnlyWord'))
// }
}
}
}