mooho-base-admin-plus 2.0.50 → 2.0.51
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/package/mooho-base-admin-plus.min.esm.js +11 -11
- package/package/mooho-base-admin-plus.min.js +5 -5
- package/package.json +1 -1
- package/src/components/view/column-edit.vue +1 -1
- package/src/components/view/filter-edit.vue +1 -1
- package/src/components/view/form-setting-layout.vue +5 -0
- package/src/components/view/modal-form-filter.vue +1 -1
- package/src/components/view/modal-form-sort.vue +2 -2
- package/src/components/view/table-filter.vue +1 -1
- package/src/components/view/view-form.vue +0 -1
- package/src/index.js +1 -3
- package/src/pages/system/rolePropertyEdit.vue +1 -1
|
@@ -29027,7 +29027,7 @@ const _sfc_main$Z = {
|
|
|
29027
29027
|
paramOpen() {
|
|
29028
29028
|
this.params = [];
|
|
29029
29029
|
this.paramOpened = true;
|
|
29030
|
-
if (this.data.param != null && this.data.param
|
|
29030
|
+
if (this.data.param != null && this.data.param !== "") {
|
|
29031
29031
|
let obj = JSON.parse(this.data.param);
|
|
29032
29032
|
for (let key in obj) {
|
|
29033
29033
|
this.params.push({
|
|
@@ -30911,7 +30911,7 @@ const _sfc_main$T = {
|
|
|
30911
30911
|
paramOpen() {
|
|
30912
30912
|
this.params = [];
|
|
30913
30913
|
this.paramOpened = true;
|
|
30914
|
-
if (this.data.param != null && this.data.param
|
|
30914
|
+
if (this.data.param != null && this.data.param !== "") {
|
|
30915
30915
|
let obj = JSON.parse(this.data.param);
|
|
30916
30916
|
for (let key in obj) {
|
|
30917
30917
|
let type = "\u53D8\u91CF";
|
|
@@ -37042,7 +37042,6 @@ const _sfc_main$w = {
|
|
|
37042
37042
|
}
|
|
37043
37043
|
} else if (column.controlType === "DialogSelect" || column.controlType === "MultiDialogSelect") {
|
|
37044
37044
|
if (param == null) {
|
|
37045
|
-
column.dataSource = [];
|
|
37046
37045
|
this.setData(this.data, column.code, null);
|
|
37047
37046
|
column.triggers.forEach((item) => {
|
|
37048
37047
|
item.needClear = true;
|
|
@@ -37920,7 +37919,7 @@ const _sfc_main$v = {
|
|
|
37920
37919
|
paramOpen() {
|
|
37921
37920
|
this.params = [];
|
|
37922
37921
|
this.paramOpened = true;
|
|
37923
|
-
if (this.data.param != null && this.data.param
|
|
37922
|
+
if (this.data.param != null && this.data.param !== "") {
|
|
37924
37923
|
let obj = JSON.parse(this.data.param);
|
|
37925
37924
|
for (let key in obj) {
|
|
37926
37925
|
let type = "\u53D8\u91CF";
|
|
@@ -39612,7 +39611,7 @@ const _sfc_main$u = {
|
|
|
39612
39611
|
},
|
|
39613
39612
|
toData() {
|
|
39614
39613
|
let array = [];
|
|
39615
|
-
if (this.sort
|
|
39614
|
+
if (this.sort !== "" && this.sort != null) {
|
|
39616
39615
|
let json = JSON.parse(this.sort);
|
|
39617
39616
|
for (let key in json) {
|
|
39618
39617
|
array.push({
|
|
@@ -39624,7 +39623,7 @@ const _sfc_main$u = {
|
|
|
39624
39623
|
this.dataSorting = array;
|
|
39625
39624
|
},
|
|
39626
39625
|
async saveSortingForm() {
|
|
39627
|
-
if (this.data.code
|
|
39626
|
+
if (this.data.code !== "" && this.data.code != null && this.data.rule != null && this.data.rule !== "") {
|
|
39628
39627
|
let checkSort = false;
|
|
39629
39628
|
this.dataSorting.forEach((item) => {
|
|
39630
39629
|
if (item.column == this.data.code) {
|
|
@@ -39965,7 +39964,7 @@ const _sfc_main$t = {
|
|
|
39965
39964
|
},
|
|
39966
39965
|
toData() {
|
|
39967
39966
|
let filterArr = [];
|
|
39968
|
-
if (this.filter
|
|
39967
|
+
if (this.filter !== "" && this.filter != null) {
|
|
39969
39968
|
let json = JSON.parse(this.filter);
|
|
39970
39969
|
for (let key in json) {
|
|
39971
39970
|
let operatorArr = [];
|
|
@@ -41306,7 +41305,7 @@ const _sfc_main$r = {
|
|
|
41306
41305
|
parseArrayFilterData(model2, column) {
|
|
41307
41306
|
let data2 = [];
|
|
41308
41307
|
let value = this.parseFilterData(model2, column);
|
|
41309
|
-
if (value != null && value
|
|
41308
|
+
if (value != null && value !== "") {
|
|
41310
41309
|
data2 = value.split(",");
|
|
41311
41310
|
}
|
|
41312
41311
|
return data2;
|
|
@@ -51616,6 +51615,9 @@ const _sfc_main$n = {
|
|
|
51616
51615
|
},
|
|
51617
51616
|
edit(row, index2) {
|
|
51618
51617
|
this.$refs.columnEdit.open(row, index2, this.$refs.form.columns, (data2) => {
|
|
51618
|
+
if (lodash$1.exports.get(this.$refs.form.data, data2.code) == null) {
|
|
51619
|
+
lodash$1.exports.set(this.$refs.form.data, data2.code, null);
|
|
51620
|
+
}
|
|
51619
51621
|
let columns = this.$refs.form.columns;
|
|
51620
51622
|
columns.splice(index2, 1, data2);
|
|
51621
51623
|
});
|
|
@@ -127390,9 +127392,7 @@ const install = function(app) {
|
|
|
127390
127392
|
app.use(router$1);
|
|
127391
127393
|
app.use(store);
|
|
127392
127394
|
app.use(i18n$1);
|
|
127393
|
-
app.use(ViewUIPlus
|
|
127394
|
-
i18n: i18n$1
|
|
127395
|
-
});
|
|
127395
|
+
app.use(ViewUIPlus);
|
|
127396
127396
|
app.mixin(mixinApp);
|
|
127397
127397
|
Object.keys(components).forEach((key) => {
|
|
127398
127398
|
app.component(key, components[key]);
|