@fmdeui/fmui 1.0.141 → 1.0.143

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.
Files changed (48) hide show
  1. package/es/component.mjs +2 -1
  2. package/es/components/fm-autocomplete/autoext.vue.d.ts +362 -0
  3. package/es/components/fm-autocomplete/component/accountSelectDialog.vue.d.ts +4 -1
  4. package/es/components/fm-autocomplete/component/subjectSelectDialog.vue.d.ts +4 -1
  5. package/es/components/fm-autocomplete/component/userSelectDialog.vue.d.ts +4 -1
  6. package/es/components/fm-autocomplete/index.d.ts +322 -0
  7. package/es/packages/components/fm-autocomplete/autoext.vue.mjs +5 -0
  8. package/es/packages/components/fm-autocomplete/autoext2.vue.mjs +320 -0
  9. package/es/packages/components/fm-autocomplete/component/accountSelectDialog2.vue.mjs +4 -2
  10. package/es/packages/components/fm-autocomplete/component/linSelectDialog2.vue.mjs +0 -1
  11. package/es/packages/components/fm-autocomplete/component/subjectSelectDialog2.vue.mjs +4 -2
  12. package/es/packages/components/fm-autocomplete/component/supplierSelectDialog2.vue.mjs +0 -1
  13. package/es/packages/components/fm-autocomplete/component/supplierUserSelectDialog2.vue.mjs +0 -1
  14. package/es/packages/components/fm-autocomplete/component/userSelectDialog2.vue.mjs +5 -3
  15. package/es/packages/components/fm-autocomplete/index.mjs +4 -1
  16. package/es/packages/components/fm-autocomplete/index2.vue.mjs +1 -1
  17. package/es/packages/components/index.mjs +1 -1
  18. package/index.js +409 -102
  19. package/index.min.js +7 -7
  20. package/index.min.mjs +7 -7
  21. package/index.mjs +409 -102
  22. package/lib/component.js +1 -0
  23. package/lib/components/fm-autocomplete/autoext.vue.d.ts +362 -0
  24. package/lib/components/fm-autocomplete/component/accountSelectDialog.vue.d.ts +4 -1
  25. package/lib/components/fm-autocomplete/component/subjectSelectDialog.vue.d.ts +4 -1
  26. package/lib/components/fm-autocomplete/component/userSelectDialog.vue.d.ts +4 -1
  27. package/lib/components/fm-autocomplete/index.d.ts +322 -0
  28. package/lib/packages/components/fm-autocomplete/autoext.vue.js +9 -0
  29. package/lib/packages/components/fm-autocomplete/autoext2.vue.js +324 -0
  30. package/lib/packages/components/fm-autocomplete/component/accountSelectDialog2.vue.js +4 -2
  31. package/lib/packages/components/fm-autocomplete/component/linSelectDialog2.vue.js +0 -1
  32. package/lib/packages/components/fm-autocomplete/component/subjectSelectDialog2.vue.js +4 -2
  33. package/lib/packages/components/fm-autocomplete/component/supplierSelectDialog2.vue.js +0 -1
  34. package/lib/packages/components/fm-autocomplete/component/supplierUserSelectDialog2.vue.js +0 -1
  35. package/lib/packages/components/fm-autocomplete/component/userSelectDialog2.vue.js +5 -3
  36. package/lib/packages/components/fm-autocomplete/index.js +4 -0
  37. package/lib/packages/components/fm-autocomplete/index2.vue.js +1 -1
  38. package/lib/packages/components/index.js +1 -0
  39. package/locale/en.js +1 -1
  40. package/locale/en.min.js +1 -1
  41. package/locale/en.min.mjs +1 -1
  42. package/locale/en.mjs +1 -1
  43. package/locale/zh-cn.js +1 -1
  44. package/locale/zh-cn.min.js +1 -1
  45. package/locale/zh-cn.min.mjs +1 -1
  46. package/locale/zh-cn.mjs +1 -1
  47. package/package.json +1 -1
  48. /package/lib/{defaults.css → component.css} +0 -0
@@ -307,3 +307,325 @@ export declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
307
307
  userParams: Record<string, any>;
308
308
  }> | null;
309
309
  }, any>;
