mooho-base-admin-plus 2.7.0 → 2.7.1
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.json
CHANGED
|
@@ -41,8 +41,7 @@
|
|
|
41
41
|
return {
|
|
42
42
|
//changed: false,
|
|
43
43
|
selected: null,
|
|
44
|
-
selectedData: null
|
|
45
|
-
loadDataEnable: true
|
|
44
|
+
selectedData: null
|
|
46
45
|
};
|
|
47
46
|
},
|
|
48
47
|
props: {
|
|
@@ -217,17 +216,21 @@
|
|
|
217
216
|
// 弹出选择框
|
|
218
217
|
dialogSelectOpen() {
|
|
219
218
|
if (!this.readonly && this.source) {
|
|
220
|
-
if (this.param) {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
} else {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
}
|
|
219
|
+
// if (this.param) {
|
|
220
|
+
// // 参数完整
|
|
221
|
+
// this.loadDataEnable = true;
|
|
222
|
+
// } else {
|
|
223
|
+
// // 参数不完整
|
|
224
|
+
// this.loadDataEnable = false;
|
|
225
|
+
// }
|
|
227
226
|
|
|
228
227
|
//this.$refs.dialogTable.loadData();
|
|
229
228
|
|
|
230
229
|
setTimeout(async () => {
|
|
230
|
+
for (let key in this.$refs.dialogTable.filterData) {
|
|
231
|
+
delete this.$refs.dialogTable.filterData[key];
|
|
232
|
+
}
|
|
233
|
+
|
|
231
234
|
if (this.multi) {
|
|
232
235
|
if (this.selectedData != null) {
|
|
233
236
|
this.$refs.dialogTable.setSelected(this.selectedData);
|
package/src/router/dynamic.js
CHANGED
|
@@ -36,22 +36,41 @@ export default {
|
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
resolve
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
39
|
+
if (!item.isFrameOut) {
|
|
40
|
+
root.children.push({
|
|
41
|
+
path,
|
|
42
|
+
name,
|
|
43
|
+
meta: {
|
|
44
|
+
title: getNameI18n(item),
|
|
45
|
+
description: getDescI18n(item),
|
|
46
|
+
data,
|
|
47
|
+
auth: true,
|
|
48
|
+
cache: true
|
|
49
|
+
},
|
|
50
|
+
component: () => {
|
|
51
|
+
return new Promise(resolve => {
|
|
52
|
+
resolve(pages[item.templateUrl]);
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
} else {
|
|
57
|
+
router.addRoute({
|
|
58
|
+
path: '/' + path,
|
|
59
|
+
name,
|
|
60
|
+
meta: {
|
|
61
|
+
title: getNameI18n(item),
|
|
62
|
+
description: getDescI18n(item),
|
|
63
|
+
data,
|
|
64
|
+
auth: true,
|
|
65
|
+
cache: true
|
|
66
|
+
},
|
|
67
|
+
component: () => {
|
|
68
|
+
return new Promise(resolve => {
|
|
69
|
+
resolve(pages[item.templateUrl]);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
}
|
|
55
74
|
}
|
|
56
75
|
});
|
|
57
76
|
|