diff --git a/src/common/lang/standardRegulationLibrary/en-us.js b/src/common/lang/standardRegulationLibrary/en-us.js index fb84e5ca..b1675d47 100644 --- a/src/common/lang/standardRegulationLibrary/en-us.js +++ b/src/common/lang/standardRegulationLibrary/en-us.js @@ -31,6 +31,11 @@ module.exports = { exportZipName: 'Domestic standards and regulations (with documents)', // 国内标准法规(带文件) templateName: 'Import templates for domestic standards and regulations' // 国内标准法规导入模板 }, + overseasStandard: { + exportFileName: 'Overseas standard regulations', + exportZipName: 'Overseas standard regulations (with documentation)', + templateName: 'Import template of overseas standard regulations' + }, standardDetail: { standardNumber: 'Standard Number', problemOccurrenceTime: 'Problem occurrence time', diff --git a/src/common/lang/standardRegulationLibrary/zh-cn.js b/src/common/lang/standardRegulationLibrary/zh-cn.js index 9df26951..f7fb0dba 100644 --- a/src/common/lang/standardRegulationLibrary/zh-cn.js +++ b/src/common/lang/standardRegulationLibrary/zh-cn.js @@ -31,6 +31,11 @@ module.exports = { exportZipName: '国内标准法规(带文件)', templateName: '国内标准法规导入模板' }, + overseasStandard: { + exportFileName: '海外标准法规', + exportZipName: '海外标准法规(带文件)', + templateName: '海外标准法规导入模板' + }, standardDetail: { standardNumber: '标准编号', problemOccurrenceTime: '问题发生时间', diff --git a/src/views/standardRegulationLibrary/overseasStandard/OverseasStandardList.vue b/src/views/standardRegulationLibrary/overseasStandard/OverseasStandardList.vue index 7a1c21f4..22ef54f7 100644 --- a/src/views/standardRegulationLibrary/overseasStandard/OverseasStandardList.vue +++ b/src/views/standardRegulationLibrary/overseasStandard/OverseasStandardList.vue @@ -78,7 +78,7 @@ type="primary" ghost v-has="'overseasStandard:export'" - @click="handleExportXls($t('standardRegulationLibrary.domesticStandard.exportFileName'))"> + @click="handleExportXls($t('standardRegulationLibrary.overseasStandard.exportFileName'))"> {{ $t('export') }} @@ -86,7 +86,7 @@ type="primary" ghost v-has="'overseasStandard:exportFile'" - @click="handleFileExport($t('standardRegulationLibrary.domesticStandard.exportFileName'))"> + @click="handleFileExport($t('standardRegulationLibrary.overseasStandard.exportFileName'))"> {{ $t('exportWithFile') }} @@ -94,7 +94,7 @@ icon="download" ghost v-has="'overseasStandard:downTemplate'" - @click="downTemplate($t('standardRegulationLibrary.domesticStandard.templateName'))"> + @click="downTemplate($t('standardRegulationLibrary.overseasStandard.templateName'))"> {{ $t('templateDownload') }} diff --git a/src/views/standardRegulationLibrary/overseasStandard/modules/OverseasStandardModal.vue b/src/views/standardRegulationLibrary/overseasStandard/modules/OverseasStandardModal.vue index b0f74277..a947d0c0 100644 --- a/src/views/standardRegulationLibrary/overseasStandard/modules/OverseasStandardModal.vue +++ b/src/views/standardRegulationLibrary/overseasStandard/modules/OverseasStandardModal.vue @@ -70,7 +70,7 @@ export default { console.log(this.isEdit) if (this.isEdit) { // 标准编号,被代替标准号,被引用标准号 - return ['standard_number', 'replaced_by_standard_number', 'referenced_standard'] + return ['standard_class', 'year_number', 'standard_number_temp', 'replaced_by_standard_number', 'referenced_standard'] } return ['replaced_by_standard_number', 'referenced_standard'] }