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