Commit fc4471c1 by 苏咏卓

更新

parent 250d1f40
ENV = 'development' ENV = 'development'
# 接口地址 # 接口地址
#VUE_APP_BASE_API = 'http://124.227.197.29:8088/' VUE_APP_BASE_API = 'http://124.227.197.29:8088/'
#VUE_APP_WS_API = 'ws://124.227.197.29:8088'
#VUE_APP_FILE_API = 'http://124.227.197.29:8088/'
VUE_APP_BASE_API = 'http://172.18.99.141:9888/'
VUE_APP_WS_API = 'ws://124.227.197.29:8088' VUE_APP_WS_API = 'ws://124.227.197.29:8088'
VUE_APP_FILE_API = 'http://124.227.197.29:8088/' VUE_APP_FILE_API = 'http://124.227.197.29:8088/'
#VUE_APP_BASE_API = 'http://172.18.99.141:9888/'
#VUE_APP_WS_API = 'ws://124.227.197.29:8088'
#VUE_APP_FILE_API = 'http://124.227.197.29:8088/'
# 是否启用 babel-plugin-dynamic-import-node插件 # 是否启用 babel-plugin-dynamic-import-node插件
VUE_CLI_BABEL_TRANSPILE_MODULES = true VUE_CLI_BABEL_TRANSPILE_MODULES = true
...@@ -353,7 +353,7 @@ export default { ...@@ -353,7 +353,7 @@ export default {
address: "", address: "",
pageInfo: { pageInfo: {
page: 1, page: 1,
size: 7, size: 5,
total: 0, total: 0,
}, },
loading: true, loading: true,
......
...@@ -318,7 +318,7 @@ export default { ...@@ -318,7 +318,7 @@ export default {
type: 146, type: 146,
}).then((res) => { }).then((res) => {
console.log(res, "获取区域养老院统计列表"); console.log(res, "获取区域养老院统计列表");
if (res.data.length == 0) { if (res.data.cityList == 0) {
this.c = true; this.c = true;
return; return;
} }
...@@ -331,6 +331,7 @@ export default { ...@@ -331,6 +331,7 @@ export default {
this.pensionFun(); this.pensionFun();
}); });
getAreaNursingStatsList({ getAreaNursingStatsList({
areaCode: data, areaCode: data,
......
...@@ -27,9 +27,7 @@ ...@@ -27,9 +27,7 @@
alt="" alt=""
class="lowerRight" class="lowerRight"
/> />
<div class="warningInfo" v-if="a == true"> <div class="warningInfo" v-if="a == true">暂无下级数据</div>
暂无下级数据
</div>
<div class="titleHead">婚姻登记分析</div> <div class="titleHead">婚姻登记分析</div>
<el-row :gutter="20" justify="center"> <el-row :gutter="20" justify="center">
<el-col :span="12"> <el-col :span="12">
...@@ -90,9 +88,7 @@ ...@@ -90,9 +88,7 @@
alt="" alt=""
class="lowerRight" class="lowerRight"
/> />
<div class="warningInfo" v-if="c == true"> <div class="warningInfo" v-if="c == true">暂无下级数据</div>
暂无下级数据
</div>
<div class="titleHead">儿童福利统计</div> <div class="titleHead">儿童福利统计</div>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
...@@ -173,12 +169,7 @@ ...@@ -173,12 +169,7 @@
alt="" alt=""
class="lowerRight" class="lowerRight"
/> />
<div <div class="warningInfo" v-if="num != 0">暂无县级数据</div>
class="warningInfo"
v-if="e == true"
>
暂无下级数据
</div>
<div class="titleHead">残疾人两项补贴</div> <div class="titleHead">残疾人两项补贴</div>
<div id="annualStatistics" class="annualStatistics"></div> <div id="annualStatistics" class="annualStatistics"></div>
</div> </div>
...@@ -211,12 +202,7 @@ ...@@ -211,12 +202,7 @@
alt="" alt=""
class="lowerRight" class="lowerRight"
/> />
<div <div class="warningInfo" v-if="d == true">暂无下级数据</div>
class="warningInfo"
v-if="d == true"
>
暂无下级数据
</div>
<div class="titleHead">社会救助对象统计</div> <div class="titleHead">社会救助对象统计</div>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
...@@ -468,11 +454,6 @@ export default { ...@@ -468,11 +454,6 @@ export default {
areaCode: data, areaCode: data,
}).then((res) => { }).then((res) => {
console.log(res, "残疾人两项补贴"); console.log(res, "残疾人两项补贴");
if (res.data.length) {
this.e = true;
return;
}
this.e = false;
this.areaDisabledIssueStats = res.data; this.areaDisabledIssueStats = res.data;
this.annualStatisticsFun(res.data); this.annualStatisticsFun(res.data);
}); });
...@@ -1002,7 +983,7 @@ export default { ...@@ -1002,7 +983,7 @@ export default {
// }, // },
series: [ series: [
{ {
name: '火化率', name: "火化率",
type: "pie", type: "pie",
radius: "65%", radius: "65%",
center: ["50%", "50%"], center: ["50%", "50%"],
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
alt="" alt=""
class="lowerRight" class="lowerRight"
/> />
<div class="warningInfo" v-if="a == true">暂无下级数据</div> <div class="warningInfo" v-if="num != 0">暂无县级数据</div>
<div class="titleHead">三年享受低保人数</div> <div class="titleHead">三年享受低保人数</div>
<div class="display"> <div class="display">
<div> <div>
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
alt="" alt=""
class="lowerRight" class="lowerRight"
/> />
<div class="warningInfo" v-if="b == true">暂无下级数据</div> <div class="warningInfo" v-if="num != 0">暂无县级数据</div>
<div class="titleHead">三年享受低保资金</div> <div class="titleHead">三年享受低保资金</div>
<div class="display"> <div class="display">
<div> <div>
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
alt="" alt=""
class="lowerRight" class="lowerRight"
/> />
<div class="warningInfo" v-if="d == true">暂无下级数据</div> <div class="warningInfo" v-if="num != 0">暂无县级数据</div>
<div class="titleHead">农村城市低保人数统计</div> <div class="titleHead">农村城市低保人数统计</div>
<div id="ruralAndcity" class="ruralAndcity"></div> <div id="ruralAndcity" class="ruralAndcity"></div>
</div> </div>
...@@ -379,10 +379,6 @@ export default { ...@@ -379,10 +379,6 @@ export default {
areaCode: data, areaCode: data,
}).then((res) => { }).then((res) => {
console.log(res, "获取近三年城市农村低保发放人数统计"); console.log(res, "获取近三年城市农村低保发放人数统计");
if (res.data.length == 0) {
this.a = true;
return;
}
this.threeYearShjzAchieveStats = res.data.admin; this.threeYearShjzAchieveStats = res.data.admin;
this.cityAndvillagePeople = res.data.totalData; this.cityAndvillagePeople = res.data.totalData;
this.fivePeopleFun(res.data.admin); this.fivePeopleFun(res.data.admin);
...@@ -392,10 +388,6 @@ export default { ...@@ -392,10 +388,6 @@ export default {
getThreeYearShjzProvideStatsFun(data) { getThreeYearShjzProvideStatsFun(data) {
getThreeYearShjzProvideStats({ areaCode: data }).then((res) => { getThreeYearShjzProvideStats({ areaCode: data }).then((res) => {
console.log(res, "获取近三年城市农村低保发放金额统计"); console.log(res, "获取近三年城市农村低保发放金额统计");
if (res.data.length == 0) {
this.b = true;
return;
}
this.threeYearShjzProvideStats = res.data.admin; this.threeYearShjzProvideStats = res.data.admin;
this.cityAndvillageNum = res.data.totalData; this.cityAndvillageNum = res.data.totalData;
this.fiveCapitalFun(res.data.admin); this.fiveCapitalFun(res.data.admin);
...@@ -416,10 +408,6 @@ export default { ...@@ -416,10 +408,6 @@ export default {
getAreaYearShjzAchieveStatsFun(data) { getAreaYearShjzAchieveStatsFun(data) {
getAreaYearShjzAchieveStats({ areaCode: data }).then((res) => { getAreaYearShjzAchieveStats({ areaCode: data }).then((res) => {
console.log(res, "获取近三年城市农村低保发放人数统计 城市柱形图"); console.log(res, "获取近三年城市农村低保发放人数统计 城市柱形图");
if (res.data.length == 0) {
this.d = true;
return;
}
this.areaYearShjzAchieveStats = res.data; this.areaYearShjzAchieveStats = res.data;
// res.data.areaList.forEach(item => { // res.data.areaList.forEach(item => {
// this.cityNames.push( // this.cityNames.push(
...@@ -1235,4 +1223,13 @@ export default { ...@@ -1235,4 +1223,13 @@ export default {
justify-content: center; justify-content: center;
margin-top: 30px; margin-top: 30px;
} }
.warningInfo {
top: 32px;
left: 10px;
position: absolute;
font-size: 16px;
color: #ffb0b3;
z-index: 999;
}
</style> </style>
\ No newline at end of file
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