Vue.component('appoint-country', {
template:
'
',
props: ['country'],
data: function () {
return {
keyword: ''
}
},
mounted: function () {},
watch: {
keyword: function (i) {
// this.$parent.initTypeof(2,i)
}
},
methods: {
selCountry: function (list) {
var str = JSON.stringify(list)
var content =
'../../jbsc/html/appointment/appoint-doctor-detail.html?hospital=' +
encodeURIComponent(str) +
'&patient=' +
patient +
'&callCode=' +
callCode
if (backToSynergy) {
content += '&backToSynergy=1'
}
top.layer.open({
type: 2,
title: false,
area: ['800px', '90%'],
content: content
})
closeLayer()
},
searchItem: function () {
this.$parent.initTypeof(2, this.keyword)
}
}
})