1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
| <template>
| <el-row class="wrap">
| <el-col v-show="show" span="10">
| <BaseCard>
| <template #content>
| <WeatherData :factor-datas="factorDatas"></WeatherData>
| <VehicleData :factor-datas="factorDatas"></VehicleData>
| </template>
| </BaseCard>
| </el-col>
| <el-col span="2">
| <CardButton name="实时监测" @click="() => (show = !show)"></CardButton>
| </el-col>
| </el-row>
| </template>
| <script>
| import { FactorDatas } from '@/model/FactorDatas';
|
| export default {
| props: {
| deviceType: {
| type: String
| },
| factorDatas: FactorDatas
| },
| data() {
| return {
| show: true
| };
| }
| };
| </script>
|
|