eoss-ui 0.5.53 → 0.5.55
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/CHANGELOG.md +929 -0
- package/lib/button-group.js +82 -79
- package/lib/button.js +83 -80
- package/lib/checkbox-group.js +95 -85
- package/lib/config/api.js +2 -0
- package/lib/data-table-form.js +91 -81
- package/lib/data-table.js +132 -106
- package/lib/date-picker.js +82 -79
- package/lib/dialog.js +82 -79
- package/lib/eoss-ui.common.js +402 -286
- package/lib/flow-group.js +82 -79
- package/lib/flow-list.js +85 -82
- package/lib/flow.js +124 -121
- package/lib/form.js +86 -81
- package/lib/handle-user.js +83 -80
- package/lib/handler.js +83 -80
- package/lib/index.js +1 -1
- package/lib/input-number.js +82 -79
- package/lib/input.js +82 -79
- package/lib/login.js +88 -85
- package/lib/main.js +97 -95
- package/lib/menu.js +71 -17
- package/lib/nav.js +82 -79
- package/lib/notify.js +85 -82
- package/lib/page.js +82 -79
- package/lib/player.js +82 -79
- package/lib/qr-code.js +82 -79
- package/lib/radio-group.js +95 -85
- package/lib/retrial-auth.js +85 -82
- package/lib/select-ganged.js +93 -102
- package/lib/select.js +93 -83
- package/lib/selector-panel.js +100 -97
- package/lib/selector.js +83 -80
- package/lib/sizer.js +84 -81
- package/lib/steps.js +82 -79
- package/lib/switch.js +82 -79
- package/lib/table-form.js +82 -79
- package/lib/tabs.js +82 -79
- package/lib/theme-chalk/form.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/tips.js +83 -80
- package/lib/toolbar.js +2 -2
- package/lib/tree-group.js +82 -79
- package/lib/tree.js +83 -80
- package/lib/upload.js +96 -93
- package/lib/wujie.js +82 -79
- package/lib/wxlogin.js +82 -79
- package/package.json +1 -1
- package/packages/button/src/main.vue +1 -1
- package/packages/checkbox-group/src/main.vue +12 -5
- package/packages/data-table/src/column.vue +24 -7
- package/packages/data-table/src/main.vue +31 -10
- package/packages/data-table-form/src/main.vue +10 -3
- package/packages/flow/src/component/CommonOpinions.vue +1 -1
- package/packages/form/src/main.vue +2 -1
- package/packages/main/src/main.vue +0 -1
- package/packages/menu/src/main.vue +81 -4
- package/packages/radio-group/src/main.vue +12 -5
- package/packages/select/src/main.vue +12 -5
- package/packages/select-ganged/src/main.vue +9 -2
- package/packages/theme-chalk/lib/form.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/src/form.scss +8 -0
- package/packages/toolbar/src/main.vue +2 -2
- package/packages/upload/src/main.vue +3 -3
- package/src/config/api.js +2 -0
- package/src/index.js +1 -1
|
@@ -259,7 +259,7 @@ export default {
|
|
|
259
259
|
];
|
|
260
260
|
}
|
|
261
261
|
if (type === 'info') {
|
|
262
|
-
info
|
|
262
|
+
info.push(
|
|
263
263
|
h(
|
|
264
264
|
'div',
|
|
265
265
|
{ class: 'es-toolbar-info' },
|
|
@@ -270,7 +270,7 @@ export default {
|
|
|
270
270
|
]);
|
|
271
271
|
})
|
|
272
272
|
)
|
|
273
|
-
|
|
273
|
+
);
|
|
274
274
|
}
|
|
275
275
|
if (type === 'filter') {
|
|
276
276
|
info.push(
|
|
@@ -534,7 +534,6 @@ export default {
|
|
|
534
534
|
return this.readonly || (this.elForm || {}).readonly;
|
|
535
535
|
},
|
|
536
536
|
isRemove() {
|
|
537
|
-
console.log(this.remove, this.deleted, 999);
|
|
538
537
|
if (this.remove == false || this.deleted == false) {
|
|
539
538
|
return false;
|
|
540
539
|
}
|
|
@@ -641,6 +640,7 @@ export default {
|
|
|
641
640
|
}
|
|
642
641
|
});
|
|
643
642
|
this.filesTotalSize = filesTotalSize;
|
|
643
|
+
this.$emit('input', val);
|
|
644
644
|
} else {
|
|
645
645
|
this.getFiles(this.params);
|
|
646
646
|
}
|
|
@@ -787,7 +787,7 @@ export default {
|
|
|
787
787
|
}
|
|
788
788
|
});
|
|
789
789
|
this.filesTotalSize = filesTotalSize;
|
|
790
|
-
this.$emit('input', this.lists);
|
|
790
|
+
this.$emit('input', this.lists.length ? this.lists : '');
|
|
791
791
|
}
|
|
792
792
|
} else {
|
|
793
793
|
let msg = res.msg || '系统错误,请联系管理员!';
|
|
@@ -1193,7 +1193,7 @@ export default {
|
|
|
1193
1193
|
this.onChange && this.onChange(file, fileList);
|
|
1194
1194
|
},
|
|
1195
1195
|
handleRemove(file, fileList) {
|
|
1196
|
-
this.$emit('input', fileList);
|
|
1196
|
+
this.$emit('input', fileList.length ? fileList : '');
|
|
1197
1197
|
this.$emit('remove', file, fileList);
|
|
1198
1198
|
this.$emit('change', fileList);
|
|
1199
1199
|
this.onRemove && this.onRemove(file, fileList);
|
package/src/config/api.js
CHANGED
|
@@ -72,6 +72,8 @@ export const getOrgMainTree = '/sys/v1/mecpSys/getOrgMainTree.dhtml';
|
|
|
72
72
|
export const getSelectOrgsubids = '/sys/v1/mecpSys/getSelectOrgsubids.dhtml';
|
|
73
73
|
// 代码表
|
|
74
74
|
export const findSysCode = '/sys/v1/mecpSys/findSysCode.dhtml';
|
|
75
|
+
export const getDictList = '/dict/getDictDataList';
|
|
76
|
+
|
|
75
77
|
// 获取用户基本信息
|
|
76
78
|
export const findUserBaseInfo = '/sys/v1/mecpSys/findUserBaseInfo.dhtml';
|
|
77
79
|
// 说明文档
|