Merge remote-tracking branch 'origin/develop' into local-test
All checks were successful
local-test分支构建发布到本地服务器 / Build-Publish (push) Successful in 6m59s

This commit is contained in:
joylink_fanyuhong 2024-06-18 15:37:41 +08:00
commit 74b08651a2
3 changed files with 10 additions and 2 deletions

View File

@ -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();

View File

@ -369,6 +369,11 @@ export default {
name: '列车PIS', name: '列车PIS',
code: 'pisTrain', code: 'pisTrain',
isShow: () => type === 'METRO' isShow: () => type === 'METRO'
},
{
name: '运行图测试',
code: 'testRunplan',
isShow: () => type === 'METRO'
} }
]; ];
const terminalList = commonTerminals(type); const terminalList = commonTerminals(type);

View File

@ -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;