| | |
| | | window.route = [ |
| | | { |
| | | name: 'Home', |
| | | isKeepAlive: false, |
| | | isKeepAlive: true, |
| | | isAffix: false, |
| | | path: '/home', |
| | | component: '/project/ch/home/Home.vue', |
| | |
| | | showTitle: false, |
| | | }, |
| | | { |
| | | name: 'WorkspaceSituation', |
| | | isKeepAlive: true, |
| | | isAffix: false, |
| | | path: '/workspace/situation', |
| | | component: '/project/ch/workspace/situation/index.vue', |
| | | redirect: null, |
| | | showTitle: true, |
| | | }, |
| | | |
| | | { |
| | | name: 'GisSituation', |
| | | isKeepAlive: true, |
| | | isAffix: false, |
| | | path: '/gis/situation', |
| | | component: '/project/ch/gis/situation/index.vue', |
| | | redirect: null, |
| | | showTitle: true, |
| | | }, |
| | | //应用场景(主场景根据当前ID显示次场景) |
| | | { |
| | | name: 'Scenario', |
| | | isKeepAlive: false, |
| | | isAffix: false, |
| | | path: '/Scenario', |
| | | component: '/project/ch/home/Scenario.vue', |
| | | redirect: null, |
| | | showTitle: true, |
| | | }, |
| | | //应用场景(主场景显示所有的次场景) |
| | | { |
| | | name: 'AllScenario', |
| | | isKeepAlive: false, |
| | | isAffix: false, |
| | | path: '/AllScenario', |
| | | component: '/project/ch/home/AllScenario.vue', |
| | | redirect: null, |
| | | showTitle: true, |
| | | }, |
| | | //应用场景详情 |
| | | { |
| | | name: 'ScenarioDetails', |
| | | isKeepAlive: false, |
| | | isAffix: false, |
| | | path: '/usage_scenario/detail', |
| | | component: '/project/ch/home/ScenarioDetails.vue', |
| | | redirect: null, |
| | | showTitle: true, |
| | | }, |
| | |
| | | |
| | | { |
| | | name: 'AskAnswer', |
| | | isKeepAlive: false, |
| | | isKeepAlive: true, |
| | | isAffix: false, |
| | | path: '/ask_answer', |
| | | component: '/project/ch/askAnswer/AskAnswer.vue', |
| | | redirect: null, |
| | | showTitle: true, |
| | | }, |
| | | { |
| | | name:'ShareAnswer', |
| | | isKeepAlive: true, |
| | | isAffix: false, |
| | | path: '/share', |
| | | component: '/project/ch/askAnswer/AskAnswer.vue', |
| | | redirect: null, |
| | | showTitle: false, |
| | | } |
| | | |
| | | ]; |
| | | |
| | | |