index.vue
2.2 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<template>
<div class="index-page">
<div class="card-list">
<el-card class="box-card">
<template #header>
<span>流程</span>
<el-tag style="float: right" size="small" effect="dark">月</el-tag>
</template>
<h2>3</h2>
<span>总流程数</span>
<span style="color: #1890ff; float: right">
<span>98%</span>
<span class="el-icon-top"></span>
</span>
</el-card>
<el-card class="box-card">
<template #header>
<span>运行</span>
<el-tag style="float: right" type="success" size="small" effect="dark"
>全年</el-tag
>
</template>
<h2>89</h2>
<span>流程实例数</span>
<span style="color: #13ce66; float: right">
<span>20%</span>
<span class="el-icon-top"></span>
</span>
</el-card>
<el-card class="box-card">
<template #header>
<span>执行</span>
<el-tag style="float: right" type="success" size="small" effect="dark"
>今天</el-tag
>
</template>
<h2>105</h2>
<span>执行实例数</span>
<span style="color: #13ce66; float: right">
<span>44%</span>
<span class="el-icon-top"></span>
</span>
</el-card>
<el-card class="box-card">
<template #header>
<span>待办任务数</span>
<el-tag style="float: right" type="danger" size="small" effect="dark"
>历史记录</el-tag
>
</template>
<h2>451</h2>
<span>12月</span>
<span style="color: red; float: right">
<span>38%</span>
<span class="el-icon-bottom"></span>
</span>
</el-card>
</div>
</div>
</template>
<script setup></script>
<style>
.index-page {
background-color: #f3f3f4;
height: calc(100vh - 88px);
padding: 20px;
}
.card-list {
font-size: 14px;
display: flex;
justify-content: space-between;
}
.card-list > * {
width: 20%;
}
.chart,
.table {
margin-top: 20px;
}
.index-page table {
width: 100% !important;
}
</style>