@ued_fpi/data-visual 1.4.17 → 1.4.18

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.
Files changed (81) hide show
  1. package/dist/es/ipes/src/AirQualityManage/index.vue.mjs +2 -0
  2. package/dist/es/ipes/src/AnnualEventStatistics/index.vue.mjs +2 -0
  3. package/dist/es/ipes/src/BasicSecurityInfo/index.vue.mjs +2 -0
  4. package/dist/es/ipes/src/BasicSecurityManagement/index.vue.mjs +2 -0
  5. package/dist/es/ipes/src/ClassifiedRegulation/index.vue.mjs +2 -0
  6. package/dist/es/ipes/src/DisasterWarning/index.vue.mjs +2 -0
  7. package/dist/es/ipes/src/DualPreventionMechanism/index.vue.mjs +2 -0
  8. package/dist/es/ipes/src/EmengercyPlan/index.vue.mjs +2 -0
  9. package/dist/es/ipes/src/EmergencyResources/index.vue.mjs +2 -0
  10. package/dist/es/ipes/src/EmergencyWatch/index.vue.mjs +2 -0
  11. package/dist/es/ipes/src/EnterpriseProtectionCode/index.vue.mjs +2 -0
  12. package/dist/es/ipes/src/EnterprisesInPark/index.vue.mjs +2 -0
  13. package/dist/es/ipes/src/EventMonth/index.vue.mjs +2 -0
  14. package/dist/es/ipes/src/EventTracking/index.vue.mjs +10 -1
  15. package/dist/es/ipes/src/GroundwaterMonitor/index.vue.mjs +2 -0
  16. package/dist/es/ipes/src/HazardousWasteManagement/index.vue.mjs +2 -0
  17. package/dist/es/ipes/src/HiddenDangerInvestigation/index.vue.mjs +2 -0
  18. package/dist/es/ipes/src/HomeworkVolumeTrend/index.vue.mjs +2 -0
  19. package/dist/es/ipes/src/MajorRiskManagement/index.vue.mjs +2 -0
  20. package/dist/es/ipes/src/OnlineMonitor/index.vue.mjs +2 -0
  21. package/dist/es/ipes/src/PerformanceWarrantyResponsibilities/index.vue.mjs +2 -0
  22. package/dist/es/ipes/src/PersonnelLocation/index.vue.mjs +2 -0
  23. package/dist/es/ipes/src/PersonnelPassage/index.vue.mjs +2 -0
  24. package/dist/es/ipes/src/RainValveCondition/index.vue.mjs +3 -1
  25. package/dist/es/ipes/src/RiskClassification/index.vue.mjs +5 -0
  26. package/dist/es/ipes/src/SecurityCommitment/index.vue.mjs +2 -0
  27. package/dist/es/ipes/src/SensingEquipment/index.vue.mjs +2 -0
  28. package/dist/es/ipes/src/StartStopMajorMaintenance/index.vue.mjs +2 -0
  29. package/dist/es/ipes/src/TodayWork/index.vue.mjs +2 -0
  30. package/dist/es/ipes/src/TransportVehicleManagement/index.vue.mjs +2 -0
  31. package/dist/es/ipes/src/VehiclePassage/index.vue.mjs +14 -10
  32. package/dist/es/ipes/src/VehicleTrend/index.vue.mjs +2 -0
  33. package/dist/es/ipes/src/VideoEquipment/index.vue.mjs +2 -0
  34. package/dist/es/ipes/src/VocsControl/index.vue.mjs +2 -0
  35. package/dist/es/ipes/src/WasteGas/index.vue.mjs +3 -1
  36. package/dist/es/ipes/src/WasteWater/index.vue.mjs +3 -1
  37. package/dist/es/ipes/src/WastewaterTargetRate/index.vue.mjs +2 -0
  38. package/dist/es/ipes/src/WaterQualityStandard/index.vue.mjs +3 -1
  39. package/dist/es/ipes/utils/hooks.mjs +15 -0
  40. package/dist/es/style.css +1 -1
  41. package/dist/lib/ipes/src/AirQualityManage/index.vue.js +2 -0
  42. package/dist/lib/ipes/src/AnnualEventStatistics/index.vue.js +2 -0
  43. package/dist/lib/ipes/src/BasicSecurityInfo/index.vue.js +2 -0
  44. package/dist/lib/ipes/src/BasicSecurityManagement/index.vue.js +2 -0
  45. package/dist/lib/ipes/src/ClassifiedRegulation/index.vue.js +2 -0
  46. package/dist/lib/ipes/src/DisasterWarning/index.vue.js +2 -0
  47. package/dist/lib/ipes/src/DualPreventionMechanism/index.vue.js +2 -0
  48. package/dist/lib/ipes/src/EmengercyPlan/index.vue.js +2 -0
  49. package/dist/lib/ipes/src/EmergencyResources/index.vue.js +2 -0
  50. package/dist/lib/ipes/src/EmergencyWatch/index.vue.js +2 -0
  51. package/dist/lib/ipes/src/EnterpriseProtectionCode/index.vue.js +2 -0
  52. package/dist/lib/ipes/src/EnterprisesInPark/index.vue.js +2 -0
  53. package/dist/lib/ipes/src/EventMonth/index.vue.js +2 -0
  54. package/dist/lib/ipes/src/EventTracking/index.vue.js +10 -1
  55. package/dist/lib/ipes/src/GroundwaterMonitor/index.vue.js +2 -0
  56. package/dist/lib/ipes/src/HazardousWasteManagement/index.vue.js +2 -0
  57. package/dist/lib/ipes/src/HiddenDangerInvestigation/index.vue.js +2 -0
  58. package/dist/lib/ipes/src/HomeworkVolumeTrend/index.vue.js +2 -0
  59. package/dist/lib/ipes/src/MajorRiskManagement/index.vue.js +2 -0
  60. package/dist/lib/ipes/src/OnlineMonitor/index.vue.js +2 -0
  61. package/dist/lib/ipes/src/PerformanceWarrantyResponsibilities/index.vue.js +2 -0
  62. package/dist/lib/ipes/src/PersonnelLocation/index.vue.js +2 -0
  63. package/dist/lib/ipes/src/PersonnelPassage/index.vue.js +2 -0
  64. package/dist/lib/ipes/src/RainValveCondition/index.vue.js +3 -1
  65. package/dist/lib/ipes/src/RiskClassification/index.vue.js +5 -0
  66. package/dist/lib/ipes/src/SecurityCommitment/index.vue.js +2 -0
  67. package/dist/lib/ipes/src/SensingEquipment/index.vue.js +2 -0
  68. package/dist/lib/ipes/src/StartStopMajorMaintenance/index.vue.js +2 -0
  69. package/dist/lib/ipes/src/TodayWork/index.vue.js +2 -0
  70. package/dist/lib/ipes/src/TransportVehicleManagement/index.vue.js +2 -0
  71. package/dist/lib/ipes/src/VehiclePassage/index.vue.js +14 -10
  72. package/dist/lib/ipes/src/VehicleTrend/index.vue.js +2 -0
  73. package/dist/lib/ipes/src/VideoEquipment/index.vue.js +2 -0
  74. package/dist/lib/ipes/src/VocsControl/index.vue.js +2 -0
  75. package/dist/lib/ipes/src/WasteGas/index.vue.js +3 -1
  76. package/dist/lib/ipes/src/WasteWater/index.vue.js +3 -1
  77. package/dist/lib/ipes/src/WastewaterTargetRate/index.vue.js +2 -0
  78. package/dist/lib/ipes/src/WaterQualityStandard/index.vue.js +3 -1
  79. package/dist/lib/ipes/utils/hooks.js +19 -0
  80. package/dist/lib/style.css +1 -1
  81. package/package.json +2 -2
