@ued_fpi/data-visual 1.4.27 → 1.4.29

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.
@@ -33,7 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33
33
  props: {
34
34
  isAccessPermission: {
35
35
  type: Boolean,
36
- default: true
36
+ default: false
37
37
  }
38
38
  },
39
39
  emits: ["clickItem"],
@@ -49,7 +49,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
49
49
  method: "POST",
50
50
  url: "/bmp-mission-center-server/api/v1/parkStatistics/countByStatusForPark",
51
51
  data: {
52
- isAccessPermission: props.isAccessPermission
52
+ alarmTypeCodeList: ["automonitor_over", "automonitor_minute_over"],
53
+ // 过滤预警事件
54
+ isAccessPermission: props.isAccessPermission,
55
+ missionTypeCodeList: ["alarm"]
53
56
  // startTime: dayjs().startOf('day').valueOf(),
54
57
  // endTime: dayjs().endOf('day').valueOf()
55
58
  }
@@ -66,6 +69,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
66
69
  method: "POST",
67
70
  url: "/bmp-mission-center-server/api/v1/parkStatistics/countByMissionLevel",
68
71
  data: {
72
+ alarmTypeCodeList: ["automonitor_over", "automonitor_minute_over"],
73
+ // 过滤预警事件
74
+ missionTypeCodeList: ["alarm"],
69
75
  missionStatusList: [0, 1],
70
76
  isAccessPermission: props.isAccessPermission
71
77
  // startTime: dayjs().startOf('day').valueOf(),
@@ -94,6 +100,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
94
100
  method: "POST",
95
101
  url: "/bmp-mission-center-server/api/v1/missionRecord/pc/queryMissionRecordInfoPage",
96
102
  data: {
103
+ alarmTypeCodeList: ["automonitor_over", "automonitor_minute_over"],
104
+ // 过滤预警事件
105
+ missionTypeCodeList: ["alarm"],
97
106
  missionStatusList: [0, 1],
98
107
  missionLevelCodeList: [activeTab.value],
99
108
  limit,
@@ -110,7 +119,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
110
119
  missionLevelName: item.missionLevelName,
111
120
  startTimeStr: item.startTimeStr,
112
121
  missionSuperviseStatus: item.missionSuperviseStatus,
113
- description: item.description
122
+ description: item.description,
123
+ isAccessPermission: props.isAccessPermission
114
124
  };
115
125
  });
116
126
  cardData.value.push(...d);