37 lines
695 B
Vue
37 lines
695 B
Vue
|
<template>
|
||
|
<div style="height: 100%; width: 100%;">
|
||
|
<standFAS v-if="mode == 'standFAS'" />
|
||
|
<stationHallFAS v-if="mode == 'stationHallFAS'" />
|
||
|
<systemFAS v-if="mode == 'systemFAS'" />
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import standFAS from './fire-alarm/stand';
|
||
|
import stationHallFAS from './fire-alarm/stationHall';
|
||
|
import systemFAS from './fire-alarm/system';
|
||
|
|
||
|
export default {
|
||
|
components: {
|
||
|
standFAS,
|
||
|
stationHallFAS,
|
||
|
systemFAS
|
||
|
},
|
||
|
props: {
|
||
|
mode: {
|
||
|
type: String,
|
||
|
required: true
|
||
|
}
|
||
|
},
|
||
|
data() {
|
||
|
return {
|
||
|
mes: '1111'
|
||
|
};
|
||
|
}
|
||
|
};
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss" scoped>
|
||
|
|
||
|
</style>
|