diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 48c00a229..4d93a5b80 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -1024,4 +1024,23 @@ module.exports = { NcontrolVerification: 'Control Verify', NcontrolAlternatives: 'Control Values', NattachmentTemplate: 'File Template', + Ntext: 'Text', + NDropdownradio: 'Pull single', + NDropdownmultipleselection: 'Pull more', + Nenclosure: 'File', + Atext: 'Text+Pull single', + Btext: 'Text+Pull more', + Ctext: 'Text+File', + Dtext: 'Pull single+File', + Etext:'Pull more+File', + Ftext: 'Text+Pull single+File', + Nnothing: 'Null', + Nchinese: 'Chinese', + NpositiveInteger: 'Positive integer', + NPositivefloatingpointnumber: 'Positive float', + NintegerOrDecimal: 'Integer decimal', + NOneDecimalPlace: 'Decimal one', + NTwoDecimalplaces: 'Decimal two', + NThreedecimalplaces: 'Decimal three', + NFourDecimalplaces: 'Decimal four' } \ No newline at end of file diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index 4807a1132..dedee38fa 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -1029,4 +1029,23 @@ module.exports = { NcontrolVerification: '控件校验', NcontrolAlternatives: '控件备选值', NattachmentTemplate: '附件模板', + Ntext: '文本', + NDropdownradio: '下拉单选', + NDropdownmultipleselection: '下拉多选', + Nenclosure: '附件', + Atext: '文本+下拉单选', + Btext: '文本+下拉多选', + Ctext: '文本+附件', + Dtext: '下拉单选+附件', + Etext:'下拉多选+附件', + Ftext: '文本+下拉单选+附件', + Nnothing: '无', + Nchinese: '中文', + NpositiveInteger: '正整数', + NPositivefloatingpointnumber: '正浮点数', + NintegerOrDecimal: '整数或小数', + NOneDecimalPlace: '一位小数', + NTwoDecimalplaces: '两位小数', + NThreedecimalplaces: '三位小数', + NFourDecimalplaces: '四位小数' } \ No newline at end of file diff --git a/jero-web/src/views/parameter/parameterlist/components/addModel.vue b/jero-web/src/views/parameter/parameterlist/components/addModel.vue index 24f0a5c3e..3fef55e8f 100644 --- a/jero-web/src/views/parameter/parameterlist/components/addModel.vue +++ b/jero-web/src/views/parameter/parameterlist/components/addModel.vue @@ -320,27 +320,27 @@ export default { data() { return { controlType: [ // 控件类型 - {value:'1', label: this.$t('text') }, - {value:'2', label: this.$t('Dropdownradio') }, - {value:'3', label: this.$t('Dropdownmultipleselection') }, - {value:'4', label: this.$t('enclosure') }, - {value:'5', label: this.$t('text')+ this.$t('a')+this.$t('Dropdownradio') }, - {value:'6', label: this.$t('text')+ this.$t('a')+this.$t('Dropdownmultipleselection') }, - {value:'7', label: this.$t('text')+ this.$t('a')+this.$t('enclosure') }, - {value:'8', label: this.$t('Dropdownradio')+ this.$t('a')+this.$t('enclosure') }, - {value:'9', label: this.$t('Dropdownmultipleselection')+ this.$t('a')+this.$t('enclosure') }, - {value:'10', label: this.$t('text')+ this.$t('a')+this.$t('Dropdownradio')+ this.$t('a')+this.$t('enclosure') }, + {value:'1', label: this.$t('Ntext') }, + {value:'2', label: this.$t('NDropdownradio') }, + {value:'3', label: this.$t('NDropdownmultipleselection') }, + {value:'4', label: this.$t('Nenclosure') }, + {value:'5', label: this.$t('Atext') }, + {value:'6', label: this.$t('Btext') }, + {value:'7', label: this.$t('Ctext') }, + {value:'8', label: this.$t('Dtext') }, + {value:'9', label: this.$t('Etext') }, + {value:'10', label: this.$t('Ftext') }, ], controlVerification: [ // 控件校验 - {value:'1', label: this.$t('nothing') }, - {value:'2', label: this.$t('chinese') }, - {value:'3', label: this.$t('positiveInteger') }, - {value:'4', label: this.$t('Positivefloatingpointnumber') }, - {value:'5', label: this.$t('integerOrDecimal')}, - {value:'6', label: this.$t('OneDecimalPlace') }, - {value:'7', label: this.$t('TwoDecimalplaces') }, - {value:'8', label: this.$t('Threedecimalplaces') }, - {value:'9', label: this.$t('FourDecimalplaces') }, + {value:'1', label: this.$t('Nnothing') }, + {value:'2', label: this.$t('Nchinese') }, + {value:'3', label: this.$t('NpositiveInteger') }, + {value:'4', label: this.$t('NPositivefloatingpointnumber') }, + {value:'5', label: this.$t('NintegerOrDecimal')}, + {value:'6', label: this.$t('NOneDecimalPlace') }, + {value:'7', label: this.$t('NTwoDecimalplaces') }, + {value:'8', label: this.$t('NThreedecimalplaces') }, + {value:'9', label: this.$t('NFourDecimalplaces') }, ], CategoryTreeList: [], // 技术领域 certCategoryParamsInfoEOList: [], // 认证类别得tab栏