@ued_fpi/data-visual 1.4.28 → 1.4.30

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.
@@ -37,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
37
37
  props: {
38
38
  isAccessPermission: {
39
39
  type: Boolean,
40
- default: true
40
+ default: false
41
41
  }
42
42
  },
43
43
  emits: ["clickItem"],
@@ -123,7 +123,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
123
123
  missionLevelName: item.missionLevelName,
124
124
  startTimeStr: item.startTimeStr,
125
125
  missionSuperviseStatus: item.missionSuperviseStatus,
126
- description: item.description
126
+ description: item.description,
127
+ isAccessPermission: props.isAccessPermission
127
128
  };
128
129
  });
129
130
  cardData.value.push(...d);
@@ -62,7 +62,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
62
62
  props: {
63
63
  showParkStatistics: { type: Boolean, default: true },
64
64
  showParkInData: { type: Boolean, default: true },
65
- showAbnormalData: { type: Boolean, default: true }
65
+ showAbnormalData: { type: Boolean, default: true },
66
+ commitmentInfos: { default: () => [
67
+ { title: "固定车", key: "fixCar" },
68
+ { title: "特殊车", key: "specialCar" },
69
+ { title: "预约车", key: "appointCar" },
70
+ { title: "其他车", key: "other" }
71
+ ] }
66
72
  },
67
73
  setup(__props) {
68
74
  const props = __props;
@@ -90,12 +96,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
90
96
  other: null
91
97
  // 其他车
92
98
  });
93
- const commitmentInfos = vue.ref([
94
- { title: "固定车", key: "fixCar" },
95
- { title: "特殊车", key: "specialCar" },
96
- { title: "预约车", key: "appointCar" },
97
- { title: "其他车", key: "other" }
98
- ]);
99
99
  let isInit = false;
100
100
  async function getData() {
101
101
  try {
@@ -135,7 +135,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
135
135
  ]),
136
136
  _hoisted_13,
137
137
  vue.createElementVNode("div", _hoisted_14, [
138
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(commitmentInfos.value, (item) => {
138
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props.commitmentInfos, (item) => {
139
139
  return vue.openBlock(), vue.createElementBlock("div", {
140
140
  key: item.key,
141
141
  class: vue.normalizeClass(["row", item.key])