| src/components/map/index.vue | ●●●●● patch | view | raw | blame | history | |
| src/styles/icon/index.scss | ●●●●● patch | view | raw | blame | history | |
| src/styles/media/index.scss | ●●●●● patch | view | raw | blame | history | |
| src/views/home/components/leftContainer.vue | ●●●●● patch | view | raw | blame | history | |
| src/views/home/components/rightContainer.vue | ●●●●● patch | view | raw | blame | history | |
| src/views/home/index.vue | ●●●●● patch | view | raw | blame | history |
src/components/map/index.vue
@@ -2,7 +2,7 @@ * @Author: shuishen 1109946754@qq.com * @Date: 2022-08-18 17:00:30 * @LastEditors: shuishen 1109946754@qq.com * @LastEditTime: 2023-04-19 14:15:07 * @LastEditTime: 2023-04-19 15:03:27 * @FilePath: \srs-police-affairs\src\components\map\index.vue * @Description: 公用地图组件 * src/styles/icon/index.scss
@@ -80,7 +80,7 @@ background-size: countSizeVh(16) countSizeVh(16); } .el-icon-police-track { .el-icon-police-track:before { content: "替"; font-size: countSizeVh(16); visibility: hidden; src/styles/media/index.scss
@@ -79,6 +79,22 @@ height: countSizeVh(320); } .case-box { .duty-information-box { padding: countSizeVh(16); flex: 1; &>div { padding: countSizeVh(10); } span { line-height: countSizeVh(36); } } } .person-box, .house-box, .land-box, src/views/home/components/leftContainer.vue
@@ -149,6 +149,7 @@ let houseMyChart let landMyChart let timer let curSubofficeData let leftTiming = null let keyPeopleDataLength = 0 @@ -356,7 +357,7 @@ getVillagePersonStatisticInfo().then(res => { if (res.data.code == 200) { this.disposeEchart() curSubofficeData = res.data.data this.personAll = res.data.data this.policeStationPersonInfo = res.data.data @@ -383,6 +384,7 @@ getVillagePersonStatisticInfoByPoliceStationId (policeStationId, name) { getVillagePersonStatisticInfoByPoliceStationId(policeStationId, name).then(res => { if (res.data.code == 200) { this.disposeEchart() var chartDom = document.getElementById('PersonEcharts') homePersonmyChart = this.$echarts.init(chartDom) @@ -567,6 +569,7 @@ * @return {*} */ backBegin () { this.personAll = curSubofficeData this.dataDeep = 1 this.initPersonEcharts() this.$parent.getAllPoliceStationCenter() src/views/home/components/rightContainer.vue
@@ -24,19 +24,31 @@ </div> </div> <div class="table-box" v-show="showMJL"> <el-table size="small" :height="tableHeight" :data="schedulingList" style="width: 100%" empty-text=" " :show-header="false" :header-cell-style="{ 'text-align': 'center' }" :cell-style="{ borderColor: '#324e75' }" :row-class-name="tableRowClassName" v-loading="schedulingLoading" element-loading-text="拼命加载中" element-loading-spinner="el-icon-loading" element-loading-background="rgba(0, 0, 0, 0.5)"> <el-table-column :show-overflow-tooltip="true" v-for="(item, index) in transTitle" :label="item.label" :min-width="item.width" :key="index" :align="item.align"> <template slot-scope="scope"> {{ scope.row[index] }} </template> </el-table-column> </el-table> <div class="duty-information-box" v-show="showMJL"> <div> <div> <span> 值班 </span> </div> <div> <span> 徐星逸,任圣日,娄永攀,蔡善龙,陈小强,刘开勇,梅祥,吕镇,付建冬 </span> </div> </div> <div> <div> <span> 副班、巡逻 </span> </div> <div> <span> 章正椿,夏文翔,叶江明,黄俊龙,苏茯林,王顺祥 </span> </div> </div> </div> </div> @@ -1141,15 +1153,62 @@ // white-space: pre-line; white-space: pre-wrap; height: 100% !important; line-height: 3.4vh !important; line-height: 3.2 !important; } .el-table__body-wrapper { height: 100% !important; overflow: hidden; .el-table__body { width: 100% !important; height: 100% !important; tbody { width: 100% !important; height: 100% !important; td { flex: 1; } } } } } } .duty-information-box { height: 100%; &>div:first-child { background: $table-body-tr-n-color; } &>div:last-child { background: $table-body-tr-2n-color; } &>div { display: flex; height: 50%; &>div { display: flex; align-items: center; } &>div:first-child { width: 28%; justify-content: center; } &>div:last-child { width: 72%; text-align: left; } } } #peopleList { height: 100%; src/views/home/index.vue
@@ -2,7 +2,7 @@ * @Author: shuishen 1109946754@qq.com * @Date: 2022-08-18 16:18:17 * @LastEditors: shuishen 1109946754@qq.com * @LastEditTime: 2023-04-18 21:54:21 * @LastEditTime: 2023-04-19 15:02:38 * @FilePath: \srs-police-affairs\src\views\home\index.vue * @Description: 小区-栋-层-房屋 * @@ -1433,6 +1433,7 @@ stroke: positionColor[index], fill: positionColor[index], //注意:颜色必须大写,即不能为blue strokeWidth: 0, clampToGround: true }).then(function (dataSource) { DataSourcesArray.push(dataSource) that.areaPolygonLayerShow == false ? dataSource.show = false : dataSource.show = true @@ -1522,6 +1523,7 @@ stroke: positionColor[index], fill: positionColor[index], //注意:颜色必须大写,即不能为blue strokeWidth: 0, clampToGround: true }).then(function (dataSource) { DataSourcesArray.push(dataSource)