@ued_fpi/data-visual 1.2.21 → 1.2.22
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/index.mjs +4 -0
- package/dist/es/ipes/src/AirQualityManage/index.vue.mjs +1 -1
- package/dist/es/ipes/src/AlarmManage/index.vue.mjs +1 -1
- package/dist/es/ipes/src/AnnualEventStatistics/index.vue.mjs +6 -8
- package/dist/es/ipes/src/BasicSecurityInfo/index.vue.mjs +1 -1
- package/dist/es/ipes/src/ClassifiedRegulation/components/BarItem.vue.mjs +20 -0
- package/dist/es/ipes/src/ClassifiedRegulation/components/BarItem.vue2.mjs +15 -0
- package/dist/es/ipes/src/ClassifiedRegulation/components/BarItem.vue3.mjs +3 -0
- package/dist/es/ipes/src/ClassifiedRegulation/index.mjs +7 -0
- package/dist/es/ipes/src/ClassifiedRegulation/index.vue.mjs +84 -0
- package/dist/es/ipes/src/ClassifiedRegulation/index.vue2.mjs +3 -0
- package/dist/es/ipes/src/ClassifiedRegulation/index.vue3.mjs +6 -0
- package/dist/es/ipes/src/EnterpriseProtectionCode/index.vue.mjs +87 -10
- package/dist/es/ipes/src/EventMonth/index.vue.mjs +15 -36
- package/dist/es/ipes/src/GroundwaterMonitor/index.vue.mjs +38 -38
- package/dist/es/ipes/src/HazardousWasteManagement/index.vue.mjs +4 -4
- package/dist/es/ipes/src/MajorRiskManagement/images/bg-light.png.mjs +3 -0
- package/dist/es/ipes/src/MajorRiskManagement/images/bg.png.mjs +3 -0
- package/dist/es/ipes/src/MajorRiskManagement/index.mjs +7 -0
- package/dist/es/ipes/src/MajorRiskManagement/index.vue.mjs +85 -0
- package/dist/es/ipes/src/MajorRiskManagement/index.vue2.mjs +3 -0
- package/dist/es/ipes/src/MajorRiskManagement/index.vue3.mjs +6 -0
- package/dist/es/ipes/src/OnlineMonitor/index.vue.mjs +23 -7
- package/dist/es/ipes/src/PerformanceWarrantyResponsibilities/index.vue.mjs +1 -1
- package/dist/es/ipes/src/PersonnelPassage/index.vue.mjs +10 -6
- package/dist/es/ipes/src/SensingEquipment/index.mjs +7 -0
- package/dist/es/ipes/src/SensingEquipment/index.vue.mjs +107 -0
- package/dist/es/ipes/src/SensingEquipment/index.vue2.mjs +3 -0
- package/dist/es/ipes/src/SensingEquipment/index.vue3.mjs +6 -0
- package/dist/es/ipes/src/StartStopMajorMaintenance/index.vue.mjs +1 -1
- package/dist/es/ipes/src/VehiclePassage/index.vue.mjs +10 -6
- package/dist/es/ipes/src/VehicleTrend/index.vue.mjs +40 -20
- package/dist/es/ipes/src/VideoEquipment/index.mjs +7 -0
- package/dist/es/ipes/src/VideoEquipment/index.vue.mjs +82 -0
- package/dist/es/ipes/src/VideoEquipment/index.vue2.mjs +3 -0
- package/dist/es/ipes/src/VideoEquipment/index.vue3.mjs +6 -0
- package/dist/es/ipes/src/VocsControl/index.vue.mjs +8 -6
- package/dist/es/ipes/src/WaterQualityStandard/index.vue.mjs +7 -12
- package/dist/es/ipes/src/common/RealTimeAir.vue.mjs +19 -23
- package/dist/es/ipes/src/index.mjs +4 -0
- package/dist/es/style.css +1 -1
- package/dist/lib/index.js +120 -112
- package/dist/lib/ipes/index.js +4 -4
- package/dist/lib/ipes/src/AirQualityManage/index.vue.js +1 -1
- package/dist/lib/ipes/src/AlarmManage/index.vue.js +1 -1
- package/dist/lib/ipes/src/AnnualEventStatistics/index.vue.js +6 -8
- package/dist/lib/ipes/src/BasicSecurityInfo/index.vue.js +1 -1
- package/dist/lib/ipes/src/ClassifiedRegulation/components/BarItem.vue.js +24 -0
- package/dist/lib/ipes/src/ClassifiedRegulation/components/BarItem.vue2.js +19 -0
- package/dist/lib/ipes/src/ClassifiedRegulation/components/BarItem.vue3.js +7 -0
- package/dist/lib/ipes/src/ClassifiedRegulation/index.js +12 -0
- package/dist/lib/ipes/src/ClassifiedRegulation/index.vue.js +88 -0
- package/dist/lib/ipes/src/ClassifiedRegulation/index.vue2.js +7 -0
- package/dist/lib/ipes/src/ClassifiedRegulation/index.vue3.js +10 -0
- package/dist/lib/ipes/src/EnterpriseProtectionCode/index.vue.js +86 -9
- package/dist/lib/ipes/src/EventMonth/index.vue.js +15 -36
- package/dist/lib/ipes/src/GroundwaterMonitor/index.vue.js +38 -38
- package/dist/lib/ipes/src/HazardousWasteManagement/index.vue.js +4 -4
- package/dist/lib/ipes/src/MajorRiskManagement/images/bg-light.png.js +7 -0
- package/dist/lib/ipes/src/MajorRiskManagement/images/bg.png.js +7 -0
- package/dist/lib/ipes/src/MajorRiskManagement/index.js +12 -0
- package/dist/lib/ipes/src/MajorRiskManagement/index.vue.js +89 -0
- package/dist/lib/ipes/src/MajorRiskManagement/index.vue2.js +7 -0
- package/dist/lib/ipes/src/MajorRiskManagement/index.vue3.js +10 -0
- package/dist/lib/ipes/src/OnlineMonitor/index.vue.js +23 -7
- package/dist/lib/ipes/src/PerformanceWarrantyResponsibilities/index.vue.js +1 -1
- package/dist/lib/ipes/src/PersonnelPassage/index.vue.js +9 -5
- package/dist/lib/ipes/src/SensingEquipment/index.js +12 -0
- package/dist/lib/ipes/src/SensingEquipment/index.vue.js +111 -0
- package/dist/lib/ipes/src/SensingEquipment/index.vue2.js +7 -0
- package/dist/lib/ipes/src/SensingEquipment/index.vue3.js +10 -0
- package/dist/lib/ipes/src/StartStopMajorMaintenance/index.vue.js +1 -1
- package/dist/lib/ipes/src/VehiclePassage/index.vue.js +9 -5
- package/dist/lib/ipes/src/VehicleTrend/index.vue.js +40 -20
- package/dist/lib/ipes/src/VideoEquipment/index.js +12 -0
- package/dist/lib/ipes/src/VideoEquipment/index.vue.js +86 -0
- package/dist/lib/ipes/src/VideoEquipment/index.vue2.js +7 -0
- package/dist/lib/ipes/src/VideoEquipment/index.vue3.js +10 -0
- package/dist/lib/ipes/src/VocsControl/index.vue.js +8 -6
- package/dist/lib/ipes/src/WaterQualityStandard/index.vue.js +7 -12
- package/dist/lib/ipes/src/common/RealTimeAir.vue.js +19 -23
- package/dist/lib/ipes/src/index.js +8 -0
- package/dist/lib/style.css +1 -1
- package/dist/style/style-ipes.css +1 -1
- package/package.json +2 -2
|
@@ -6,7 +6,7 @@ const _hoisted_2 = { class: "left-box" };
|
|
|
6
6
|
const _hoisted_3 = /* @__PURE__ */ createElementVNode("div", { class: "name" }, " 实时TVOC浓度 ", -1);
|
|
7
7
|
const _hoisted_4 = { class: "left-wrap" };
|
|
8
8
|
const _hoisted_5 = { class: "value" };
|
|
9
|
-
const _hoisted_6 =
|
|
9
|
+
const _hoisted_6 = { class: "unit" };
|
|
10
10
|
const _hoisted_7 = { class: "right-box" };
|
|
11
11
|
const _hoisted_8 = /* @__PURE__ */ createElementVNode("div", { class: "name" }, " 主要污染物 ", -1);
|
|
12
12
|
const _hoisted_9 = { class: "value" };
|
|
@@ -19,10 +19,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
19
|
setup(__props) {
|
|
20
20
|
const vocs = ref({
|
|
21
21
|
value: 0,
|
|
22
|
-
mainPolluter: ""
|
|
22
|
+
mainPolluter: "",
|
|
23
|
+
unit: ""
|
|
23
24
|
});
|
|
24
25
|
ref(0);
|
|
25
|
-
async function
|
|
26
|
+
async function getData() {
|
|
26
27
|
try {
|
|
27
28
|
const { data } = await requestControl({
|
|
28
29
|
method: "get",
|
|
@@ -30,7 +31,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
31
|
});
|
|
31
32
|
vocs.value = {
|
|
32
33
|
value: data.value || 0,
|
|
33
|
-
mainPolluter: data?.mainPolluter || ""
|
|
34
|
+
mainPolluter: data?.mainPolluter || "",
|
|
35
|
+
unit: data?.unit || ""
|
|
34
36
|
};
|
|
35
37
|
console.log(vocs);
|
|
36
38
|
} catch (error) {
|
|
@@ -38,7 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
onMounted(() => {
|
|
41
|
-
|
|
43
|
+
getData();
|
|
42
44
|
});
|
|
43
45
|
return (_ctx, _cache) => {
|
|
44
46
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
@@ -46,7 +48,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
48
|
_hoisted_3,
|
|
47
49
|
createElementVNode("div", _hoisted_4, [
|
|
48
50
|
createElementVNode("span", _hoisted_5, toDisplayString(vocs.value.value), 1),
|
|
49
|
-
_hoisted_6
|
|
51
|
+
createElementVNode("span", _hoisted_6, toDisplayString(vocs.value.unit), 1)
|
|
50
52
|
])
|
|
51
53
|
]),
|
|
52
54
|
createElementVNode("div", _hoisted_7, [
|
|
@@ -5,6 +5,7 @@ import __vite_glob_0_3 from './images/standard.png.mjs';
|
|
|
5
5
|
import __vite_glob_0_4 from './images/unstandard-light.png.mjs';
|
|
6
6
|
import __vite_glob_0_5 from './images/unstandard.png.mjs';
|
|
7
7
|
import { defineComponent, ref, onMounted, openBlock, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString } from 'vue';
|
|
8
|
+
import { useThemeHook } from '../../../utils.mjs';
|
|
8
9
|
import requestControl from '../../service/request.mjs';
|
|
9
10
|
|
|
10
11
|
const _hoisted_1 = { class: "dv-ipes-water-quality-standard" };
|
|
@@ -20,15 +21,16 @@ const __default__ = {
|
|
|
20
21
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
21
22
|
...__default__,
|
|
22
23
|
setup(__props) {
|
|
23
|
-
const
|
|
24
|
+
const { isDark } = useThemeHook();
|
|
25
|
+
const getImg = (isStandard) => {
|
|
24
26
|
const imgName = `${isStandard ? "" : "un"}standard${isDark ? "" : "-light"}`;
|
|
25
27
|
return new URL((/* #__PURE__ */ Object.assign({"./images/bg-light.png": __vite_glob_0_0,"./images/bg.png": __vite_glob_0_1,"./images/standard-light.png": __vite_glob_0_2,"./images/standard.png": __vite_glob_0_3,"./images/unstandard-light.png": __vite_glob_0_4,"./images/unstandard.png": __vite_glob_0_5}))[`./images/${imgName}.png`], self.location).href;
|
|
26
28
|
};
|
|
27
29
|
const basicInfoData = ref({
|
|
28
|
-
inSiteName: "
|
|
30
|
+
inSiteName: "",
|
|
29
31
|
realInLevel: "",
|
|
30
32
|
isRealInReach: true,
|
|
31
|
-
outSiteName: "
|
|
33
|
+
outSiteName: "",
|
|
32
34
|
realOutLevel: "",
|
|
33
35
|
isRealOutReach: true
|
|
34
36
|
});
|
|
@@ -47,14 +49,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47
49
|
}
|
|
48
50
|
});
|
|
49
51
|
const { inSiteName, realInLevel, isRealInReach, outSiteName, realOutLevel, isRealOutReach } = data;
|
|
50
|
-
basicInfoData.value = {
|
|
51
|
-
inSiteName,
|
|
52
|
-
realInLevel,
|
|
53
|
-
isRealInReach,
|
|
54
|
-
outSiteName,
|
|
55
|
-
realOutLevel,
|
|
56
|
-
isRealOutReach
|
|
57
|
-
};
|
|
52
|
+
basicInfoData.value = { inSiteName, realInLevel, isRealInReach, outSiteName, realOutLevel, isRealOutReach };
|
|
58
53
|
} catch (error) {
|
|
59
54
|
console.log(error);
|
|
60
55
|
}
|
|
@@ -74,7 +69,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
74
69
|
createElementVNode("span", _hoisted_4, toDisplayString(basicInfoData.value[item.key]), 1),
|
|
75
70
|
_hoisted_5,
|
|
76
71
|
createElementVNode("img", {
|
|
77
|
-
src: getImg(basicInfoData.value[item.standardKey]
|
|
72
|
+
src: getImg(basicInfoData.value[item.standardKey])
|
|
78
73
|
}, null, 8, _hoisted_6)
|
|
79
74
|
])
|
|
80
75
|
]);
|
|
@@ -6,18 +6,15 @@ import _sfc_main$1 from './LottieAnimation.vue.mjs';
|
|
|
6
6
|
import cloud from './lottie/cloud.json.mjs';
|
|
7
7
|
|
|
8
8
|
const _hoisted_1 = { class: "dv-ipes-real-time-air" };
|
|
9
|
-
const _hoisted_2 =
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const _hoisted_9 = /* @__PURE__ */ createElementVNode("span", { class: "first-pollute" }, "首要污染物", -1);
|
|
19
|
-
const _hoisted_10 = { class: "other-factore" };
|
|
20
|
-
const _hoisted_11 = { class: "text" };
|
|
9
|
+
const _hoisted_2 = { class: "number-wrap" };
|
|
10
|
+
const _hoisted_3 = { class: "pollute-flex" };
|
|
11
|
+
const _hoisted_4 = /* @__PURE__ */ createElementVNode("span", { class: "factor-name" }, "AQI", -1);
|
|
12
|
+
const _hoisted_5 = { class: "pollution-wrap" };
|
|
13
|
+
const _hoisted_6 = { class: "real-time" };
|
|
14
|
+
const _hoisted_7 = { class: "first-pollute-flex" };
|
|
15
|
+
const _hoisted_8 = /* @__PURE__ */ createElementVNode("span", { class: "first-pollute" }, "首要污染物", -1);
|
|
16
|
+
const _hoisted_9 = { class: "other-factore" };
|
|
17
|
+
const _hoisted_10 = { class: "text" };
|
|
21
18
|
const __default__ = {
|
|
22
19
|
name: "DvIpesRealTimeAir",
|
|
23
20
|
title: "实时空气质量"
|
|
@@ -30,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
27
|
type: String
|
|
31
28
|
},
|
|
32
29
|
height: {
|
|
33
|
-
default:
|
|
30
|
+
default: 72,
|
|
34
31
|
type: Number
|
|
35
32
|
},
|
|
36
33
|
lottieAnimationUrl: {
|
|
@@ -51,28 +48,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
51
48
|
return (_ctx, _cache) => {
|
|
52
49
|
const _component_el_tooltip = ElTooltip;
|
|
53
50
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
54
|
-
_hoisted_2,
|
|
55
51
|
createElementVNode("div", {
|
|
56
52
|
class: normalizeClass(["pollute-div", { "value-length": String(__props.airQualityObj.aqiValue).length >= 3 }])
|
|
57
53
|
}, [
|
|
58
|
-
createElementVNode("div",
|
|
54
|
+
createElementVNode("div", _hoisted_2, [
|
|
59
55
|
createElementVNode("span", {
|
|
60
56
|
class: "real-number",
|
|
61
57
|
style: normalizeStyle({ color: `${__props.airQualityObj.aqiColor}` })
|
|
62
58
|
}, toDisplayString(__props.airQualityObj.aqiValue), 5),
|
|
63
|
-
createElementVNode("div",
|
|
64
|
-
|
|
59
|
+
createElementVNode("div", _hoisted_3, [
|
|
60
|
+
_hoisted_4,
|
|
65
61
|
createElementVNode("span", {
|
|
66
62
|
class: "factor-status",
|
|
67
63
|
style: normalizeStyle({ color: `${__props.airQualityObj.aqiColor}` })
|
|
68
64
|
}, toDisplayString(__props.airQualityObj.aqiLevel || "--"), 5)
|
|
69
65
|
])
|
|
70
66
|
]),
|
|
71
|
-
createElementVNode("div",
|
|
72
|
-
createElementVNode("span",
|
|
73
|
-
createElementVNode("div",
|
|
74
|
-
|
|
75
|
-
createElementVNode("div",
|
|
67
|
+
createElementVNode("div", _hoisted_5, [
|
|
68
|
+
createElementVNode("span", _hoisted_6, toDisplayString(__props.airQualityObj.time), 1),
|
|
69
|
+
createElementVNode("div", _hoisted_7, [
|
|
70
|
+
_hoisted_8,
|
|
71
|
+
createElementVNode("div", _hoisted_9, [
|
|
76
72
|
createVNode(_component_el_tooltip, {
|
|
77
73
|
class: "item",
|
|
78
74
|
effect: "dark",
|
|
@@ -81,7 +77,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
77
|
placement: "top"
|
|
82
78
|
}, {
|
|
83
79
|
default: withCtx(() => [
|
|
84
|
-
createElementVNode("div",
|
|
80
|
+
createElementVNode("div", _hoisted_10, toDisplayString(__props.airQualityObj.mainPolluter), 1)
|
|
85
81
|
]),
|
|
86
82
|
_: 1
|
|
87
83
|
}, 8, ["content", "disabled"])
|
|
@@ -54,3 +54,7 @@ export { DvIpesWaterQualityStandard } from './WaterQualityStandard/index.mjs';
|
|
|
54
54
|
export { DvIpesRainValveCondition } from './RainValveCondition/index.mjs';
|
|
55
55
|
export { DvIpesGroundwaterMonitor } from './GroundwaterMonitor/index.mjs';
|
|
56
56
|
export { DvIpesOnlineMonitor } from './OnlineMonitor/index.mjs';
|
|
57
|
+
export { DvIpesSensingEquipment } from './SensingEquipment/index.mjs';
|
|
58
|
+
export { DvIpesMajorRiskManagement } from './MajorRiskManagement/index.mjs';
|
|
59
|
+
export { DvIpesVideoEquipment } from './VideoEquipment/index.mjs';
|
|
60
|
+
export { DvIpesClassifiedRegulation } from './ClassifiedRegulation/index.mjs';
|