Files
sgxt_web/src/views/home/model/dbCount.vue

75 lines
1.9 KiB
Vue
Raw Normal View History

2025-04-15 14:38:12 +08:00
<template>
<div class="comom-title">
<span class="title">线索研判盯办统计</span>
2025-11-22 21:59:58 +08:00
<el-popover placement="right" :width="430" :visible="visible">
2025-10-26 12:25:50 +08:00
<template #reference>
2025-11-22 21:59:58 +08:00
<div class="title" style="position: relative;z-index: 10000;height: 40px;width: 40px;" @click="visible = true"></div>
2025-10-26 12:25:50 +08:00
</template>
2025-11-22 21:59:58 +08:00
<div>
<div class="qbltData">
<div>查询</div>
<div class="close" @click.stop="close()">X</div>
</div>
<TimeData v-if="visible" @changeTime="changeTime" />
</div>
2025-10-26 12:25:50 +08:00
</el-popover>
</div>
2025-04-15 14:38:12 +08:00
<ul class="comom-cnt xsBox flex flex-warp just-between align-center">
<li class="xs-item" v-for="(item, idx) in contentItem" :key="idx">
2025-10-26 12:25:50 +08:00
{{ item.label }}:{{ item.value }}
2025-04-15 14:38:12 +08:00
</li>
</ul>
</template>
<script setup>
import { ref } from 'vue';
2025-11-22 21:59:58 +08:00
import TimeData from '@/views/home/model/mesgSwitch/timeData.vue'
2025-04-15 14:38:12 +08:00
const contentItem = ref([
2025-10-26 12:25:50 +08:00
{ label: '线索总数', value: '82' },
{ label: '下发总数', value: '82' },
{ label: '已处置总数', value: '80' },
{ label: '反馈总数', value: '50' },
{ label: '未反馈总数', value: '30' },
{ label: '未处置总数', value: '2' },
2025-04-15 14:38:12 +08:00
])
2025-11-22 21:59:58 +08:00
const visible = ref(false)
const changeTime = (val) => {
listQuery.value = {
...val
}
getCount()
}
const close = () => {
visible.value = false
}
2025-04-15 14:38:12 +08:00
</script>
<style lang="scss" scoped>
@import "@/assets/css/homeScreen.scss";
2025-10-26 12:25:50 +08:00
.xsBox {
background: url("~@/assets/images/bg_12.png") no-repeat center center;
background-size: 100% 100%;
.xs-item {
width: 31%;
height: 36px;
line-height: 36px;
text-align: center;
background: url("~@/assets/images/content-item.png") no-repeat center center;
2025-04-15 14:38:12 +08:00
background-size: 100% 100%;
2025-10-26 12:25:50 +08:00
}
2025-04-15 14:38:12 +08:00
}
2025-11-22 21:59:58 +08:00
.qbltData {
width: 100%;
display: flex;
justify-content: space-between;
padding: 0 10px 10px
}
.close {
cursor: pointer;
}
2025-10-26 12:25:50 +08:00
</style>