mooho-base-admin-plus 2.4.37 → 2.4.39
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 +3 -1
- package/package/mooho-base-admin-plus.min.esm.js +21 -27
- package/package/mooho-base-admin-plus.min.js +6 -6
- package/package.json +1 -1
- package/src/components/view/view-form-draggable.vue +1 -1
- package/src/components/view/view-table.vue +1 -1
- package/src/index.js +3 -28
- package/src/pages/common/todo.vue +8 -7
- package/src/pages/system/permission.vue +8 -9
- /package/src/components/link/{index.vue → i-link.vue} +0 -0
package/history.md
CHANGED
|
@@ -5530,7 +5530,7 @@ if (localSetting) {
|
|
|
5530
5530
|
lodash$1.exports.defaultsDeep(localSetting, Setting);
|
|
5531
5531
|
lodash$1.exports.assign(Setting, localSetting);
|
|
5532
5532
|
}
|
|
5533
|
-
var index_vue_vue_type_style_index_0_lang
|
|
5533
|
+
var index_vue_vue_type_style_index_0_lang = "";
|
|
5534
5534
|
var _export_sfc = (sfc, props) => {
|
|
5535
5535
|
const target = sfc.__vccOpts || sfc;
|
|
5536
5536
|
for (const [key, val] of props) {
|
|
@@ -24804,7 +24804,7 @@ var mixinsLink = {
|
|
|
24804
24804
|
}
|
|
24805
24805
|
}
|
|
24806
24806
|
};
|
|
24807
|
-
var
|
|
24807
|
+
var iLink_vue_vue_type_style_index_0_lang = "";
|
|
24808
24808
|
const _sfc_main$1m = {
|
|
24809
24809
|
name: "i-link",
|
|
24810
24810
|
mixins: [mixinsLink],
|
|
@@ -24843,10 +24843,10 @@ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24843
24843
|
renderSlot(_ctx.$slots, "default")
|
|
24844
24844
|
], 10, _hoisted_1$19);
|
|
24845
24845
|
}
|
|
24846
|
-
var
|
|
24846
|
+
var iLink = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__file", "D:/Project/Mooho/FrontEnd/mooho-base-admin-plus/src/components/link/i-link.vue"]]);
|
|
24847
24847
|
var __glob_25_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24848
24848
|
__proto__: null,
|
|
24849
|
-
"default":
|
|
24849
|
+
"default": iLink
|
|
24850
24850
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
24851
24851
|
/**
|
|
24852
24852
|
* @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
|
|
@@ -36556,7 +36556,7 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36556
36556
|
model: $data.data,
|
|
36557
36557
|
"label-position": "top",
|
|
36558
36558
|
"label-colon": "\uFF1A",
|
|
36559
|
-
class: "ivu-mt
|
|
36559
|
+
class: "ivu-mt"
|
|
36560
36560
|
}, {
|
|
36561
36561
|
default: withCtx(() => [
|
|
36562
36562
|
createVNode$1(_component_draggable, {
|
|
@@ -47636,15 +47636,15 @@ const _sfc_main$V = {
|
|
|
47636
47636
|
mixins: [mixinPage],
|
|
47637
47637
|
components: { taskForm },
|
|
47638
47638
|
data() {
|
|
47639
|
-
return {
|
|
47640
|
-
filter: {}
|
|
47641
|
-
};
|
|
47639
|
+
return {};
|
|
47642
47640
|
},
|
|
47643
47641
|
computed: {},
|
|
47644
47642
|
created() {
|
|
47645
|
-
|
|
47646
|
-
|
|
47647
|
-
|
|
47643
|
+
setTimeout(() => {
|
|
47644
|
+
for (let key in this.$route.query) {
|
|
47645
|
+
this.$refs.table.filterData[key] = this.$route.query[key];
|
|
47646
|
+
}
|
|
47647
|
+
});
|
|
47648
47648
|
},
|
|
47649
47649
|
methods: {}
|
|
47650
47650
|
};
|
|
@@ -47671,7 +47671,6 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
47671
47671
|
default: withCtx(() => [
|
|
47672
47672
|
createVNode$1(_component_view_table, {
|
|
47673
47673
|
ref: "table",
|
|
47674
|
-
filter: $data.filter,
|
|
47675
47674
|
"view-code": "TodoList"
|
|
47676
47675
|
}, {
|
|
47677
47676
|
command: withCtx(({ row }) => [
|
|
@@ -47684,7 +47683,7 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
47684
47683
|
}, null, 8, ["title", "onClick"])
|
|
47685
47684
|
]),
|
|
47686
47685
|
_: 1
|
|
47687
|
-
},
|
|
47686
|
+
}, 512)
|
|
47688
47687
|
]),
|
|
47689
47688
|
_: 1
|
|
47690
47689
|
}),
|
|
@@ -49977,10 +49976,7 @@ const _sfc_main$C = {
|
|
|
49977
49976
|
components: {},
|
|
49978
49977
|
data() {
|
|
49979
49978
|
return {
|
|
49980
|
-
data: null
|
|
49981
|
-
filter: {
|
|
49982
|
-
parentID: "null"
|
|
49983
|
-
}
|
|
49979
|
+
data: null
|
|
49984
49980
|
};
|
|
49985
49981
|
},
|
|
49986
49982
|
computed: {},
|
|
@@ -50078,14 +50074,16 @@ const _sfc_main$C = {
|
|
|
50078
50074
|
}
|
|
50079
50075
|
},
|
|
50080
50076
|
beforeLoadData() {
|
|
50081
|
-
|
|
50082
|
-
|
|
50077
|
+
let filterData = this.$refs.table.filterData;
|
|
50078
|
+
if (!(filterData["keyword"] || "").trim()) {
|
|
50079
|
+
filterData["parentID"] = "null";
|
|
50083
50080
|
} else {
|
|
50084
|
-
|
|
50081
|
+
filterData["parentID"] = null;
|
|
50085
50082
|
}
|
|
50086
50083
|
},
|
|
50087
50084
|
async onLoadData() {
|
|
50088
|
-
|
|
50085
|
+
let filterData = this.$refs.table.filterData;
|
|
50086
|
+
if (!!(filterData["keyword"] || "").trim()) {
|
|
50089
50087
|
let data2 = this.$refs.table.data;
|
|
50090
50088
|
if (data2.length > 0) {
|
|
50091
50089
|
let dataWithParent = [];
|
|
@@ -50149,7 +50147,6 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50149
50147
|
createVNode$1(_component_view_table, {
|
|
50150
50148
|
ref: "table",
|
|
50151
50149
|
"view-code": "Permission",
|
|
50152
|
-
filter: $data.filter,
|
|
50153
50150
|
selectEnable: true,
|
|
50154
50151
|
"tree-enable": true,
|
|
50155
50152
|
"tree-load": (row) => $options.onTreeLoad(row),
|
|
@@ -50209,7 +50206,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50209
50206
|
}, toDisplayString$1(_ctx.showData(row, column)), 5)) : createCommentVNode("v-if", true)
|
|
50210
50207
|
]),
|
|
50211
50208
|
_: 1
|
|
50212
|
-
}, 8, ["
|
|
50209
|
+
}, 8, ["tree-load", "has-children", "before-load-data", "onOnLoadData"])
|
|
50213
50210
|
]),
|
|
50214
50211
|
_: 1
|
|
50215
50212
|
}),
|
|
@@ -128967,9 +128964,6 @@ const install = function(app) {
|
|
|
128967
128964
|
app.use(i18n$1);
|
|
128968
128965
|
app.use(ViewUIPlus);
|
|
128969
128966
|
app.mixin(mixinApp);
|
|
128970
|
-
Object.keys(components).forEach((key) => {
|
|
128971
|
-
app.component(key, components[key]);
|
|
128972
|
-
});
|
|
128973
128967
|
app.directive("focus", focus);
|
|
128974
128968
|
app.directive("tab-hide", tabHide);
|
|
128975
128969
|
app.config.globalProperties.$echarts = echarts;
|
|
@@ -128982,7 +128976,7 @@ const pages = {};
|
|
|
128982
128976
|
Object.keys(files).forEach((key) => {
|
|
128983
128977
|
pages[key.replace(/(\.\/pages\/)/g, "")] = files[key].default;
|
|
128984
128978
|
});
|
|
128985
|
-
const componentFiles = { "./components/copyright/index.vue": __glob_25_0, "./components/home/notice-list.vue": __glob_25_1, "./components/home/shortcut.vue": __glob_25_2, "./components/input/check-group.vue": __glob_25_3, "./components/input/dialog-select.vue": __glob_25_4, "./components/input/item-select.vue": __glob_25_5, "./components/link/
|
|
128979
|
+
const componentFiles = { "./components/copyright/index.vue": __glob_25_0, "./components/home/notice-list.vue": __glob_25_1, "./components/home/shortcut.vue": __glob_25_2, "./components/input/check-group.vue": __glob_25_3, "./components/input/dialog-select.vue": __glob_25_4, "./components/input/item-select.vue": __glob_25_5, "./components/link/i-link.vue": __glob_25_6, "./components/richEditor/index.vue": __glob_25_7, "./components/upload/file-upload.vue": __glob_25_8, "./components/upload/upload-attachment.vue": __glob_25_9, "./components/upload/upload-image.vue": __glob_25_10, "./components/view/column-check.vue": __glob_25_11, "./components/view/column-edit.vue": __glob_25_12, "./components/view/column-select.vue": __glob_25_13, "./components/view/condition-edit.vue": __glob_25_14, "./components/view/filter-edit.vue": __glob_25_15, "./components/view/filter-setting.vue": __glob_25_16, "./components/view/form-setting-layout.vue": __glob_25_17, "./components/view/form-setting.vue": __glob_25_18, "./components/view/group-column.vue": __glob_25_19, "./components/view/group-method.vue": __glob_25_20, "./components/view/modal-form-filter.vue": __glob_25_21, "./components/view/modal-form-sort.vue": __glob_25_22, "./components/view/modal-form.vue": __glob_25_23, "./components/view/modal-table.vue": __glob_25_24, "./components/view/table-filter.vue": __glob_25_25, "./components/view/table-setting.vue": __glob_25_26, "./components/view/view-chart.vue": __glob_25_27, "./components/view/view-form-draggable.vue": __glob_25_28, "./components/view/view-form.vue": __glob_25_29, "./components/view/view-table.vue": __glob_25_30, "./components/workflow/flow-chart.vue": __glob_25_31 };
|
|
128986
128980
|
const components = {};
|
|
128987
128981
|
Object.keys(componentFiles).forEach((key) => {
|
|
128988
128982
|
components[key.replace(/(\.\/pages\/)/g, "").split("/").pop().split(".")[0]] = componentFiles[key].default;
|