Browse Source

代码逻辑修改

360view
bianyaqi 2 years ago
parent
commit
eb52715c90
  1. 15
      src/components/360View/medicalRecord/index.vue

15
src/components/360View/medicalRecord/index.vue

@ -156,6 +156,9 @@ export default {
if (this.curIndex === index) {
return
}
if (this.name === '门急诊电子病历') {
this.isPlatform = false
}
// 360
if (this.onlyRead || !this.isPlatform) {
this.curIndex = index
@ -165,21 +168,13 @@ export default {
this.isPlatform = this.isSearch === item.platform
return
}
if (this.name === '门急诊电子病历') {
this.confirmChange().finally(() => {
this.curIndex = index
this.id = item.id
this.name = item.name
this.caseId = item.id
this.isPlatform = this.isSearch === item.platform
} else {
this.confirmChange().finally(() => {
this.curIndex = index
this.id = item.id
this.name = item.name
this.caseId = item.id
this.isPlatform = this.isSearch === item.platform
})
}
})
},
//
confirmChange() {

Loading…
Cancel
Save