选择标题时隐藏认证类别

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