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

Loading…
Cancel
Save