-
消火栓
+
+ 消火栓
+ 消防水池
+ 天然水源
+
- save 保存
+ save 保存
open_in_browser 提交审核
-
基本信息
@@ -70,21 +91,19 @@
*
名称:
-
+
-
-
行政区:
-
+
水源归属:
-
+
市政
单位(小区)
@@ -93,7 +112,7 @@
所属单位(小区):
-
+
位置信息
@@ -102,7 +121,7 @@
地址:
-
+
@@ -120,12 +139,13 @@
详细信息
-
+
+
可用状态:
-
+
可用
维护
损坏
@@ -135,16 +155,16 @@
放置形式:
-
+
地上
地下
- 管网状态:
+ 管网形式:
-
+
枝状管网
环状管网
混合状管网
@@ -155,20 +175,23 @@
管网直径:
-
- 100
- 150
- 200
- 300
- 350
- 400
-
+
+
+ 100
+ 150
+ 200
+ 300
+ 350
+ 400
+
+ mm
+
管网压力类型:
-
+
高压管网
临时高压管网
低压管网
@@ -178,13 +201,16 @@
管网压力范围:
-
+
+
+ Mpa
+
接口形式:
-
+
内扣式
卡式
螺纹式
@@ -194,36 +220,214 @@
接口口径:
-
- 65
- 80
- 100
- 150
-
+
+
+ 65
+ 80
+ 100
+ 150
+
+ mm
+
+
最大流量:
-
+
+
+ L/s
+
+
+
+
+ 供水单位:
+
+
+
+
+
+ 联系方式:
+
+
+
+
+
+ 备注:
+
+
+
+
+
+
+
+
+ 可用状态:
+
+
+ 可用
+ 维护
+ 损坏
+
+
+
+
+ 储水量:
+
+
+
+ m³
+
+
+
+
+ 取水最大流量:
+
+
+
+ L/s
+
+
+
+
+ 进水流量:
+
+
+
+ L/s
+
+
+
+
+ 同时取水车辆数:
+
+
+
+
+
+ 水源标高差:
+
+
+
+ m
+
+
+
+
+ 补水时间:
+
+
+
+
+
+ 管网形式:
+
+
+
+
+
+ 供水单位:
+
+
+
+
+
+ 联系方式:
+
+
+
+
+
+ 备注:
+
+
+
+
+
+
+
+
+ 可用状态:
+
+
+ 可用
+ 维护
+ 损坏
+
+
+
+
+ 天然水源类型:
+
+
+
+
+
+ 有无消防码头:
+
+
+ 有
+ 无
+
+
+
+
+ 水质:
+
+
+ 淡水
+ 海水
+ 中水
+
+
+
+
+ 同时取水车辆数:
+
+
+
+
+
+ 水源标高差:
+
+
+
+ m
+
+
+
+
+ 有无枯水期:
+
+
+ 有
+ 无
+
+
+
+
+ 枯水期时间:
+
+
供水单位:
-
+
联系方式:
-
+
备注:
-
+
diff --git a/src/app/data-collection/water-collection/water-collection.component.scss b/src/app/data-collection/water-collection/water-collection.component.scss
index 4dc2a6c..debc2c4 100644
--- a/src/app/data-collection/water-collection/water-collection.component.scss
+++ b/src/app/data-collection/water-collection/water-collection.component.scss
@@ -14,7 +14,10 @@
width: 400px;
height: 100%;
background-color: #fff;
+ display: flex;
+ flex-direction: column;
.topbox{
+ max-height: 200px;
box-sizing: border-box;
padding: 10px 22px 22px;
.add{
@@ -60,12 +63,16 @@
}
}
.contantbox{
+ flex: 1;
+ overflow-y: auto;
+ display: flex;
+ flex-direction: column;
.title{
display: flex;
justify-content: space-between;
width: 100%;
box-sizing: border-box;
- padding: 0 22px;
+ padding: 0 33px 0 22px;
height: 36px;
line-height: 36px;
span{
@@ -73,6 +80,74 @@
font-weight: 500;
}
}
+ .waterList{
+ flex: 1;
+ overflow-y: auto;
+ li{
+ cursor: pointer;
+ width: 100%;
+ height: 36px;
+ line-height: 36px;
+ display: flex;
+ align-items: center;
+ font-size: 14px;
+ div{
+ float: left;
+ box-sizing: border-box;
+ }
+ .address{
+ text-align: left;
+ width: 60%;
+ padding-left: 22px;
+ white-space:nowrap;
+ overflow:hidden;
+ text-overflow:ellipsis;
+ }
+ .integrity{
+ height: 58%;
+ width: 32%;
+ position: relative;
+ background-color: #F2F4F6;
+ .integrityNum{
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ transform: translate(-50%, -50%);
+ color: black;
+ font-size: 13px;
+ cursor: default;
+ }
+ .integrityColorDiv{
+ height: 100%;
+ }
+ }
+ .deletebtn{
+ flex: 1;
+ text-align: center;
+ mat-icon{
+ width: 20px;
+ height: 20px;
+ cursor: pointer;
+ font-size: 20px;
+ vertical-align: text-top;
+ color: rgba(49, 46, 46, 0.144);
+ }
+ mat-icon:hover{
+ color: #000;
+ }
+ }
+ }
+ li:hover{
+ background-color: #b3d3ee;
+ }
+ .selectedLi{
+ background-color: #b3d3ee;
+ }
+ }
+ .paginator{
+ height: 56px;
+ width: 100%;
+ }
}
}
.mapbox{
@@ -218,7 +293,85 @@
border: 1px solid #EBEBEB;
border-radius: 5px;
}
+ .longinput{
+ width: 74%;
+ }
+ .unitDiv{
+ width: 60%;
+ position: relative;
+ input,select{
+ width: 100%;
+ box-sizing: border-box;
+ padding-right: 50px;
+ }
+ .unit{
+ position: absolute;
+ right: 13px;
+ top: 4px;
+ color: #000000;
+ opacity: 0.4;
+ }
+ }
+ }
+ }
+}
+.addWaterBox{
+ width: 260px;
+ height: 284px;
+ display: flex;
+ flex-direction: column;
+ .topbox{
+ width: 100%;
+ height: 40px;
+ line-height: 40px;
+ background-color: #2196F3;
+ text-align: center;
+ color: #FFFFFF;
+ font-size: 15px;
+ }
+ .contant{
+ flex: 1;
+ box-sizing: border-box;
+ padding: 0 30px;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-around;
+ div{
+ width: 100%;
+ height: 36px;
+ line-height: 36px;
+ text-align: center;
+ background-color: #F2F4F6;
+ font-size: 14px;
+ cursor: pointer;
+ border: 1px solid #fff;
+ border-radius: 4px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ img{
+ margin-right: 3px;
+ }
+ }
+ .selectedDiv{
+ background-color: #2196F3;
+ color: #fff;
+ border: 1px solid #2196F3;
+ }
+ }
+ .btnbox{
+ width: 100%;
+ height: 50px;
+ box-sizing: border-box;
+ padding: 0px 30px;
+ display: flex;
+ align-items: flex-start;;
+ justify-content: space-between;
+ button{
+ width: 80px;
+ height: 36px;
+ line-height: 36px;
}
}
}
\ No newline at end of file
diff --git a/src/app/data-collection/water-collection/water-collection.component.ts b/src/app/data-collection/water-collection/water-collection.component.ts
index d013c7d..17dd475 100644
--- a/src/app/data-collection/water-collection/water-collection.component.ts
+++ b/src/app/data-collection/water-collection/water-collection.component.ts
@@ -1,6 +1,9 @@
-import { Renderer2 } from '@angular/core';
+import { HttpClient } from '@angular/common/http';
+import { Inject, Renderer2 } from '@angular/core';
import { ElementRef } from '@angular/core';
import { Component, OnInit } from '@angular/core';
+import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
+import { MatSnackBar, MatSnackBarConfig } from '@angular/material/snack-bar';
declare var AMap: any;
@Component({
@@ -10,7 +13,7 @@ declare var AMap: any;
})
export class WaterCollectionComponent implements OnInit {
- constructor(private elementRef: ElementRef,public renderer2: Renderer2) { }
+ constructor(public snackBar: MatSnackBar,private http:HttpClient,private elementRef: ElementRef,public renderer2: Renderer2,public dialog: MatDialog) { }
isCheckedOfSearchDiv:boolean = true//列表过滤滑块
slideChange(e){
@@ -21,6 +24,7 @@ export class WaterCollectionComponent implements OnInit {
integrityNum:''
}
listIntegrityNum:any[] = [
+ {id:-1,name:'全部'},
{id:0,name:'<=50%'},
{id:1,name:'50%-60%'},
{id:2,name:'60%-70%'},
@@ -34,24 +38,328 @@ export class WaterCollectionComponent implements OnInit {
{id:2,name:'天然水源'}
]
ngOnInit(): void {
+ this.getAllWaterData()
setTimeout(() => {
this.createMap()
}, 0);
}
+ //获得所有水源
+ addWaterListData:any
+ dataLength:any //获取的数据一共多少条
+ PageNumber:any = 1 //当前第几页
+ getAllWaterData(){
+ let MinIntegrity = 0
+ let MaxIntegrity = 1.1
+ if(this.searchForm.integrityNum == '0'){
+ MinIntegrity = 0
+ MaxIntegrity = 0.5
+ }else if(this.searchForm.integrityNum == '1'){
+ MinIntegrity = 0.5
+ MaxIntegrity = 0.6
+ }else if(this.searchForm.integrityNum == '2'){
+ MinIntegrity = 0.6
+ MaxIntegrity = 0.7
+ }else if(this.searchForm.integrityNum == '3'){
+ MinIntegrity = 0.7
+ MaxIntegrity = 0.8
+ }else if(this.searchForm.integrityNum == '4'){
+ MinIntegrity = 0.8
+ MaxIntegrity = 0.9
+ }else if(this.searchForm.integrityNum == '5'){
+ MinIntegrity = 0.9
+ MaxIntegrity = 1.1
+ }else if(this.searchForm.integrityNum == '-1'){
+ MinIntegrity = 0
+ MaxIntegrity = 1.1
+ }
+ let params:any = {
+ Keyword : this.searchForm.name,
+ PageSize : 30,
+ PageNumber : this.PageNumber,
+ MinIntegrity : MinIntegrity,
+ MaxIntegrity : MaxIntegrity
+ }
+ this.http.get('/api/WaterSources',{params:params}).subscribe((data:any) => {
+ this.addWaterListData = data
+ this.dataLength = data.totalCount
+ console.log('所有水源',data)
+ })
+ }
//搜索
searchList(){
console.log(this.searchForm)
+ this.getAllWaterData()
+ }
+ //分页事件
+ chagePage(e){
+ this.PageNumber = e.pageIndex+1
+ this.getAllWaterData()
+ }
+ //js乘法
+ accMul(arg1,arg2,fix) {
+ if(!parseInt(fix)==fix)
+ {
+ return;
+ }
+ var m=0,s1=arg1.toString(),s2=arg2.toString();
+ try{m+=s1.split(".")[1].length}catch(e){}
+ try{m+=s2.split(".")[1].length}catch(e){}
+ if(m>fix){
+ return (Math.round(Number(s1.replace(".",""))*Number(s2.replace(".",""))/Math.pow(10,m-fix))/Math.pow(10,fix));
+ }else if(m<=fix){
+ return (Number(s1.replace(".",""))*Number(s2.replace(".",""))/Math.pow(10,m)).toFixed(fix);
+ }else{
+ return (arg1*arg2).toFixed(fix).toString();
+ }
+ }
+ //点击水源列表
+ selectedLiIndex:any
+ clickWaterLi(item,index){
+ console.log(item)
+ if(this.selectedLiIndex != index){
+ this.selectedLiIndex = index
+ this.clearData()
+ this.selectedWaterTypeIndex = item.waterSourceType//点击的水源类型
+ this.waterData = item
+ item.waterSourceType == 0 && item.detailData ? this.fireCockData = JSON.parse(item.detailData) : null
+ item.waterSourceType == 1 && item.detailData ? this.poolData = JSON.parse(item.detailData) : null
+ item.waterSourceType == 2 && item.detailData ? this.naturalWaterData = JSON.parse(item.detailData) : null
+ this.positionLngLat = item.location
+ if(this.newPositionMarker){
+ this.map.remove(this.newPositionMarker);
+ }
+ if(item.location.x){//如果已经标注单位坐标
+ console.log('开始标注')
+
+ this.map.setCenter([item.location.x,item.location.y]);
+ this.newPositionMarker = new AMap.Marker({
+ position: [item.location.x,item.location.y],
+ content: this.newPositionMarkerContent,
+ offset: new AMap.Pixel(-15, -18)
+ })
+ // 将 markers 添加到地图
+ this.map.add(this.newPositionMarker);
+ }
+ }
+ }
+ //完整度颜色
+ integrity(width){
+ let _this = this
+ let style:any = {}
+ style.width = width +'%';
+ if(width < 30){
+ style.background = '#FF5D4A'
+ }
+ if(width >= 30 && width < 60){
+ style.background = '#FFDD00'
+ }
+ if(width >= 60){
+ style.background = '#5CD64E'
+ }
+ return style
+ }
+ //删除某条水源
+ deleteWater(item,e){
+ e.stopPropagation()
+ let isDelete = window.confirm('确定要删除此条水源信息吗')
+ if(isDelete){
+ this.http.delete(`/api/WaterSources/${item.id}`).subscribe(data => {
+ const config = new MatSnackBarConfig();
+ config.verticalPosition = 'top';
+ config.duration = 3000
+ this.addWaterListData.items = this.addWaterListData.items.filter(x => {
+ return item.id != x.id
+ })
+ this.dataLength = this.dataLength - 1
+ // this.getAllWaterData()
+ this.snackBar.open('删除成功','确定',config);
+ })
+ }
+ }
+ waterData:any = {
+ id:null,
+ name:'',
+ administrativeRegion:'',//行政区
+ governmentLevel:'',//水源归属
+ village:'',//所属单位(小区)
+ address:'',
+ location:{x:'',y:''},
+ detailData:'',//详细信息
+ createTime:'',
+ creatorId:''
}
+ //消火栓详细信息
+ fireCockData:any = [
+ {PropertyName :'可用状态',PropertyValue:''},
+ {PropertyName :'放置形式',PropertyValue:''},
+ {PropertyName :'管网形式',PropertyValue:''},
+ {PropertyName :'管网直径',PropertyValue:''},
+ {PropertyName :'管网压力类型',PropertyValue:''},
+ {PropertyName :'管网压力范围',PropertyValue:''},
+ {PropertyName :'接口形式',PropertyValue:''},
+ {PropertyName :'接口口径',PropertyValue:''},
+ {PropertyName :'最大流量',PropertyValue:''},
+ {PropertyName :'供水单位',PropertyValue:''},
+ {PropertyName :'联系方式',PropertyValue:''},
+ {PropertyName :'备注',PropertyValue:''}
+ ]
+ //消防水池详细信息
+ poolData:any = [
+ {PropertyName :'可用状态',PropertyValue:''},
+ {PropertyName :'储水量',PropertyValue:''},
+ {PropertyName :'取水最大流量',PropertyValue:''},
+ {PropertyName :'进水流量',PropertyValue:''},
+ {PropertyName :'同时取水车辆数',PropertyValue:''},
+ {PropertyName :'水源标高差',PropertyValue:''},
+ {PropertyName :'补水时间',PropertyValue:''},
+ {PropertyName :'管网形式',PropertyValue:''},
+ {PropertyName :'供水单位',PropertyValue:''},
+ {PropertyName :'联系方式',PropertyValue:''},
+ {PropertyName :'备注',PropertyValue:''}
+ ]
+ //天然水源详细信息
+ naturalWaterData:any = [
+ {PropertyName :'可用状态',PropertyValue:''},
+ {PropertyName :'天然水源类型',PropertyValue:''},
+ {PropertyName :'有无消防码头',PropertyValue:''},
+ {PropertyName :'水质',PropertyValue:''},
+ {PropertyName :'同时取水车辆数',PropertyValue:''},
+ {PropertyName :'水源标高差',PropertyValue:''},
+ {PropertyName :'有无枯水期',PropertyValue:''},
+ {PropertyName :'枯水期时间',PropertyValue:''},
+ {PropertyName :'供水单位',PropertyValue:''},
+ {PropertyName :'联系方式',PropertyValue:''},
+ {PropertyName :'备注',PropertyValue:''}
+ ]
+ //清空表单数据
+ clearData(){
+ this.waterData = {
+ id:null,
+ name:'',
+ administrativeRegion:'',//行政区
+ governmentLevel:'',//水源归属
+ village:'',//所属单位(小区)
+ address:'',
+ location:{x:'',y:''},
+ detailData:'',//详细信息
+ createTime:'',
+ creatorId:''
+ }
+ this.fireCockData = [
+ {PropertyName :'可用状态',PropertyValue:''},
+ {PropertyName :'放置形式',PropertyValue:''},
+ {PropertyName :'管网形式',PropertyValue:''},
+ {PropertyName :'管网直径',PropertyValue:''},
+ {PropertyName :'管网压力类型',PropertyValue:''},
+ {PropertyName :'管网压力范围',PropertyValue:''},
+ {PropertyName :'接口形式',PropertyValue:''},
+ {PropertyName :'接口口径',PropertyValue:''},
+ {PropertyName :'最大流量',PropertyValue:''},
+ {PropertyName :'供水单位',PropertyValue:''},
+ {PropertyName :'联系方式',PropertyValue:''},
+ {PropertyName :'备注',PropertyValue:''}
+ ]
+
+ this.poolData = [
+ {PropertyName :'可用状态',PropertyValue:''},
+ {PropertyName :'储水量',PropertyValue:''},
+ {PropertyName :'取水最大流量',PropertyValue:''},
+ {PropertyName :'进水流量',PropertyValue:''},
+ {PropertyName :'同时取水车辆数',PropertyValue:''},
+ {PropertyName :'水源标高差',PropertyValue:''},
+ {PropertyName :'补水时间',PropertyValue:''},
+ {PropertyName :'管网形式',PropertyValue:''},
+ {PropertyName :'供水单位',PropertyValue:''},
+ {PropertyName :'联系方式',PropertyValue:''},
+ {PropertyName :'备注',PropertyValue:''}
+ ]
+ this.naturalWaterData = [
+ {PropertyName :'可用状态',PropertyValue:''},
+ {PropertyName :'天然水源类型',PropertyValue:''},
+ {PropertyName :'有无消防码头',PropertyValue:''},
+ {PropertyName :'水质',PropertyValue:''},
+ {PropertyName :'同时取水车辆数',PropertyValue:''},
+ {PropertyName :'水源标高差',PropertyValue:''},
+ {PropertyName :'有无枯水期',PropertyValue:''},
+ {PropertyName :'枯水期时间',PropertyValue:''},
+ {PropertyName :'供水单位',PropertyValue:''},
+ {PropertyName :'联系方式',PropertyValue:''},
+ {PropertyName :'备注',PropertyValue:''}
+ ]
+ }
+ //新增水源
+ selectedWaterTypeIndex:any//新增水源类型
+ addWater(){
+ const dialogRef = this.dialog.open(AddWater, {
+ data: {},
+ id:'addWater'
+ });
+ dialogRef.afterClosed().subscribe(
+ data=>{
+ if(typeof data === 'number' && !isNaN(data)){
+ this.selectedWaterTypeIndex = data
+ this.newPositionMarker ? this.map.remove(this.newPositionMarker) : null
+ this.positionLngLat.x = 0
+ this.positionLngLat.y = 0
+ this.map.setCity('上海市');
+ this.clearData()
+ }
+ }
+ );
+ }
+ //保存水源
+ save(){
+ if(!this.waterData.name){
+ alert('名称必填')
+ return
+ }
+ this.selectedWaterTypeIndex == '0' ? this.waterData.detailData = JSON.stringify(this.fireCockData) : null
+ this.selectedWaterTypeIndex == '1' ? this.waterData.detailData = JSON.stringify(this.poolData) : null
+ this.selectedWaterTypeIndex == '2' ? this.waterData.detailData = JSON.stringify(this.naturalWaterData) : null
+ this.waterData.waterSourceType = Number(this.selectedWaterTypeIndex)
+
+ this.waterData.createTime = new Date()
+
+
+ if(this.waterData.id){
+ if(this.atLastPositionLngLat.x){
+ this.waterData.location.x = this.atLastPositionLngLat.x
+ this.waterData.location.y = this.atLastPositionLngLat.y
+ }
+ this.http.put(`/api/WaterSources/${this.waterData.id}`,this.waterData).subscribe(data => {
+ const config = new MatSnackBarConfig();
+ config.verticalPosition = 'top';
+ config.duration = 3000
+ this.snackBar.open('修改成功','确定',config);
+ this.selectedLiIndex = 0
+ this.getAllWaterData()
+ })
+ }else{
+ this.waterData.location.x = this.atLastPositionLngLat.x
+ this.waterData.location.y = this.atLastPositionLngLat.y
+ this.http.post('/api/WaterSources',this.waterData).subscribe(data => {
+ const config = new MatSnackBarConfig();
+ config.verticalPosition = 'top';
+ config.duration = 3000
+ this.snackBar.open('保存成功','确定',config);
+ this.selectedLiIndex = 0
+ this.waterData = data
+ this.getAllWaterData()
+ })
+ }
+
+ }
+
map:any
placeSearch:any//构造地点查询类
isMapLabel:boolean = false //是否已经标记坐标
newPositionMarkerContent:any =
'
' +
- '
' +
+ '
' +
'
'
newPositionMarkerContentBtn:any =
'
' +
- '
' +
+ '
' +
'
| ' +
'
'
//创建地图
@@ -97,17 +405,19 @@ export class WaterCollectionComponent implements OnInit {
positionLngLat:any = {}//临时坐标点
atLastPositionLngLat:any = {}//最终坐标点
-
-
-
setPosition(){
if(!this.isGisTopBox){
this.isGisTopBox = true
this.newPositionMarker ? this.map.remove(this.newPositionMarker) : null
let center
if(this.newPositionMarker && this.atLastPositionLngLat.x){//如果已经标注单位坐标
+ console.log(1)
center = [this.atLastPositionLngLat.x, this.atLastPositionLngLat.y]
+ }else if(this.newPositionMarker && !this.atLastPositionLngLat.x && this.waterData.location.x){
+ console.log(2)
+ center = [this.waterData.location.x, this.waterData.location.y]
}else{
+ console.log(3)
center = this.map.getCenter(); //获取当前地图中心位置
}
this.newPositionMarker = new AMap.Marker({
@@ -157,3 +467,35 @@ export class WaterCollectionComponent implements OnInit {
}
}
+
+
+//新增水源弹出框
+@Component({
+ selector: 'addwater',
+ templateUrl: './addWater.html',
+ styleUrls: ['./water-collection.component.scss']
+})
+export class AddWater {
+
+ constructor(private http: HttpClient,public dialogRef: MatDialogRef
,@Inject(MAT_DIALOG_DATA) public data,public snackBar: MatSnackBar) {}
+
+
+ addList:any = [
+ {name:'消火栓',src:'/assets/images/市政消火栓.png'},
+ {name:'消防水池',src:'/assets/images/方形储水池.png'},
+ {name:'天然水源',src:'/assets/images/天然水源.png'}
+ ]
+ selectedWaterTypeIndex:any = 0
+ selecteAddType(item,key){
+ this.selectedWaterTypeIndex = key
+ }
+ ngOnInit(): void {
+
+ }
+
+ confirm(){
+ console.log(this.selectedWaterTypeIndex)
+ this.dialogRef.close(this.selectedWaterTypeIndex)
+ }
+
+}
diff --git a/src/app/pages/login/login.component.ts b/src/app/pages/login/login.component.ts
index 1a38a1d..2f7db1f 100644
--- a/src/app/pages/login/login.component.ts
+++ b/src/app/pages/login/login.component.ts
@@ -30,7 +30,6 @@ export class LoginComponent implements OnInit {
sessionStorage.setItem("level",data.level);
sessionStorage.setItem("token",data.token);
sessionStorage.setItem("refreshToken",data.refreshToken);
- // this.router.navigate([`/home`])
this.http.get('/api/Account/NavMenus').subscribe((data:any)=>{
let isHave = data.find(item=>{ return item.url == "/home"})
diff --git a/src/app/plan-management/entry-plan/entry-plan.component.html b/src/app/plan-management/entry-plan/entry-plan.component.html
index 81cd56c..6cd5933 100644
--- a/src/app/plan-management/entry-plan/entry-plan.component.html
+++ b/src/app/plan-management/entry-plan/entry-plan.component.html
@@ -254,7 +254,7 @@
操作
- 查看预案
+ 查看预案
diff --git a/src/assets/images/天然水源.png b/src/assets/images/天然水源.png
new file mode 100644
index 0000000..7186250
Binary files /dev/null and b/src/assets/images/天然水源.png differ
diff --git a/src/assets/images/定位.png b/src/assets/images/定位.png
new file mode 100644
index 0000000..db62e86
Binary files /dev/null and b/src/assets/images/定位.png differ
diff --git a/src/assets/images/市政消火栓.png b/src/assets/images/市政消火栓.png
new file mode 100644
index 0000000..2abf272
Binary files /dev/null and b/src/assets/images/市政消火栓.png differ
diff --git a/src/assets/images/方形储水池.png b/src/assets/images/方形储水池.png
new file mode 100644
index 0000000..1f97e3e
Binary files /dev/null and b/src/assets/images/方形储水池.png differ
diff --git a/src/styles.scss b/src/styles.scss
index b3a6905..607f9ff 100644
--- a/src/styles.scss
+++ b/src/styles.scss
@@ -129,7 +129,7 @@ table td.mat-footer-cell:last-of-type{
}
//弹出框样式取消padding
-#shareDialog,#lookPlanDialog,#openPlanToolDialog{
+#shareDialog,#lookPlanDialog,#openPlanToolDialog,#addWater{
padding: 0;
}
@@ -169,4 +169,16 @@ table td.mat-footer-cell:last-of-type{
.custom-content-marker .close-btn:hover{
background: #666;
}
-}
\ No newline at end of file
+}
+#fireForceTree{
+ .mat-tree-node{
+ min-height: 40px;
+ flex: none;
+ box-sizing: border-box;
+ }
+ .mat-icon-button{
+ width: 30px;
+ height: 30px;
+ line-height: 30px;
+ }
+}