mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-15 11:46:43 +08:00
【fix】 修复医院搜索时,卡顿问题;不全量加载出所有医院数据
This commit is contained in:
@@ -194,10 +194,13 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
columnsHosCols: function () {
|
||||
return this.columnsHos.filter(item => {
|
||||
return item.text.search(this.searchHos) != -1
|
||||
})
|
||||
}
|
||||
if( this.searchHos == ''){
|
||||
return []
|
||||
}
|
||||
return this.columnsHos.filter(item => {
|
||||
return item.text.search(this.searchHos) != -1
|
||||
})
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -298,6 +301,7 @@ export default {
|
||||
this.userInfo.businessNo = localStorage.businessNo
|
||||
console.log(this.userInfo.businessNo)
|
||||
this.init()
|
||||
this.columnsHos = Hospital.hospitalList
|
||||
},
|
||||
beforeRouteLeave(to, from, next) {
|
||||
if(to.fullPath == '/claims/insuredInfo'){
|
||||
@@ -355,9 +359,7 @@ export default {
|
||||
// ;[this.popupShow, this.pickerType] = [true, pickerType]
|
||||
if (valueKey) this.valueKey = valueKey
|
||||
if (pickerType == '1') {
|
||||
//绑定治疗医院数据字典
|
||||
this.popupShowHos = true
|
||||
this.columnsHos = Hospital.hospitalList
|
||||
} else if (pickerType == '2') {
|
||||
this.popupShow = true
|
||||
//绑定是否购买过其他公司保险的数据字典
|
||||
|
||||
Reference in New Issue
Block a user