注释选择标题时隐藏认证类别
This commit is contained in:
@@ -134,7 +134,8 @@
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24" v-if='required'>
|
||||
<!-- v-if='required'-->
|
||||
<a-row :gutter="24" >
|
||||
<a-col :span="24">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
@@ -248,8 +249,9 @@
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<!-- v-if='required'-->
|
||||
<a-row :gutter="24" >
|
||||
<a-col :span="24" v-if='required'>
|
||||
<a-col :span="24" >
|
||||
<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">
|
||||
@@ -470,11 +472,11 @@ export default {
|
||||
},
|
||||
controlTypeChange(value){
|
||||
this.$refs.ruleForm.clearValidate(['controlVerify','titleDefaultValue','controlValues'])
|
||||
if(value == 11){
|
||||
this.required = false
|
||||
}else {
|
||||
this.required = true
|
||||
}
|
||||
// if(value == 11){
|
||||
// this.required = false
|
||||
// }else {
|
||||
// this.required = true
|
||||
// }
|
||||
},
|
||||
uploadSuccess(data) {
|
||||
let attIdList = []
|
||||
@@ -645,11 +647,11 @@ export default {
|
||||
// value.technologyTerritory = value.technologyTerritory.split(',')
|
||||
// }
|
||||
this.formInline = value
|
||||
if(this.formInline.controlType == 11){
|
||||
this.required = false
|
||||
}else{
|
||||
this.required = true
|
||||
}
|
||||
// if(this.formInline.controlType == 11){
|
||||
// this.required = false
|
||||
// }else{
|
||||
// this.required = true
|
||||
// }
|
||||
this.title = this.$t('edit')
|
||||
this.flag = 0
|
||||
// 获取认证类别
|
||||
|
||||
Reference in New Issue
Block a user