rt-sim-training-client/src/views/iscs/iscsSystem/config/index.vue

54 lines
1.4 KiB
Vue
Raw Normal View History

2020-01-17 17:48:08 +08:00
<template>
<div style="height: 100%; width: 100%;">
<standFAS v-if="mode == 'standFAS'" />
2020-01-19 18:56:36 +08:00
<stationHallFAS v-else-if="mode == 'stationHallFAS'" />
<systemFAS v-else-if="mode == 'systemFAS'" />
<home-screen v-else-if="mode === 'PA'" />
<main-screen v-else-if="mode === 'MainScreen'" />
<lcd-control v-else-if="mode === 'LCDcontrol'" />
<time-preview v-else-if="mode === 'TimePreview'" />
<station-network v-else-if="mode === 'StationNetwork'" />
<emergency-release v-else-if="mode === 'EmergencyRelease'" />
2020-01-17 17:48:08 +08:00
</div>
</template>
<script>
import standFAS from './fire-alarm/stand';
import stationHallFAS from './fire-alarm/stationHall';
import systemFAS from './fire-alarm/system';
2020-01-19 15:29:05 +08:00
import HomeScreen from './broadcast/homeScreen';
2020-01-19 18:56:36 +08:00
import MainScreen from './pis/mainScreen';
import LcdControl from './pis/lcdControl';
import TimePreview from './pis/timePreview';
import StationNetwork from './pis/stationNetwork';
import EmergencyRelease from './pis/emergencyRelease';
2020-01-17 17:48:08 +08:00
export default {
components: {
standFAS,
stationHallFAS,
2020-01-19 15:29:05 +08:00
systemFAS,
2020-01-19 18:56:36 +08:00
HomeScreen,
MainScreen,
LcdControl,
TimePreview,
StationNetwork,
EmergencyRelease
2020-01-17 17:48:08 +08:00
},
data() {
return {
mode: 'standFAS'
2020-01-17 17:48:08 +08:00
};
},
watch: {
'$route': function(val) {
this.mode = this.$route.params.mode;
}
2020-01-17 17:48:08 +08:00
}
};
</script>
<style lang="scss" scoped>
</style>