diff --git a/src/assets/images/gailan/tag_blue.png b/src/assets/images/gailan/tag_blue.png
new file mode 100644
index 000000000..ff745ad2c
Binary files /dev/null and b/src/assets/images/gailan/tag_blue.png differ
diff --git a/src/assets/images/gailan/tag_orange.png b/src/assets/images/gailan/tag_orange.png
new file mode 100644
index 000000000..95855764b
Binary files /dev/null and b/src/assets/images/gailan/tag_orange.png differ
diff --git a/src/assets/images/gailan/yuan_bg.png b/src/assets/images/gailan/yuan_bg.png
new file mode 100644
index 000000000..9ffe2d329
Binary files /dev/null and b/src/assets/images/gailan/yuan_bg.png differ
diff --git a/src/assets/images/gailan/zq_bg.png b/src/assets/images/gailan/zq_bg.png
new file mode 100644
index 000000000..1a310e6ab
Binary files /dev/null and b/src/assets/images/gailan/zq_bg.png differ
diff --git a/src/assets/scss/dataBoard/overview/index.scss b/src/assets/scss/dataBoard/overview/index.scss
index 19e707779..69d4eda69 100644
--- a/src/assets/scss/dataBoard/overview/index.scss
+++ b/src/assets/scss/dataBoard/overview/index.scss
@@ -494,7 +494,6 @@
height: 40px;
line-height: 40px;
font-size: 14px;
- font-family: PingFang SC;
font-weight: 400;
color: #A3B9DA;
}
@@ -508,11 +507,12 @@
height: 40px;
line-height: 40px;
width: 110px;
- height: 14px;
+ overflow: hidden;
font-size: 14px;
- font-family: PingFang SC;
font-weight: 400;
color: #FFFFFF;
+ text-overflow: ellipsis;
+ white-space: nowrap;
// padding: 0 8px;
// overflow: hidden;
// white-space: nowrap;
diff --git a/src/views/dataBoard/cpts/map/index.vue b/src/views/dataBoard/cpts/map/index.vue
index b96ad5d1a..1c95d12e9 100644
--- a/src/views/dataBoard/cpts/map/index.vue
+++ b/src/views/dataBoard/cpts/map/index.vue
@@ -67,22 +67,26 @@ export default {
style: "amap://styles/blue",
polygonColor: [
// "rgba(255, 100, 60, 0.5)",
- "rgba(43, 231, 253, 0.35)",
+ // "rgba(43, 231, 253, 0.35)",
+ "rgba(0, 127, 241, .3)",
// "rgba(255, 255, 50, 0.35)",
],
lineColor: [
// "rgba(255, 180, 150, 0.9)",
- "rgba(43, 231, 253, 0.7)",
+ // "rgba(43, 231, 253, 0.7)",
+ "rgba(0, 127, 241, .6)",
// "rgba(255, 255, 50, 0.7)",
],
circleColor: [
// "rgba(255, 180, 150, 0.99)",
- "rgba(43, 231, 253, 0.99)",
+ // "rgba(43, 231, 253, 0.99)",
+ "rgba(0, 127, 241, 0.99)",
// "rgba(255, 255, 50, 0.99)",
],
textColor: [
// "rgba(255, 100, 60, 0.99)",
- "rgba(43, 231, 253, 0.99)",
+ // "rgba(43, 231, 253, 0.99)",
+ "rgba(126, 187, 255, 1)",
// "rgba(255, 255, 50, 0.99)",
],
textStrokeColor: "#fff",
@@ -146,15 +150,9 @@ export default {
default: () => ({}),
},
},
-
- computed: {},
-
components: {
cptPopup,
},
-
- watch: {},
-
async mounted() {
// 临时这么用吧
window._AMapSecurityConfig = {
@@ -327,12 +325,14 @@ export default {
if (mapType != "qq") {
myMap = new Map({
center: iniCenter,
+ mapStyle: 'amap://styles/darkblue',
zoom: 18,
});
} else {
myMap = new GaodeMap({
// pitch: this.pitch,
- style: styleConfig.style,
+ mapStyle: 'amap://styles/darkblue',
+ // style: styleConfig.style,
center: iniCenter,
token: "fc14b42e0ca18387866d68ebd4f150c1",
zoom: 18,
diff --git a/src/views/dataBoard/overview/components/CommunityResult.vue b/src/views/dataBoard/overview/components/CommunityResult.vue
new file mode 100644
index 000000000..592ab9318
--- /dev/null
+++ b/src/views/dataBoard/overview/components/CommunityResult.vue
@@ -0,0 +1,148 @@
+
+
+
+
当前得分
+
+ {{synthesisScore?synthesisScore:'0'}}分
+
+
+
+
总提交人数
+
+
+ {{sumNum?sumNum:'0'}}人
+
+
+
今日 +{{todayNum?todayNum:0}}
+
昨日 +{{lastDayNum?lastDayNum:0}}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/dataBoard/overview/components/DynamicHumanRoomData.vue b/src/views/dataBoard/overview/components/DynamicHumanRoomData.vue
new file mode 100644
index 000000000..00ff17177
--- /dev/null
+++ b/src/views/dataBoard/overview/components/DynamicHumanRoomData.vue
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+ {{$moment(item.changeTime).format('HH:mm')}}
+
+
{{item.orgName}}
+
+
{{item.content}}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/dataBoard/overview/components/EventAndFollowUp.vue b/src/views/dataBoard/overview/components/EventAndFollowUp.vue
new file mode 100644
index 000000000..8d4d7f6ee
--- /dev/null
+++ b/src/views/dataBoard/overview/components/EventAndFollowUp.vue
@@ -0,0 +1,194 @@
+
+
+
+
+
+
+
+
事件总数
+
{{sumNum?sumNum:0}}
+
较上月-{{lastSumNum?lastSumNum:0}}
+
+
+
+
+
+
+ {{processNum?processNum:0}}
+
+
处理中
+
+
+
+
已办结
+
{{closedNum?closedNum:0}}
+
办结率{{closedRatio?closedRatio:0}}%
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/dataBoard/overview/components/RankingGridData.vue b/src/views/dataBoard/overview/components/RankingGridData.vue
new file mode 100644
index 000000000..6d6509890
--- /dev/null
+++ b/src/views/dataBoard/overview/components/RankingGridData.vue
@@ -0,0 +1,99 @@
+
+
+
+
{{ self.orgName }}
+
第{{ self.rank }}名
+
+
+
+
排名
+
网格
+
房屋更新数
+
人口更新数
+
人房更新总数
+
+
+
+ {{ item.rank }}
+
+
{{ item.orgName }}
+
{{ item.houseNum }}
+
{{ item.residentNum }}
+
{{ item.sumNum }}
+
+
+
+
+
+
+
+
diff --git a/src/views/dataBoard/overview/components/jdjs.vue b/src/views/dataBoard/overview/components/jdjs.vue
index f674448a0..163c97be3 100644
--- a/src/views/dataBoard/overview/components/jdjs.vue
+++ b/src/views/dataBoard/overview/components/jdjs.vue
@@ -5,8 +5,7 @@
- XX街道,现有房屋4600间,自 住房屋3800间、出租房屋600、闲
- 置房屋200,现有居民4000户、 8400
+ {{overview}}
- 根据数据分析结果,建议重点关注租户、党员、保障房人员三类
- 群体,开展相关的社区服务和活动。
+ {{report}}
@@ -26,12 +24,39 @@
-
+
diff --git a/src/views/dataBoard/overview/components/jdtphx.vue b/src/views/dataBoard/overview/components/jdtphx.vue
index c1328f861..9919368e0 100644
--- a/src/views/dataBoard/overview/components/jdtphx.vue
+++ b/src/views/dataBoard/overview/components/jdtphx.vue
@@ -5,23 +5,15 @@
-
-
-
-
低保人员
-
9%
+
+
{{item.categoryName}}
+
{{item.categoryRatio?item.categoryRatio:'0%'}}
@@ -29,27 +21,15 @@
-
-
-
-
-
仓储
-
12%
+
+
{{item.name}}
+
{{item.num}}
@@ -61,7 +41,7 @@
人口
@@ -69,7 +49,7 @@
房屋
@@ -79,7 +59,7 @@
满意度
@@ -87,7 +67,7 @@
风险人员
@@ -101,23 +81,15 @@
-
-
-
-
基础教育便利
-
20%
+
+
{{item.name}}
+
{{item.ratio?item.ratio:'0%'}}
@@ -125,23 +97,15 @@
-
-
-
-
社区满意度自查
-
122
+
+
{{item.riskName}}
+
{{item.riskNum}}人
@@ -152,11 +116,41 @@
diff --git a/src/views/dataBoard/overview/components/map-top.vue b/src/views/dataBoard/overview/components/map-top.vue
index bc4bffd12..1ca21563c 100644
--- a/src/views/dataBoard/overview/components/map-top.vue
+++ b/src/views/dataBoard/overview/components/map-top.vue
@@ -72,7 +72,9 @@
diff --git a/src/views/dataBoard/overview/components/rfsjtj.vue b/src/views/dataBoard/overview/components/rfsjtj.vue
index 11303d1da..1cb40889d 100644
--- a/src/views/dataBoard/overview/components/rfsjtj.vue
+++ b/src/views/dataBoard/overview/components/rfsjtj.vue
@@ -3,33 +3,74 @@
采集房屋数
- {{ numFormat(2317) }}
+ {{ numFormat(house.sumNum) }}
间
+
今日
-
新增31
-
更新217
+
新增{{ house.dayAddNum }}
+
更新{{ house.dayUpdateNum }}
采集人口数
- {{ numFormat(6302) }}
+ {{ numFormat(resident.sumNum) }}
人
今日
-
新增24
-
更新466
+
新增{{ resident.dayAddNum }}
+
更新{{ resident.dayUpdateNum }}
diff --git a/src/views/dataBoard/overview/components/sq12345.vue b/src/views/dataBoard/overview/components/sq12345.vue
index ba0622bfb..16a67796a 100644
--- a/src/views/dataBoard/overview/components/sq12345.vue
+++ b/src/views/dataBoard/overview/components/sq12345.vue
@@ -8,14 +8,14 @@
处理中
已办结
-
-
- {{ item.num }}
+
+
+ {{ index - 0 + 1 }}
-
{{ item.shequ }}
-
{{ item.fwgxs }}
-
{{ item.rkgxs }}
-
{{ item.rfgxzs }}
+
{{ item.orgName }}
+
{{ item.sumNum }}
+
{{ item.processNum }}
+
{{ item.closedNum }}
@@ -23,55 +23,40 @@
diff --git a/src/views/dataBoard/overview/components/sqrfph.vue b/src/views/dataBoard/overview/components/sqrfph.vue
index d7d23363c..591adcb70 100644
--- a/src/views/dataBoard/overview/components/sqrfph.vue
+++ b/src/views/dataBoard/overview/components/sqrfph.vue
@@ -8,14 +8,14 @@
人口更新数
人房更新总数
-
-
- {{ item.num }}
+
+
+ {{ index - 0 + 1 }}
-
{{ item.shequ }}
-
{{ item.fwgxs }}
-
{{ item.rkgxs }}
-
{{ item.rfgxzs }}
+
{{ item.orgName }}
+
{{ item.houseNum }}
+
{{ item.residentNum }}
+
{{ item.sumNum }}
@@ -23,55 +23,40 @@
diff --git a/src/views/dataBoard/overview/index.vue b/src/views/dataBoard/overview/index.vue
index a2fceff2b..eb50fe5c1 100644
--- a/src/views/dataBoard/overview/index.vue
+++ b/src/views/dataBoard/overview/index.vue
@@ -1,83 +1,147 @@
-
-
+
+
-
-
-
+
+
-
-
+
+
-
+
-
+
-
+ v-model="sq12345Date"
+ format="yyyy-MM"
+ value-format="yyyy-MM"
+ type="month"
+ :clearable="false"
+ placeholder="选择月"
+ />
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -93,8 +157,15 @@ import jdwgy from "@/views/dataBoard/overview/components/jdwgy.vue";
import rfsjtj from "@/views/dataBoard/overview/components/rfsjtj.vue";
import sqrfph from "@/views/dataBoard/overview/components/sqrfph.vue";
import sq12345 from "@/views/dataBoard/overview/components/sq12345.vue";
-import { requestPostBi } from "@/js/dai/request-bipass";
-import { requestPost } from "@/js/dai/request";
+
+import DynamicHumanRoomData from "@/views/dataBoard/overview/components/DynamicHumanRoomData.vue";
+import CommunityResult from "@/views/dataBoard/overview/components/CommunityResult.vue";
+import EventAndFollowUp from "@/views/dataBoard/overview/components/EventAndFollowUp.vue";
+import RankingGridData from "@/views/dataBoard/overview/components/RankingGridData.vue";
+
+
+import {requestPostBi} from "@/js/dai/request-bipass";
+import {requestPost} from "@/js/dai/request";
import getQueryPara from "dai-js/modules/getQueryPara";
export default {
@@ -112,22 +183,31 @@ export default {
rfsjtj,
sqrfph,
sq12345,
+ DynamicHumanRoomData,
+ CommunityResult,
+ EventAndFollowUp,
+ RankingGridData
},
data() {
return {
loading: false,
- rfphDate: "2023-03",
+ rfphDate: this.$moment().format('YYYY-MM'),
+ sq12345Date: this.$moment().format('YYYY-MM'),
+ sqzcDate: this.$moment().format('YYYY-MM'),
+ sjhfDate: this.$moment().format('YYYY-MM'),
+ sqwggxDate: this.$moment().format('YYYY-MM'),
orgData: {
children: [],
}, //当前组织对象
orgId: "",
orgLevel: "",
+ currentLevel: "",
breadList: [
{
orgId: "",
orgLevel: "",
- meta: { title: "人房总览" },
+ meta: {title: "人房总览"},
},
],
@@ -137,12 +217,19 @@ export default {
},
mounted() {
- const queryOrgId = getQueryPara("orgId");
- const queryOrgLevel = getQueryPara("orgLevel");
- this.init(queryOrgId, queryOrgLevel);
+ // const queryOrgId = getQueryPara("orgId");
+ // const queryOrgLevel = getQueryPara("orgLevel");
+ // this.init(queryOrgId, queryOrgLevel);
+ if(this.$store.state.chooseArea.chooseName.orgId) {
+ this.getMapData()
+ }
},
- watch: {},
+ watch: {
+ "$store.state.chooseArea.chooseName"(val){
+ this.getMapData()
+ }
+ },
methods: {
async init(queryOrgId, queryOrgLevel) {
@@ -157,12 +244,12 @@ export default {
//加载组织数据
this.loading = false;
await this.getMapData();
- await this.getSubMapData();
+ // await this.getSubMapData();
this.loading = true;
},
- changeDate(e){
- this.rfphDate=e;
+ changeDate(e) {
+ this.rfphDate = e;
},
handleClickDotBtn(type, info) {
console.log("handleClickDotBtn", type, info);
@@ -173,21 +260,23 @@ export default {
}
},
- clickBreadItem({ item }) {
+ clickBreadItem({item}) {
this.toBread(item);
},
clickAgencyItem(item) {
+ console.log(item, 'item')
this.toBread({
orgId: item.id,
orgLevel: item.level,
- meta: { title: item.name },
+ meta: {title: item.name},
});
+ this.getMapData(item.id,item.level)
},
toBread(item) {
- const { orgId } = item;
- const { breadList } = this;
+ const {orgId} = item;
+ const {breadList} = this;
let index = breadList.findIndex((val) => val.orgId === orgId);
// return console.log(item, breadList, index);
if (index >= 0) {
@@ -212,39 +301,17 @@ export default {
},
//获取地图上显示的组织数据
- async getMapData() {
+ async getMapData(orgId=this.$store.state.chooseArea.chooseName.orgId,level=this.$store.state.chooseArea.chooseName.level) {
console.log("=========================getMapData");
const url = "org_map";
-
- const { data, code, msg } = await requestPostBi(
- url,
- {
- queryParam: {
- org_id: this.orgId,
- },
- },
- {
- // mockId: 60810589,
- }
- );
-
- if (code === 0) {
- console.log("data::", data);
- let info = data[0];
- this.orgData = {
- ...info,
- id: info.org_id,
- name: info.org_name,
- latitude: parseFloat(info.latitude),
- longitude: parseFloat(info.longitude),
- coordinates: info.coordinates || "",
- children: [],
- };
+ this.$http.post(`/gov/org/agency/maporg`, {orgId, level}).then(({data: {data}}) => {
+ console.log(data,'datadatadata')
+ this.orgData = data;
this.orgId = this.orgData.org_id;
this.orgLevel = this.orgData.level;
- } else {
- this.$message.error(msg);
- }
+ this.currentLevel = this.orgData.agencyLevel;
+ console.log(this.orgData, 'orgData')
+ })
},
//获取地图上显示的组织数据
@@ -252,20 +319,20 @@ export default {
console.log("=========================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,
@@ -276,10 +343,10 @@ export default {
coordinates: item.coordinates || "",
};
});
- this.orgData = { ...orgData };
+ this.orgData = {...orgData};
console.log(
- "==========================getSubMapData:result",
- this.orgData
+ "==========================getSubMapData:result",
+ this.orgData
);
} else {
this.$message.error(msg);
@@ -294,7 +361,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;
this.orgId = this.orgId;
@@ -311,7 +378,7 @@ export default {
diff --git a/src/views/dataBoard/satisfactionEval/components/Tabs/index.vue b/src/views/dataBoard/satisfactionEval/components/Tabs/index.vue
index 70597d2a8..93d9bfb22 100644
--- a/src/views/dataBoard/satisfactionEval/components/Tabs/index.vue
+++ b/src/views/dataBoard/satisfactionEval/components/Tabs/index.vue
@@ -1,6 +1,7 @@
-
@@ -30,7 +31,7 @@ export default {
methods: {
tabClick(index) {
this.value2 = this.list[index].value
- this.$emit('changeVal',this.value)
+ this.$emit('changeVal',this.value2)
this.$emit('changeLabel',this.list[index].label)
}
}
diff --git a/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue b/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue
index 18658c207..6bd2b2eff 100644
--- a/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue
+++ b/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue
@@ -1,8 +1,8 @@