mooho-base-admin-plus 2.0.52 → 2.0.53
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.
|
@@ -35421,7 +35421,8 @@ const _sfc_main$C = {
|
|
|
35421
35421
|
return {
|
|
35422
35422
|
selected: null,
|
|
35423
35423
|
selectedData: null,
|
|
35424
|
-
dialogActive: false
|
|
35424
|
+
dialogActive: false,
|
|
35425
|
+
loadDataEnable: true
|
|
35425
35426
|
};
|
|
35426
35427
|
},
|
|
35427
35428
|
props: {
|
|
@@ -35553,11 +35554,11 @@ const _sfc_main$C = {
|
|
|
35553
35554
|
}
|
|
35554
35555
|
}
|
|
35555
35556
|
if (this.param) {
|
|
35556
|
-
this
|
|
35557
|
+
this.loadDataEnable = true;
|
|
35557
35558
|
} else {
|
|
35558
|
-
this
|
|
35559
|
-
this.$refs.dialogTable.opened = true;
|
|
35559
|
+
this.loadDataEnable = false;
|
|
35560
35560
|
}
|
|
35561
|
+
this.$refs.dialogTable.open(this.param);
|
|
35561
35562
|
});
|
|
35562
35563
|
}
|
|
35563
35564
|
},
|
|
@@ -35624,7 +35625,8 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35624
35625
|
"view-code": $props.source,
|
|
35625
35626
|
selectEnable: $props.multi,
|
|
35626
35627
|
"check-cross-page": true,
|
|
35627
|
-
"footer-enable": $props.multi
|
|
35628
|
+
"footer-enable": $props.multi,
|
|
35629
|
+
"load-data-enable": $data.loadDataEnable
|
|
35628
35630
|
}, {
|
|
35629
35631
|
command: withCtx(({ row }) => [
|
|
35630
35632
|
!$props.multi ? (openBlock(), createBlock(_component_Button, {
|
|
@@ -35663,7 +35665,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
35663
35665
|
})
|
|
35664
35666
|
]),
|
|
35665
35667
|
_: 1
|
|
35666
|
-
}, 8, ["view-code", "selectEnable", "footer-enable"])) : createCommentVNode("v-if", true)
|
|
35668
|
+
}, 8, ["view-code", "selectEnable", "footer-enable", "load-data-enable"])) : createCommentVNode("v-if", true)
|
|
35667
35669
|
]);
|
|
35668
35670
|
}
|
|
35669
35671
|
var DialogSelect = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$C], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/components/input/dialog-select.vue"]]);
|
|
@@ -41915,6 +41917,10 @@ const _sfc_main$q = {
|
|
|
41915
41917
|
},
|
|
41916
41918
|
spanMethod: {
|
|
41917
41919
|
type: Function
|
|
41920
|
+
},
|
|
41921
|
+
loadDataEnable: {
|
|
41922
|
+
type: Boolean,
|
|
41923
|
+
default: true
|
|
41918
41924
|
}
|
|
41919
41925
|
},
|
|
41920
41926
|
computed: {
|
|
@@ -42088,6 +42094,11 @@ const _sfc_main$q = {
|
|
|
42088
42094
|
});
|
|
42089
42095
|
},
|
|
42090
42096
|
async loadData(staticData) {
|
|
42097
|
+
if (!this.loadDataEnable) {
|
|
42098
|
+
this.total = 0;
|
|
42099
|
+
this.data = [];
|
|
42100
|
+
return;
|
|
42101
|
+
}
|
|
42091
42102
|
if (!this.inited) {
|
|
42092
42103
|
await this.init(this.viewCode);
|
|
42093
42104
|
if (!this.inited) {
|
|
@@ -52476,6 +52487,10 @@ const _sfc_main$l = {
|
|
|
52476
52487
|
},
|
|
52477
52488
|
spanMethod: {
|
|
52478
52489
|
type: Function
|
|
52490
|
+
},
|
|
52491
|
+
loadDataEnable: {
|
|
52492
|
+
type: Boolean,
|
|
52493
|
+
default: true
|
|
52479
52494
|
}
|
|
52480
52495
|
},
|
|
52481
52496
|
computed: {
|
|
@@ -52657,6 +52672,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
52657
52672
|
"summary-method": $props.summaryMethod,
|
|
52658
52673
|
"page-size-opts": $props.pageSizeOpts,
|
|
52659
52674
|
"span-method": $props.spanMethod,
|
|
52675
|
+
"load-data-enable": $props.loadDataEnable,
|
|
52660
52676
|
onCreate: $options.create,
|
|
52661
52677
|
onEdit: $options.edit,
|
|
52662
52678
|
onOnReady: $options.onReady,
|
|
@@ -52716,7 +52732,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
52716
52732
|
})
|
|
52717
52733
|
]),
|
|
52718
52734
|
_: 3
|
|
52719
|
-
}, 8, ["view-code", "static", "filter", "setting-enable", "select-enable", "check-cross-page", "tree-enable", "tree-load", "has-children", "create-enable", "edit-enable", "remove-enable", "draggable", "filter-enable", "page-enable", "embedded", "before-load-data", "on-search", "summary-method", "page-size-opts", "span-method", "onCreate", "onEdit", "onOnReady", "onOnLoadData", "onAfterInit", "onOnDragDrop"])
|
|
52735
|
+
}, 8, ["view-code", "static", "filter", "setting-enable", "select-enable", "check-cross-page", "tree-enable", "tree-load", "has-children", "create-enable", "edit-enable", "remove-enable", "draggable", "filter-enable", "page-enable", "embedded", "before-load-data", "on-search", "summary-method", "page-size-opts", "span-method", "load-data-enable", "onCreate", "onEdit", "onOnReady", "onOnLoadData", "onAfterInit", "onOnDragDrop"])
|
|
52720
52736
|
])
|
|
52721
52737
|
]),
|
|
52722
52738
|
_: 3
|