update 海外标准

This commit is contained in:
赵霄
2023-09-27 16:42:38 +08:00
parent 79f3d9d370
commit ae04110304
4 changed files with 14 additions and 4 deletions
@@ -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',
@@ -31,6 +31,11 @@ module.exports = {
exportZipName: '国内标准法规(带文件)',
templateName: '国内标准法规导入模板'
},
overseasStandard: {
exportFileName: '海外标准法规',
exportZipName: '海外标准法规(带文件)',
templateName: '海外标准法规导入模板'
},
standardDetail: {
standardNumber: '标准编号',
problemOccurrenceTime: '问题发生时间',
@@ -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') }}
</a-button>
<!-- 带文件导出-->
@@ -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') }}
</a-button>
<!-- 模板下载-->
@@ -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') }}
</a-button>
<!-- 批量删除-->
@@ -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']
}