@ued_fpi/data-visual 1.4.29 → 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.
@@ -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])