update 添加图标 完善地图功能

This commit is contained in:
zk
2023-12-07 18:44:15 +08:00
parent 123b681dc3
commit 622181ac96
14 changed files with 391 additions and 159 deletions
@@ -1,6 +1,44 @@
import { ref } from 'vue';
import * as echarts from 'echarts';
export function useStatistics() {
const statistics = ref([
{
name: '最新呼入电话',
value: '',
key: 'gross',
},
{
name: '最新受理电话',
value: '',
key: 'alerdyreceive',
},
{
name: '突发重大伤病应急',
value: '',
key: 'jqqz',
},
{
name: '重大伤病应急就医',
value: '',
key: 'dbjy',
},
]);
function setStatistics(data = {}) {
statistics.value.forEach((item) => {
const { key } = item;
item.value = data[key];
});
console.log('fffffff', statistics.value);
}
return {
statistics,
setStatistics,
};
}
export const timeTab = [
{
name: '全部',