From 2e202a4e92fa1dcceda5d6d060b0a220470e4c75 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Tue, 17 May 2022 14:04:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E5=A4=84=E7=90=86=E5=88=86?= =?UTF-8?q?=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scss/modules/visual/processAnalyze.scss | 57 -- src/assets/scss/modules/visual/resibuzz.scss | 58 -- src/assets/scss/modules/visual/search_1.scss | 132 ++++ .../modules/visual/shijianchulifenxi.scss | 173 +++++ .../scss/modules/visual/typeAnalyze.scss | 58 -- src/router/index.js | 5 + .../communityGovern/distributionAnalyze.vue | 11 +- .../visual/communityGovern/processAnalyze.vue | 10 +- .../visual/communityGovern/resibuzz copy.vue | 523 ------------- .../visual/communityGovern/resibuzz.vue | 54 +- .../shijianchuli/processLineOption.js | 86 +++ .../processPieOption.js} | 66 +- .../shijianchuli/shijianchulifenxi.vue | 699 ++++++++++++++++++ .../visual/communityGovern/typeAnalyze.vue | 50 +- 14 files changed, 1201 insertions(+), 781 deletions(-) create mode 100644 src/assets/scss/modules/visual/search_1.scss create mode 100644 src/assets/scss/modules/visual/shijianchulifenxi.scss delete mode 100644 src/views/modules/visual/communityGovern/resibuzz copy.vue create mode 100644 src/views/modules/visual/communityGovern/shijianchuli/processLineOption.js rename src/views/modules/visual/communityGovern/{resiPieOption copy.js => shijianchuli/processPieOption.js} (78%) create mode 100644 src/views/modules/visual/communityGovern/shijianchuli/shijianchulifenxi.vue diff --git a/src/assets/scss/modules/visual/processAnalyze.scss b/src/assets/scss/modules/visual/processAnalyze.scss index 098753e0..ba44dbfa 100644 --- a/src/assets/scss/modules/visual/processAnalyze.scss +++ b/src/assets/scss/modules/visual/processAnalyze.scss @@ -2,63 +2,6 @@ @import '../../c/function'; @import './c/common'; -.title { - padding: 10px; - font-size: 22px; - font-family: PingFang SC; - font-weight: 800; - color: #ffffff; - display: flex; - align-items: center; - position: relative; - - img { - display: block; - margin-right: 5px; - } - span { - display: block; - } - - .second-title { - display: flex; - align-items: center; - - .second-select { - margin: 0 10px 0 40px; - - ::v-deep .el-input { - width: 140px; - height: 36px; - .el-input__inner { - height: 100%; - padding: 0 10px; - color: #fff; - line-height: 36px; - background: #06186d; - border: 1px solid #1a64cc; - } - .el-icon-arrow-up:before { - content: '\e78f'; - } - } - ::v-deep .el-date-editor { - .el-input__prefix { - left: unset; - right: 5px; - } - } - } - .cascader { - ::v-deep .el-input { - width: 220px; - } - } - .second-select:last-child { - margin-left: 0; - } - } -} .g-cpt-resi { display: flex; diff --git a/src/assets/scss/modules/visual/resibuzz.scss b/src/assets/scss/modules/visual/resibuzz.scss index 8ea3f5ee..6d43913e 100644 --- a/src/assets/scss/modules/visual/resibuzz.scss +++ b/src/assets/scss/modules/visual/resibuzz.scss @@ -2,65 +2,7 @@ @import '../../c/function'; @import './c/common'; -.title { - padding: 10px; - font-size: 22px; - font-family: PingFang SC; - font-weight: 800; - color: #ffffff; - display: flex; - align-items: center; - position: relative; - - img { - display: block; - margin-right: 5px; - } - span { - display: block; - } - - .second-select { - margin: 0 10px 0 40px; - - ::v-deep .el-input { - width: 140px; - height: 36px; - .el-input__inner { - height: 100%; - padding: 0 10px; - color: #fff; - line-height: 36px; - background: #06186d; - border: 1px solid #1a64cc; - } - .el-icon-arrow-up:before { - content: '\e78f'; - } - } - ::v-deep .el-date-editor { - .el-input__prefix { - left: unset; - right: 5px; - } - } - } - .cascader { - ::v-deep .el-input { - width: 220px; - } - } - .status-select { - margin-left: 10px; - // position: absolute; - // top: 20px; - // right: 10px; - } - .second-select:last-child { - margin-left: 0; - } -} .g-cpt-resi { display: flex; diff --git a/src/assets/scss/modules/visual/search_1.scss b/src/assets/scss/modules/visual/search_1.scss new file mode 100644 index 00000000..b082a462 --- /dev/null +++ b/src/assets/scss/modules/visual/search_1.scss @@ -0,0 +1,132 @@ +@import '../../c/config'; +@import '../../c/function'; +@import './c/common'; + +.title { + padding: 10px; + font-size: 22px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + display: flex; + align-items: center; + position: relative; + >img { + display: block; + margin-right: 5px; + } + >span { + display: block; + } + + .search{ + display: block; + display: flex; + align-items: center; + margin-left:40px; + + .second-select { + + margin: 0 10px 0 10px; + + ::v-deep .el-input { + width: 180px; + height: 36px; + .el-input__inner { + height: 100%; + padding: 0 10px; + color: #fff; + line-height: 36px; + background: #06186d; + border: 1px solid #1a64cc; + } + + .el-icon-arrow-up:before { + content: '\e78f'; + } + // .el-select__caret:before { + // content: '\E790' + // } + } + + + + + } + + } + + .range-data { + ::v-deep .el-date-editor { + width: 360px; + position: relative; + background: #06186d; + border: 1px solid #1a64cc; + .el-range-input { + color: #fff; + background: #06186d; + margin-left: 10px; + } + .el-range-separator { + color: #fff; + } + .el-range__icon { + position: absolute; + right: 5px; + // float: right; + } + .el-input__prefix { + left: unset; + right: 5px; + } + } + } + + .one-date{ + ::v-deep .el-date-editor { + .el-input__prefix { + left: unset; + right: 5px; + } + } + } + + + + .second-title { + display: block; + display: flex; + align-items: center; + margin-left + + .second-title-label { + position: relative; + padding-left: 40px; + font-size: 16px; + font-weight: 500; + color: #fff; + } + .second-title-label::after { + content: ''; + position: absolute; + top: 50%; + left: 20px; + width: 12px; + height: 12px; + box-sizing: border-box; + margin-top: -6px; + background: #2865fa; + border-radius: 50%; + } + + } + .cascader { + ::v-deep .el-input { + width: 220px; + } + } + + +} + + diff --git a/src/assets/scss/modules/visual/shijianchulifenxi.scss b/src/assets/scss/modules/visual/shijianchulifenxi.scss new file mode 100644 index 00000000..82d5cb58 --- /dev/null +++ b/src/assets/scss/modules/visual/shijianchulifenxi.scss @@ -0,0 +1,173 @@ +@import '../../c/config'; +@import '../../c/function'; +@import './c/common'; + + +.g-cpt-resi { + display: flex; + flex-direction: row; + height: calc(100vh - 180px); + + .g-l { + flex-shrink: 0; + width: 700px; + height: calc(100vh - 230px); + + .l_top { + height: 385px; + display: flex; + align-items: center; + + + } + .l_bottom { + height: calc(100vh - 230px - 385px); + margin-top: 20px; + } + } + + .g-r { + text-align: center; + margin: 20px 10px 20px; + width: calc(100vw - 700px); + height: calc(100vh - 180px - 20px); + } +} + +.l_bottom { + .bottom_label { + position: relative; + padding-left: 40px; + font-size: 16px; + font-weight: 500; + color: #fff; + } + .bottom_label::after { + content: ''; + position: absolute; + top: 50%; + left: 20px; + width: 12px; + height: 12px; + box-sizing: border-box; + margin-top: -6px; + background: #2865fa; + border-radius: 50%; + } + > span { + font-size: 18px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + } + .echart-line { + margin-top: 10px; + height: 100%; + } +} + + +.g-r { + .m-tb { + position: relative; + height: 100%; + .tb { + height: calc(100vh - 170px - 50px - 50px); + overflow-y: auto; + @include scrollBar; + } + .m-pagination { + box-sizing: border-box; + position: absolute; + right: 5px; + bottom: 5px; + 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; + } + } + } +} + +.echart-wr { + margin-left: 30px; + // margin-top: 100px; + text-align: center; + position: relative; + width: 500px; + height: 385px; + + box-sizing: border-box; +} + +.g-pie { + position: relative; + display: flex; + + .pie-legend { + margin-left: 30px; + + display: flex; + flex-direction: column; + justify-content: center; + + .legend_item { + .item_name { + margin-left: 5px; + font-size: 10px; + font-family: PingFang SC; + font-weight: 500; + color: #eff0f1; + } + > img { + margin-top: -10px; + width: 80px; + height: 10px; + } + .item_num { + .item_count { + font-size: 17px; + font-family: PingFang SC; + font-weight: 500; + color: #ffffff; + } + + .item_percent { + margin-left: 12px; + font-size: 8px; + font-family: PingFang SC; + font-weight: 300; + color: #ffffff; + line-height: 18px; + } + } + } + + .item_last { + margin-top: 20px; + } + } +} + +.table-status { + position: relative; + width: 600px; + margin: auto; +} diff --git a/src/assets/scss/modules/visual/typeAnalyze.scss b/src/assets/scss/modules/visual/typeAnalyze.scss index 9e29b79e..0d1accf7 100644 --- a/src/assets/scss/modules/visual/typeAnalyze.scss +++ b/src/assets/scss/modules/visual/typeAnalyze.scss @@ -2,64 +2,6 @@ @import '../../c/function'; @import './c/common'; -.title { - padding: 10px; - font-size: 22px; - font-family: PingFang SC; - font-weight: 800; - color: #ffffff; - display: flex; - align-items: center; - position: relative; - - img { - display: block; - margin-right: 5px; - } - span { - display: block; - } - - .second-select { - margin: 0 10px 0 40px; - - ::v-deep .el-input { - width: 140px; - height: 36px; - .el-input__inner { - height: 100%; - padding: 0 10px; - color: #fff; - line-height: 36px; - background: #06186d; - border: 1px solid #1a64cc; - } - .el-icon-arrow-up:before { - content: '\e78f'; - } - } - ::v-deep .el-date-editor { - .el-input__prefix { - left: unset; - right: 5px; - } - } - } - - .cascader { - ::v-deep .el-input { - width: 220px; - } - } - .status-select { - position: absolute; - top: 20px; - right: 10px; - } - .second-select:last-child { - margin-left: 0; - } -} .g-cpt-resi { display: flex; diff --git a/src/router/index.js b/src/router/index.js index bd3fbe5a..4aea5aa8 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -308,6 +308,11 @@ router.beforeEach((to, from, next) => { id: "6", name: "社区治理", children: [ + { + url: "visual/communityGovern/shijianchuli/shijianchulifenxi", + name: "事件处理分析", + id: "shijianchulifenxi", + }, { url: "visual/communityGovern/processAnalyze", name: "事件处置分析", diff --git a/src/views/modules/visual/communityGovern/distributionAnalyze.vue b/src/views/modules/visual/communityGovern/distributionAnalyze.vue index fd78963f..5cc61996 100644 --- a/src/views/modules/visual/communityGovern/distributionAnalyze.vue +++ b/src/views/modules/visual/communityGovern/distributionAnalyze.vue @@ -5,7 +5,7 @@ 事件分布分析 -
+