This commit is contained in:
姚宇浩 2024-07-30 09:37:26 +08:00
parent fd3655a095
commit 6c5ef155e1
4 changed files with 2639 additions and 6 deletions

View File

@ -64,7 +64,12 @@ const router = createRouter({
name: '首页表格详情', name: '首页表格详情',
path: '/home/index/table/details', path: '/home/index/table/details',
component: () => import('../view/sy_details.vue'), component: () => import('../view/sy_details.vue'),
} },
{
name: '首页地图2',
path: '/home/index/map2',
component: () => import('../view/map_copy.vue'),
},
] ]
}, },
] ]

2632
src/view/map_copy.vue Normal file

File diff suppressed because it is too large Load Diff

View File

@ -271,9 +271,6 @@ const chooseCsList = ref([]);
const unChooseList = ref([]); const unChooseList = ref([]);
const sqname = ref(); const sqname = ref();
const townName = ref(); const townName = ref();
//
const center_now = ref([]);
const center_center = ref([119.178783, 29.034583]);
// //
const mapTownCount = reactive([ const mapTownCount = reactive([
{ {
@ -1374,7 +1371,6 @@ const removeAllPolygon = (e) => {
}; };
// //
// //
const chooseArr = ref([]);
const choose = ref({ const choose = ref({
person: "", person: "",

View File

@ -657,7 +657,7 @@ const getData = () => {
// //
res.data.familyPlanning.familyPlanningData.forEach((element) => { res.data.familyPlanning.familyPlanningData.forEach((element) => {
data.centerBottom1.push(element.jhsyrs); // data.centerBottom1.push(element.jhsyrs); //
data.centerBottom2.push((element.jhsybtje / 10000).toFixed(0)); // data.centerBottom2.push((element.jhsybtje / 10000)); //
// data.centerBottom2.push(element.jhsybtje); // // data.centerBottom2.push(element.jhsybtje); //
}); });
// //