Vue.component('appoint-hospital', { template: '
\
\
冠心病专病医院(已入驻)
\
医  院  
\ \
\ \
', props: ['hospital','show','fuzhen'], data: function () { return { HosKeyword: '', docHospitalName: '' } }, mounted: function () { this.docHospitalName = JSON.parse(sessionStorage.getItem('LoginUser')).hospitalName }, watch: { HosKeyword: function (i) {} }, methods: { selHospital: function (list) { var str = JSON.stringify(list) var content = '../../jbsc/html/appointment/appoint-doctor-detail.html?hospital=' + encodeURIComponent(str) + '&patient=' + patient + '&callCode=' + callCode+ '&surveyCode=' + surveyCode + '&fuzhen=' + this.fuzhen if (backToSynergy) { content += '&backToSynergy=1' } top.layer.open({ type: 2, title: false, area: ['800px', '90%'], content: content }) closeLayer() }, moreHospital() { this.$parent.initTypeof(1, '') }, searchItem: function () { this.$parent.initTypeof(1, this.HosKeyword) } } })