diff --git a/src/router/index.js b/src/router/index.js index 3dfcece..a0d1df1 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -64,7 +64,12 @@ const router = createRouter({ name: '首页表格详情', path: '/home/index/table/details', component: () => import('../view/sy_details.vue'), - } + }, + { + name: '首页地图2', + path: '/home/index/map2', + component: () => import('../view/map_copy.vue'), + }, ] }, ] diff --git a/src/view/map_copy.vue b/src/view/map_copy.vue new file mode 100644 index 0000000..5507e61 --- /dev/null +++ b/src/view/map_copy.vue @@ -0,0 +1,2632 @@ + + + + diff --git a/src/view/sy_map.vue b/src/view/sy_map.vue index 5fd9043..ee44ece 100644 --- a/src/view/sy_map.vue +++ b/src/view/sy_map.vue @@ -271,9 +271,6 @@ const chooseCsList = ref([]); const unChooseList = ref([]); const sqname = ref(); const townName = ref(); -//中心点坐标 -const center_now = ref([]); -const center_center = ref([119.178783, 29.034583]); //地图设置 const mapTownCount = reactive([ { @@ -1374,7 +1371,6 @@ const removeAllPolygon = (e) => { }; //选项设置 //选中 -const chooseArr = ref([]); const choose = ref({ person: "", diff --git a/src/view/yl.vue b/src/view/yl.vue index e4d782c..90a6138 100644 --- a/src/view/yl.vue +++ b/src/view/yl.vue @@ -657,7 +657,7 @@ const getData = () => { // 计划生育 res.data.familyPlanning.familyPlanningData.forEach((element) => { data.centerBottom1.push(element.jhsyrs); // 人次 - data.centerBottom2.push((element.jhsybtje / 10000).toFixed(0)); // 金额 + data.centerBottom2.push((element.jhsybtje / 10000)); // 金额 // data.centerBottom2.push(element.jhsybtje); // 金额 }); // 年份