eoss-ui 0.5.54 → 0.5.56
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/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 +398 -279
- package/lib/flow-group.js +82 -79
- package/lib/flow-list.js +85 -82
- package/lib/flow.js +120 -118
- 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 +95 -92
- package/lib/menu.js +72 -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 +3 -2
- package/lib/tree-group.js +82 -79
- package/lib/tree.js +83 -80
- package/lib/upload.js +96 -92
- 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/main.vue +2 -3
- package/packages/form/src/main.vue +2 -1
- package/packages/menu/src/main.vue +82 -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 +3 -2
- package/packages/upload/src/main.vue +3 -2
- 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,9 +270,10 @@ export default {
|
|
|
270
270
|
]);
|
|
271
271
|
})
|
|
272
272
|
)
|
|
273
|
-
|
|
273
|
+
);
|
|
274
274
|
}
|
|
275
275
|
if (type === 'filter') {
|
|
276
|
+
console.log(1212);
|
|
276
277
|
info.push(
|
|
277
278
|
h(
|
|
278
279
|
'el-button',
|
|
@@ -641,6 +641,7 @@ export default {
|
|
|
641
641
|
}
|
|
642
642
|
});
|
|
643
643
|
this.filesTotalSize = filesTotalSize;
|
|
644
|
+
this.$emit('input', val);
|
|
644
645
|
} else {
|
|
645
646
|
this.getFiles(this.params);
|
|
646
647
|
}
|
|
@@ -787,7 +788,7 @@ export default {
|
|
|
787
788
|
}
|
|
788
789
|
});
|
|
789
790
|
this.filesTotalSize = filesTotalSize;
|
|
790
|
-
this.$emit('input', this.lists);
|
|
791
|
+
this.$emit('input', this.lists.length ? this.lists : '');
|
|
791
792
|
}
|
|
792
793
|
} else {
|
|
793
794
|
let msg = res.msg || '系统错误,请联系管理员!';
|
|
@@ -1193,7 +1194,7 @@ export default {
|
|
|
1193
1194
|
this.onChange && this.onChange(file, fileList);
|
|
1194
1195
|
},
|
|
1195
1196
|
handleRemove(file, fileList) {
|
|
1196
|
-
this.$emit('input', fileList);
|
|
1197
|
+
this.$emit('input', fileList.length ? fileList : '');
|
|
1197
1198
|
this.$emit('remove', file, fileList);
|
|
1198
1199
|
this.$emit('change', fileList);
|
|
1199
1200
|
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
|
// 说明文档
|