|
@@ -206,7 +206,7 @@
|
|
|
</van-field>
|
|
|
</div>
|
|
|
<div class="form-content-card">
|
|
|
- <div class="associate-ent-group" v-show="isAssociateShow">
|
|
|
+ <div class="associate-ent-group" v-if="isAssociateShow">
|
|
|
<div class="associate-ent-item" @click="selectEnt(item)" v-for="(item, i) in searchList" v-bind:key="i" v-html="highlightText(item, infoMap.company)"></div>
|
|
|
</div>
|
|
|
<van-field @input="entOnChange('input')" @blur="getCheckMap('company')" @focus="infoCheckMap.company = ''"
|
|
@@ -236,7 +236,7 @@
|
|
|
</van-field>
|
|
|
</div>
|
|
|
<div class="form-content-card">
|
|
|
- <div class="associate-ent-group" v-show="info.isAssociateShow">
|
|
|
+ <div class="associate-ent-group" v-if="info.isAssociateShow">
|
|
|
<div class="associate-ent-item" @click="selectEnt(ser, index)" v-for="(ser, i) in searchList" v-bind:key="i" v-html="highlightText(ser, info.company)"></div>
|
|
|
</div>
|
|
|
<van-field @input="entOtherOnChange('input', index)" @blur="getOtherCheckMap('company', index)" @focus="infoOtherCheckMap[index].company = ''"
|
|
@@ -917,6 +917,7 @@
|
|
|
this.isAssociateShow = true
|
|
|
}
|
|
|
this.searchList = r.data
|
|
|
+ this.$forceUpdate()
|
|
|
}
|
|
|
}, true)
|
|
|
},
|
|
@@ -1155,6 +1156,11 @@
|
|
|
this.infoCheckMap.company = '公司名称最多输入50个字'
|
|
|
}
|
|
|
}
|
|
|
+ // 关闭联想弹窗
|
|
|
+ setTimeout(() => {
|
|
|
+ this.isAssociateShow = false
|
|
|
+ this.searchList = []
|
|
|
+ }, 300)
|
|
|
break
|
|
|
}
|
|
|
case 'position': {
|
|
@@ -1215,6 +1221,11 @@
|
|
|
infoCheckMap.company = '公司名称最多输入50个字'
|
|
|
}
|
|
|
}
|
|
|
+ setTimeout(() => {
|
|
|
+ this.infoOtherList[index].isAssociateShow = false
|
|
|
+ this.searchList = []
|
|
|
+ this.$forceUpdate()
|
|
|
+ }, 300)
|
|
|
break
|
|
|
}
|
|
|
case 'position': {
|