选择标题时隐藏认证类别

This commit is contained in:
zyx.net
2022-08-09 13:37:39 +08:00
parent 4e2906e34c
commit b6df72eb75
@@ -134,15 +134,15 @@
</div>
</a-col>
</a-row>
<a-row :gutter="24">
<a-row :gutter="24" v-if='required'>
<a-col :span="24">
<div class="box-title-text">
<div class="title-text">
<span class="Required" v-if='required'>*</span>
<span class="Required">*</span>
<span class="title-text-text"
:title="$t('NcertificationCategory')">{{$t('NcertificationCategory')}}</span>
</div>
<a-form-model-item class="itemModel-multi" :prop="required?certCategory:''">
<a-form-model-item class="itemModel-multi" prop="certCategory">
<j-multi-select-tag-only-rz class="box-input" v-model="formInline.certCategory"
@change='Onchange'
v-on:changelabel='Onchangelabel'
@@ -248,15 +248,15 @@
</div>
</a-col>
</a-row>
<a-row :gutter="24">
<a-col :span="24" v-if='contentList != []'>
<a-row :gutter="24" >
<a-col :span="24" v-if='required'>
<a-tabs>
<a-tab-pane v-for='(item,index) in contentList' :tab="item.cut == 'cn' ? item.text : item.textEn" :key="index + 1">
<a-row :gutter="24">
<a-row :gutter="24">
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="Required" v-if='required'>*</span>
<span class="Required">*</span>
<span class="title-text-text"
:title="$t('ParameterNo')">{{$t('ParameterNo')}}</span>
</div>
@@ -271,7 +271,7 @@
<a-col :span="12">
<div class="box-title-text">
<div class="title-text">
<span class="Required" v-if='required'>*</span>
<span class="Required">*</span>
<span class="title-text-text" :title="$t('NParameterName')">{{$t('NParameterName')}}</span>
</div>
<a-form-model-item class="itemModel">
@@ -679,7 +679,6 @@ export default {
return
}
let falg = 1
if(this.formInline.controlType != 11){
this.contentList.forEach((item,index) => {
let reg = /^[0-9a-zA-Z-/. ]{1,}$/
// 编号的限制
@@ -715,7 +714,6 @@ export default {
}
}
})
}
if(falg === 1) {
this.$refs.ruleForm.validate(valid => {