mooho-base-admin-plus 0.4.47 → 0.4.49
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.
|
@@ -30364,7 +30364,7 @@ const _sfc_main$J = {
|
|
|
30364
30364
|
return {
|
|
30365
30365
|
uid: "chart_" + ((1 + Math.random()) * 65536 | 0).toString(16),
|
|
30366
30366
|
data: null,
|
|
30367
|
-
setting:
|
|
30367
|
+
setting: null,
|
|
30368
30368
|
tableView: null,
|
|
30369
30369
|
chart: null
|
|
30370
30370
|
};
|
|
@@ -30399,8 +30399,10 @@ const _sfc_main$J = {
|
|
|
30399
30399
|
} else {
|
|
30400
30400
|
this.setting = {};
|
|
30401
30401
|
}
|
|
30402
|
-
|
|
30403
|
-
|
|
30402
|
+
setTimeout(() => {
|
|
30403
|
+
this.chart = this.$echarts.init(document.getElementById(this.uid));
|
|
30404
|
+
this.loadData();
|
|
30405
|
+
});
|
|
30404
30406
|
},
|
|
30405
30407
|
async initWithTable(tableView2) {
|
|
30406
30408
|
this.tableView = tableView2;
|
|
@@ -30409,7 +30411,9 @@ const _sfc_main$J = {
|
|
|
30409
30411
|
} else {
|
|
30410
30412
|
this.setting = {};
|
|
30411
30413
|
}
|
|
30412
|
-
|
|
30414
|
+
setTimeout(() => {
|
|
30415
|
+
this.chart = this.$echarts.init(document.getElementById(this.uid));
|
|
30416
|
+
});
|
|
30413
30417
|
},
|
|
30414
30418
|
async loadData(staticData) {
|
|
30415
30419
|
if (this.static) {
|
|
@@ -30441,7 +30445,9 @@ const _sfc_main$J = {
|
|
|
30441
30445
|
this.data = res2.data;
|
|
30442
30446
|
}
|
|
30443
30447
|
}
|
|
30444
|
-
|
|
30448
|
+
setTimeout(() => {
|
|
30449
|
+
this.loadChart();
|
|
30450
|
+
});
|
|
30445
30451
|
},
|
|
30446
30452
|
async loadChart(data2) {
|
|
30447
30453
|
if (data2) {
|
|
@@ -30661,10 +30667,11 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30661
30667
|
const _component_modal_form = resolveComponent("modal-form");
|
|
30662
30668
|
const _component_column_check = resolveComponent("column-check");
|
|
30663
30669
|
return openBlock(), createElementBlock("div", null, [
|
|
30664
|
-
|
|
30670
|
+
$data.setting ? (openBlock(), createElementBlock("div", {
|
|
30671
|
+
key: 0,
|
|
30665
30672
|
id: $data.uid,
|
|
30666
30673
|
style: normalizeStyle$1([{ "margin": "auto" }, { height: $data.setting.chartHeight ? $data.setting.chartHeight + "px" : "400px", width: $data.setting.chartWidth ? $data.setting.chartWidth + "px" : "95%" }])
|
|
30667
|
-
}, null, 12, _hoisted_1$u),
|
|
30674
|
+
}, null, 12, _hoisted_1$u)) : createCommentVNode("", true),
|
|
30668
30675
|
createElementVNode("div", null, [
|
|
30669
30676
|
_ctx.allow("permission/tableView") ? (openBlock(), createBlock(_component_Button, {
|
|
30670
30677
|
key: 0,
|
|
@@ -33366,7 +33373,6 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33366
33373
|
static: true,
|
|
33367
33374
|
"view-code": column.source,
|
|
33368
33375
|
readonly: true,
|
|
33369
|
-
pageEnable: false,
|
|
33370
33376
|
embedded: true
|
|
33371
33377
|
}, null, 8, ["view-code"])
|
|
33372
33378
|
])) : createCommentVNode("", true),
|
|
@@ -46636,7 +46642,6 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
46636
46642
|
static: true,
|
|
46637
46643
|
"view-code": column.source,
|
|
46638
46644
|
readonly: column.isReadonly,
|
|
46639
|
-
pageEnable: false,
|
|
46640
46645
|
embedded: true
|
|
46641
46646
|
}, null, 8, ["view-code", "readonly"])
|
|
46642
46647
|
])) : createCommentVNode("", true),
|
|
@@ -46656,7 +46661,6 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
46656
46661
|
static: true,
|
|
46657
46662
|
"view-code": column.source,
|
|
46658
46663
|
readonly: true,
|
|
46659
|
-
pageEnable: false,
|
|
46660
46664
|
embedded: true
|
|
46661
46665
|
}, null, 8, ["view-code"])
|
|
46662
46666
|
])) : createCommentVNode("", true),
|