@ued_fpi/data-visual 1.4.23 → 1.4.25

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.
@@ -30,8 +30,15 @@ const __default__ = {
30
30
  };
31
31
  const _sfc_main = /* @__PURE__ */ defineComponent({
32
32
  ...__default__,
33
+ props: {
34
+ isAccessPermission: {
35
+ type: Boolean,
36
+ default: true
37
+ }
38
+ },
33
39
  emits: ["clickItem"],
34
40
  setup(__props, { emit }) {
41
+ const props = __props;
35
42
  const activeTab = ref("");
36
43
  const tabList = ref([]);
37
44
  const cardData = ref([]);
@@ -42,6 +49,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
42
49
  method: "POST",
43
50
  url: "/bmp-mission-center-server/api/v1/parkStatistics/countByStatusForPark",
44
51
  data: {
52
+ isAccessPermission: props.isAccessPermission
45
53
  // startTime: dayjs().startOf('day').valueOf(),
46
54
  // endTime: dayjs().endOf('day').valueOf()
47
55
  }
@@ -58,7 +66,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
58
66
  method: "POST",
59
67
  url: "/bmp-mission-center-server/api/v1/parkStatistics/countByMissionLevel",
60
68
  data: {
61
- missionStatusList: [0, 1]
69
+ missionStatusList: [0, 1],
70
+ isAccessPermission: props.isAccessPermission
62
71
  // startTime: dayjs().startOf('day').valueOf(),
63
72
  // endTime: dayjs().endOf('day').valueOf()
64
73
  }
@@ -88,7 +97,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
88
97
  missionStatusList: [0, 1],
89
98
  missionLevelCodeList: [activeTab.value],
90
99
  limit,
91
- page
100
+ page,
101
+ isAccessPermission: props.isAccessPermission
92
102
  }
93
103
  });
94
104
  loading.value = false;
@@ -21,7 +21,34 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21
21
  ...__default__,
22
22
  emits: ["openPopup"],
23
23
  setup(__props, { emit }) {
24
- const colors = ["var(--dv-color-danger)", "var(--dv-color-warning)", "var(--dv-color-index)", "var(--dv-color-success)"];
24
+ const colors = [
25
+ "var(--dv-color-danger)",
26
+ "var(--dv-color-warning)",
27
+ "var(--dv-color-index)",
28
+ "var(--dv-color-success)",
29
+ "#409eff",
30
+ "#e6a23c",
31
+ "#ff6b6b",
32
+ // 高饱和红
33
+ "#4ecdc4",
34
+ // 青绿
35
+ "#45b7d1",
36
+ // 天蓝
37
+ "#96ceb4",
38
+ // 薄荷绿
39
+ "#feca57",
40
+ // 亮黄
41
+ "#ff9ff3",
42
+ // 粉紫
43
+ "#54a0ff",
44
+ // 亮蓝
45
+ "#5f27cd",
46
+ // 深紫
47
+ "#00d2d3",
48
+ // 青蓝
49
+ "#ff9f43"
50
+ // 橙黄
51
+ ];
25
52
  const totalCount = ref(0);
26
53
  const legendData = ref([
27
54
  // {