@@ -2,6 +2,7 @@ import { defineComponent, ref, openBlock, createElementBlock, createVNode } from
2
2
  import _sfc_main$1 from '../common/RealTimeAir.vue.mjs';
3
3
  import '../common/RealTimeAir.vue2.mjs';
4
4
  import requestControl from '../../service/request.mjs';
5
+ import { setIntervalData } from '../../utils/hooks.mjs';
5
6
 
6
7
  const _hoisted_1 = { class: "dv-ipes-real-timeAir-quality-manage" };
7
8
  const __default__ = {
@@ -47,6 +48,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
47
48
  }
48
49
  }
49
50
  getAqmsManage();
51
+ setIntervalData(getAqmsManage, 5 * 60 * 1e3);
50
52
  return (_ctx, _cache) => {
51
53
  return openBlock(), createElementBlock("div", _hoisted_1, [
52
54
  createVNode(_sfc_main$1, {
@@ -4,6 +4,7 @@ import { useThemeHook } from '../../../utils.mjs';
4
4
  import '../../utils/highchartsPiePlugins.mjs';
5
5
  import _sfc_main$1 from '../common/NoData.vue.mjs';
6
6
  import '../common/NoData.vue2.mjs';
7
+ import { setIntervalData } from '../../utils/hooks.mjs';
7
8
 
8
9
  const _hoisted_1 = { class: "dv-ipes-event-statistics" };
9
10
  const _hoisted_2 = { class: "chart-box" };
@@ -153,6 +154,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
153
154
  onMounted(() => {
154
155
  getEventData();
155
156
  });
157
+ setIntervalData(getEventData, 5 * 60 * 1e3);
156
158
  return (_ctx, _cache) => {
157
159
  return openBlock(), createElementBlock("div", _hoisted_1, [
158
160
  withDirectives(createElementVNode("div", _hoisted_2, [
@@ -1,5 +1,6 @@
1
1
  import { defineComponent, ref, computed, onMounted, openBlock, createElementBlock, Fragment, renderList, unref, createElementVNode, toDisplayString } from 'vue';
2
2
  import requestControl from '../../service/request.mjs';
3
+ import { setIntervalData } from '../../utils/hooks.mjs';
3
4
 
4
5
  const _hoisted_1 = { class: "dv-ipes-basic-security-info" };
5
6
  const _hoisted_2 = { class: "title" };
@@ -51,6 +52,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
51
52
  onMounted(() => {
52
53
  getBasicInfoData();
53
54
  });
55
+ setIntervalData(getBasicInfoData, 5 * 60 * 1e3);
54
56
  return (_ctx, _cache) => {
55
57
  return openBlock(), createElementBlock("div", _hoisted_1, [
56
58
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(basicInfos), (item) => {
@@ -1,5 +1,6 @@
1
1
  import { defineComponent, ref, onMounted, openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, toDisplayString } from 'vue';
2
2
  import requestControl from '../../service/request.mjs';
3
+ import { setIntervalData } from '../../utils/hooks.mjs';
3
4
 
4
5
  const _hoisted_1 = { class: "dv-ipes-security-management" };
5
6
  const _hoisted_2 = { class: "box" };
@@ -53,6 +54,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
53
54
  onMounted(() => {
54
55
  getCommitmentData();
55
56
  });
57
+ setIntervalData(getCommitmentData, 5 * 60 * 1e3);
56
58
  return (_ctx, _cache) => {
57
59
  return openBlock(), createElementBlock("div", _hoisted_1, [
58
60
  createElementVNode("div", _hoisted_2, [
@@ -1,5 +1,6 @@
1
1
  import { defineComponent, ref, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from 'vue';
2
2
  import requestControl from '../../service/request.mjs';
3
+ import { setIntervalData } from '../../utils/hooks.mjs';
3
4
  import BarItem from './components/BarItem.vue.mjs';
4
5
 
5
6
  const _hoisted_1 = { class: "dv-ipes-classified-regulation" };
@@ -57,6 +58,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
57
58
  onMounted(() => {
58
59
  getData();
59
60
  });
61
+ setIntervalData(getData, 5 * 60 * 1e3);
60
62
  return (_ctx, _cache) => {
61
63
  return openBlock(), createElementBlock("div", _hoisted_1, [
62
64
  createElementVNode("div", _hoisted_2, [
@@ -57,6 +57,7 @@ import dayjs from 'dayjs';
57
57
  import requestControl from '../../service/request.mjs';
58
58
  import _sfc_main$1 from '../common/NoData.vue.mjs';
59
59
  import '../common/NoData.vue2.mjs';
60
+ import { setIntervalData } from '../../utils/hooks.mjs';
60
61
 
61
62
  const _hoisted_1 = { class: "dv-ipes-disaster-warning" };
62
63
  const _hoisted_2 = ["src"];
@@ -113,6 +114,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
113
114
  onMounted(() => {
114
115
  getData();
115
116
  });
117
+ setIntervalData(getData, 5 * 60 * 1e3);
116
118
  return (_ctx, _cache) => {
117
119
  return openBlock(), createElementBlock("div", _hoisted_1, [
118
120
  unref(disasterList).length ? (openBlock(), createBlock(unref(FpiElRolling), {
@@ -1,5 +1,6 @@
1
1
  import { defineComponent, ref, computed, onMounted, openBlock, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, normalizeStyle } from 'vue';
2
2
  import requestControl from '../../service/request.mjs';
3
+ import { setIntervalData } from '../../utils/hooks.mjs';
3
4
 
4
5
  const _hoisted_1 = { class: "dv-ipes-dual-prevention-mechanism" };
5
6
  const _hoisted_2 = { class: "name" };
@@ -53,6 +54,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
53
54
  onMounted(() => {
54
55
  getData();
55
56
  });
57
+ setIntervalData(getData, 5 * 60 * 1e3);
56
58
  return (_ctx, _cache) => {
57
59
  return openBlock(), createElementBlock("div", _hoisted_1, [
58
60
  (openBlock(true), createElementBlock(Fragment, null, renderList(levelsView.value, (item) => {
@@ -1,5 +1,6 @@
1
1
  import { defineComponent, ref, onMounted, openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, toDisplayString } from 'vue';
2
2
  import requestControl from '../../service/request.mjs';
3
+ import { setIntervalData } from '../../utils/hooks.mjs';
3
4
 
4
5
  const _hoisted_1 = { class: "dv-ipes-emengercy-plan" };
5
6
  const _hoisted_2 = { class: "box" };
@@ -51,6 +52,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
51
52
  onMounted(() => {
52
53
  getCommitmentData();
53
54
  });
55
+ setIntervalData(getCommitmentData, 5 * 60 * 1e3);
54
56
  return (_ctx, _cache) => {
55
57
  return openBlock(), createElementBlock("div", _hoisted_1, [
56
58
  createElementVNode("div", _hoisted_2, [
@@ -19,6 +19,7 @@ import __vite_glob_0_17 from './images/protected.png.mjs';
19
19
  import { defineComponent, ref, onMounted, openBlock, createElementBlock, createElementVNode, Fragment, renderList, unref, toDisplayString } from 'vue';
20
20
  import requestControl from '../../service/request.mjs';
21
21
  import { useThemeHook } from '../../../utils.mjs';
22
+ import { setIntervalData } from '../../utils/hooks.mjs';
22
23
 
23
24
  const _hoisted_1 = { class: "dv-ipes-emergency-resources" };
24
25
  const _hoisted_2 = { class: "list-content" };
@@ -53,6 +54,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
53
54
  onMounted(() => {
54
55
  getData();
55
56
  });
57
+ setIntervalData(getData, 5 * 60 * 1e3);
56
58
  return (_ctx, _cache) => {
57
59
  return openBlock(), createElementBlock("div", _hoisted_1, [
58
60
  createElementVNode("div", _hoisted_2, [
@@ -14,6 +14,7 @@ import requestControl from '../../service/request.mjs';
14
14
  import { useThemeHook } from '../../../utils.mjs';
15
15
  import _sfc_main$1 from '../common/NoData.vue.mjs';
16
16
  import '../common/NoData.vue2.mjs';
17
+ import { setIntervalData } from '../../utils/hooks.mjs';
17
18
 
18
19
  const _hoisted_1 = { class: "dv-ipes-emergency-watch" };
19
20
  const _hoisted_2 = /* @__PURE__ */ createElementVNode("div", { class: "emergency-watch-title" }, " 今日值班 ", -1);
@@ -85,6 +86,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
85
86
  onMounted(() => {
86
87
  getCommitmentData();
87
88
  });
89
+ setIntervalData(getCommitmentData, 5 * 60 * 1e3);
88
90
  return (_ctx, _cache) => {
89
91
  return openBlock(), createElementBlock("div", _hoisted_1, [
90
92
  _hoisted_2,
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, ref, onMounted, openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeStyle, toDisplayString, createBlock, unref, withCtx } from 'vue';
2
2
  import { FpiElRolling } from '@ued_fpi/element-plus-expand';
3
3
  import requestControl from '../../service/request.mjs';
4
+ import { setIntervalData } from '../../utils/hooks.mjs';
4
5
 
5
6
  const _hoisted_1 = { class: "dv-ipes-enterprise-protection-code" };
6
7
  const _hoisted_2 = { class: "dv-ipes-env-code-list" };
@@ -91,6 +92,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
91
92
  onMounted(() => {
92
93
  getData();
93
94
  });
95
+ setIntervalData(getData, 5 * 60 * 1e3);
94
96
  return (_ctx, _cache) => {
95
97
  return openBlock(), createElementBlock("div", _hoisted_1, [
96
98
  createElementVNode("div", _hoisted_2, [
@@ -1,5 +1,6 @@
1
1
  import { defineComponent, ref, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, Fragment, renderList } from 'vue';
2
2
  import requestControl from '../../service/request.mjs';
3
+ import { setIntervalData } from '../../utils/hooks.mjs';
3
4
 
4
5
  const _hoisted_1 = { class: "dv-ipes-Enterprises-park" };
5
6
  const _hoisted_2 = { class: "Enterprises-header" };
@@ -56,6 +57,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
56
57
  onMounted(() => {
57
58
  getData();
58
59
  });
60
+ setIntervalData(getData, 5 * 60 * 1e3);
59
61
  return (_ctx, _cache) => {
60
62
  return openBlock(), createElementBlock("div", _hoisted_1, [
61
63
  createElementVNode("div", _hoisted_2, [
@@ -10,6 +10,7 @@ import { defineComponent, ref, onMounted, openBlock, createElementBlock, Fragmen
10
10
  import dayjs from 'dayjs';
11
11
  import requestControl from '../../service/request.mjs';
12
12
  import { useThemeHook } from '../../../utils.mjs';
13
+ import { setIntervalData } from '../../utils/hooks.mjs';
13
14
 
14
15
  const _hoisted_1 = { class: "dv-ipes-event-month" };
15
16
  const _hoisted_2 = ["src"];
@@ -57,6 +58,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
57
58
  onMounted(() => {
58
59
  getData();
59
60
  });
61
+ setIntervalData(getData, 5 * 60 * 1e3);
60
62
  return (_ctx, _cache) => {
61
63
  return openBlock(), createElementBlock("div", _hoisted_1, [
62
64
  (openBlock(true), createElementBlock(Fragment, null, renderList(eventData.value, (item) => {
@@ -5,6 +5,7 @@ import { defineComponent, ref, computed, openBlock, createElementBlock, createEl
5
5
  import requestControl from '../../service/request.mjs';
6
6
  import _sfc_main$3 from '../common/NoData.vue.mjs';
7
7
  import '../common/NoData.vue2.mjs';
8
+ import { setIntervalData } from '../../utils/hooks.mjs';
8
9
  import _sfc_main$1 from './components/Tabs.vue.mjs';
9
10
  import './components/Tabs.vue2.mjs';
10
11
  import _sfc_main$2 from './components/ListItem.vue.mjs';
@@ -24,7 +25,7 @@ const _hoisted_7 = {
24
25
  class: "last-data"
25
26
  };
26
27
  const __default__ = {
27
- name: "DvIpesEventTracking",
28
+ name: "DvIpesGeneralManagement",
28
29
  title: "事件跟踪"
29
30
  };
30
31
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -65,6 +66,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
65
66
  const data = result.data || [];
66
67
  tabList.value = data;
67
68
  activeTab.value = data[0].missionLevelCode;
69
+ page = 1;
70
+ count.value = 0;
71
+ listTotalCount.value = 0;
72
+ cardData.value = [];
68
73
  getEventList();
69
74
  } catch (error) {
70
75
  console.log(error);
@@ -126,6 +131,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
126
131
  const onClick = (item) => {
127
132
  emit("clickItem", item);
128
133
  };
134
+ setIntervalData(() => {
135
+ getCountByStatusForPark();
136
+ getTaskLevelStatistics();
137
+ }, 5 * 60 * 1e3);
129
138
  return (_ctx, _cache) => {
130
139
  const _directive_infinite_scroll = ElInfiniteScroll;
131
140
  return openBlock(), createElementBlock("div", _hoisted_1, [
@@ -2,6 +2,7 @@ import { defineComponent, ref, onMounted, nextTick, openBlock, createElementBloc
2
2
  import requestControl from '../../service/request.mjs';
3
3
  import _sfc_main$1 from '../common/NoData.vue.mjs';
4
4
  import '../common/NoData.vue2.mjs';
5
+ import { setIntervalData } from '../../utils/hooks.mjs';
5
6
 
6
7
  const _hoisted_1 = { class: "dv-ipes-ground-water-monitor" };
7
8
  const _hoisted_2 = { class: "pie-card" };
@@ -103,6 +104,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
103
104
  await nextTick();
104
105
  fetchData();
105
106
  });
107
+ setIntervalData(fetchData, 5 * 60 * 1e3);
106
108
  return (_ctx, _cache) => {
107
109
  return openBlock(), createElementBlock(Fragment, null, [
108
110
  withDirectives(createElementVNode("div", _hoisted_1, [
@@ -15,6 +15,7 @@ import { defineComponent, ref, onMounted, openBlock, createElementBlock, Fragmen
15
15
  import dayjs from 'dayjs';
16
16
  import requestControl from '../../service/request.mjs';
17
17
  import { useThemeHook } from '../../../utils.mjs';
18
+ import { setIntervalData } from '../../utils/hooks.mjs';
18
19
 
19
20
  const _hoisted_1 = { class: "dv-ipes-hazardous-waste" };
20
21
  const _hoisted_2 = { class: "box" };
@@ -71,6 +72,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
71
72
  onMounted(() => {
72
73
  getData();
73
74
  });
75
+ setIntervalData(getData, 5 * 60 * 1e3);
74
76
  return (_ctx, _cache) => {
75
77
  const _component_el_tooltip = ElTooltip;
76
78
  return openBlock(), createElementBlock("div", _hoisted_1, [
@@ -1,5 +1,6 @@
1
1
  import { defineComponent, ref, computed, onMounted, openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, toDisplayString, normalizeStyle, createCommentVNode } from 'vue';
2
2
  import requestControl from '../../service/request.mjs';
3
+ import { setIntervalData } from '../../utils/hooks.mjs';
3
4
 
4
5
  const _hoisted_1 = { class: "type-box" };
5
6
  const _hoisted_2 = { class: "value" };
@@ -61,6 +62,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
61
62
  onMounted(() => {
62
63
  getData();
63
64
  });
65
+ setIntervalData(getData, 5 * 60 * 1e3);
64
66
  return (_ctx, _cache) => {
65
67
  return openBlock(), createElementBlock("div", {
66
68
  ref_key: "componentBox",
@@ -6,6 +6,7 @@ import '../common/Echarts.vue2.mjs';
6
6
  import requestControl from '../../service/request.mjs';
7
7
  import _sfc_main$2 from '../common/NoData.vue.mjs';
8
8
  import '../common/NoData.vue2.mjs';
9
+ import { setIntervalData } from '../../utils/hooks.mjs';
9
10
 
10
11
  const __default__ = {
11
12
  name: "DvIpesHomeworkVolumeTrend",
@@ -127,6 +128,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
127
128
  chartOption.options.xAxis.data = data.map((ele, index) => `${index + 1}月`);
128
129
  chartOption.options.series[0].data = data;
129
130
  }
131
+ setIntervalData(getHomeworkVolumeTrend, 5 * 60 * 1e3);
130
132
  return (_ctx, _cache) => {
131
133
  return openBlock(), createElementBlock("div", {
132
134
  class: "dv-ipes-homework-volume-trend",
@@ -3,6 +3,7 @@ import __vite_glob_0_1 from './images/bg.png.mjs';
3
3
  import { defineComponent, ref, onMounted, openBlock, createElementBlock, createElementVNode, unref, toDisplayString } from 'vue';
4
4
  import requestControl from '../../service/request.mjs';
5
5
  import { useThemeHook } from '../../../utils.mjs';
6
+ import { setIntervalData } from '../../utils/hooks.mjs';
6
7
 
7
8
  const _hoisted_1 = { class: "dv-ipes-major-risk" };
8
9
  const _hoisted_2 = { class: "risk-box" };
@@ -51,6 +52,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
51
52
  onMounted(() => {
52
53
  getInfoData();
53
54
  });
55
+ setIntervalData(getInfoData, 5 * 60 * 1e3);
54
56
  return (_ctx, _cache) => {
55
57
  return openBlock(), createElementBlock("div", _hoisted_1, [
56
58
  createElementVNode("div", _hoisted_2, [
@@ -3,6 +3,7 @@ import __vite_glob_0_1 from './images/bg.png.mjs';
3
3
  import { defineComponent, ref, onMounted, openBlock, createElementBlock, createElementVNode, unref, toDisplayString } from 'vue';
4
4
  import requestControl from '../../service/request.mjs';
5
5
  import { useThemeHook } from '../../../utils.mjs';
6
+ import { setIntervalData } from '../../utils/hooks.mjs';
6
7
 
7
8
  const _hoisted_1 = { class: "dv-ipes-online-monitor" };
8
9
  const _hoisted_2 = { class: "monitor-box" };
@@ -62,6 +63,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
62
63
  onMounted(() => {
63
64
  getInfoData();
64
65
  });
66
+ setIntervalData(getInfoData, 5 * 60 * 1e3);
65
67
  return (_ctx, _cache) => {
66
68
  return openBlock(), createElementBlock("div", _hoisted_1, [
67
69
  createElementVNode("div", _hoisted_2, [
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, ref, onMounted, openBlock, createElementBlock, createElementVNode, unref, toDisplayString } from 'vue';
2
2
  import requestControl from '../../service/request.mjs';
3
3
  import { useThemeHook } from '../../../utils.mjs';
4
+ import { setIntervalData } from '../../utils/hooks.mjs';
4
5
  import drakImg from './images/performance.png.mjs';
5
6
  import lightImg from './images/performance-light.png.mjs';
6
7
 
@@ -111,6 +112,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
111
112
  onMounted(async () => {
112
113
  getBasicInfoData();
113
114
  });
115
+ setIntervalData(getBasicInfoData, 5 * 60 * 1e3);
114
116
  return (_ctx, _cache) => {
115
117
  return openBlock(), createElementBlock("div", _hoisted_1, [
116
118
  createElementVNode("div", _hoisted_2, [
@@ -1,5 +1,6 @@
1
1
  import { defineComponent, ref, onMounted, nextTick, openBlock, createElementBlock, createElementVNode, toDisplayString, Fragment, renderList, normalizeStyle } from 'vue';
2
2
  import requestControl from '../../service/request.mjs';
3
+ import { setIntervalData } from '../../utils/hooks.mjs';
3
4
 
4
5
  const _hoisted_1 = { class: "dv-ipes-personnel-location" };
5
6
  const _hoisted_2 = { class: "risk_body" };
@@ -123,6 +124,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
123
124
  await nextTick();
124
125
  fetchData();
125
126
  });
127
+ setIntervalData(fetchData);
126
128
  return (_ctx, _cache) => {
127
129
  return openBlock(), createElementBlock("div", _hoisted_1, [
128
130
  createElementVNode("div", _hoisted_2, [
@@ -11,6 +11,7 @@ import __vite_glob_0_9 from './images/locator.png.mjs';
11
11
  import { defineComponent, ref, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, createCommentVNode, Fragment, renderList, normalizeClass, unref } from 'vue';
12
12
  import requestControl from '../../service/request.mjs';
13
13
  import { useThemeHook } from '../../../utils.mjs';
14
+ import { setIntervalData } from '../../utils/hooks.mjs';
14
15
 
15
16
  const _hoisted_1 = { class: "dv-ipes-personnel-passage" };
16
17
  const _hoisted_2 = {
@@ -121,6 +122,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
121
122
  onMounted(() => {
122
123
  getData();
123
124
  });
125
+ setIntervalData(getData);
124
126
  return (_ctx, _cache) => {
125
127
  return openBlock(), createElementBlock("div", _hoisted_1, [
126
128
  props.showParkStatistics ? (openBlock(), createElementBlock("div", _hoisted_2, [
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, ref, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, normalizeStyle } from 'vue';
2
2
  import _imports_0 from './images/valve.png.mjs';
3
3
  import requestControl from '../../service/request.mjs';
4
+ import { setIntervalData } from '../../utils/hooks.mjs';
4
5
 
5
6
  const _hoisted_1 = { class: "dv-ipes-rain-valve-condition" };
6
7
  const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", { class: "title" }, "雨水阀门状态", -1);
@@ -14,7 +15,7 @@ const _hoisted_9 = /* @__PURE__ */ createElementVNode("span", { class: "label" }
14
15
  const _hoisted_10 = { class: "value close" };
15
16
  const _hoisted_11 = { class: "bar" };
16
17
  const __default__ = {
17
- name: "RainValveCondition",
18
+ name: "DvIpesRainValveCondition",
18
19
  title: "雨水阀门状态"
19
20
  };
20
21
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -51,6 +52,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
51
52
  onMounted(() => {
52
53
  getData();
53
54
  });
55
+ setIntervalData(getData, 5 * 60 * 1e3);
54
56
  return (_ctx, _cache) => {
55
57
  return openBlock(), createElementBlock("div", _hoisted_1, [
56
58
  _hoisted_2,
@@ -2,6 +2,7 @@ import { defineComponent, computed, ref, onMounted, openBlock, createElementBloc
2
2
  import requestControl from '../../service/request.mjs';
3
3
  import { useThemeHook } from '../../../utils.mjs';
4
4
  import '../../utils/highchartsPiePlugins.mjs';
5
+ import { setIntervalData } from '../../utils/hooks.mjs';
5
6
 
6
7
  const _hoisted_1 = { class: "dv-ipes-risk-classification" };
7
8
  const _hoisted_2 = { class: "chart-box" };
@@ -154,6 +155,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
154
155
  getRiskLevelData();
155
156
  getRiskRate();
156
157
  });
158
+ setIntervalData(() => {
159
+ getRiskLevelData();
160
+ getRiskRate();
161
+ }, 5 * 60 * 1e3);
157
162
  return (_ctx, _cache) => {
158
163
  return openBlock(), createElementBlock("div", _hoisted_1, [
159
164
  createElementVNode("div", _hoisted_2, [
@@ -1,5 +1,6 @@
1
1
  import { defineComponent, ref, onMounted, openBlock, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, toDisplayString } from 'vue';
2
2
  import requestControl from '../../service/request.mjs';
3
+ import { setIntervalData } from '../../utils/hooks.mjs';
3
4
 
4
5
  const _hoisted_1 = { class: "dv-ipes-security-commitment" };
5
6
  const _hoisted_2 = { class: "top" };
@@ -40,6 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
41
  onMounted(() => {
41
42
  getCommitmentData();
42
43
  });
44
+ setIntervalData(getCommitmentData, 5 * 60 * 1e3);
43
45
  return (_ctx, _cache) => {
44
46
  return openBlock(), createElementBlock("div", _hoisted_1, [
45
47
  (openBlock(true), createElementBlock(Fragment, null, renderList(commitmentInfos.value, (item) => {
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, ref, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, Fragment, renderList, normalizeStyle } from 'vue';
2
2
  import requestControl from '../../service/request.mjs';
3
3
  import { useThemeHook } from '../../../utils.mjs';
4
+ import { setIntervalData } from '../../utils/hooks.mjs';
4
5
 
5
6
  const _hoisted_1 = { class: "dv-ipes-sensing-equipment" };
6
7
  const _hoisted_2 = { class: "equipment-header" };
@@ -73,6 +74,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
73
74
  onMounted(() => {
74
75
  getData();
75
76
  });
77
+ setIntervalData(getData, 5 * 60 * 1e3);
76
78
  return (_ctx, _cache) => {
77
79
  return openBlock(), createElementBlock("div", _hoisted_1, [
78
80
  createElementVNode("div", _hoisted_2, [
@@ -1,5 +1,6 @@
1
1
  import { defineComponent, ref, openBlock, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString } from 'vue';
2
2
  import requestControl from '../../service/request.mjs';
3
+ import { setIntervalData } from '../../utils/hooks.mjs';
3
4
 
4
5
  const _hoisted_1 = { class: "dv-ipes-start-stop-major-maintenance" };
5
6
  const _hoisted_2 = { class: "title" };
@@ -33,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33
34
  }
34
35
  }
35
36
  getBasicInfo();
37
+ setIntervalData(getBasicInfo, 5 * 60 * 1e3);
36
38
  return (_ctx, _cache) => {
37
39
  return openBlock(), createElementBlock("div", _hoisted_1, [
38
40
  (openBlock(true), createElementBlock(Fragment, null, renderList(basicInfos.value, (item) => {
@@ -23,6 +23,7 @@ import requestControl from '../../service/request.mjs';
23
23
  import { useThemeHook } from '../../../utils.mjs';
24
24
  import _sfc_main$1 from '../common/NoData.vue.mjs';
25
25
  import '../common/NoData.vue2.mjs';
26
+ import { setIntervalData } from '../../utils/hooks.mjs';
26
27
 
27
28
  const _hoisted_1 = { class: "dv-ipes-today-work" };
28
29
  const _hoisted_2 = { class: "special-work-parkList flex" };
@@ -61,6 +62,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
61
62
  onMounted(() => {
62
63
  getworkList();
63
64
  });
65
+ setIntervalData(getworkList, 5 * 60 * 1e3);
64
66
  return (_ctx, _cache) => {
65
67
  return openBlock(), createElementBlock("div", _hoisted_1, [
66
68
  workList.value.length ? (openBlock(), createBlock(unref(FpiElRolling), {
@@ -8,6 +8,7 @@ import __vite_glob_0_6 from './images/onParkNum-bg.png.mjs';
8
8
  import { defineComponent, ref, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, normalizeClass } from 'vue';
9
9
  import requestControl from '../../service/request.mjs';
10
10
  import { useThemeHook } from '../../../utils.mjs';
11
+ import { setIntervalData } from '../../utils/hooks.mjs';
11
12
 
12
13
  const _hoisted_1 = { class: "dv-ipes-transport-vehicle" };
13
14
  const _hoisted_2 = { class: "vehicle-box" };
@@ -90,6 +91,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
90
91
  onMounted(() => {
91
92
  getData();
92
93
  });
94
+ setIntervalData(getData);
93
95
  return (_ctx, _cache) => {
94
96
  return openBlock(), createElementBlock("div", _hoisted_1, [
95
97
  createElementVNode("div", _hoisted_2, [
@@ -11,6 +11,7 @@ import __vite_glob_0_9 from './images/locator.png.mjs';
11
11
  import { defineComponent, ref, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, createCommentVNode, Fragment, renderList, normalizeClass, unref } from 'vue';
12
12
  import requestControl from '../../service/request.mjs';
13
13
  import { useThemeHook } from '../../../utils.mjs';
14
+ import { setIntervalData } from '../../utils/hooks.mjs';
14
15
 
15
16
  const _hoisted_1 = { class: "dv-ipes-vehicle-passage" };
16
17
  const _hoisted_2 = {
@@ -66,23 +67,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
66
67
  return new URL((/* #__PURE__ */ Object.assign({"./images/abnormal-light.png": __vite_glob_0_0,"./images/abnormal.png": __vite_glob_0_1,"./images/bg-light.png": __vite_glob_0_2,"./images/bg.png": __vite_glob_0_3,"./images/enter-light.png": __vite_glob_0_4,"./images/enter.png": __vite_glob_0_5,"./images/leave-light.png": __vite_glob_0_6,"./images/leave.png": __vite_glob_0_7,"./images/locator-light.png": __vite_glob_0_8,"./images/locator.png": __vite_glob_0_9}))[`./images/${key}${isDark2 ? "" : "-light"}.png`], self.location).href;
67
68
  };
68
69
  const countData = ref({
69
- carTodayIn: 0,
70
+ carTodayIn: null,
70
71
  // 入园数量
71
- carTodayOut: 0,
72
+ carTodayOut: null,
72
73
  // 出园数量
73
- onParkNum: 0,
74
+ onParkNum: null,
74
75
  // 园内车辆
75
- gpsCar: 0,
76
+ gpsCar: null,
76
77
  // 定位车辆
77
- abnormalCar: 0,
78
+ abnormalCar: null,
78
79
  // 异常车辆
79
- fixCar: 0,
80
+ fixCar: null,
80
81
  // 固定车
81
- appointCar: 0,
82
+ appointCar: null,
82
83
  // 预约车
83
- tempCar: 0,
84
+ tempCar: null,
84
85
  // 临时车
85
- other: 0
86
+ other: null
86
87
  // 其他车
87
88
  });
88
89
  const commitmentInfos = ref([
@@ -91,23 +92,26 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
91
92
  { title: "预约车", key: "appointCar" },
92
93
  { title: "其他车", key: "other" }
93
94
  ]);
95
+ let isInit = false;
94
96
  async function getData() {
95
97
  try {
96
98
  const res = await requestControl({
97
99
  method: "get",
98
100
  url: "/ipes-pcip-server/api/v2/gis/stat-flow-car"
99
101
  });
102
+ isInit = true;
100
103
  countData.value = res?.data ?? {};
101
104
  } catch (error) {
102
105
  console.log(error);
103
106
  }
104
107
  }
105
108
  function getShowData(value) {
106
- return value == null ? "0" : value;
109
+ return value === null && isInit ? "0" : value;
107
110
  }
108
111
  onMounted(() => {
109
112
  getData();
110
113
  });
114
+ setIntervalData(getData);
111
115
  return (_ctx, _cache) => {
112
116
  return openBlock(), createElementBlock("div", _hoisted_1, [
113
117
  props.showParkStatistics ? (openBlock(), createElementBlock("div", _hoisted_2, [
@@ -4,6 +4,7 @@ import { useCssVar } from '@vueuse/core';
4
4
  import requestControl from '../../service/request.mjs';
5
5
  import _sfc_main$1 from '../common/Echarts.vue.mjs';
6
6
  import '../common/Echarts.vue2.mjs';
7
+ import { setIntervalData } from '../../utils/hooks.mjs';
7
8
 
8
9
  const _hoisted_1 = { class: "dv-ipes-vehicle-trend" };
9
10
  const __default__ = {
@@ -176,6 +177,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
176
177
  onMounted(() => {
177
178
  getData();
178
179
  });
180
+ setIntervalData(getData);
179
181
  return (_ctx, _cache) => {
180
182
  return openBlock(), createElementBlock("div", _hoisted_1, [
181
183
  createVNode(_sfc_main$1, {
@@ -1,5 +1,6 @@
1
1
  import { defineComponent, ref, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString } from 'vue';
2
2
  import requestControl from '../../service/request.mjs';
3
+ import { setIntervalData } from '../../utils/hooks.mjs';
3
4
 
4
5
  const _hoisted_1 = { class: "dv-ipes-video-equipment" };
5
6
  const _hoisted_2 = { class: "video-header" };
@@ -55,6 +56,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
55
56
  onMounted(() => {
56
57
  getInfoData();
57
58
  });
59
+ setIntervalData(getData, 5 * 60 * 1e3);
58
60
  return (_ctx, _cache) => {
59
61
  return openBlock(), createElementBlock("div", _hoisted_1, [
60
62
  createElementVNode("div", _hoisted_2, [
@@ -1,5 +1,6 @@
1
1
  import { defineComponent, ref, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString } from 'vue';
2
2
  import requestControl from '../../service/request.mjs';
3
+ import { setIntervalData } from '../../utils/hooks.mjs';
3
4
 
4
5
  const _hoisted_1 = { class: "dv-ipes-vocs-control" };
5
6
  const _hoisted_2 = { class: "real-box" };
@@ -42,6 +43,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
42
43
  onMounted(() => {
43
44
  getData();
44
45
  });
46
+ setIntervalData(getData, 5 * 60 * 1e3);
45
47
  return (_ctx, _cache) => {
46
48
  return openBlock(), createElementBlock("div", _hoisted_1, [
47
49
  createElementVNode("div", _hoisted_2, [