Compare commits

...

2 Commits

Author SHA1 Message Date
duanxiaohai 34da0d1f0b gx 2024-08-06 09:12:39 +08:00
duanxiaohai 66d72f1703 gx 2024-08-05 17:34:58 +08:00
4 changed files with 34 additions and 15 deletions

BIN
dist.zip Normal file

Binary file not shown.

View File

@ -624,7 +624,7 @@ const getData = async (name, fullName) => {
name: item.sx, name: item.sx,
text: item.bmfxqk, text: item.bmfxqk,
// progress: item.xh, // progress: item.xh,
progress: '95', progress: '95', //
}); });
}); });
} }

View File

@ -681,9 +681,20 @@ const getData = () => {
// //
data.smfwcs = res.data.zlfw.smfwcs; data.smfwcs = res.data.zlfw.smfwcs;
// //
res.data.zlfw.xzzccs.forEach((element) => { let elements = res.data.zlfw.xzzccs;
// zccs 0
elements.forEach((element) => {
if (element.zccs !== 0) {
data.zccs1.push(element.xzjd); // data.zccs1.push(element.xzjd); //
data.zccs2.push(element.zccs); // data.zccs2.push(element.zccs); //
}
});
// zccs 0
elements.forEach((element) => {
if (element.zccs === 0) {
data.zccs1.push(element.xzjd); //
data.zccs2.push(element.zccs); //
}
}); });
} }
showEchart.value = true; showEchart.value = true;

View File

@ -217,10 +217,7 @@
</div> </div>
</div> </div>
<div class="history"> <div class="history">
<div <div class="history1" @click="showMapDialog('养老机构')">
class="history1"
@click="showMapDialog('养老机构')"
>
<div> <div>
<span>{{ data.yljgzlzx.yljg }}<span class="unit"></span></span> <span>{{ data.yljgzlzx.yljg }}<span class="unit"></span></span>
</div> </div>
@ -445,10 +442,10 @@ const showDialog = (title, url, coulumn) => {
getTable(url, pagination.currentPage); getTable(url, pagination.currentPage);
}; };
// //
const showMapDialog =(title)=>{ const showMapDialog = (title) => {
mapTitle.value = title; mapTitle.value = title;
dialogShowMap.value = true; dialogShowMap.value = true;
} };
// //
const getTable = (url, currentPage) => { const getTable = (url, currentPage) => {
http http
@ -657,7 +654,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)); // data.centerBottom2.push(element.jhsybtje / 10000); //
// data.centerBottom2.push(element.jhsybtje); // // data.centerBottom2.push(element.jhsybtje); //
}); });
// //
@ -668,9 +665,20 @@ const getData = () => {
// //
data.smfwcs = res.data.zlfw.smfwcs; data.smfwcs = res.data.zlfw.smfwcs;
// //
res.data.zlfw.xzzccs.forEach((element) => { let elements = res.data.zlfw.xzzccs;
// zccs 0
elements.forEach((element) => {
if (element.zccs !== 0) {
data.zccs1.push(element.xzjd); // data.zccs1.push(element.xzjd); //
data.zccs2.push(element.zccs); // data.zccs2.push(element.zccs); //
}
});
// zccs 0
elements.forEach((element) => {
if (element.zccs === 0) {
data.zccs1.push(element.xzjd); //
data.zccs2.push(element.zccs); //
}
}); });
} }
showEchart.value = true; showEchart.value = true;