修改bug(法规月报新增技术领域补充字段)

This commit is contained in:
刘彦泽
2022-12-06 09:42:51 +08:00
parent 7d9612ba46
commit 638cc5b701
3 changed files with 50 additions and 0 deletions
+2
View File
@@ -541,6 +541,8 @@ module.exports = {
technicalField: 'Tech Field', technicalField: 'Tech Field',
informationCategory: 'Info Type', informationCategory: 'Info Type',
contentValidity: 'Content Validity', contentValidity: 'Content Validity',
TechnicalfieldSupplementCn:'Tech Field Supplement (Cn)',
TechnicalfieldSupplementEn:'Tech Field Supplement (En)',
content: 'Content', content: 'Content',
Add: 'Add', Add: 'Add',
subscriptionTime: 'Subscription Time', subscriptionTime: 'Subscription Time',
+2
View File
@@ -548,6 +548,8 @@ module.exports = {
technicalField: '技术领域', technicalField: '技术领域',
informationCategory: '信息类别', informationCategory: '信息类别',
contentValidity: '内容简介', contentValidity: '内容简介',
TechnicalfieldSupplementCn:'技术领域补充(中文)',
TechnicalfieldSupplementEn:'技术领域补充(英文)',
content: '内容', content: '内容',
Add: '增加', Add: '增加',
subscriptionTime: '订阅时间', subscriptionTime: '订阅时间',
@@ -94,6 +94,38 @@
<!-- </div>--> <!-- </div>-->
<!-- </a-col>--> <!-- </a-col>-->
</a-row> </a-row>
<a-row :gutter="24">
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="title-text-text"
:title="$t('TechnicalfieldSupplementCn')">{{$t('TechnicalfieldSupplementCn')}}</span>
</div>
<a-form-model-item class="itemModel" prop="technologyTerritoryCn">
<a-textarea
:disabled="disabled"
:placeholder="$t('PleaseEnter')+$t('TechnicalfieldSupplementCn')"
v-model.trim="formInline.technologyTerritoryCn"
/>
</a-form-model-item>
</div>
</a-col>
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="title-text-text"
:title="$t('TechnicalfieldSupplementEn')">{{$t('TechnicalfieldSupplementEn')}}</span>
</div>
<a-form-model-item class="itemModel" prop="technologyTerritoryEn">
<a-textarea
:disabled="disabled"
:placeholder="$t('PleaseEnter')+$t('TechnicalfieldSupplementEn')"
v-model.trim="formInline.technologyTerritoryEn"
/>
</a-form-model-item>
</div>
</a-col>
</a-row>
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :span="24"> <a-col :span="24">
<div class="box-title-text"> <div class="box-title-text">
@@ -416,6 +448,20 @@
message: this.$t('technicalField') + this.$t('cannotEmpty'), message: this.$t('technicalField') + this.$t('cannotEmpty'),
trigger: 'change' trigger: 'change'
} }
],
technologyTerritoryCn: [
{
max: 5000,
message: this.$t('technologyTerritoryCn') + this.$t('cannotExceed') + 5000 + this.$t('Characters'),
trigger: 'blur'
}
],
technologyTerritoryEn:[
{
max: 5000,
message: this.$t('technologyTerritoryEn') + this.$t('cannotExceed') + 5000 + this.$t('Characters'),
trigger: 'blur'
}
] ]
}, },
formInline: {}, formInline: {},