liuxiaolong
2019-05-06 8700cf1dc46c350371d865532c2914595187788e
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<template>
  <b-card no-body class="p10">
      <div class="pl10 pr10 pt10 overflow-y">
        <h5 class="mb-0">
          进出入管理
        </h5>
        <div class="flex-center" style="height:10vh">
          <div class="col text-center">
            <h1 class="fw900">{{visitorCount}}</h1>
            <p class="mb-0">今日访客</p>
          </div>
          <div class="col text-center">
            <h1 class="fw900">{{parentsCount}}</h1>
            <p class="mb-0">学生家长</p>
          </div>
          <div class="col text-center">
            <h1 class="fw900">{{outPersonnelCount}}</h1>
            <p class="mb-0">校外团体</p>
          </div>
        </div>
      </div>
  </b-card>
</template>
<!-- Page -->
<script>
export default {
  name: 'HomeDataDoorway',
  data() {
    return {
      userInfo: this.$store.getters.basicUserInfo,
      visitorCount: 0,
      parentsCount: 0,
      outPersonnelCount: 0
    }
  },
  computed: {},
  methods: {
  },
  created() {
    /* 查询列表 */
  }
}
</script>
<style>
.fw900{
  font-weight: 900;
}
</style>