cloud-web-corejs 1.0.267 → 1.0.269
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 +1 -1
- package/src/components/baseTabs/mixins.js +6 -11
- package/src/components/excelExport/exportFieldDialog.vue +375 -367
- package/src/components/excelExport/exportType.js +49 -0
- package/src/components/excelExport/mixins.js +1153 -1144
- package/src/components/table/config.js +6 -4
- package/src/components/table/index.js +78 -22
- package/src/components/table/state.js +42 -0
- package/src/components/table/vxeFilter/index.js +4 -2
- package/src/components/table/vxeFilter/mixin.js +10 -4
- package/src/components/wf/wfUtil.js +4 -1
- package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +2 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/afterColumnsCreated-editor.vue +30 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +1 -0
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1 -0
- package/src/components/xform/form-render/container-item/data-table-mixin.js +32 -2
- package/src/utils/scrollUtil.js +25 -0
package/package.json
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scrollIntoScrollParent } from '@base/utils/scrollUtil';
|
|
2
|
+
|
|
1
3
|
let baseTabsMixin, baseTabPaneMixin;
|
|
2
4
|
|
|
3
5
|
baseTabsMixin = {
|
|
@@ -76,17 +78,10 @@ baseTabsMixin = {
|
|
|
76
78
|
this.$emit('input', name);
|
|
77
79
|
this.$emit('on-click', name);
|
|
78
80
|
let target = this.getTabs()[index].$el;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
);
|
|
83
|
-
if (scrollContainer) {
|
|
84
|
-
let containerRect = scrollContainer.getBoundingClientRect();
|
|
85
|
-
let targetRect = target.getBoundingClientRect();
|
|
86
|
-
scrollContainer.scrollTop += targetRect.top - containerRect.top;
|
|
87
|
-
} else {
|
|
88
|
-
target.scrollIntoView();
|
|
89
|
-
}
|
|
81
|
+
//滚动体是 .d-cont 还是它外面那层(.d-header + div{flex:1;overflow-y:auto})由布局决定,
|
|
82
|
+
//原来写死 .d-cont,在 .d-cont 没有确定高度(height:inherit 拿到 auto)的页面上
|
|
83
|
+
//scrollTop 赋值是空操作,点导航没反应——统一交给 scrollIntoScrollParent 找真正的滚动体。
|
|
84
|
+
scrollIntoScrollParent(target);
|
|
90
85
|
}
|
|
91
86
|
},
|
|
92
87
|
watch: {
|