上报库英文修改
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
|
||||
|
||||
@@ -243,6 +243,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 = 'custom'
|
||||
}
|
||||
this.confirmLoading = true
|
||||
downloadFile('report/detail/exportCustom', this.$t('CustomizeExportInformation')+'.zip', query)
|
||||
this.confirmLoading = false
|
||||
|
||||
@@ -15,11 +15,11 @@
|
||||
<a-row :gutter="24" style='margin-left: -90px;'>
|
||||
<a-col :md="6" :sm="8">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text" :title="$t('certificationCategory')">
|
||||
<span>{{$t('certificationCategory')}}</span>
|
||||
<div class="title-text" :title="$t('NcertificationCategory')">
|
||||
<span>{{$t('NcertificationCategory')}}</span>
|
||||
</div>
|
||||
<j-multi-select-tag class="box-input" v-model="formInline.certCategory"
|
||||
:placeholder="$t('PleaseSelect')+$t('certificationCategory')"
|
||||
:placeholder="$t('PleaseSelect')+$t('NcertificationCategory')"
|
||||
:type="'select'"
|
||||
:triggerChange="false" :dictCode="'cert_category'"/>
|
||||
</div>
|
||||
@@ -35,20 +35,20 @@
|
||||
</a-col>
|
||||
<a-col :md="6" :sm="8">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text" :title="$t('ParameterName')">
|
||||
<span>{{$t('ParameterName')}}</span>
|
||||
<div class="title-text" :title="$t('NParameterName')">
|
||||
<span>{{$t('NParameterName')}}</span>
|
||||
</div>
|
||||
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('ParameterName')"
|
||||
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('NParameterName')"
|
||||
v-model="formInline.paramsName"></a-input>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :md="6" :sm="8">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text" :title="$t('completedBy')">
|
||||
<span>{{$t('completedBy')}}</span>
|
||||
<div class="title-text" :title="$t('dre')">
|
||||
<span>{{$t('dre')}}</span>
|
||||
</div>
|
||||
<PersonnelSelection
|
||||
:query="{db_field_name:'completedBy',db_field_txt:$t('completedBy')}"
|
||||
:query="{db_field_name:'completedBy',db_field_txt:$t('dre')}"
|
||||
:isInput="true"
|
||||
class="box-input"
|
||||
:personneQuery="formInline"
|
||||
@@ -58,11 +58,11 @@
|
||||
</a-col>
|
||||
<a-col :md="6" :sm="8">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text" :title="$t('engineeringInterfacePerson')">
|
||||
<span>{{$t('engineeringInterfacePerson')}}</span>
|
||||
<div class="title-text" :title="$t('sdt')">
|
||||
<span>{{$t('sdt')}}</span>
|
||||
</div>
|
||||
<PersonnelSelection
|
||||
:query="{db_field_name:'engineeringInterfacePerson',db_field_txt:$t('engineeringInterfacePerson')}"
|
||||
:query="{db_field_name:'engineeringInterfacePerson',db_field_txt:$t('sdt')}"
|
||||
:isInput="true"
|
||||
class="box-input"
|
||||
:personneQuery="formInline"
|
||||
|
||||
Reference in New Issue
Block a user