2025-04-15 14:38:12 +08:00
|
|
|
<template>
|
|
|
|
|
<div class="comom-title">
|
|
|
|
|
<span class="title">线索研判盯办统计</span>
|
2025-12-27 11:10:31 +08:00
|
|
|
<el-popover placement="right" :width="430" :visible="visible">
|
2025-10-26 12:25:50 +08:00
|
|
|
<template #reference>
|
2025-12-27 11:10:31 +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">
|
2025-12-27 11:10:31 +08:00
|
|
|
<li class="xs-item" v-for="(item, idx) in contentItem" :key="idx" @click="openTc(item.type)">
|
2025-10-26 12:25:50 +08:00
|
|
|
{{ item.label }}:{{ item.value }}条
|
2025-04-15 14:38:12 +08:00
|
|
|
</li>
|
|
|
|
|
</ul>
|
2026-01-06 22:09:05 +08:00
|
|
|
<TotalNumberClues v-model="openShow.xfzs" :title="title" :sfqs="sfqs" :sffk="sffk" />
|
2025-12-27 11:10:31 +08:00
|
|
|
<TotalNumberDistributions v-model="openShow.xszs" />
|
2026-01-06 22:09:05 +08:00
|
|
|
<informationCollection v-model="openShow.cjzs" :title="title"/>
|
2025-04-15 14:38:12 +08:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup>
|
2025-12-27 11:10:31 +08:00
|
|
|
import { ref, onMounted, reactive } from 'vue';
|
2025-11-22 21:59:58 +08:00
|
|
|
import TimeData from '@/views/home/model/mesgSwitch/timeData.vue'
|
2025-12-27 11:10:31 +08:00
|
|
|
import TotalNumberClues from '@/views/home/components/totalNumberClues.vue'
|
|
|
|
|
import TotalNumberDistributions from '@/views/home/components/totalNumberDistributions.vue'
|
2026-01-06 22:09:05 +08:00
|
|
|
import informationCollection from '@/views/home/components/informationCollection.vue'
|
2025-12-11 21:08:18 +08:00
|
|
|
import { qbcjDpxsCount } from "@/api/model.js"
|
2026-01-06 22:09:05 +08:00
|
|
|
|
2025-04-15 14:38:12 +08:00
|
|
|
const contentItem = ref([
|
2026-01-06 22:09:05 +08:00
|
|
|
{ label: '信息采集总数', value: '0', type: 'cjzs' },
|
2025-12-27 11:10:31 +08:00
|
|
|
{ label: '线索总数', value: '0', type: 'xszs' },
|
|
|
|
|
{ label: '下发总数', value: '0', type: 'xfzs' },
|
2026-01-06 22:09:05 +08:00
|
|
|
{ label: '已签收', value: '0', type: 'yqss' },
|
|
|
|
|
{ label: '未签收', value: '0', type: 'wqss' },
|
|
|
|
|
{ label: '已反馈', value: '0', type: 'fkzs' },
|
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()
|
|
|
|
|
}
|
2026-01-06 22:09:05 +08:00
|
|
|
const title = ref('线索总数')
|
2025-12-11 21:08:18 +08:00
|
|
|
onMounted(() => {
|
2025-12-27 11:10:31 +08:00
|
|
|
|
2026-01-06 22:09:05 +08:00
|
|
|
qbcjDpxsCount({}, '/mosty-gsxt/qbcj/dpxsCount').then(res => {
|
2025-12-11 21:08:18 +08:00
|
|
|
res = res || {}
|
|
|
|
|
// 根据API返回的数据更新contentItem
|
|
|
|
|
contentItem.value = [
|
2026-01-06 22:09:05 +08:00
|
|
|
{ label: '信息采集总数', value: res.cjzs || 0, type: 'cjzs' },
|
2025-12-27 11:10:31 +08:00
|
|
|
{ label: '线索总数', value: res.xszs || 0, type: 'xszs' },
|
|
|
|
|
{ label: '下发总数', value: res.xfzs || 0, type: 'xfzs' },
|
2026-01-06 22:09:05 +08:00
|
|
|
{ label: '已签收', value: res.yqss || 0, type: 'yqss' },
|
|
|
|
|
{ label: '未签收', value: res.wfkzs || 0, type: 'wqss' },
|
|
|
|
|
{ label: '已反馈', value: res.fkzs || 0, type: 'fkzs' },
|
2025-12-11 21:08:18 +08:00
|
|
|
]
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
|
2026-01-06 22:09:05 +08:00
|
|
|
const openShow = reactive({
|
|
|
|
|
cjzs: false,
|
2025-12-27 11:10:31 +08:00
|
|
|
xszs: false,
|
|
|
|
|
xfzs: false,
|
2026-01-06 22:09:05 +08:00
|
|
|
yqss: false,
|
|
|
|
|
wqss: false,
|
2025-12-27 11:10:31 +08:00
|
|
|
fkzs: false,
|
|
|
|
|
})
|
2026-01-06 22:09:05 +08:00
|
|
|
const sfqs = ref('')
|
|
|
|
|
const sffk = ref('')
|
2025-12-27 11:10:31 +08:00
|
|
|
const openTc = (val) => {
|
2026-01-06 22:09:05 +08:00
|
|
|
sfqs.value = ''
|
|
|
|
|
sffk.value = ''
|
2025-12-27 11:10:31 +08:00
|
|
|
switch (val) {
|
2026-01-06 22:09:05 +08:00
|
|
|
case 'cjzs':
|
|
|
|
|
openShow.cjzs = true
|
|
|
|
|
title.value = '信息采集总数'
|
|
|
|
|
break;
|
2025-12-27 11:10:31 +08:00
|
|
|
case 'xszs':
|
2026-01-06 22:09:05 +08:00
|
|
|
|
2025-12-27 11:10:31 +08:00
|
|
|
openShow.xszs = true
|
2026-01-06 22:09:05 +08:00
|
|
|
title.value = '线索总数'
|
|
|
|
|
break;
|
|
|
|
|
case 'wqss':
|
|
|
|
|
sfqs.value = '0'
|
|
|
|
|
sffk.value = ''
|
|
|
|
|
openShow.xfzs = true
|
|
|
|
|
title.value = '未签收'
|
2025-12-27 11:10:31 +08:00
|
|
|
break;
|
|
|
|
|
case 'xfzs':
|
|
|
|
|
openShow.xfzs = true
|
|
|
|
|
title.value = '下发总数'
|
|
|
|
|
break;
|
2026-01-06 22:09:05 +08:00
|
|
|
case 'yqss':
|
|
|
|
|
sfqs.value = '1'
|
|
|
|
|
sffk.value = ''
|
2025-12-27 11:10:31 +08:00
|
|
|
openShow.xfzs = true
|
2026-01-06 22:09:05 +08:00
|
|
|
title.value = '已签收'
|
|
|
|
|
break;
|
|
|
|
|
case 'fkzs':
|
|
|
|
|
sfqs.value = ''
|
|
|
|
|
sffk.value = '1'
|
|
|
|
|
openShow.xfzs = true
|
|
|
|
|
title.value = '已反馈'
|
2025-12-27 11:10:31 +08:00
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2026-01-06 22:09:05 +08:00
|
|
|
// // 信息采集总数
|
2025-12-27 11:10:31 +08:00
|
|
|
// const xsCount = () => {
|
|
|
|
|
// xxcjQbcjSelectPage({}).then(res => {
|
|
|
|
|
// console.log(res);
|
|
|
|
|
// })
|
|
|
|
|
// }
|
2026-01-06 22:09:05 +08:00
|
|
|
// // 线索总数
|
2025-12-27 11:10:31 +08:00
|
|
|
// const xfxsCount = () => {
|
|
|
|
|
// xxcjXfxsSelectPage({}).then(res => {
|
|
|
|
|
// console.log(res);
|
|
|
|
|
// })
|
|
|
|
|
// }
|
2025-11-22 21:59:58 +08:00
|
|
|
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%;
|
2026-01-06 22:09:05 +08:00
|
|
|
position: relative;
|
|
|
|
|
z-index: 299;
|
|
|
|
|
|
2025-10-26 12:25:50 +08:00
|
|
|
.xs-item {
|
2026-01-06 22:09:05 +08:00
|
|
|
cursor: pointer;
|
2025-10-26 12:25:50 +08:00
|
|
|
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-12-27 11:10:31 +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>
|