mooho-base-admin-plus 2.4.32 → 2.4.34

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.
package/history.md CHANGED
@@ -64,3 +64,5 @@
64
64
  2.4.30 - 批量选择支持默认值
65
65
  2.4.31 - 增加自定义功能导入导出
66
66
  2.4.32 - 修复切换强制换行后不会马上换行的bug
67
+ 2.4.33 - 修复多选可筛选选择框无法删除已选项的bug
68
+ 2.4.34 - 修复带参数的路由地址无法处理权限点的bug
@@ -22170,7 +22170,11 @@ var menu = {
22170
22170
  }
22171
22171
  let permissions = {};
22172
22172
  res2.permissions.forEach((key) => {
22173
- permissions[key.split("?")[0]] = true;
22173
+ let permissionKey = key.split("?")[0];
22174
+ if (key.split("$").length > 1) {
22175
+ permissionKey = permissionKey + "$" + key.split("$")[1];
22176
+ }
22177
+ permissions[permissionKey] = true;
22174
22178
  });
22175
22179
  state.userPermissions = permissions;
22176
22180
  setNativePermission(permissions);
@@ -23118,6 +23122,7 @@ var mixinPage = {
23118
23122
  return data2;
23119
23123
  },
23120
23124
  setArrayData(model2, expression2, value) {
23125
+ console.log("setArrayData", expression2, value);
23121
23126
  let data2 = "";
23122
23127
  if (value != null) {
23123
23128
  data2 = JSON.stringify(value);
@@ -23848,6 +23853,7 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
23848
23853
  createElementVNode("div", null, [
23849
23854
  withDirectives(createVNode$1(_component_Avatar, {
23850
23855
  icon: "md-apps",
23856
+ style: { "font-size": "10px" },
23851
23857
  size: "small"
23852
23858
  }, null, 512), [
23853
23859
  [_directive_color, "#1890ff"],
@@ -23939,38 +23945,26 @@ const _sfc_main$1p = {
23939
23945
  methods: {}
23940
23946
  };
23941
23947
  const _withScopeId = (n2) => (pushScopeId("data-v-9f6133a2"), n2 = n2(), popScopeId(), n2);
23942
- const _hoisted_1$19 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, [
23943
- /* @__PURE__ */ createElementVNode("span", null, "\u68C0\u6D4B\u4EFB\u52A1")
23944
- ], -1));
23945
- const _hoisted_2$H = { class: "stat" };
23946
- const _hoisted_3$B = { class: "icon" };
23947
- const _hoisted_4$r = { class: "content" };
23948
- const _hoisted_5$h = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
23949
- const _hoisted_6$d = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value2" }, "\u5DF2\u5206\u6D3E", -1));
23950
- const _hoisted_7$b = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, [
23951
- /* @__PURE__ */ createElementVNode("span", null, "\u539F\u59CB\u8BB0\u5F55")
23952
- ], -1));
23953
- const _hoisted_8$a = { class: "stat" };
23954
- const _hoisted_9$8 = { class: "icon" };
23955
- const _hoisted_10$7 = { class: "content" };
23956
- const _hoisted_11$3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
23957
- const _hoisted_12$3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value2" }, "\u5DF2\u5206\u6D3E", -1));
23958
- const _hoisted_13$3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, [
23959
- /* @__PURE__ */ createElementVNode("span", null, "\u68C0\u6D4B\u62A5\u544A")
23960
- ], -1));
23961
- const _hoisted_14$2 = { class: "stat" };
23962
- const _hoisted_15$2 = { class: "icon" };
23963
- const _hoisted_16$2 = { class: "content" };
23964
- const _hoisted_17$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
23965
- const _hoisted_18$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value2" }, "\u5DF2\u5206\u6D3E", -1));
23966
- const _hoisted_19$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", null, [
23967
- /* @__PURE__ */ createElementVNode("span", null, "\u68C0\u6D4B\u6837\u4EF6")
23968
- ], -1));
23969
- const _hoisted_20$2 = { class: "stat" };
23970
- const _hoisted_21$2 = { class: "icon" };
23971
- const _hoisted_22$2 = { class: "content" };
23972
- const _hoisted_23$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
23973
- const _hoisted_24$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value2" }, "\u5DF2\u5206\u6D3E", -1));
23948
+ const _hoisted_1$19 = { class: "stat" };
23949
+ const _hoisted_2$H = { class: "icon" };
23950
+ const _hoisted_3$B = { class: "content" };
23951
+ const _hoisted_4$r = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
23952
+ const _hoisted_5$h = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value2" }, "\u5DF2\u5206\u6D3E", -1));
23953
+ const _hoisted_6$d = { class: "stat" };
23954
+ const _hoisted_7$b = { class: "icon" };
23955
+ const _hoisted_8$a = { class: "content" };
23956
+ const _hoisted_9$8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
23957
+ const _hoisted_10$7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value2" }, "\u5DF2\u5206\u6D3E", -1));
23958
+ const _hoisted_11$3 = { class: "stat" };
23959
+ const _hoisted_12$3 = { class: "icon" };
23960
+ const _hoisted_13$3 = { class: "content" };
23961
+ const _hoisted_14$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
23962
+ const _hoisted_15$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value2" }, "\u5DF2\u5206\u6D3E", -1));
23963
+ const _hoisted_16$2 = { class: "stat" };
23964
+ const _hoisted_17$2 = { class: "icon" };
23965
+ const _hoisted_18$2 = { class: "content" };
23966
+ const _hoisted_19$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value1" }, "\u5F85\u5206\u6D3E", -1));
23967
+ const _hoisted_20$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "value2" }, "\u5DF2\u5206\u6D3E", -1));
23974
23968
  function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
