mooho-base-admin-plus 2.4.38 → 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 +2 -1
- package/package/mooho-base-admin-plus.min.esm.js +16 -19
- package/package/mooho-base-admin-plus.min.js +3 -3
- 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/pages/common/todo.vue +8 -7
- package/src/pages/system/permission.vue +8 -9
package/history.md
CHANGED
|
@@ -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
|
}),
|