This commit is contained in:
duanxiaohai 2024-05-15 17:30:56 +08:00
parent e200493c4e
commit 8f3874f4b9
2 changed files with 525 additions and 464 deletions

File diff suppressed because it is too large Load Diff

View File

@ -136,10 +136,10 @@
<div class="mtpImg1"></div>
<div class="mtpImg2"></div>
<div class="mtpImg3"></div>
<div class="mtpText1">588811</div>
<div class="mtpText2">18%</div>
<div class="mtpText1">{{ data.oldAgeTotal }}</div>
<div class="mtpText2">{{ data.oldAgePercent }}%</div>
</div>
<ePie3d></ePie3d>
<ePie3d :list="data.rkgk"></ePie3d>
</div>
<div class="flex1">
<div class="yd_title familyPlanning"></div>
@ -156,7 +156,7 @@
<div class="history">
<div class="history1">
<div>
<span>{{data.yljgzlzx.yljg}}<span class="unit"></span></span>
<span>{{ data.yljgzlzx.yljg }}<span class="unit"></span></span>
</div>
<img src="@/assets/YLimg/ylimg11.png" alt="" />
<img class="historyimg" src="@/assets/YLimg/ylimg5.png" alt="" />
@ -170,7 +170,7 @@
</div> -->
<div class="history1">
<div>
<span>{{data.yljgzlzx.zlzx}}<span class="unit"></span></span>
<span>{{ data.yljgzlzx.zlzx }}<span class="unit"></span></span>
</div>
<img src="@/assets/YLimg/ylimg12.png" alt="" />
<img class="historyimg" src="@/assets/YLimg/ylimg10.png" alt="" />
@ -203,8 +203,7 @@
alt=""
/>
</div>
<ylXZZC :list1="data.zccs1"
:list2="data.zccs2"></ylXZZC>
<ylXZZC :list1="data.zccs1" :list2="data.zccs2"></ylXZZC>
</div>
</div>
</div>
@ -248,6 +247,9 @@ const data = reactive({
leftbottom3: [],
leftbottom4: [],
leftbottomYear: [],
oldAgePercent: "",
oldAgeTotal: "",
rkgk: [],
centerBottom1: [],
centerBottom2: [],
centerBottomYear: [],
@ -300,6 +302,11 @@ const getData = async () => {
});
//
data.leftbottomYear = res.data.tkdbOldAge.year;
//
data.oldAgePercent = res.data.lnrgnljzb.oldAgePercent;
data.oldAgeTotal = res.data.lnrgnljzb.oldAgeTotal;
data.rkgk = res.data.lnrgnljzb.rkgk;
//
res.data.familyPlanning.familyPlanningData.forEach((element) => {
data.centerBottom1.push(element.jhsyrs); //