This commit is contained in:
duanxiaohai 2024-09-05 13:28:47 +08:00
commit cb575efc74
8 changed files with 50 additions and 52 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

View File

@ -1282,7 +1282,7 @@ onBeforeUnmount(() => {
} }
.flex11 { .flex11 {
padding: 12px 0; padding-bottom: 12px ;
} }
.map { .map {
@ -1319,6 +1319,7 @@ onBeforeUnmount(() => {
display: flex; display: flex;
} }
.ViewData { .ViewData {
margin-top: 12px;
.ViewDatalist { .ViewDatalist {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;

View File

@ -97,7 +97,7 @@ const initMap = () => {
styleId: "d0acde891abd157741b71e12670ee2e6", styleId: "d0acde891abd157741b71e12670ee2e6",
}); });
goMapCenter([119.116203, 29.078722], 12); goMapCenter([119.123203, 29.098722], 12);
loadTown(); loadTown();
addPolygonCounty(); addPolygonCounty();
}; };
@ -107,7 +107,7 @@ const goMapCenter = (point, zoom) => {
map.centerAndZoom(new BMapGL.Point(point[0], point[1]), zoom); map.centerAndZoom(new BMapGL.Point(point[0], point[1]), zoom);
}; };
const loadTown = () => { const loadTown = () => {
for (let v of mapTown.features) { for (let v of mapTown[0].features) {
if (v.geometry.coordinates.length > 1) { if (v.geometry.coordinates.length > 1) {
for (let w in v.geometry.coordinates) { for (let w in v.geometry.coordinates) {
if (v.geometry.coordinates[w][0].length < 60) continue; if (v.geometry.coordinates[w][0].length < 60) continue;

View File

@ -210,14 +210,14 @@
<img src="@/assets/images/hygiene/fy.png" alt="" /> <img src="@/assets/images/hygiene/fy.png" alt="" />
<img src="@/assets/images/hygiene/fy1.png" alt="" class="fyMove" /> <img src="@/assets/images/hygiene/fy1.png" alt="" class="fyMove" />
<img src="@/assets/images/hygiene/fy.gif" class="historyMoveImg" /> <img src="@/assets/images/hygiene/fy.gif" class="historyMoveImg" />
<div class="historyimg font" >孕产妇系统管理人数</div> <div class="historyimg font">孕产妇系统管理人数</div>
</div> </div>
<div class="history1"> <div class="history1">
<div class="va">{{ data.fyglrs.etrs }}</div> <div class="va">{{ data.fyglrs.etrs }}</div>
<img src="@/assets/images/hygiene/fy.png" alt="" /> <img src="@/assets/images/hygiene/fy.png" alt="" />
<img src="@/assets/images/hygiene/fy2.png" alt="" class="fyMove" /> <img src="@/assets/images/hygiene/fy2.png" alt="" class="fyMove" />
<img src="@/assets/images/hygiene/fy.gif" class="historyMoveImg" /> <img src="@/assets/images/hygiene/fy.gif" class="historyMoveImg" />
<div class="historyimg font" >0-6岁儿童系统管理人数</div> <div class="historyimg font">0-6岁儿童系统管理人数</div>
</div> </div>
</div> </div>
</div> </div>
@ -291,12 +291,16 @@ const data = reactive({
{ name: "2023", num: 7301560.28 }, { name: "2023", num: 7301560.28 },
], // ], //
mz: {}, // mz: {}, //
jkda: {}, // jkda: {
jdfs: "336993",
jdl: "91.82",
jtysqyl: "49.37",
}, //
jsbgl: [], // jsbgl: [], //
fyglrs: {}, // fyglrs: {}, //
jktj: {}, //65 jktj: {}, //65
jkhd: [], // jkhd: [], //
lxbx:{},// lxbx: {}, //
}); });
const tabYd = ref([ const tabYd = ref([
{ {
@ -370,7 +374,8 @@ const getData = async () => {
data.medicalInsurance = res.data.medicalInsurance; data.medicalInsurance = res.data.medicalInsurance;
data.lmb = res.data.lmb; data.lmb = res.data.lmb;
data.mz = res.data.mz; data.mz = res.data.mz;
data.jkda = res.data.jkda; //
// data.jkda = res.data.jkda;
data.jsbgl = res.data.jsbgl; data.jsbgl = res.data.jsbgl;
data.fyglrs = res.data.fyglrs; data.fyglrs = res.data.fyglrs;
data.jktj = res.data.jktj; data.jktj = res.data.jktj;
@ -1307,7 +1312,7 @@ const getData = async () => {
margin-top: 15px; margin-top: 15px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.font{ .font {
font-size: 18px !important; font-size: 18px !important;
} }
</style> </style>

View File

@ -2162,7 +2162,7 @@ onBeforeMount(async () => {
} }
.left_1 { .left_1 {
background-image: url(@/assets/images/sy/new_msfz.png); background-image: url(@/assets/images/sy/sy_title_sbjz.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
cursor: pointer; cursor: pointer;

View File

@ -1837,9 +1837,9 @@ const buten = async (item) => {
if (title_jd.value == "") { if (title_jd.value == "") {
} else { } else {
if (sfdd.value) { if (sfdd.value) {
cs_dd_arr.value.forEach((item, index) => { // cs_dd_arr.value.forEach((item, index) => {
map.removeOverlay(cs_dd_arr.value[index]); // map.removeOverlay(cs_dd_arr.value[index]);
}); // });
cs_dd_arr.value = [...xuanzhongCs.value]; cs_dd_arr.value = [...xuanzhongCs.value];
cs_dd_arr.value.map((item, index) => { cs_dd_arr.value.map((item, index) => {
DGcreateCs(item, index); DGcreateCs(item, index);
@ -1877,9 +1877,9 @@ const buten2 = async (item) => {
if (title_jd.value == "") { if (title_jd.value == "") {
} else { } else {
if (sfdd.value) { if (sfdd.value) {
cs_dd_arr.value.forEach((item, index) => { // cs_dd_arr.value.forEach((item, index) => {
map.removeOverlay(cs_dd_arr.value[index]); // map.removeOverlay(cs_dd_arr.value[index]);
}); // });
cs_dd_arr.value = [...xuanzhongCs.value]; cs_dd_arr.value = [...xuanzhongCs.value];
cs_dd_arr.value.map((item, index) => { cs_dd_arr.value.map((item, index) => {
DGcreateCs(item, index); DGcreateCs(item, index);
@ -2088,17 +2088,17 @@ const getDatas = async (e, i, y = true) => {
} else { } else {
if (sfdd.value) { if (sfdd.value) {
if (choose.value.person == "") { if (choose.value.person == "") {
cs_dd_arr.value.forEach((item, index) => { // cs_dd_arr.value.forEach((item, index) => {
map.removeOverlay(cs_dd_arr.value[index]); // map.removeOverlay(cs_dd_arr.value[index]);
}); // });
cs_dd_arr.value = [...xuanzhongCs.value]; cs_dd_arr.value = [...xuanzhongCs.value];
cs_dd_arr.value.map((item, index) => { cs_dd_arr.value.map((item, index) => {
DGcreateCs(item, index); DGcreateCs(item, index);
}); });
} else { } else {
cs_dd_arr.value.forEach((item, index) => { // cs_dd_arr.value.forEach((item, index) => {
map.removeOverlay(cs_dd_arr.value[index]); // map.removeOverlay(cs_dd_arr.value[index]);
}); // });
cs_dd_arr.value = [...xuanzhongCs.value]; cs_dd_arr.value = [...xuanzhongCs.value];
cs_dd_arr.value.map((item, index) => { cs_dd_arr.value.map((item, index) => {
@ -2267,16 +2267,7 @@ const getDatas2 = async (e, i, cs) => {
} }
}); });
if ( if (
// i1 == "" ||
// i1 == "" ||
// i1 == "" ||
// i1 == "" ||
// i1 == "尿" ||
// i1 == "退" ||
// i1 == "" ||
// i1 == "" ||
// i1 == "" ||
// i1 == ""
tsbq_pp.value.includes(i1) tsbq_pp.value.includes(i1)
) { ) {
} else { } else {
@ -2410,15 +2401,15 @@ const getDataBqs2 = async (jd, cs, bq) => {
if (title_jd.value == "") { if (title_jd.value == "") {
} else { } else {
if (sfdd.value) { if (sfdd.value) {
if (choose.value.person == "") { // if (choose.value.person == "") {
cs_dd_arr.value.forEach((item, index) => { // cs_dd_arr.value.forEach((item, index) => {
map.removeOverlay(cs_dd_arr.value[index]); // map.removeOverlay(cs_dd_arr.value[index]);
}); // });
cs_dd_arr.value = [...xuanzhongCs.value]; // cs_dd_arr.value = [...xuanzhongCs.value];
cs_dd_arr.value.map((item, index) => { // cs_dd_arr.value.map((item, index) => {
DGcreateCs(item, index); // DGcreateCs(item, index);
}); // });
} else { // } else {
cs_dd_arr.value.forEach((item, index) => { cs_dd_arr.value.forEach((item, index) => {
map.removeOverlay(cs_dd_arr.value[index]); map.removeOverlay(cs_dd_arr.value[index]);
}); });
@ -2426,13 +2417,13 @@ const getDataBqs2 = async (jd, cs, bq) => {
cs_dd_arr.value.map((item, index) => { cs_dd_arr.value.map((item, index) => {
DGcreateCs2(item, index); DGcreateCs2(item, index);
}); });
} // }
} else {
if (choose.value.person == "") {
addCs();
} else { } else {
// if (choose.value.person == "") {
// addCs();
// } else {
addCs2(); addCs2();
} // }
} }
} }
} }
@ -3283,8 +3274,6 @@ const updateFwqList = (data, townName, communityName) => {
//---------------- //----------------
// //
const loadTown = () => { const loadTown = () => {
console.log();
for (let v of mapTown[0].features) { for (let v of mapTown[0].features) {
if (v.geometry.coordinates.length > 1) { if (v.geometry.coordinates.length > 1) {
for (let w in v.geometry.coordinates) { for (let w in v.geometry.coordinates) {
@ -4068,7 +4057,7 @@ const reset_font2 = () => {
"scale(" + width / 1920 + "," + height / 1080 + ")"; "scale(" + width / 1920 + "," + height / 1080 + ")";
}; };
onMounted(async () => { onMounted(async () => {
// tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
loadingss.value = true; loadingss.value = true;
reset_font(); reset_font();
await getXzsj(); await getXzsj();

View File

@ -297,7 +297,11 @@ const data = reactive({
{ name: "2023", num: 7301560.28 }, { name: "2023", num: 7301560.28 },
], // ], //
mz: {}, // mz: {}, //
jkda: {}, // jkda: {
jdfs: "336993",
jdl: "91.82",
jtysqyl: "49.37",
}, //
jsbgl: [], // jsbgl: [], //
fyglrs: {}, // fyglrs: {}, //
jktj: {}, //65 jktj: {}, //65
@ -380,7 +384,7 @@ const getData = async () => {
data.medicalInsurance = res.data.medicalInsurance; data.medicalInsurance = res.data.medicalInsurance;
data.lmb = res.data.lmb; data.lmb = res.data.lmb;
data.mz = res.data.mz; data.mz = res.data.mz;
data.jkda = res.data.jkda; // data.jkda = res.data.jkda;
data.jsbgl = res.data.jsbgl; data.jsbgl = res.data.jsbgl;
data.fyglrs = res.data.fyglrs; data.fyglrs = res.data.fyglrs;
data.jktj = res.data.jktj; data.jktj = res.data.jktj;

View File

@ -630,7 +630,6 @@ const getData = () => {
data.oldAgePercent = res.data.lnrgnljzb.oldAgePercent; data.oldAgePercent = res.data.lnrgnljzb.oldAgePercent;
data.oldAgeTotal = res.data.lnrgnljzb.oldAgeTotal; data.oldAgeTotal = res.data.lnrgnljzb.oldAgeTotal;
data.rkgk = res.data.lnrgnljzb.rkgk; data.rkgk = res.data.lnrgnljzb.rkgk;
// data.ylLnrkgk // data.ylLnrkgk
data.ylLnrkgk = res.data.ylLnrkgk; data.ylLnrkgk = res.data.ylLnrkgk;
data.ylLnrkgk.rkzsman = ageGroups.reduce( data.ylLnrkgk.rkzsman = ageGroups.reduce(