上报库英文修改

This commit is contained in:
zyx.net
2022-08-02 14:07:52 +08:00
parent 8c09abfe63
commit 654b2876e7
6 changed files with 44 additions and 21 deletions
@@ -242,13 +242,20 @@ export default {
getAction('sys/dict/getDictItems/cert_category', { }).then((res) => {
if (res.success) {
let tt = ''
let tten = ''
res.result.forEach((item) => {
if(item.value == value){
tt=item.title
tten=item.textEn
}
})
this.contentListStart = tt
console.log(this.contentListStart)
let long = localStorage.getItem('language')
this.cut = ''
if (long && long === 'zh-cn') {
this.contentListStart = tt
} else if (long && long === 'en-us') {
this.contentListStart = tten
}
}
})
console.log(value)
@@ -268,6 +275,12 @@ export default {
query.certCategoryName = this.contentListStart
}
query.paramsManifestId = this.$route.query.id
let long = localStorage.getItem('language')
if (long && long === 'zh-cn') {
query.exportName = '常规导出'
} else if (long && long === 'en-us') {
query.exportName = 'normal'
}
this.confirmLoading = true
downloadFile('report/detail/exportNormal', this.$t('GeneralExportInformation')+'.zip', query)
this.confirmLoading = false