修改
This commit is contained in:
parent
e048083dfe
commit
623db36060
@ -147,11 +147,22 @@ export default {
|
||||
this.$tab.refreshPage(view);
|
||||
},
|
||||
closeSelectedTag(view) {
|
||||
this.$tab.closePage(view).then(({ visitedViews }) => {
|
||||
if (this.isActive(view)) {
|
||||
this.toLastView(visitedViews, view)
|
||||
}
|
||||
})
|
||||
let url = view.fullPath.split('?')[1]
|
||||
let urls = new URLSearchParams('?' + url)
|
||||
let path = urls.get('path')
|
||||
if (path) {
|
||||
this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
|
||||
this.$router.push({
|
||||
path: path
|
||||
});
|
||||
})
|
||||
} else {
|
||||
this.$tab.closePage(view).then(({ visitedViews }) => {
|
||||
if (this.isActive(view)) {
|
||||
this.toLastView(visitedViews, view)
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
closeRightTags() {
|
||||
this.$tab.closeRightPage(this.selectedTag).then(visitedViews => {
|
||||
|
||||
@ -253,6 +253,7 @@ export default {
|
||||
this.$router.push({
|
||||
path: "/patient/patientdetails",
|
||||
query: {
|
||||
path: '/patient/patientInfo',
|
||||
patientId: row.id,
|
||||
cardNo: row.cardNo,
|
||||
patientName: row.patientName,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user