Commit 1a36b90a by 李耀琨

更新无数据提示

parent 37e33ace
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
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</template> </template>
<script> <script>
import Logo from '@/assets/images/logo.png' // import Logo from '@/assets/images/logo.png'
export default { export default {
name: 'SidebarLogo', name: 'SidebarLogo',
props: { props: {
...@@ -26,7 +26,7 @@ export default { ...@@ -26,7 +26,7 @@ export default {
data() { data() {
return { return {
title: '民政数据分析系统', title: '民政数据分析系统',
logo: Logo // logo: Logo
} }
} }
} }
......
...@@ -6,7 +6,7 @@ module.exports = { ...@@ -6,7 +6,7 @@ module.exports = {
/** /**
* @description 是否显示 tagsView * @description 是否显示 tagsView
*/ */
tagsView: true, tagsView: false,
/** /**
* @description 固定头部 * @description 固定头部
*/ */
......
...@@ -273,7 +273,7 @@ export default { ...@@ -273,7 +273,7 @@ export default {
tableData: [], tableData: [],
value: "", value: "",
cremationStats: {}, cremationStats: {},
cremationRateStats: {}, cremationRateStats: [],
cremationStatsList: {}, cremationStatsList: {},
cremation: [], cremation: [],
pageInfo: { pageInfo: {
...@@ -326,7 +326,7 @@ export default { ...@@ -326,7 +326,7 @@ export default {
getCremationStatsFun(data) { getCremationStatsFun(data) {
getCremationStats({ areaCode: data }).then((res) => { getCremationStats({ areaCode: data }).then((res) => {
console.log(res, "统计该区域的殡葬火化量"); console.log(res, "统计该区域的殡葬火化量");
if (JSON.stringify(res.data)=='{}') { if (!res.data.cremationSum) {
this.tionStats = true this.tionStats = true
return return
} }
...@@ -338,7 +338,7 @@ export default { ...@@ -338,7 +338,7 @@ export default {
getCremationRateStatsFun(data) { getCremationRateStatsFun(data) {
getCremationRateStats({ areaCode: data }).then((res) => { getCremationRateStats({ areaCode: data }).then((res) => {
console.log(res, "区域火化率"); console.log(res, "区域火化率");
if (JSON.stringify(res.data)=='{}') { if (res.data.length == 0) {
this.RateStats = true this.RateStats = true
return return
} }
...@@ -354,7 +354,7 @@ export default { ...@@ -354,7 +354,7 @@ export default {
getCremationStatsListFun(data) { getCremationStatsListFun(data) {
getCremationStatsList({ areaCode: data }).then((res) => { getCremationStatsList({ areaCode: data }).then((res) => {
console.log(res, "获取区域殡葬火化分析列表"); console.log(res, "获取区域殡葬火化分析列表");
if (JSON.stringify(res.data)=='{}') { if (res.data.cityList.length == 0) {
this.StatsList = true this.StatsList = true
return return
} }
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<div class="textLeft">社团</div> <div class="textLeft">社团</div>
<div> <div>
<div class="borderBottom"></div> <div class="borderBottom"></div>
<div class="textNum">{{ soorganStats.leagueNum }}</div> <div class="textNum">{{ soorganStats.leagueNum ? soorganStats.leagueNum:0 }}</div>
<div class="borderTop"></div> <div class="borderTop"></div>
</div> </div>
<div class="text"></div> <div class="text"></div>
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<div class="textLeft">民非</div> <div class="textLeft">民非</div>
<div> <div>
<div class="borderBottom"></div> <div class="borderBottom"></div>
<div class="textNum">{{ soorganStats.minFeiNum }}</div> <div class="textNum">{{ soorganStats.minFeiNum ? soorganStats.minFeiNum:0}}</div>
<div class="borderTop"></div> <div class="borderTop"></div>
</div> </div>
<div class="text"></div> <div class="text"></div>
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<div class="textLefts">基金会</div> <div class="textLefts">基金会</div>
<div> <div>
<div class="borderBottom"></div> <div class="borderBottom"></div>
<div class="textNum">{{ soorganStats.foundationNum }}</div> <div class="textNum">{{ soorganStats.foundationNum ? soorganStats.foundationNum :0}}</div>
<div class="borderTop"></div> <div class="borderTop"></div>
</div> </div>
<div class="text"></div> <div class="text"></div>
...@@ -357,6 +357,7 @@ export default { ...@@ -357,6 +357,7 @@ export default {
this.ganStats =true this.ganStats =true
return return
} }
this.soorganStats = res.data; this.soorganStats = res.data;
this.ganStats =false this.ganStats =false
}); });
...@@ -365,7 +366,7 @@ export default { ...@@ -365,7 +366,7 @@ export default {
getSoorganPercentageStatsFun(data) { getSoorganPercentageStatsFun(data) {
getSoorganPercentageStats({ areaCode: data }).then((res) => { getSoorganPercentageStats({ areaCode: data }).then((res) => {
console.log(res.data, "获取社会机构区域占比统计"); console.log(res.data, "获取社会机构区域占比统计");
if (res.data.legend == 0) { if (res.data.length == 0) {
this.PercentageStats = true this.PercentageStats = true
return return
} }
......
...@@ -325,7 +325,7 @@ export default { ...@@ -325,7 +325,7 @@ export default {
getYearDisabledIssueStatsFun(data) { getYearDisabledIssueStatsFun(data) {
getYearDisabledIssueStats({ areaCode: data }).then((res) => { getYearDisabledIssueStats({ areaCode: data }).then((res) => {
console.log(res, "近三年发放人数和金额统计"); console.log(res, "近三年发放人数和金额统计");
if (JSON.stringify(res.data)=='{}') { if (res.data.admin.difficultAmountList.length == 0) {
this.IssueStats = true this.IssueStats = true
return return
} }
......
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