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

99 lines
3.1 KiB
Vue
Raw Normal View History

2020-01-17 17:48:08 +08:00
<template>
2020-01-20 10:55:33 +08:00
<div style="height: 100%; width: 100%;overflow-y: auto;">
2020-01-17 17:48:08 +08:00
<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-20 18:29:06 +08:00
<controlBAS v-else-if="mode === 'controlBAS'" />
2020-01-20 14:04:31 +08:00
<mainScreenPA v-else-if="mode === 'mainScreenPA'" />
<radioListeningPA v-else-if="mode === 'radioListeningPA'" />
<timePreviewPA v-else-if="mode === 'timePreviewPA'" />
<controlCCTV v-else-if="mode === 'controlCCTV'" />
<timeCCTV v-else-if="mode === 'timeCCTV'" />
<timeEditCCTV v-else-if="mode === 'timeEditCCTV'" />
<statusCCTV v-else-if="mode === 'statusCCTV'" />
<centerStatusCCTV v-else-if="mode === 'centerStatusCCTV'" />
<PSD v-else-if="mode === 'PSD'" />
<AFC v-else-if="mode === 'AFC'" />
<stationHallACS v-else-if="mode === 'stationHallACS'" />
<standACS v-else-if="mode === 'standACS'" />
<doorFG v-else-if="mode === 'doorFG'" />
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-20 18:29:06 +08:00
import controlBAS from './bas/controlBAS';
2020-01-20 14:04:31 +08:00
import mainScreenPA from './pa/mainScreenPA';
import radioListeningPA from './pa/radioListeningPA';
import timePreviewPA from './pa/timePreviewPA';
import controlCCTV from './cctv/controlCCTV';
import timeCCTV from './cctv/timeCCTV';
import timeEditCCTV from './cctv/timeEditCCTV';
import statusCCTV from './cctv/statusCCTV';
import centerStatusCCTV from './cctv/centerStatusCCTV';
import PSD from './psd/psd';
import AFC from './afc/afc';
import stationHallACS from './acs/stationHallACS';
import standACS from './acs/standACS';
import doorFG from './fg/doorFG';
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,
2020-01-20 14:04:31 +08:00
EmergencyRelease,
2020-01-20 18:29:06 +08:00
controlBAS,
2020-01-20 14:04:31 +08:00
mainScreenPA,
radioListeningPA,
timePreviewPA,
controlCCTV,
timeCCTV,
timeEditCCTV,
statusCCTV,
centerStatusCCTV,
PSD,
AFC,
stationHallACS,
standACS,
doorFG
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;
}
},
mounted() {
this.mode = this.$route.params.mode;
2020-01-17 17:48:08 +08:00
}
};
</script>
<style lang="scss" scoped>
</style>