@fmdeui/fmui 1.0.142 → 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 (49) 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 +4 -2
  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 +408 -101
  19. package/index.min.js +7 -7
  20. package/index.min.mjs +7 -7
  21. package/index.mjs +408 -101
  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 +4 -2
  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/es/{make-installer.css → defaults.css} +0 -0
  49. /package/lib/{version.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,9 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var autoext_vue_vue_type_script_setup_true_lang = require('./autoext2.vue.js');
6
+
7
+
8
+
9
+ exports.default = autoext_vue_vue_type_script_setup_true_lang.default;
@@ -0,0 +1,324 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var svg = require('@element-plus/icons-vue');
7
+ require('../../api/index.js');
8
+ require('./component/userSelectDialog.vue.js');
9
+ require('./component/supplierSelectDialog.vue.js');
10
+ require('./component/supplierUserSelectDialog.vue.js');
11
+ require('./component/accountSelectDialog.vue.js');
12
+ require('./component/subjectSelectDialog.vue.js');
13
+ require('./component/linSelectDialog.vue.js');
14
+ var index = require('../../api/base/index.js');
15
+ var userSelectDialog_vue_vue_type_script_setup_true_lang = require('./component/userSelectDialog2.vue.js');
16
+ var supplierUserSelectDialog_vue_vue_type_script_setup_true_lang = require('./component/supplierUserSelectDialog2.vue.js');
17
+ var supplierSelectDialog_vue_vue_type_script_setup_true_lang = require('./component/supplierSelectDialog2.vue.js');
18
+ var accountSelectDialog_vue_vue_type_script_setup_true_lang = require('./component/accountSelectDialog2.vue.js');
19
+ var subjectSelectDialog_vue_vue_type_script_setup_true_lang = require('./component/subjectSelectDialog2.vue.js');
20
+ var linSelectDialog_vue_vue_type_script_setup_true_lang = require('./component/linSelectDialog2.vue.js');
21
+
22
+ const _hoisted_1 = { style: { "font-size": "14px", "line-height": "30px" } };
23
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
24
+ ...{
25
+ name: "FmAutocompleteExt"
26
+ },
27
+ __name: "autoext",
28
+ props: /* @__PURE__ */ vue.mergeModels({
29
+ placeholder: {
30
+ type: String,
31
+ default: "\u8BF7\u8F93\u5165\u5FEB\u901F\u641C\u7D22\u9009\u62E9"
32
+ },
33
+ /**
34
+ * ato service name
35
+ */
36
+ atoService: {
37
+ type: String,
38
+ default: "autoRes"
39
+ },
40
+ /**
41
+ * ato service 下的方法
42
+ */
43
+ atoAction: {
44
+ type: String,
45
+ default: "autoUser"
46
+ },
47
+ top: {
48
+ type: Number,
49
+ default: 15
50
+ },
51
+ searchsize: {
52
+ type: Number,
53
+ default: 22
54
+ },
55
+ /**
56
+ * 值的属性标签
57
+ */
58
+ vName: {
59
+ type: String,
60
+ default: "name"
61
+ },
62
+ vGroup: {
63
+ type: Array,
64
+ default: () => []
65
+ },
66
+ /**
67
+ * 过滤出来显示的名称 加上属性标签
68
+ */
69
+ vLabel: {
70
+ type: String,
71
+ default: ""
72
+ },
73
+ /**
74
+ * 查询业务表ID
75
+ */
76
+ qId: {
77
+ type: Number,
78
+ default: 0
79
+ },
80
+ title: {
81
+ type: String,
82
+ default: ""
83
+ },
84
+ params: {
85
+ type: Object,
86
+ default: () => {
87
+ }
88
+ },
89
+ /**
90
+ * 打开类型 0--用户加机构 1-- 联系人 2-- 供应商单位 3-- 银行账户 4--科目 5--线路
91
+ * @default 0
92
+ */
93
+ openType: {
94
+ type: Number,
95
+ default: 0
96
+ },
97
+ orgService: {
98
+ type: String,
99
+ default: "autoRes"
100
+ },
101
+ orgAction: {
102
+ type: String,
103
+ default: "userOrgList"
104
+ },
105
+ userService: {
106
+ type: String,
107
+ default: "autoRes"
108
+ },
109
+ userAction: {
110
+ type: String,
111
+ default: "UserTable"
112
+ },
113
+ subjectService: {
114
+ type: String,
115
+ default: "autoRes"
116
+ },
117
+ subjectAction: {
118
+ type: String,
119
+ default: "subjectTable"
120
+ },
121
+ accountService: {
122
+ type: String,
123
+ default: "autoRes"
124
+ },
125
+ accountAction: {
126
+ type: String,
127
+ default: "accountTable"
128
+ },
129
+ refresh: {
130
+ type: Boolean,
131
+ default: true
132
+ }
133
+ }, {
134
+ "modelValue": {},
135
+ "modelModifiers": {}
136
+ }),
137
+ emits: /* @__PURE__ */ vue.mergeModels(["select", "reset"], ["update:modelValue"]),
138
+ setup(__props, { emit: __emit }) {
139
+ const modelValue = vue.useModel(__props, "modelValue");
140
+ const props = __props;
141
+ const visibleopenDialog = vue.ref(false);
142
+ const tableDialogRef = vue.ref();
143
+ const emit = __emit;
144
+ const querySearchAsync = async (queryString, cb) => {
145
+ var _a;
146
+ resetValue();
147
+ const postdata = { keywork: queryString, id: props.qId, ...props.params };
148
+ const res = await index.useBaseApi(props.atoService).post(postdata, props.atoAction);
149
+ const data = (_a = res.data.result) != null ? _a : [];
150
+ if (data.length === 0) {
151
+ return cb([]);
152
+ }
153
+ const results = data.map((item) => ({
154
+ ...item,
155
+ displayText: `${item[props.vName]}`
156
+ // 自定义展示格式
157
+ //fullData: item // 保留原始对象
158
+ }));
159
+ cb(results);
160
+ };
161
+ const handleSelect = (item) => {
162
+ for (let keyitem of props.vGroup) {
163
+ if (!item[keyitem.key]) {
164
+ continue;
165
+ }
166
+ modelValue.value[keyitem.key] = item[keyitem.key];
167
+ }
168
+ emit("select", item);
169
+ };
170
+ const resetValue = () => {
171
+ for (let item of props.vGroup) {
172
+ if (!item.key || item.key === "name") {
173
+ continue;
174
+ }
175
+ modelValue.value[item.key] = item.value;
176
+ }
177
+ emit("reset");
178
+ };
179
+ const handleSelectDialogChange = (item) => {
180
+ visibleopenDialog.value = false;
181
+ for (let keyitem of props.vGroup) {
182
+ if (!item[keyitem.key]) {
183
+ continue;
184
+ }
185
+ modelValue.value[keyitem.key] = item[keyitem.key];
186
+ }
187
+ emit("select", item);
188
+ };
189
+ const handleRefresh = () => {
190
+ if (tableDialogRef.value) {
191
+ tableDialogRef.value.handleQuery();
192
+ }
193
+ };
194
+ return (_ctx, _cache) => {
195
+ const _component_el_icon = vue.resolveComponent("el-icon");
196
+ const _component_el_autocomplete = vue.resolveComponent("el-autocomplete");
197
+ return vue.openBlock(), vue.createBlock(_component_el_autocomplete, {
198
+ modelValue: modelValue.value.name,
199
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => modelValue.value.name = $event),
200
+ debounce: 500,
201
+ "fetch-suggestions": querySearchAsync,
202
+ placeholder: props.placeholder,
203
+ "trigger-on-focus": false,
204
+ onSelect: handleSelect,
205
+ style: { "margin-top": "-2px" }
206
+ }, vue.createSlots({
207
+ default: vue.withCtx(({ item }) => [
208
+ vue.createElementVNode(
209
+ "div",
210
+ _hoisted_1,
211
+ vue.toDisplayString(item[__props.vName]) + " " + vue.toDisplayString(__props.vLabel != "" ? "(" + item[__props.vLabel] + ")" : ""),
212
+ 1
213
+ /* TEXT */
214
+ )
215
+ ]),
216
+ _: 2
217
+ /* DYNAMIC */
218
+ }, [
219
+ __props.openType > -1 ? {
220
+ name: "suffix",
221
+ fn: vue.withCtx(() => [
222
+ vue.createVNode(_component_el_icon, {
223
+ color: "#E6A23C",
224
+ size: __props.searchsize,
225
+ onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
226
+ visibleopenDialog.value = true;
227
+ if (props.refresh) {
228
+ handleRefresh();
229
+ }
230
+ }, ["stop"]))
231
+ }, {
232
+ default: vue.withCtx(() => [
233
+ vue.createVNode(vue.unref(svg.Search))
234
+ ]),
235
+ _: 1
236
+ /* STABLE */
237
+ }, 8, ["size"]),
238
+ __props.openType == 0 ? (vue.openBlock(), vue.createBlock(userSelectDialog_vue_vue_type_script_setup_true_lang.default, {
239
+ key: 0,
240
+ ref_key: "tableDialogRef",
241
+ ref: tableDialogRef,
242
+ visible: visibleopenDialog.value,
243
+ "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
244
+ orgService: __props.orgService,
245
+ orgAction: __props.orgAction,
246
+ orgparas: __props.params,
247
+ title: __props.title,
248
+ userService: __props.userService,
249
+ userAction: __props.userAction,
250
+ userParams: __props.params,
251
+ onChange: handleSelectDialogChange
252
+ }, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
253
+ __props.openType == 1 ? (vue.openBlock(), vue.createBlock(supplierUserSelectDialog_vue_vue_type_script_setup_true_lang.default, {
254
+ key: 1,
255
+ ref_key: "tableDialogRef",
256
+ ref: tableDialogRef,
257
+ visible: visibleopenDialog.value,
258
+ "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visibleopenDialog.value = $event),
259
+ title: __props.title,
260
+ userService: __props.userService,
261
+ userAction: __props.userAction,
262
+ userParams: __props.params,
263
+ onChange: handleSelectDialogChange
264
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
265
+ __props.openType == 2 ? (vue.openBlock(), vue.createBlock(supplierSelectDialog_vue_vue_type_script_setup_true_lang.default, {
266
+ key: 2,
267
+ ref_key: "tableDialogRef",
268
+ ref: tableDialogRef,
269
+ visible: visibleopenDialog.value,
270
+ "onUpdate:visible": _cache[3] || (_cache[3] = ($event) => visibleopenDialog.value = $event),
271
+ title: __props.title,
272
+ userService: __props.userService,
273
+ userAction: __props.userAction,
274
+ userParams: __props.params,
275
+ onChange: handleSelectDialogChange
276
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
277
+ vue.createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
278
+ __props.openType == 3 ? (vue.openBlock(), vue.createBlock(accountSelectDialog_vue_vue_type_script_setup_true_lang.default, {
279
+ key: 3,
280
+ ref_key: "tableDialogRef",
281
+ ref: tableDialogRef,
282
+ visible: visibleopenDialog.value,
283
+ "onUpdate:visible": _cache[4] || (_cache[4] = ($event) => visibleopenDialog.value = $event),
284
+ title: __props.title,
285
+ userService: __props.accountService,
286
+ userAction: __props.accountAction,
287
+ userParams: __props.params,
288
+ onChange: handleSelectDialogChange
289
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
290
+ vue.createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
291
+ __props.openType == 4 ? (vue.openBlock(), vue.createBlock(subjectSelectDialog_vue_vue_type_script_setup_true_lang.default, {
292
+ key: 4,
293
+ ref_key: "tableDialogRef",
294
+ ref: tableDialogRef,
295
+ visible: visibleopenDialog.value,
296
+ "onUpdate:visible": _cache[5] || (_cache[5] = ($event) => visibleopenDialog.value = $event),
297
+ title: __props.title,
298
+ subjectService: __props.subjectService,
299
+ subjectAction: __props.subjectAction,
300
+ subjectParams: __props.params,
301
+ onChange: handleSelectDialogChange
302
+ }, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : vue.createCommentVNode("v-if", true),
303
+ vue.createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
304
+ __props.openType == 5 ? (vue.openBlock(), vue.createBlock(linSelectDialog_vue_vue_type_script_setup_true_lang.default, {
305
+ key: 5,
306
+ ref_key: "tableDialogRef",
307
+ ref: tableDialogRef,
308
+ visible: visibleopenDialog.value,
309
+ "onUpdate:visible": _cache[6] || (_cache[6] = ($event) => visibleopenDialog.value = $event),
310
+ title: __props.title,
311
+ userService: __props.userService,
312
+ userAction: __props.userAction,
313
+ userParams: __props.params,
314
+ onChange: handleSelectDialogChange
315
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true)
316
+ ]),
317
+ key: "0"
318
+ } : void 0
319
+ ]), 1032, ["modelValue", "placeholder"]);
320
+ };
321
+ }
322
+ });
323
+
324
+ exports.default = _sfc_main;
@@ -39,7 +39,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
39
39
  }
40
40
  },
41
41
  emits: ["update:visible", "change"],
42
- setup(__props, { emit: __emit }) {
42
+ setup(__props, { expose: __expose, emit: __emit }) {
43
43
  let emits = __emit;
44
44
  const props = __props;
45
45
  const userList = vue.ref([]);
@@ -60,7 +60,6 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
60
60
  }
61
61
  });
62
62
  vue.onMounted(async () => {
63
- await getUserList();
64
63
  });
65
64
  const resetQuery = () => {
66
65
  state.queryParams = {};
@@ -95,6 +94,9 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
95
94
  checkedUsersList.value = [];
96
95
  emits("update:visible", false);
97
96
  };
97
+ __expose({
98
+ handleQuery
99
+ });
98
100
  return (_ctx, _cache) => {
99
101
  const _component_ele_Edit = vue.resolveComponent("ele-Edit");
100
102
  const _component_el_icon = vue.resolveComponent("el-icon");
@@ -62,7 +62,6 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
62
62
  }
63
63
  });
64
64
  vue.onMounted(async () => {
65
- await getUserList();
66
65
  });
67
66
  const resetQuery = () => {
68
67
  state.queryParams = {};