This commit is contained in:
2025-09-15 16:16:02 +08:00
parent 24dc4957fc
commit 6f6863e44e

View File

@ -135,7 +135,7 @@ const obj = reactive({
color:[['#0DBAC5','#28EEBF'],['#F06C0D','#EEB416']], color:[['#0DBAC5','#28EEBF'],['#F06C0D','#EEB416']],
labelColor:'#000', labelColor:'#000',
list:[ list:[
{label:'总数',val:[30,20,10,60]}, {label:'总数',val:[0,0,0,0]},
] ]
}, },
data_hstj:{ data_hstj:{
@ -143,7 +143,7 @@ const obj = reactive({
color:['#0386FB','#00FFFF'], color:['#0386FB','#00FFFF'],
labelColor:'#000', labelColor:'#000',
list:[ list:[
{label:'总数',val:[30,20,10,60]}, {label:'总数',val:[0,0,10,0]},
] ]
} }
}) })
@ -309,6 +309,10 @@ const getJqList = () =>{
lzJcjPjdbSelectPage(params).then(res=>{ lzJcjPjdbSelectPage(params).then(res=>{
list[1].tableList = res.records || []; list[1].tableList = res.records || [];
list[1].pageConfiger.total = res.total; list[1].pageConfiger.total = res.total;
//模拟的统计警情接口
obj.data_lxtj.list = [{ label: '总数', val: [0,0,res.total,0] }];
obj.data_hstj.list = [{ label: '总数', val: [0,0,res.total,0] }];
}) })
} }