23975
23969
  const _component_Icon = resolveComponent("Icon");
23976
23970
  const _component_Numeral = resolveComponent("Numeral");
@@ -23982,7 +23976,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
23982
23976
  const _directive_font = resolveDirective("font");
23983
23977
  return openBlock(), createElementBlock("div", null, [
23984
23978
  createVNode$1(_component_Row, {
23985
- gutter: 24,
23979
+ gutter: 12,
23986
23980
  class: "ivu-mt"
23987
23981
  }, {
23988
23982
  default: withCtx(() => [
@@ -23992,31 +23986,27 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
23992
23986
  lg: 12,
23993
23987
  md: 12,
23994
23988
  sm: 24,
23995
- xs: 24,
23996
- class: "ivu-mb"
23989
+ xs: 24
23997
23990
  }, {
23998
23991
  default: withCtx(() => [
23999
23992
  createElementVNode("div", null, [
24000
- createVNode$1(_component_Row, { gutter: 24 }, {
23993
+ createVNode$1(_component_Row, { gutter: 12 }, {
24001
23994
  default: withCtx(() => [
24002
23995
  createVNode$1(_component_Col, mergeProps($data.grid, { class: "ivu-mb" }), {
24003
23996
  default: withCtx(() => [
24004
- createVNode$1(_component_Card, {
24005
- bordered: false,
24006
- padding: 12
24007
- }, {
23997
+ createVNode$1(_component_Card, { bordered: false }, {
24008
23998
  title: withCtx(() => [
24009
- _hoisted_1$19
23999
+ createTextVNode("\u68C0\u6D4B\u4EFB\u52A1")
24010
24000
  ]),
24011
24001
  default: withCtx(() => [
24012
- createElementVNode("div", _hoisted_2$H, [
24013
- createElementVNode("div", _hoisted_3$B, [
24002
+ createElementVNode("div", _hoisted_1$19, [
24003
+ createElementVNode("div", _hoisted_2$H, [
24014
24004
  createVNode$1(_component_Icon, {
24015
24005
  type: "md-speedometer",
24016
24006
  color: "rgb(24, 144, 255)"
24017
24007
  })
24018
24008
  ]),
24019
- createElementVNode("div", _hoisted_4$r, [
24009
+ createElementVNode("div", _hoisted_3$B, [
24020
24010
  createElementVNode("div", null, [
24021
24011
  withDirectives(createVNode$1(_component_Numeral, {
24022
24012
  value: "85",
@@ -24024,7 +24014,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24024
24014
  }, null, 512), [
24025
24015
  [_directive_font, 30]
24026
24016
  ]),
24027
- _hoisted_5$h
24017
+ _hoisted_4$r
24028
24018
  ]),
24029
24019
  createElementVNode("div", null, [
24030
24020
  withDirectives(createVNode$1(_component_Numeral, {
@@ -24033,7 +24023,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24033
24023
  }, null, 512), [
24034
24024
  [_directive_font, 20]
24035
24025
  ]),
24036
- _hoisted_6$d
24026
+ _hoisted_5$h
24037
24027
  ])
24038
24028
  ])
24039
24029
  ])
@@ -24045,22 +24035,19 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24045
24035
  }, 16),
24046
24036
  createVNode$1(_component_Col, mergeProps($data.grid, { class: "ivu-mb" }), {
24047
24037
  default: withCtx(() => [
24048
- createVNode$1(_component_Card, {
24049
- bordered: false,
24050
- padding: 12
24051
- }, {
24038
+ createVNode$1(_component_Card, { bordered: false }, {
24052
24039
  title: withCtx(() => [
24053
- _hoisted_7$b
24040
+ createTextVNode("\u539F\u59CB\u8BB0\u5F55")
24054
24041
  ]),
24055
24042
  default: withCtx(() => [
24056
- createElementVNode("div", _hoisted_8$a, [
24057
- createElementVNode("div", _hoisted_9$8, [
24043
+ createElementVNode("div", _hoisted_6$d, [
24044
+ createElementVNode("div", _hoisted_7$b, [
24058
24045
  createVNode$1(_component_Icon, {
24059
24046
  type: "md-list-box",
24060
24047
  color: "rgb(250, 173, 20)"
24061
24048
  })
24062
24049
  ]),
24063
- createElementVNode("div", _hoisted_10$7, [
24050
+ createElementVNode("div", _hoisted_8$a, [
24064
24051
  createElementVNode("div", null, [
24065
24052
  withDirectives(createVNode$1(_component_Numeral, {
24066
24053
  value: "85",
@@ -24068,7 +24055,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24068
24055
  }, null, 512), [
24069
24056
  [_directive_font, 30]
24070
24057
  ]),
24071
- _hoisted_11$3
24058
+ _hoisted_9$8
24072
24059
  ]),
24073
24060
  createElementVNode("div", null, [
24074
24061
  withDirectives(createVNode$1(_component_Numeral, {
@@ -24077,7 +24064,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24077
24064
  }, null, 512), [
24078
24065
  [_directive_font, 20]
24079
24066
  ]),
24080
- _hoisted_12$3
24067
+ _hoisted_10$7
24081
24068
  ])
24082
24069
  ])
24083
24070
  ])
@@ -24089,22 +24076,19 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24089
24076
  }, 16),
24090
24077
  createVNode$1(_component_Col, mergeProps($data.grid, { class: "ivu-mb" }), {
24091
24078
  default: withCtx(() => [
24092
- createVNode$1(_component_Card, {
24093
- bordered: false,
24094
- padding: 12
24095
- }, {
24079
+ createVNode$1(_component_Card, { bordered: false }, {
24096
24080
  title: withCtx(() => [
24097
- _hoisted_13$3
24081
+ createTextVNode("\u68C0\u6D4B\u62A5\u544A")
24098
24082
  ]),
24099
24083
  default: withCtx(() => [
24100
- createElementVNode("div", _hoisted_14$2, [
24101
- createElementVNode("div", _hoisted_15$2, [
24084
+ createElementVNode("div", _hoisted_11$3, [
24085
+ createElementVNode("div", _hoisted_12$3, [
24102
24086
  createVNode$1(_component_Icon, {
24103
24087
  type: "md-print",
24104
24088
  color: "rgb(19, 194, 194)"
24105
24089
  })
24106
24090
  ]),
24107
- createElementVNode("div", _hoisted_16$2, [
24091
+ createElementVNode("div", _hoisted_13$3, [
24108
24092
  createElementVNode("div", null, [
24109
24093
  withDirectives(createVNode$1(_component_Numeral, {
24110
24094
  value: "85",
@@ -24112,7 +24096,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24112
24096
  }, null, 512), [
24113
24097
  [_directive_font, 30]
24114
24098
  ]),
24115
- _hoisted_17$2
24099
+ _hoisted_14$2
24116
24100
  ]),
24117
24101
  createElementVNode("div", null, [
24118
24102
  withDirectives(createVNode$1(_component_Numeral, {
@@ -24121,7 +24105,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24121
24105
  }, null, 512), [
24122
24106
  [_directive_font, 20]
24123
24107
  ]),
24124
- _hoisted_18$2
24108
+ _hoisted_15$2
24125
24109
  ])
24126
24110
  ])
24127
24111
  ])
@@ -24133,22 +24117,19 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24133
24117
  }, 16),
24134
24118
  createVNode$1(_component_Col, mergeProps($data.grid, { class: "ivu-mb" }), {
24135
24119
  default: withCtx(() => [
24136
- createVNode$1(_component_Card, {
24137
- bordered: false,
24138
- padding: 12
24139
- }, {
24120
+ createVNode$1(_component_Card, { bordered: false }, {
24140
24121
  title: withCtx(() => [
24141
- _hoisted_19$2
24122
+ createTextVNode("\u68C0\u6D4B\u6837\u4EF6")
24142
24123
  ]),
24143
24124
  default: withCtx(() => [
24144
- createElementVNode("div", _hoisted_20$2, [
24145
- createElementVNode("div", _hoisted_21$2, [
24125
+ createElementVNode("div", _hoisted_16$2, [
24126
+ createElementVNode("div", _hoisted_17$2, [
24146
24127
  createVNode$1(_component_Icon, {
24147
24128
  type: "md-analytics",
24148
24129
  color: "#b37feb"
24149
24130
  })
24150
24131
  ]),
24151
- createElementVNode("div", _hoisted_22$2, [
24132
+ createElementVNode("div", _hoisted_18$2, [
24152
24133
  createElementVNode("div", null, [
24153
24134
  withDirectives(createVNode$1(_component_Numeral, {
24154
24135
  value: "85",
@@ -24156,7 +24137,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24156
24137
  }, null, 512), [
24157
24138
  [_directive_font, 30]
24158
24139
  ]),
24159
- _hoisted_23$2
24140
+ _hoisted_19$2
24160
24141
  ]),
24161
24142
  createElementVNode("div", null, [
24162
24143
  withDirectives(createVNode$1(_component_Numeral, {
@@ -24165,7 +24146,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24165
24146
  }, null, 512), [
24166
24147
  [_directive_font, 20]
24167
24148
  ]),
24168
- _hoisted_24$2
24149
+ _hoisted_20$2
24169
24150
  ])
24170
24151
  ])
24171
24152
  ])
@@ -24187,8 +24168,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24187
24168
  lg: 8,
24188
24169
  md: 8,
24189
24170
  sm: 12,
24190
- xs: 24,
24191
- class: "ivu-mb"
24171
+ xs: 24
24192
24172
  }, {
24193
24173
  default: withCtx(() => [
24194
24174
  createVNode$1(_component_notice_list)
@@ -24200,8 +24180,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
24200
24180
  lg: 8,
24201
24181
  md: 8,
24202
24182
  sm: 12,
24203
- xs: 24,
24204
- class: "ivu-mb"
24183
+ xs: 24
24205
24184
  }, {
24206
24185
  default: withCtx(() => [
24207
24186
  createVNode$1(_component_shortcut)
@@ -37711,7 +37690,9 @@ const _sfc_main$w = {
37711
37690
  },
37712
37691
  parseComboData(model2, column) {
37713
37692
  let value = this.parseData(model2, column.code);
37714
- this.loadComboDataLabel(model2, column, value);
37693
+ setTimeout(() => {
37694
+ this.loadComboDataLabel(model2, column, value);
37695
+ });
37715
37696
  return value;
37716
37697
  },
37717
37698
  parseMultiComboData(model2, column) {
@@ -37720,7 +37701,9 @@ const _sfc_main$w = {
37720
37701
  if (this.isJSON(value)) {
37721
37702
  data2 = JSON.parse(value);
37722
37703
  }
37723
- this.loadComboDataLabel(model2, column, data2);
37704
+ setTimeout(() => {
37705
+ this.loadComboDataLabel(model2, column, data2);
37706
+ });
37724
37707
  return data2;
37725
37708
  },
37726
37709
  async loadComboDataLabel(model2, column, data2) {
@@ -42207,7 +42190,9 @@ const _sfc_main$r = {
42207
42190
  },
42208
42191
  parseComboData(model2, column) {
42209
42192
  let value = this.parseFilterData(model2, column);
42210
- this.loadComboDataLabel(model2, column, value);
42193
+ setTimeout(() => {
42194
+ this.loadComboDataLabel(model2, column, value);
42195
+ });
42211
42196
  return value;
42212
42197
  },
42213
42198
  parseMultiComboData(model2, column) {
@@ -42216,7 +42201,9 @@ const _sfc_main$r = {
42216
42201
  if (this.isJSON(value)) {
42217
42202
  data2 = JSON.parse(value);
42218
42203
  }
42219
- this.loadComboDataLabel(model2, column, data2);
42204
+ setTimeout(() => {
42205
+ this.loadComboDataLabel(model2, column, data2);
42206
+ });
42220
42207
  return data2;
42221
42208
  },
42222
42209
  async loadComboDataLabel(model2, column, data2) {
@@ -44094,7 +44081,9 @@ const _sfc_main$q = {
44094
44081
  },
44095
44082
  parseComboData(model2, column, index2) {
44096
44083
  let value = this.parseData(model2, column.code);
44097
- this.loadComboDataLabel(model2, column, value, index2);
44084
+ setTimeout(() => {
44085
+ this.loadComboDataLabel(model2, column, value, index2);
44086
+ });
44098
44087
  return value;
44099
44088
  },
44100
44089
  parseMultiComboData(model2, column, index2) {
@@ -44103,7 +44092,9 @@ const _sfc_main$q = {
44103
44092
  if (this.isJSON(value)) {
44104
44093
  data2 = JSON.parse(value);
44105
44094
  }
44106
- this.loadComboDataLabel(model2, column, data2, index2);
44095
+ setTimeout(() => {
44096
+ this.loadComboDataLabel(model2, column, data2, index2);
44097
+ });
44107
44098
  return data2;
44108
44099
  },
44109
44100
  async loadComboDataLabel(model2, column, data2, index2) {
@@ -52138,7 +52129,9 @@ const _sfc_main$o = {
52138
52129
  },
52139
52130
  parseComboData(model2, column) {
52140
52131
  let value = this.parseData(model2, column.code);
52141
- this.loadComboDataLabel(model2, column, value);
52132
+ setTimeout(() => {
52133
+ this.loadComboDataLabel(model2, column, value);
52134
+ });
52142
52135
  return value;
52143
52136
  },
52144
52137
  parseMultiComboData(model2, column) {
@@ -52147,7 +52140,9 @@ const _sfc_main$o = {
52147
52140
  if (this.isJSON(value)) {
52148
52141
  data2 = JSON.parse(value);
52149
52142
  }
52150
- this.loadComboDataLabel(model2, column, data2);
52143
+ setTimeout(() => {
52144
+ this.loadComboDataLabel(model2, column, data2);
52145
+ });
52151
52146
  return data2;
52152
52147
  },
52153
52148
  async loadComboDataLabel(model2, column, data2) {