From e7516b492fcc1dc7630d710a44317efd0657c424 Mon Sep 17 00:00:00 2001
From: 13176889840 <13176889840@163.com>
Date: Tue, 14 Dec 2021 16:42:34 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E6=8E=AA=E6=96=BD?=
=?UTF-8?q?=E5=88=86=E6=9E=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../visual/components/screen-table/index.vue | 3 +
src/views/modules/visual/measure/service.vue | 144 +++++++++---------
.../modules/visual/measure/volunteer.vue | 6 +-
3 files changed, 78 insertions(+), 75 deletions(-)
diff --git a/src/views/modules/visual/components/screen-table/index.vue b/src/views/modules/visual/components/screen-table/index.vue
index 9d1861ac..bfc00da9 100644
--- a/src/views/modules/visual/components/screen-table/index.vue
+++ b/src/views/modules/visual/components/screen-table/index.vue
@@ -251,6 +251,9 @@ export default {
text-align: center;
width: calc(100% / 5);
cursor: pointer;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
.more {
font-size: 18px;
font-weight: 400;
diff --git a/src/views/modules/visual/measure/service.vue b/src/views/modules/visual/measure/service.vue
index cf0a52a3..24b5f820 100644
--- a/src/views/modules/visual/measure/service.vue
+++ b/src/views/modules/visual/measure/service.vue
@@ -9,7 +9,8 @@
:options="propTree"
:props="{ checkStrictly: true }"
:show-all-levels="false"
- clearable @change="handleCascader">
+ clearable
+ @change="handleCascader">
@@ -178,6 +179,7 @@ export default {
{ title: "服务方", coulmn: 'serviceName' },
{ title: "服务时间", coulmn: 'wantServiceTime' },
],
+ categoryList: {},
timeRange: '',
tableData: [
// [1,'商丘路社区第一网格','商丘路小区','2号楼','杨颖、王平、刘佳敏、丁辉、杨萍'],
@@ -193,6 +195,13 @@ export default {
detailInfo: {}
};
},
+ watch: {
+ timeRange(val) {
+ console.log('val-www', val)
+ if (!val) return false
+ this.handleCascader(this.selectAgency)
+ }
+ },
async mounted() {
this.initTime()
await nextTick(100);
@@ -214,6 +223,38 @@ export default {
axisPointer: {
// Use axis to trigger tooltip
type: 'shadow' // 'shadow' as default; can also be 'line' or 'shadow'
+ },
+ backgroundColor: 'transprant',
+ borderColor: 'transprant',
+ textStyle: {
+ color: '#fff'
+ },
+ formatter: params => {
+ let res;
+ let arr = []
+ let total = 0
+ const xName = params[0].axisValue
+ this.categoryList.forEach(item => {
+ if (item.categoryName === xName) {
+ arr = item.detail
+ total = item.total
+ }
+ })
+ let title = `
${xName}分类需求${total}个
`
+ let desc = ''
+ let unit = '个'
+ arr.forEach(item => {
+ if (item.legendCode == 'volunteer') unit = '名'
+ else unit = '个'
+ if (item.legendCode == 'unfinished') {
+ desc += `
尚有 ${item.serviceDemandTotal} 个需求未完成
`
+ }else {
+ desc += `
共 ${item.totalService} ${unit} ${item.legendName} 完成需求 ${item.serviceDemandTotal} 个
`
+ }
+
+ })
+ res= title + desc
+ return res
}
},
legend: {
@@ -232,7 +273,11 @@ export default {
xAxis: {
type: 'category',
axisLabel: {
- color: '#fff'
+ color: '#fff',
+ interval: 0
+ },
+ axisTick: {
+ interval: 0
},
data: xData
},
@@ -247,76 +292,13 @@ export default {
// axisLine: false
},
series: yData
- // [
- // {
- // name: '区域化党建单位',
- // type: 'bar',
- // stack: 'total',
- // // barWidth: 20,
- // label: {
- // show: true
- // },
- // emphasis: {
- // focus: 'series'
- // },
- // data: [320, 302, 301, 334, 390, 330, 320]
- // },
- // {
- // name: '社会组织',
- // type: 'bar',
- // stack: 'total',
- // // barWidth: 20,
- // label: {
- // show: true
- // },
- // emphasis: {
- // focus: 'series'
- // },
- // data: [120, 132, 101, 134, 90, 230, 210]
- // },
- // {
- // name: '社区自组织',
- // type: 'bar',
- // stack: 'total',
- // // barWidth: 20,
- // label: {
- // show: true
- // },
- // emphasis: {
- // focus: 'series'
- // },
- // data: [220, 182, 191, 234, 290, 330, 310]
- // },
- // {
- // name: '志愿者',
- // type: 'bar',
- // stack: 'total',
- // // barWidth: 20,
- // label: {
- // show: true
- // },
- // emphasis: {
- // focus: 'series'
- // },
- // data: [150, 212, 201, 154, 190, 330, 410]
- // },
- // {
- // name: '未完成',
- // type: 'bar',
- // stack: 'total',
- // // barWidth: 20,
- // label: {
- // show: true
- // },
- // emphasis: {
- // focus: 'series'
- // },
- // data: [820, 832, 901, 934, 1290, 1330, 1320]
- // }
- // ]
+
};
option && _charts.setOption(option);
+ _charts.on('click', params => {
+ this.clickBar(params)
+ })
},
async getServicePie(orgId, orgType) {
@@ -331,6 +313,7 @@ export default {
if (code === 0) {
console.log('pie-data', data)
const { categoryList, legend } = data
+ this.categoryList = categoryList
let xData = categoryList.map(item => item.categoryName)
let yData = []
yData = legend.map(item => {
@@ -475,6 +458,18 @@ export default {
return y + '-' + m + '-' + d
},
+ clickBar(params) {
+ console.log('params---p', params)
+ let code = ''
+ this.categoryList.forEach(item => {
+ if (item.categoryName == params.name) code = item.categoryCode
+ })
+ if (code) {
+ const _arr = this.selectAgency[this.selectAgency.length - 1].split('-')
+ const orgType = _arr[1] !== 'grid' ? 'agency': 'grid'
+ this.getServiceList(_arr[0], orgType, code)
+ }
+ },
async handleLook(val) {
// this.detailId = val.id
@@ -484,16 +479,21 @@ export default {
},
handleCascader(val) {
console.log('val-vvv', val)
- const _arr = val[val.length - 1].split('-')
- const orgType = _arr[1] !== 'grid' ? 'agency': 'grid'
- this.getServiceList(_arr[0], orgType)
+ if (val.length > 0) {
+ const _arr = val[val.length - 1].split('-')
+ const orgType = _arr[1] !== 'grid' ? 'agency': 'grid'
+ this.getServicePie(_arr[0], orgType)
+ }
+
},
pageSizeChangeHandleNew(val) {
this.pageNo = 1;
this.pageSize = val;
+ this.handleCascader(this.selectAgency)
},
pageCurrentChangeHandleNew(val) {
this.pageNo = val;
+ this.handleCascader(this.selectAgency)
},
},
};
diff --git a/src/views/modules/visual/measure/volunteer.vue b/src/views/modules/visual/measure/volunteer.vue
index c4447dce..603a82da 100644
--- a/src/views/modules/visual/measure/volunteer.vue
+++ b/src/views/modules/visual/measure/volunteer.vue
@@ -596,14 +596,14 @@ export default {
}
.card-wr-map {
- height: calc(100vh - 140px);
+ height: calc(100vh - 150px);
text-align: center;
.card-map {
margin-top: 10px;
width: 100%;
- height: calc(100vh - 285px);
- // height: calc(100vh - 295px);
+ // height: calc(100vh - 285px);
+ height: calc(100vh - 315px);
.map {
width: 100%;
From 9dc942c2cee2c9dc2389b5ac474b96a5ae2e8ef6 Mon Sep 17 00:00:00 2001
From: jiangyy
Date: Tue, 14 Dec 2021 16:58:42 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E5=B1=85=E6=B0=91=E7=83=AD=E8=AE=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/visual/distributionAnalyze.scss | 6 +-
.../scss/modules/visual/incident-info.scss | 642 +++++++++---------
.../communityGovern/cpt/project-info.vue | 629 +++++++++++++++++
.../communityGovern/distributionAnalyze.vue | 6 +-
.../communityGovern/distributionLineOption.js | 18 +-
.../visual/communityGovern/processAnalyze.vue | 1 -
.../visual/communityGovern/resibuzz.vue | 5 +-
.../visual/communityGovern/typeAnalyze.vue | 38 +-
8 files changed, 1004 insertions(+), 341 deletions(-)
create mode 100644 src/views/modules/visual/communityGovern/cpt/project-info.vue
diff --git a/src/assets/scss/modules/visual/distributionAnalyze.scss b/src/assets/scss/modules/visual/distributionAnalyze.scss
index 874dfbed..438c0e30 100644
--- a/src/assets/scss/modules/visual/distributionAnalyze.scss
+++ b/src/assets/scss/modules/visual/distributionAnalyze.scss
@@ -116,12 +116,12 @@
display: flex;
flex-direction: row;
// flex-wrap: wrap;
- // justify-content: center;
+ justify-content: space-between;
height: calc(100vh - 230px);
.g-l {
width: 40%;
- height: calc(100vh - 290px);
+ height: calc(100vh - 240px);
.echart-line {
margin-left: 30px;
@@ -139,7 +139,7 @@
}
.g-r {
- width: 60%;
+ width: 55%;
height: calc(100vh - 250px);
.r-map {
diff --git a/src/assets/scss/modules/visual/incident-info.scss b/src/assets/scss/modules/visual/incident-info.scss
index 989b7d56..9fe6638c 100644
--- a/src/assets/scss/modules/visual/incident-info.scss
+++ b/src/assets/scss/modules/visual/incident-info.scss
@@ -1,375 +1,379 @@
-@import "../../c/config";
-@import "../../c/function";
-@import "./c/common";
+@import '../../c/config';
+@import '../../c/function';
+@import './c/common';
.m-pop {
- @include shield;
- background-color: rgba(#000, 0.9);
- overflow-y: auto;
+ @include shield;
+ background-color: rgba(#000, 0.9);
+ overflow-y: auto;
- .wrap {
- position: relative;
- margin: 120px auto;
- width: 1020px;
-
- .title {
- padding: 10px;
- font-size: 22px;
- font-family: PingFang SC;
- font-weight: 800;
- color: #ffffff;
- display: flex;
- align-items: center;
-
- img {
- display: block;
- margin-right: 5px;
- }
- span {
- display: block;
- }
- }
+ .wrap {
+ position: relative;
+ margin: 120px auto;
+ width: 1020px;
+
+ .title {
+ padding: 10px;
+ font-size: 22px;
+ font-family: PingFang SC;
+ font-weight: 800;
+ color: #ffffff;
+ display: flex;
+ align-items: center;
+
+ img {
+ display: block;
+ margin-right: 5px;
+ }
+ span {
+ display: block;
+ }
+ }
- .btn-close {
- position: absolute;
- top: -15px;
- right: -15px;
- cursor: pointer;
- }
+ .btn-close {
+ position: absolute;
+ top: -15px;
+ right: -15px;
+ cursor: pointer;
+ }
- .line {
- margin: 20px auto;
- width: 900px;
- height: 1px;
- border: 1px dashed #1257c9;
- }
+ .line {
+ margin: 20px auto;
+ width: 900px;
+ height: 1px;
+ border: 1px dashed #1257c9;
+ }
- .tabs {
- margin-top: 30px;
- display: flex;
- align-items: center;
- padding-left: 20px;
- padding-left: 58px;
-
- .tab-btn {
- width: 30px;
- text-align: center;
- cursor: pointer;
- }
-
- .tab {
- margin: 0 5px;
- min-width: 76px;
- padding: 0 5px;
- height: 30px;
- background: rgba(255, 255, 255, 0);
- border: 1px solid #1257c9;
- box-shadow: 0 0 10px 0 inset #1257c9;
- border-radius: 2px;
- text-align: center;
- font-size: 14px;
- font-family: PingFang SC;
- font-weight: 400;
- color: #ffffff;
- line-height: 30px;
- cursor: pointer;
- transition: all ease 0.5s;
- &.z-on {
- background: linear-gradient(90deg, #1a5afd, #009cff);
- box-shadow: none;
- }
- }
+ .tabs {
+ margin-top: 30px;
+ display: flex;
+ align-items: center;
+ padding-left: 20px;
+ padding-left: 58px;
+
+ .tab-btn {
+ width: 30px;
+ text-align: center;
+ cursor: pointer;
+ }
+
+ .tab {
+ margin: 0 5px;
+ min-width: 76px;
+ padding: 0 5px;
+ height: 30px;
+ background: rgba(255, 255, 255, 0);
+ border: 1px solid #1257c9;
+ box-shadow: 0 0 10px 0 inset #1257c9;
+ border-radius: 2px;
+ text-align: center;
+ font-size: 14px;
+ font-family: PingFang SC;
+ font-weight: 400;
+ color: #ffffff;
+ line-height: 30px;
+ cursor: pointer;
+ transition: all ease 0.5s;
+ &.z-on {
+ background: linear-gradient(90deg, #1a5afd, #009cff);
+ box-shadow: none;
}
+ }
}
+ }
}
.m-info {
- padding-left: 62px;
- font-size: 16px;
+ padding-left: 62px;
+ font-size: 16px;
+ font-family: PingFang SC;
+ font-weight: 400;
+ color: #ffffff;
+ line-height: 24px;
+ width: 500px;
+
+ .info-title {
+ margin-top: 30px;
+ font-size: 20px;
font-family: PingFang SC;
- font-weight: 400;
+ font-weight: bold;
color: #ffffff;
- line-height: 24px;
- width: 500px;
-
- .info-title {
- margin-top: 30px;
- font-size: 20px;
- font-family: PingFang SC;
- font-weight: bold;
- color: #ffffff;
- line-height: 30px;
- }
- .info-content {
- margin: 20px 0;
- }
- .info-pics {
- display: flex;
- margin: 20px 0;
- img {
- display: block;
- width: 32%;
- height: 90px;
- margin-right: 9px;
- object-fit: cover;
- }
+ line-height: 30px;
+ }
+ .info-content {
+ margin: 20px 0;
+ }
+ .info-pics {
+ display: flex;
+ margin: 20px 0;
+ img {
+ display: block;
+ width: 32%;
+ height: 90px;
+ margin-right: 9px;
+ object-fit: cover;
}
+ }
- .info-prop {
- position: relative;
- margin: 10px 0;
- display: flex;
- padding-left: 15px;
+ .info-prop {
+ position: relative;
+ margin: 10px 0;
+ display: flex;
+ padding-left: 15px;
- > span,
- > div {
- display: block;
- max-width: 300px;
- }
+ > span,
+ > div {
+ display: block;
+ max-width: 300px;
+ }
- &::before {
- content: "";
- display: block;
- position: absolute;
- top: 9px;
- left: 0;
- width: 7px;
- height: 7px;
- background: #0c81fe;
- border-radius: 3px;
- margin-right: 10px;
- }
+ &::before {
+ content: '';
+ display: block;
+ position: absolute;
+ top: 9px;
+ left: 0;
+ width: 7px;
+ height: 7px;
+ background: #0c81fe;
+ border-radius: 3px;
+ margin-right: 10px;
}
+ }
}
.m-case {
- @include scrollBar;
- height: 600px;
- padding: 20px 0 20px 0;
- overflow-y: auto;
+ @include scrollBar;
+ height: 600px;
+ padding: 20px 0 20px 0;
+ overflow-y: auto;
}
.m-row {
- display: flex;
- justify-content: space-between;
+ display: flex;
+ justify-content: space-between;
}
.m-yanpan {
- padding-left: 62px;
- padding-right: 0;
- min-height: 300px;
+ padding-left: 62px;
+ padding-right: 0;
+ min-height: 300px;
}
.m-hint {
- position: relative;
- height: 300px;
-
- // 暂无数据
- img {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- margin: auto;
- }
+ position: relative;
+ height: 300px;
+
+ // 暂无数据
+ img {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ margin: auto;
+ }
}
.m-line {
- min-width: 400px;
+ min-width: 400px;
- .stat {
- margin: 20px 0 10px;
- display: flex;
- .stat-item {
- width: 33%;
- text-align: center;
-
- div {
- font-size: 17px;
- font-family: Source Han Serif SC;
- font-weight: 500;
- color: rgba(#fff, 0.5);
- line-height: 24px;
- &.z-weak {
- font-size: 12px;
- font-family: Source Han Serif SC;
- font-weight: 500;
- color: rgba(#fff, 0.5);
- line-height: 24px;
- }
- }
+ .stat {
+ margin: 20px 0 10px;
+ display: flex;
+ .stat-item {
+ width: 33%;
+ text-align: center;
+
+ div {
+ font-size: 17px;
+ font-family: Source Han Serif SC;
+ font-weight: 500;
+ color: rgba(#fff, 0.5);
+ line-height: 24px;
+ &.z-weak {
+ font-size: 12px;
+ font-family: Source Han Serif SC;
+ font-weight: 500;
+ color: rgba(#fff, 0.5);
+ line-height: 24px;
}
+ }
}
+ }
}
.m-tb {
- padding-left: 62px;
- padding-right: 40px;
+ padding-left: 62px;
+ padding-right: 40px;
}
.m-pagination {
- box-sizing: border-box;
- margin-top: 20px;
- width: 100%;
- height: 40px;
- display: flex;
- justify-content: flex-end;
+ box-sizing: border-box;
+ margin-top: 20px;
+ width: 100%;
+ height: 40px;
+ display: flex;
+ justify-content: flex-end;
+
+ /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active {
+ background: #0266d1;
+ color: #000d3f;
+ }
+
+ /deep/ .el-pagination .el-pager li {
+ background: #002e74;
+ }
+
+ /deep/ .el-pagination .btn-prev {
+ background: #002e74;
+ }
+
+ /deep/ .el-pagination .btn-next {
+ background: #002e74;
+ }
+}
- /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active {
- background: #0266d1;
- color: #000d3f;
- }
+.m-process {
+ width: 400px;
- /deep/ .el-pagination .el-pager li {
- background: #002e74;
- }
+ .process-title {
+ margin-bottom: 25px;
+ margin-left: -5px;
+ font-size: 16px;
+ font-family: PingFang SC;
+ font-weight: bold;
+ color: #ffffff;
+ line-height: 18px;
+ }
- /deep/ .el-pagination .btn-prev {
- background: #002e74;
+ .list {
+ position: relative;
+ box-sizing: border-box;
+ margin-top: 30px/2;
+ margin-left: 50px/2;
+ padding: 0 0 0 30px/2;
+ width: 680px/2;
+ border-left: 3px solid #0c81fe;
+ padding-right: 10px;
+
+ &::before {
+ content: '';
+ position: absolute;
+ z-index: 1;
+ display: block;
+ top: -2px/2;
+ left: -2px/2;
+ width: 5px/2;
+ height: 20px/2;
+ background-color: #ffffff;
}
- /deep/ .el-pagination .btn-next {
- background: #002e74;
- }
-}
+ .item {
+ position: relative;
+ z-index: 2;
+ margin-bottom: 8px;
+ padding-bottom: 8px;
+ font-size: 16px;
+ font-family: PingFang SC;
+ font-weight: 400;
+ color: #fefefe;
+ line-height: 24px;
+ padding-left: 20px;
+ padding-top: 1px;
+
+ &::before {
+ content: '';
+ display: block;
+ position: absolute;
+ top: -5px;
+ left: -11px;
+ width: 18px;
+ height: 18px;
+ background: #0c81fe;
+ border: 4px solid lighten(#0c81fe, 15);
+ border-radius: 100%;
+ }
+
+ &.z-on {
+ &::before {
+ background: #e08400;
+ border-color: lighten(#e08400, 15);
+ }
+ }
-.m-process {
- width: 400px;
+ &:last-child {
+ margin-bottom: 0;
+ padding-bottom: 0;
+ border-bottom: none;
+ }
- .process-title {
- margin-bottom: 25px;
- margin-left: -5px;
- font-size: 16px;
- font-family: PingFang SC;
- font-weight: bold;
- color: #ffffff;
- line-height: 18px;
- }
+ .item-row {
+ margin-top: -10px;
+ margin-bottom: 10px;
+ display: flex;
+ }
- .list {
+ .name {
position: relative;
- box-sizing: border-box;
- margin-top: 30px/2;
- margin-left: 50px/2;
- padding: 0 0 0 30px/2;
- width: 680px/2;
- border-left: 3px solid #0c81fe;
- padding-right: 10px;
+ padding: 0 10px;
+ font-size: 12px;
+ font-family: PingFang SC;
+ font-weight: 500;
+ color: #fefefe;
+ line-height: 22px;
+ height: 22px;
+ border-radius: 10px 0 10px 0;
+ background-color: #0c81fe;
+ // background-color: #e08400;
+ }
+
+ .date {
+ margin-left: 10px;
+ font-size: 12px;
+ font-family: PingFang SC;
+ font-weight: 500;
+ color: #7ca1d2;
+ line-height: 25px;
+ }
- &::before {
- content: "";
- position: absolute;
- z-index: 1;
- display: block;
- top: -2px/2;
- left: -2px/2;
- width: 5px/2;
- height: 20px/2;
- background-color: #ffffff;
- }
+ .detail {
+ @include cs;
+ font-size: 16px;
+ line-height: 20px;
+ margin-bottom: 5px;
+ display: flex;
- .item {
- position: relative;
- z-index: 2;
- margin-bottom: 8px;
- padding-bottom: 8px;
- font-size: 16px;
- font-family: PingFang SC;
- font-weight: 400;
- color: #fefefe;
- line-height: 24px;
- padding-left: 20px;
- padding-top: 1px;
-
- &::before {
- content: "";
- display: block;
- position: absolute;
- top: -5px;
- left: -11px;
- width: 18px;
- height: 18px;
- background: #0c81fe;
- border: 4px solid lighten(#0c81fe, 15);
- border-radius: 100%;
- }
-
- &.z-on {
- &::before {
- background: #e08400;
- border-color: lighten(#e08400, 15);
- }
- }
-
- &:last-child {
- margin-bottom: 0;
- padding-bottom: 0;
- border-bottom: none;
- }
-
- .item-row {
- margin-top: -10px;
- margin-bottom: 10px;
- display: flex;
- }
-
- .name {
- position: relative;
- padding: 0 10px;
- font-size: 12px;
- font-family: PingFang SC;
- font-weight: 500;
- color: #fefefe;
- line-height: 22px;
- height: 22px;
- border-radius: 10px 0 10px 0;
- background-color: #0c81fe;
- // background-color: #e08400;
- }
-
- .date {
- margin-left: 10px;
- font-size: 12px;
- font-family: PingFang SC;
- font-weight: 500;
- color: #7ca1d2;
- line-height: 25px;
- }
-
- .detail {
- @include cs;
- font-size: 16px;
- line-height: 20px;
- margin-bottom: 5px;
- display: flex;
-
- .detail-field {
- width: 22%;
- text-align: justify;
- text-align-last: justify;
- }
- .detail-value {
- width: 78%;
- .detail-link {
- display: inline;
- }
- }
- }
-
- .attachement-list {
- padding-left: 80px;
- a {
- display: block;
- cursor: pointer;
- color: #4df0ff;
- font-size: 14px;
-
- i {
- color: #fff;
- }
- }
- }
+ .detail-field {
+ width: 22%;
+ text-align: justify;
+ text-align-last: justify;
}
+ .detail-value {
+ width: 78%;
+ .detail-link {
+ display: inline;
+ }
+ }
+ }
+
+ .attachement-list {
+ padding-left: 80px;
+ a {
+ display: block;
+ cursor: pointer;
+ color: #4df0ff;
+ font-size: 14px;
+
+ i {
+ color: #fff;
+ }
+ }
+ }
}
+ }
+}
+
+.m-top {
+ display: flex;
}
diff --git a/src/views/modules/visual/communityGovern/cpt/project-info.vue b/src/views/modules/visual/communityGovern/cpt/project-info.vue
new file mode 100644
index 00000000..ac6d82f2
--- /dev/null
+++ b/src/views/modules/visual/communityGovern/cpt/project-info.vue
@@ -0,0 +1,629 @@
+
+
+
+
+
+

+
项目详情
+
+
+
+

+
+
+
+
+ 项目标题:
+ {{ projectInfo.projectTitle }}
+
+
+ 项目背景:
+ {{ projectInfo.backGround }}
+
+
+ 项目方案:
+ {{ projectInfo.projectTitle }}
+
+
+ 内部备注:
+ {{ projectInfo.internalRemark || "--" }}
+
+
+ 当前处理部门:
+ {{ projectInfo.departmentNameList.join("、") }}
+
+
+
分类:
+
+
+ {{ item.name }}
+
+
+
+
+
标签:
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
处理进展
+
+
+
+
{{ item.processName }}
+
+ {{ item.processTime }}
+
+
+
+
+
处理部门:
+
{{ item.departmentName }}
+
+
+
+
说 明:
+
+ {{ item.publicReply }}
+
+
+
+
+
内部备注:
+
+ {{
+ item.internalRemark
+ }}
+
+
+
+
+
+
+
+
+
+

+
+
+ {{ item.label }}
+
+
+

+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+ 议题标题:
+ {{ issueInfo.issueTitle }}
+
+
+ 议题建议:
+ {{ issueInfo.issueSuggestion }}
+
+
+ 所属网格:
+ {{ issueInfo.belongsGridName || "--" }}
+
+
+ 议题发起人:
+ {{ issueInfo.issueInitiator }}
+
+
+ 议题来源:
+ {{ issueInfo.topicInfo.groupName }}
+
+
+ 转议题时间:
+ {{ issueInfo.shiftIssueTime }}
+
+
+
+
事件内容
+
{{ info.eventContent }}
+
+
![]()
+
+
+ 提交时间:
+ {{ info.eventTime }}
+
+
+ 报事人:
+ {{ info.eventPeopleName }}
+
+
+ 所属网格:
+ {{ info.gridName }}
+
+
+ 提报给:
+ {{ info.eventPerson.join("、") || "--" }}
+
+
+
+
+
+
+
+ {{ issueTrend.realityVoteCount }}/{{
+ issueTrend.shouldVoteCount
+ }}
+
+
已表决/应表决
+
+
+
{{ issueTrend.supportAmount }}
+
支持
+
+
+
{{ issueTrend.oppositionAmount }}
+
反对
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/visual/communityGovern/distributionAnalyze.vue b/src/views/modules/visual/communityGovern/distributionAnalyze.vue
index 097df0a0..5f5e4c79 100644
--- a/src/views/modules/visual/communityGovern/distributionAnalyze.vue
+++ b/src/views/modules/visual/communityGovern/distributionAnalyze.vue
@@ -503,11 +503,12 @@ export default {
let dataArray = new Array(num)
//遍历每个分类
this.lineList[0].categoryList.forEach((categoryItem, index) => {
- this.legend.push(categoryItem.name)
+ this.legend.push(categoryItem.categoryName)
dataArray[index] = []
});
+
//遍历每个时间
this.lineList.forEach(item => {
this.xaxis.push(item.time)
@@ -523,8 +524,9 @@ export default {
this.lineList[0].categoryList.forEach((categoryItem, index) => {
let object = {
- name: categoryItem.name,
+ name: categoryItem.categoryName,
type: 'line',
+ smooth: true,
barWidth: 15,
areaStyle: {},
itemStyle: {
diff --git a/src/views/modules/visual/communityGovern/distributionLineOption.js b/src/views/modules/visual/communityGovern/distributionLineOption.js
index ac897026..05df510d 100644
--- a/src/views/modules/visual/communityGovern/distributionLineOption.js
+++ b/src/views/modules/visual/communityGovern/distributionLineOption.js
@@ -2,6 +2,21 @@ import * as echarts from 'echarts'
export function lineOption () {
return {
+ tooltip: {
+ trigger: 'axis',
+ axisPointer: {
+ type: 'cross',
+ label: {
+ backgroundColor: '#6a7985'
+ }
+ }
+ },
+ grid: {
+ left: 70,
+ top: 40,
+ right: 50,
+ bottom: 150
+ },
legend: {
textStyle: {
color: '#D2E7FF',
@@ -10,7 +25,7 @@ export function lineOption () {
},
itemWidth: 20,
itemHeight: 10,
- // top: 350,
+ // top: 650,
bottom: 0,
data: []
},
@@ -62,6 +77,7 @@ export function lineOption () {
}
},
series: [
+
// {
// name: '项目数',
// type: 'line',
diff --git a/src/views/modules/visual/communityGovern/processAnalyze.vue b/src/views/modules/visual/communityGovern/processAnalyze.vue
index ec2ca8c8..c20b4ece 100644
--- a/src/views/modules/visual/communityGovern/processAnalyze.vue
+++ b/src/views/modules/visual/communityGovern/processAnalyze.vue
@@ -528,7 +528,6 @@ export default {
}
this.$refs.pieChart.handleClick(fun)
-
},
clickPie (seriesIndex) {
diff --git a/src/views/modules/visual/communityGovern/resibuzz.vue b/src/views/modules/visual/communityGovern/resibuzz.vue
index 84e9e9c0..73918a26 100644
--- a/src/views/modules/visual/communityGovern/resibuzz.vue
+++ b/src/views/modules/visual/communityGovern/resibuzz.vue
@@ -192,8 +192,8 @@ export default {
pageNo: 1,
total: 0,
},
- showIssue: true,
- issueId: 'cf48b7dc70ef4c319fd9c71890d9dbbb',
+ showIssue: false,
+ issueId: '',
casOptions: [],
agencyIdArray: [],
@@ -243,7 +243,6 @@ export default {
this.orgId = this.agencyInfo.agencyId
this.orgType = this.agencyInfo.level === 'grid' ? 'grid' : 'agency'
-
if (!this.agencyInfo.latitude) {
this.agencyInfo.latitude = 36.072227
}
diff --git a/src/views/modules/visual/communityGovern/typeAnalyze.vue b/src/views/modules/visual/communityGovern/typeAnalyze.vue
index d6a9d629..a78d2c24 100644
--- a/src/views/modules/visual/communityGovern/typeAnalyze.vue
+++ b/src/views/modules/visual/communityGovern/typeAnalyze.vue
@@ -43,7 +43,8 @@
+ :list="demand.list"
+ @operate="toProjectInfo">
@@ -61,6 +62,11 @@
+