cnhis-design-vue 3.3.3-beta.1 → 3.3.3-beta.10
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/README.md +87 -87
- package/es/components/audio-sdk/src/Index.vue2.js +7 -7
- package/es/components/audio-sdk/src/audioSDK.js +1 -1
- package/es/components/audio-sdk/src/components/recording.vue2.js +16 -2
- package/es/components/big-table/src/components/NoData.vue2.js +8 -1
- package/es/components/big-table/src/hooks/useTableParse.js +8 -1
- package/es/components/button-print/index.d.ts +2 -1
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +2 -1
- package/es/components/button-print/src/ButtonPrint.vue2.js +6 -1
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +1 -1
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +8 -5
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +4 -1
- package/es/components/button-print/src/utils/print.d.ts +2 -2
- package/es/components/button-print/src/utils/print.js +29 -20
- package/es/components/card-reader-sdk-cn/src/henan/index.js +8 -1
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/expand-field/index.d.ts +639 -0
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +639 -0
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +639 -0
- package/es/components/expand-field/src/components/form.vue.d.ts +639 -0
- package/es/components/expand-field/src/components/form.vue2.js +8 -1
- package/es/components/expand-field/src/index.vue.d.ts +639 -0
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +8 -1
- package/es/components/form-render/src/components/renderer/formItem.js +8 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +8 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +8 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +16 -2
- package/es/components/scale-view/index.d.ts +26 -15
- package/es/components/scale-view/src/ScaleView.vue.d.ts +26 -15
- package/es/components/scale-view/src/ScaleView.vue2.js +13 -7
- package/es/components/scale-view/src/components/AnswerParse.vue.d.ts +5 -0
- package/es/components/scale-view/src/components/AnswerParse.vue2.js +74 -8
- package/es/components/scale-view/src/components/EvaluateCountdown.vue.d.ts +10 -7
- package/es/components/scale-view/src/components/EvaluateCountdown.vue2.js +28 -4
- package/es/components/scale-view/src/components/EvaluatePage.vue.d.ts +10 -7
- package/es/components/scale-view/src/components/EvaluatePage.vue2.js +29 -8
- package/es/components/scale-view/src/components/NoData.vue2.js +9 -3
- package/es/components/scale-view/src/components/ScaleScore.d.ts +1 -1
- package/es/components/scale-view/src/components/ScaleScore.js +47 -4
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +20 -2
- package/es/components/scale-view/src/components/formitem/r-radio.js +2 -0
- package/es/components/scale-view/src/components/formitem/r-sign.js +32 -4
- package/es/components/scale-view/src/components/formitem/r-upload.js +65 -7
- package/es/components/scale-view/src/components/formitem/sign-com.js +8 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.js +20 -5
- package/es/components/scale-view/src/hooks/scaleview-init.js +24 -3
- package/es/components/scale-view/src/hooks/scaleview-methods.js +40 -5
- package/es/components/scale-view/src/hooks/scaleview-submit.js +64 -8
- package/es/components/scale-view/src/hooks/scaleview-validate.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-validate.js +157 -24
- package/es/components/scale-view/src/hooks/use-evaluate.js +16 -2
- package/es/components/scale-view/src/hooks/use-noData.js +33 -5
- package/es/components/scale-view/style/index.css +1 -1
- package/es/components/select-person/index.d.ts +639 -0
- package/es/components/select-person/src/SelectPerson.vue.d.ts +305 -347
- package/es/components/select-person/src/SelectPerson.vue2.js +477 -678
- package/es/components/select-person/src/SelectPersonRole.vue.d.ts +630 -0
- package/es/components/select-person/src/SelectPersonRole.vue.js +6 -0
- package/es/components/select-person/src/SelectPersonRole.vue2.js +942 -0
- package/es/components/select-person/src/SelectPersonTest.vue.d.ts +555 -0
- package/es/components/select-person/src/components/SearchGroupList.vue.d.ts +132 -0
- package/es/components/select-person/src/components/SearchGroupList.vue.js +6 -0
- package/es/components/select-person/src/components/SearchGroupList.vue2.js +116 -0
- package/es/components/select-person/src/components/SearchMultiple.vue2.js +1 -1
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +21 -12
- package/es/components/select-person/src/index.vue.d.ts +639 -0
- package/es/components/select-person/src/index.vue2.js +15 -2
- package/es/components/select-person/src/types/index.d.ts +35 -0
- package/es/components/select-person/src/types/index.js +1 -0
- package/es/components/select-person/src/utils/index.d.ts +1 -0
- package/es/components/select-person/src/utils/index.js +6 -8
- package/es/components/select-person/style/index.css +1 -1
- package/es/components/vod-chunk-upload/index.d.ts +3 -0
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.d.ts +1 -29
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +109 -11
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +15 -1
- package/es/components/vod-chunk-upload/src/hooks/upload-data.js +72 -9
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +3 -0
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +75 -9
- package/es/env.d.ts +25 -25
- package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,630 @@
|
|
|
1
|
+
import { ref, PropType } from 'vue';
|
|
2
|
+
import { type TreeOption } from 'naive-ui';
|
|
3
|
+
import { AnyObject } from '../../../shared/types';
|
|
4
|
+
type IKey = string | number;
|
|
5
|
+
type ITreeOption = TreeOption & AnyObject;
|
|
6
|
+
type IWordBook<T> = {
|
|
7
|
+
parent_id_obj: keyof T;
|
|
8
|
+
parent_name_obj: keyof T;
|
|
9
|
+
user_count_obj?: keyof T;
|
|
10
|
+
filter_key?: string;
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
type IWordBookChild<T> = {
|
|
14
|
+
user_id_obj: keyof T;
|
|
15
|
+
user_name_obj: keyof T;
|
|
16
|
+
user_expand_keys?: string[];
|
|
17
|
+
};
|
|
18
|
+
type ITag = {
|
|
19
|
+
key: IKey;
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
22
|
+
declare const _default: import("vue").DefineComponent<{
|
|
23
|
+
defaultList: {
|
|
24
|
+
type: PropType<(IKey | ITag)[]>;
|
|
25
|
+
default: () => never[];
|
|
26
|
+
};
|
|
27
|
+
data: {
|
|
28
|
+
type: PropType<ITreeOption[]>;
|
|
29
|
+
default: () => never[];
|
|
30
|
+
};
|
|
31
|
+
searchPlaceholder: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
searchButtonText: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
wordbook: {
|
|
40
|
+
type: PropType<IWordBook<ITreeOption>>;
|
|
41
|
+
default: () => {};
|
|
42
|
+
};
|
|
43
|
+
wordbookChild: {
|
|
44
|
+
type: PropType<IWordBookChild<ITreeOption>>;
|
|
45
|
+
default: () => {};
|
|
46
|
+
};
|
|
47
|
+
showCount: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
showClear: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
multiple: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
searchInner: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
searchFilter: {
|
|
64
|
+
type: PropType<AnyObject>;
|
|
65
|
+
default: () => {};
|
|
66
|
+
};
|
|
67
|
+
treeSetting: {
|
|
68
|
+
type: PropType<ITreeOption>;
|
|
69
|
+
default: () => {};
|
|
70
|
+
};
|
|
71
|
+
queryLoadChildData: {
|
|
72
|
+
type: PropType<(node: TreeOption) => Promise<AnyObject>>;
|
|
73
|
+
default: undefined;
|
|
74
|
+
};
|
|
75
|
+
queryTreeSearch: {
|
|
76
|
+
type: PropType<(keyWork: string) => Promise<Array<AnyObject>>>;
|
|
77
|
+
default: () => Promise<never[]>;
|
|
78
|
+
};
|
|
79
|
+
showSelectType: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
roleData: {
|
|
84
|
+
type: PropType<ITreeOption[]>;
|
|
85
|
+
default: () => never[];
|
|
86
|
+
};
|
|
87
|
+
roleFields: {
|
|
88
|
+
type: ObjectConstructor;
|
|
89
|
+
default: () => {
|
|
90
|
+
label: string;
|
|
91
|
+
key: string;
|
|
92
|
+
children: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
forceShowSelectAll: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
};
|
|
98
|
+
uncheckableField: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
};
|
|
101
|
+
onlyForwardCascade: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
};
|
|
104
|
+
}, {
|
|
105
|
+
searchFilterBase: {
|
|
106
|
+
isOpen: boolean;
|
|
107
|
+
multiple: boolean;
|
|
108
|
+
customTitles: string[];
|
|
109
|
+
itemHeight: number;
|
|
110
|
+
};
|
|
111
|
+
labelList: {
|
|
112
|
+
key: string;
|
|
113
|
+
label: string;
|
|
114
|
+
}[];
|
|
115
|
+
labelListName: any;
|
|
116
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
117
|
+
defaultList: {
|
|
118
|
+
type: PropType<(IKey | ITag)[]>;
|
|
119
|
+
default: () => never[];
|
|
120
|
+
};
|
|
121
|
+
data: {
|
|
122
|
+
type: PropType<ITreeOption[]>;
|
|
123
|
+
default: () => never[];
|
|
124
|
+
};
|
|
125
|
+
searchPlaceholder: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
searchButtonText: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
wordbook: {
|
|
134
|
+
type: PropType<IWordBook<ITreeOption>>;
|
|
135
|
+
default: () => {};
|
|
136
|
+
};
|
|
137
|
+
wordbookChild: {
|
|
138
|
+
type: PropType<IWordBookChild<ITreeOption>>;
|
|
139
|
+
default: () => {};
|
|
140
|
+
};
|
|
141
|
+
showCount: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
default: boolean;
|
|
144
|
+
};
|
|
145
|
+
showClear: {
|
|
146
|
+
type: BooleanConstructor;
|
|
147
|
+
default: boolean;
|
|
148
|
+
};
|
|
149
|
+
multiple: {
|
|
150
|
+
type: BooleanConstructor;
|
|
151
|
+
default: boolean;
|
|
152
|
+
};
|
|
153
|
+
searchInner: {
|
|
154
|
+
type: BooleanConstructor;
|
|
155
|
+
default: boolean;
|
|
156
|
+
};
|
|
157
|
+
searchFilter: {
|
|
158
|
+
type: PropType<AnyObject>;
|
|
159
|
+
default: () => {};
|
|
160
|
+
};
|
|
161
|
+
treeSetting: {
|
|
162
|
+
type: PropType<ITreeOption>;
|
|
163
|
+
default: () => {};
|
|
164
|
+
};
|
|
165
|
+
queryLoadChildData: {
|
|
166
|
+
type: PropType<(node: TreeOption) => Promise<AnyObject>>;
|
|
167
|
+
default: undefined;
|
|
168
|
+
};
|
|
169
|
+
queryTreeSearch: {
|
|
170
|
+
type: PropType<(keyWork: string) => Promise<Array<AnyObject>>>;
|
|
171
|
+
default: () => Promise<never[]>;
|
|
172
|
+
};
|
|
173
|
+
showSelectType: {
|
|
174
|
+
type: BooleanConstructor;
|
|
175
|
+
default: boolean;
|
|
176
|
+
};
|
|
177
|
+
roleData: {
|
|
178
|
+
type: PropType<ITreeOption[]>;
|
|
179
|
+
default: () => never[];
|
|
180
|
+
};
|
|
181
|
+
roleFields: {
|
|
182
|
+
type: ObjectConstructor;
|
|
183
|
+
default: () => {
|
|
184
|
+
label: string;
|
|
185
|
+
key: string;
|
|
186
|
+
children: string;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
forceShowSelectAll: {
|
|
190
|
+
type: BooleanConstructor;
|
|
191
|
+
};
|
|
192
|
+
uncheckableField: {
|
|
193
|
+
type: StringConstructor;
|
|
194
|
+
};
|
|
195
|
+
onlyForwardCascade: {
|
|
196
|
+
type: BooleanConstructor;
|
|
197
|
+
};
|
|
198
|
+
}>> & {}>>;
|
|
199
|
+
emit: any;
|
|
200
|
+
keyword: import("vue").Ref<string>;
|
|
201
|
+
checkedAll: import("vue").Ref<boolean>;
|
|
202
|
+
checkedKeys: import("vue").Ref<IKey[]>;
|
|
203
|
+
expandedKeys: import("vue").Ref<IKey[]>;
|
|
204
|
+
treeData: import("vue").Ref<{
|
|
205
|
+
[x: string]: unknown;
|
|
206
|
+
key?: import("naive-ui/es/tree/src/interface").Key | undefined;
|
|
207
|
+
label?: string | undefined;
|
|
208
|
+
checkboxDisabled?: boolean | undefined;
|
|
209
|
+
disabled?: boolean | undefined;
|
|
210
|
+
isLeaf?: boolean | undefined;
|
|
211
|
+
children?: any[] | undefined;
|
|
212
|
+
prefix?: (() => import("vue").VNodeChild) | undefined;
|
|
213
|
+
suffix?: (() => import("vue").VNodeChild) | undefined;
|
|
214
|
+
}[]>;
|
|
215
|
+
tagData: import("vue").Ref<{
|
|
216
|
+
[x: string]: any;
|
|
217
|
+
key: IKey;
|
|
218
|
+
}[]>;
|
|
219
|
+
initTagData: import("vue").Ref<{
|
|
220
|
+
[x: string]: any;
|
|
221
|
+
key: IKey;
|
|
222
|
+
}[]>;
|
|
223
|
+
isSearch: import("vue").Ref<boolean>;
|
|
224
|
+
allCheckedTreeKeys: import("vue").Ref<IKey[]>;
|
|
225
|
+
isRemote: import("vue").ComputedRef<boolean>;
|
|
226
|
+
checkStrategyResult: import("vue").ComputedRef<any>;
|
|
227
|
+
isSearchFilter: import("vue").ComputedRef<boolean>;
|
|
228
|
+
curSelectKey: import("vue").Ref<string>;
|
|
229
|
+
mergeSearchFilter: import("vue").ComputedRef<{
|
|
230
|
+
isOpen: boolean;
|
|
231
|
+
multiple: boolean;
|
|
232
|
+
customTitles: string[];
|
|
233
|
+
itemHeight: number;
|
|
234
|
+
}>;
|
|
235
|
+
wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
|
|
236
|
+
styleObject: import("vue").ComputedRef<{
|
|
237
|
+
height: string;
|
|
238
|
+
}>;
|
|
239
|
+
caculateTagData: import("vue").ComputedRef<any>;
|
|
240
|
+
treeDataMiddle: any;
|
|
241
|
+
checkedKeysMiddle: any;
|
|
242
|
+
checkedTagsMiddle: any;
|
|
243
|
+
allCheckedKeysMiddle: any;
|
|
244
|
+
attrType: import("vue").ComputedRef<any>;
|
|
245
|
+
keyStr: import("vue").ComputedRef<string>;
|
|
246
|
+
getTreeDataMiddleData: () => void;
|
|
247
|
+
getDeptData: (list: any[], cb?: any) => any[];
|
|
248
|
+
getRoleData: (list: any[], cb?: any) => any[];
|
|
249
|
+
onHandleLabelChange: (item: any) => void;
|
|
250
|
+
setSelectTagData: (tree: TreeOption[], operatorType: string) => void;
|
|
251
|
+
uniqArrObj: (arr: any[], name: string) => any;
|
|
252
|
+
init: () => void;
|
|
253
|
+
getMainData: (tree: TreeOption[], parentNode: TreeOption | null, cb?: any) => void;
|
|
254
|
+
setAllCheckedKeys: (tree: TreeOption, cb?: any) => void;
|
|
255
|
+
setAllCheckedKeysWithChild: (item: TreeOption, cb?: any) => void;
|
|
256
|
+
setAllCheckedKeysWithParent: (item: TreeOption, cb?: any) => void;
|
|
257
|
+
setAllCheckedKeysWithAll: (item: TreeOption, cb?: any) => void;
|
|
258
|
+
queryLoadChildNode: (node: TreeOption) => Promise<AnyObject>;
|
|
259
|
+
setDisabled: (data: TreeOption) => void;
|
|
260
|
+
renderLabel: ({ option }: {
|
|
261
|
+
option: TreeOption;
|
|
262
|
+
}) => JSX.Element;
|
|
263
|
+
getLabelName: (option: TreeOption) => {};
|
|
264
|
+
transformData: (trees: TreeOption[]) => TreeOption[];
|
|
265
|
+
calculateRootItems: (trees: TreeOption[], items: TreeOption[]) => TreeOption[];
|
|
266
|
+
transformParentNodeName: (trees: TreeOption[], tempContent: any) => TreeOption[];
|
|
267
|
+
searchSetting: () => string;
|
|
268
|
+
onSearch: () => Promise<void>;
|
|
269
|
+
setTreeCheckd: (tree: TreeOption[], checked: boolean) => void;
|
|
270
|
+
setCheckdWithChild: (tree: TreeOption[], checked: boolean) => void;
|
|
271
|
+
setCheckdWithParent: (tree: TreeOption[], checked: boolean) => void;
|
|
272
|
+
setCheckdWithAll: (tree: TreeOption[], checked: boolean) => void;
|
|
273
|
+
checkedAllChange: (checked: boolean) => void;
|
|
274
|
+
uniq: (arr: ITag[]) => ITag[];
|
|
275
|
+
setTagData: (tree: TreeOption[]) => void;
|
|
276
|
+
getFlattenKeys: (tree: TreeOption[]) => any[];
|
|
277
|
+
updateTreeChecked: (keys: Array<IKey>, _: any, meta: {
|
|
278
|
+
node: TreeOption | null;
|
|
279
|
+
action: 'check' | 'uncheck';
|
|
280
|
+
}) => void;
|
|
281
|
+
setCheckedAll: () => void;
|
|
282
|
+
clearAll: () => void;
|
|
283
|
+
closeTag: (tag: ITag) => void;
|
|
284
|
+
notifyCheck: (keys: IKey[]) => void;
|
|
285
|
+
notifySearchClear: () => void;
|
|
286
|
+
getCheckWithLevel: () => any;
|
|
287
|
+
resetParams: () => void;
|
|
288
|
+
NButton: any;
|
|
289
|
+
NInput: any;
|
|
290
|
+
NInputGroup: any;
|
|
291
|
+
NCheckbox: any;
|
|
292
|
+
NTree: any;
|
|
293
|
+
NTag: any;
|
|
294
|
+
NIcon: any;
|
|
295
|
+
NSpace: any;
|
|
296
|
+
NGrid: any;
|
|
297
|
+
NGi: any;
|
|
298
|
+
NEmpty: any;
|
|
299
|
+
CloseCircleSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
300
|
+
SearchMultiple: import("vue").DefineComponent<{
|
|
301
|
+
treeData: {
|
|
302
|
+
type: PropType<any[]>;
|
|
303
|
+
default: () => never[];
|
|
304
|
+
};
|
|
305
|
+
checkedKeys: {
|
|
306
|
+
type: PropType<(string | number)[]>;
|
|
307
|
+
default: () => never[];
|
|
308
|
+
};
|
|
309
|
+
}, {
|
|
310
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
311
|
+
treeData: {
|
|
312
|
+
type: PropType<any[]>;
|
|
313
|
+
default: () => never[];
|
|
314
|
+
};
|
|
315
|
+
checkedKeys: {
|
|
316
|
+
type: PropType<(string | number)[]>;
|
|
317
|
+
default: () => never[];
|
|
318
|
+
};
|
|
319
|
+
}>> & {
|
|
320
|
+
onNotifyCheck?: ((...args: any[]) => any) | undefined;
|
|
321
|
+
}>>;
|
|
322
|
+
emit: (event: "notifyCheck", ...args: any[]) => void;
|
|
323
|
+
optionsRef: import("vue").ComputedRef<any[]>;
|
|
324
|
+
list: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
|
|
325
|
+
containerProps: {
|
|
326
|
+
ref: import("vue").Ref<any>;
|
|
327
|
+
onScroll: () => void;
|
|
328
|
+
style: Partial<CSSStyleDeclaration>;
|
|
329
|
+
};
|
|
330
|
+
wrapperProps: import("vue").ComputedRef<{
|
|
331
|
+
style: {
|
|
332
|
+
width: string;
|
|
333
|
+
height: string;
|
|
334
|
+
marginTop: string;
|
|
335
|
+
};
|
|
336
|
+
}>;
|
|
337
|
+
containerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
338
|
+
searchCheckKeys: import("vue").Ref<(string | number)[]>;
|
|
339
|
+
showSelectKeys: import("vue").Ref<(string | number)[]>;
|
|
340
|
+
checkedChange: (checkList: (string | number)[], meta: {
|
|
341
|
+
actionType: "check" | "uncheck";
|
|
342
|
+
value: string | number;
|
|
343
|
+
}) => void;
|
|
344
|
+
handleCheckKey: (baseKeys: (string | number)[], currentTree: {
|
|
345
|
+
[key: string]: any;
|
|
346
|
+
key: string | number;
|
|
347
|
+
children: any[];
|
|
348
|
+
parentNode: any;
|
|
349
|
+
} | null, value: string | number) => false | undefined;
|
|
350
|
+
findParent: (baseKeys: (string | number)[], currentTree: {
|
|
351
|
+
[key: string]: any;
|
|
352
|
+
key: string | number;
|
|
353
|
+
children: any[];
|
|
354
|
+
parentNode: any;
|
|
355
|
+
}) => false | undefined;
|
|
356
|
+
handleUnCheckKey: (baseKeys: (string | number)[], currentTree: {
|
|
357
|
+
[key: string]: any;
|
|
358
|
+
key: string | number;
|
|
359
|
+
children: any[];
|
|
360
|
+
parentNode: any;
|
|
361
|
+
}, value: string | number) => false | undefined;
|
|
362
|
+
findChild: (baseKeys: (string | number)[], children: {
|
|
363
|
+
[key: string]: any;
|
|
364
|
+
key: string | number;
|
|
365
|
+
children: any[];
|
|
366
|
+
parentNode: any;
|
|
367
|
+
}[], value: string | number) => false | undefined;
|
|
368
|
+
checkInitTree: (tree: {
|
|
369
|
+
[key: string]: any;
|
|
370
|
+
key: string | number;
|
|
371
|
+
children: any[];
|
|
372
|
+
parentNode: any;
|
|
373
|
+
}, baseKey: string | number) => false | undefined;
|
|
374
|
+
ref: typeof ref;
|
|
375
|
+
NCheckboxGroup: any;
|
|
376
|
+
NCheckbox: any;
|
|
377
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "notifyCheck"[], "notifyCheck", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
378
|
+
treeData: {
|
|
379
|
+
type: PropType<any[]>;
|
|
380
|
+
default: () => never[];
|
|
381
|
+
};
|
|
382
|
+
checkedKeys: {
|
|
383
|
+
type: PropType<(string | number)[]>;
|
|
384
|
+
default: () => never[];
|
|
385
|
+
};
|
|
386
|
+
}>> & {
|
|
387
|
+
onNotifyCheck?: ((...args: any[]) => any) | undefined;
|
|
388
|
+
}, {
|
|
389
|
+
treeData: any[];
|
|
390
|
+
checkedKeys: (string | number)[];
|
|
391
|
+
}>;
|
|
392
|
+
SearchOrgAndStaff: import("vue").DefineComponent<{
|
|
393
|
+
treeData: {
|
|
394
|
+
type: PropType<any[]>;
|
|
395
|
+
default: () => never[];
|
|
396
|
+
};
|
|
397
|
+
checkedKeys: {
|
|
398
|
+
type: PropType<(string | number)[]>;
|
|
399
|
+
default: () => never[];
|
|
400
|
+
};
|
|
401
|
+
searchFilter: {
|
|
402
|
+
type: ObjectConstructor;
|
|
403
|
+
default: () => {};
|
|
404
|
+
};
|
|
405
|
+
isMultiple: {
|
|
406
|
+
type: BooleanConstructor;
|
|
407
|
+
default: boolean;
|
|
408
|
+
};
|
|
409
|
+
}, {
|
|
410
|
+
$message: import("naive-ui").MessageApi;
|
|
411
|
+
virtualItemHeight: number;
|
|
412
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
413
|
+
treeData: {
|
|
414
|
+
type: PropType<any[]>;
|
|
415
|
+
default: () => never[];
|
|
416
|
+
};
|
|
417
|
+
checkedKeys: {
|
|
418
|
+
type: PropType<(string | number)[]>;
|
|
419
|
+
default: () => never[];
|
|
420
|
+
};
|
|
421
|
+
searchFilter: {
|
|
422
|
+
type: ObjectConstructor;
|
|
423
|
+
default: () => {};
|
|
424
|
+
};
|
|
425
|
+
isMultiple: {
|
|
426
|
+
type: BooleanConstructor;
|
|
427
|
+
default: boolean;
|
|
428
|
+
};
|
|
429
|
+
}>> & {
|
|
430
|
+
onNotifyCheck?: ((...args: any[]) => any) | undefined;
|
|
431
|
+
onNotifyClear?: ((...args: any[]) => any) | undefined;
|
|
432
|
+
}>>;
|
|
433
|
+
emit: (event: "notifyCheck" | "notifyClear", ...args: any[]) => void;
|
|
434
|
+
moduleHeight: import("vue").ComputedRef<any>;
|
|
435
|
+
showNums: import("vue").ComputedRef<number>;
|
|
436
|
+
staffDataRef: import("vue").ComputedRef<any[]>;
|
|
437
|
+
staffList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
|
|
438
|
+
staffContainerProps: {
|
|
439
|
+
ref: import("vue").Ref<any>;
|
|
440
|
+
onScroll: () => void;
|
|
441
|
+
style: Partial<CSSStyleDeclaration>;
|
|
442
|
+
};
|
|
443
|
+
staffWrapperProps: import("vue").ComputedRef<{
|
|
444
|
+
style: {
|
|
445
|
+
width: string;
|
|
446
|
+
height: string;
|
|
447
|
+
marginTop: string;
|
|
448
|
+
};
|
|
449
|
+
}>;
|
|
450
|
+
staffContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
451
|
+
orgDataRef: import("vue").ComputedRef<any[]>;
|
|
452
|
+
orgList: import("vue").Ref<import("@vueuse/core").UseVirtualListItem<any>[]>;
|
|
453
|
+
orgContainerProps: {
|
|
454
|
+
ref: import("vue").Ref<any>;
|
|
455
|
+
onScroll: () => void;
|
|
456
|
+
style: Partial<CSSStyleDeclaration>;
|
|
457
|
+
};
|
|
458
|
+
orgWrapperProps: import("vue").ComputedRef<{
|
|
459
|
+
style: {
|
|
460
|
+
width: string;
|
|
461
|
+
height: string;
|
|
462
|
+
marginTop: string;
|
|
463
|
+
};
|
|
464
|
+
}>;
|
|
465
|
+
orgContainerStyleWithHeight: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
466
|
+
searchCheckKeys: import("vue").Ref<(string | number)[]>;
|
|
467
|
+
showSelectKeys: import("vue").Ref<(string | number)[]>;
|
|
468
|
+
handleClick: (tree: any) => void;
|
|
469
|
+
handleStaffClick: (baseKeys: (string | number)[], currentTree: {
|
|
470
|
+
[key: string]: any;
|
|
471
|
+
key: string | number;
|
|
472
|
+
children: any[];
|
|
473
|
+
parentNode: any;
|
|
474
|
+
}, value: string | number) => false | undefined;
|
|
475
|
+
findParent: (baseKeys: (string | number)[], currentTree: {
|
|
476
|
+
[key: string]: any;
|
|
477
|
+
key: string | number;
|
|
478
|
+
children: any[];
|
|
479
|
+
parentNode: any;
|
|
480
|
+
}) => false | undefined;
|
|
481
|
+
handleOrgClick: (baseKeys: (string | number)[], currentTree: {
|
|
482
|
+
[key: string]: any;
|
|
483
|
+
key: string | number;
|
|
484
|
+
children: any[];
|
|
485
|
+
parentNode: any;
|
|
486
|
+
}, value: string | number) => void;
|
|
487
|
+
handleFindChildren: (treeList: {
|
|
488
|
+
[key: string]: any;
|
|
489
|
+
key: string | number;
|
|
490
|
+
children: any[];
|
|
491
|
+
parentNode: any;
|
|
492
|
+
}[]) => void;
|
|
493
|
+
checkInitTree: (tree: {
|
|
494
|
+
[key: string]: any;
|
|
495
|
+
key: string | number;
|
|
496
|
+
children: any[];
|
|
497
|
+
parentNode: any;
|
|
498
|
+
}, baseKey: string | number) => false | undefined;
|
|
499
|
+
ref: typeof ref;
|
|
500
|
+
NEmpty: any;
|
|
501
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("notifyCheck" | "notifyClear")[], "notifyCheck" | "notifyClear", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
502
|
+
treeData: {
|
|
503
|
+
type: PropType<any[]>;
|
|
504
|
+
default: () => never[];
|
|
505
|
+
};
|
|
506
|
+
checkedKeys: {
|
|
507
|
+
type: PropType<(string | number)[]>;
|
|
508
|
+
default: () => never[];
|
|
509
|
+
};
|
|
510
|
+
searchFilter: {
|
|
511
|
+
type: ObjectConstructor;
|
|
512
|
+
default: () => {};
|
|
513
|
+
};
|
|
514
|
+
isMultiple: {
|
|
515
|
+
type: BooleanConstructor;
|
|
516
|
+
default: boolean;
|
|
517
|
+
};
|
|
518
|
+
}>> & {
|
|
519
|
+
onNotifyCheck?: ((...args: any[]) => any) | undefined;
|
|
520
|
+
onNotifyClear?: ((...args: any[]) => any) | undefined;
|
|
521
|
+
}, {
|
|
522
|
+
searchFilter: Record<string, any>;
|
|
523
|
+
treeData: any[];
|
|
524
|
+
checkedKeys: (string | number)[];
|
|
525
|
+
isMultiple: boolean;
|
|
526
|
+
}>;
|
|
527
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
528
|
+
defaultList: {
|
|
529
|
+
type: PropType<(IKey | ITag)[]>;
|
|
530
|
+
default: () => never[];
|
|
531
|
+
};
|
|
532
|
+
data: {
|
|
533
|
+
type: PropType<ITreeOption[]>;
|
|
534
|
+
default: () => never[];
|
|
535
|
+
};
|
|
536
|
+
searchPlaceholder: {
|
|
537
|
+
type: StringConstructor;
|
|
538
|
+
default: string;
|
|
539
|
+
};
|
|
540
|
+
searchButtonText: {
|
|
541
|
+
type: StringConstructor;
|
|
542
|
+
default: string;
|
|
543
|
+
};
|
|
544
|
+
wordbook: {
|
|
545
|
+
type: PropType<IWordBook<ITreeOption>>;
|
|
546
|
+
default: () => {};
|
|
547
|
+
};
|
|
548
|
+
wordbookChild: {
|
|
549
|
+
type: PropType<IWordBookChild<ITreeOption>>;
|
|
550
|
+
default: () => {};
|
|
551
|
+
};
|
|
552
|
+
showCount: {
|
|
553
|
+
type: BooleanConstructor;
|
|
554
|
+
default: boolean;
|
|
555
|
+
};
|
|
556
|
+
showClear: {
|
|
557
|
+
type: BooleanConstructor;
|
|
558
|
+
default: boolean;
|
|
559
|
+
};
|
|
560
|
+
multiple: {
|
|
561
|
+
type: BooleanConstructor;
|
|
562
|
+
default: boolean;
|
|
563
|
+
};
|
|
564
|
+
searchInner: {
|
|
565
|
+
type: BooleanConstructor;
|
|
566
|
+
default: boolean;
|
|
567
|
+
};
|
|
568
|
+
searchFilter: {
|
|
569
|
+
type: PropType<AnyObject>;
|
|
570
|
+
default: () => {};
|
|
571
|
+
};
|
|
572
|
+
treeSetting: {
|
|
573
|
+
type: PropType<ITreeOption>;
|
|
574
|
+
default: () => {};
|
|
575
|
+
};
|
|
576
|
+
queryLoadChildData: {
|
|
577
|
+
type: PropType<(node: TreeOption) => Promise<AnyObject>>;
|
|
578
|
+
default: undefined;
|
|
579
|
+
};
|
|
580
|
+
queryTreeSearch: {
|
|
581
|
+
type: PropType<(keyWork: string) => Promise<Array<AnyObject>>>;
|
|
582
|
+
default: () => Promise<never[]>;
|
|
583
|
+
};
|
|
584
|
+
showSelectType: {
|
|
585
|
+
type: BooleanConstructor;
|
|
586
|
+
default: boolean;
|
|
587
|
+
};
|
|
588
|
+
roleData: {
|
|
589
|
+
type: PropType<ITreeOption[]>;
|
|
590
|
+
default: () => never[];
|
|
591
|
+
};
|
|
592
|
+
roleFields: {
|
|
593
|
+
type: ObjectConstructor;
|
|
594
|
+
default: () => {
|
|
595
|
+
label: string;
|
|
596
|
+
key: string;
|
|
597
|
+
children: string;
|
|
598
|
+
};
|
|
599
|
+
};
|
|
600
|
+
forceShowSelectAll: {
|
|
601
|
+
type: BooleanConstructor;
|
|
602
|
+
};
|
|
603
|
+
uncheckableField: {
|
|
604
|
+
type: StringConstructor;
|
|
605
|
+
};
|
|
606
|
+
onlyForwardCascade: {
|
|
607
|
+
type: BooleanConstructor;
|
|
608
|
+
};
|
|
609
|
+
}>>, {
|
|
610
|
+
data: ITreeOption[];
|
|
611
|
+
defaultList: (IKey | ITag)[];
|
|
612
|
+
searchPlaceholder: string;
|
|
613
|
+
searchButtonText: string;
|
|
614
|
+
wordbook: IWordBook<ITreeOption>;
|
|
615
|
+
wordbookChild: IWordBookChild<ITreeOption>;
|
|
616
|
+
showCount: boolean;
|
|
617
|
+
showClear: boolean;
|
|
618
|
+
multiple: boolean;
|
|
619
|
+
searchInner: boolean;
|
|
620
|
+
searchFilter: AnyObject;
|
|
621
|
+
treeSetting: ITreeOption;
|
|
622
|
+
queryLoadChildData: (node: TreeOption) => Promise<AnyObject>;
|
|
623
|
+
queryTreeSearch: (keyWork: string) => Promise<Array<AnyObject>>;
|
|
624
|
+
showSelectType: boolean;
|
|
625
|
+
roleData: ITreeOption[];
|
|
626
|
+
roleFields: Record<string, any>;
|
|
627
|
+
forceShowSelectAll: boolean;
|
|
628
|
+
onlyForwardCascade: boolean;
|
|
629
|
+
}>;
|
|
630
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import _sfc_main from './SelectPersonRole.vue2.js';
|
|
2
|
+
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js';
|
|
3
|
+
|
|
4
|
+
var SelectPersonRole = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "SelectPersonRole.vue"]]);
|
|
5
|
+
|
|
6
|
+
export { SelectPersonRole as default };
|