riku
2024-10-22 3908a403cb3a852bee96414a8bb82b88371e7b5a
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 class="text-title">
      {{ item.name }}
    </div>
    <div class="text-info">
      <div class="text-label">
        <el-icon class="m-r-4" size="16"><LocationInformation /></el-icon>
        <span>任务地址:</span>
      </div>
      {{ item.scenseaddress }}
    </div>
    <div class="text-info">
      <div class="text-label">
        <!-- <el-icon><Clock /></el-icon> -->
        <el-icon class="m-r-4" size="16"><AlarmClock /></el-icon>
        <span>任务时间:</span>
      </div>
      {{ $fm.formatYMD(item.planstarttime) }}
    </div>
    <div class="text-info">
      <div class="text-label">
        <el-icon class="m-r-4" size="16"><User /></el-icon>
        任务人员:
      </div>
      {{ item.executorrealtimes }}
    </div>
    <el-row justify="end" style="margin-top: 4px">
      <slot :item="item"></slot>
    </el-row>
  </div>
</template>
<script setup>
/**
 * 监管对象
 */
const props = defineProps({
  item: {
    type: Object,
    default: () => {}
  }
});
</script>
<style scoped>
.wrapper {
  /* width: 300px; */
  width: 100%;
  border: 1px solid var(--el-border-color);
  border-radius: var(--el-border-radius-base);
  padding: 4px 8px;
}
 
.text-title {
  font-weight: var(--el-font-weight-primary);
  color: var(--el-text-color-primary);
  font-size: var(--el-font-size-medium);
}
 
.text-info {
  display: flex;
  align-items: flex-start;
  color: var(--el-text-color-secondary);
  font-size: var(--el-font-size-small);
}
 
.text-label {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
</style>