|
@@ -100,25 +100,25 @@ const init = () => {
|
|
|
}
|
|
}
|
|
|
$api.GetTop10ODEcharts({}).then((res: any) => {
|
|
$api.GetTop10ODEcharts({}).then((res: any) => {
|
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
|
- // res.data.toporiginMap &&
|
|
|
|
|
- // res.data.toporiginMap.forEach((item: any) => {
|
|
|
|
|
- // MapDataList.value.push({
|
|
|
|
|
- // color: item.color,
|
|
|
|
|
- // name: item.name,
|
|
|
|
|
- // qandl: item.qandl,
|
|
|
|
|
- // textcolor: item.textcolor,
|
|
|
|
|
- // value: item.value
|
|
|
|
|
- // })
|
|
|
|
|
- // })
|
|
|
|
|
- testList.value.forEach((item: any) => {
|
|
|
|
|
- MapDataList.value.push({
|
|
|
|
|
- color: item.color,
|
|
|
|
|
- name: item.name,
|
|
|
|
|
- qandl: item.qandl,
|
|
|
|
|
- textcolor: item.textcolor,
|
|
|
|
|
- value: item.value
|
|
|
|
|
|
|
+ res.data.toporiginMap &&
|
|
|
|
|
+ res.data.toporiginMap.forEach((item: any) => {
|
|
|
|
|
+ MapDataList.value.push({
|
|
|
|
|
+ color: item.color,
|
|
|
|
|
+ name: item.name,
|
|
|
|
|
+ qandl: item.qandl,
|
|
|
|
|
+ textcolor: item.textcolor,
|
|
|
|
|
+ value: item.value
|
|
|
|
|
+ })
|
|
|
})
|
|
})
|
|
|
- })
|
|
|
|
|
|
|
+ // testList.value.forEach((item: any) => {
|
|
|
|
|
+ // MapDataList.value.push({
|
|
|
|
|
+ // color: item.color,
|
|
|
|
|
+ // name: item.name,
|
|
|
|
|
+ // qandl: item.qandl,
|
|
|
|
|
+ // textcolor: item.textcolor,
|
|
|
|
|
+ // value: item.value
|
|
|
|
|
+ // })
|
|
|
|
|
+ // })
|
|
|
|
|
|
|
|
// 请求成功后添加标记,并动态添加重置按钮
|
|
// 请求成功后添加标记,并动态添加重置按钮
|
|
|
addMarkersToMap()
|
|
addMarkersToMap()
|