@ued_fpi/data-visual 1.2.28 → 1.2.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/ipes/src/AnnualEventStatistics/index.vue.mjs +3 -3
- package/dist/es/ipes/src/BasicSecurityManagement/index.vue.mjs +1 -1
- package/dist/es/ipes/src/EmengercyPlan/index.vue.mjs +1 -1
- package/dist/es/ipes/src/EmergencyWatch/index.vue.mjs +13 -26
- package/dist/es/ipes/src/EventTracking/index.vue.mjs +2 -0
- package/dist/es/ipes/src/GasControl/index.vue.mjs +1 -1
- package/dist/es/ipes/src/GroundwaterMonitor/index.vue.mjs +46 -31
- package/dist/es/ipes/src/HazardousWasteManagement/index.vue.mjs +19 -4
- package/dist/es/ipes/src/HomeworkVolumeTrend/index.vue.mjs +6 -2
- package/dist/es/ipes/src/Level3AirDefense/components/PercentageItem.vue.mjs +3 -3
- package/dist/es/ipes/src/PerformanceWarrantyResponsibilities/images/performance-light.png.mjs +1 -1
- package/dist/es/ipes/src/PerformanceWarrantyResponsibilities/images/performance.png.mjs +1 -1
- package/dist/es/ipes/src/PerformanceWarrantyResponsibilities/index.vue.mjs +33 -39
- package/dist/es/ipes/src/RiskClassification/index.vue.mjs +3 -5
- package/dist/es/ipes/src/VehicleTrend/index.vue.mjs +1 -1
- package/dist/es/ipes/src/WasteGas/index.vue.mjs +3 -11
- package/dist/es/ipes/src/WasteWater/index.vue.mjs +3 -11
- package/dist/es/ipes/src/WastewaterTargetRate/index.vue.mjs +22 -4
- package/dist/es/ipes/src/WaterQualityStandard/index.vue.mjs +13 -11
- package/dist/es/style.css +1 -1
- package/dist/es/wgms/src/ChangeAlongRiver/index.vue.mjs +6 -3
- package/dist/es/wgms/src/DistributionOfWaterQualityLevels/index.vue.mjs +3 -3
- package/dist/es/wgms/src/DrinkingWaterComplianceRate/index.vue.mjs +5 -6
- package/dist/es/wgms/src/RegionalQualityAnalysis/index.vue.mjs +24 -13
- package/dist/es/wgms/src/UpstreamImpact/index.vue.mjs +7 -4
- package/dist/es/wgms/src/WaterQualityRainfall/index.vue.mjs +10 -8
- package/dist/es/wgms/src/WaterQualitySituation/index.vue.mjs +29 -22
- package/dist/es/wgms/src/WaterQualityStatesAnalysis/index.vue.mjs +11 -6
- package/dist/es/wgms/src/common/popup-table.vue.mjs +1 -1
- package/dist/es/wgms/utils/echarts/echartsOptions.mjs +2 -2
- package/dist/es/wgms/utils/tools.mjs +7 -1
- package/dist/lib/ipes/src/AnnualEventStatistics/index.vue.js +3 -3
- package/dist/lib/ipes/src/BasicSecurityManagement/index.vue.js +1 -1
- package/dist/lib/ipes/src/EmengercyPlan/index.vue.js +1 -1
- package/dist/lib/ipes/src/EmergencyWatch/index.vue.js +12 -25
- package/dist/lib/ipes/src/EventTracking/index.vue.js +2 -0
- package/dist/lib/ipes/src/GasControl/index.vue.js +1 -1
- package/dist/lib/ipes/src/GroundwaterMonitor/index.vue.js +45 -30
- package/dist/lib/ipes/src/HazardousWasteManagement/index.vue.js +18 -3
- package/dist/lib/ipes/src/HomeworkVolumeTrend/index.vue.js +6 -2
- package/dist/lib/ipes/src/Level3AirDefense/components/PercentageItem.vue.js +3 -3
- package/dist/lib/ipes/src/PerformanceWarrantyResponsibilities/images/performance-light.png.js +1 -1
- package/dist/lib/ipes/src/PerformanceWarrantyResponsibilities/images/performance.png.js +1 -1
- package/dist/lib/ipes/src/PerformanceWarrantyResponsibilities/index.vue.js +33 -39
- package/dist/lib/ipes/src/RiskClassification/index.vue.js +3 -5
- package/dist/lib/ipes/src/VehicleTrend/index.vue.js +1 -1
- package/dist/lib/ipes/src/WasteGas/index.vue.js +2 -10
- package/dist/lib/ipes/src/WasteWater/index.vue.js +2 -10
- package/dist/lib/ipes/src/WastewaterTargetRate/index.vue.js +21 -3
- package/dist/lib/ipes/src/WaterQualityStandard/index.vue.js +12 -10
- package/dist/lib/style.css +1 -1
- package/dist/lib/wgms/src/ChangeAlongRiver/index.vue.js +6 -3
- package/dist/lib/wgms/src/DistributionOfWaterQualityLevels/index.vue.js +3 -3
- package/dist/lib/wgms/src/DrinkingWaterComplianceRate/index.vue.js +5 -6
- package/dist/lib/wgms/src/RegionalQualityAnalysis/index.vue.js +23 -12
- package/dist/lib/wgms/src/UpstreamImpact/index.vue.js +7 -4
- package/dist/lib/wgms/src/WaterQualityRainfall/index.vue.js +9 -7
- package/dist/lib/wgms/src/WaterQualitySituation/index.vue.js +29 -22
- package/dist/lib/wgms/src/WaterQualityStatesAnalysis/index.vue.js +11 -6
- package/dist/lib/wgms/src/common/popup-table.vue.js +1 -1
- package/dist/lib/wgms/utils/echarts/echartsOptions.js +2 -2
- package/dist/lib/wgms/utils/tools.js +7 -0
- package/dist/style/style-ipes.css +1 -1
- package/package.json +2 -2
- package/dist/es/ipes/src/EmergencyWatch/images/empty.png.mjs +0 -3
- package/dist/lib/ipes/src/EmergencyWatch/images/empty.png.js +0 -7
|
@@ -24,7 +24,6 @@ const _hoisted_10 = { class: "right-waste-water-box" };
|
|
|
24
24
|
const _hoisted_11 = ["src"];
|
|
25
25
|
const _hoisted_12 = { class: "info" };
|
|
26
26
|
const _hoisted_13 = /* @__PURE__ */ vue.createElementVNode("div", { class: "label" }, " 污水厂总排口 ", -1);
|
|
27
|
-
const _hoisted_14 = { class: "value" };
|
|
28
27
|
const __default__ = {
|
|
29
28
|
name: "DvIpesWastewaterTargetRate",
|
|
30
29
|
title: "废水达标率"
|
|
@@ -58,7 +57,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
58
57
|
{ name: "未达标率", y: 100 - +(data.onlineRatio || 0) }
|
|
59
58
|
];
|
|
60
59
|
const seriesData = legendData;
|
|
61
|
-
console.log(seriesData);
|
|
62
60
|
const highcharts = window.Highcharts;
|
|
63
61
|
highcharts.chart("wasteWaterChart", {
|
|
64
62
|
chart: {
|
|
@@ -103,6 +101,23 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
103
101
|
]
|
|
104
102
|
});
|
|
105
103
|
}
|
|
104
|
+
function getSiteStateColor(runStatus) {
|
|
105
|
+
const statusColors = {
|
|
106
|
+
stop_running: "#FF792E",
|
|
107
|
+
// 停运
|
|
108
|
+
stop_using: "rgb(233, 169, 0)",
|
|
109
|
+
// 停用
|
|
110
|
+
offline: "rgb(116, 116, 116)",
|
|
111
|
+
// 离线
|
|
112
|
+
exceed: "rgb(228, 56, 52)",
|
|
113
|
+
// 超标
|
|
114
|
+
abnormal: "rgb(143, 32, 253)",
|
|
115
|
+
// 异常
|
|
116
|
+
normal: "rgb(58, 183, 93)"
|
|
117
|
+
// 正常
|
|
118
|
+
};
|
|
119
|
+
return statusColors[runStatus] || "#0084ff";
|
|
120
|
+
}
|
|
106
121
|
vue.onMounted(() => {
|
|
107
122
|
getInfoData();
|
|
108
123
|
});
|
|
@@ -126,7 +141,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
126
141
|
}, null, 8, _hoisted_11),
|
|
127
142
|
vue.createElementVNode("div", _hoisted_12, [
|
|
128
143
|
_hoisted_13,
|
|
129
|
-
vue.createElementVNode("div",
|
|
144
|
+
vue.createElementVNode("div", {
|
|
145
|
+
class: "value",
|
|
146
|
+
style: vue.normalizeStyle({ color: getSiteStateColor(info.value.runStatus) })
|
|
147
|
+
}, vue.toDisplayString(info.value.runStatusName), 5)
|
|
130
148
|
])
|
|
131
149
|
])
|
|
132
150
|
]);
|
|
@@ -15,9 +15,8 @@ const request = require('../../service/request.js');
|
|
|
15
15
|
const _hoisted_1 = { class: "dv-ipes-water-quality-standard" };
|
|
16
16
|
const _hoisted_2 = { class: "title" };
|
|
17
17
|
const _hoisted_3 = { class: "info-box-count" };
|
|
18
|
-
const _hoisted_4 = { class: "
|
|
19
|
-
const _hoisted_5 =
|
|
20
|
-
const _hoisted_6 = ["src"];
|
|
18
|
+
const _hoisted_4 = /* @__PURE__ */ vue.createElementVNode("span", { class: "unit" }, "类", -1);
|
|
19
|
+
const _hoisted_5 = ["src"];
|
|
21
20
|
const __default__ = {
|
|
22
21
|
name: "WaterQualityStandard",
|
|
23
22
|
title: "水环境质量达标"
|
|
@@ -39,8 +38,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
39
38
|
isRealOutReach: true
|
|
40
39
|
});
|
|
41
40
|
const basicInfos = vue.ref([
|
|
42
|
-
{ title: "inSiteName", key: "realInLevel", standardKey: "isRealInReach" },
|
|
43
|
-
{ title: "outSiteName", key: "realOutLevel", standardKey: "isRealOutReach" }
|
|
41
|
+
{ title: "inSiteName", key: "realInLevel", standardKey: "isRealInReach", color: "realInColor" },
|
|
42
|
+
{ title: "outSiteName", key: "realOutLevel", standardKey: "isRealOutReach", color: "realOutColor" }
|
|
44
43
|
]);
|
|
45
44
|
async function getData() {
|
|
46
45
|
try {
|
|
@@ -52,8 +51,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
52
51
|
// 如果为false则不提去年度水质情况,默认为true(为兼容历史)(boolean)
|
|
53
52
|
}
|
|
54
53
|
});
|
|
55
|
-
const { inSiteName, realInLevel, isRealInReach, outSiteName, realOutLevel, isRealOutReach } = data;
|
|
56
|
-
basicInfoData.value = { inSiteName, realInLevel, isRealInReach, outSiteName, realOutLevel, isRealOutReach };
|
|
54
|
+
const { inSiteName, realInLevel, isRealInReach, outSiteName, realOutLevel, isRealOutReach, realOutColor, realInColor } = data;
|
|
55
|
+
basicInfoData.value = { inSiteName, realInLevel, isRealInReach, outSiteName, realOutLevel, isRealOutReach, realOutColor, realInColor };
|
|
57
56
|
} catch (error) {
|
|
58
57
|
console.log(error);
|
|
59
58
|
}
|
|
@@ -70,11 +69,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
70
69
|
}, [
|
|
71
70
|
vue.createElementVNode("span", _hoisted_2, vue.toDisplayString(basicInfoData.value[item.title]), 1),
|
|
72
71
|
vue.createElementVNode("div", _hoisted_3, [
|
|
73
|
-
vue.createElementVNode("span",
|
|
74
|
-
|
|
72
|
+
vue.createElementVNode("span", {
|
|
73
|
+
class: "value",
|
|
74
|
+
style: vue.normalizeStyle({ color: basicInfoData.value[item.color] })
|
|
75
|
+
}, vue.toDisplayString(basicInfoData.value[item.key]), 5),
|
|
76
|
+
_hoisted_4,
|
|
75
77
|
vue.createElementVNode("img", {
|
|
76
78
|
src: getImg(basicInfoData.value[item.standardKey])
|
|
77
|
-
}, null, 8,
|
|
79
|
+
}, null, 8, _hoisted_5)
|
|
78
80
|
])
|
|
79
81
|
]);
|
|
80
82
|
}), 128))
|