diff --git a/src/view/echarts_yl/eP3.vue b/src/view/echarts_yl/eP3.vue
index 9241a28..c1354cb 100644
--- a/src/view/echarts_yl/eP3.vue
+++ b/src/view/echarts_yl/eP3.vue
@@ -3,20 +3,49 @@
diff --git a/src/view/echarts_yl/eP3_2.vue b/src/view/echarts_yl/eP3_2.vue
index e740184..d54c23d 100644
--- a/src/view/echarts_yl/eP3_2.vue
+++ b/src/view/echarts_yl/eP3_2.vue
@@ -3,13 +3,42 @@
diff --git a/src/view/yl.vue b/src/view/yl.vue
index b4b0e06..17e8d74 100644
--- a/src/view/yl.vue
+++ b/src/view/yl.vue
@@ -95,8 +95,8 @@
/>
-
-
+
+
@@ -210,7 +210,14 @@ const data = reactive({
leftCenterYear:[],
leftbottom1:[],
leftbottom2:[],
+ leftbottom3:[],
+ leftbottom4:[],
leftbottomYear:[],
+ centerBottom1:[],
+ centerBottom2:[],
+ centerBottomYear:[],
+ zccs1: [],
+ zccs2: []
})
onBeforeMount(() => {
getData();
@@ -218,24 +225,57 @@ onBeforeMount(() => {
const getData = () => {
http.get("/api/ggfwyth/yl").then((res) => {
if (res.code == 200) {
+ // 养老保险
+ // 人次
res.data.endowmentInsurance.ffrc.forEach(element => {
data.leftTop1.push(element.zgffrc)
data.leftTop2.push(element.cxffrc)
});
+ //金额
res.data.endowmentInsurance.ffje.forEach(element => {
data.leftTop3.push(element.zgffje)
data.leftTop4.push(element.cxffje)
});
+ // 年份
data.leftTopYear = res.data.endowmentInsurance.year
+ //高龄老人补贴
+ // 人次
res.data.oldAgeSubsidy.btrs.forEach(element => {
data.leftCenter1.push(element.ninetyNinetyEight)
data.leftCenter2.push(element.ninetyNine)
});
+ //金额
res.data.oldAgeSubsidy.btje.forEach(element => {
data.leftCenter3.push(element.ninetyNinetyEight)
data.leftCenter4.push(element.ninetyNine)
});
data.leftCenterYear = res.data.oldAgeSubsidy.year
+ // 特困低保老人救助
+ // 人次
+ res.data.tkdbOldAge.tkdbffrc.forEach(element => {
+ data.leftbottom1.push(element.tkjzrc)
+ data.leftbottom2.push(element.dbjzrc)
+ });
+ //金额
+ res.data.tkdbOldAge.tkdbffje.forEach(element => {
+ data.leftbottom3.push(element.tkjzje)
+ data.leftbottom4.push(element.dbjzje)
+ });
+ // 年份
+ data.leftbottomYear = res.data.tkdbOldAge.year
+ // 计划生育
+ res.data.familyPlanning.familyPlanningData.forEach(element => {
+ data.centerBottom1.push(element.jhsyrs) // 人次
+ data.centerBottom2.push(element.jhsybtje) // 金额
+ });
+ // 年份
+ data.centerBottomYear = res.data.familyPlanning.year
+ // 助老服务
+ // 乡镇助餐次数
+ res.data.zlfw.xzzccs.forEach(element => {
+ data.zccs1.push(element.xzjd) // 地点
+ data.zccs2.push(element.zccs) // 次数
+ });
}
});
};