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