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
| <template>
| <div class="border-r-small">
| <div class="font-large">任务监控</div>
| <el-row justify="space-evenly">
| <el-statistic title="今日完成" :value="10"> </el-statistic>
| <el-statistic title="本周完成" :value="10"> </el-statistic>
| </el-row>
| <!-- <el-row> -->
| <TaskItem v-for="item in tasks" :key="item.guid" v-bind="item"></TaskItem>
| <!-- </el-row> -->
|
| <!-- <el-row>
| <el-col :span="12">
| <SelfInspection></SelfInspection>
| </el-col>
| <el-col :span="12">
| <JointEnforcement></JointEnforcement>
| </el-col>
| </el-row> -->
| </div>
| </template>
|
| <script>
| import SelfInspection from '@/views/inspection/SelfInspection.vue'
| import JointEnforcement from '@/views/inspection/JointEnforcement.vue'
|
| /**
| * 任务完成情况
| */
| export default {
| components: { SelfInspection, JointEnforcement },
| props: {
| height: String
| },
| data() {
| return {
| tasks: []
| }
| },
| watch: {},
| methods: {},
| mounted() {
| let i = 0
| while (i < 1) {
| this.tasks.push({
| guid: 'SMuheEkjswioSn7A',
| name: '2024年6月上海市静安区巡查任务',
| district: '静安区',
| planTime: '2024-06',
| startTime: '2024-06-01 00:00:00',
| endTime: '2024-06-30 23:59:59',
| userName: '朱正强#邢子琦',
| status: '正在执行',
| count: [
| {
| sceneType: '工地',
| total: 90,
| finish: 45
| },
| {
| sceneType: '餐饮',
| total: 90,
| finish: 45
| },
| {
| sceneType: '汽修',
| total: 90,
| finish: 45
| }
| ]
| })
| i++
| }
| }
| }
| </script>
|
| <style scoped>
| .text {
| background-color: aliceblue;
| }
| </style>
|
|