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
49
50
51
52
53
54
55
| <template>
| <div class="container">
| <el-row type="flex" justify="center">
| <el-col :span="24">
| <h3 style="color: rgb(104,104,103);padding-top: 20px;padding-bottom: 20px;">人脸数据异常检测</h3>
| </el-col>
| </el-row>
|
| <el-row type="flex" justify="center">
| <el-col :span="6" v-for="(item, index) in faceData" :key="index">
| <el-link @click="handleDetail(item)">
| <el-card style="width:150px;height: 150px;text-align: center;">
| <i style="font-size: 40px;padding: 15px;" :class="item.icon"></i>
| <div>{{ item.name }}</div>
| </el-card>
| </el-link>
| </el-col>
| </el-row>
| </div>
| </template>
|
| <script>
| export default {
| data() {
| return {
| faceData: [
| { name: '人脸识别时钟准确性', icon: 'el-icon-alarm-clock', description: '描述信息', routerUrl: 'vehicle-data-monitor' },
| { name: '人脸抓拍数据监测', icon: 'el-icon-user', description: '描述信息', routerUrl: '/face/faceClock' },
| { name: '人脸数据趋势分析', icon: 'el-icon-data-line', description: '描述信息', routerUrl: '/face/faceClock' },
| { name: '人脸抓拍设备活跃性', icon: 'el-icon-timer', description: '描述信息', routerUrl: '/face/faceClock' },
| { name: '人脸抓拍上传及时性', icon: 'el-icon-money', description: '描述信息', routerUrl: '/face/faceClock' },
| { name: '人脸抓拍大图可用性', icon: 'el-icon-data-analysis', description: '描述信息', routerUrl: '/face/faceClock' },
| ]
| }
| },
| methods: {
| handleDetail(item) {
| this.$router.push({
| name: item.routerUrl,
| params: {
| id: item.id
| }
| })
| }
| }
| }
| </script>
|
| <style scoped>
| .container {
| margin-left: 100px;
| margin-right: 100px;
| margin-top: 10px;
| }
| </style>
|
|