|
@ -106,7 +106,6 @@ Vue.component('copd-patient-record', {
|
|
|
vm.userRoleCode = JSON.parse(userRole).code
|
|
|
this.initTime(vm)
|
|
|
this.initScope(3)
|
|
|
this.hospitalList()
|
|
|
|
|
|
this.isGuGan = this.docInfo.expandLevelName.indexOf('慢病骨干') > -1
|
|
|
if(this.isGuGan&&JSON.parse(window.sessionStorage.getItem('userRole')).length == 0){
|
|
@ -123,6 +122,10 @@ Vue.component('copd-patient-record', {
|
|
|
{ name: this.docInfo.hospitalName,code:this.docInfo.hospital }
|
|
|
]
|
|
|
this.communityCode = this.docInfo.hospital
|
|
|
vm.receivingHospitalList = [{code:this.docInfo.hospital,name:this.docInfo.hospitalName}]
|
|
|
this.hospital = this.docInfo.hospital
|
|
|
}else{
|
|
|
this.hospitalList()
|
|
|
}
|
|
|
EventBus.$on('copd-reset-select', function () {
|
|
|
vm.currentEditData = null
|