上报库英文修改
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user