[fix]导出的文件名切换为中英文可切换的模式
This commit is contained in:
@@ -724,7 +724,7 @@ module.exports = {
|
|||||||
Dropdownmultipleselection: 'Drop down multiple selection',
|
Dropdownmultipleselection: 'Drop down multiple selection',
|
||||||
a: '+',
|
a: '+',
|
||||||
positiveInteger: 'Positive integer',
|
positiveInteger: 'Positive integer',
|
||||||
|
// 参数收集开始
|
||||||
ParameteItemCollectionList: 'Parameter item collection list',
|
ParameteItemCollectionList: 'Parameter item collection list',
|
||||||
Areyousureparameteritems: 'Are you sure to submit the selected parameter items?',
|
Areyousureparameteritems: 'Are you sure to submit the selected parameter items?',
|
||||||
Theselectedconfiguration: 'The configuration can only be added when the parameter items in the parameter list are to be collected or changed',
|
Theselectedconfiguration: 'The configuration can only be added when the parameter items in the parameter list are to be collected or changed',
|
||||||
@@ -787,6 +787,9 @@ module.exports = {
|
|||||||
releaseVersion: 'Release Version',
|
releaseVersion: 'Release Version',
|
||||||
parameterTemplate: 'Parameter Template',
|
parameterTemplate: 'Parameter Template',
|
||||||
contentDescription: 'Content Description',
|
contentDescription: 'Content Description',
|
||||||
|
parameterTemplateExportName: 'Parameter List',
|
||||||
|
parameterDataExport: 'Parameter Export Data',
|
||||||
|
// 参数收集结束
|
||||||
circulationInformation: 'Circulation information',
|
circulationInformation: 'Circulation information',
|
||||||
circulationHistory: 'Circulation History',
|
circulationHistory: 'Circulation History',
|
||||||
agree: 'Agree',
|
agree: 'Agree',
|
||||||
@@ -1054,5 +1057,5 @@ module.exports = {
|
|||||||
Copyparameterlist: 'Copy parameter list',
|
Copyparameterlist: 'Copy parameter list',
|
||||||
Templatenamelist: 'Template name - parameter item collection list',
|
Templatenamelist: 'Template name - parameter item collection list',
|
||||||
newNiONumber: 'Number',
|
newNiONumber: 'Number',
|
||||||
English: 'English'
|
English: 'English',
|
||||||
}
|
}
|
||||||
@@ -735,7 +735,7 @@ module.exports = {
|
|||||||
Dropdownmultipleselection: '下拉多选',
|
Dropdownmultipleselection: '下拉多选',
|
||||||
a: '+',
|
a: '+',
|
||||||
positiveInteger: '正整数',
|
positiveInteger: '正整数',
|
||||||
|
// 参数收集
|
||||||
ParameteItemCollectionList: '参数项收集清单',
|
ParameteItemCollectionList: '参数项收集清单',
|
||||||
Areyousureparameteritems: '确认提交所选参数项嘛?',
|
Areyousureparameteritems: '确认提交所选参数项嘛?',
|
||||||
Theselectedconfiguration: '参数清单中参数项均为待发起收集或变更时,才能添加配置',
|
Theselectedconfiguration: '参数清单中参数项均为待发起收集或变更时,才能添加配置',
|
||||||
@@ -798,6 +798,9 @@ module.exports = {
|
|||||||
releaseVersion: '发布版本',
|
releaseVersion: '发布版本',
|
||||||
parameterTemplate: '参数模板',
|
parameterTemplate: '参数模板',
|
||||||
contentDescription: '内容说明',
|
contentDescription: '内容说明',
|
||||||
|
parameterTemplateExportName: '参数项列表',
|
||||||
|
parameterDataExport: '参数项导出数据',
|
||||||
|
// 参数收集结束
|
||||||
circulationInformation: '流转信息',
|
circulationInformation: '流转信息',
|
||||||
circulationHistory: '流转历史',
|
circulationHistory: '流转历史',
|
||||||
agree: '同意',
|
agree: '同意',
|
||||||
|
|||||||
@@ -221,7 +221,7 @@ export default {
|
|||||||
}
|
}
|
||||||
let _xx = JSON.stringify(_tt)
|
let _xx = JSON.stringify(_tt)
|
||||||
let _yy = { paramsInfoVO : _xx, exportName: '参数项列表' }
|
let _yy = { paramsInfoVO : _xx, exportName: '参数项列表' }
|
||||||
downloadFile('params/paramsInfo/exportParamsInfoZip', '参数项导出数据.zip', { paramsInfoVO : _xx, exportName: '参数项列表' } , this.Deselect)
|
downloadFile('params/paramsInfo/exportParamsInfoZip', this.$t('parameterDataExport') + '.zip', { paramsInfoVO : _xx, exportName: '参数项列表' } , this.Deselect)
|
||||||
},
|
},
|
||||||
// 发布版本
|
// 发布版本
|
||||||
releaseVersion() {
|
releaseVersion() {
|
||||||
@@ -235,7 +235,15 @@ export default {
|
|||||||
},
|
},
|
||||||
//下载模板
|
//下载模板
|
||||||
handleModule() {
|
handleModule() {
|
||||||
downloadFile('params/paramsInfo/exportTemplate', '参数项列表.xlsx', {})
|
// let lang = localStorage.getItem('language') || 'zh-cn';
|
||||||
|
// if (lang == 'en-us') {
|
||||||
|
downloadFile('params/paramsInfo/exportTemplate', this.$t('parameterTemplateExportName') + '.xlsx', {})
|
||||||
|
// } else if (langCn == 'zh-cn') {
|
||||||
|
// downloadFile('params/paramsInfo/exportTemplate', 'Parameter list.xlsx', {})
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
handleToggleSearch() {
|
handleToggleSearch() {
|
||||||
this.toggleSearchStatus = !this.toggleSearchStatus
|
this.toggleSearchStatus = !this.toggleSearchStatus
|
||||||
|
|||||||
Reference in New Issue
Block a user