lcw
This commit is contained in:
@ -20,8 +20,9 @@
|
||||
{{ item.label }}:{{ item.value }}条
|
||||
</li>
|
||||
</ul>
|
||||
<TotalNumberClues v-model="openShow.xfzs" :title="title"/>
|
||||
<TotalNumberClues v-model="openShow.xfzs" :title="title" :sfqs="sfqs" :sffk="sffk" />
|
||||
<TotalNumberDistributions v-model="openShow.xszs" />
|
||||
<informationCollection v-model="openShow.cjzs" :title="title"/>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@ -29,14 +30,16 @@ import { ref, onMounted, reactive } from 'vue';
|
||||
import TimeData from '@/views/home/model/mesgSwitch/timeData.vue'
|
||||
import TotalNumberClues from '@/views/home/components/totalNumberClues.vue'
|
||||
import TotalNumberDistributions from '@/views/home/components/totalNumberDistributions.vue'
|
||||
import informationCollection from '@/views/home/components/informationCollection.vue'
|
||||
import { qbcjDpxsCount } from "@/api/model.js"
|
||||
|
||||
const contentItem = ref([
|
||||
{ label: '信息采集总数', value: '0', type: 'cjzs' },
|
||||
{ label: '线索总数', value: '0', type: 'xszs' },
|
||||
{ label: '下发总数', value: '0', type: 'xfzs' },
|
||||
{ label: '已处置总数', value: '0', type: 'yczzs' },
|
||||
{ label: '反馈总数', value: '0', type: 'fkzs' },
|
||||
{ label: '未反馈总数', value: '0', type: 'wfks' },
|
||||
{ label: '未处置总数', value: '0', type: 'wczzs' },
|
||||
{ label: '已签收', value: '0', type: 'yqss' },
|
||||
{ label: '未签收', value: '0', type: 'wqss' },
|
||||
{ label: '已反馈', value: '0', type: 'fkzs' },
|
||||
])
|
||||
const visible = ref(false)
|
||||
const changeTime = (val) => {
|
||||
@ -45,61 +48,79 @@ const changeTime = (val) => {
|
||||
}
|
||||
getCount()
|
||||
}
|
||||
const title = ref('下发总数')
|
||||
const title = ref('线索总数')
|
||||
onMounted(() => {
|
||||
|
||||
qbcjDpxsCount({}, '/mosty-gsxt/tbXs/getXsCount').then(res => {
|
||||
qbcjDpxsCount({}, '/mosty-gsxt/qbcj/dpxsCount').then(res => {
|
||||
res = res || {}
|
||||
// 根据API返回的数据更新contentItem
|
||||
contentItem.value = [
|
||||
{ label: '信息采集总数', value: res.cjzs || 0, type: 'cjzs' },
|
||||
{ label: '线索总数', value: res.xszs || 0, type: 'xszs' },
|
||||
{ label: '下发总数', value: res.xfzs || 0, type: 'xfzs' },
|
||||
{ label: '已处置总数', value: res.yczzs || 0, type: 'yczzs' },
|
||||
{ label: '反馈总数', value: res.fkzs || 0, type: 'fkzs' },
|
||||
{ label: '未反馈总数', value: res.wfkzs || 0, type: 'wfks' },
|
||||
{ label: '未处置总数', value: res.wczzs || 0, type: 'wczzs' },
|
||||
{ label: '已签收', value: res.yqss || 0, type: 'yqss' },
|
||||
{ label: '未签收', value: res.wfkzs || 0, type: 'wqss' },
|
||||
{ label: '已反馈', value: res.fkzs || 0, type: 'fkzs' },
|
||||
]
|
||||
})
|
||||
})
|
||||
|
||||
const openShow=reactive({
|
||||
const openShow = reactive({
|
||||
cjzs: false,
|
||||
xszs: false,
|
||||
xfzs: false,
|
||||
yczzs: false,
|
||||
yqss: false,
|
||||
wqss: false,
|
||||
fkzs: false,
|
||||
wfks: false,
|
||||
wczzs: false,
|
||||
})
|
||||
const sfqs = ref('')
|
||||
const sffk = ref('')
|
||||
const openTc = (val) => {
|
||||
console.log(val);
|
||||
|
||||
sfqs.value = ''
|
||||
sffk.value = ''
|
||||
switch (val) {
|
||||
case 'cjzs':
|
||||
openShow.cjzs = true
|
||||
title.value = '信息采集总数'
|
||||
break;
|
||||
case 'xszs':
|
||||
|
||||
openShow.xszs = true
|
||||
title.value = '线索总数'
|
||||
break;
|
||||
case 'wqss':
|
||||
sfqs.value = '0'
|
||||
sffk.value = ''
|
||||
openShow.xfzs = true
|
||||
title.value = '未签收'
|
||||
break;
|
||||
case 'xfzs':
|
||||
openShow.xfzs = true
|
||||
title.value = '下发总数'
|
||||
break;
|
||||
case 'yjzs': break;
|
||||
case 'yczzs': break;
|
||||
case 'fkzs': break;
|
||||
case 'wfks':
|
||||
case 'yqss':
|
||||
sfqs.value = '1'
|
||||
sffk.value = ''
|
||||
openShow.xfzs = true
|
||||
title.value = '未反馈数'
|
||||
title.value = '已签收'
|
||||
break;
|
||||
case 'fkzs':
|
||||
sfqs.value = ''
|
||||
sffk.value = '1'
|
||||
openShow.xfzs = true
|
||||
title.value = '已反馈'
|
||||
break;
|
||||
case 'wczzs': break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// // 线索总数
|
||||
// // 信息采集总数
|
||||
// const xsCount = () => {
|
||||
// xxcjQbcjSelectPage({}).then(res => {
|
||||
// console.log(res);
|
||||
// })
|
||||
// }
|
||||
// // 下发总数
|
||||
// // 线索总数
|
||||
// const xfxsCount = () => {
|
||||
// xxcjXfxsSelectPage({}).then(res => {
|
||||
// console.log(res);
|
||||
@ -117,10 +138,11 @@ const close = () => {
|
||||
.xsBox {
|
||||
background: url("~@/assets/images/bg_12.png") no-repeat center center;
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
z-index: 299;
|
||||
position: relative;
|
||||
z-index: 299;
|
||||
|
||||
.xs-item {
|
||||
cursor: pointer;
|
||||
cursor: pointer;
|
||||
width: 31%;
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
|
||||
Reference in New Issue
Block a user