bm-admin-ui 1.1.16-alpha → 1.1.18-alpha
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/es/components/attachment/index.d.ts +3 -3
- package/es/components/attachment/src/attachment.vue.d.ts +3 -3
- package/es/components/breadcrumb/index.d.ts +7 -7
- package/es/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -7
- package/es/components/button/index.d.ts +6 -6
- package/es/components/button/src/button.vue.d.ts +6 -6
- package/es/components/cascader/index.js +77 -77
- package/es/components/edit-form/index.d.ts +4 -4
- package/es/components/edit-form/index.js +1 -1
- package/es/components/edit-form/src/edit-form.vue.d.ts +4 -4
- package/es/components/feedback/index.d.ts +12 -12
- package/es/components/feedback/src/bmAlert.vue.d.ts +6 -6
- package/es/components/feedback/src/bmModal.vue.d.ts +6 -6
- package/es/components/float-table/index.d.ts +2 -2
- package/es/components/float-table/src/float-table.vue.d.ts +2 -2
- package/es/components/flow-designer/index.js +1 -1
- package/es/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +8 -8
- package/es/components/form-create/index.js +100 -56
- package/es/components/form-designer/index.js +13 -0
- package/es/components/search-filter/src/form-select-all.vue.d.ts +6 -6
- package/es/components/search-filter/src/search-reset-btn.vue.d.ts +3 -3
- package/es/components/select-all/index.d.ts +6 -6
- package/es/components/select-all/src/selectAll.vue.d.ts +6 -6
- package/es/components/staffs-selector/index.d.ts +12 -12
- package/es/components/staffs-selector/src/departmentCmp.vue.d.ts +2 -2
- package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +2 -2
- package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +12 -12
- package/es/components/videoView/index.d.ts +1 -1
- package/es/components/videoView/src/videoView.vue.d.ts +1 -1
- package/es/utils/isNull.js +1 -1
- package/lib/components/attachment/index.d.ts +3 -3
- package/lib/components/attachment/src/attachment.vue.d.ts +3 -3
- package/lib/components/breadcrumb/index.d.ts +7 -7
- package/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -7
- package/lib/components/button/index.d.ts +6 -6
- package/lib/components/button/src/button.vue.d.ts +6 -6
- package/lib/components/cascader/index.js +77 -77
- package/lib/components/edit-form/index.d.ts +4 -4
- package/lib/components/edit-form/index.js +1 -1
- package/lib/components/edit-form/src/edit-form.vue.d.ts +4 -4
- package/lib/components/feedback/index.d.ts +12 -12
- package/lib/components/feedback/src/bmAlert.vue.d.ts +6 -6
- package/lib/components/feedback/src/bmModal.vue.d.ts +6 -6
- package/lib/components/float-table/index.d.ts +2 -2
- package/lib/components/float-table/src/float-table.vue.d.ts +2 -2
- package/lib/components/flow-designer/index.js +1 -1
- package/lib/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +8 -8
- package/lib/components/form-create/index.js +92 -48
- package/lib/components/form-designer/index.js +13 -0
- package/lib/components/search-filter/src/form-select-all.vue.d.ts +6 -6
- package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +3 -3
- package/lib/components/select-all/index.d.ts +6 -6
- package/lib/components/select-all/src/selectAll.vue.d.ts +6 -6
- package/lib/components/staffs-selector/index.d.ts +12 -12
- package/lib/components/staffs-selector/src/departmentCmp.vue.d.ts +2 -2
- package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +2 -2
- package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +12 -12
- package/lib/components/videoView/index.d.ts +1 -1
- package/lib/components/videoView/src/videoView.vue.d.ts +1 -1
- package/lib/utils/isNull.js +1 -1
- package/package.json +34 -34
- package/types/components/attachment/index.d.ts +3 -3
- package/types/components/attachment/src/attachment.vue.d.ts +3 -3
- package/types/components/breadcrumb/index.d.ts +7 -7
- package/types/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -7
- package/types/components/button/index.d.ts +6 -6
- package/types/components/button/src/button.vue.d.ts +6 -6
- package/types/components/edit-form/index.d.ts +4 -4
- package/types/components/edit-form/src/edit-form.vue.d.ts +4 -4
- package/types/components/feedback/index.d.ts +12 -12
- package/types/components/feedback/src/bmAlert.vue.d.ts +6 -6
- package/types/components/feedback/src/bmModal.vue.d.ts +6 -6
- package/types/components/float-table/index.d.ts +2 -2
- package/types/components/float-table/src/float-table.vue.d.ts +2 -2
- package/types/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +8 -8
- package/types/components/search-filter/src/form-select-all.vue.d.ts +6 -6
- package/types/components/search-filter/src/search-reset-btn.vue.d.ts +3 -3
- package/types/components/select-all/index.d.ts +6 -6
- package/types/components/select-all/src/selectAll.vue.d.ts +6 -6
- package/types/components/staffs-selector/index.d.ts +12 -12
- package/types/components/staffs-selector/src/departmentCmp.vue.d.ts +2 -2
- package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +2 -2
- package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +12 -12
- package/types/components/videoView/index.d.ts +1 -1
- package/types/components/videoView/src/videoView.vue.d.ts +1 -1
- package/es/components/staffs-selector/src/autoTooltip.vue.d.ts +0 -26
- package/es/components/staffs-selector/src/virtualScroll.vue.d.ts +0 -69
- package/lib/components/staffs-selector/src/autoTooltip.vue.d.ts +0 -26
- package/lib/components/staffs-selector/src/virtualScroll.vue.d.ts +0 -69
- package/types/components/staffs-selector/src/autoTooltip.vue.d.ts +0 -26
- package/types/components/staffs-selector/src/virtualScroll.vue.d.ts +0 -69
|
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
};
|
|
28
28
|
}>> & {}>>;
|
|
29
29
|
getIconCmp: import("vue").ComputedRef<import("@ant-design/icons-vue/lib/icons/InfoCircleFilled").InfoCircleFilledIconType | undefined>;
|
|
30
|
-
|
|
30
|
+
AAlert: {
|
|
31
31
|
new (...args: any[]): {
|
|
32
32
|
$: import("vue").ComponentInternalInstance;
|
|
33
33
|
$data: {};
|
|
@@ -67,8 +67,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
67
67
|
$slots: Readonly<{
|
|
68
68
|
[name: string]: import("vue").Slot;
|
|
69
69
|
}>;
|
|
70
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
71
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
70
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
71
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
72
72
|
$emit: (event: string, ...args: any[]) => void;
|
|
73
73
|
$el: any;
|
|
74
74
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -97,7 +97,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
97
97
|
showIcon: boolean;
|
|
98
98
|
closable: boolean;
|
|
99
99
|
banner: boolean;
|
|
100
|
-
}
|
|
100
|
+
}> & {
|
|
101
101
|
beforeCreate?: (() => void) | (() => void)[] | undefined;
|
|
102
102
|
created?: (() => void) | (() => void)[] | undefined;
|
|
103
103
|
beforeMount?: (() => void) | (() => void)[] | undefined;
|
|
@@ -112,7 +112,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
112
112
|
unmounted?: (() => void) | (() => void)[] | undefined;
|
|
113
113
|
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
|
|
114
114
|
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
|
|
115
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
115
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
|
|
116
116
|
};
|
|
117
117
|
$forceUpdate: () => void;
|
|
118
118
|
$nextTick: typeof import("vue").nextTick;
|
|
@@ -169,7 +169,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
169
169
|
showIcon: boolean;
|
|
170
170
|
closable: boolean;
|
|
171
171
|
banner: boolean;
|
|
172
|
-
}
|
|
172
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
|
173
173
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
174
174
|
type: {
|
|
175
175
|
type: StringConstructor;
|
|
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
}>>;
|
|
38
38
|
caculWidth: import("vue").ComputedRef<string>;
|
|
39
39
|
onOkCallback: (e: any) => void;
|
|
40
|
-
|
|
40
|
+
AModal: {
|
|
41
41
|
new (...args: any[]): {
|
|
42
42
|
$: import("vue").ComponentInternalInstance;
|
|
43
43
|
$data: {};
|
|
@@ -236,8 +236,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
236
236
|
$slots: Readonly<{
|
|
237
237
|
[name: string]: import("vue").Slot;
|
|
238
238
|
}>;
|
|
239
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
240
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
239
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
240
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
241
241
|
$emit: (event: string, ...args: any[]) => void;
|
|
242
242
|
$el: any;
|
|
243
243
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -425,7 +425,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
425
425
|
destroyOnClose: boolean;
|
|
426
426
|
focusTriggerAfterClose: boolean;
|
|
427
427
|
confirmLoading: boolean;
|
|
428
|
-
}
|
|
428
|
+
}> & {
|
|
429
429
|
beforeCreate?: (() => void) | (() => void)[] | undefined;
|
|
430
430
|
created?: (() => void) | (() => void)[] | undefined;
|
|
431
431
|
beforeMount?: (() => void) | (() => void)[] | undefined;
|
|
@@ -440,7 +440,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
440
440
|
unmounted?: (() => void) | (() => void)[] | undefined;
|
|
441
441
|
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
|
|
442
442
|
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
|
|
443
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
443
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
|
|
444
444
|
};
|
|
445
445
|
$forceUpdate: () => void;
|
|
446
446
|
$nextTick: typeof import("vue").nextTick;
|
|
@@ -805,7 +805,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
805
805
|
destroyOnClose: boolean;
|
|
806
806
|
focusTriggerAfterClose: boolean;
|
|
807
807
|
confirmLoading: boolean;
|
|
808
|
-
}
|
|
808
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
|
|
809
809
|
readonly info: import("ant-design-vue/lib/modal/Modal").ModalFunc;
|
|
810
810
|
readonly success: import("ant-design-vue/lib/modal/Modal").ModalFunc;
|
|
811
811
|
readonly error: import("ant-design-vue/lib/modal/Modal").ModalFunc;
|
|
@@ -42,9 +42,9 @@ declare const BmFloatTable: import("bm-admin-ui/es/utils/with-install").SFCWithI
|
|
|
42
42
|
gridOptions: import("vue").ComputedRef<any>;
|
|
43
43
|
gridEvents: import("vue").ComputedRef<any>;
|
|
44
44
|
pager: import("vue").ComputedRef<any>;
|
|
45
|
-
simpleImage: import("vue").Ref<
|
|
45
|
+
simpleImage: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
46
46
|
[key: string]: any;
|
|
47
|
-
}> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
47
|
+
}> | null | undefined) | JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
48
48
|
[key: string]: any;
|
|
49
49
|
}> | null | undefined)[]>;
|
|
50
50
|
floatRefsId: import("vue").Ref<{}>;
|
|
@@ -42,9 +42,9 @@ declare const _default: {
|
|
|
42
42
|
gridOptions: import("vue").ComputedRef<any>;
|
|
43
43
|
gridEvents: import("vue").ComputedRef<any>;
|
|
44
44
|
pager: import("vue").ComputedRef<any>;
|
|
45
|
-
simpleImage: import("vue").Ref<
|
|
45
|
+
simpleImage: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
46
46
|
[key: string]: any;
|
|
47
|
-
}> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
47
|
+
}> | null | undefined) | JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
48
48
|
[key: string]: any;
|
|
49
49
|
}> | null | undefined)[]>;
|
|
50
50
|
floatRefsId: import("vue").Ref<{}>;
|
|
@@ -276,7 +276,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
276
276
|
createElementVNode("span", {
|
|
277
277
|
class: normalizeClass(["opeator", { active: __props.isCustom }])
|
|
278
278
|
}, [
|
|
279
|
-
createCommentVNode(' <CopyOutlined\
|
|
279
|
+
createCommentVNode(' <CopyOutlined\n @click.stop="\n () => {\n copyCallback()\n }\n " /> \u6682\u65F6\u5173\u95ED\u590D\u5236\u8282\u70B9 '),
|
|
280
280
|
createVNode(unref(CloseOutlined), {
|
|
281
281
|
onClick: _cache[0] || (_cache[0] = withModifiers(
|
|
282
282
|
() => {
|
|
@@ -59,9 +59,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
59
|
};
|
|
60
60
|
}>> & {}>>;
|
|
61
61
|
callback: () => void;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
CloseOutlined: import("@ant-design/icons-vue/lib/icons/CloseOutlined").CloseOutlinedIconType;
|
|
63
|
+
RightOutlined: import("@ant-design/icons-vue/lib/icons/RightOutlined").RightOutlinedIconType;
|
|
64
|
+
Tag: {
|
|
65
65
|
new (...args: any[]): {
|
|
66
66
|
$: import("vue").ComponentInternalInstance;
|
|
67
67
|
$data: {};
|
|
@@ -97,8 +97,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
97
97
|
$slots: Readonly<{
|
|
98
98
|
[name: string]: import("vue").Slot;
|
|
99
99
|
}>;
|
|
100
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
101
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
100
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
101
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
102
102
|
$emit: (event: string, ...args: any[]) => void;
|
|
103
103
|
$el: any;
|
|
104
104
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -123,7 +123,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
123
123
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
124
124
|
visible: boolean;
|
|
125
125
|
closable: boolean;
|
|
126
|
-
}
|
|
126
|
+
}> & {
|
|
127
127
|
beforeCreate?: (() => void) | (() => void)[] | undefined;
|
|
128
128
|
created?: (() => void) | (() => void)[] | undefined;
|
|
129
129
|
beforeMount?: (() => void) | (() => void)[] | undefined;
|
|
@@ -138,7 +138,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
138
138
|
unmounted?: (() => void) | (() => void)[] | undefined;
|
|
139
139
|
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
|
|
140
140
|
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
|
|
141
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
141
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
|
|
142
142
|
};
|
|
143
143
|
$forceUpdate: () => void;
|
|
144
144
|
$nextTick: typeof import("vue").nextTick;
|
|
@@ -188,7 +188,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
188
188
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
189
189
|
visible: boolean;
|
|
190
190
|
closable: boolean;
|
|
191
|
-
}
|
|
191
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
|
|
192
192
|
readonly CheckableTag: import("vue").DefineComponent<{
|
|
193
193
|
prefixCls: StringConstructor;
|
|
194
194
|
checked: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { withInstall } from 'bm-admin-ui/es/utils/with-install';
|
|
2
|
-
import { h, defineComponent, computed, openBlock, createBlock, unref, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, nextTick
|
|
2
|
+
import { h, defineComponent, computed, openBlock, createBlock, unref, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, nextTick, ref, createVNode, normalizeStyle, withModifiers, createElementVNode, createCommentVNode, normalizeClass, reactive, watch, createSlots, inject, createStaticVNode, provide, resolveComponent } from 'vue';
|
|
3
3
|
import { Input, InputNumber, RadioGroup, Radio, Select, DatePicker, RangePicker, message, Modal, Layout, LayoutSider, Tree, LayoutContent, Button, Row, Col, Pagination, FormItemRest, Divider, Tabs, TabPane, Cascader } from 'ant-design-vue';
|
|
4
4
|
import dayjs from 'dayjs';
|
|
5
5
|
import Picture from 'bm-admin-ui/es/components/upload';
|
|
@@ -10,8 +10,8 @@ import { cloneDeep, floor, debounce } from 'lodash-es';
|
|
|
10
10
|
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
|
11
11
|
import utils from 'bm-admin-ui/es/utils';
|
|
12
12
|
import { isNull } from 'bm-admin-ui/es/utils/isNull';
|
|
13
|
-
import BmOverTooltips from 'bm-admin-ui/es/components/over-tooltips';
|
|
14
13
|
import FC from '@form-create/ant-design-vue';
|
|
14
|
+
import BmOverTooltips from 'bm-admin-ui/es/components/over-tooltips';
|
|
15
15
|
|
|
16
16
|
const fieldRatioMap = {
|
|
17
17
|
'25%': 6,
|
|
@@ -30,18 +30,10 @@ function getContainer() {
|
|
|
30
30
|
var input = {
|
|
31
31
|
name: 'input',
|
|
32
32
|
rule(data) {
|
|
33
|
-
var _a;
|
|
34
33
|
return {
|
|
35
34
|
type: 'input',
|
|
36
35
|
field: data.field,
|
|
37
|
-
title:
|
|
38
|
-
title: data === null || data === void 0 ? void 0 : data.title.title,
|
|
39
|
-
type: 'bmLabelTooltip',
|
|
40
|
-
props: {
|
|
41
|
-
title: data.title.title,
|
|
42
|
-
labelTitle: (_a = data === null || data === void 0 ? void 0 : data.title) === null || _a === void 0 ? void 0 : _a.title,
|
|
43
|
-
},
|
|
44
|
-
},
|
|
36
|
+
title: data.title.title,
|
|
45
37
|
props: {
|
|
46
38
|
maxlength: 200,
|
|
47
39
|
placeholder: data.props.placeholder,
|
|
@@ -175,18 +167,10 @@ var textarea = {
|
|
|
175
167
|
};
|
|
176
168
|
|
|
177
169
|
function generateRowRule(data, InRow = false) {
|
|
178
|
-
var _a;
|
|
179
170
|
const config = {
|
|
180
171
|
type: 'inputNumber',
|
|
181
172
|
field: data.field,
|
|
182
|
-
title:
|
|
183
|
-
title: data === null || data === void 0 ? void 0 : data.title.title,
|
|
184
|
-
type: 'bmLabelTooltip',
|
|
185
|
-
props: {
|
|
186
|
-
title: data.title.title,
|
|
187
|
-
labelTitle: (_a = data === null || data === void 0 ? void 0 : data.title) === null || _a === void 0 ? void 0 : _a.title,
|
|
188
|
-
},
|
|
189
|
-
},
|
|
173
|
+
title: data.title.title,
|
|
190
174
|
props: {
|
|
191
175
|
type: 'number',
|
|
192
176
|
placeholder: data.props.placeholder,
|
|
@@ -706,7 +690,7 @@ var picture = {
|
|
|
706
690
|
update(inject, list) {
|
|
707
691
|
const rule = inject.self;
|
|
708
692
|
inject.api.form[rule.field] = list;
|
|
709
|
-
nextTick
|
|
693
|
+
nextTick(() => {
|
|
710
694
|
inject.api.validateField(rule.field);
|
|
711
695
|
});
|
|
712
696
|
},
|
|
@@ -754,7 +738,7 @@ var picture = {
|
|
|
754
738
|
update(inject, list) {
|
|
755
739
|
const rule = inject.self;
|
|
756
740
|
inject.api.form[rule.field] = list;
|
|
757
|
-
nextTick
|
|
741
|
+
nextTick(() => {
|
|
758
742
|
inject.api.validateField(rule.field);
|
|
759
743
|
});
|
|
760
744
|
},
|
|
@@ -802,7 +786,7 @@ var file = {
|
|
|
802
786
|
update(inject, list) {
|
|
803
787
|
const rule = inject.self;
|
|
804
788
|
inject.api.form[rule.field] = list;
|
|
805
|
-
nextTick
|
|
789
|
+
nextTick(() => {
|
|
806
790
|
inject.api.validateField(rule.field);
|
|
807
791
|
});
|
|
808
792
|
},
|
|
@@ -843,7 +827,7 @@ var file = {
|
|
|
843
827
|
update(inject, list) {
|
|
844
828
|
const rule = inject.self;
|
|
845
829
|
inject.api.form[rule.field] = list;
|
|
846
|
-
nextTick
|
|
830
|
+
nextTick(() => {
|
|
847
831
|
inject.api.validateField(rule.field);
|
|
848
832
|
});
|
|
849
833
|
},
|
|
@@ -18597,9 +18581,10 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
18597
18581
|
"value",
|
|
18598
18582
|
"disabled",
|
|
18599
18583
|
"shopValue",
|
|
18600
|
-
"doNotClearAfterFilterChange"
|
|
18584
|
+
"doNotClearAfterFilterChange",
|
|
18585
|
+
"fetchMode"
|
|
18601
18586
|
],
|
|
18602
|
-
emits: ["change"],
|
|
18587
|
+
emits: ["change", "blur", "pressEnter"],
|
|
18603
18588
|
setup(__props, { emit: emits }) {
|
|
18604
18589
|
const props = __props;
|
|
18605
18590
|
const debounceFn = lodash.exports.debounce(emitChange, 500);
|
|
@@ -18607,6 +18592,12 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
18607
18592
|
function emitChange(val) {
|
|
18608
18593
|
emits("change", val);
|
|
18609
18594
|
}
|
|
18595
|
+
function handleBlur(val) {
|
|
18596
|
+
emits("blur", val);
|
|
18597
|
+
}
|
|
18598
|
+
function handlePressEnter(val) {
|
|
18599
|
+
emits("pressEnter", val);
|
|
18600
|
+
}
|
|
18610
18601
|
watch(
|
|
18611
18602
|
() => props.value,
|
|
18612
18603
|
(val) => {
|
|
@@ -18625,13 +18616,23 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
18625
18616
|
}
|
|
18626
18617
|
);
|
|
18627
18618
|
return (_ctx, _cache) => {
|
|
18628
|
-
return openBlock(), createBlock(unref(Input), {
|
|
18619
|
+
return props.fetchMode === "blur" ? (openBlock(), createBlock(unref(Input), {
|
|
18620
|
+
key: 0,
|
|
18629
18621
|
value: inputValue.value,
|
|
18630
18622
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
|
|
18631
18623
|
placeholder: "\u8BF7\u8F93\u5165",
|
|
18632
18624
|
disabled: __props.disabled,
|
|
18633
|
-
onChange: _cache[1] || (_cache[1] = ($event) =>
|
|
18634
|
-
|
|
18625
|
+
onChange: _cache[1] || (_cache[1] = ($event) => emitChange($event.target.value)),
|
|
18626
|
+
onBlur: _cache[2] || (_cache[2] = ($event) => handleBlur($event.target?.value)),
|
|
18627
|
+
onPressEnter: _cache[3] || (_cache[3] = ($event) => handlePressEnter($event.target?.value))
|
|
18628
|
+
}, null, 8, ["value", "disabled"])) : (openBlock(), createBlock(unref(Input), {
|
|
18629
|
+
key: 1,
|
|
18630
|
+
value: inputValue.value,
|
|
18631
|
+
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => inputValue.value = $event),
|
|
18632
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
18633
|
+
disabled: __props.disabled,
|
|
18634
|
+
onChange: _cache[5] || (_cache[5] = ($event) => unref(debounceFn)($event.target.value))
|
|
18635
|
+
}, null, 8, ["value", "disabled"]));
|
|
18635
18636
|
};
|
|
18636
18637
|
}
|
|
18637
18638
|
});
|
|
@@ -18640,14 +18641,20 @@ var ProductInput = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__file", "product
|
|
|
18640
18641
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
18641
18642
|
__name: "customer-input-in-table",
|
|
18642
18643
|
props: ["value", "disabled", "shopValue"],
|
|
18643
|
-
emits: ["change"],
|
|
18644
|
+
emits: ["change", "blur", "pressEnter"],
|
|
18644
18645
|
setup(__props, { emit: emits }) {
|
|
18645
18646
|
const props = __props;
|
|
18646
|
-
|
|
18647
|
+
lodash.exports.debounce(emitChange, 500);
|
|
18647
18648
|
const inputValue = ref();
|
|
18648
18649
|
function emitChange(val) {
|
|
18649
18650
|
emits("change", val);
|
|
18650
18651
|
}
|
|
18652
|
+
function handleBlur(val) {
|
|
18653
|
+
emits("blur", val);
|
|
18654
|
+
}
|
|
18655
|
+
function handlePressEnter(val) {
|
|
18656
|
+
emits("pressEnter", val);
|
|
18657
|
+
}
|
|
18651
18658
|
watch(
|
|
18652
18659
|
() => props.value,
|
|
18653
18660
|
(val) => {
|
|
@@ -18669,7 +18676,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
18669
18676
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
|
|
18670
18677
|
placeholder: "\u8BF7\u8F93\u5165",
|
|
18671
18678
|
disabled: __props.disabled,
|
|
18672
|
-
onChange: _cache[1] || (_cache[1] = ($event) =>
|
|
18679
|
+
onChange: _cache[1] || (_cache[1] = ($event) => emitChange($event.target.value)),
|
|
18680
|
+
onBlur: _cache[2] || (_cache[2] = ($event) => handleBlur($event.target?.value)),
|
|
18681
|
+
onPressEnter: _cache[3] || (_cache[3] = ($event) => handlePressEnter($event.target?.value))
|
|
18673
18682
|
}, null, 8, ["value", "disabled"]);
|
|
18674
18683
|
};
|
|
18675
18684
|
}
|
|
@@ -18733,7 +18742,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
18733
18742
|
debounceFetch("");
|
|
18734
18743
|
return (_ctx, _cache) => {
|
|
18735
18744
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
18736
|
-
createCommentVNode(' <Input\
|
|
18745
|
+
createCommentVNode(' <Input\n v-model:value="inputValue"\n placeholder="\u8BF7\u8F93\u5165"\n :disabled="disabled"\n @change="debounceFn($event.target.value)"\n ></Input> '),
|
|
18737
18746
|
createVNode(unref(Select), {
|
|
18738
18747
|
value: __props.value,
|
|
18739
18748
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
@@ -19021,7 +19030,7 @@ const _sfc_main$7 = defineComponent({
|
|
|
19021
19030
|
}
|
|
19022
19031
|
}
|
|
19023
19032
|
];
|
|
19024
|
-
if (associatedFields
|
|
19033
|
+
if (associatedFields?.length) {
|
|
19025
19034
|
associatedFields.forEach((item) => {
|
|
19026
19035
|
const childField = productPicName(item.value, field);
|
|
19027
19036
|
columns2.push({
|
|
@@ -19057,7 +19066,17 @@ const _sfc_main$7 = defineComponent({
|
|
|
19057
19066
|
return columns2;
|
|
19058
19067
|
}
|
|
19059
19068
|
function handleAdd(rowData) {
|
|
19060
|
-
|
|
19069
|
+
let defaultRowData = getRowData();
|
|
19070
|
+
if (Array.isArray(rowData)) {
|
|
19071
|
+
rowData.forEach((item) => {
|
|
19072
|
+
Object.keys(defaultRowData).forEach((field) => {
|
|
19073
|
+
if (item[field] === void 0) {
|
|
19074
|
+
item[field] = defaultRowData[field];
|
|
19075
|
+
}
|
|
19076
|
+
});
|
|
19077
|
+
});
|
|
19078
|
+
}
|
|
19079
|
+
Array.isArray(rowData) ? data.push(...rowData) : data.push(defaultRowData);
|
|
19061
19080
|
}
|
|
19062
19081
|
function handleCopy(row) {
|
|
19063
19082
|
const newData = cloneDeep(row);
|
|
@@ -19427,7 +19446,7 @@ const _sfc_main$7 = defineComponent({
|
|
|
19427
19446
|
return false;
|
|
19428
19447
|
return !formData.value[shopField];
|
|
19429
19448
|
}
|
|
19430
|
-
function
|
|
19449
|
+
function handleProductChange(value, rule, row) {
|
|
19431
19450
|
row[rule.field] = value;
|
|
19432
19451
|
if (isProductCenterSuit.value && rule.field === "productCode") {
|
|
19433
19452
|
Object.keys(row).forEach((key) => {
|
|
@@ -19436,8 +19455,17 @@ const _sfc_main$7 = defineComponent({
|
|
|
19436
19455
|
}
|
|
19437
19456
|
});
|
|
19438
19457
|
}
|
|
19458
|
+
if (rule.config.fetchMode !== "blur") {
|
|
19459
|
+
queryProductInfo(rule, row);
|
|
19460
|
+
}
|
|
19461
|
+
}
|
|
19462
|
+
function handleProductPressEnter(value, rule, row) {
|
|
19463
|
+
row[rule.field] = value;
|
|
19439
19464
|
queryProductInfo(rule, row);
|
|
19440
19465
|
}
|
|
19466
|
+
function handleCustomerChange(value, rule, row) {
|
|
19467
|
+
row[rule.field] = value;
|
|
19468
|
+
}
|
|
19441
19469
|
function handleCustomerPressEnter(value, rule, row) {
|
|
19442
19470
|
row[rule.field] = value;
|
|
19443
19471
|
queryCustomerInfo(rule, row);
|
|
@@ -19787,8 +19815,11 @@ const _sfc_main$7 = defineComponent({
|
|
|
19787
19815
|
disabled: item.disabled || pruductInputDisabled(item.config?.dataFiltering),
|
|
19788
19816
|
"shop-value": unref(formData)[item.config.dataFiltering],
|
|
19789
19817
|
"do-not-clear-after-filter-change": getProductClearSetting(item.field),
|
|
19790
|
-
|
|
19791
|
-
|
|
19818
|
+
"fetch-mode": item.config.fetchMode,
|
|
19819
|
+
onChange: ($event) => handleProductChange($event, item, row),
|
|
19820
|
+
onBlur: ($event) => handleProductPressEnter($event, item, row),
|
|
19821
|
+
onPressEnter: ($event) => handleProductPressEnter($event, item, row)
|
|
19822
|
+
}, null, 8, ["value", "disabled", "shop-value", "do-not-clear-after-filter-change", "fetch-mode", "onChange", "onBlur", "onPressEnter"])
|
|
19792
19823
|
])
|
|
19793
19824
|
};
|
|
19794
19825
|
}),
|
|
@@ -19814,8 +19845,10 @@ const _sfc_main$7 = defineComponent({
|
|
|
19814
19845
|
value: row[item.field],
|
|
19815
19846
|
disabled: item.disabled || pruductInputDisabled(item.config?.dataFiltering),
|
|
19816
19847
|
"shop-value": unref(formData)[item.config.dataFiltering],
|
|
19817
|
-
onChange: ($event) =>
|
|
19818
|
-
|
|
19848
|
+
onChange: ($event) => handleCustomerChange($event, item, row),
|
|
19849
|
+
onBlur: ($event) => handleCustomerPressEnter($event, item, row),
|
|
19850
|
+
onPressEnter: ($event) => handleCustomerPressEnter($event, item, row)
|
|
19851
|
+
}, null, 8, ["value", "disabled", "shop-value", "onChange", "onBlur", "onPressEnter"])
|
|
19819
19852
|
])
|
|
19820
19853
|
};
|
|
19821
19854
|
})
|
|
@@ -20475,7 +20508,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
20475
20508
|
"extraConfig",
|
|
20476
20509
|
"defalutValue",
|
|
20477
20510
|
"disabled",
|
|
20478
|
-
"formCreateInject"
|
|
20511
|
+
"formCreateInject",
|
|
20512
|
+
"fetchMode"
|
|
20479
20513
|
],
|
|
20480
20514
|
emits: ["change"],
|
|
20481
20515
|
setup(__props, { emit: emits }) {
|
|
@@ -20574,14 +20608,23 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
20574
20608
|
}),
|
|
20575
20609
|
createVNode(unref(Col), { flex: 1 }, {
|
|
20576
20610
|
default: withCtx(() => [
|
|
20577
|
-
|
|
20611
|
+
props.fetchMode === "blur" ? (openBlock(), createBlock(unref(Input), {
|
|
20612
|
+
key: 0,
|
|
20578
20613
|
value: inputValue.value,
|
|
20579
20614
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
|
|
20580
20615
|
placeholder: "\u8BF7\u8F93\u5165",
|
|
20581
20616
|
disabled: __props.disabled || inputDisbale(__props.dataFiltering),
|
|
20617
|
+
onPressEnter: unref(debounceFn),
|
|
20618
|
+
onBlur: handleBlur
|
|
20619
|
+
}, null, 8, ["value", "disabled", "onPressEnter"])) : (openBlock(), createBlock(unref(Input), {
|
|
20620
|
+
key: 1,
|
|
20621
|
+
value: inputValue.value,
|
|
20622
|
+
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => inputValue.value = $event),
|
|
20623
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
20624
|
+
disabled: __props.disabled || inputDisbale(__props.dataFiltering),
|
|
20582
20625
|
onPressEnter: handleBlur,
|
|
20583
20626
|
onChange: handleChange
|
|
20584
|
-
}, null, 8, ["value", "disabled"])
|
|
20627
|
+
}, null, 8, ["value", "disabled"]))
|
|
20585
20628
|
]),
|
|
20586
20629
|
_: 1
|
|
20587
20630
|
})
|
|
@@ -20658,12 +20701,13 @@ var product = {
|
|
|
20658
20701
|
doNotClearAfterFilterChange: data.config.doNotClearAfterFilterChange,
|
|
20659
20702
|
extraConfig: extraConfig,
|
|
20660
20703
|
defalutValue: data.value,
|
|
20704
|
+
fetchMode: data.config.fetchMode,
|
|
20661
20705
|
},
|
|
20662
20706
|
inject: true,
|
|
20663
20707
|
on: {
|
|
20664
20708
|
change(inject, value) {
|
|
20665
20709
|
inject.self.props.defalutValue = value;
|
|
20666
|
-
nextTick
|
|
20710
|
+
nextTick(() => {
|
|
20667
20711
|
inject.api.form[inject.self.field] = value;
|
|
20668
20712
|
setTimeout(() => {
|
|
20669
20713
|
inject.api.validateField(inject.self.field);
|
|
@@ -20688,12 +20732,13 @@ var product = {
|
|
|
20688
20732
|
doNotClearAfterFilterChange: data.config.doNotClearAfterFilterChange,
|
|
20689
20733
|
defalutValue: data.value,
|
|
20690
20734
|
extraConfig: extraConfig,
|
|
20735
|
+
fetchMode: data.config.fetchMode,
|
|
20691
20736
|
},
|
|
20692
20737
|
inject: true,
|
|
20693
20738
|
on: {
|
|
20694
20739
|
change(inject, value) {
|
|
20695
20740
|
inject.self.props.defalutValue = value;
|
|
20696
|
-
nextTick
|
|
20741
|
+
nextTick(() => {
|
|
20697
20742
|
inject.api.form[inject.self.field] = value;
|
|
20698
20743
|
setTimeout(() => {
|
|
20699
20744
|
inject.api.validateField(inject.self.field);
|
|
@@ -20819,11 +20864,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
20819
20864
|
"bm-fc-form-item-label",
|
|
20820
20865
|
props.required ? "is-required" : ""
|
|
20821
20866
|
])
|
|
20822
|
-
},
|
|
20823
|
-
createVNode(unref(BmOverTooltips), {
|
|
20824
|
-
title: `${__props.title}\uFF1A`
|
|
20825
|
-
}, null, 8, ["title"])
|
|
20826
|
-
], 2)
|
|
20867
|
+
}, toDisplayString(__props.title) + "\uFF1A", 3)
|
|
20827
20868
|
]),
|
|
20828
20869
|
_: 1
|
|
20829
20870
|
}),
|
|
@@ -20919,7 +20960,7 @@ var shop = {
|
|
|
20919
20960
|
change(inject, value) {
|
|
20920
20961
|
const rule = inject.self;
|
|
20921
20962
|
inject.api.form[inject.self.field] = value;
|
|
20922
|
-
nextTick
|
|
20963
|
+
nextTick(() => {
|
|
20923
20964
|
setTimeout(() => {
|
|
20924
20965
|
inject.api.validateField(rule.field);
|
|
20925
20966
|
});
|
|
@@ -20935,7 +20976,6 @@ var shop = {
|
|
|
20935
20976
|
return {
|
|
20936
20977
|
type: 'ShopWidget',
|
|
20937
20978
|
component: ShopWidget,
|
|
20938
|
-
title: data.title.title,
|
|
20939
20979
|
field: data.field,
|
|
20940
20980
|
effect: {
|
|
20941
20981
|
required: data.effect.required && '请选择店铺',
|
|
@@ -20943,13 +20983,15 @@ var shop = {
|
|
|
20943
20983
|
props: {
|
|
20944
20984
|
dataFiltering: (_a = data.config) === null || _a === void 0 ? void 0 : _a.dataFiltering,
|
|
20945
20985
|
extraConfig: shopExtraConfig,
|
|
20986
|
+
associatedFields: data.config.associatedFields,
|
|
20987
|
+
title: `${data.title.title}`,
|
|
20946
20988
|
},
|
|
20947
20989
|
inject: true,
|
|
20948
20990
|
on: {
|
|
20949
20991
|
change(inject, value) {
|
|
20950
20992
|
const rule = inject.self;
|
|
20951
20993
|
inject.api.form[inject.self.field] = value;
|
|
20952
|
-
nextTick
|
|
20994
|
+
nextTick(() => {
|
|
20953
20995
|
setTimeout(() => {
|
|
20954
20996
|
inject.api.validateField(rule.field);
|
|
20955
20997
|
});
|
|
@@ -20957,7 +20999,7 @@ var shop = {
|
|
|
20957
20999
|
},
|
|
20958
21000
|
},
|
|
20959
21001
|
col: {
|
|
20960
|
-
span:
|
|
21002
|
+
span: 24,
|
|
20961
21003
|
},
|
|
20962
21004
|
value: data.value,
|
|
20963
21005
|
};
|
|
@@ -21087,7 +21129,7 @@ var materialType = {
|
|
|
21087
21129
|
rule.props.value = list;
|
|
21088
21130
|
inject.api.form[rule.field] = list;
|
|
21089
21131
|
inject.api.emit('update:modelValue', inject.api.form);
|
|
21090
|
-
nextTick
|
|
21132
|
+
nextTick(() => {
|
|
21091
21133
|
setTimeout(() => {
|
|
21092
21134
|
inject.api.validateField(rule.field);
|
|
21093
21135
|
});
|
|
@@ -21125,7 +21167,7 @@ var materialType = {
|
|
|
21125
21167
|
rule.value = list;
|
|
21126
21168
|
rule.props.value = list;
|
|
21127
21169
|
inject.api.emit('update:modelValue', inject.api.form);
|
|
21128
|
-
nextTick
|
|
21170
|
+
nextTick(() => {
|
|
21129
21171
|
setTimeout(() => {
|
|
21130
21172
|
inject.api.validateField(rule.field);
|
|
21131
21173
|
});
|
|
@@ -21360,6 +21402,7 @@ var table = {
|
|
|
21360
21402
|
message: '请检查必填项',
|
|
21361
21403
|
},
|
|
21362
21404
|
],
|
|
21405
|
+
wrap: data.wrap,
|
|
21363
21406
|
};
|
|
21364
21407
|
},
|
|
21365
21408
|
rowRule(data, extraConfig) {
|
|
@@ -21390,6 +21433,7 @@ var table = {
|
|
|
21390
21433
|
col: {
|
|
21391
21434
|
span: 24,
|
|
21392
21435
|
},
|
|
21436
|
+
wrap: data.wrap,
|
|
21393
21437
|
};
|
|
21394
21438
|
},
|
|
21395
21439
|
};
|
|
@@ -3950,6 +3950,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
3950
3950
|
department: "\u9664\u201C\u5FC5\u586B\u3001\u9009\u9879\u201D\u5185\u5BB9\u8BBE\u7F6E\u4E0D\u53EF\u4FEE\u6539\uFF0C\u5176\u4ED6\u4FE1\u606F\u53EF\u4FEE\u6539"
|
|
3951
3951
|
};
|
|
3952
3952
|
const tabData = typeof props.formRulePipe === "function" ? props.formRulePipe(createTab()) : [];
|
|
3953
|
+
(() => {
|
|
3954
|
+
if (!(tabData instanceof Array)) {
|
|
3955
|
+
console.error("formRulePipe\u5C5E\u6027\u8FD4\u56DE\u53C2\u6570\u7C7B\u578B\u5E94\u4E3AArray");
|
|
3956
|
+
}
|
|
3957
|
+
tabData.some((tab) => {
|
|
3958
|
+
if (!tab["key"] || !tab["tab"] || !tab["menuList"] || !(tab["menuList"] instanceof Array)) {
|
|
3959
|
+
console.error(
|
|
3960
|
+
"\u8BF7\u6B63\u786E\u914D\u7F6EformRulePipe\u8FD4\u56DE\u6570\u7EC4\u7C7B\u578B:{key:string, tab:string, menuList: {name:string, title: string, list: any[]}[]}[]"
|
|
3961
|
+
);
|
|
3962
|
+
return true;
|
|
3963
|
+
}
|
|
3964
|
+
});
|
|
3965
|
+
})();
|
|
3953
3966
|
typeof props.addWidgetFunc === "function" && props.addWidgetFunc(pushRuleWidgets, pushRowWidgets, pushTableWidgets);
|
|
3954
3967
|
const activeKey = ref("controlLibrary");
|
|
3955
3968
|
const widgetFormRules = reactive([]);
|