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'" />
|
2020-01-21 16:05:52 +08:00
|
|
|
<home-screen v-else-if="mode === 'mainScreenPA'" />
|
2020-01-19 18:56:36 +08:00
|
|
|
<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-21 16:44:46 +08:00
|
|
|
<controlPermissionBAS v-else-if="mode === 'controlPermissionBAS'" />
|
2020-03-20 11:20:13 +08:00
|
|
|
<!-- <mainScreenPA v-else-if="mode === 'mainScreenPA'" /> -->
|
2020-01-20 14:04:31 +08:00
|
|
|
<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-05-07 11:20:52 +08:00
|
|
|
<sensor v-else-if="mode==='sensor'" />
|
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-21 16:44:46 +08:00
|
|
|
import controlPermissionBAS from './bas/controlPermissionBAS';
|
2020-03-20 11:20:13 +08:00
|
|
|
// import mainScreenPA from './pa/mainScreenPA';
|
2020-01-20 14:04:31 +08:00
|
|
|
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-05-07 11:20:52 +08:00
|
|
|
import Sensor from './bas/sensor';
|
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-21 16:44:46 +08:00
|
|
|
controlPermissionBAS,
|
2020-03-20 11:20:13 +08:00
|
|
|
// mainScreenPA,
|
2020-01-20 14:04:31 +08:00
|
|
|
radioListeningPA,
|
|
|
|
timePreviewPA,
|
|
|
|
controlCCTV,
|
|
|
|
timeCCTV,
|
|
|
|
timeEditCCTV,
|
|
|
|
statusCCTV,
|
|
|
|
centerStatusCCTV,
|
|
|
|
PSD,
|
|
|
|
AFC,
|
|
|
|
stationHallACS,
|
|
|
|
standACS,
|
2020-05-07 11:20:52 +08:00
|
|
|
doorFG,
|
|
|
|
Sensor
|
2020-01-17 17:48:08 +08:00
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
2020-01-20 09:20:09 +08:00
|
|
|
mode: 'standFAS'
|
2020-01-17 17:48:08 +08:00
|
|
|
};
|
2020-01-20 09:20:09 +08:00
|
|
|
},
|
|
|
|
watch: {
|
|
|
|
'$route': function(val) {
|
|
|
|
this.mode = this.$route.params.mode;
|
|
|
|
}
|
2020-01-20 11:05:05 +08:00
|
|
|
},
|
|
|
|
mounted() {
|
|
|
|
this.mode = this.$route.params.mode;
|
2020-01-17 17:48:08 +08:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
|
|
|
</style>
|