diff --git a/src/assets/scss/modules/visual/incident-info.scss b/src/assets/scss/modules/visual/incident-info.scss index 25c58be0..a8fa9ff2 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: 14px; + padding-left: 62px; + font-size: 14px; + 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/assets/scss/modules/visual/typeAnalyze.scss b/src/assets/scss/modules/visual/typeAnalyze.scss index 252122c7..9e29b79e 100644 --- a/src/assets/scss/modules/visual/typeAnalyze.scss +++ b/src/assets/scss/modules/visual/typeAnalyze.scss @@ -135,3 +135,7 @@ height: 90%; } } + +.table-status { + margin-top: 200px; +} diff --git a/src/views/modules/communityParty/elegant/index.vue b/src/views/modules/communityParty/elegant/index.vue index e7898638..91fcc877 100644 --- a/src/views/modules/communityParty/elegant/index.vue +++ b/src/views/modules/communityParty/elegant/index.vue @@ -339,18 +339,18 @@ export default { .then((res) => { this.importLoading = false this.importBtnTitle = '导入人员数据' - let fileName = window.decodeURI(res.headers["content-disposition"].split(";")[1].split("=")[1]) - console.log('filename', fileName) - let blob = new Blob([res.data], { type: 'application/vnd.ms-excel' }) - var url = window.URL.createObjectURL(blob) - var aLink = document.createElement('a') - aLink.style.display = 'none' - aLink.href = url - aLink.setAttribute('download', fileName) - document.body.appendChild(aLink) - aLink.click() - document.body.removeChild(aLink) //下载完成移除元素 - window.URL.revokeObjectURL(url) //释放掉blob对象 + // let fileName = window.decodeURI(res.headers["content-disposition"].split(";")[1].split("=")[1]) + // console.log('filename', fileName) + // let blob = new Blob([res.data], { type: 'application/vnd.ms-excel' }) + // var url = window.URL.createObjectURL(blob) + // var aLink = document.createElement('a') + // aLink.style.display = 'none' + // aLink.href = url + // aLink.setAttribute('download', fileName) + // document.body.appendChild(aLink) + // aLink.click() + // document.body.removeChild(aLink) //下载完成移除元素 + // window.URL.revokeObjectURL(url) //释放掉blob对象 this.getTableData() }) .catch( err => { diff --git a/src/views/modules/visual/communityGovern/cpt/project-info.vue b/src/views/modules/visual/communityGovern/cpt/project-info.vue index 952c3df4..30e768c6 100644 --- a/src/views/modules/visual/communityGovern/cpt/project-info.vue +++ b/src/views/modules/visual/communityGovern/cpt/project-info.vue @@ -134,11 +134,13 @@