diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" index 07fa179..de23f52 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" Binary files differ diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" index 07fa179..de23f52 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" Binary files differ diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" index 9afe894..af9fff2 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" Binary files differ diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" index 07fa179..de23f52 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" Binary files differ diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" index 9afe894..af9fff2 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" Binary files differ diff --git a/public/static/libs/mapbox/style/sprite/sprite.json b/public/static/libs/mapbox/style/sprite/sprite.json index 904214a..0344d4c 100644 --- a/public/static/libs/mapbox/style/sprite/sprite.json +++ b/public/static/libs/mapbox/style/sprite/sprite.json @@ -260,43 +260,45 @@ "雨水泵站扎点@2x":{"x":28,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, "雨水管网水质扎点@2x":{"x":56,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, "雨水管网液位扎点@2x":{"x":84,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水点扎点@2x(1)":{"x":112,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水点扎点@2x":{"x":140,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水监测点扎点@2x":{"x":168,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "wsc1":{"x":196,"y":290,"width":40,"height":40,"pixelRatio":1,"sdf":false}, - "调蓄池扎点@3x(1)":{"x":236,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "调蓄池扎点@3x":{"x":278,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分流井扎点@3x(1)":{"x":320,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分流井扎点@3x":{"x":362,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分区信息扎点@3x":{"x":404,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠水位扎点@3x":{"x":446,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠水质扎点@3x":{"x":0,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠扎点@3x":{"x":42,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "河湖溢流风险口扎点@3x":{"x":84,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "河流渠道扎点@3x":{"x":126,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "湖泊水位扎点@3x":{"x":168,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "湖泊扎点@3x":{"x":210,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "接驳口扎点@3x":{"x":252,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口水质扎点@3x":{"x":294,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口扎点@3x(1)":{"x":336,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口扎点@3x":{"x":378,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排水户扎点@3x":{"x":420,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排水护扎点@3x":{"x":462,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水库范围i扎点@3x":{"x":0,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水库扎点@3x":{"x":42,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水闸扎点@3x(1)":{"x":84,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水闸扎点@3x":{"x":126,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水泵站扎点@3x(1)":{"x":168,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水泵站扎点@3x":{"x":210,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水厂扎点@3x":{"x":252,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水处理厂扎点@3x":{"x":294,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水管网水质扎点@3x":{"x":336,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨量站扎点@3x":{"x":378,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水泵站扎点@3x(1)":{"x":420,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水泵站扎点@3x":{"x":462,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水管网水质扎点@3x":{"x":0,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水管网液位扎点@3x":{"x":42,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水点扎点@3x(1)":{"x":84,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水点扎点@3x":{"x":126,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水监测点扎点@3x":{"x":168,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false} + "wsc1":{"x":112,"y":290,"width":40,"height":40,"pixelRatio":1,"sdf":false}, + "渍水点扎点@2x(1)":{"x":152,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水点扎点@2x":{"x":194,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水点扎点_告警@2x":{"x":236,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水监测点扎点@2x":{"x":278,"y":290,"width":41,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水监测点扎点_告警@2x":{"x":319,"y":290,"width":41,"height":50,"pixelRatio":1.5,"sdf":false}, + "调蓄池扎点@3x(1)":{"x":360,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "调蓄池扎点@3x":{"x":402,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分流井扎点@3x(1)":{"x":444,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分流井扎点@3x":{"x":0,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分区信息扎点@3x":{"x":42,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠水位扎点@3x":{"x":84,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠水质扎点@3x":{"x":126,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠扎点@3x":{"x":168,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "河湖溢流风险口扎点@3x":{"x":210,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "河流渠道扎点@3x":{"x":252,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "湖泊水位扎点@3x":{"x":294,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "湖泊扎点@3x":{"x":336,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "接驳口扎点@3x":{"x":378,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口水质扎点@3x":{"x":420,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口扎点@3x(1)":{"x":462,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口扎点@3x":{"x":0,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排水户扎点@3x":{"x":42,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排水护扎点@3x":{"x":84,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水库范围i扎点@3x":{"x":126,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水库扎点@3x":{"x":168,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水闸扎点@3x(1)":{"x":210,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水闸扎点@3x":{"x":252,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水泵站扎点@3x(1)":{"x":294,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水泵站扎点@3x":{"x":336,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水厂扎点@3x":{"x":378,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水处理厂扎点@3x":{"x":420,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水管网水质扎点@3x":{"x":462,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨量站扎点@3x":{"x":0,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水泵站扎点@3x(1)":{"x":42,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水泵站扎点@3x":{"x":84,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水管网水质扎点@3x":{"x":126,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水管网液位扎点@3x":{"x":168,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水点扎点@3x(1)":{"x":210,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水点扎点@3x":{"x":252,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水监测点扎点@3x":{"x":294,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false} } diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" index 07fa179..de23f52 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" Binary files differ diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" index 9afe894..af9fff2 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" Binary files differ diff --git a/public/static/libs/mapbox/style/sprite/sprite.json b/public/static/libs/mapbox/style/sprite/sprite.json index 904214a..0344d4c 100644 --- a/public/static/libs/mapbox/style/sprite/sprite.json +++ b/public/static/libs/mapbox/style/sprite/sprite.json @@ -260,43 +260,45 @@ "雨水泵站扎点@2x":{"x":28,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, "雨水管网水质扎点@2x":{"x":56,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, "雨水管网液位扎点@2x":{"x":84,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水点扎点@2x(1)":{"x":112,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水点扎点@2x":{"x":140,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水监测点扎点@2x":{"x":168,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "wsc1":{"x":196,"y":290,"width":40,"height":40,"pixelRatio":1,"sdf":false}, - "调蓄池扎点@3x(1)":{"x":236,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "调蓄池扎点@3x":{"x":278,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分流井扎点@3x(1)":{"x":320,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分流井扎点@3x":{"x":362,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分区信息扎点@3x":{"x":404,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠水位扎点@3x":{"x":446,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠水质扎点@3x":{"x":0,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠扎点@3x":{"x":42,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "河湖溢流风险口扎点@3x":{"x":84,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "河流渠道扎点@3x":{"x":126,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "湖泊水位扎点@3x":{"x":168,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "湖泊扎点@3x":{"x":210,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "接驳口扎点@3x":{"x":252,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口水质扎点@3x":{"x":294,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口扎点@3x(1)":{"x":336,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口扎点@3x":{"x":378,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排水户扎点@3x":{"x":420,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排水护扎点@3x":{"x":462,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水库范围i扎点@3x":{"x":0,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水库扎点@3x":{"x":42,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水闸扎点@3x(1)":{"x":84,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水闸扎点@3x":{"x":126,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水泵站扎点@3x(1)":{"x":168,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水泵站扎点@3x":{"x":210,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水厂扎点@3x":{"x":252,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水处理厂扎点@3x":{"x":294,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水管网水质扎点@3x":{"x":336,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨量站扎点@3x":{"x":378,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水泵站扎点@3x(1)":{"x":420,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水泵站扎点@3x":{"x":462,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水管网水质扎点@3x":{"x":0,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水管网液位扎点@3x":{"x":42,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水点扎点@3x(1)":{"x":84,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水点扎点@3x":{"x":126,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水监测点扎点@3x":{"x":168,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false} + "wsc1":{"x":112,"y":290,"width":40,"height":40,"pixelRatio":1,"sdf":false}, + "渍水点扎点@2x(1)":{"x":152,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水点扎点@2x":{"x":194,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水点扎点_告警@2x":{"x":236,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水监测点扎点@2x":{"x":278,"y":290,"width":41,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水监测点扎点_告警@2x":{"x":319,"y":290,"width":41,"height":50,"pixelRatio":1.5,"sdf":false}, + "调蓄池扎点@3x(1)":{"x":360,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "调蓄池扎点@3x":{"x":402,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分流井扎点@3x(1)":{"x":444,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分流井扎点@3x":{"x":0,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分区信息扎点@3x":{"x":42,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠水位扎点@3x":{"x":84,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠水质扎点@3x":{"x":126,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠扎点@3x":{"x":168,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "河湖溢流风险口扎点@3x":{"x":210,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "河流渠道扎点@3x":{"x":252,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "湖泊水位扎点@3x":{"x":294,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "湖泊扎点@3x":{"x":336,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "接驳口扎点@3x":{"x":378,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口水质扎点@3x":{"x":420,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口扎点@3x(1)":{"x":462,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口扎点@3x":{"x":0,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排水户扎点@3x":{"x":42,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排水护扎点@3x":{"x":84,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水库范围i扎点@3x":{"x":126,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水库扎点@3x":{"x":168,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水闸扎点@3x(1)":{"x":210,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水闸扎点@3x":{"x":252,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水泵站扎点@3x(1)":{"x":294,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水泵站扎点@3x":{"x":336,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水厂扎点@3x":{"x":378,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水处理厂扎点@3x":{"x":420,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水管网水质扎点@3x":{"x":462,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨量站扎点@3x":{"x":0,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水泵站扎点@3x(1)":{"x":42,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水泵站扎点@3x":{"x":84,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水管网水质扎点@3x":{"x":126,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水管网液位扎点@3x":{"x":168,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水点扎点@3x(1)":{"x":210,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水点扎点@3x":{"x":252,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水监测点扎点@3x":{"x":294,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false} } diff --git a/public/static/libs/mapbox/style/sprite/sprite.png b/public/static/libs/mapbox/style/sprite/sprite.png index 9d57b55..c840764 100644 --- a/public/static/libs/mapbox/style/sprite/sprite.png +++ b/public/static/libs/mapbox/style/sprite/sprite.png Binary files differ diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" index 07fa179..de23f52 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" Binary files differ diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" index 9afe894..af9fff2 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" Binary files differ diff --git a/public/static/libs/mapbox/style/sprite/sprite.json b/public/static/libs/mapbox/style/sprite/sprite.json index 904214a..0344d4c 100644 --- a/public/static/libs/mapbox/style/sprite/sprite.json +++ b/public/static/libs/mapbox/style/sprite/sprite.json @@ -260,43 +260,45 @@ "雨水泵站扎点@2x":{"x":28,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, "雨水管网水质扎点@2x":{"x":56,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, "雨水管网液位扎点@2x":{"x":84,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水点扎点@2x(1)":{"x":112,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水点扎点@2x":{"x":140,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水监测点扎点@2x":{"x":168,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "wsc1":{"x":196,"y":290,"width":40,"height":40,"pixelRatio":1,"sdf":false}, - "调蓄池扎点@3x(1)":{"x":236,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "调蓄池扎点@3x":{"x":278,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分流井扎点@3x(1)":{"x":320,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分流井扎点@3x":{"x":362,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分区信息扎点@3x":{"x":404,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠水位扎点@3x":{"x":446,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠水质扎点@3x":{"x":0,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠扎点@3x":{"x":42,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "河湖溢流风险口扎点@3x":{"x":84,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "河流渠道扎点@3x":{"x":126,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "湖泊水位扎点@3x":{"x":168,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "湖泊扎点@3x":{"x":210,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "接驳口扎点@3x":{"x":252,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口水质扎点@3x":{"x":294,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口扎点@3x(1)":{"x":336,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口扎点@3x":{"x":378,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排水户扎点@3x":{"x":420,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排水护扎点@3x":{"x":462,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水库范围i扎点@3x":{"x":0,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水库扎点@3x":{"x":42,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水闸扎点@3x(1)":{"x":84,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水闸扎点@3x":{"x":126,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水泵站扎点@3x(1)":{"x":168,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水泵站扎点@3x":{"x":210,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水厂扎点@3x":{"x":252,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水处理厂扎点@3x":{"x":294,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水管网水质扎点@3x":{"x":336,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨量站扎点@3x":{"x":378,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水泵站扎点@3x(1)":{"x":420,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水泵站扎点@3x":{"x":462,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水管网水质扎点@3x":{"x":0,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水管网液位扎点@3x":{"x":42,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水点扎点@3x(1)":{"x":84,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水点扎点@3x":{"x":126,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水监测点扎点@3x":{"x":168,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false} + "wsc1":{"x":112,"y":290,"width":40,"height":40,"pixelRatio":1,"sdf":false}, + "渍水点扎点@2x(1)":{"x":152,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水点扎点@2x":{"x":194,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水点扎点_告警@2x":{"x":236,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水监测点扎点@2x":{"x":278,"y":290,"width":41,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水监测点扎点_告警@2x":{"x":319,"y":290,"width":41,"height":50,"pixelRatio":1.5,"sdf":false}, + "调蓄池扎点@3x(1)":{"x":360,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "调蓄池扎点@3x":{"x":402,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分流井扎点@3x(1)":{"x":444,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分流井扎点@3x":{"x":0,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分区信息扎点@3x":{"x":42,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠水位扎点@3x":{"x":84,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠水质扎点@3x":{"x":126,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠扎点@3x":{"x":168,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "河湖溢流风险口扎点@3x":{"x":210,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "河流渠道扎点@3x":{"x":252,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "湖泊水位扎点@3x":{"x":294,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "湖泊扎点@3x":{"x":336,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "接驳口扎点@3x":{"x":378,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口水质扎点@3x":{"x":420,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口扎点@3x(1)":{"x":462,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口扎点@3x":{"x":0,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排水户扎点@3x":{"x":42,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排水护扎点@3x":{"x":84,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水库范围i扎点@3x":{"x":126,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水库扎点@3x":{"x":168,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水闸扎点@3x(1)":{"x":210,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水闸扎点@3x":{"x":252,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水泵站扎点@3x(1)":{"x":294,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水泵站扎点@3x":{"x":336,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水厂扎点@3x":{"x":378,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水处理厂扎点@3x":{"x":420,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水管网水质扎点@3x":{"x":462,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨量站扎点@3x":{"x":0,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水泵站扎点@3x(1)":{"x":42,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水泵站扎点@3x":{"x":84,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水管网水质扎点@3x":{"x":126,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水管网液位扎点@3x":{"x":168,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水点扎点@3x(1)":{"x":210,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水点扎点@3x":{"x":252,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水监测点扎点@3x":{"x":294,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false} } diff --git a/public/static/libs/mapbox/style/sprite/sprite.png b/public/static/libs/mapbox/style/sprite/sprite.png index 9d57b55..c840764 100644 --- a/public/static/libs/mapbox/style/sprite/sprite.png +++ b/public/static/libs/mapbox/style/sprite/sprite.png Binary files differ diff --git a/src/api/MonitorAssetsOnMap.js b/src/api/MonitorAssetsOnMap.js index 4e53377..4d288f5 100644 --- a/src/api/MonitorAssetsOnMap.js +++ b/src/api/MonitorAssetsOnMap.js @@ -463,4 +463,4 @@ method: 'get', params: query }) -} +} \ No newline at end of file diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" index 07fa179..de23f52 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" Binary files differ diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" index 9afe894..af9fff2 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" Binary files differ diff --git a/public/static/libs/mapbox/style/sprite/sprite.json b/public/static/libs/mapbox/style/sprite/sprite.json index 904214a..0344d4c 100644 --- a/public/static/libs/mapbox/style/sprite/sprite.json +++ b/public/static/libs/mapbox/style/sprite/sprite.json @@ -260,43 +260,45 @@ "雨水泵站扎点@2x":{"x":28,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, "雨水管网水质扎点@2x":{"x":56,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, "雨水管网液位扎点@2x":{"x":84,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水点扎点@2x(1)":{"x":112,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水点扎点@2x":{"x":140,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水监测点扎点@2x":{"x":168,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "wsc1":{"x":196,"y":290,"width":40,"height":40,"pixelRatio":1,"sdf":false}, - "调蓄池扎点@3x(1)":{"x":236,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "调蓄池扎点@3x":{"x":278,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分流井扎点@3x(1)":{"x":320,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分流井扎点@3x":{"x":362,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分区信息扎点@3x":{"x":404,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠水位扎点@3x":{"x":446,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠水质扎点@3x":{"x":0,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠扎点@3x":{"x":42,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "河湖溢流风险口扎点@3x":{"x":84,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "河流渠道扎点@3x":{"x":126,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "湖泊水位扎点@3x":{"x":168,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "湖泊扎点@3x":{"x":210,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "接驳口扎点@3x":{"x":252,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口水质扎点@3x":{"x":294,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口扎点@3x(1)":{"x":336,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口扎点@3x":{"x":378,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排水户扎点@3x":{"x":420,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排水护扎点@3x":{"x":462,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水库范围i扎点@3x":{"x":0,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水库扎点@3x":{"x":42,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水闸扎点@3x(1)":{"x":84,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水闸扎点@3x":{"x":126,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水泵站扎点@3x(1)":{"x":168,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水泵站扎点@3x":{"x":210,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水厂扎点@3x":{"x":252,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水处理厂扎点@3x":{"x":294,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水管网水质扎点@3x":{"x":336,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨量站扎点@3x":{"x":378,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水泵站扎点@3x(1)":{"x":420,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水泵站扎点@3x":{"x":462,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水管网水质扎点@3x":{"x":0,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水管网液位扎点@3x":{"x":42,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水点扎点@3x(1)":{"x":84,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水点扎点@3x":{"x":126,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水监测点扎点@3x":{"x":168,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false} + "wsc1":{"x":112,"y":290,"width":40,"height":40,"pixelRatio":1,"sdf":false}, + "渍水点扎点@2x(1)":{"x":152,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水点扎点@2x":{"x":194,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水点扎点_告警@2x":{"x":236,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水监测点扎点@2x":{"x":278,"y":290,"width":41,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水监测点扎点_告警@2x":{"x":319,"y":290,"width":41,"height":50,"pixelRatio":1.5,"sdf":false}, + "调蓄池扎点@3x(1)":{"x":360,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "调蓄池扎点@3x":{"x":402,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分流井扎点@3x(1)":{"x":444,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分流井扎点@3x":{"x":0,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分区信息扎点@3x":{"x":42,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠水位扎点@3x":{"x":84,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠水质扎点@3x":{"x":126,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠扎点@3x":{"x":168,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "河湖溢流风险口扎点@3x":{"x":210,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "河流渠道扎点@3x":{"x":252,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "湖泊水位扎点@3x":{"x":294,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "湖泊扎点@3x":{"x":336,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "接驳口扎点@3x":{"x":378,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口水质扎点@3x":{"x":420,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口扎点@3x(1)":{"x":462,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口扎点@3x":{"x":0,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排水户扎点@3x":{"x":42,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排水护扎点@3x":{"x":84,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水库范围i扎点@3x":{"x":126,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水库扎点@3x":{"x":168,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水闸扎点@3x(1)":{"x":210,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水闸扎点@3x":{"x":252,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水泵站扎点@3x(1)":{"x":294,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水泵站扎点@3x":{"x":336,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水厂扎点@3x":{"x":378,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水处理厂扎点@3x":{"x":420,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水管网水质扎点@3x":{"x":462,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨量站扎点@3x":{"x":0,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水泵站扎点@3x(1)":{"x":42,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水泵站扎点@3x":{"x":84,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水管网水质扎点@3x":{"x":126,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水管网液位扎点@3x":{"x":168,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水点扎点@3x(1)":{"x":210,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水点扎点@3x":{"x":252,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水监测点扎点@3x":{"x":294,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false} } diff --git a/public/static/libs/mapbox/style/sprite/sprite.png b/public/static/libs/mapbox/style/sprite/sprite.png index 9d57b55..c840764 100644 --- a/public/static/libs/mapbox/style/sprite/sprite.png +++ b/public/static/libs/mapbox/style/sprite/sprite.png Binary files differ diff --git a/src/api/MonitorAssetsOnMap.js b/src/api/MonitorAssetsOnMap.js index 4e53377..4d288f5 100644 --- a/src/api/MonitorAssetsOnMap.js +++ b/src/api/MonitorAssetsOnMap.js @@ -463,4 +463,4 @@ method: 'get', params: query }) -} +} \ No newline at end of file diff --git a/src/assets/images/pictureOnMap/leftBZ.png b/src/assets/images/pictureOnMap/leftBZ.png new file mode 100644 index 0000000..1af9f89 --- /dev/null +++ b/src/assets/images/pictureOnMap/leftBZ.png Binary files differ diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" index 07fa179..de23f52 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" Binary files differ diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" index 9afe894..af9fff2 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" Binary files differ diff --git a/public/static/libs/mapbox/style/sprite/sprite.json b/public/static/libs/mapbox/style/sprite/sprite.json index 904214a..0344d4c 100644 --- a/public/static/libs/mapbox/style/sprite/sprite.json +++ b/public/static/libs/mapbox/style/sprite/sprite.json @@ -260,43 +260,45 @@ "雨水泵站扎点@2x":{"x":28,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, "雨水管网水质扎点@2x":{"x":56,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, "雨水管网液位扎点@2x":{"x":84,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水点扎点@2x(1)":{"x":112,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水点扎点@2x":{"x":140,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水监测点扎点@2x":{"x":168,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "wsc1":{"x":196,"y":290,"width":40,"height":40,"pixelRatio":1,"sdf":false}, - "调蓄池扎点@3x(1)":{"x":236,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "调蓄池扎点@3x":{"x":278,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分流井扎点@3x(1)":{"x":320,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分流井扎点@3x":{"x":362,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分区信息扎点@3x":{"x":404,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠水位扎点@3x":{"x":446,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠水质扎点@3x":{"x":0,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠扎点@3x":{"x":42,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "河湖溢流风险口扎点@3x":{"x":84,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "河流渠道扎点@3x":{"x":126,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "湖泊水位扎点@3x":{"x":168,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "湖泊扎点@3x":{"x":210,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "接驳口扎点@3x":{"x":252,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口水质扎点@3x":{"x":294,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口扎点@3x(1)":{"x":336,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口扎点@3x":{"x":378,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排水户扎点@3x":{"x":420,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排水护扎点@3x":{"x":462,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水库范围i扎点@3x":{"x":0,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水库扎点@3x":{"x":42,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水闸扎点@3x(1)":{"x":84,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水闸扎点@3x":{"x":126,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水泵站扎点@3x(1)":{"x":168,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水泵站扎点@3x":{"x":210,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水厂扎点@3x":{"x":252,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水处理厂扎点@3x":{"x":294,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水管网水质扎点@3x":{"x":336,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨量站扎点@3x":{"x":378,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水泵站扎点@3x(1)":{"x":420,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水泵站扎点@3x":{"x":462,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水管网水质扎点@3x":{"x":0,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水管网液位扎点@3x":{"x":42,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水点扎点@3x(1)":{"x":84,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水点扎点@3x":{"x":126,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水监测点扎点@3x":{"x":168,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false} + "wsc1":{"x":112,"y":290,"width":40,"height":40,"pixelRatio":1,"sdf":false}, + "渍水点扎点@2x(1)":{"x":152,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水点扎点@2x":{"x":194,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水点扎点_告警@2x":{"x":236,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水监测点扎点@2x":{"x":278,"y":290,"width":41,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水监测点扎点_告警@2x":{"x":319,"y":290,"width":41,"height":50,"pixelRatio":1.5,"sdf":false}, + "调蓄池扎点@3x(1)":{"x":360,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "调蓄池扎点@3x":{"x":402,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分流井扎点@3x(1)":{"x":444,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分流井扎点@3x":{"x":0,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分区信息扎点@3x":{"x":42,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠水位扎点@3x":{"x":84,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠水质扎点@3x":{"x":126,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠扎点@3x":{"x":168,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "河湖溢流风险口扎点@3x":{"x":210,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "河流渠道扎点@3x":{"x":252,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "湖泊水位扎点@3x":{"x":294,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "湖泊扎点@3x":{"x":336,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "接驳口扎点@3x":{"x":378,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口水质扎点@3x":{"x":420,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口扎点@3x(1)":{"x":462,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口扎点@3x":{"x":0,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排水户扎点@3x":{"x":42,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排水护扎点@3x":{"x":84,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水库范围i扎点@3x":{"x":126,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水库扎点@3x":{"x":168,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水闸扎点@3x(1)":{"x":210,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水闸扎点@3x":{"x":252,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水泵站扎点@3x(1)":{"x":294,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水泵站扎点@3x":{"x":336,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水厂扎点@3x":{"x":378,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水处理厂扎点@3x":{"x":420,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水管网水质扎点@3x":{"x":462,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨量站扎点@3x":{"x":0,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水泵站扎点@3x(1)":{"x":42,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水泵站扎点@3x":{"x":84,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水管网水质扎点@3x":{"x":126,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水管网液位扎点@3x":{"x":168,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水点扎点@3x(1)":{"x":210,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水点扎点@3x":{"x":252,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水监测点扎点@3x":{"x":294,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false} } diff --git a/public/static/libs/mapbox/style/sprite/sprite.png b/public/static/libs/mapbox/style/sprite/sprite.png index 9d57b55..c840764 100644 --- a/public/static/libs/mapbox/style/sprite/sprite.png +++ b/public/static/libs/mapbox/style/sprite/sprite.png Binary files differ diff --git a/src/api/MonitorAssetsOnMap.js b/src/api/MonitorAssetsOnMap.js index 4e53377..4d288f5 100644 --- a/src/api/MonitorAssetsOnMap.js +++ b/src/api/MonitorAssetsOnMap.js @@ -463,4 +463,4 @@ method: 'get', params: query }) -} +} \ No newline at end of file diff --git a/src/assets/images/pictureOnMap/leftBZ.png b/src/assets/images/pictureOnMap/leftBZ.png new file mode 100644 index 0000000..1af9f89 --- /dev/null +++ b/src/assets/images/pictureOnMap/leftBZ.png Binary files differ diff --git a/src/components/Map/MapBox.vue b/src/components/Map/MapBox.vue index cb99f34..ecea8c4 100644 --- a/src/components/Map/MapBox.vue +++ b/src/components/Map/MapBox.vue @@ -41,6 +41,7 @@ import { LineLayer, GeoJsonLayer } from "@deck.gl/layers"; import { TripsLayer, Tile3DLayer } from "@deck.gl/geo-layers"; import { Tiles3DLoader } from "@loaders.gl/3d-tiles"; +const baseUrl = import.meta.env.VITE_APP_MAP_BASE_API || ""; const appStore = useUserStore(); const MapShow = ref(true); const props = defineProps({ @@ -448,10 +449,10 @@ let outlet = relationDataList.filter(i => i.dataCode == keys[1])[0]; outlet && outletRouteMethod({id:String(outlet.dataId)},false); - let lake = relationDataList.filter(i => i.dataCode == keys[2])[0]; - let features = newfiberMap.map.getSource("point")._data.features.filter(i => i.properties.id == lake.relationId && i.properties.type == keys[2]).map(i => _.cloneDeep(i)); + let relationIds = relationDataList.filter(i => [keys[2],keys[3]].includes( i.dataCode)).map(i => i.relationId).filter(Boolean); + let features = newfiberMap.map.getSource("point")._data.features.filter(i => relationIds.includes(i.properties.id) && ([keys[2],keys[3]].includes(i.properties.type))).map(i => _.cloneDeep(i)); features.forEach(k => (k.properties.type = undefined)) - lake && busEmit(setGeoJSON.key, { json: turf.featureCollection(features), key: keys[0] }); + relationIds && busEmit(setGeoJSON.key, { json: turf.featureCollection(features), key: keys[0] }); busEmit(setLayerVisible.key, { layername: keys[0], isCheck: true }); } @@ -817,13 +818,17 @@ const { setLayerVisible, beansToMap } = events_params; const fullnessColor = (value) => { value = Number(value); - const colors = [{value:0,color:"rgba(52,176,0,1)"},{value:60,color:"rgba(254,203,0,1)"},{value:70,color:"rgba(223,1,0,1)"},{value:90,color:"rgba(142,14,11,1)"}]; + if(!(location.href.includes('dhgx.'))) value = _.random(60,100); + const colors = [{value:0,color:"rgba(52,176,0,0)"},{value:60,color:"rgba(254,203,0,1)"},{value:70,color:"rgba(223,1,0,1)"},{value:90,color:"rgba(142,14,11,1)"}]; return (colors.filter((i,idx) => idx!= colors.length-1 && i.value{ return (({ lake_water_level:()=>{ return `${item.siteData[0].valueName}:【${item.siteData[0].value}${item.siteData[0].unit}】` + }, + waterlogging:()=>{ + return `${item.name}\n${item.siteData[0].valueName}:【${item.siteData[0].value}${item.siteData[0].unit}】` } })[item.pointType] || (()=> item.name))(); } @@ -852,7 +857,7 @@ fullness:{ method:getPipeMonitorRun, fields:{geometry:"pipelineGeometry",name:"name"}, - groupMethod:(data)=> _.groupBy(data.filter(k => k.pipelineGeometry).map(o => ({...o,width:4,type:`fullness_${o.pipeSystem}`,name:`管径:${o.pipelineDiameter}\n充满度:${o.fullness}`,color:fullnessColor(o.fullness)})),(v)=>v.type) + groupMethod:(data)=> _.groupBy(data.filter(k => k.pipelineGeometry).map(o => ({...o,width:8,type:`fullness_${o.pipeSystem}`,name:`管径:${o.pipelineDiameter}\n充满度:${o.fullness}`,color:fullnessColor(o.fullness)})),(v)=>v.type) } }; const other_data_params = {}; diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" index 07fa179..de23f52 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" Binary files differ diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" index 9afe894..af9fff2 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" Binary files differ diff --git a/public/static/libs/mapbox/style/sprite/sprite.json b/public/static/libs/mapbox/style/sprite/sprite.json index 904214a..0344d4c 100644 --- a/public/static/libs/mapbox/style/sprite/sprite.json +++ b/public/static/libs/mapbox/style/sprite/sprite.json @@ -260,43 +260,45 @@ "雨水泵站扎点@2x":{"x":28,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, "雨水管网水质扎点@2x":{"x":56,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, "雨水管网液位扎点@2x":{"x":84,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水点扎点@2x(1)":{"x":112,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水点扎点@2x":{"x":140,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水监测点扎点@2x":{"x":168,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "wsc1":{"x":196,"y":290,"width":40,"height":40,"pixelRatio":1,"sdf":false}, - "调蓄池扎点@3x(1)":{"x":236,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "调蓄池扎点@3x":{"x":278,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分流井扎点@3x(1)":{"x":320,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分流井扎点@3x":{"x":362,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分区信息扎点@3x":{"x":404,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠水位扎点@3x":{"x":446,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠水质扎点@3x":{"x":0,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠扎点@3x":{"x":42,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "河湖溢流风险口扎点@3x":{"x":84,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "河流渠道扎点@3x":{"x":126,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "湖泊水位扎点@3x":{"x":168,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "湖泊扎点@3x":{"x":210,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "接驳口扎点@3x":{"x":252,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口水质扎点@3x":{"x":294,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口扎点@3x(1)":{"x":336,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口扎点@3x":{"x":378,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排水户扎点@3x":{"x":420,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排水护扎点@3x":{"x":462,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水库范围i扎点@3x":{"x":0,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水库扎点@3x":{"x":42,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水闸扎点@3x(1)":{"x":84,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水闸扎点@3x":{"x":126,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水泵站扎点@3x(1)":{"x":168,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水泵站扎点@3x":{"x":210,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水厂扎点@3x":{"x":252,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水处理厂扎点@3x":{"x":294,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水管网水质扎点@3x":{"x":336,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨量站扎点@3x":{"x":378,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水泵站扎点@3x(1)":{"x":420,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水泵站扎点@3x":{"x":462,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水管网水质扎点@3x":{"x":0,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水管网液位扎点@3x":{"x":42,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水点扎点@3x(1)":{"x":84,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水点扎点@3x":{"x":126,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水监测点扎点@3x":{"x":168,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false} + "wsc1":{"x":112,"y":290,"width":40,"height":40,"pixelRatio":1,"sdf":false}, + "渍水点扎点@2x(1)":{"x":152,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水点扎点@2x":{"x":194,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水点扎点_告警@2x":{"x":236,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水监测点扎点@2x":{"x":278,"y":290,"width":41,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水监测点扎点_告警@2x":{"x":319,"y":290,"width":41,"height":50,"pixelRatio":1.5,"sdf":false}, + "调蓄池扎点@3x(1)":{"x":360,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "调蓄池扎点@3x":{"x":402,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分流井扎点@3x(1)":{"x":444,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分流井扎点@3x":{"x":0,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分区信息扎点@3x":{"x":42,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠水位扎点@3x":{"x":84,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠水质扎点@3x":{"x":126,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠扎点@3x":{"x":168,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "河湖溢流风险口扎点@3x":{"x":210,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "河流渠道扎点@3x":{"x":252,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "湖泊水位扎点@3x":{"x":294,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "湖泊扎点@3x":{"x":336,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "接驳口扎点@3x":{"x":378,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口水质扎点@3x":{"x":420,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口扎点@3x(1)":{"x":462,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口扎点@3x":{"x":0,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排水户扎点@3x":{"x":42,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排水护扎点@3x":{"x":84,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水库范围i扎点@3x":{"x":126,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水库扎点@3x":{"x":168,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水闸扎点@3x(1)":{"x":210,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水闸扎点@3x":{"x":252,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水泵站扎点@3x(1)":{"x":294,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水泵站扎点@3x":{"x":336,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水厂扎点@3x":{"x":378,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水处理厂扎点@3x":{"x":420,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水管网水质扎点@3x":{"x":462,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨量站扎点@3x":{"x":0,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水泵站扎点@3x(1)":{"x":42,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水泵站扎点@3x":{"x":84,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水管网水质扎点@3x":{"x":126,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水管网液位扎点@3x":{"x":168,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水点扎点@3x(1)":{"x":210,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水点扎点@3x":{"x":252,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水监测点扎点@3x":{"x":294,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false} } diff --git a/public/static/libs/mapbox/style/sprite/sprite.png b/public/static/libs/mapbox/style/sprite/sprite.png index 9d57b55..c840764 100644 --- a/public/static/libs/mapbox/style/sprite/sprite.png +++ b/public/static/libs/mapbox/style/sprite/sprite.png Binary files differ diff --git a/src/api/MonitorAssetsOnMap.js b/src/api/MonitorAssetsOnMap.js index 4e53377..4d288f5 100644 --- a/src/api/MonitorAssetsOnMap.js +++ b/src/api/MonitorAssetsOnMap.js @@ -463,4 +463,4 @@ method: 'get', params: query }) -} +} \ No newline at end of file diff --git a/src/assets/images/pictureOnMap/leftBZ.png b/src/assets/images/pictureOnMap/leftBZ.png new file mode 100644 index 0000000..1af9f89 --- /dev/null +++ b/src/assets/images/pictureOnMap/leftBZ.png Binary files differ diff --git a/src/components/Map/MapBox.vue b/src/components/Map/MapBox.vue index cb99f34..ecea8c4 100644 --- a/src/components/Map/MapBox.vue +++ b/src/components/Map/MapBox.vue @@ -41,6 +41,7 @@ import { LineLayer, GeoJsonLayer } from "@deck.gl/layers"; import { TripsLayer, Tile3DLayer } from "@deck.gl/geo-layers"; import { Tiles3DLoader } from "@loaders.gl/3d-tiles"; +const baseUrl = import.meta.env.VITE_APP_MAP_BASE_API || ""; const appStore = useUserStore(); const MapShow = ref(true); const props = defineProps({ @@ -448,10 +449,10 @@ let outlet = relationDataList.filter(i => i.dataCode == keys[1])[0]; outlet && outletRouteMethod({id:String(outlet.dataId)},false); - let lake = relationDataList.filter(i => i.dataCode == keys[2])[0]; - let features = newfiberMap.map.getSource("point")._data.features.filter(i => i.properties.id == lake.relationId && i.properties.type == keys[2]).map(i => _.cloneDeep(i)); + let relationIds = relationDataList.filter(i => [keys[2],keys[3]].includes( i.dataCode)).map(i => i.relationId).filter(Boolean); + let features = newfiberMap.map.getSource("point")._data.features.filter(i => relationIds.includes(i.properties.id) && ([keys[2],keys[3]].includes(i.properties.type))).map(i => _.cloneDeep(i)); features.forEach(k => (k.properties.type = undefined)) - lake && busEmit(setGeoJSON.key, { json: turf.featureCollection(features), key: keys[0] }); + relationIds && busEmit(setGeoJSON.key, { json: turf.featureCollection(features), key: keys[0] }); busEmit(setLayerVisible.key, { layername: keys[0], isCheck: true }); } @@ -817,13 +818,17 @@ const { setLayerVisible, beansToMap } = events_params; const fullnessColor = (value) => { value = Number(value); - const colors = [{value:0,color:"rgba(52,176,0,1)"},{value:60,color:"rgba(254,203,0,1)"},{value:70,color:"rgba(223,1,0,1)"},{value:90,color:"rgba(142,14,11,1)"}]; + if(!(location.href.includes('dhgx.'))) value = _.random(60,100); + const colors = [{value:0,color:"rgba(52,176,0,0)"},{value:60,color:"rgba(254,203,0,1)"},{value:70,color:"rgba(223,1,0,1)"},{value:90,color:"rgba(142,14,11,1)"}]; return (colors.filter((i,idx) => idx!= colors.length-1 && i.value{ return (({ lake_water_level:()=>{ return `${item.siteData[0].valueName}:【${item.siteData[0].value}${item.siteData[0].unit}】` + }, + waterlogging:()=>{ + return `${item.name}\n${item.siteData[0].valueName}:【${item.siteData[0].value}${item.siteData[0].unit}】` } })[item.pointType] || (()=> item.name))(); } @@ -852,7 +857,7 @@ fullness:{ method:getPipeMonitorRun, fields:{geometry:"pipelineGeometry",name:"name"}, - groupMethod:(data)=> _.groupBy(data.filter(k => k.pipelineGeometry).map(o => ({...o,width:4,type:`fullness_${o.pipeSystem}`,name:`管径:${o.pipelineDiameter}\n充满度:${o.fullness}`,color:fullnessColor(o.fullness)})),(v)=>v.type) + groupMethod:(data)=> _.groupBy(data.filter(k => k.pipelineGeometry).map(o => ({...o,width:8,type:`fullness_${o.pipeSystem}`,name:`管径:${o.pipelineDiameter}\n充满度:${o.fullness}`,color:fullnessColor(o.fullness)})),(v)=>v.type) } }; const other_data_params = {}; diff --git a/src/views/pictureOnMap/LayerControl.vue b/src/views/pictureOnMap/LayerControl.vue index 634846e..ac19187 100644 --- a/src/views/pictureOnMap/LayerControl.vue +++ b/src/views/pictureOnMap/LayerControl.vue @@ -4,7 +4,7 @@ class="layericon" @click="allData.showControlBox = !allData.showControlBox" > -
返回
+
返回
90", color: "rgba(142,14,11,1)" }, @@ -271,6 +271,7 @@ }); function areaBack() { + debugger; backObj.value.name == '1'? (bus.emit("clearTemporaryData"),bus.emit(mapInitBusName),backObj.value = null) : bus.emit("panelDataToMap", backObj.value); } @@ -630,7 +631,7 @@ width:12px; height:12px; margin-right: 5px; - } + } diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" index 07fa179..de23f52 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" Binary files differ diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" index 9afe894..af9fff2 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" Binary files differ diff --git a/public/static/libs/mapbox/style/sprite/sprite.json b/public/static/libs/mapbox/style/sprite/sprite.json index 904214a..0344d4c 100644 --- a/public/static/libs/mapbox/style/sprite/sprite.json +++ b/public/static/libs/mapbox/style/sprite/sprite.json @@ -260,43 +260,45 @@ "雨水泵站扎点@2x":{"x":28,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, "雨水管网水质扎点@2x":{"x":56,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, "雨水管网液位扎点@2x":{"x":84,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水点扎点@2x(1)":{"x":112,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水点扎点@2x":{"x":140,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水监测点扎点@2x":{"x":168,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "wsc1":{"x":196,"y":290,"width":40,"height":40,"pixelRatio":1,"sdf":false}, - "调蓄池扎点@3x(1)":{"x":236,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "调蓄池扎点@3x":{"x":278,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分流井扎点@3x(1)":{"x":320,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分流井扎点@3x":{"x":362,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分区信息扎点@3x":{"x":404,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠水位扎点@3x":{"x":446,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠水质扎点@3x":{"x":0,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠扎点@3x":{"x":42,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "河湖溢流风险口扎点@3x":{"x":84,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "河流渠道扎点@3x":{"x":126,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "湖泊水位扎点@3x":{"x":168,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "湖泊扎点@3x":{"x":210,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "接驳口扎点@3x":{"x":252,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口水质扎点@3x":{"x":294,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口扎点@3x(1)":{"x":336,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口扎点@3x":{"x":378,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排水户扎点@3x":{"x":420,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排水护扎点@3x":{"x":462,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水库范围i扎点@3x":{"x":0,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水库扎点@3x":{"x":42,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水闸扎点@3x(1)":{"x":84,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水闸扎点@3x":{"x":126,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水泵站扎点@3x(1)":{"x":168,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水泵站扎点@3x":{"x":210,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水厂扎点@3x":{"x":252,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水处理厂扎点@3x":{"x":294,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水管网水质扎点@3x":{"x":336,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨量站扎点@3x":{"x":378,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水泵站扎点@3x(1)":{"x":420,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水泵站扎点@3x":{"x":462,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水管网水质扎点@3x":{"x":0,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水管网液位扎点@3x":{"x":42,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水点扎点@3x(1)":{"x":84,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水点扎点@3x":{"x":126,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水监测点扎点@3x":{"x":168,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false} + "wsc1":{"x":112,"y":290,"width":40,"height":40,"pixelRatio":1,"sdf":false}, + "渍水点扎点@2x(1)":{"x":152,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水点扎点@2x":{"x":194,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水点扎点_告警@2x":{"x":236,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水监测点扎点@2x":{"x":278,"y":290,"width":41,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水监测点扎点_告警@2x":{"x":319,"y":290,"width":41,"height":50,"pixelRatio":1.5,"sdf":false}, + "调蓄池扎点@3x(1)":{"x":360,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "调蓄池扎点@3x":{"x":402,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分流井扎点@3x(1)":{"x":444,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分流井扎点@3x":{"x":0,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分区信息扎点@3x":{"x":42,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠水位扎点@3x":{"x":84,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠水质扎点@3x":{"x":126,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠扎点@3x":{"x":168,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "河湖溢流风险口扎点@3x":{"x":210,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "河流渠道扎点@3x":{"x":252,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "湖泊水位扎点@3x":{"x":294,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "湖泊扎点@3x":{"x":336,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "接驳口扎点@3x":{"x":378,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口水质扎点@3x":{"x":420,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口扎点@3x(1)":{"x":462,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口扎点@3x":{"x":0,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排水户扎点@3x":{"x":42,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排水护扎点@3x":{"x":84,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水库范围i扎点@3x":{"x":126,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水库扎点@3x":{"x":168,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水闸扎点@3x(1)":{"x":210,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水闸扎点@3x":{"x":252,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水泵站扎点@3x(1)":{"x":294,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水泵站扎点@3x":{"x":336,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水厂扎点@3x":{"x":378,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水处理厂扎点@3x":{"x":420,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水管网水质扎点@3x":{"x":462,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨量站扎点@3x":{"x":0,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水泵站扎点@3x(1)":{"x":42,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水泵站扎点@3x":{"x":84,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水管网水质扎点@3x":{"x":126,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水管网液位扎点@3x":{"x":168,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水点扎点@3x(1)":{"x":210,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水点扎点@3x":{"x":252,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水监测点扎点@3x":{"x":294,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false} } diff --git a/public/static/libs/mapbox/style/sprite/sprite.png b/public/static/libs/mapbox/style/sprite/sprite.png index 9d57b55..c840764 100644 --- a/public/static/libs/mapbox/style/sprite/sprite.png +++ b/public/static/libs/mapbox/style/sprite/sprite.png Binary files differ diff --git a/src/api/MonitorAssetsOnMap.js b/src/api/MonitorAssetsOnMap.js index 4e53377..4d288f5 100644 --- a/src/api/MonitorAssetsOnMap.js +++ b/src/api/MonitorAssetsOnMap.js @@ -463,4 +463,4 @@ method: 'get', params: query }) -} +} \ No newline at end of file diff --git a/src/assets/images/pictureOnMap/leftBZ.png b/src/assets/images/pictureOnMap/leftBZ.png new file mode 100644 index 0000000..1af9f89 --- /dev/null +++ b/src/assets/images/pictureOnMap/leftBZ.png Binary files differ diff --git a/src/components/Map/MapBox.vue b/src/components/Map/MapBox.vue index cb99f34..ecea8c4 100644 --- a/src/components/Map/MapBox.vue +++ b/src/components/Map/MapBox.vue @@ -41,6 +41,7 @@ import { LineLayer, GeoJsonLayer } from "@deck.gl/layers"; import { TripsLayer, Tile3DLayer } from "@deck.gl/geo-layers"; import { Tiles3DLoader } from "@loaders.gl/3d-tiles"; +const baseUrl = import.meta.env.VITE_APP_MAP_BASE_API || ""; const appStore = useUserStore(); const MapShow = ref(true); const props = defineProps({ @@ -448,10 +449,10 @@ let outlet = relationDataList.filter(i => i.dataCode == keys[1])[0]; outlet && outletRouteMethod({id:String(outlet.dataId)},false); - let lake = relationDataList.filter(i => i.dataCode == keys[2])[0]; - let features = newfiberMap.map.getSource("point")._data.features.filter(i => i.properties.id == lake.relationId && i.properties.type == keys[2]).map(i => _.cloneDeep(i)); + let relationIds = relationDataList.filter(i => [keys[2],keys[3]].includes( i.dataCode)).map(i => i.relationId).filter(Boolean); + let features = newfiberMap.map.getSource("point")._data.features.filter(i => relationIds.includes(i.properties.id) && ([keys[2],keys[3]].includes(i.properties.type))).map(i => _.cloneDeep(i)); features.forEach(k => (k.properties.type = undefined)) - lake && busEmit(setGeoJSON.key, { json: turf.featureCollection(features), key: keys[0] }); + relationIds && busEmit(setGeoJSON.key, { json: turf.featureCollection(features), key: keys[0] }); busEmit(setLayerVisible.key, { layername: keys[0], isCheck: true }); } @@ -817,13 +818,17 @@ const { setLayerVisible, beansToMap } = events_params; const fullnessColor = (value) => { value = Number(value); - const colors = [{value:0,color:"rgba(52,176,0,1)"},{value:60,color:"rgba(254,203,0,1)"},{value:70,color:"rgba(223,1,0,1)"},{value:90,color:"rgba(142,14,11,1)"}]; + if(!(location.href.includes('dhgx.'))) value = _.random(60,100); + const colors = [{value:0,color:"rgba(52,176,0,0)"},{value:60,color:"rgba(254,203,0,1)"},{value:70,color:"rgba(223,1,0,1)"},{value:90,color:"rgba(142,14,11,1)"}]; return (colors.filter((i,idx) => idx!= colors.length-1 && i.value{ return (({ lake_water_level:()=>{ return `${item.siteData[0].valueName}:【${item.siteData[0].value}${item.siteData[0].unit}】` + }, + waterlogging:()=>{ + return `${item.name}\n${item.siteData[0].valueName}:【${item.siteData[0].value}${item.siteData[0].unit}】` } })[item.pointType] || (()=> item.name))(); } @@ -852,7 +857,7 @@ fullness:{ method:getPipeMonitorRun, fields:{geometry:"pipelineGeometry",name:"name"}, - groupMethod:(data)=> _.groupBy(data.filter(k => k.pipelineGeometry).map(o => ({...o,width:4,type:`fullness_${o.pipeSystem}`,name:`管径:${o.pipelineDiameter}\n充满度:${o.fullness}`,color:fullnessColor(o.fullness)})),(v)=>v.type) + groupMethod:(data)=> _.groupBy(data.filter(k => k.pipelineGeometry).map(o => ({...o,width:8,type:`fullness_${o.pipeSystem}`,name:`管径:${o.pipelineDiameter}\n充满度:${o.fullness}`,color:fullnessColor(o.fullness)})),(v)=>v.type) } }; const other_data_params = {}; diff --git a/src/views/pictureOnMap/LayerControl.vue b/src/views/pictureOnMap/LayerControl.vue index 634846e..ac19187 100644 --- a/src/views/pictureOnMap/LayerControl.vue +++ b/src/views/pictureOnMap/LayerControl.vue @@ -4,7 +4,7 @@ class="layericon" @click="allData.showControlBox = !allData.showControlBox" >
-
返回
+
返回
90", color: "rgba(142,14,11,1)" }, @@ -271,6 +271,7 @@ }); function areaBack() { + debugger; backObj.value.name == '1'? (bus.emit("clearTemporaryData"),bus.emit(mapInitBusName),backObj.value = null) : bus.emit("panelDataToMap", backObj.value); } @@ -630,7 +631,7 @@ width:12px; height:12px; margin-right: 5px; - } + } diff --git a/src/views/pictureOnMap/index.vue b/src/views/pictureOnMap/index.vue index 83d1fbd..741e66c 100644 --- a/src/views/pictureOnMap/index.vue +++ b/src/views/pictureOnMap/index.vue @@ -104,6 +104,8 @@ 'plcSewagePumpStation', //plc污水泵站 'plcRainPumpStation', //plc雨水泵站 "plcGateStation",//plc水闸 + + ]); // 基本数据 const arrid = ref([ @@ -453,7 +455,20 @@ // 处理标注 Getproperties.value = properties; - let type = properties ? properties.type : '' || 1; + let type = properties ? properties.type : '' || 1; + // 针对调度辅助决策易渍水点做的判断 + let fzjcArr=['waterlog_community_text','waterloggingPointRelation'] + if(fzjcArr.includes(properties.type)){ + // 调度辅助决策易渍水点上图统一类型 + type=properties._image + if(!Object.keys(properties).includes('stCode')){ + properties.stCode=properties.dataCode + } + if(!Object.keys(properties).includes('id')){ + properties.id=properties.dataId + } + } + let Name = properties ? properties.pointTypeName : '' || ''; // Annotation(properties); console.log('1111', type, layerId); diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" index 07fa179..de23f52 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\345\234\250\347\272\277.png" Binary files differ diff --git "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" index 9afe894..af9fff2 100644 --- "a/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" +++ "b/public/static/libs/mapbox/images/\346\263\265\350\275\246\347\246\273\347\272\277.png" Binary files differ diff --git a/public/static/libs/mapbox/style/sprite/sprite.json b/public/static/libs/mapbox/style/sprite/sprite.json index 904214a..0344d4c 100644 --- a/public/static/libs/mapbox/style/sprite/sprite.json +++ b/public/static/libs/mapbox/style/sprite/sprite.json @@ -260,43 +260,45 @@ "雨水泵站扎点@2x":{"x":28,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, "雨水管网水质扎点@2x":{"x":56,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, "雨水管网液位扎点@2x":{"x":84,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水点扎点@2x(1)":{"x":112,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水点扎点@2x":{"x":140,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "渍水监测点扎点@2x":{"x":168,"y":290,"width":28,"height":34,"pixelRatio":1,"sdf":false}, - "wsc1":{"x":196,"y":290,"width":40,"height":40,"pixelRatio":1,"sdf":false}, - "调蓄池扎点@3x(1)":{"x":236,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "调蓄池扎点@3x":{"x":278,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分流井扎点@3x(1)":{"x":320,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分流井扎点@3x":{"x":362,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "分区信息扎点@3x":{"x":404,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠水位扎点@3x":{"x":446,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠水质扎点@3x":{"x":0,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "港渠扎点@3x":{"x":42,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "河湖溢流风险口扎点@3x":{"x":84,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "河流渠道扎点@3x":{"x":126,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "湖泊水位扎点@3x":{"x":168,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "湖泊扎点@3x":{"x":210,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "接驳口扎点@3x":{"x":252,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口水质扎点@3x":{"x":294,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口扎点@3x(1)":{"x":336,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排口扎点@3x":{"x":378,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排水户扎点@3x":{"x":420,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "排水护扎点@3x":{"x":462,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水库范围i扎点@3x":{"x":0,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水库扎点@3x":{"x":42,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水闸扎点@3x(1)":{"x":84,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "水闸扎点@3x":{"x":126,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水泵站扎点@3x(1)":{"x":168,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水泵站扎点@3x":{"x":210,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水厂扎点@3x":{"x":252,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水处理厂扎点@3x":{"x":294,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "污水管网水质扎点@3x":{"x":336,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨量站扎点@3x":{"x":378,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水泵站扎点@3x(1)":{"x":420,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水泵站扎点@3x":{"x":462,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水管网水质扎点@3x":{"x":0,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "雨水管网液位扎点@3x":{"x":42,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水点扎点@3x(1)":{"x":84,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水点扎点@3x":{"x":126,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, - "渍水监测点扎点@3x":{"x":168,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false} + "wsc1":{"x":112,"y":290,"width":40,"height":40,"pixelRatio":1,"sdf":false}, + "渍水点扎点@2x(1)":{"x":152,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水点扎点@2x":{"x":194,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水点扎点_告警@2x":{"x":236,"y":290,"width":42,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水监测点扎点@2x":{"x":278,"y":290,"width":41,"height":50,"pixelRatio":1.5,"sdf":false}, + "渍水监测点扎点_告警@2x":{"x":319,"y":290,"width":41,"height":50,"pixelRatio":1.5,"sdf":false}, + "调蓄池扎点@3x(1)":{"x":360,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "调蓄池扎点@3x":{"x":402,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分流井扎点@3x(1)":{"x":444,"y":290,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分流井扎点@3x":{"x":0,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "分区信息扎点@3x":{"x":42,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠水位扎点@3x":{"x":84,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠水质扎点@3x":{"x":126,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "港渠扎点@3x":{"x":168,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "河湖溢流风险口扎点@3x":{"x":210,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "河流渠道扎点@3x":{"x":252,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "湖泊水位扎点@3x":{"x":294,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "湖泊扎点@3x":{"x":336,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "接驳口扎点@3x":{"x":378,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口水质扎点@3x":{"x":420,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口扎点@3x(1)":{"x":462,"y":341,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排口扎点@3x":{"x":0,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排水户扎点@3x":{"x":42,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "排水护扎点@3x":{"x":84,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水库范围i扎点@3x":{"x":126,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水库扎点@3x":{"x":168,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水闸扎点@3x(1)":{"x":210,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "水闸扎点@3x":{"x":252,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水泵站扎点@3x(1)":{"x":294,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水泵站扎点@3x":{"x":336,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水厂扎点@3x":{"x":378,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水处理厂扎点@3x":{"x":420,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "污水管网水质扎点@3x":{"x":462,"y":392,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨量站扎点@3x":{"x":0,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水泵站扎点@3x(1)":{"x":42,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水泵站扎点@3x":{"x":84,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水管网水质扎点@3x":{"x":126,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "雨水管网液位扎点@3x":{"x":168,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水点扎点@3x(1)":{"x":210,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水点扎点@3x":{"x":252,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false}, + "渍水监测点扎点@3x":{"x":294,"y":443,"width":42,"height":51,"pixelRatio":1,"sdf":false} } diff --git a/public/static/libs/mapbox/style/sprite/sprite.png b/public/static/libs/mapbox/style/sprite/sprite.png index 9d57b55..c840764 100644 --- a/public/static/libs/mapbox/style/sprite/sprite.png +++ b/public/static/libs/mapbox/style/sprite/sprite.png Binary files differ diff --git a/src/api/MonitorAssetsOnMap.js b/src/api/MonitorAssetsOnMap.js index 4e53377..4d288f5 100644 --- a/src/api/MonitorAssetsOnMap.js +++ b/src/api/MonitorAssetsOnMap.js @@ -463,4 +463,4 @@ method: 'get', params: query }) -} +} \ No newline at end of file diff --git a/src/assets/images/pictureOnMap/leftBZ.png b/src/assets/images/pictureOnMap/leftBZ.png new file mode 100644 index 0000000..1af9f89 --- /dev/null +++ b/src/assets/images/pictureOnMap/leftBZ.png Binary files differ diff --git a/src/components/Map/MapBox.vue b/src/components/Map/MapBox.vue index cb99f34..ecea8c4 100644 --- a/src/components/Map/MapBox.vue +++ b/src/components/Map/MapBox.vue @@ -41,6 +41,7 @@ import { LineLayer, GeoJsonLayer } from "@deck.gl/layers"; import { TripsLayer, Tile3DLayer } from "@deck.gl/geo-layers"; import { Tiles3DLoader } from "@loaders.gl/3d-tiles"; +const baseUrl = import.meta.env.VITE_APP_MAP_BASE_API || ""; const appStore = useUserStore(); const MapShow = ref(true); const props = defineProps({ @@ -448,10 +449,10 @@ let outlet = relationDataList.filter(i => i.dataCode == keys[1])[0]; outlet && outletRouteMethod({id:String(outlet.dataId)},false); - let lake = relationDataList.filter(i => i.dataCode == keys[2])[0]; - let features = newfiberMap.map.getSource("point")._data.features.filter(i => i.properties.id == lake.relationId && i.properties.type == keys[2]).map(i => _.cloneDeep(i)); + let relationIds = relationDataList.filter(i => [keys[2],keys[3]].includes( i.dataCode)).map(i => i.relationId).filter(Boolean); + let features = newfiberMap.map.getSource("point")._data.features.filter(i => relationIds.includes(i.properties.id) && ([keys[2],keys[3]].includes(i.properties.type))).map(i => _.cloneDeep(i)); features.forEach(k => (k.properties.type = undefined)) - lake && busEmit(setGeoJSON.key, { json: turf.featureCollection(features), key: keys[0] }); + relationIds && busEmit(setGeoJSON.key, { json: turf.featureCollection(features), key: keys[0] }); busEmit(setLayerVisible.key, { layername: keys[0], isCheck: true }); } @@ -817,13 +818,17 @@ const { setLayerVisible, beansToMap } = events_params; const fullnessColor = (value) => { value = Number(value); - const colors = [{value:0,color:"rgba(52,176,0,1)"},{value:60,color:"rgba(254,203,0,1)"},{value:70,color:"rgba(223,1,0,1)"},{value:90,color:"rgba(142,14,11,1)"}]; + if(!(location.href.includes('dhgx.'))) value = _.random(60,100); + const colors = [{value:0,color:"rgba(52,176,0,0)"},{value:60,color:"rgba(254,203,0,1)"},{value:70,color:"rgba(223,1,0,1)"},{value:90,color:"rgba(142,14,11,1)"}]; return (colors.filter((i,idx) => idx!= colors.length-1 && i.value{ return (({ lake_water_level:()=>{ return `${item.siteData[0].valueName}:【${item.siteData[0].value}${item.siteData[0].unit}】` + }, + waterlogging:()=>{ + return `${item.name}\n${item.siteData[0].valueName}:【${item.siteData[0].value}${item.siteData[0].unit}】` } })[item.pointType] || (()=> item.name))(); } @@ -852,7 +857,7 @@ fullness:{ method:getPipeMonitorRun, fields:{geometry:"pipelineGeometry",name:"name"}, - groupMethod:(data)=> _.groupBy(data.filter(k => k.pipelineGeometry).map(o => ({...o,width:4,type:`fullness_${o.pipeSystem}`,name:`管径:${o.pipelineDiameter}\n充满度:${o.fullness}`,color:fullnessColor(o.fullness)})),(v)=>v.type) + groupMethod:(data)=> _.groupBy(data.filter(k => k.pipelineGeometry).map(o => ({...o,width:8,type:`fullness_${o.pipeSystem}`,name:`管径:${o.pipelineDiameter}\n充满度:${o.fullness}`,color:fullnessColor(o.fullness)})),(v)=>v.type) } }; const other_data_params = {}; diff --git a/src/views/pictureOnMap/LayerControl.vue b/src/views/pictureOnMap/LayerControl.vue index 634846e..ac19187 100644 --- a/src/views/pictureOnMap/LayerControl.vue +++ b/src/views/pictureOnMap/LayerControl.vue @@ -4,7 +4,7 @@ class="layericon" @click="allData.showControlBox = !allData.showControlBox" >
-
返回
+
返回
90", color: "rgba(142,14,11,1)" }, @@ -271,6 +271,7 @@ }); function areaBack() { + debugger; backObj.value.name == '1'? (bus.emit("clearTemporaryData"),bus.emit(mapInitBusName),backObj.value = null) : bus.emit("panelDataToMap", backObj.value); } @@ -630,7 +631,7 @@ width:12px; height:12px; margin-right: 5px; - } + } diff --git a/src/views/pictureOnMap/index.vue b/src/views/pictureOnMap/index.vue index 83d1fbd..741e66c 100644 --- a/src/views/pictureOnMap/index.vue +++ b/src/views/pictureOnMap/index.vue @@ -104,6 +104,8 @@ 'plcSewagePumpStation', //plc污水泵站 'plcRainPumpStation', //plc雨水泵站 "plcGateStation",//plc水闸 + + ]); // 基本数据 const arrid = ref([ @@ -453,7 +455,20 @@ // 处理标注 Getproperties.value = properties; - let type = properties ? properties.type : '' || 1; + let type = properties ? properties.type : '' || 1; + // 针对调度辅助决策易渍水点做的判断 + let fzjcArr=['waterlog_community_text','waterloggingPointRelation'] + if(fzjcArr.includes(properties.type)){ + // 调度辅助决策易渍水点上图统一类型 + type=properties._image + if(!Object.keys(properties).includes('stCode')){ + properties.stCode=properties.dataCode + } + if(!Object.keys(properties).includes('id')){ + properties.id=properties.dataId + } + } + let Name = properties ? properties.pointTypeName : '' || ''; // Annotation(properties); console.log('1111', type, layerId); diff --git a/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningLeft/component/Bzgq.vue b/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningLeft/component/Bzgq.vue index be8266a..140f6d4 100644 --- a/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningLeft/component/Bzgq.vue +++ b/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningLeft/component/Bzgq.vue @@ -2,7 +2,47 @@
-
+
+
+
泵站总数({{sumObj.totalNum}})
+
当前泵机开泵
+
今日总抽排排量
+
超起排水位
+
+
+
+
雨水泵站
+
污水泵站
+
+
+
{{sumObj.rainPumpNum}}
+
{{sumObj.sewagePumpNum}}
+
+
+
{{sumObj.openPumpMachineNum}}/{{sumObj.pumpMachineNum}}
+
+
+
{{sumObj.rainOpenPumpMachineNum}}/{{sumObj.rainPumpMachineNum}}
+
{{sumObj.sewageOpenPumpMachineNum}}/{{sumObj.sewagePumpMachineNum}}
+
+
+
{{sumObj.todayTotalCpl+'万方'}}
+
--
+
+
+
{{sumObj.rainPumpTodayTotalCpl+'万方'}}
+
--
+
{{sumObj.sewagePumpTodayTotalCpl+'万方'}}
+
--
+
+
+
{{sumObj.cqcswNum}}
+
+
+
+ + +
@@ -99,8 +139,13 @@
-
-
{{item.name}}
+
+
{{item.name}}
+
+ (负载: + {{(Number(Number(item.openPumpNum) / Number(item.pumpNumber))*100).toFixed(0)}}% + ) +
@@ -180,6 +225,19 @@ } }); } +// 计算负荷 +function loadFun(item){ + // openPumpNum/pumpNumber + let sum = (Number(Number(item.openPumpNum) / Number(item.pumpNumber))*100) +if(sum<=100&&sum>75){ + return 'rgba(254, 103, 128, 1)' +}else if(sum<=75&&sum>=50){ + return 'rgba(254, 227, 103, 1)' + +}else if(sum<50){ +return 'rgba(0, 247, 251, 1)' +} +} onMounted(() => { gitDataList() gitDataFun() @@ -188,6 +246,75 @@ diff --git a/src/views/pictureOnMap/index.vue b/src/views/pictureOnMap/index.vue index 83d1fbd..741e66c 100644 --- a/src/views/pictureOnMap/index.vue +++ b/src/views/pictureOnMap/index.vue @@ -104,6 +104,8 @@ 'plcSewagePumpStation', //plc污水泵站 'plcRainPumpStation', //plc雨水泵站 "plcGateStation",//plc水闸 + + ]); // 基本数据 const arrid = ref([ @@ -453,7 +455,20 @@ // 处理标注 Getproperties.value = properties; - let type = properties ? properties.type : '' || 1; + let type = properties ? properties.type : '' || 1; + // 针对调度辅助决策易渍水点做的判断 + let fzjcArr=['waterlog_community_text','waterloggingPointRelation'] + if(fzjcArr.includes(properties.type)){ + // 调度辅助决策易渍水点上图统一类型 + type=properties._image + if(!Object.keys(properties).includes('stCode')){ + properties.stCode=properties.dataCode + } + if(!Object.keys(properties).includes('id')){ + properties.id=properties.dataId + } + } + let Name = properties ? properties.pointTypeName : '' || ''; // Annotation(properties); console.log('1111', type, layerId); diff --git a/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningLeft/component/Bzgq.vue b/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningLeft/component/Bzgq.vue index be8266a..140f6d4 100644 --- a/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningLeft/component/Bzgq.vue +++ b/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningLeft/component/Bzgq.vue @@ -2,7 +2,47 @@
-
+
+
+
泵站总数({{sumObj.totalNum}})
+
当前泵机开泵
+
今日总抽排排量
+
超起排水位
+
+
+
+
雨水泵站
+
污水泵站
+
+
+
{{sumObj.rainPumpNum}}
+
{{sumObj.sewagePumpNum}}
+
+
+
{{sumObj.openPumpMachineNum}}/{{sumObj.pumpMachineNum}}
+
+
+
{{sumObj.rainOpenPumpMachineNum}}/{{sumObj.rainPumpMachineNum}}
+
{{sumObj.sewageOpenPumpMachineNum}}/{{sumObj.sewagePumpMachineNum}}
+
+
+
{{sumObj.todayTotalCpl+'万方'}}
+
--
+
+
+
{{sumObj.rainPumpTodayTotalCpl+'万方'}}
+
--
+
{{sumObj.sewagePumpTodayTotalCpl+'万方'}}
+
--
+
+
+
{{sumObj.cqcswNum}}
+
+
+
+ + +
@@ -99,8 +139,13 @@
-
-
{{item.name}}
+
+
{{item.name}}
+
+ (负载: + {{(Number(Number(item.openPumpNum) / Number(item.pumpNumber))*100).toFixed(0)}}% + ) +
@@ -180,6 +225,19 @@ } }); } +// 计算负荷 +function loadFun(item){ + // openPumpNum/pumpNumber + let sum = (Number(Number(item.openPumpNum) / Number(item.pumpNumber))*100) +if(sum<=100&&sum>75){ + return 'rgba(254, 103, 128, 1)' +}else if(sum<=75&&sum>=50){ + return 'rgba(254, 227, 103, 1)' + +}else if(sum<50){ +return 'rgba(0, 247, 251, 1)' +} +} onMounted(() => { gitDataList() gitDataFun() @@ -188,6 +246,75 @@ diff --git a/src/views/pictureOnMap/index.vue b/src/views/pictureOnMap/index.vue index 83d1fbd..741e66c 100644 --- a/src/views/pictureOnMap/index.vue +++ b/src/views/pictureOnMap/index.vue @@ -104,6 +104,8 @@ 'plcSewagePumpStation', //plc污水泵站 'plcRainPumpStation', //plc雨水泵站 "plcGateStation",//plc水闸 + + ]); // 基本数据 const arrid = ref([ @@ -453,7 +455,20 @@ // 处理标注 Getproperties.value = properties; - let type = properties ? properties.type : '' || 1; + let type = properties ? properties.type : '' || 1; + // 针对调度辅助决策易渍水点做的判断 + let fzjcArr=['waterlog_community_text','waterloggingPointRelation'] + if(fzjcArr.includes(properties.type)){ + // 调度辅助决策易渍水点上图统一类型 + type=properties._image + if(!Object.keys(properties).includes('stCode')){ + properties.stCode=properties.dataCode + } + if(!Object.keys(properties).includes('id')){ + properties.id=properties.dataId + } + } + let Name = properties ? properties.pointTypeName : '' || ''; // Annotation(properties); console.log('1111', type, layerId); diff --git a/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningLeft/component/Bzgq.vue b/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningLeft/component/Bzgq.vue index be8266a..140f6d4 100644 --- a/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningLeft/component/Bzgq.vue +++ b/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningLeft/component/Bzgq.vue @@ -2,7 +2,47 @@
-
+
+
+
泵站总数({{sumObj.totalNum}})
+
当前泵机开泵
+
今日总抽排排量
+
超起排水位
+
+
+
+
雨水泵站
+
污水泵站
+
+
+
{{sumObj.rainPumpNum}}
+
{{sumObj.sewagePumpNum}}
+
+
+
{{sumObj.openPumpMachineNum}}/{{sumObj.pumpMachineNum}}
+
+
+
{{sumObj.rainOpenPumpMachineNum}}/{{sumObj.rainPumpMachineNum}}
+
{{sumObj.sewageOpenPumpMachineNum}}/{{sumObj.sewagePumpMachineNum}}
+
+
+
{{sumObj.todayTotalCpl+'万方'}}
+
--
+
+
+
{{sumObj.rainPumpTodayTotalCpl+'万方'}}
+
--
+
{{sumObj.sewagePumpTodayTotalCpl+'万方'}}
+
--
+
+
+
{{sumObj.cqcswNum}}
+
+
+
+ + +
@@ -99,8 +139,13 @@
-
-
{{item.name}}
+
+
{{item.name}}
+
+ (负载: + {{(Number(Number(item.openPumpNum) / Number(item.pumpNumber))*100).toFixed(0)}}% + ) +
@@ -180,6 +225,19 @@ } }); } +// 计算负荷 +function loadFun(item){ + // openPumpNum/pumpNumber + let sum = (Number(Number(item.openPumpNum) / Number(item.pumpNumber))*100) +if(sum<=100&&sum>75){ + return 'rgba(254, 103, 128, 1)' +}else if(sum<=75&&sum>=50){ + return 'rgba(254, 227, 103, 1)' + +}else if(sum<50){ +return 'rgba(0, 247, 251, 1)' +} +} onMounted(() => { gitDataList() gitDataFun() @@ -188,6 +246,75 @@ diff --git a/src/views/pictureOnMap/index.vue b/src/views/pictureOnMap/index.vue index 83d1fbd..741e66c 100644 --- a/src/views/pictureOnMap/index.vue +++ b/src/views/pictureOnMap/index.vue @@ -104,6 +104,8 @@ 'plcSewagePumpStation', //plc污水泵站 'plcRainPumpStation', //plc雨水泵站 "plcGateStation",//plc水闸 + + ]); // 基本数据 const arrid = ref([ @@ -453,7 +455,20 @@ // 处理标注 Getproperties.value = properties; - let type = properties ? properties.type : '' || 1; + let type = properties ? properties.type : '' || 1; + // 针对调度辅助决策易渍水点做的判断 + let fzjcArr=['waterlog_community_text','waterloggingPointRelation'] + if(fzjcArr.includes(properties.type)){ + // 调度辅助决策易渍水点上图统一类型 + type=properties._image + if(!Object.keys(properties).includes('stCode')){ + properties.stCode=properties.dataCode + } + if(!Object.keys(properties).includes('id')){ + properties.id=properties.dataId + } + } + let Name = properties ? properties.pointTypeName : '' || ''; // Annotation(properties); console.log('1111', type, layerId); diff --git a/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningLeft/component/Bzgq.vue b/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningLeft/component/Bzgq.vue index be8266a..140f6d4 100644 --- a/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningLeft/component/Bzgq.vue +++ b/src/views/pictureOnMap/page/FloodControlAndDrainage/Jianceyujin/MonitoringWarningLeft/component/Bzgq.vue @@ -2,7 +2,47 @@
-
+
+
+
泵站总数({{sumObj.totalNum}})
+
当前泵机开泵
+
今日总抽排排量
+
超起排水位
+
+
+
+
雨水泵站
+
污水泵站
+
+
+
{{sumObj.rainPumpNum}}
+
{{sumObj.sewagePumpNum}}
+
+
+
{{sumObj.openPumpMachineNum}}/{{sumObj.pumpMachineNum}}
+
+
+
{{sumObj.rainOpenPumpMachineNum}}/{{sumObj.rainPumpMachineNum}}
+
{{sumObj.sewageOpenPumpMachineNum}}/{{sumObj.sewagePumpMachineNum}}
+
+
+
{{sumObj.todayTotalCpl+'万方'}}
+
--
+
+
+
{{sumObj.rainPumpTodayTotalCpl+'万方'}}
+
--
+
{{sumObj.sewagePumpTodayTotalCpl+'万方'}}
+
--
+
+
+
{{sumObj.cqcswNum}}
+
+
+
+ + +
@@ -99,8 +139,13 @@
-
-
{{item.name}}
+
+
{{item.name}}
+
+ (负载: + {{(Number(Number(item.openPumpNum) / Number(item.pumpNumber))*100).toFixed(0)}}% + ) +
@@ -180,6 +225,19 @@ } }); } +// 计算负荷 +function loadFun(item){ + // openPumpNum/pumpNumber + let sum = (Number(Number(item.openPumpNum) / Number(item.pumpNumber))*100) +if(sum<=100&&sum>75){ + return 'rgba(254, 103, 128, 1)' +}else if(sum<=75&&sum>=50){ + return 'rgba(254, 227, 103, 1)' + +}else if(sum<50){ +return 'rgba(0, 247, 251, 1)' +} +} onMounted(() => { gitDataList() gitDataFun() @@ -188,6 +246,75 @@