@ued_fpi/data-visual 1.4.23 → 1.4.24
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;
|