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
| <template>
| <div class="wrapper">
| <div>复核巡查</div>
| <el-table
| :data="tableData"
| v-loading="loading"
| table-layout="fixed"
| :row-class-name="tableRowClassName"
| :height="tableHeight"
| size="small"
| >
| <el-table-column
| fixed="left"
| prop="name"
| :show-overflow-tooltip="true"
| label="名称"
| width="200"
| >
| </el-table-column>
| <el-table-column prop="planTime" :show-overflow-tooltip="true" label="时间">
| </el-table-column>
| <!-- <el-table-column prop="score" :show-overflow-tooltip="true" label="评分" width="60">
| </el-table-column>
| <el-table-column prop="risk" :show-overflow-tooltip="true" label="风险" width="60">
| </el-table-column> -->
| <el-table-column prop="recheck" :show-overflow-tooltip="true" label="复核" width="60">
| </el-table-column>
| </el-table>
| </div>
| </template>
|
| <script>
| /**
| * 现场巡查实时跟踪
| */
| export default {
| data() {
| return {
| tableData: [],
| tableHeight: 'calc(var(--fy-body-height) / 3 - 27px)'
| }
| },
| mounted() {
| let i = 0
| while (i < 20) {
| this.tableData.push({
| guid: 'SMuheEkjswioSn7A',
| name: '中科生态数字港项目巡查中科生态数字港项目巡查',
| district: '金山区',
| planTime: '2024-06-04',
| startTime: '2024-06-04 13:31:26',
| endTime: '2024-06-04 13:33:37',
| userName: '朱正强',
| status: '已结束',
| total: 4,
| checked: 2,
| score: 90,
| risk: '高',
| recheck: 1
| })
| i++
| }
| }
| }
| </script>
|
| <style scoped>
| .wrapper {
| /* height: calc(var(--fy-body-height) / 3); */
| }
| </style>
|
|