diff --git a/public/static/libs/mapbox/style/preventionCX.json b/public/static/libs/mapbox/style/preventionCX.json index ce6ddba..f0a3b1e 100644 --- a/public/static/libs/mapbox/style/preventionCX.json +++ b/public/static/libs/mapbox/style/preventionCX.json @@ -2,14 +2,9 @@ "params": { "basemap": "https://supermap2.wh-nf.cn:8090/bm", "mvt": "https://supermap0.wh-nf.cn:8090/vt", - "sprites": [ - "/static/libs/mapbox/style/sprite/sprite5" - ], + "sprites": ["/static/libs/mapbox/style/sprite/sprite5"], "init": { - "center": [ - 114.312, - 34.802 - ], + "center": [114.312, 34.802], "zoom": 11, "style": "/static/libs/mapbox/style/customs/night-style.json" }, @@ -35,27 +30,19 @@ "methods": [ { "name": "shape", - "params": [ - "circle" - ] + "params": ["circle"] }, { "name": "color", - "params": [ - "rgba(255,0,0,1.0)" - ] + "params": ["rgba(255,0,0,1.0)"] }, { "name": "size", - "params": [ - 10 - ] + "params": [10] }, { "name": "animate", - "params": [ - true - ] + "params": [true] }, { "name": "style", @@ -75,11 +62,7 @@ "type": "symbol", "minzoom": 0, "maxzoom": 24, - "filter": [ - "in", - "type", - "" - ], + "filter": ["in", "type", ""], "paint": { "text-color": "rgba(255, 255, 255, 1)", "text-halo-color": "rgba(14, 139, 90, 1)", @@ -88,10 +71,7 @@ "layout": { "icon-image": [ "match", - [ - "get", - "type" - ], + ["get", "type"], "YSBZ", "rainBengZhan_icon", "WSBZ", @@ -119,142 +99,64 @@ "icon-anchor": "center", "icon-size": 0.8, "text-field": "{name}", - "text-font": [ - "KlokanTech Noto Sans Regular" - ], + "text-font": ["KlokanTech Noto Sans Regular"], "text-size": 16, "text-line-height": 3, "text-anchor": "bottom", "text-max-width": 50, - "text-offset": [ - 0, - -0.8 - ] + "text-offset": [0, -0.8] }, "mType": "geojson" } ], - "orders": [ - [ - "poi_label" - ], - [ - "place_label_city" - ], - [ - "road_major_label" - ], - [ - "place_label_other" - ], - [ - "point" - ] - ], + "orders": [["poi_label"], ["place_label_city"], ["road_major_label"], ["place_label_other"], ["point"]], "filter": { "wsLine1": { - "layerName": [ - "pipeline_info", - "pipeline_point" - ], + "layerName": ["pipeline_info", "pipeline_point"], "filter": [ - [ - "WS", - "HS" - ], - [ - "污水点", - "合流点" - ] + ["WS", "HS"], + ["污水点", "合流点"] ] }, "ysLine1": { - "layerName": [ - "pipeline_info", - "pipeline_point" - ], - "filter": [ - [ - "YS" - ], - [ - "雨水点" - ] - ] + "layerName": ["pipeline_info", "pipeline_point"], + "filter": [["YS"], ["雨水点"]] }, "oldCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "老城区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["老城区"]], "easeTo": { - "center": [ - 113.933, - 30.926 - ], + "center": [113.933, 30.926], "zoom": 13.6, "pitch": 55 } }, "southCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "南城新区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["南城新区"]], "easeTo": { - "center": [ - 113.933, - 30.886 - ], + "center": [113.933, 30.886], "zoom": 13.6, "pitch": 55 } }, "newCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "东城新区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["东城新区"]], "easeTo": { - "center": [ - 113.983, - 30.896 - ], + "center": [113.983, 30.896], "zoom": 13.6, "pitch": 55 } }, "allCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "东城新区", - "南城新区", - "老城区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["东城新区", "南城新区", "老城区"]], "easeTo": { - "center": [ - 113.953, - 30.906 - ], + "center": [113.953, 30.906], "zoom": 13.6, "pitch": 55 } } } -} \ No newline at end of file +} diff --git a/public/static/libs/mapbox/style/preventionCX.json b/public/static/libs/mapbox/style/preventionCX.json index ce6ddba..f0a3b1e 100644 --- a/public/static/libs/mapbox/style/preventionCX.json +++ b/public/static/libs/mapbox/style/preventionCX.json @@ -2,14 +2,9 @@ "params": { "basemap": "https://supermap2.wh-nf.cn:8090/bm", "mvt": "https://supermap0.wh-nf.cn:8090/vt", - "sprites": [ - "/static/libs/mapbox/style/sprite/sprite5" - ], + "sprites": ["/static/libs/mapbox/style/sprite/sprite5"], "init": { - "center": [ - 114.312, - 34.802 - ], + "center": [114.312, 34.802], "zoom": 11, "style": "/static/libs/mapbox/style/customs/night-style.json" }, @@ -35,27 +30,19 @@ "methods": [ { "name": "shape", - "params": [ - "circle" - ] + "params": ["circle"] }, { "name": "color", - "params": [ - "rgba(255,0,0,1.0)" - ] + "params": ["rgba(255,0,0,1.0)"] }, { "name": "size", - "params": [ - 10 - ] + "params": [10] }, { "name": "animate", - "params": [ - true - ] + "params": [true] }, { "name": "style", @@ -75,11 +62,7 @@ "type": "symbol", "minzoom": 0, "maxzoom": 24, - "filter": [ - "in", - "type", - "" - ], + "filter": ["in", "type", ""], "paint": { "text-color": "rgba(255, 255, 255, 1)", "text-halo-color": "rgba(14, 139, 90, 1)", @@ -88,10 +71,7 @@ "layout": { "icon-image": [ "match", - [ - "get", - "type" - ], + ["get", "type"], "YSBZ", "rainBengZhan_icon", "WSBZ", @@ -119,142 +99,64 @@ "icon-anchor": "center", "icon-size": 0.8, "text-field": "{name}", - "text-font": [ - "KlokanTech Noto Sans Regular" - ], + "text-font": ["KlokanTech Noto Sans Regular"], "text-size": 16, "text-line-height": 3, "text-anchor": "bottom", "text-max-width": 50, - "text-offset": [ - 0, - -0.8 - ] + "text-offset": [0, -0.8] }, "mType": "geojson" } ], - "orders": [ - [ - "poi_label" - ], - [ - "place_label_city" - ], - [ - "road_major_label" - ], - [ - "place_label_other" - ], - [ - "point" - ] - ], + "orders": [["poi_label"], ["place_label_city"], ["road_major_label"], ["place_label_other"], ["point"]], "filter": { "wsLine1": { - "layerName": [ - "pipeline_info", - "pipeline_point" - ], + "layerName": ["pipeline_info", "pipeline_point"], "filter": [ - [ - "WS", - "HS" - ], - [ - "污水点", - "合流点" - ] + ["WS", "HS"], + ["污水点", "合流点"] ] }, "ysLine1": { - "layerName": [ - "pipeline_info", - "pipeline_point" - ], - "filter": [ - [ - "YS" - ], - [ - "雨水点" - ] - ] + "layerName": ["pipeline_info", "pipeline_point"], + "filter": [["YS"], ["雨水点"]] }, "oldCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "老城区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["老城区"]], "easeTo": { - "center": [ - 113.933, - 30.926 - ], + "center": [113.933, 30.926], "zoom": 13.6, "pitch": 55 } }, "southCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "南城新区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["南城新区"]], "easeTo": { - "center": [ - 113.933, - 30.886 - ], + "center": [113.933, 30.886], "zoom": 13.6, "pitch": 55 } }, "newCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "东城新区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["东城新区"]], "easeTo": { - "center": [ - 113.983, - 30.896 - ], + "center": [113.983, 30.896], "zoom": 13.6, "pitch": 55 } }, "allCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "东城新区", - "南城新区", - "老城区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["东城新区", "南城新区", "老城区"]], "easeTo": { - "center": [ - 113.953, - 30.906 - ], + "center": [113.953, 30.906], "zoom": 13.6, "pitch": 55 } } } -} \ No newline at end of file +} diff --git a/src/assets/styles/publicXG.scss b/src/assets/styles/publicXG.scss index f6a4e6b..a5513af 100644 --- a/src/assets/styles/publicXG.scss +++ b/src/assets/styles/publicXG.scss @@ -157,6 +157,15 @@ display: flex; flex-wrap: wrap; margin-bottom: 30px; + .titleBase { + width: 100%; + height: 34px; + line-height: 30px; + background: url('@/assets/newImgs/HMScreen/areaBg.png') no-repeat; + background-size: 100% 100%; + padding-left: 30px; + color: #fff; + } .part { display: flex; flex-wrap: wrap; diff --git a/public/static/libs/mapbox/style/preventionCX.json b/public/static/libs/mapbox/style/preventionCX.json index ce6ddba..f0a3b1e 100644 --- a/public/static/libs/mapbox/style/preventionCX.json +++ b/public/static/libs/mapbox/style/preventionCX.json @@ -2,14 +2,9 @@ "params": { "basemap": "https://supermap2.wh-nf.cn:8090/bm", "mvt": "https://supermap0.wh-nf.cn:8090/vt", - "sprites": [ - "/static/libs/mapbox/style/sprite/sprite5" - ], + "sprites": ["/static/libs/mapbox/style/sprite/sprite5"], "init": { - "center": [ - 114.312, - 34.802 - ], + "center": [114.312, 34.802], "zoom": 11, "style": "/static/libs/mapbox/style/customs/night-style.json" }, @@ -35,27 +30,19 @@ "methods": [ { "name": "shape", - "params": [ - "circle" - ] + "params": ["circle"] }, { "name": "color", - "params": [ - "rgba(255,0,0,1.0)" - ] + "params": ["rgba(255,0,0,1.0)"] }, { "name": "size", - "params": [ - 10 - ] + "params": [10] }, { "name": "animate", - "params": [ - true - ] + "params": [true] }, { "name": "style", @@ -75,11 +62,7 @@ "type": "symbol", "minzoom": 0, "maxzoom": 24, - "filter": [ - "in", - "type", - "" - ], + "filter": ["in", "type", ""], "paint": { "text-color": "rgba(255, 255, 255, 1)", "text-halo-color": "rgba(14, 139, 90, 1)", @@ -88,10 +71,7 @@ "layout": { "icon-image": [ "match", - [ - "get", - "type" - ], + ["get", "type"], "YSBZ", "rainBengZhan_icon", "WSBZ", @@ -119,142 +99,64 @@ "icon-anchor": "center", "icon-size": 0.8, "text-field": "{name}", - "text-font": [ - "KlokanTech Noto Sans Regular" - ], + "text-font": ["KlokanTech Noto Sans Regular"], "text-size": 16, "text-line-height": 3, "text-anchor": "bottom", "text-max-width": 50, - "text-offset": [ - 0, - -0.8 - ] + "text-offset": [0, -0.8] }, "mType": "geojson" } ], - "orders": [ - [ - "poi_label" - ], - [ - "place_label_city" - ], - [ - "road_major_label" - ], - [ - "place_label_other" - ], - [ - "point" - ] - ], + "orders": [["poi_label"], ["place_label_city"], ["road_major_label"], ["place_label_other"], ["point"]], "filter": { "wsLine1": { - "layerName": [ - "pipeline_info", - "pipeline_point" - ], + "layerName": ["pipeline_info", "pipeline_point"], "filter": [ - [ - "WS", - "HS" - ], - [ - "污水点", - "合流点" - ] + ["WS", "HS"], + ["污水点", "合流点"] ] }, "ysLine1": { - "layerName": [ - "pipeline_info", - "pipeline_point" - ], - "filter": [ - [ - "YS" - ], - [ - "雨水点" - ] - ] + "layerName": ["pipeline_info", "pipeline_point"], + "filter": [["YS"], ["雨水点"]] }, "oldCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "老城区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["老城区"]], "easeTo": { - "center": [ - 113.933, - 30.926 - ], + "center": [113.933, 30.926], "zoom": 13.6, "pitch": 55 } }, "southCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "南城新区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["南城新区"]], "easeTo": { - "center": [ - 113.933, - 30.886 - ], + "center": [113.933, 30.886], "zoom": 13.6, "pitch": 55 } }, "newCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "东城新区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["东城新区"]], "easeTo": { - "center": [ - 113.983, - 30.896 - ], + "center": [113.983, 30.896], "zoom": 13.6, "pitch": 55 } }, "allCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "东城新区", - "南城新区", - "老城区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["东城新区", "南城新区", "老城区"]], "easeTo": { - "center": [ - 113.953, - 30.906 - ], + "center": [113.953, 30.906], "zoom": 13.6, "pitch": 55 } } } -} \ No newline at end of file +} diff --git a/src/assets/styles/publicXG.scss b/src/assets/styles/publicXG.scss index f6a4e6b..a5513af 100644 --- a/src/assets/styles/publicXG.scss +++ b/src/assets/styles/publicXG.scss @@ -157,6 +157,15 @@ display: flex; flex-wrap: wrap; margin-bottom: 30px; + .titleBase { + width: 100%; + height: 34px; + line-height: 30px; + background: url('@/assets/newImgs/HMScreen/areaBg.png') no-repeat; + background-size: 100% 100%; + padding-left: 30px; + color: #fff; + } .part { display: flex; flex-wrap: wrap; diff --git a/src/views/spongePerformance/OutputPerformance/AnnualRunoffPollution.vue b/src/views/spongePerformance/OutputPerformance/AnnualRunoffPollution.vue index 2874d9b..7fc38e8 100644 --- a/src/views/spongePerformance/OutputPerformance/AnnualRunoffPollution.vue +++ b/src/views/spongePerformance/OutputPerformance/AnnualRunoffPollution.vue @@ -2,157 +2,134 @@
- + + + + + + + + - - - - - - - 搜索 - - -
+ +
+

基础信息

+
+
项目名称:
+
{{ projectDetail.name }}
+
+
+
统计年份:
+
{{ projectDetail.year }}
+
+
+
降雨总量(mm):
+
{{ projectDetail.rainTotal }}
+
+
+
占地面积(㎡):
+
{{ projectDetail.area }}
+
+ +

水量监测

+
+
项目外排总SS负荷量(g):
+
{{ projectDetail.wpzjl }}
+
+ +

设计指标

+
+
设计降雨量(mm):
+
{{ projectDetail.sjRain }}
+
+
+
有效面积(㎡):
+
{{ projectDetail.sjArea }}
+
+
+
设计年径流污染削减率(%):
+
{{ projectDetail.sjjlzl }}
+
+ +

效果评价

+
+
实际年径流污染削减率(%):
+
{{ projectDetail.jlzlSJ }}
+
+
- + diff --git a/public/static/libs/mapbox/style/preventionCX.json b/public/static/libs/mapbox/style/preventionCX.json index ce6ddba..f0a3b1e 100644 --- a/public/static/libs/mapbox/style/preventionCX.json +++ b/public/static/libs/mapbox/style/preventionCX.json @@ -2,14 +2,9 @@ "params": { "basemap": "https://supermap2.wh-nf.cn:8090/bm", "mvt": "https://supermap0.wh-nf.cn:8090/vt", - "sprites": [ - "/static/libs/mapbox/style/sprite/sprite5" - ], + "sprites": ["/static/libs/mapbox/style/sprite/sprite5"], "init": { - "center": [ - 114.312, - 34.802 - ], + "center": [114.312, 34.802], "zoom": 11, "style": "/static/libs/mapbox/style/customs/night-style.json" }, @@ -35,27 +30,19 @@ "methods": [ { "name": "shape", - "params": [ - "circle" - ] + "params": ["circle"] }, { "name": "color", - "params": [ - "rgba(255,0,0,1.0)" - ] + "params": ["rgba(255,0,0,1.0)"] }, { "name": "size", - "params": [ - 10 - ] + "params": [10] }, { "name": "animate", - "params": [ - true - ] + "params": [true] }, { "name": "style", @@ -75,11 +62,7 @@ "type": "symbol", "minzoom": 0, "maxzoom": 24, - "filter": [ - "in", - "type", - "" - ], + "filter": ["in", "type", ""], "paint": { "text-color": "rgba(255, 255, 255, 1)", "text-halo-color": "rgba(14, 139, 90, 1)", @@ -88,10 +71,7 @@ "layout": { "icon-image": [ "match", - [ - "get", - "type" - ], + ["get", "type"], "YSBZ", "rainBengZhan_icon", "WSBZ", @@ -119,142 +99,64 @@ "icon-anchor": "center", "icon-size": 0.8, "text-field": "{name}", - "text-font": [ - "KlokanTech Noto Sans Regular" - ], + "text-font": ["KlokanTech Noto Sans Regular"], "text-size": 16, "text-line-height": 3, "text-anchor": "bottom", "text-max-width": 50, - "text-offset": [ - 0, - -0.8 - ] + "text-offset": [0, -0.8] }, "mType": "geojson" } ], - "orders": [ - [ - "poi_label" - ], - [ - "place_label_city" - ], - [ - "road_major_label" - ], - [ - "place_label_other" - ], - [ - "point" - ] - ], + "orders": [["poi_label"], ["place_label_city"], ["road_major_label"], ["place_label_other"], ["point"]], "filter": { "wsLine1": { - "layerName": [ - "pipeline_info", - "pipeline_point" - ], + "layerName": ["pipeline_info", "pipeline_point"], "filter": [ - [ - "WS", - "HS" - ], - [ - "污水点", - "合流点" - ] + ["WS", "HS"], + ["污水点", "合流点"] ] }, "ysLine1": { - "layerName": [ - "pipeline_info", - "pipeline_point" - ], - "filter": [ - [ - "YS" - ], - [ - "雨水点" - ] - ] + "layerName": ["pipeline_info", "pipeline_point"], + "filter": [["YS"], ["雨水点"]] }, "oldCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "老城区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["老城区"]], "easeTo": { - "center": [ - 113.933, - 30.926 - ], + "center": [113.933, 30.926], "zoom": 13.6, "pitch": 55 } }, "southCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "南城新区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["南城新区"]], "easeTo": { - "center": [ - 113.933, - 30.886 - ], + "center": [113.933, 30.886], "zoom": 13.6, "pitch": 55 } }, "newCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "东城新区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["东城新区"]], "easeTo": { - "center": [ - 113.983, - 30.896 - ], + "center": [113.983, 30.896], "zoom": 13.6, "pitch": 55 } }, "allCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "东城新区", - "南城新区", - "老城区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["东城新区", "南城新区", "老城区"]], "easeTo": { - "center": [ - 113.953, - 30.906 - ], + "center": [113.953, 30.906], "zoom": 13.6, "pitch": 55 } } } -} \ No newline at end of file +} diff --git a/src/assets/styles/publicXG.scss b/src/assets/styles/publicXG.scss index f6a4e6b..a5513af 100644 --- a/src/assets/styles/publicXG.scss +++ b/src/assets/styles/publicXG.scss @@ -157,6 +157,15 @@ display: flex; flex-wrap: wrap; margin-bottom: 30px; + .titleBase { + width: 100%; + height: 34px; + line-height: 30px; + background: url('@/assets/newImgs/HMScreen/areaBg.png') no-repeat; + background-size: 100% 100%; + padding-left: 30px; + color: #fff; + } .part { display: flex; flex-wrap: wrap; diff --git a/src/views/spongePerformance/OutputPerformance/AnnualRunoffPollution.vue b/src/views/spongePerformance/OutputPerformance/AnnualRunoffPollution.vue index 2874d9b..7fc38e8 100644 --- a/src/views/spongePerformance/OutputPerformance/AnnualRunoffPollution.vue +++ b/src/views/spongePerformance/OutputPerformance/AnnualRunoffPollution.vue @@ -2,157 +2,134 @@
- + + + + + + + + - - - - - - - 搜索 - - -
+ +
+

基础信息

+
+
项目名称:
+
{{ projectDetail.name }}
+
+
+
统计年份:
+
{{ projectDetail.year }}
+
+
+
降雨总量(mm):
+
{{ projectDetail.rainTotal }}
+
+
+
占地面积(㎡):
+
{{ projectDetail.area }}
+
+ +

水量监测

+
+
项目外排总SS负荷量(g):
+
{{ projectDetail.wpzjl }}
+
+ +

设计指标

+
+
设计降雨量(mm):
+
{{ projectDetail.sjRain }}
+
+
+
有效面积(㎡):
+
{{ projectDetail.sjArea }}
+
+
+
设计年径流污染削减率(%):
+
{{ projectDetail.sjjlzl }}
+
+ +

效果评价

+
+
实际年径流污染削减率(%):
+
{{ projectDetail.jlzlSJ }}
+
+
- + diff --git a/src/views/spongePerformance/OutputPerformance/AnnualTotalRunoff.vue b/src/views/spongePerformance/OutputPerformance/AnnualTotalRunoff.vue index cb4ad75..e9a0e3b 100644 --- a/src/views/spongePerformance/OutputPerformance/AnnualTotalRunoff.vue +++ b/src/views/spongePerformance/OutputPerformance/AnnualTotalRunoff.vue @@ -2,150 +2,133 @@
- + + + + + + + + - - - - - - - 搜索 - - -
+ +
+

基础信息

+
+
项目名称:
+
{{ projectDetail.name }}
+
+
+
统计年份:
+
{{ projectDetail.year }}
+
+
+
降雨总量(mm):
+
{{ projectDetail.rainTotal }}
+
+
+
占地面积(㎡):
+
{{ projectDetail.area }}
+
+ +

水量监测

+
+
项目外排总径流体积(m³):
+
{{ projectDetail.wpzjl }}
+
+ +

设计指标

+
+
设计降雨量(mm):
+
{{ projectDetail.sjRain }}
+
+
+
计算径流面积(㎡):
+
{{ projectDetail.sjArea }}
+
+
+
设计年径流总量控制率(%):
+
{{ projectDetail.sjjlzl }}
+
+ +

效果评价

+
+
实际年径流总量控制率(%):
+
{{ projectDetail.jlzlSJ }}
+
+
- + diff --git a/public/static/libs/mapbox/style/preventionCX.json b/public/static/libs/mapbox/style/preventionCX.json index ce6ddba..f0a3b1e 100644 --- a/public/static/libs/mapbox/style/preventionCX.json +++ b/public/static/libs/mapbox/style/preventionCX.json @@ -2,14 +2,9 @@ "params": { "basemap": "https://supermap2.wh-nf.cn:8090/bm", "mvt": "https://supermap0.wh-nf.cn:8090/vt", - "sprites": [ - "/static/libs/mapbox/style/sprite/sprite5" - ], + "sprites": ["/static/libs/mapbox/style/sprite/sprite5"], "init": { - "center": [ - 114.312, - 34.802 - ], + "center": [114.312, 34.802], "zoom": 11, "style": "/static/libs/mapbox/style/customs/night-style.json" }, @@ -35,27 +30,19 @@ "methods": [ { "name": "shape", - "params": [ - "circle" - ] + "params": ["circle"] }, { "name": "color", - "params": [ - "rgba(255,0,0,1.0)" - ] + "params": ["rgba(255,0,0,1.0)"] }, { "name": "size", - "params": [ - 10 - ] + "params": [10] }, { "name": "animate", - "params": [ - true - ] + "params": [true] }, { "name": "style", @@ -75,11 +62,7 @@ "type": "symbol", "minzoom": 0, "maxzoom": 24, - "filter": [ - "in", - "type", - "" - ], + "filter": ["in", "type", ""], "paint": { "text-color": "rgba(255, 255, 255, 1)", "text-halo-color": "rgba(14, 139, 90, 1)", @@ -88,10 +71,7 @@ "layout": { "icon-image": [ "match", - [ - "get", - "type" - ], + ["get", "type"], "YSBZ", "rainBengZhan_icon", "WSBZ", @@ -119,142 +99,64 @@ "icon-anchor": "center", "icon-size": 0.8, "text-field": "{name}", - "text-font": [ - "KlokanTech Noto Sans Regular" - ], + "text-font": ["KlokanTech Noto Sans Regular"], "text-size": 16, "text-line-height": 3, "text-anchor": "bottom", "text-max-width": 50, - "text-offset": [ - 0, - -0.8 - ] + "text-offset": [0, -0.8] }, "mType": "geojson" } ], - "orders": [ - [ - "poi_label" - ], - [ - "place_label_city" - ], - [ - "road_major_label" - ], - [ - "place_label_other" - ], - [ - "point" - ] - ], + "orders": [["poi_label"], ["place_label_city"], ["road_major_label"], ["place_label_other"], ["point"]], "filter": { "wsLine1": { - "layerName": [ - "pipeline_info", - "pipeline_point" - ], + "layerName": ["pipeline_info", "pipeline_point"], "filter": [ - [ - "WS", - "HS" - ], - [ - "污水点", - "合流点" - ] + ["WS", "HS"], + ["污水点", "合流点"] ] }, "ysLine1": { - "layerName": [ - "pipeline_info", - "pipeline_point" - ], - "filter": [ - [ - "YS" - ], - [ - "雨水点" - ] - ] + "layerName": ["pipeline_info", "pipeline_point"], + "filter": [["YS"], ["雨水点"]] }, "oldCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "老城区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["老城区"]], "easeTo": { - "center": [ - 113.933, - 30.926 - ], + "center": [113.933, 30.926], "zoom": 13.6, "pitch": 55 } }, "southCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "南城新区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["南城新区"]], "easeTo": { - "center": [ - 113.933, - 30.886 - ], + "center": [113.933, 30.886], "zoom": 13.6, "pitch": 55 } }, "newCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "东城新区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["东城新区"]], "easeTo": { - "center": [ - 113.983, - 30.896 - ], + "center": [113.983, 30.896], "zoom": 13.6, "pitch": 55 } }, "allCity": { - "layerName": [ - "city_boundary" - ], - "filter": [ - [ - "东城新区", - "南城新区", - "老城区" - ] - ], + "layerName": ["city_boundary"], + "filter": [["东城新区", "南城新区", "老城区"]], "easeTo": { - "center": [ - 113.953, - 30.906 - ], + "center": [113.953, 30.906], "zoom": 13.6, "pitch": 55 } } } -} \ No newline at end of file +} diff --git a/src/assets/styles/publicXG.scss b/src/assets/styles/publicXG.scss index f6a4e6b..a5513af 100644 --- a/src/assets/styles/publicXG.scss +++ b/src/assets/styles/publicXG.scss @@ -157,6 +157,15 @@ display: flex; flex-wrap: wrap; margin-bottom: 30px; + .titleBase { + width: 100%; + height: 34px; + line-height: 30px; + background: url('@/assets/newImgs/HMScreen/areaBg.png') no-repeat; + background-size: 100% 100%; + padding-left: 30px; + color: #fff; + } .part { display: flex; flex-wrap: wrap; diff --git a/src/views/spongePerformance/OutputPerformance/AnnualRunoffPollution.vue b/src/views/spongePerformance/OutputPerformance/AnnualRunoffPollution.vue index 2874d9b..7fc38e8 100644 --- a/src/views/spongePerformance/OutputPerformance/AnnualRunoffPollution.vue +++ b/src/views/spongePerformance/OutputPerformance/AnnualRunoffPollution.vue @@ -2,157 +2,134 @@
- + + + + + + + + - - - - - - - 搜索 - - -
+ +
+

基础信息

+
+
项目名称:
+
{{ projectDetail.name }}
+
+
+
统计年份:
+
{{ projectDetail.year }}
+
+
+
降雨总量(mm):
+
{{ projectDetail.rainTotal }}
+
+
+
占地面积(㎡):
+
{{ projectDetail.area }}
+
+ +

水量监测

+
+
项目外排总SS负荷量(g):
+
{{ projectDetail.wpzjl }}
+
+ +

设计指标

+
+
设计降雨量(mm):
+
{{ projectDetail.sjRain }}
+
+
+
有效面积(㎡):
+
{{ projectDetail.sjArea }}
+
+
+
设计年径流污染削减率(%):
+
{{ projectDetail.sjjlzl }}
+
+ +

效果评价

+
+
实际年径流污染削减率(%):
+
{{ projectDetail.jlzlSJ }}
+
+
- + diff --git a/src/views/spongePerformance/OutputPerformance/AnnualTotalRunoff.vue b/src/views/spongePerformance/OutputPerformance/AnnualTotalRunoff.vue index cb4ad75..e9a0e3b 100644 --- a/src/views/spongePerformance/OutputPerformance/AnnualTotalRunoff.vue +++ b/src/views/spongePerformance/OutputPerformance/AnnualTotalRunoff.vue @@ -2,150 +2,133 @@
- + + + + + + + + - - - - - - - 搜索 - - -
+ +
+

基础信息

+
+
项目名称:
+
{{ projectDetail.name }}
+
+
+
统计年份:
+
{{ projectDetail.year }}
+
+
+
降雨总量(mm):
+
{{ projectDetail.rainTotal }}
+
+
+
占地面积(㎡):
+
{{ projectDetail.area }}
+
+ +

水量监测

+
+
项目外排总径流体积(m³):
+
{{ projectDetail.wpzjl }}
+
+ +

设计指标

+
+
设计降雨量(mm):
+
{{ projectDetail.sjRain }}
+
+
+
计算径流面积(㎡):
+
{{ projectDetail.sjArea }}
+
+
+
设计年径流总量控制率(%):
+
{{ projectDetail.sjjlzl }}
+
+ +

效果评价

+
+
实际年径流总量控制率(%):
+
{{ projectDetail.jlzlSJ }}
+
+
- + diff --git a/src/views/spongePerformance/OutputPerformance/chartOption.js b/src/views/spongePerformance/OutputPerformance/chartOption.js deleted file mode 100644 index 8dc5845..0000000 --- a/src/views/spongePerformance/OutputPerformance/chartOption.js +++ /dev/null @@ -1,137 +0,0 @@ -import useUserStore from '@/store/modules/user'; -import * as echarts from 'echarts'; -const pinias = useUserStore(); - -let optionChart = { - // 柱状图+折线图 - option: { - color: pinias.$state.chartColor, - // 显示暂无数据 - graphic: { - type: 'text', // 类型:文本 - left: 'center', - top: 'middle', - silent: true, // 不响应事件 - invisible: false, // 有数据就隐藏 - style: { - fill: '#c6c6c6', - fontWeight: 'bold', - text: '暂无数据', - fontFamily: 'Microsoft YaHei', - fontSize: '18px', - }, - }, - tooltip: { - trigger: 'axis', - confine: true, //是否将 tooltip 框限制在图表的区域内 - }, - title: { - left: 'left', - text: '', - top: 10, - bottom: 10, - left: 10, - textStyle: { - color: '#545E75', //字体颜色 - fontSize: 16, //字体大小 - }, - }, - grid: { - left: '3%', - right: '5%', - top: '20%', - bottom: '3%', - containLabel: true, - }, - legend: { - top: '2%', - orient: 'horizontal', //horizontal - left: 'center', //left ,center - textStyle: { - color: 'inherit', - }, - }, - xAxis: { - type: 'category', - position: 'bottom', - data: ['2023', '2024', '2025'], - axisLabel: { - color: '#c6c6c6', - }, - axisLine: { - lineStyle: { - color: '#066592', - }, - }, - }, - yAxis: [ - // { - // name: '降雨量(mm)', - // type: 'value', - // inverse: true, //翻转 - // nameLocation: 'start', // 坐标轴名称显示位置 - // nameGap: 15, // 坐标轴名称与轴线之间的距离 - // nameTextStyle: { - // color: '#c6c6c6', //字体颜色 - // fontSize: 12, //字体大小 - // align: 'center', // 文字水平对齐方式,默认自动('left','center','right') - // }, - // splitLine: { - // lineStyle: { - // type: 'dashed', - // color: '#066592', - // }, - // }, - // axisLabel: { - // color: '#c6c6c6', - // }, - // }, - // { - // name: '流量(m³/h)', - // type: 'value', - // nameLocation: 'end', // 坐标轴名称显示位置 - // nameGap: 15, // 坐标轴名称与轴线之间的距离 - // nameTextStyle: { - // color: '#c6c6c6', //字体颜色 - // fontSize: 12, //字体大小 - // align: 'center', // 文字水平对齐方式,默认自动('left','center','right') - // }, - // axisLabel: { - // color: '#c6c6c6', - // }, - // splitLine: { - // lineStyle: { - // type: 'dashed', - // color: '#066592', - // }, - // }, - // }, - ], - series: [ - // { - // name: '降雨量(mm)', - // type: 'bar', - // barWidth: 10, - // yAxisIndex: 0, - // data: [24, 12, 9], - // }, - // { - // name: '流量(m³/s)', - // type: 'line', - // smooth: true, - // yAxisIndex: 1, - // symbolSize: 8, - // data: [14, 8, 5], - // }, - // { - // name: '出口流量', - // type: 'line', - // smooth: true, - // yAxisIndex: 1, - // symbolSize: 8, - // data: [4, 2, 1], - // }, - ], - }, -}; -export default optionChart;