成都工业学院第三方新开页面关闭调整
This commit is contained in:
parent
081d5bf630
commit
37e0779d23
@ -227,7 +227,9 @@ export default {
|
|||||||
this.logout();
|
this.logout();
|
||||||
// });
|
// });
|
||||||
} else if (this.$route.query.third) {
|
} else if (this.$route.query.third) {
|
||||||
if (this.$route.query.project === 'cgy' || this.$route.query.project === 'drts') {
|
if (this.$route.query.thirdOpen) {
|
||||||
|
window.close();
|
||||||
|
} else if (this.$route.query.project === 'cgy' || this.$route.query.project === 'drts') {
|
||||||
window.parent.postMessage('back', '*');
|
window.parent.postMessage('back', '*');
|
||||||
} else {
|
} else {
|
||||||
window.close();
|
window.close();
|
||||||
|
@ -63,7 +63,8 @@ export default {
|
|||||||
async enterSimulation() {
|
async enterSimulation() {
|
||||||
const query = {
|
const query = {
|
||||||
third: true,
|
third: true,
|
||||||
query: 'cgy'
|
project: 'cgy',
|
||||||
|
thirdOpen: true
|
||||||
};
|
};
|
||||||
const resp = await getMapFunctioById(this.$route.query.systemId);
|
const resp = await getMapFunctioById(this.$route.query.systemId);
|
||||||
query.mapId = resp.data.mapId;
|
query.mapId = resp.data.mapId;
|
||||||
|
Loading…
Reference in New Issue
Block a user