310
+ export declare const FmAutocompleteExt: DefineComponent<ExtractPropTypes<{
311
+ placeholder: {
312
+ type: StringConstructor;
313
+ default: string;
314
+ };
315
+ atoService: {
316
+ type: StringConstructor;
317
+ default: string;
318
+ };
319
+ atoAction: {
320
+ type: StringConstructor;
321
+ default: string;
322
+ };
323
+ top: {
324
+ type: NumberConstructor;
325
+ default: number;
326
+ };
327
+ searchsize: {
328
+ type: NumberConstructor;
329
+ default: number;
330
+ };
331
+ vName: {
332
+ type: StringConstructor;
333
+ default: string;
334
+ };
335
+ vGroup: {
336
+ type: {
337
+ (arrayLength: number): any[];
338
+ (...items: any[]): any[];
339
+ new (arrayLength: number): any[];
340
+ new (...items: any[]): any[];
341
+ isArray(arg: any): arg is any[];
342
+ readonly prototype: any[];
343
+ from<T>(arrayLike: ArrayLike<T>): T[];
344
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
345
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
346
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
347
+ of<T>(...items: T[]): T[];
348
+ readonly [Symbol.species]: ArrayConstructor;
349
+ };
350
+ default: () => never[];
351
+ };
352
+ vLabel: {
353
+ type: StringConstructor;
354
+ default: string;
355
+ };
356
+ qId: {
357
+ type: NumberConstructor;
358
+ default: number;
359
+ };
360
+ title: {
361
+ type: StringConstructor;
362
+ default: string;
363
+ };
364
+ params: {
365
+ type: ObjectConstructor;
366
+ default: () => void;
367
+ };
368
+ openType: {
369
+ type: NumberConstructor;
370
+ default: number;
371
+ };
372
+ orgService: {
373
+ type: StringConstructor;
374
+ default: string;
375
+ };
376
+ orgAction: {
377
+ type: StringConstructor;
378
+ default: string;
379
+ };
380
+ userService: {
381
+ type: StringConstructor;
382
+ default: string;
383
+ };
384
+ userAction: {
385
+ type: StringConstructor;
386
+ default: string;
387
+ };
388
+ subjectService: {
389
+ type: StringConstructor;
390
+ default: string;
391
+ };
392
+ subjectAction: {
393
+ type: StringConstructor;
394
+ default: string;
395
+ };
396
+ accountService: {
397
+ type: StringConstructor;
398
+ default: string;
399
+ };
400
+ accountAction: {
401
+ type: StringConstructor;
402
+ default: string;
403
+ };
404
+ refresh: {
405
+ type: BooleanConstructor;
406
+ default: boolean;
407
+ };
408
+ modelValue: {
409
+ type: PropType<any>;
410
+ };
411
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
412
+ reset: (...args: any[]) => void;
413
+ select: (...args: any[]) => void;
414
+ "update:modelValue": (value: any) => void;
415
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
416
+ placeholder: {
417
+ type: StringConstructor;
418
+ default: string;
419
+ };
420
+ atoService: {
421
+ type: StringConstructor;
422
+ default: string;
423
+ };
424
+ atoAction: {
425
+ type: StringConstructor;
426
+ default: string;
427
+ };
428
+ top: {
429
+ type: NumberConstructor;
430
+ default: number;
431
+ };
432
+ searchsize: {
433
+ type: NumberConstructor;
434
+ default: number;
435
+ };
436
+ vName: {
437
+ type: StringConstructor;
438
+ default: string;
439
+ };
440
+ vGroup: {
441
+ type: {
442
+ (arrayLength: number): any[];
443
+ (...items: any[]): any[];
444
+ new (arrayLength: number): any[];
445
+ new (...items: any[]): any[];
446
+ isArray(arg: any): arg is any[];
447
+ readonly prototype: any[];
448
+ from<T>(arrayLike: ArrayLike<T>): T[];
449
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
450
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
451
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
452
+ of<T>(...items: T[]): T[];
453
+ readonly [Symbol.species]: ArrayConstructor;
454
+ };
455
+ default: () => never[];
456
+ };
457
+ vLabel: {
458
+ type: StringConstructor;
459
+ default: string;
460
+ };
461
+ qId: {
462
+ type: NumberConstructor;
463
+ default: number;
464
+ };
465
+ title: {
466
+ type: StringConstructor;
467
+ default: string;
468
+ };
469
+ params: {
470
+ type: ObjectConstructor;
471
+ default: () => void;
472
+ };
473
+ openType: {
474
+ type: NumberConstructor;
475
+ default: number;
476
+ };
477
+ orgService: {
478
+ type: StringConstructor;
479
+ default: string;
480
+ };
481
+ orgAction: {
482
+ type: StringConstructor;
483
+ default: string;
484
+ };
485
+ userService: {
486
+ type: StringConstructor;
487
+ default: string;
488
+ };
489
+ userAction: {
490
+ type: StringConstructor;
491
+ default: string;
492
+ };
493
+ subjectService: {
494
+ type: StringConstructor;
495
+ default: string;
496
+ };
497
+ subjectAction: {
498
+ type: StringConstructor;
499
+ default: string;
500
+ };
501
+ accountService: {
502
+ type: StringConstructor;
503
+ default: string;
504
+ };
505
+ accountAction: {
506
+ type: StringConstructor;
507
+ default: string;
508
+ };
509
+ refresh: {
510
+ type: BooleanConstructor;
511
+ default: boolean;
512
+ };
513
+ modelValue: {
514
+ type: PropType<any>;
515
+ };
516
+ }>> & Readonly<{
517
+ onReset?: ((...args: any[]) => any) | undefined;
518
+ onSelect?: ((...args: any[]) => any) | undefined;
519
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
520
+ }>, {
521
+ top: number;
522
+ params: Record<string, any>;
523
+ title: string;
524
+ refresh: boolean;
525
+ placeholder: string;
526
+ orgService: string;
527
+ orgAction: string;
528
+ userService: string;
529
+ userAction: string;
530
+ subjectService: string;
531
+ subjectAction: string;
532
+ atoService: string;
533
+ atoAction: string;
534
+ searchsize: number;
535
+ vName: string;
536
+ vLabel: string;
537
+ qId: number;
538
+ openType: number;
539
+ accountService: string;
540
+ accountAction: string;
541
+ vGroup: any[];
542
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
543
+ tableDialogRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
544
+ visible: {
545
+ type: BooleanConstructor;
546
+ default: boolean;
547
+ };
548
+ title: {
549
+ type: StringConstructor;
550
+ default: string;
551
+ };
552
+ data: {
553
+ type: ArrayConstructor;
554
+ default: () => never[];
555
+ };
556
+ userService: {
557
+ type: StringConstructor;
558
+ default: string;
559
+ };
560
+ userAction: {
561
+ type: StringConstructor;
562
+ default: string;
563
+ };
564
+ userParams: {
565
+ type: ObjectConstructor;
566
+ default: () => void;
567
+ };
568
+ }>> & Readonly<{
569
+ onChange?: ((...args: any[]) => any) | undefined;
570
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
571
+ }>, {
572
+ handleQuery: () => Promise<void>;
573
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
574
+ change: (...args: any[]) => void;
575
+ "update:visible": (...args: any[]) => void;
576
+ }, PublicProps, {
577
+ title: string;
578
+ data: unknown[];
579
+ visible: boolean;
580
+ userService: string;
581
+ userAction: string;
582
+ userParams: Record<string, any>;
583
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
584
+ queryRef: unknown;
585
+ refTable: unknown;
586
+ }, any, ComponentProvideOptions, {
587
+ P: {};
588
+ B: {};
589
+ D: {};
590
+ C: {};
591
+ M: {};
592
+ Defaults: {};
593
+ }, Readonly< ExtractPropTypes<{
594
+ visible: {
595
+ type: BooleanConstructor;
596
+ default: boolean;
597
+ };
598
+ title: {
599
+ type: StringConstructor;
600
+ default: string;
601
+ };
602
+ data: {
603
+ type: ArrayConstructor;
604
+ default: () => never[];
605
+ };
606
+ userService: {
607
+ type: StringConstructor;
608
+ default: string;
609
+ };
610
+ userAction: {
611
+ type: StringConstructor;
612
+ default: string;
613
+ };
614
+ userParams: {
615
+ type: ObjectConstructor;
616
+ default: () => void;
617
+ };
618
+ }>> & Readonly<{
619
+ onChange?: ((...args: any[]) => any) | undefined;
620
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
621
+ }>, {
622
+ handleQuery: () => Promise<void>;
623
+ }, {}, {}, {}, {
624
+ title: string;
625
+ data: unknown[];
626
+ visible: boolean;
627
+ userService: string;
628
+ userAction: string;
629
+ userParams: Record<string, any>;
630
+ }> | null;
631
+ }, any>;
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './autoext2.vue.mjs';
2
+
3
+
4
+
5
+ export { _sfc_main as default };
@@ -0,0 +1,320 @@
1
+ import { defineComponent, useModel, ref, resolveComponent, openBlock, createBlock, createSlots, withCtx, createElementVNode, toDisplayString, createVNode, withModifiers, unref, createCommentVNode, mergeModels } from 'vue';
2
+ import { Search } from '@element-plus/icons-vue';
3
+ import '../../api/index.mjs';
4
+ import './component/userSelectDialog.vue.mjs';
5
+ import './component/supplierSelectDialog.vue.mjs';
6
+ import './component/supplierUserSelectDialog.vue.mjs';
7
+ import './component/accountSelectDialog.vue.mjs';
8
+ import './component/subjectSelectDialog.vue.mjs';
9
+ import './component/linSelectDialog.vue.mjs';
10
+ import { useBaseApi } from '../../api/base/index.mjs';
11
+ import _sfc_main$1 from './component/userSelectDialog2.vue.mjs';
12
+ import _sfc_main$2 from './component/supplierUserSelectDialog2.vue.mjs';
13
+ import _sfc_main$3 from './component/supplierSelectDialog2.vue.mjs';
14
+ import _sfc_main$4 from './component/accountSelectDialog2.vue.mjs';
15
+ import _sfc_main$5 from './component/subjectSelectDialog2.vue.mjs';
16
+ import _sfc_main$6 from './component/linSelectDialog2.vue.mjs';
17
+
18
+ const _hoisted_1 = { style: { "font-size": "14px", "line-height": "30px" } };
19
+ var _sfc_main = /* @__PURE__ */ defineComponent({
20
+ ...{
21
+ name: "FmAutocompleteExt"
22
+ },
23
+ __name: "autoext",
24
+ props: /* @__PURE__ */ mergeModels({
25
+ placeholder: {
26
+ type: String,
27
+ default: "\u8BF7\u8F93\u5165\u5FEB\u901F\u641C\u7D22\u9009\u62E9"
28
+ },
29
+ /**
30
+ * ato service name
31
+ */
32
+ atoService: {
33
+ type: String,
34
+ default: "autoRes"
35
+ },
36
+ /**
37
+ * ato service 下的方法
38
+ */
39
+ atoAction: {
40
+ type: String,
41
+ default: "autoUser"
42
+ },
43
+ top: {
44
+ type: Number,
45
+ default: 15
46
+ },
47
+ searchsize: {
48
+ type: Number,
49
+ default: 22
50
+ },
51
+ /**
52
+ * 值的属性标签
53
+ */
54
+ vName: {
55
+ type: String,
56
+ default: "name"
57
+ },
58
+ vGroup: {
59
+ type: Array,
60
+ default: () => []
61
+ },
62
+ /**
63
+ * 过滤出来显示的名称 加上属性标签
64
+ */
65
+ vLabel: {
66
+ type: String,
67
+ default: ""
68
+ },
69
+ /**
70
+ * 查询业务表ID
71
+ */
72
+ qId: {
73
+ type: Number,
74
+ default: 0
75
+ },
76
+ title: {
77
+ type: String,
78
+ default: ""
79
+ },
80
+ params: {
81
+ type: Object,
82
+ default: () => {
83
+ }
84
+ },
85
+ /**
86
+ * 打开类型 0--用户加机构 1-- 联系人 2-- 供应商单位 3-- 银行账户 4--科目 5--线路
87
+ * @default 0
88
+ */
89
+ openType: {
90
+ type: Number,
91
+ default: 0
92
+ },
93
+ orgService: {
94
+ type: String,
95
+ default: "autoRes"
96
+ },
97
+ orgAction: {
98
+ type: String,
99
+ default: "userOrgList"
100
+ },
101
+ userService: {
102
+ type: String,
103
+ default: "autoRes"
104
+ },
105
+ userAction: {
106
+ type: String,
107
+ default: "UserTable"
108
+ },
109
+ subjectService: {
110
+ type: String,
111
+ default: "autoRes"
112
+ },
113
+ subjectAction: {
114
+ type: String,
115
+ default: "subjectTable"
116
+ },
117
+ accountService: {
118
+ type: String,
119
+ default: "autoRes"
120
+ },
121
+ accountAction: {
122
+ type: String,
123
+ default: "accountTable"
124
+ },
125
+ refresh: {
126
+ type: Boolean,
127
+ default: true
128
+ }
129
+ }, {
130
+ "modelValue": {},
131
+ "modelModifiers": {}
132
+ }),
133
+ emits: /* @__PURE__ */ mergeModels(["select", "reset"], ["update:modelValue"]),
134
+ setup(__props, { emit: __emit }) {
135
+ const modelValue = useModel(__props, "modelValue");
136
+ const props = __props;
137
+ const visibleopenDialog = ref(false);
138
+ const tableDialogRef = ref();
139
+ const emit = __emit;
140
+ const querySearchAsync = async (queryString, cb) => {
141
+ var _a;
142
+ resetValue();
143
+ const postdata = { keywork: queryString, id: props.qId, ...props.params };
144
+ const res = await useBaseApi(props.atoService).post(postdata, props.atoAction);
145
+ const data = (_a = res.data.result) != null ? _a : [];
146
+ if (data.length === 0) {
147
+ return cb([]);
148
+ }
149
+ const results = data.map((item) => ({
150
+ ...item,
151
+ displayText: `${item[props.vName]}`
152
+ // 自定义展示格式
153
+ //fullData: item // 保留原始对象
154
+ }));
155
+ cb(results);
156
+ };
157
+ const handleSelect = (item) => {
158
+ for (let keyitem of props.vGroup) {
159
+ if (!item[keyitem.key]) {
160
+ continue;
161
+ }
162
+ modelValue.value[keyitem.key] = item[keyitem.key];
163
+ }
164
+ emit("select", item);
165
+ };
166
+ const resetValue = () => {
167
+ for (let item of props.vGroup) {
168
+ if (!item.key || item.key === "name") {
169
+ continue;
170
+ }
171
+ modelValue.value[item.key] = item.value;
172
+ }
173
+ emit("reset");
174
+ };
175
+ const handleSelectDialogChange = (item) => {
176
+ visibleopenDialog.value = false;
177
+ for (let keyitem of props.vGroup) {
178
+ if (!item[keyitem.key]) {
179
+ continue;
180
+ }
181
+ modelValue.value[keyitem.key] = item[keyitem.key];
182
+ }
183
+ emit("select", item);
184
+ };
185
+ const handleRefresh = () => {
186
+ if (tableDialogRef.value) {
187
+ tableDialogRef.value.handleQuery();
188
+ }
189
+ };
190
+ return (_ctx, _cache) => {
191
+ const _component_el_icon = resolveComponent("el-icon");
192
+ const _component_el_autocomplete = resolveComponent("el-autocomplete");
193
+ return openBlock(), createBlock(_component_el_autocomplete, {
194
+ modelValue: modelValue.value.name,
195
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => modelValue.value.name = $event),
196
+ debounce: 500,
197
+ "fetch-suggestions": querySearchAsync,
198
+ placeholder: props.placeholder,
199
+ "trigger-on-focus": false,
200
+ onSelect: handleSelect,
201
+ style: { "margin-top": "-2px" }
202
+ }, createSlots({
203
+ default: withCtx(({ item }) => [
204
+ createElementVNode(
205
+ "div",
206
+ _hoisted_1,
207
+ toDisplayString(item[__props.vName]) + " " + toDisplayString(__props.vLabel != "" ? "(" + item[__props.vLabel] + ")" : ""),
208
+ 1
209
+ /* TEXT */
210
+ )
211
+ ]),
212
+ _: 2
213
+ /* DYNAMIC */
214
+ }, [
215
+ __props.openType > -1 ? {
216
+ name: "suffix",
217
+ fn: withCtx(() => [
218
+ createVNode(_component_el_icon, {
219
+ color: "#E6A23C",
220
+ size: __props.searchsize,
221
+ onClick: _cache[0] || (_cache[0] = withModifiers(() => {
222
+ visibleopenDialog.value = true;
223
+ if (props.refresh) {
224
+ handleRefresh();
225
+ }
226
+ }, ["stop"]))
227
+ }, {
228
+ default: withCtx(() => [
229
+ createVNode(unref(Search))
230
+ ]),
231
+ _: 1
232
+ /* STABLE */
233
+ }, 8, ["size"]),
234
+ __props.openType == 0 ? (openBlock(), createBlock(_sfc_main$1, {
235
+ key: 0,
236
+ ref_key: "tableDialogRef",
237
+ ref: tableDialogRef,
238
+ visible: visibleopenDialog.value,
239
+ "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
240
+ orgService: __props.orgService,
241
+ orgAction: __props.orgAction,
242
+ orgparas: __props.params,
243
+ title: __props.title,
244
+ userService: __props.userService,
245
+ userAction: __props.userAction,
246
+ userParams: __props.params,
247
+ onChange: handleSelectDialogChange
248
+ }, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
249
+ __props.openType == 1 ? (openBlock(), createBlock(_sfc_main$2, {
250
+ key: 1,
251
+ ref_key: "tableDialogRef",
252
+ ref: tableDialogRef,
253
+ visible: visibleopenDialog.value,
254
+ "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visibleopenDialog.value = $event),
255
+ title: __props.title,
256
+ userService: __props.userService,
257
+ userAction: __props.userAction,
258
+ userParams: __props.params,
259
+ onChange: handleSelectDialogChange
260
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
261
+ __props.openType == 2 ? (openBlock(), createBlock(_sfc_main$3, {
262
+ key: 2,
263
+ ref_key: "tableDialogRef",
264
+ ref: tableDialogRef,
265
+ visible: visibleopenDialog.value,
266
+ "onUpdate:visible": _cache[3] || (_cache[3] = ($event) => visibleopenDialog.value = $event),
267
+ title: __props.title,
268
+ userService: __props.userService,
269
+ userAction: __props.userAction,
270
+ userParams: __props.params,
271
+ onChange: handleSelectDialogChange
272
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
273
+ createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
274
+ __props.openType == 3 ? (openBlock(), createBlock(_sfc_main$4, {
275
+ key: 3,
276
+ ref_key: "tableDialogRef",
277
+ ref: tableDialogRef,
278
+ visible: visibleopenDialog.value,
279
+ "onUpdate:visible": _cache[4] || (_cache[4] = ($event) => visibleopenDialog.value = $event),
280
+ title: __props.title,
281
+ userService: __props.accountService,
282
+ userAction: __props.accountAction,
283
+ userParams: __props.params,
284
+ onChange: handleSelectDialogChange
285
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
286
+ createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
287
+ __props.openType == 4 ? (openBlock(), createBlock(_sfc_main$5, {
288
+ key: 4,
289
+ ref_key: "tableDialogRef",
290
+ ref: tableDialogRef,
291
+ visible: visibleopenDialog.value,
292
+ "onUpdate:visible": _cache[5] || (_cache[5] = ($event) => visibleopenDialog.value = $event),
293
+ title: __props.title,
294
+ subjectService: __props.subjectService,
295
+ subjectAction: __props.subjectAction,
296
+ subjectParams: __props.params,
297
+ onChange: handleSelectDialogChange
298
+ }, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : createCommentVNode("v-if", true),
299
+ createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
300
+ __props.openType == 5 ? (openBlock(), createBlock(_sfc_main$6, {
301
+ key: 5,
302
+ ref_key: "tableDialogRef",
303
+ ref: tableDialogRef,
304
+ visible: visibleopenDialog.value,
305
+ "onUpdate:visible": _cache[6] || (_cache[6] = ($event) => visibleopenDialog.value = $event),
306
+ title: __props.title,
307
+ userService: __props.userService,
308
+ userAction: __props.userAction,
309
+ userParams: __props.params,
310
+ onChange: handleSelectDialogChange
311
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true)
312
+ ]),
313
+ key: "0"
314
+ } : void 0
315
+ ]), 1032, ["modelValue", "placeholder"]);
316
+ };
317
+ }
318
+ });
319
+
320
+ export { _sfc_main as default };
@@ -35,7 +35,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
35
35
  }
36
36
  },
37
37
  emits: ["update:visible", "change"],
38
- setup(__props, { emit: __emit }) {
38
+ setup(__props, { expose: __expose, emit: __emit }) {
39
39
  let emits = __emit;
40
40
  const props = __props;
41
41
  const userList = ref([]);
@@ -56,7 +56,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
56
56
  }
57
57
  });
58
58
  onMounted(async () => {
59
- await getUserList();
60
59
  });
61
60
  const resetQuery = () => {
62
61
  state.queryParams = {};
@@ -91,6 +90,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
91
90
  checkedUsersList.value = [];
92
91
  emits("update:visible", false);
93
92
  };
93
+ __expose({
94
+ handleQuery
95
+ });
94
96
  return (_ctx, _cache) => {
95
97
  const _component_ele_Edit = resolveComponent("ele-Edit");
96
98
  const _component_el_icon = resolveComponent("el-icon");
@@ -58,7 +58,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
58
58
  }
59
59
  });
60
60
  onMounted(async () => {
61
- await getUserList();
62
61
  });
63
62
  const resetQuery = () => {
64
63
  state.queryParams = {};