@fmdeui/fmui 1.0.143 → 1.0.145
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/fm-autocomplete/autoext.vue.d.ts +482 -1
- package/es/components/fm-autocomplete/index.d.ts +482 -1
- package/es/packages/components/fm-autocomplete/autoext2.vue.mjs +48 -20
- package/es/packages/components/fm-autocomplete/component/userSelectDialog2.vue.mjs +2 -2
- package/index.js +50 -22
- package/index.min.js +6 -6
- package/index.min.mjs +6 -6
- package/index.mjs +50 -22
- package/lib/components/fm-autocomplete/autoext.vue.d.ts +482 -1
- package/lib/components/fm-autocomplete/index.d.ts +482 -1
- package/lib/packages/components/fm-autocomplete/autoext2.vue.js +47 -19
- package/lib/packages/components/fm-autocomplete/component/userSelectDialog2.vue.js +2 -2
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/package.json +1 -1
- /package/es/{defaults.css → index.css} +0 -0
- /package/lib/{component.css → version.css} +0 -0
|
@@ -540,7 +540,488 @@ export declare const FmAutocompleteExt: DefineComponent<ExtractPropTypes<{
|
|
|
540
540
|
accountAction: string;
|
|
541
541
|
vGroup: any[];
|
|
542
542
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
543
|
-
|
|
543
|
+
tableUserDialogRef: 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
|
+
orgService: {
|
|
557
|
+
type: StringConstructor;
|
|
558
|
+
default: string;
|
|
559
|
+
};
|
|
560
|
+
orgAction: {
|
|
561
|
+
type: StringConstructor;
|
|
562
|
+
default: string;
|
|
563
|
+
};
|
|
564
|
+
orgPost: {
|
|
565
|
+
type: BooleanConstructor;
|
|
566
|
+
default: boolean;
|
|
567
|
+
};
|
|
568
|
+
orgparas: {
|
|
569
|
+
type: ObjectConstructor;
|
|
570
|
+
default: null;
|
|
571
|
+
};
|
|
572
|
+
userService: {
|
|
573
|
+
type: StringConstructor;
|
|
574
|
+
default: string;
|
|
575
|
+
};
|
|
576
|
+
userAction: {
|
|
577
|
+
type: StringConstructor;
|
|
578
|
+
default: string;
|
|
579
|
+
};
|
|
580
|
+
userParams: {
|
|
581
|
+
type: ObjectConstructor;
|
|
582
|
+
default: () => void;
|
|
583
|
+
};
|
|
584
|
+
}>> & Readonly<{
|
|
585
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
586
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
587
|
+
}>, {
|
|
588
|
+
handleQuery: () => Promise<void>;
|
|
589
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
590
|
+
change: (...args: any[]) => void;
|
|
591
|
+
"update:visible": (...args: any[]) => void;
|
|
592
|
+
}, PublicProps, {
|
|
593
|
+
title: string;
|
|
594
|
+
data: unknown[];
|
|
595
|
+
visible: boolean;
|
|
596
|
+
orgService: string;
|
|
597
|
+
orgAction: string;
|
|
598
|
+
orgPost: boolean;
|
|
599
|
+
orgparas: Record<string, any>;
|
|
600
|
+
userService: string;
|
|
601
|
+
userAction: string;
|
|
602
|
+
userParams: Record<string, any>;
|
|
603
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
604
|
+
orgTreeRef: unknown;
|
|
605
|
+
queryRef: unknown;
|
|
606
|
+
refTable: unknown;
|
|
607
|
+
}, any, ComponentProvideOptions, {
|
|
608
|
+
P: {};
|
|
609
|
+
B: {};
|
|
610
|
+
D: {};
|
|
611
|
+
C: {};
|
|
612
|
+
M: {};
|
|
613
|
+
Defaults: {};
|
|
614
|
+
}, Readonly< ExtractPropTypes<{
|
|
615
|
+
visible: {
|
|
616
|
+
type: BooleanConstructor;
|
|
617
|
+
default: boolean;
|
|
618
|
+
};
|
|
619
|
+
title: {
|
|
620
|
+
type: StringConstructor;
|
|
621
|
+
default: string;
|
|
622
|
+
};
|
|
623
|
+
data: {
|
|
624
|
+
type: ArrayConstructor;
|
|
625
|
+
default: () => never[];
|
|
626
|
+
};
|
|
627
|
+
orgService: {
|
|
628
|
+
type: StringConstructor;
|
|
629
|
+
default: string;
|
|
630
|
+
};
|
|
631
|
+
orgAction: {
|
|
632
|
+
type: StringConstructor;
|
|
633
|
+
default: string;
|
|
634
|
+
};
|
|
635
|
+
orgPost: {
|
|
636
|
+
type: BooleanConstructor;
|
|
637
|
+
default: boolean;
|
|
638
|
+
};
|
|
639
|
+
orgparas: {
|
|
640
|
+
type: ObjectConstructor;
|
|
641
|
+
default: null;
|
|
642
|
+
};
|
|
643
|
+
userService: {
|
|
644
|
+
type: StringConstructor;
|
|
645
|
+
default: string;
|
|
646
|
+
};
|
|
647
|
+
userAction: {
|
|
648
|
+
type: StringConstructor;
|
|
649
|
+
default: string;
|
|
650
|
+
};
|
|
651
|
+
userParams: {
|
|
652
|
+
type: ObjectConstructor;
|
|
653
|
+
default: () => void;
|
|
654
|
+
};
|
|
655
|
+
}>> & Readonly<{
|
|
656
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
657
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
658
|
+
}>, {
|
|
659
|
+
handleQuery: () => Promise<void>;
|
|
660
|
+
}, {}, {}, {}, {
|
|
661
|
+
title: string;
|
|
662
|
+
data: unknown[];
|
|
663
|
+
visible: boolean;
|
|
664
|
+
orgService: string;
|
|
665
|
+
orgAction: string;
|
|
666
|
+
orgPost: boolean;
|
|
667
|
+
orgparas: Record<string, any>;
|
|
668
|
+
userService: string;
|
|
669
|
+
userAction: string;
|
|
670
|
+
userParams: Record<string, any>;
|
|
671
|
+
}> | null;
|
|
672
|
+
tableSupplierUserDialogRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
673
|
+
visible: {
|
|
674
|
+
type: BooleanConstructor;
|
|
675
|
+
default: boolean;
|
|
676
|
+
};
|
|
677
|
+
title: {
|
|
678
|
+
type: StringConstructor;
|
|
679
|
+
default: string;
|
|
680
|
+
};
|
|
681
|
+
data: {
|
|
682
|
+
type: ArrayConstructor;
|
|
683
|
+
default: () => never[];
|
|
684
|
+
};
|
|
685
|
+
userService: {
|
|
686
|
+
type: StringConstructor;
|
|
687
|
+
default: string;
|
|
688
|
+
};
|
|
689
|
+
userAction: {
|
|
690
|
+
type: StringConstructor;
|
|
691
|
+
default: string;
|
|
692
|
+
};
|
|
693
|
+
userParams: {
|
|
694
|
+
type: ObjectConstructor;
|
|
695
|
+
default: () => void;
|
|
696
|
+
};
|
|
697
|
+
}>> & Readonly<{
|
|
698
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
699
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
700
|
+
}>, {
|
|
701
|
+
handleQuery: () => Promise<void>;
|
|
702
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
703
|
+
change: (...args: any[]) => void;
|
|
704
|
+
"update:visible": (...args: any[]) => void;
|
|
705
|
+
}, PublicProps, {
|
|
706
|
+
title: string;
|
|
707
|
+
data: unknown[];
|
|
708
|
+
visible: boolean;
|
|
709
|
+
userService: string;
|
|
710
|
+
userAction: string;
|
|
711
|
+
userParams: Record<string, any>;
|
|
712
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
713
|
+
queryRef: unknown;
|
|
714
|
+
refTable: unknown;
|
|
715
|
+
}, any, ComponentProvideOptions, {
|
|
716
|
+
P: {};
|
|
717
|
+
B: {};
|
|
718
|
+
D: {};
|
|
719
|
+
C: {};
|
|
720
|
+
M: {};
|
|
721
|
+
Defaults: {};
|
|
722
|
+
}, Readonly< ExtractPropTypes<{
|
|
723
|
+
visible: {
|
|
724
|
+
type: BooleanConstructor;
|
|
725
|
+
default: boolean;
|
|
726
|
+
};
|
|
727
|
+
title: {
|
|
728
|
+
type: StringConstructor;
|
|
729
|
+
default: string;
|
|
730
|
+
};
|
|
731
|
+
data: {
|
|
732
|
+
type: ArrayConstructor;
|
|
733
|
+
default: () => never[];
|
|
734
|
+
};
|
|
735
|
+
userService: {
|
|
736
|
+
type: StringConstructor;
|
|
737
|
+
default: string;
|
|
738
|
+
};
|
|
739
|
+
userAction: {
|
|
740
|
+
type: StringConstructor;
|
|
741
|
+
default: string;
|
|
742
|
+
};
|
|
743
|
+
userParams: {
|
|
744
|
+
type: ObjectConstructor;
|
|
745
|
+
default: () => void;
|
|
746
|
+
};
|
|
747
|
+
}>> & Readonly<{
|
|
748
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
749
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
750
|
+
}>, {
|
|
751
|
+
handleQuery: () => Promise<void>;
|
|
752
|
+
}, {}, {}, {}, {
|
|
753
|
+
title: string;
|
|
754
|
+
data: unknown[];
|
|
755
|
+
visible: boolean;
|
|
756
|
+
userService: string;
|
|
757
|
+
userAction: string;
|
|
758
|
+
userParams: Record<string, any>;
|
|
759
|
+
}> | null;
|
|
760
|
+
tableSupplierDialogRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
761
|
+
visible: {
|
|
762
|
+
type: BooleanConstructor;
|
|
763
|
+
default: boolean;
|
|
764
|
+
};
|
|
765
|
+
title: {
|
|
766
|
+
type: StringConstructor;
|
|
767
|
+
default: string;
|
|
768
|
+
};
|
|
769
|
+
data: {
|
|
770
|
+
type: ArrayConstructor;
|
|
771
|
+
default: () => never[];
|
|
772
|
+
};
|
|
773
|
+
userService: {
|
|
774
|
+
type: StringConstructor;
|
|
775
|
+
default: string;
|
|
776
|
+
};
|
|
777
|
+
userAction: {
|
|
778
|
+
type: StringConstructor;
|
|
779
|
+
default: string;
|
|
780
|
+
};
|
|
781
|
+
userParams: {
|
|
782
|
+
type: ObjectConstructor;
|
|
783
|
+
default: () => void;
|
|
784
|
+
};
|
|
785
|
+
}>> & Readonly<{
|
|
786
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
787
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
788
|
+
}>, {
|
|
789
|
+
handleQuery: () => Promise<void>;
|
|
790
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
791
|
+
change: (...args: any[]) => void;
|
|
792
|
+
"update:visible": (...args: any[]) => void;
|
|
793
|
+
}, PublicProps, {
|
|
794
|
+
title: string;
|
|
795
|
+
data: unknown[];
|
|
796
|
+
visible: boolean;
|
|
797
|
+
userService: string;
|
|
798
|
+
userAction: string;
|
|
799
|
+
userParams: Record<string, any>;
|
|
800
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
801
|
+
queryRef: unknown;
|
|
802
|
+
refTable: unknown;
|
|
803
|
+
}, any, ComponentProvideOptions, {
|
|
804
|
+
P: {};
|
|
805
|
+
B: {};
|
|
806
|
+
D: {};
|
|
807
|
+
C: {};
|
|
808
|
+
M: {};
|
|
809
|
+
Defaults: {};
|
|
810
|
+
}, Readonly< ExtractPropTypes<{
|
|
811
|
+
visible: {
|
|
812
|
+
type: BooleanConstructor;
|
|
813
|
+
default: boolean;
|
|
814
|
+
};
|
|
815
|
+
title: {
|
|
816
|
+
type: StringConstructor;
|
|
817
|
+
default: string;
|
|
818
|
+
};
|
|
819
|
+
data: {
|
|
820
|
+
type: ArrayConstructor;
|
|
821
|
+
default: () => never[];
|
|
822
|
+
};
|
|
823
|
+
userService: {
|
|
824
|
+
type: StringConstructor;
|
|
825
|
+
default: string;
|
|
826
|
+
};
|
|
827
|
+
userAction: {
|
|
828
|
+
type: StringConstructor;
|
|
829
|
+
default: string;
|
|
830
|
+
};
|
|
831
|
+
userParams: {
|
|
832
|
+
type: ObjectConstructor;
|
|
833
|
+
default: () => void;
|
|
834
|
+
};
|
|
835
|
+
}>> & Readonly<{
|
|
836
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
837
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
838
|
+
}>, {
|
|
839
|
+
handleQuery: () => Promise<void>;
|
|
840
|
+
}, {}, {}, {}, {
|
|
841
|
+
title: string;
|
|
842
|
+
data: unknown[];
|
|
843
|
+
visible: boolean;
|
|
844
|
+
userService: string;
|
|
845
|
+
userAction: string;
|
|
846
|
+
userParams: Record<string, any>;
|
|
847
|
+
}> | null;
|
|
848
|
+
tableAccountDialogRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
849
|
+
visible: {
|
|
850
|
+
type: BooleanConstructor;
|
|
851
|
+
default: boolean;
|
|
852
|
+
};
|
|
853
|
+
title: {
|
|
854
|
+
type: StringConstructor;
|
|
855
|
+
default: string;
|
|
856
|
+
};
|
|
857
|
+
data: {
|
|
858
|
+
type: ArrayConstructor;
|
|
859
|
+
default: () => never[];
|
|
860
|
+
};
|
|
861
|
+
userService: {
|
|
862
|
+
type: StringConstructor;
|
|
863
|
+
default: string;
|
|
864
|
+
};
|
|
865
|
+
userAction: {
|
|
866
|
+
type: StringConstructor;
|
|
867
|
+
default: string;
|
|
868
|
+
};
|
|
869
|
+
userParams: {
|
|
870
|
+
type: ObjectConstructor;
|
|
871
|
+
default: () => void;
|
|
872
|
+
};
|
|
873
|
+
}>> & Readonly<{
|
|
874
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
875
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
876
|
+
}>, {
|
|
877
|
+
handleQuery: () => Promise<void>;
|
|
878
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
879
|
+
change: (...args: any[]) => void;
|
|
880
|
+
"update:visible": (...args: any[]) => void;
|
|
881
|
+
}, PublicProps, {
|
|
882
|
+
title: string;
|
|
883
|
+
data: unknown[];
|
|
884
|
+
visible: boolean;
|
|
885
|
+
userService: string;
|
|
886
|
+
userAction: string;
|
|
887
|
+
userParams: Record<string, any>;
|
|
888
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
889
|
+
queryRef: unknown;
|
|
890
|
+
refTable: unknown;
|
|
891
|
+
}, any, ComponentProvideOptions, {
|
|
892
|
+
P: {};
|
|
893
|
+
B: {};
|
|
894
|
+
D: {};
|
|
895
|
+
C: {};
|
|
896
|
+
M: {};
|
|
897
|
+
Defaults: {};
|
|
898
|
+
}, Readonly< ExtractPropTypes<{
|
|
899
|
+
visible: {
|
|
900
|
+
type: BooleanConstructor;
|
|
901
|
+
default: boolean;
|
|
902
|
+
};
|
|
903
|
+
title: {
|
|
904
|
+
type: StringConstructor;
|
|
905
|
+
default: string;
|
|
906
|
+
};
|
|
907
|
+
data: {
|
|
908
|
+
type: ArrayConstructor;
|
|
909
|
+
default: () => never[];
|
|
910
|
+
};
|
|
911
|
+
userService: {
|
|
912
|
+
type: StringConstructor;
|
|
913
|
+
default: string;
|
|
914
|
+
};
|
|
915
|
+
userAction: {
|
|
916
|
+
type: StringConstructor;
|
|
917
|
+
default: string;
|
|
918
|
+
};
|
|
919
|
+
userParams: {
|
|
920
|
+
type: ObjectConstructor;
|
|
921
|
+
default: () => void;
|
|
922
|
+
};
|
|
923
|
+
}>> & Readonly<{
|
|
924
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
925
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
926
|
+
}>, {
|
|
927
|
+
handleQuery: () => Promise<void>;
|
|
928
|
+
}, {}, {}, {}, {
|
|
929
|
+
title: string;
|
|
930
|
+
data: unknown[];
|
|
931
|
+
visible: boolean;
|
|
932
|
+
userService: string;
|
|
933
|
+
userAction: string;
|
|
934
|
+
userParams: Record<string, any>;
|
|
935
|
+
}> | null;
|
|
936
|
+
tableSubjectDialogRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
937
|
+
visible: {
|
|
938
|
+
type: BooleanConstructor;
|
|
939
|
+
default: boolean;
|
|
940
|
+
};
|
|
941
|
+
title: {
|
|
942
|
+
type: StringConstructor;
|
|
943
|
+
default: string;
|
|
944
|
+
};
|
|
945
|
+
data: {
|
|
946
|
+
type: ArrayConstructor;
|
|
947
|
+
default: () => never[];
|
|
948
|
+
};
|
|
949
|
+
subjectService: {
|
|
950
|
+
type: StringConstructor;
|
|
951
|
+
default: string;
|
|
952
|
+
};
|
|
953
|
+
subjectAction: {
|
|
954
|
+
type: StringConstructor;
|
|
955
|
+
default: string;
|
|
956
|
+
};
|
|
957
|
+
subjectParams: {
|
|
958
|
+
type: ObjectConstructor;
|
|
959
|
+
default: () => void;
|
|
960
|
+
};
|
|
961
|
+
}>> & Readonly<{
|
|
962
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
963
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
964
|
+
}>, {
|
|
965
|
+
handleQuery: () => Promise<void>;
|
|
966
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
967
|
+
change: (...args: any[]) => void;
|
|
968
|
+
"update:visible": (...args: any[]) => void;
|
|
969
|
+
}, PublicProps, {
|
|
970
|
+
title: string;
|
|
971
|
+
data: unknown[];
|
|
972
|
+
visible: boolean;
|
|
973
|
+
subjectService: string;
|
|
974
|
+
subjectAction: string;
|
|
975
|
+
subjectParams: Record<string, any>;
|
|
976
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
977
|
+
queryRef: unknown;
|
|
978
|
+
refTable: unknown;
|
|
979
|
+
}, any, ComponentProvideOptions, {
|
|
980
|
+
P: {};
|
|
981
|
+
B: {};
|
|
982
|
+
D: {};
|
|
983
|
+
C: {};
|
|
984
|
+
M: {};
|
|
985
|
+
Defaults: {};
|
|
986
|
+
}, Readonly< ExtractPropTypes<{
|
|
987
|
+
visible: {
|
|
988
|
+
type: BooleanConstructor;
|
|
989
|
+
default: boolean;
|
|
990
|
+
};
|
|
991
|
+
title: {
|
|
992
|
+
type: StringConstructor;
|
|
993
|
+
default: string;
|
|
994
|
+
};
|
|
995
|
+
data: {
|
|
996
|
+
type: ArrayConstructor;
|
|
997
|
+
default: () => never[];
|
|
998
|
+
};
|
|
999
|
+
subjectService: {
|
|
1000
|
+
type: StringConstructor;
|
|
1001
|
+
default: string;
|
|
1002
|
+
};
|
|
1003
|
+
subjectAction: {
|
|
1004
|
+
type: StringConstructor;
|
|
1005
|
+
default: string;
|
|
1006
|
+
};
|
|
1007
|
+
subjectParams: {
|
|
1008
|
+
type: ObjectConstructor;
|
|
1009
|
+
default: () => void;
|
|
1010
|
+
};
|
|
1011
|
+
}>> & Readonly<{
|
|
1012
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
1013
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1014
|
+
}>, {
|
|
1015
|
+
handleQuery: () => Promise<void>;
|
|
1016
|
+
}, {}, {}, {}, {
|
|
1017
|
+
title: string;
|
|
1018
|
+
data: unknown[];
|
|
1019
|
+
visible: boolean;
|
|
1020
|
+
subjectService: string;
|
|
1021
|
+
subjectAction: string;
|
|
1022
|
+
subjectParams: Record<string, any>;
|
|
1023
|
+
}> | null;
|
|
1024
|
+
tableLineDialogRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
544
1025
|
visible: {
|
|
545
1026
|
type: BooleanConstructor;
|
|
546
1027
|
default: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useModel, ref, resolveComponent, openBlock, createBlock, createSlots, withCtx, createElementVNode, toDisplayString, createVNode, withModifiers, unref, createCommentVNode, mergeModels } from 'vue';
|
|
1
|
+
import { defineComponent, useModel, ref, nextTick, resolveComponent, openBlock, createBlock, createSlots, withCtx, createElementVNode, toDisplayString, createVNode, withModifiers, unref, createCommentVNode, mergeModels } from 'vue';
|
|
2
2
|
import { Search } from '@element-plus/icons-vue';
|
|
3
3
|
import '../../api/index.mjs';
|
|
4
4
|
import './component/userSelectDialog.vue.mjs';
|
|
@@ -135,7 +135,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
135
135
|
const modelValue = useModel(__props, "modelValue");
|
|
136
136
|
const props = __props;
|
|
137
137
|
const visibleopenDialog = ref(false);
|
|
138
|
-
const
|
|
138
|
+
const tableUserDialogRef = ref();
|
|
139
|
+
const tableSupplierUserDialogRef = ref();
|
|
140
|
+
const tableAccountDialogRef = ref();
|
|
141
|
+
const tableSubjectDialogRef = ref();
|
|
142
|
+
const tableLineDialogRef = ref();
|
|
143
|
+
const tableSupplierDialogRef = ref();
|
|
139
144
|
const emit = __emit;
|
|
140
145
|
const querySearchAsync = async (queryString, cb) => {
|
|
141
146
|
var _a;
|
|
@@ -165,7 +170,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
165
170
|
};
|
|
166
171
|
const resetValue = () => {
|
|
167
172
|
for (let item of props.vGroup) {
|
|
168
|
-
if (!item.key || item.key ===
|
|
173
|
+
if (!item.key || item.key === props.vName) {
|
|
169
174
|
continue;
|
|
170
175
|
}
|
|
171
176
|
modelValue.value[item.key] = item.value;
|
|
@@ -182,17 +187,40 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
182
187
|
}
|
|
183
188
|
emit("select", item);
|
|
184
189
|
};
|
|
185
|
-
const handleRefresh = () => {
|
|
186
|
-
|
|
187
|
-
|
|
190
|
+
const handleRefresh = async () => {
|
|
191
|
+
var _a;
|
|
192
|
+
await nextTick();
|
|
193
|
+
if (props.openType == 0) {
|
|
194
|
+
if (tableUserDialogRef.value) {
|
|
195
|
+
tableUserDialogRef.value.handleQuery();
|
|
196
|
+
}
|
|
197
|
+
} else if (props.openType == 1) {
|
|
198
|
+
if (tableSupplierUserDialogRef.value) {
|
|
199
|
+
tableSupplierUserDialogRef.value.handleQuery();
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
if (props.openType == 2) {
|
|
203
|
+
if (tableSupplierDialogRef.value) {
|
|
204
|
+
tableSupplierDialogRef.value.handleQuery();
|
|
205
|
+
}
|
|
206
|
+
} else if (props.openType == 3) {
|
|
207
|
+
if (tableAccountDialogRef.value) {
|
|
208
|
+
tableAccountDialogRef.value.handleQuery();
|
|
209
|
+
}
|
|
210
|
+
} else if (props.openType == 4) {
|
|
211
|
+
if (tableSubjectDialogRef.value) {
|
|
212
|
+
tableSubjectDialogRef.value.handleQuery();
|
|
213
|
+
}
|
|
214
|
+
} else if (props.openType == 5) {
|
|
215
|
+
(_a = tableLineDialogRef.value) == null ? void 0 : _a.handleQuery();
|
|
188
216
|
}
|
|
189
217
|
};
|
|
190
218
|
return (_ctx, _cache) => {
|
|
191
219
|
const _component_el_icon = resolveComponent("el-icon");
|
|
192
220
|
const _component_el_autocomplete = resolveComponent("el-autocomplete");
|
|
193
221
|
return openBlock(), createBlock(_component_el_autocomplete, {
|
|
194
|
-
modelValue: modelValue.value.
|
|
195
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => modelValue.value.
|
|
222
|
+
modelValue: modelValue.value[__props.vName],
|
|
223
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => modelValue.value[__props.vName] = $event),
|
|
196
224
|
debounce: 500,
|
|
197
225
|
"fetch-suggestions": querySearchAsync,
|
|
198
226
|
placeholder: props.placeholder,
|
|
@@ -233,8 +261,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
233
261
|
}, 8, ["size"]),
|
|
234
262
|
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$1, {
|
|
235
263
|
key: 0,
|
|
236
|
-
ref_key: "
|
|
237
|
-
ref:
|
|
264
|
+
ref_key: "tableUserDialogRef",
|
|
265
|
+
ref: tableUserDialogRef,
|
|
238
266
|
visible: visibleopenDialog.value,
|
|
239
267
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
|
|
240
268
|
orgService: __props.orgService,
|
|
@@ -248,8 +276,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
248
276
|
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
249
277
|
__props.openType == 1 ? (openBlock(), createBlock(_sfc_main$2, {
|
|
250
278
|
key: 1,
|
|
251
|
-
ref_key: "
|
|
252
|
-
ref:
|
|
279
|
+
ref_key: "tableSupplierUserDialogRef",
|
|
280
|
+
ref: tableSupplierUserDialogRef,
|
|
253
281
|
visible: visibleopenDialog.value,
|
|
254
282
|
"onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visibleopenDialog.value = $event),
|
|
255
283
|
title: __props.title,
|
|
@@ -260,8 +288,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
260
288
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
261
289
|
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$3, {
|
|
262
290
|
key: 2,
|
|
263
|
-
ref_key: "
|
|
264
|
-
ref:
|
|
291
|
+
ref_key: "tableSupplierDialogRef",
|
|
292
|
+
ref: tableSupplierDialogRef,
|
|
265
293
|
visible: visibleopenDialog.value,
|
|
266
294
|
"onUpdate:visible": _cache[3] || (_cache[3] = ($event) => visibleopenDialog.value = $event),
|
|
267
295
|
title: __props.title,
|
|
@@ -273,8 +301,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
273
301
|
createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
|
|
274
302
|
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$4, {
|
|
275
303
|
key: 3,
|
|
276
|
-
ref_key: "
|
|
277
|
-
ref:
|
|
304
|
+
ref_key: "tableAccountDialogRef",
|
|
305
|
+
ref: tableAccountDialogRef,
|
|
278
306
|
visible: visibleopenDialog.value,
|
|
279
307
|
"onUpdate:visible": _cache[4] || (_cache[4] = ($event) => visibleopenDialog.value = $event),
|
|
280
308
|
title: __props.title,
|
|
@@ -286,8 +314,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
286
314
|
createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
|
|
287
315
|
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$5, {
|
|
288
316
|
key: 4,
|
|
289
|
-
ref_key: "
|
|
290
|
-
ref:
|
|
317
|
+
ref_key: "tableSubjectDialogRef",
|
|
318
|
+
ref: tableSubjectDialogRef,
|
|
291
319
|
visible: visibleopenDialog.value,
|
|
292
320
|
"onUpdate:visible": _cache[5] || (_cache[5] = ($event) => visibleopenDialog.value = $event),
|
|
293
321
|
title: __props.title,
|
|
@@ -299,8 +327,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
299
327
|
createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
|
|
300
328
|
__props.openType == 5 ? (openBlock(), createBlock(_sfc_main$6, {
|
|
301
329
|
key: 5,
|
|
302
|
-
ref_key: "
|
|
303
|
-
ref:
|
|
330
|
+
ref_key: "tableLineDialogRef",
|
|
331
|
+
ref: tableLineDialogRef,
|
|
304
332
|
visible: visibleopenDialog.value,
|
|
305
333
|
"onUpdate:visible": _cache[6] || (_cache[6] = ($event) => visibleopenDialog.value = $event),
|
|
306
334
|
title: __props.title,
|
|
@@ -367,7 +367,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
367
367
|
/* STABLE */
|
|
368
368
|
}, 8, ["data"]),
|
|
369
369
|
createVNode(_component_el_pagination, {
|
|
370
|
-
|
|
370
|
+
"current-page": state.queryParams.page,
|
|
371
371
|
"page-size": state.queryParams.pageSize,
|
|
372
372
|
total: state.queryParams.total,
|
|
373
373
|
"page-sizes": [10, 20, 50, 100],
|
|
@@ -376,7 +376,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
376
376
|
onCurrentChange: handleCurrentChange,
|
|
377
377
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
378
378
|
style: { "padding-bottom": "8px" }
|
|
379
|
-
}, null, 8, ["
|
|
379
|
+
}, null, 8, ["current-page", "page-size", "total"])
|
|
380
380
|
]),
|
|
381
381
|
_: 1
|
|
382
382
|
/* STABLE */
|