mooho-base-admin-plus 2.3.9 → 2.3.11

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
@@ -27,3 +27,5 @@
27
27
  2.3.7 - 继续解决修改筛选导致的弹出选择框 bug
28
28
  2.3.8 - 增加可筛选选择框支持
29
29
  2.3.9 - 优化默认筛选参数:filter 的处理方式
30
+ 2.3.10 - 可筛选选择框 bug 修复
31
+ 2.3.11 - 弹出框增加全屏按钮
@@ -37553,7 +37553,7 @@ const _sfc_main$w = {
37553
37553
  if (column.isStaticItem || column.dataType && column.dataType.startsWith("Enum:")) {
37554
37554
  return;
37555
37555
  }
37556
- if (this.$refs["control_" + column.code]) {
37556
+ if (this.$refs["control_" + column.code] && data2) {
37557
37557
  let values = this.$refs["control_" + column.code][0].$data.values;
37558
37558
  let pendings = [];
37559
37559
  if (column.controlType == "MultiComboSelect") {
@@ -42002,7 +42002,7 @@ const _sfc_main$r = {
42002
42002
  if (column.isStaticItem || column.dataType && column.dataType.startsWith("Enum:")) {
42003
42003
  return;
42004
42004
  }
42005
- if (this.$refs["control_" + column.code]) {
42005
+ if (this.$refs["control_" + column.code] && data2) {
42006
42006
  let values = this.$refs["control_" + column.code][0].$data.values;
42007
42007
  let pendings = [];
42008
42008
  if (column.controlType == "MultiComboSelect") {
@@ -43850,7 +43850,7 @@ const _sfc_main$q = {
43850
43850
  if (column.isStaticItem || column.dataType && column.dataType.startsWith("Enum:")) {
43851
43851
  return;
43852
43852
  }
43853
- if (this.$refs["control_" + column.code + "_" + index2]) {
43853
+ if (this.$refs["control_" + column.code + "_" + index2] && data2) {
43854
43854
  let values = this.$refs["control_" + column.code + "_" + index2].$data.values;
43855
43855
  let pendings = [];
43856
43856
  if (column.controlType == "MultiComboSelect") {
@@ -51884,7 +51884,7 @@ const _sfc_main$o = {
51884
51884
  if (column.isStaticItem || column.dataType && column.dataType.startsWith("Enum:")) {
51885
51885
  return;
51886
51886
  }
51887
- if (this.$refs["control_" + column.code]) {
51887
+ if (this.$refs["control_" + column.code] && data2) {
51888
51888
  let values = this.$refs["control_" + column.code][0].$data.values;
51889
51889
  let pendings = [];
51890
51890
  if (column.controlType == "MultiComboSelect") {
@@ -52942,6 +52942,7 @@ const _sfc_main$m = {
52942
52942
  data() {
52943
52943
  return {
52944
52944
  opened: false,
52945
+ isFullscreen: false,
52945
52946
  formView: {},
52946
52947
  settingActive: false
52947
52948
  };
@@ -53176,6 +53177,7 @@ const _hoisted_1$d = { class: "title" };
53176
53177
  const _hoisted_2$b = { class: "description" };
53177
53178
  const _hoisted_3$9 = { class: "ivu-ml-8 ivu-mr-8" };
53178
53179
  function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
53180
+ const _component_Icon = resolveComponent("Icon");
53179
53181
  const _component_view_form = resolveComponent("view-form");
53180
53182
  const _component_Button = resolveComponent("Button");
53181
53183
  const _component_Modal = resolveComponent("Modal");
@@ -53184,8 +53186,9 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
53184
53186
  return openBlock(), createElementBlock("div", null, [
53185
53187
  createVNode$1(_component_Modal, {
53186
53188
  modelValue: $data.opened,
53187
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.opened = $event),
53189
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.opened = $event),
53188
53190
  scrollable: "",
53191
+ fullscreen: $data.isFullscreen,
53189
53192
  "mask-closable": $props.maskClosable == null ? _ctx.layout.maskClosable : $props.maskClosable,
53190
53193
  draggable: $props.draggable == null ? _ctx.layout.draggable : $props.draggable,
53191
53194
  sticky: true,
@@ -53203,6 +53206,23 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
53203
53206
  ])
53204
53207
  ])
53205
53208
  ]),
53209
+ close: withCtx(() => [
53210
+ createElementVNode("div", null, [
53211
+ !$data.isFullscreen ? (openBlock(), createBlock(_component_Icon, {
53212
+ key: 0,
53213
+ style: { "font-size": "20px", "color": "#999", "position": "relative", "top": "-3px" },
53214
+ type: "ios-expand",
53215
+ onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $data.isFullscreen = !$data.isFullscreen, ["stop"]))
53216
+ })) : createCommentVNode("v-if", true),
53217
+ $data.isFullscreen ? (openBlock(), createBlock(_component_Icon, {
53218
+ key: 1,
53219
+ style: { "font-size": "20px", "color": "#999", "position": "relative", "top": "-3px" },
53220
+ type: "ios-contract",
53221
+ onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $data.isFullscreen = !$data.isFullscreen, ["stop"]))
53222
+ })) : createCommentVNode("v-if", true),
53223
+ createVNode$1(_component_Icon, { type: "ios-close" })
53224
+ ])
53225
+ ]),
53206
53226
  footer: withCtx(() => [
53207
53227
  createElementVNode("div", null, [
53208
53228
  createCommentVNode("\r\n @slot \u9875\u811A\r\n "),
@@ -53293,7 +53313,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
53293
53313
  ])
53294
53314
  ]),
53295
53315
  _: 3
53296
- }, 8, ["modelValue", "mask-closable", "draggable", "width", "before-close", "onOnVisibleChange"]),
53316
+ }, 8, ["modelValue", "fullscreen", "mask-closable", "draggable", "width", "before-close", "onOnVisibleChange"]),
53297
53317
  $data.settingActive ? (openBlock(), createBlock(_component_form_setting, {
53298
53318
  key: 0,
53299
53319
  ref: "setting",
@@ -53317,6 +53337,7 @@ const _sfc_main$l = {
53317
53337
  data() {
53318
53338
  return {
53319
53339
  opened: false,
53340
+ isFullscreen: false,
53320
53341
  tableView: {},
53321
53342
  param: {}
53322
53343
  };
@@ -53555,13 +53576,15 @@ const _hoisted_1$c = { class: "title" };
53555
53576
  const _hoisted_2$a = { class: "description" };
53556
53577
  const _hoisted_3$8 = { class: "ivu-ml-8 ivu-mr-8" };
53557
53578
  function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
53579
+ const _component_Icon = resolveComponent("Icon");
53558
53580
  const _component_view_table = resolveComponent("view-table");
53559
53581
  const _component_Modal = resolveComponent("Modal");
53560
53582
  return openBlock(), createBlock(_component_Modal, {
53561
53583
  ref: "modal",
53562
53584
  modelValue: $data.opened,
53563
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.opened = $event),
53585
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.opened = $event),
53564
53586
  scrollable: "",
53587
+ fullscreen: $data.isFullscreen,
53565
53588
  "mask-closable": $props.maskClosable == null ? _ctx.layout.maskClosable : $props.maskClosable,
53566
53589
  draggable: $props.draggable == null ? _ctx.layout.draggable : $props.draggable,
53567
53590
  sticky: true,
@@ -53580,6 +53603,23 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
53580
53603
  ])
53581
53604
  ])
53582
53605
  ]),
53606
+ close: withCtx(() => [
53607
+ createElementVNode("div", null, [
53608
+ !$data.isFullscreen ? (openBlock(), createBlock(_component_Icon, {
53609
+ key: 0,
53610
+ style: { "font-size": "20px", "color": "#999", "position": "relative", "top": "-3px" },
53611
+ type: "ios-expand",
53612
+ onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $data.isFullscreen = !$data.isFullscreen, ["stop"]))
53613
+ })) : createCommentVNode("v-if", true),
53614
+ $data.isFullscreen ? (openBlock(), createBlock(_component_Icon, {
53615
+ key: 1,
53616
+ style: { "font-size": "20px", "color": "#999", "position": "relative", "top": "-3px" },
53617
+ type: "ios-contract",
53618
+ onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $data.isFullscreen = !$data.isFullscreen, ["stop"]))
53619
+ })) : createCommentVNode("v-if", true),
53620
+ createVNode$1(_component_Icon, { type: "ios-close" })
53621
+ ])
53622
+ ]),
53583
53623
  footer: withCtx(() => [
53584
53624
  createElementVNode("div", null, [
53585
53625
  createCommentVNode("\r\n @slot \u9875\u811A\r\n "),
@@ -53676,7 +53716,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
53676
53716
  ])
53677
53717
  ]),
53678
53718
  _: 3
53679
- }, 8, ["modelValue", "mask-closable", "draggable", "width", "before-close", "footer-hide", "onOnVisibleChange"]);
53719
+ }, 8, ["modelValue", "fullscreen", "mask-closable", "draggable", "width", "before-close", "footer-hide", "onOnVisibleChange"]);
53680
53720
  }
53681
53721
  var ModalTable = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/components/view/modal-table.vue"]]);
53682
53722
  var index$1 = "";