2025-04-14 19:48:42 +08:00
|
|
|
|
<template>
|
|
|
|
|
<div class="personCard relative flex mb10 pointer">
|
2025-04-24 11:54:38 +08:00
|
|
|
|
<div class="cxbq f14 lh50 tc absolute">已完成</div>
|
2025-07-08 19:50:28 +08:00
|
|
|
|
<el-button v-if="props.type == 'yj'" type="primary" class="btn_qs f14 lh50 tc absolute">签收</el-button>
|
2025-04-14 19:48:42 +08:00
|
|
|
|
<div class="avatarBox relative">
|
|
|
|
|
<div class="marks f12 absolute" :class="changeBg(props.item.yjjb)">
|
|
|
|
|
处置
|
|
|
|
|
</div>
|
2025-07-08 19:50:28 +08:00
|
|
|
|
<div>
|
|
|
|
|
<el-image :preview-teleported="true" style="width: 76px; height: 96px" :src="pro" :preview-src-list="[pro]">
|
|
|
|
|
</el-image>
|
|
|
|
|
</div>
|
2025-04-14 19:48:42 +08:00
|
|
|
|
<span class="smallbtn">全息档案</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="infoBox">
|
2025-04-24 11:54:38 +08:00
|
|
|
|
<div class="basicInfo mb10">
|
|
|
|
|
<span class="name f16 mr15">{{ props.item.name }}</span>
|
|
|
|
|
<span class="idCard f14">{{ props.item.idCard }}</span>
|
|
|
|
|
<span class="bqbox f12 ml10">{{ props.item.yjbq }}</span>
|
2025-04-14 19:48:42 +08:00
|
|
|
|
</div>
|
|
|
|
|
<div class="detailInfo">
|
|
|
|
|
<div class="infoItem">
|
2025-04-24 11:54:38 +08:00
|
|
|
|
<span class="label">性别:<span class="value">{{ props.item.gender }}</span></span>
|
|
|
|
|
<span class="label ml20">年龄:<span class="value">{{ props.item.age }} 岁</span></span>
|
2025-04-14 19:48:42 +08:00
|
|
|
|
</div>
|
|
|
|
|
<div class="infoItem">
|
|
|
|
|
<span class="label">住址:</span>
|
|
|
|
|
<span class="value">{{ props.item.address }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="infoItem">
|
|
|
|
|
<span class="label">所属派出所:</span>
|
|
|
|
|
<span class="value">{{ props.item.sspcs }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="infoItem">
|
|
|
|
|
<span class="label">列控原因:</span>
|
|
|
|
|
<span class="value">{{ props.item.yy }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
|
import pro from "@/assets/images/icon100.png";
|
|
|
|
|
import { defineProps } from "vue";
|
|
|
|
|
const props = defineProps({
|
|
|
|
|
item: {
|
|
|
|
|
type: Object,
|
|
|
|
|
default: () => ({})
|
2025-07-08 19:50:28 +08:00
|
|
|
|
},
|
|
|
|
|
type: {
|
|
|
|
|
type: String,
|
|
|
|
|
default: ""
|
2025-04-14 19:48:42 +08:00
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
// 切换背景
|
|
|
|
|
const changeBg = (type) => {
|
|
|
|
|
switch (type) {
|
|
|
|
|
case "10":
|
|
|
|
|
return "marks_red";
|
|
|
|
|
case "20":
|
|
|
|
|
return "marks_orange";
|
|
|
|
|
case "30":
|
|
|
|
|
return "marks_yellow";
|
|
|
|
|
case "40":
|
|
|
|
|
return "marks_blue";
|
|
|
|
|
default:
|
|
|
|
|
return "marks_red";
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.personCard {
|
|
|
|
|
background: rgba(10, 49, 88, 0.6);
|
|
|
|
|
box-shadow: inset 0px 0px 10px 0px rgba(56, 119, 242, 0.5);
|
|
|
|
|
border-radius: 0px 0px 0px 0px;
|
|
|
|
|
border: 1px solid #0072ff;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
transition: all 0.3s;
|
2025-07-08 19:50:28 +08:00
|
|
|
|
|
2025-04-14 19:48:42 +08:00
|
|
|
|
&:hover {
|
|
|
|
|
background: rgba(17, 66, 96, 0.8);
|
|
|
|
|
}
|
2025-07-08 19:50:28 +08:00
|
|
|
|
|
2025-04-14 19:48:42 +08:00
|
|
|
|
.cxbq {
|
|
|
|
|
right: 5px;
|
|
|
|
|
top: 5px;
|
|
|
|
|
width: 50px;
|
|
|
|
|
height: 50px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background: rgba(0, 255, 255, 0.3);
|
|
|
|
|
border: 1px solid #00ffff;
|
|
|
|
|
color: #00ffff;
|
|
|
|
|
transform: rotate(-48deg);
|
|
|
|
|
}
|
2025-07-08 19:50:28 +08:00
|
|
|
|
|
|
|
|
|
.btn_qs {
|
|
|
|
|
right: 5px;
|
|
|
|
|
bottom: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-14 19:48:42 +08:00
|
|
|
|
.avatarBox {
|
|
|
|
|
margin-right: 15px;
|
|
|
|
|
overflow: hidden;
|
2025-07-08 19:50:28 +08:00
|
|
|
|
|
2025-04-14 19:48:42 +08:00
|
|
|
|
.marks {
|
|
|
|
|
width: 70px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
line-height: 40px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
background: rgba(255, 62, 62, 0.75);
|
|
|
|
|
top: -4px;
|
|
|
|
|
left: -24px;
|
|
|
|
|
transform: rotate(-45deg);
|
2025-07-08 19:50:28 +08:00
|
|
|
|
z-index: 1;
|
2025-04-14 19:48:42 +08:00
|
|
|
|
}
|
2025-07-08 19:50:28 +08:00
|
|
|
|
|
2025-04-14 19:48:42 +08:00
|
|
|
|
.marks_red {
|
|
|
|
|
background: rgba(255, 62, 62, 0.75);
|
|
|
|
|
}
|
2025-07-08 19:50:28 +08:00
|
|
|
|
|
2025-04-14 19:48:42 +08:00
|
|
|
|
.marks_orange {
|
|
|
|
|
background: rgba(255, 155, 62, 0.75);
|
|
|
|
|
}
|
2025-07-08 19:50:28 +08:00
|
|
|
|
|
2025-04-14 19:48:42 +08:00
|
|
|
|
.marks_yellow {
|
|
|
|
|
background: rgba(255, 239, 62, 0.75);
|
|
|
|
|
}
|
2025-07-08 19:50:28 +08:00
|
|
|
|
|
2025-04-14 19:48:42 +08:00
|
|
|
|
.marks_blue {
|
|
|
|
|
background: rgba(0, 114, 255, 0.75);
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-07-08 19:50:28 +08:00
|
|
|
|
|
2025-04-14 19:48:42 +08:00
|
|
|
|
.bqbox {
|
|
|
|
|
color: #ff0000;
|
|
|
|
|
padding: 4px 6px;
|
|
|
|
|
background: rgba(255, 0, 0, 0.3);
|
|
|
|
|
border-radius: 1px 1px 1px 1px;
|
|
|
|
|
border: 1px solid #ff0000;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
2025-07-08 19:50:28 +08:00
|
|
|
|
|
2025-04-14 19:48:42 +08:00
|
|
|
|
.infoBox {
|
|
|
|
|
flex: 1;
|
2025-07-08 19:50:28 +08:00
|
|
|
|
|
2025-04-14 19:48:42 +08:00
|
|
|
|
.basicInfo {
|
|
|
|
|
.name {
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
2025-07-08 19:50:28 +08:00
|
|
|
|
|
2025-04-14 19:48:42 +08:00
|
|
|
|
.idCard {
|
|
|
|
|
color: #89afcf;
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-07-08 19:50:28 +08:00
|
|
|
|
|
2025-04-14 19:48:42 +08:00
|
|
|
|
.detailInfo {
|
|
|
|
|
.infoItem {
|
|
|
|
|
color: #89afcf;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
margin-bottom: 5px;
|
2025-07-08 19:50:28 +08:00
|
|
|
|
|
2025-04-14 19:48:42 +08:00
|
|
|
|
.label {
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
2025-07-08 19:50:28 +08:00
|
|
|
|
|
2025-04-24 11:54:38 +08:00
|
|
|
|
.value {
|
|
|
|
|
color: #89afcf;
|
|
|
|
|
}
|
2025-04-14 19:48:42 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-07-08 19:50:28 +08:00
|
|
|
|
|
2025-04-14 19:48:42 +08:00
|
|
|
|
.smallbtn {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 4px 10px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background: #0072ff;
|
|
|
|
|
border-radius: 5px 5px 5px 5px;
|
|
|
|
|
margin-top: 6px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|