Commit ad0fa6e8 by 苏咏卓

更新

parent 87aaceb0
...@@ -547,6 +547,7 @@ export default { ...@@ -547,6 +547,7 @@ export default {
emphasis: { emphasis: {
show: true, show: true,
areaColor: "#3066ba", //鼠标滑过区域颜色 areaColor: "#3066ba", //鼠标滑过区域颜色
opacity: 0.8,
label: { label: {
show: true, show: true,
textStyle: { textStyle: {
......
...@@ -575,6 +575,7 @@ export default { ...@@ -575,6 +575,7 @@ export default {
emphasis: { emphasis: {
show: true, show: true,
areaColor: "#3066ba", //鼠标滑过区域颜色 areaColor: "#3066ba", //鼠标滑过区域颜色
opacity: 0.8,
label: { label: {
show: true, show: true,
textStyle: { textStyle: {
......
...@@ -493,6 +493,7 @@ export default { ...@@ -493,6 +493,7 @@ export default {
emphasis: { emphasis: {
show: true, show: true,
areaColor: "#3066ba", //鼠标滑过区域颜色 areaColor: "#3066ba", //鼠标滑过区域颜色
opacity: 0.8,
label: { label: {
show: true, show: true,
textStyle: { textStyle: {
......
...@@ -148,9 +148,18 @@ ...@@ -148,9 +148,18 @@
<!-- <div class="titleHead"> <!-- <div class="titleHead">
当前选择:{{ address ? address : "广西全区" }} 当前选择:{{ address ? address : "广西全区" }}
</div> --> </div> -->
<img class="returnInfos" src="./../../../assets/images/returns.png" @click="returnInfo" v-if="num != 0"/> <img
class="returnInfos"
src="./../../../assets/images/returns.png"
@click="returnInfo"
v-if="num != 0"
/>
<div class="populationMap" id="populationMap"></div> <div class="populationMap" id="populationMap"></div>
<img class="guideIcon" src="./../../../assets/images/guide.png" alt=""> <img
class="guideIcon"
src="./../../../assets/images/guide.png"
alt=""
/>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
...@@ -254,8 +263,7 @@ ...@@ -254,8 +263,7 @@
<div class="gradientTitle">城市低保对象</div> <div class="gradientTitle">城市低保对象</div>
<div class="vertical"></div> <div class="vertical"></div>
<div class="gradientOneNum"> <div class="gradientOneNum">
<!-- {{ threeYeartTotalData.cityToatlNum }} --> {{ getEnjoyNum.cityNum }}
343634
</div> </div>
</div> </div>
</el-col> </el-col>
...@@ -264,8 +272,7 @@ ...@@ -264,8 +272,7 @@
<div class="gradientTitle">农村低保对象</div> <div class="gradientTitle">农村低保对象</div>
<div class="vertical"></div> <div class="vertical"></div>
<div class="gradientTwoNum"> <div class="gradientTwoNum">
<!-- {{ threeYeartTotalData.villageToatlNum }} --> {{ getEnjoyNum.villageNum }}
2488258
</div> </div>
</div> </div>
</el-col> </el-col>
...@@ -319,10 +326,11 @@ import { ...@@ -319,10 +326,11 @@ import {
getFivesYearMarriageLine, getFivesYearMarriageLine,
getMarriageStats, getMarriageStats,
getAgencyChildStatsList, getAgencyChildStatsList,
getThreeYearShjzAchieveStats, getFivesYearEnjoyStats,
getAreaDisabledIssueStats, getAreaDisabledIssueStats,
getCremationRateStats, getCremationRateStats,
getMapData, getMapData,
getEnjoyNum,
} from "@/api/unified/unified"; } from "@/api/unified/unified";
export default { export default {
data() { data() {
...@@ -340,6 +348,7 @@ export default { ...@@ -340,6 +348,7 @@ export default {
threeYearShjzAchieveStats: {}, threeYearShjzAchieveStats: {},
threeYeartTotalData: {}, threeYeartTotalData: {},
areaDisabledIssueStats: {}, areaDisabledIssueStats: {},
getEnjoyNum: {},
cremationRateStats: [ cremationRateStats: [
{ name: "南宁市", value: 321 }, { name: "南宁市", value: 321 },
{ name: "柳州市", value: 431 }, { name: "柳州市", value: 431 },
...@@ -417,10 +426,11 @@ export default { ...@@ -417,10 +426,11 @@ export default {
this.getFivesYearMarriageLineFun(); this.getFivesYearMarriageLineFun();
this.getMarriageStatsFun(); this.getMarriageStatsFun();
this.getAgencyChildStatsListFun(); this.getAgencyChildStatsListFun();
this.getThreeYearShjzAchieveStatsFun(); this.getFivesYearEnjoyStatsFun();
this.getAreaDisabledIssueStatsFun(); this.getAreaDisabledIssueStatsFun();
this.getCremationRateStatsFun(); this.getCremationRateStatsFun();
this.getMapData("g450000"); //默认展示广西 g450000 this.getMapData("g450000"); //默认展示广西 g450000
this.getEnjoyNumFun();
}, },
methods: { methods: {
getFivesYearMarriageLineFun(data) { getFivesYearMarriageLineFun(data) {
...@@ -477,22 +487,36 @@ export default { ...@@ -477,22 +487,36 @@ export default {
}); });
}, },
getThreeYearShjzAchieveStatsFun(data) { getFivesYearEnjoyStatsFun(data) {
getThreeYearShjzAchieveStats({ getFivesYearEnjoyStats({
areaCode: data, areaCode: data,
}).then((res) => { }).then((res) => {
console.log(res, "获取近年城市农村低保发放人数统计"); console.log(res, "获取近年城市农村低保发放人数统计");
if (res.data.admin.length == 0) { if (res.data.admin.length == 0) {
this.d = true; this.d = true;
return; return;
} }
this.d = false; this.d = false;
this.threeYearShjzAchieveStats = res.data.admin; this.threeYearShjzAchieveStats = res.data;
this.threeYeartTotalData = res.data.totalData; this.threeYeartTotalData = res.data.totalData;
this.rescueTargetFun(res.data.admin); this.rescueTargetFun(res.data.admin);
}); });
}, },
getEnjoyNumFun(data) {
getEnjoyNum({
areaCode: data,
}).then((res) => {
console.log(res, "获取享受低保人数");
this.getEnjoyNum = res.data;
if (res.data.length == 0) {
this.a = true;
return;
}
this.a = false;
});
},
getAreaDisabledIssueStatsFun(data) { getAreaDisabledIssueStatsFun(data) {
getAreaDisabledIssueStats({ getAreaDisabledIssueStats({
year: 2021, year: 2021,
...@@ -545,9 +569,10 @@ export default { ...@@ -545,9 +569,10 @@ export default {
this.getFivesYearMarriageLineFun("450000"); this.getFivesYearMarriageLineFun("450000");
this.getMarriageStatsFun("450000"); this.getMarriageStatsFun("450000");
this.getAgencyChildStatsListFun("450000"); this.getAgencyChildStatsListFun("450000");
this.getThreeYearShjzAchieveStatsFun("450000"); this.getFivesYearEnjoyStatsFun("450000");
this.getAreaDisabledIssueStatsFun("450000"); this.getAreaDisabledIssueStatsFun("450000");
this.getCremationRateStatsFun("450000"); this.getCremationRateStatsFun("450000");
this.getEnjoyNumFun("450000");
}, },
/** /**
...@@ -622,6 +647,7 @@ export default { ...@@ -622,6 +647,7 @@ export default {
emphasis: { emphasis: {
show: true, show: true,
areaColor: "#3066ba", //鼠标滑过区域颜色 areaColor: "#3066ba", //鼠标滑过区域颜色
opacity: 0.8,
label: { label: {
show: true, show: true,
textStyle: { textStyle: {
...@@ -654,7 +680,7 @@ export default { ...@@ -654,7 +680,7 @@ export default {
this.getAgencyChildStatsListFun( this.getAgencyChildStatsListFun(
mapList.features[res.dataIndex].properties.adcode mapList.features[res.dataIndex].properties.adcode
); );
this.getThreeYearShjzAchieveStatsFun( this.getFivesYearEnjoyStatsFun(
mapList.features[res.dataIndex].properties.adcode mapList.features[res.dataIndex].properties.adcode
); );
this.getAreaDisabledIssueStatsFun( this.getAreaDisabledIssueStatsFun(
...@@ -663,6 +689,9 @@ export default { ...@@ -663,6 +689,9 @@ export default {
this.getCremationRateStatsFun( this.getCremationRateStatsFun(
mapList.features[res.dataIndex].properties.adcode mapList.features[res.dataIndex].properties.adcode
); );
this.getEnjoyNumFun(
mapList.features[res.dataIndex].properties.adcode
);
} else { } else {
console.log("点击取值", res); console.log("点击取值", res);
console.log("地图数组", mapList.features); console.log("地图数组", mapList.features);
...@@ -685,7 +714,7 @@ export default { ...@@ -685,7 +714,7 @@ export default {
this.getAgencyChildStatsListFun( this.getAgencyChildStatsListFun(
mapList.features[res.dataIndex].properties.adcode mapList.features[res.dataIndex].properties.adcode
); );
this.getThreeYearShjzAchieveStatsFun( this.getFivesYearEnjoyStatsFun(
mapList.features[res.dataIndex].properties.adcode mapList.features[res.dataIndex].properties.adcode
); );
this.getAreaDisabledIssueStatsFun( this.getAreaDisabledIssueStatsFun(
...@@ -694,6 +723,9 @@ export default { ...@@ -694,6 +723,9 @@ export default {
this.getCremationRateStatsFun( this.getCremationRateStatsFun(
mapList.features[res.dataIndex].properties.adcode mapList.features[res.dataIndex].properties.adcode
); );
this.getEnjoyNumFun(
mapList.features[res.dataIndex].properties.adcode
);
} }
}); });
}, },
...@@ -944,7 +976,7 @@ export default { ...@@ -944,7 +976,7 @@ export default {
toolbox: {}, toolbox: {},
xAxis: { xAxis: {
type: "category", type: "category",
data: data.dateData, data: data.dateList,
axisLabel: { axisLabel: {
textStyle: { textStyle: {
color: "#FFFFFF", color: "#FFFFFF",
...@@ -990,7 +1022,7 @@ export default { ...@@ -990,7 +1022,7 @@ export default {
name: "城市", name: "城市",
type: "line", type: "line",
stack: "总量", stack: "总量",
data: data.cityData, data: data.cityNumList,
itemStyle: { itemStyle: {
normal: { normal: {
color: "#3167ff", color: "#3167ff",
...@@ -1004,7 +1036,7 @@ export default { ...@@ -1004,7 +1036,7 @@ export default {
name: "农村", name: "农村",
type: "line", type: "line",
stack: "总量", stack: "总量",
data: data.villageData, data: data.villageNumList,
itemStyle: { itemStyle: {
normal: { normal: {
color: "#807F3E", color: "#807F3E",
...@@ -1363,6 +1395,7 @@ export default { ...@@ -1363,6 +1395,7 @@ export default {
} }
.gradientBox { .gradientBox {
display: flex; display: flex;
justify-content: space-around;
align-items: center; align-items: center;
width: 100%; width: 100%;
height: 60px; height: 60px;
...@@ -1373,6 +1406,7 @@ export default { ...@@ -1373,6 +1406,7 @@ export default {
} }
.gradientBoxs { .gradientBoxs {
display: flex; display: flex;
justify-content: space-around;
align-items: center; align-items: center;
width: 240px; width: 240px;
height: 60px; height: 60px;
...@@ -1406,7 +1440,7 @@ export default { ...@@ -1406,7 +1440,7 @@ export default {
-webkit-background-clip: text; -webkit-background-clip: text;
color: transparent; color: transparent;
} }
.gradientFourNum{ .gradientFourNum {
font-size: 24px; font-size: 24px;
font-weight: bold; font-weight: bold;
background: linear-gradient(to top, #fa60e4, #a725cb); background: linear-gradient(to top, #fa60e4, #a725cb);
...@@ -1494,7 +1528,7 @@ export default { ...@@ -1494,7 +1528,7 @@ export default {
width: 25px; width: 25px;
height: 25px; height: 25px;
z-index: 9999; z-index: 9999;
cursor:pointer cursor: pointer;
} }
.returnInfos img { .returnInfos img {
......
...@@ -477,6 +477,7 @@ export default { ...@@ -477,6 +477,7 @@ export default {
emphasis: { emphasis: {
show: true, show: true,
areaColor: "#3066ba", //鼠标滑过区域颜色 areaColor: "#3066ba", //鼠标滑过区域颜色
opacity: 0.8,
label: { label: {
show: true, show: true,
textStyle: { textStyle: {
......
...@@ -612,6 +612,7 @@ export default { ...@@ -612,6 +612,7 @@ export default {
emphasis: { emphasis: {
show: true, show: true,
areaColor: "#3066ba", //鼠标滑过区域颜色 areaColor: "#3066ba", //鼠标滑过区域颜色
opacity: 0.8,
label: { label: {
show: true, show: true,
textStyle: { textStyle: {
......
...@@ -540,6 +540,7 @@ export default { ...@@ -540,6 +540,7 @@ export default {
emphasis: { emphasis: {
show: true, show: true,
areaColor: "#3066ba", //鼠标滑过区域颜色 areaColor: "#3066ba", //鼠标滑过区域颜色
opacity: 0.8,
label: { label: {
show: true, show: true,
textStyle: { textStyle: {
......
...@@ -465,6 +465,7 @@ export default { ...@@ -465,6 +465,7 @@ export default {
emphasis: { emphasis: {
show: true, show: true,
areaColor: "#3066ba", //鼠标滑过区域颜色 areaColor: "#3066ba", //鼠标滑过区域颜色
opacity: 0.8,
label: { label: {
show: true, show: true,
textStyle: { textStyle: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment