diff --git a/src/views/dataBoard/overview/index.vue b/src/views/dataBoard/overview/index.vue
index a6a5b5925..d5472e6b3 100644
--- a/src/views/dataBoard/overview/index.vue
+++ b/src/views/dataBoard/overview/index.vue
@@ -648,5 +648,7 @@ export default {
}
}
-
+.m-map {
+ height: 1050px;
+}
diff --git a/src/views/dataBoard/renfang/cpts/fwPieOption.js b/src/views/dataBoard/renfang/cpts/fwPieOption.js
index c7ca041d4..c19de5795 100644
--- a/src/views/dataBoard/renfang/cpts/fwPieOption.js
+++ b/src/views/dataBoard/renfang/cpts/fwPieOption.js
@@ -2,23 +2,21 @@ import * as echarts from 'echarts'
export function pieOption() {
const center = ["50%", "170px"];
return {
+ color: ["#1A95FF","#FFAA00","#04C790"],
title: {
- text: "0",
- top: 45,
- left: "center",
+ text: "",
+ subtext: '总数',
+ left: '45%',
+ top: '35%',
+ textAlign :'center',
textStyle: {
- width: "100%",
- fontSize: 24,
- color: "#FFFFFF",
- fontWeight: 400,
+ color: '#7FCEFF',
+ fontSize: 18,
+ },
+ subtextStyle: {
+ fontSize: 12,
+ color: '#A3B9DA'
},
- itemGap: 5,
- // subtext: "总数",
- // subtextStyle: {
- // fontSize: 20,
- // color: "#fff",
- // fontWeight: 400,
- // },
},
tooltip: {
show: false,
@@ -57,31 +55,6 @@ export function pieOption() {
},
itemStyle: {
normal: {
- color: (list) => {
- // 注意 !!!!! 这里的数组一定要和实际的类目长度相等或大于,不然会缺少颜色报错
- var colorList = [
- {
- colorStart:'#00023A',
- colorEnd:'#6FDEFF'
- },
- {
- colorStart:'#00023A',
- colorEnd:'#FFAA00'
- },
- {
- colorStart:'#00023A',
- colorEnd:'#1A95FF'
- },
-
- ]
- return new echarts.graphic.LinearGradient(1, 0, 0, 0, [{ //左、下、右、上
- offset: 0,
- color: colorList[list.dataIndex]['colorStart']
- }, {
- offset: 1,
- color: colorList[list.dataIndex]['colorEnd']
- }])
- }
}
},
diff --git a/src/views/dataBoard/renfang/cpts/fwgl.vue b/src/views/dataBoard/renfang/cpts/fwgl.vue
index 10f28bc7e..5bea80d29 100644
--- a/src/views/dataBoard/renfang/cpts/fwgl.vue
+++ b/src/views/dataBoard/renfang/cpts/fwgl.vue
@@ -1,542 +1,504 @@
-
-
-
-
-
-
-
-
-
-
-
-

-
房屋总数
-
-
-
{{ pandectData.homeCount }}
-
户
-
-
-
-
-
-

-
自住房屋
-
-
-
- {{ pandectData.selfStay }}
-
-
户
-
-
-
-
-
-
-

-
出租房屋
-
-
-
{{pandectData.rentOut}}
-
户
-
-
-
-
-
-

-
闲置房屋
-
-
-
{{ pandectData.vacantHouse }}
-
户
-
-
-
-
-
-
-
-

-
近一年房屋状态变化趋势图
-
-
-
-
-
自住房屋
-
-
出租房屋
-
-
闲置房屋
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
自住房屋
+
+
+ {{ pandectData.selfStay }}
+
+
户
+
+
+
+
出租房屋
+
+
{{ pandectData.rentOut }}
+
户
+
+
+
+
+
闲置房屋
+
+
{{ pandectData.vacantHouse }}
+
户
+
+
+
+
+
+
+
diff --git a/src/views/dataBoard/renfang/cpts/jmPieOption.js b/src/views/dataBoard/renfang/cpts/jmPieOption.js
index 99480650b..c88b39cc0 100644
--- a/src/views/dataBoard/renfang/cpts/jmPieOption.js
+++ b/src/views/dataBoard/renfang/cpts/jmPieOption.js
@@ -1,90 +1,95 @@
import * as echarts from 'echarts'
-export function pieOption() {
- const center = ["50%", "170px"];
- return {
- title: {
- text: "0",
- top: 45,
- left: "center",
- textStyle: {
- width: "100%",
- fontSize: 24,
- color: "#FFFFFF",
- fontWeight: 400,
- },
- itemGap: 5,
- // subtext: "总数",
- // subtextStyle: {
- // fontSize: 20,
- // color: "#fff",
- // fontWeight: 400,
- // },
- },
- tooltip: {
- show: false,
- },
- // legend: {
- // top: 350,
- // bottom: 0,
- // itemWidth: 20,
- // itemHeight: 10,
- // textStyle: {
- // color: '#D2E7FF',
- // fontSize: 16,
- // lineHeight: 20,
- // },
- // },
- series: [
- {
- name: 'Access From',
- type: 'pie',
- radius: ['60%', '90%'],
- avoidLabelOverlap: false,
- label: {
- show: false,
- position: 'center'
+export function pieOption() {
+ const center = ["50%", "170px"];
+ return {
+ color: ["#1A95FF", "#FFAA00", "#04C790"],
+ /* title: {
+ text: "0",
+ top: 45,
+ left: "center",
+ textStyle: {
+ width: "100%",
+ fontSize: 24,
+ color: "#FFFFFF",
+ fontWeight: 400,
+ },
+ itemGap: 5,
+ // subtext: "总数",
+ // subtextStyle: {
+ // fontSize: 20,
+ // color: "#fff",
+ // fontWeight: 400,
+ // },
+ },*/
+ tooltip: {
+ show: false,
},
- // emphasis: {
- // label: {
- // show: true,
- // fontSize: 40,
- // fontWeight: 'bold'
- // }
+ // legend: {
+ // top: 350,
+ // bottom: 0,
+ // itemWidth: 20,
+ // itemHeight: 10,
+ // textStyle: {
+ // color: '#D2E7FF',
+ // fontSize: 16,
+ // lineHeight: 20,
// },
- labelLine: {
- show: false
- },
- itemStyle: {
- normal: {
- color: (list) => {
- // 注意 !!!!! 这里的数组一定要和实际的类目长度相等或大于,不然会缺少颜色报错
- var colorList = [
- {
- colorStart:'#00023A',
- colorEnd:'#6FDEFF'
- },
- {
- colorStart:'#00023A',
- colorEnd:'#FFAA00'
- },
-
-
- ]
- return new echarts.graphic.LinearGradient(1, 0, 0, 0, [{ //左、下、右、上
- offset: 0,
- color: colorList[list.dataIndex]['colorStart']
- }, {
- offset: 1,
- color: colorList[list.dataIndex]['colorEnd']
- }])
- }
- }
- },
- data: [
+ // },
+ series: [
+ {
+ name: 'Access From',
+ type: 'pie',
+ radius: ['60%', '90%'],
+ avoidLabelOverlap: false,
+ labelLine: {
+ show: false
+ },
+ data: [],
+ label: {
+ show: false,
+ position: 'center',
+ formatter: data => {
+ console.log(data.color)
+ return `{c_style|${data.percent.toFixed(0)}%}\n{b_style|${data.name}}`
+ // '{c_style|{d}%}\n{b_style|{b}}'
+ },
+ rich: {
+ b_style: {
+ fontSize: 12,
+ fontWeight: 400,
+ color: '#A3B9DA'
+ },
+ c_style: {
+ padding: [0, 0, 5, 0],
+ fontSize: 24,
+ fontWeight: 'bold',
+ color: '#fff'
+ }
+ }
+ },
+ emphasis: {
+ label: {
+ show: true,
+ fontSize: '14',
+ fontWeight: 'normal'
+ }
+ },
+ /* label: {
+ show: false,
+ position: 'center'
+ },
+ emphasis: {
+ label: {
+ show: true,
+ fontSize: 40,
+ fontWeight: 'bold'
+ }
+ },*/
+
+ }
]
- }
- ]
- };
+ };
+
}
diff --git a/src/views/dataBoard/renfang/cpts/jmgl.vue b/src/views/dataBoard/renfang/cpts/jmgl.vue
index ebea4003f..4b8cf38f3 100644
--- a/src/views/dataBoard/renfang/cpts/jmgl.vue
+++ b/src/views/dataBoard/renfang/cpts/jmgl.vue
@@ -1,484 +1,486 @@
-
-
-
-
-
-
-
-
-
-
-
-

-
居民总数
-
-
-
{{ pandectData.totalResidents }}
-
人
-
-
-
-
-
-

-
常住人口
-
-
-
- {{ pandectData.permanentResiCount }}
-
-
人
-
-
-
-
-
-
-

-
流动人口
-
-
-
{{ pandectData.floatingResiCount }}
-
人
-
-
-
-
-
-
-
-

-
近一年人口流动变化趋势图
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
常住人口
+
+
+ {{ pandectData.permanentResiCount }}
+
+
人
+
+
+
+
流动人口
+
+
{{ pandectData.floatingResiCount }}
+
人
+
+
+
+
+
+
+
diff --git a/src/views/dataBoard/renfang/cpts/rkfx.vue b/src/views/dataBoard/renfang/cpts/rkfx.vue
index 18c03ba11..2baa0da36 100644
--- a/src/views/dataBoard/renfang/cpts/rkfx.vue
+++ b/src/views/dataBoard/renfang/cpts/rkfx.vue
@@ -1,453 +1,493 @@
-
+
+
+
currentTab = val"/>
+
+
diff --git a/src/views/dataBoard/renfang/cpts/rkfxPieOption.js b/src/views/dataBoard/renfang/cpts/rkfxPieOption.js
index 5772b0f4a..5c4e33fe9 100644
--- a/src/views/dataBoard/renfang/cpts/rkfxPieOption.js
+++ b/src/views/dataBoard/renfang/cpts/rkfxPieOption.js
@@ -21,23 +21,35 @@ export function pieOption() {
{
name: "",
type: "pie",
- radius: [40, 130],
+ radius: ["50%", "100%"],
center: ["50%", "50%"],
roseType: "area",
itemStyle: {
borderRadius: 1,
},
- avoidLabelOverlap: false,
+ avoidLabelOverlap: true,
labelLine: {
- show: false,
+ show: true,
},
label: {
+
normal: {
- position: "inner",
show: true,
- formatter: "{d}%",
- fontSize: 24,
color: "#FFFFFF",
+ formatter: '{name|{b}}\n{rate|{d}%}',
+ minMargin: 5,
+ edgeDistance: 1,
+ lineHeight: 15,
+ fontSize: 14,
+ // distanceToLabelLine: -60,
+ rich: {
+ name: {
+ padding: [0, 0, 10, 0],
+ },
+ rate: {
+ padding: [10, 0, 0, 0],
+ }
+ }
},
},
emphasis: {
diff --git a/src/views/dataBoard/renfang/index.vue b/src/views/dataBoard/renfang/index.vue
index 764a52381..1d3c4af9e 100644
--- a/src/views/dataBoard/renfang/index.vue
+++ b/src/views/dataBoard/renfang/index.vue
@@ -1,38 +1,24 @@
-
-
-

-
房屋概览
-
-
-
-
-
+
+
+
-
-
-

-
居民概览
-
-
-
-
-
+
+
+
+
+
+
+
@@ -43,7 +29,7 @@

老年人
@@ -56,7 +42,7 @@

低保人员
@@ -70,7 +56,7 @@

失业人员
@@ -120,27 +106,27 @@
-
+
@@ -148,154 +134,158 @@
点击搜索
-
+
-
+
{{ item.title }}
-
-

+
+
没有找到搜索结果~
-
+
-

-
- 居民分类统计
-
-
居民分类统计-智能预测
-
-
+
+ 居民分类统计
+
+
居民分类统计-智能预测
+ -->
+
+
+
-

+ >
+
智能预测
-
- 根据智能分类设置规则,预测来年育龄妇女、老年人、空巢老人、独居老人分别有多少人
-
-
+
+ 根据智能分类设置规则,预测来年育龄妇女、老年人、空巢老人、独居老人分别有多少人
+
+
-
-
+
+
+
+
-

+
返回
-
+
{{ ("0" + (index + 1)).substr(-2) }}.
{{ item.name }}
@@ -308,12 +298,12 @@
较上月
{{ item.growthAbs }}
人
@@ -321,17 +311,17 @@
-
-

+
+
-
+
{{ ("0" + (index + 1)).substr(-2) }}.
{{ item.name }}
@@ -345,12 +335,12 @@
较上一年
{{ item.growthAbs }}
人
@@ -358,85 +348,70 @@
-
-

+
+
-
-
-

-
数字社区
-
-
-
-
-
+
+
+
+
-
-
-
-

-
人口预警
-
+
-
-
-

-
人口分析
-
-
-
-
-
+
+
+
-
+
@@ -453,11 +428,14 @@ import cptBread from "@/views/dataBoard/renfang/cpts/bread";
import cptLoading from "@/views/dataBoard/cpts/loading";
import houseDetails from "@/views/dataBoard/cpts/house-details";
import resiDetails from "@/views/dataBoard/cpts/resi-details";
-import { requestPostBi } from "@/js/dai/request-bipass";
-import { requestPost } from "@/js/dai/request";
+import {requestPostBi} from "@/js/dai/request-bipass";
+import {requestPost} from "@/js/dai/request";
import getQueryPara from "dai-js/modules/getQueryPara";
import {requestGet} from "@/js/dai/request";
import resiCategoryMap from "@/views/business/resi-category-map.js";
+import Title from "@/views/dataBoard/satisfactionEval/components/Title/index.vue";
+import rfsjtj from "@/views/dataBoard/overview/components/rfsjtj.vue";
+import jdtphx from "@/views/dataBoard/overview/components/jdtphx.vue";
function iniGetPerInfo() {
return {
@@ -474,6 +452,7 @@ export default {
name: "renfang",
components: {
+ Title,
gridMap,
fwgl,
jmgl,
@@ -484,7 +463,9 @@ export default {
cptBread,
houseDetails,
resiDetails,
- mapRight
+ mapRight,
+ rfsjtj,
+ jdtphx
},
data() {
@@ -501,7 +482,7 @@ export default {
{
orgId: "",
orgLevel: "",
- meta: { title: "人房总览" },
+ meta: {title: "人房总览"},
},
],
@@ -559,8 +540,8 @@ export default {
this.getPandectData()
this.loading = true;
},
- //加载组织数据
- async getPandectData() {
+ //加载组织数据
+ async getPandectData() {
const url = "/actual/base/residentHouseMerge/communityOverview";
let params = {
// orgId: "",
@@ -570,10 +551,10 @@ export default {
const {data, code, msg} = await requestGet(url, params);
if (code === 0) {
if (data) {
- this.$nextTick(()=>{
- this.$refs['fwgl'].pandectData = data
- this.$refs['jmgl'].pandectData = data
- }
+ this.$nextTick(() => {
+ this.$refs['fwgl'].pandectData = data
+ this.$refs['jmgl'].pandectData = data
+ }
)
}
} else {
@@ -615,7 +596,7 @@ export default {
}
},
- clickBreadItem({ item }) {
+ clickBreadItem({item}) {
this.toBread(item);
},
@@ -623,13 +604,13 @@ export default {
this.toBread({
orgId: item.id,
orgLevel: item.level,
- meta: { title: item.name },
+ meta: {title: item.name},
});
},
toBread(item) {
- const { orgId } = item;
- const { breadList } = this;
+ const {orgId} = item;
+ const {breadList} = this;
let index = breadList.findIndex((val) => val.orgId === orgId);
if (index >= 0) {
this.breadList = breadList.slice(0, index + 1);
@@ -654,7 +635,7 @@ export default {
// 根据类别搜索
async handleSearch() {
this.searchModule.result = [];
- const { searchModule } = this;
+ const {searchModule} = this;
const url = [
"search_all",
@@ -664,18 +645,18 @@ export default {
"search_house",
][searchModule.resultTab];
- const { data, code, msg } = await requestPostBi(
- url,
- {
- queryParam: {
- org_id: this.orgId,
- name: this.searchModule.keyword,
+ const {data, code, msg} = await requestPostBi(
+ url,
+ {
+ queryParam: {
+ org_id: this.orgId,
+ name: this.searchModule.keyword,
+ },
},
- },
- {
- // mockId: 60044224,
- // mockId: 60048067,
- }
+ {
+ // mockId: 60044224,
+ // mockId: 60048067,
+ }
);
if (code === 0) {
@@ -717,16 +698,16 @@ export default {
async getPerInfo() {
const url = "resident_ratio";
- const { data, code, msg } = await requestPostBi(
- url,
- {
- queryParam: {
- org_id: this.orgId,
+ const {data, code, msg} = await requestPostBi(
+ url,
+ {
+ queryParam: {
+ org_id: this.orgId,
+ },
},
- },
- {
- // mockId: 61167746,
- }
+ {
+ // mockId: 61167746,
+ }
);
if (code === 0) {
@@ -746,7 +727,7 @@ export default {
// id: this.orgData.id,
// level: "agency",
};
- const { data, code, msg } = await requestGet(url, params);
+ const {data, code, msg} = await requestGet(url, params);
if (code === 0) {
if (data) {
this.resiCategoryData = data.categoryList.map((item) => {
@@ -768,24 +749,23 @@ export default {
//居民分类预测数据
async getResiCategoryForecastData() {
const url = "/actual/base/resiCategory/intelligentPredictioncategoryCountList";
- let params = {
- };
+ let params = {};
const {data, code, msg} = await requestGet(url, params);
if (code === 0) {
- this.resiCategoryForecastData = data.categoryList.map((item) => {
- return {
- code: item.categoryName,
- name: resiCategoryMap[item.categoryName] || "",
- count: item.categoryCountNext,
- // name:item.categoryCountName,
- per: parseInt(
+ this.resiCategoryForecastData = data.categoryList.map((item) => {
+ return {
+ code: item.categoryName,
+ name: resiCategoryMap[item.categoryName] || "",
+ count: item.categoryCountNext,
+ // name:item.categoryCountName,
+ per: parseInt(
(100 * item.categoryCount) / data.resiCount
- ),
- // per: item.change_ratio,
- growth: item.change_ratio,
- growthAbs: Math.abs(item.categoryCountNext - item.categoryCount)
- };
- });
+ ),
+ // per: item.change_ratio,
+ growth: item.change_ratio,
+ growthAbs: Math.abs(item.categoryCountNext - item.categoryCount)
+ };
+ });
} else {
this.$message.error(msg);
}
@@ -795,16 +775,16 @@ export default {
async getMapData() {
const url = "org_map";
- const { data, code, msg } = await requestPostBi(
- url,
- {
- queryParam: {
- org_id: this.orgId,
+ const {data, code, msg} = await requestPostBi(
+ url,
+ {
+ queryParam: {
+ org_id: this.orgId,
+ },
},
- },
- {
- // mockId: 60810589,
- }
+ {
+ // mockId: 60810589,
+ }
);
if (code === 0) {
@@ -829,20 +809,20 @@ export default {
async getSubMapData() {
const url = "sub_org_map";
- const { data, code, msg } = await requestPostBi(
- url,
- {
- queryParam: {
- org_id: this.orgId,
+ const {data, code, msg} = await requestPostBi(
+ url,
+ {
+ queryParam: {
+ org_id: this.orgId,
+ },
},
- },
- {
- // mockId: 61831860,
- }
+ {
+ // mockId: 61831860,
+ }
);
if (code === 0) {
- const { orgData } = this;
+ const {orgData} = this;
orgData.children = data.map((item) => {
return {
...item,
@@ -853,7 +833,7 @@ export default {
coordinates: item.coordinates || "",
};
});
- this.orgData = { ...orgData };
+ this.orgData = {...orgData};
} else {
this.$message.error(msg);
}
@@ -867,7 +847,7 @@ export default {
level: this.orgLevel,
};
- const { data, code, msg } = await requestPost(url, params);
+ const {data, code, msg} = await requestPost(url, params);
if (code === 0) {
this.orgData = data;
@@ -883,9 +863,15 @@ export default {
},
};
+
+.bgImg {
+ margin-top: 5px;
+ background: url('@/assets/images/shuju/overview/box-bg.png') no-repeat;
+ background-size: 100% 100%;
+}
+.m-box {
+ height: 320px;
+}
+
diff --git a/src/views/dataBoard/satisfactionEval/Problem/tddtlxsj/detail.vue b/src/views/dataBoard/satisfactionEval/Problem/tddtlxsj/detail.vue
new file mode 100644
index 000000000..7e6dd83a4
--- /dev/null
+++ b/src/views/dataBoard/satisfactionEval/Problem/tddtlxsj/detail.vue
@@ -0,0 +1,141 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dataBoard/satisfactionEval/Problem/tddtlxsj/list.vue b/src/views/dataBoard/satisfactionEval/Problem/tddtlxsj/list.vue
new file mode 100644
index 000000000..af1da1a90
--- /dev/null
+++ b/src/views/dataBoard/satisfactionEval/Problem/tddtlxsj/list.vue
@@ -0,0 +1,196 @@
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dataBoard/satisfactionEval/Problem/tyqybtlx/detail.vue b/src/views/dataBoard/satisfactionEval/Problem/tyqybtlx/detail.vue
new file mode 100644
index 000000000..05fa3b6a2
--- /dev/null
+++ b/src/views/dataBoard/satisfactionEval/Problem/tyqybtlx/detail.vue
@@ -0,0 +1,141 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dataBoard/satisfactionEval/Problem/tyqybtlx/list.vue b/src/views/dataBoard/satisfactionEval/Problem/tyqybtlx/list.vue
new file mode 100644
index 000000000..88b52e1c3
--- /dev/null
+++ b/src/views/dataBoard/satisfactionEval/Problem/tyqybtlx/list.vue
@@ -0,0 +1,239 @@
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dataBoard/satisfactionEval/Problem/tyry/detail.vue b/src/views/dataBoard/satisfactionEval/Problem/tyry/detail.vue
new file mode 100644
index 000000000..a8242c558
--- /dev/null
+++ b/src/views/dataBoard/satisfactionEval/Problem/tyry/detail.vue
@@ -0,0 +1,140 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dataBoard/satisfactionEval/Problem/tyry/list.vue b/src/views/dataBoard/satisfactionEval/Problem/tyry/list.vue
new file mode 100644
index 000000000..6882a0f87
--- /dev/null
+++ b/src/views/dataBoard/satisfactionEval/Problem/tyry/list.vue
@@ -0,0 +1,195 @@
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dataBoard/satisfactionEval/dissatisfieReason/index.vue b/src/views/dataBoard/satisfactionEval/dissatisfieReason/index.vue
index 11f988ce7..d91070f54 100644
--- a/src/views/dataBoard/satisfactionEval/dissatisfieReason/index.vue
+++ b/src/views/dataBoard/satisfactionEval/dissatisfieReason/index.vue
@@ -40,7 +40,7 @@
-
+
{{ $sensitive(scope.row.mobile, 3, 7) }}
@@ -106,16 +106,17 @@ export default {
}),
list: [{},{},{}],
title: "",
- loading: false,
+ loading: true,
};
},
activated() {
this.title = this.$route.query.title;
- let searchParams = JSON.parse(this.$route.query.searchParams);
+ let searchParams = this.$route.query.searchParams?JSON.parse(this.$route.query.searchParams):{};
this.queryParams = {
...this.queryParams,
...searchParams,
};
+ this.getOrg();
this.getList();
},
methods: {
@@ -125,7 +126,7 @@ export default {
},
getList() {
this.loading = true;
- this.$http.get("?" + this.$paramsFormat(this.queryParams)).then(({data: {data}}) => {
+ this.$http.get("/governance/satisfaction/communitySelfInsp/inspResult/list?" + this.$paramsFormat(this.queryParams)).then(({data: {data}}) => {
this.total = data.total;
this.list = data.list;
this.loading = false;
diff --git a/src/views/dataBoard/satisfactionEval/modules/DissatisfiedReason/index.vue b/src/views/dataBoard/satisfactionEval/modules/DissatisfiedReason/index.vue
index d5e84a58f..1779db72a 100644
--- a/src/views/dataBoard/satisfactionEval/modules/DissatisfiedReason/index.vue
+++ b/src/views/dataBoard/satisfactionEval/modules/DissatisfiedReason/index.vue
@@ -17,21 +17,22 @@ export default {
}
},
data() {
- return {
- }
+ return {}
},
mounted() {
- this.initChart();
+ this.$http("/governance/satisfaction/communitySelfInsp/stats/dissatisfactionReason/classification", {}).then(({data: {data}}) => {
+ this.initChart(data);
+ })
},
methods: {
timeChange() {
},
- initChart() {
+ initChart(data) {
let div = document.getElementById('DissatisfiedReason');
this.myChart = echarts.init(div);
- var getname = ['社区工作不了解', '宣传力度小', '对社区工作不满意', '其他']; // 课程名
- var getNum = [8, 9, 16, 21];
+ var getname = data.map(item => item.dissatisfactionReasonName); // 课程名
+ var getNum = data.map(item => item.qty);
var data = [];
for (var i = 0; i < getname.length; i++) {
@@ -133,6 +134,7 @@ export default {
display: flex;
justify-content: space-between;
padding: 32px;
+
#DissatisfiedReason {
flex: calc(100% - 100px);
width: calc(100% - 100px);
diff --git a/src/views/dataBoard/satisfactionEval/modules/eventAnalysis/index.vue b/src/views/dataBoard/satisfactionEval/modules/eventAnalysis/index.vue
index ce6427811..9dd080dc5 100644
--- a/src/views/dataBoard/satisfactionEval/modules/eventAnalysis/index.vue
+++ b/src/views/dataBoard/satisfactionEval/modules/eventAnalysis/index.vue
@@ -9,7 +9,7 @@
- 更多>
+ 更多>
@@ -39,8 +39,8 @@
:value="item.value">
-
- 更多>
+ tyqybtlx
+ 更多>
@@ -69,7 +69,7 @@
- 更多>
+ 更多>