Commit dad41675bb569ff179fe055d7adbdad8f6720778

Authored by fengwotao
1 parent d61d4d35

feat(src/packages): 图表3d地图也支持下钻 修改地图注册方式为服务端接口请求

... ... @@ -11,8 +11,6 @@ import 'echarts-gl'
11 11 import config, { areaEnum } from './config'
12 12 import { getGeoJsonMap } from '@/api/external/common'
13 13
14   -type historyDataType = { name: string; code: string }
15   -
16 14 const props = defineProps({
17 15 chartConfig: {
18 16 type: Object as PropType<config>,
... ... @@ -24,16 +22,12 @@ const iconStr = ref(
24 22 'path://M853.333333 245.333333H245.333333l93.866667-93.866666c12.8-12.8 12.8-34.133333 0-46.933334-12.8-12.8-34.133333-12.8-46.933333 0l-145.066667 145.066667c-12.8 12.8-12.8 34.133333 0 46.933333l145.066667 145.066667c6.4 6.4 14.933333 10.666667 23.466666 10.666667s17.066667-4.266667 23.466667-10.666667c12.8-12.8 12.8-34.133333 0-46.933333L256 311.466667h597.333333c6.4 0 10.666667 4.266667 10.666667 10.666666v426.666667c0 6.4-4.266667 10.666667-10.666667 10.666667H170.666667c-17.066667 0-32 14.933333-32 32s14.933333 32 32 32h682.666666c40.533333 0 74.666667-34.133333 74.666667-74.666667V320c0-40.533333-34.133333-74.666667-74.666667-74.666667z'
25 23 )
26 24
27   -const historyData = ref<historyDataType[]>([])
28   -
29 25 const { w, h } = toRefs(props.chartConfig.attr)
30 26
31 27 const map3DRef = ref()
32 28
33 29 const chartInstance = ref()
34 30
35   -const saveSelectValue = ref('')
36   -
37 31 const toolBoxOption = ref({
38 32 show: true,
39 33 right: 110,
... ...