<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>
|