update 海外标准
This commit is contained in:
@@ -31,6 +31,11 @@ module.exports = {
|
|||||||
exportZipName: 'Domestic standards and regulations (with documents)', // 国内标准法规(带文件)
|
exportZipName: 'Domestic standards and regulations (with documents)', // 国内标准法规(带文件)
|
||||||
templateName: 'Import templates for domestic standards and regulations' // 国内标准法规导入模板
|
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: {
|
standardDetail: {
|
||||||
standardNumber: 'Standard Number',
|
standardNumber: 'Standard Number',
|
||||||
problemOccurrenceTime: 'Problem occurrence time',
|
problemOccurrenceTime: 'Problem occurrence time',
|
||||||
|
|||||||
@@ -31,6 +31,11 @@ module.exports = {
|
|||||||
exportZipName: '国内标准法规(带文件)',
|
exportZipName: '国内标准法规(带文件)',
|
||||||
templateName: '国内标准法规导入模板'
|
templateName: '国内标准法规导入模板'
|
||||||
},
|
},
|
||||||
|
overseasStandard: {
|
||||||
|
exportFileName: '海外标准法规',
|
||||||
|
exportZipName: '海外标准法规(带文件)',
|
||||||
|
templateName: '海外标准法规导入模板'
|
||||||
|
},
|
||||||
standardDetail: {
|
standardDetail: {
|
||||||
standardNumber: '标准编号',
|
standardNumber: '标准编号',
|
||||||
problemOccurrenceTime: '问题发生时间',
|
problemOccurrenceTime: '问题发生时间',
|
||||||
|
|||||||
@@ -78,7 +78,7 @@
|
|||||||
type="primary"
|
type="primary"
|
||||||
ghost
|
ghost
|
||||||
v-has="'overseasStandard:export'"
|
v-has="'overseasStandard:export'"
|
||||||
@click="handleExportXls($t('standardRegulationLibrary.domesticStandard.exportFileName'))">
|
@click="handleExportXls($t('standardRegulationLibrary.overseasStandard.exportFileName'))">
|
||||||
{{ $t('export') }}
|
{{ $t('export') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
<!-- 带文件导出-->
|
<!-- 带文件导出-->
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
type="primary"
|
type="primary"
|
||||||
ghost
|
ghost
|
||||||
v-has="'overseasStandard:exportFile'"
|
v-has="'overseasStandard:exportFile'"
|
||||||
@click="handleFileExport($t('standardRegulationLibrary.domesticStandard.exportFileName'))">
|
@click="handleFileExport($t('standardRegulationLibrary.overseasStandard.exportFileName'))">
|
||||||
{{ $t('exportWithFile') }}
|
{{ $t('exportWithFile') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
<!-- 模板下载-->
|
<!-- 模板下载-->
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
icon="download"
|
icon="download"
|
||||||
ghost
|
ghost
|
||||||
v-has="'overseasStandard:downTemplate'"
|
v-has="'overseasStandard:downTemplate'"
|
||||||
@click="downTemplate($t('standardRegulationLibrary.domesticStandard.templateName'))">
|
@click="downTemplate($t('standardRegulationLibrary.overseasStandard.templateName'))">
|
||||||
{{ $t('templateDownload') }}
|
{{ $t('templateDownload') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
<!-- 批量删除-->
|
<!-- 批量删除-->
|
||||||
|
|||||||
+1
-1
@@ -70,7 +70,7 @@ export default {
|
|||||||
console.log(this.isEdit)
|
console.log(this.isEdit)
|
||||||
if (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']
|
return ['replaced_by_standard_number', 'referenced_standard']
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user