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
|
@@ -217,8 +217,22 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
217
217
|
}
|
|
218
218
|
}()
|
|
219
219
|
}, {
|
|
220
|
-
value:
|
|
221
|
-
|
|
220
|
+
value: function() {
|
|
221
|
+
var _a, _b, _c;
|
|
222
|
+
try {
|
|
223
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.611")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.611")) || "\u5206";
|
|
224
|
+
} catch (e) {
|
|
225
|
+
return "\u5206";
|
|
226
|
+
}
|
|
227
|
+
}(),
|
|
228
|
+
text: function() {
|
|
229
|
+
var _a, _b, _c;
|
|
230
|
+
try {
|
|
231
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.611")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.611")) || "\u5206";
|
|
232
|
+
} catch (e) {
|
|
233
|
+
return "\u5206";
|
|
234
|
+
}
|
|
235
|
+
}()
|
|
222
236
|
}, {
|
|
223
237
|
value: function() {
|
|
224
238
|
var _a, _b, _c;
|
|
@@ -421,8 +421,8 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
421
421
|
default: () => never[];
|
|
422
422
|
};
|
|
423
423
|
evaluateResultConfig: {
|
|
424
|
-
type:
|
|
425
|
-
default: () =>
|
|
424
|
+
type: ArrayConstructor;
|
|
425
|
+
default: () => never[];
|
|
426
426
|
};
|
|
427
427
|
evaluateResultSetting: {
|
|
428
428
|
type: ObjectConstructor;
|
|
@@ -458,6 +458,9 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
458
458
|
vDrag: {
|
|
459
459
|
beforeMount(el: any, binding: any): void;
|
|
460
460
|
};
|
|
461
|
+
str1: string;
|
|
462
|
+
str2: string;
|
|
463
|
+
str3: string;
|
|
461
464
|
state: {
|
|
462
465
|
source: string;
|
|
463
466
|
setAnswered: number;
|
|
@@ -479,8 +482,8 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
479
482
|
default: () => never[];
|
|
480
483
|
};
|
|
481
484
|
evaluateResultConfig: {
|
|
482
|
-
type:
|
|
483
|
-
default: () =>
|
|
485
|
+
type: ArrayConstructor;
|
|
486
|
+
default: () => never[];
|
|
484
487
|
};
|
|
485
488
|
evaluateResultSetting: {
|
|
486
489
|
type: ObjectConstructor;
|
|
@@ -554,8 +557,8 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
554
557
|
default: () => never[];
|
|
555
558
|
};
|
|
556
559
|
evaluateResultConfig: {
|
|
557
|
-
type:
|
|
558
|
-
default: () =>
|
|
560
|
+
type: ArrayConstructor;
|
|
561
|
+
default: () => never[];
|
|
559
562
|
};
|
|
560
563
|
evaluateResultSetting: {
|
|
561
564
|
type: ObjectConstructor;
|
|
@@ -592,7 +595,7 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
592
595
|
}, {
|
|
593
596
|
isEvaluetaResSituation: boolean;
|
|
594
597
|
formArray: unknown[];
|
|
595
|
-
evaluateResultConfig:
|
|
598
|
+
evaluateResultConfig: unknown[];
|
|
596
599
|
evaluateResultSetting: Record<string, any>;
|
|
597
600
|
form: Record<string, any>;
|
|
598
601
|
currentTime: number;
|
|
@@ -607,8 +610,8 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
607
610
|
default: () => never[];
|
|
608
611
|
};
|
|
609
612
|
evaluateResultConfig: {
|
|
610
|
-
type:
|
|
611
|
-
default: () =>
|
|
613
|
+
type: ArrayConstructor;
|
|
614
|
+
default: () => never[];
|
|
612
615
|
};
|
|
613
616
|
evaluateResultSetting: {
|
|
614
617
|
type: ObjectConstructor;
|
|
@@ -623,6 +626,9 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
623
626
|
default: number;
|
|
624
627
|
};
|
|
625
628
|
}, {
|
|
629
|
+
str1: string;
|
|
630
|
+
str2: string;
|
|
631
|
+
str3: string;
|
|
626
632
|
state: {
|
|
627
633
|
source: string;
|
|
628
634
|
timer: null;
|
|
@@ -636,8 +642,8 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
636
642
|
default: () => never[];
|
|
637
643
|
};
|
|
638
644
|
evaluateResultConfig: {
|
|
639
|
-
type:
|
|
640
|
-
default: () =>
|
|
645
|
+
type: ArrayConstructor;
|
|
646
|
+
default: () => never[];
|
|
641
647
|
};
|
|
642
648
|
evaluateResultSetting: {
|
|
643
649
|
type: ObjectConstructor;
|
|
@@ -685,8 +691,8 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
685
691
|
default: () => never[];
|
|
686
692
|
};
|
|
687
693
|
evaluateResultConfig: {
|
|
688
|
-
type:
|
|
689
|
-
default: () =>
|
|
694
|
+
type: ArrayConstructor;
|
|
695
|
+
default: () => never[];
|
|
690
696
|
};
|
|
691
697
|
evaluateResultSetting: {
|
|
692
698
|
type: ObjectConstructor;
|
|
@@ -705,7 +711,7 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
705
711
|
onWriteGuage?: ((...args: any[]) => any) | undefined;
|
|
706
712
|
}, {
|
|
707
713
|
formArray: unknown[];
|
|
708
|
-
evaluateResultConfig:
|
|
714
|
+
evaluateResultConfig: unknown[];
|
|
709
715
|
evaluateResultSetting: Record<string, any>;
|
|
710
716
|
isFinished: boolean;
|
|
711
717
|
maxScore: number;
|
|
@@ -716,6 +722,10 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
716
722
|
default: () => {};
|
|
717
723
|
};
|
|
718
724
|
}, {
|
|
725
|
+
str1: string;
|
|
726
|
+
str2: string;
|
|
727
|
+
str3: string;
|
|
728
|
+
str4: string;
|
|
719
729
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
720
730
|
item: {
|
|
721
731
|
type: ObjectConstructor;
|
|
@@ -729,6 +739,7 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
729
739
|
scoreText: import("vue").ComputedRef<"" | "部分">;
|
|
730
740
|
correctAnswer: import("vue").ComputedRef<any>;
|
|
731
741
|
answerKeyText: import("vue").ComputedRef<any>;
|
|
742
|
+
answerStr: import("vue").ComputedRef<string>;
|
|
732
743
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
733
744
|
item: {
|
|
734
745
|
type: ObjectConstructor;
|
|
@@ -756,8 +767,8 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
756
767
|
default: number;
|
|
757
768
|
};
|
|
758
769
|
}>> & {}, {
|
|
759
|
-
maxScore: number;
|
|
760
770
|
config: Record<string, any>;
|
|
771
|
+
maxScore: number;
|
|
761
772
|
}>;
|
|
762
773
|
DescribeContent: import("vue").DefineComponent<{
|
|
763
774
|
content: {
|
|
@@ -419,8 +419,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
419
419
|
default: () => never[];
|
|
420
420
|
};
|
|
421
421
|
evaluateResultConfig: {
|
|
422
|
-
type:
|
|
423
|
-
default: () =>
|
|
422
|
+
type: ArrayConstructor;
|
|
423
|
+
default: () => never[];
|
|
424
424
|
};
|
|
425
425
|
evaluateResultSetting: {
|
|
426
426
|
type: ObjectConstructor;
|
|
@@ -456,6 +456,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
456
456
|
vDrag: {
|
|
457
457
|
beforeMount(el: any, binding: any): void;
|
|
458
458
|
};
|
|
459
|
+
str1: string;
|
|
460
|
+
str2: string;
|
|
461
|
+
str3: string;
|
|
459
462
|
state: {
|
|
460
463
|
source: string;
|
|
461
464
|
setAnswered: number;
|
|
@@ -477,8 +480,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
477
480
|
default: () => never[];
|
|
478
481
|
};
|
|
479
482
|
evaluateResultConfig: {
|
|
480
|
-
type:
|
|
481
|
-
default: () =>
|
|
483
|
+
type: ArrayConstructor;
|
|
484
|
+
default: () => never[];
|
|
482
485
|
};
|
|
483
486
|
evaluateResultSetting: {
|
|
484
487
|
type: ObjectConstructor;
|
|
@@ -552,8 +555,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
552
555
|
default: () => never[];
|
|
553
556
|
};
|
|
554
557
|
evaluateResultConfig: {
|
|
555
|
-
type:
|
|
556
|
-
default: () =>
|
|
558
|
+
type: ArrayConstructor;
|
|
559
|
+
default: () => never[];
|
|
557
560
|
};
|
|
558
561
|
evaluateResultSetting: {
|
|
559
562
|
type: ObjectConstructor;
|
|
@@ -590,7 +593,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
590
593
|
}, {
|
|
591
594
|
isEvaluetaResSituation: boolean;
|
|
592
595
|
formArray: unknown[];
|
|
593
|
-
evaluateResultConfig:
|
|
596
|
+
evaluateResultConfig: unknown[];
|
|
594
597
|
evaluateResultSetting: Record<string, any>;
|
|
595
598
|
form: Record<string, any>;
|
|
596
599
|
currentTime: number;
|
|
@@ -605,8 +608,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
605
608
|
default: () => never[];
|
|
606
609
|
};
|
|
607
610
|
evaluateResultConfig: {
|
|
608
|
-
type:
|
|
609
|
-
default: () =>
|
|
611
|
+
type: ArrayConstructor;
|
|
612
|
+
default: () => never[];
|
|
610
613
|
};
|
|
611
614
|
evaluateResultSetting: {
|
|
612
615
|
type: ObjectConstructor;
|
|
@@ -621,6 +624,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
621
624
|
default: number;
|
|
622
625
|
};
|
|
623
626
|
}, {
|
|
627
|
+
str1: string;
|
|
628
|
+
str2: string;
|
|
629
|
+
str3: string;
|
|
624
630
|
state: {
|
|
625
631
|
source: string;
|
|
626
632
|
timer: null;
|
|
@@ -634,8 +640,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
634
640
|
default: () => never[];
|
|
635
641
|
};
|
|
636
642
|
evaluateResultConfig: {
|
|
637
|
-
type:
|
|
638
|
-
default: () =>
|
|
643
|
+
type: ArrayConstructor;
|
|
644
|
+
default: () => never[];
|
|
639
645
|
};
|
|
640
646
|
evaluateResultSetting: {
|
|
641
647
|
type: ObjectConstructor;
|
|
@@ -683,8 +689,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
683
689
|
default: () => never[];
|
|
684
690
|
};
|
|
685
691
|
evaluateResultConfig: {
|
|
686
|
-
type:
|
|
687
|
-
default: () =>
|
|
692
|
+
type: ArrayConstructor;
|
|
693
|
+
default: () => never[];
|
|
688
694
|
};
|
|
689
695
|
evaluateResultSetting: {
|
|
690
696
|
type: ObjectConstructor;
|
|
@@ -703,7 +709,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
703
709
|
onWriteGuage?: ((...args: any[]) => any) | undefined;
|
|
704
710
|
}, {
|
|
705
711
|
formArray: unknown[];
|
|
706
|
-
evaluateResultConfig:
|
|
712
|
+
evaluateResultConfig: unknown[];
|
|
707
713
|
evaluateResultSetting: Record<string, any>;
|
|
708
714
|
isFinished: boolean;
|
|
709
715
|
maxScore: number;
|
|
@@ -714,6 +720,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
714
720
|
default: () => {};
|
|
715
721
|
};
|
|
716
722
|
}, {
|
|
723
|
+
str1: string;
|
|
724
|
+
str2: string;
|
|
725
|
+
str3: string;
|
|
726
|
+
str4: string;
|
|
717
727
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
718
728
|
item: {
|
|
719
729
|
type: ObjectConstructor;
|
|
@@ -727,6 +737,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
727
737
|
scoreText: import("vue").ComputedRef<"" | "部分">;
|
|
728
738
|
correctAnswer: import("vue").ComputedRef<any>;
|
|
729
739
|
answerKeyText: import("vue").ComputedRef<any>;
|
|
740
|
+
answerStr: import("vue").ComputedRef<string>;
|
|
730
741
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
731
742
|
item: {
|
|
732
743
|
type: ObjectConstructor;
|
|
@@ -754,8 +765,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
754
765
|
default: number;
|
|
755
766
|
};
|
|
756
767
|
}>> & {}, {
|
|
757
|
-
maxScore: number;
|
|
758
768
|
config: Record<string, any>;
|
|
769
|
+
maxScore: number;
|
|
759
770
|
}>;
|
|
760
771
|
DescribeContent: import("vue").DefineComponent<{
|
|
761
772
|
content: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, reactive, ref, watch, nextTick, openBlock, createElementBlock, normalizeClass, unref, Fragment, createBlock, mergeProps, createCommentVNode, createElementVNode,
|
|
1
|
+
import { defineComponent, reactive, ref, watch, nextTick, openBlock, createElementBlock, normalizeClass, unref, Fragment, createBlock, mergeProps, createCommentVNode, createElementVNode, createVNode, withCtx, renderList, toDisplayString, createTextVNode, resolveDynamicComponent, renderSlot } from 'vue';
|
|
2
2
|
import useNoData from './hooks/use-noData.js';
|
|
3
3
|
import { ScaleViewProps } from './hooks/scaleview-props.js';
|
|
4
4
|
import { getScaleViewState } from './hooks/scaleview-state.js';
|
|
@@ -217,8 +217,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
217
217
|
class: normalizeClass(["scale-container", {
|
|
218
218
|
"scale-container-nopadding": unref(handlePageClass),
|
|
219
219
|
"scale-container-hasfooter": unref(showScaleFooter)
|
|
220
|
-
}])
|
|
221
|
-
style: normalizeStyle(unref(scaleStyle))
|
|
220
|
+
}])
|
|
222
221
|
}, [unref(hasScore) ? (openBlock(), createBlock(unref(ScaleScore), {
|
|
223
222
|
key: 0,
|
|
224
223
|
config: state.config,
|
|
@@ -241,7 +240,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
241
240
|
key: 0,
|
|
242
241
|
path: item.val_key,
|
|
243
242
|
"show-label": !unref(isCollection)(item.type),
|
|
244
|
-
class: "c-scle-form-item"
|
|
243
|
+
class: normalizeClass(["c-scle-form-item", ["c-scale-form-item-" + item.type]])
|
|
245
244
|
}, {
|
|
246
245
|
label: withCtx(() => [createElementVNode("span", {
|
|
247
246
|
class: normalizeClass({
|
|
@@ -252,7 +251,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
252
251
|
key: 2,
|
|
253
252
|
class: "evalute-tip",
|
|
254
253
|
onClick: ($event) => unref(showEvaTipModal)(item)
|
|
255
|
-
}, [_hoisted_5, createTextVNode(
|
|
254
|
+
}, [_hoisted_5, createTextVNode(function() {
|
|
255
|
+
var _a, _b, _c;
|
|
256
|
+
try {
|
|
257
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.578")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.578")) || "\u67E5\u770B\u63D0\u793A";
|
|
258
|
+
} catch (e) {
|
|
259
|
+
return "\u67E5\u770B\u63D0\u793A";
|
|
260
|
+
}
|
|
261
|
+
}())], 8, _hoisted_4)) : createCommentVNode("v-if", true)]),
|
|
256
262
|
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(item.renderCom), mergeProps(unref(propsConfig)(item, index), {
|
|
257
263
|
key: (item.id || item.seq) + index + (item.randomKey || 0),
|
|
258
264
|
onScaleChange: unref(scaleChange),
|
|
@@ -263,13 +269,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
263
269
|
item
|
|
264
270
|
}, null, 8, ["item"])) : createCommentVNode("v-if", true)]),
|
|
265
271
|
_: 2
|
|
266
|
-
}, 1032, ["path", "show-label"])) : createCommentVNode("v-if", true)], 64);
|
|
272
|
+
}, 1032, ["path", "show-label", "class"])) : createCommentVNode("v-if", true)], 64);
|
|
267
273
|
}), 128))]),
|
|
268
274
|
_: 1
|
|
269
275
|
}, 8, ["model", "rules"]), unref(desEnd) ? (openBlock(), createBlock(DescribeContent, {
|
|
270
276
|
key: 2,
|
|
271
277
|
content: unref(desContent)
|
|
272
|
-
}, null, 8, ["content"])) : createCommentVNode("v-if", true)],
|
|
278
|
+
}, null, 8, ["content"])) : createCommentVNode("v-if", true)], 2), unref(showScaleFooter) ? (openBlock(), createElementBlock("div", _hoisted_6, [createCommentVNode(" \u5206\u4EAB\u7684\u94FE\u63A5 \u9690\u85CF\u53D6\u6D88\u6309\u94AE "), unref(isCancelBtn) ? (openBlock(), createBlock(unref(NButton), {
|
|
273
279
|
key: 0,
|
|
274
280
|
onClick: cancel
|
|
275
281
|
}, {
|
|
@@ -4,6 +4,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4
4
|
default: () => {};
|
|
5
5
|
};
|
|
6
6
|
}, {
|
|
7
|
+
str1: string;
|
|
8
|
+
str2: string;
|
|
9
|
+
str3: string;
|
|
10
|
+
str4: string;
|
|
7
11
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
8
12
|
item: {
|
|
9
13
|
type: ObjectConstructor;
|
|
@@ -17,6 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
21
|
scoreText: import("vue").ComputedRef<"" | "部分">;
|
|
18
22
|
correctAnswer: import("vue").ComputedRef<any>;
|
|
19
23
|
answerKeyText: import("vue").ComputedRef<any>;
|
|
24
|
+
answerStr: import("vue").ComputedRef<string>;
|
|
20
25
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
26
|
item: {
|
|
22
27
|
type: ObjectConstructor;
|
|
@@ -13,11 +13,9 @@ const _hoisted_4 = {
|
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "correct-answer"
|
|
15
15
|
};
|
|
16
|
-
const _hoisted_5 =
|
|
17
|
-
const _hoisted_6 = {
|
|
16
|
+
const _hoisted_5 = {
|
|
18
17
|
class: "answer-key"
|
|
19
18
|
};
|
|
20
|
-
const _hoisted_7 = /* @__PURE__ */ createElementVNode("p", null, "\u7B54\u6848\u89E3\u6790\uFF1A", -1);
|
|
21
19
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
22
20
|
__name: "AnswerParse",
|
|
23
21
|
props: {
|
|
@@ -28,6 +26,38 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28
26
|
},
|
|
29
27
|
setup(__props) {
|
|
30
28
|
const props = __props;
|
|
29
|
+
const str1 = function() {
|
|
30
|
+
var _a, _b, _c;
|
|
31
|
+
try {
|
|
32
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.615")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.615")) || "\u5F97\u5206\uFF1A";
|
|
33
|
+
} catch (e) {
|
|
34
|
+
return "\u5F97\u5206\uFF1A";
|
|
35
|
+
}
|
|
36
|
+
}();
|
|
37
|
+
const str2 = function() {
|
|
38
|
+
var _a, _b, _c;
|
|
39
|
+
try {
|
|
40
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.611")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.611")) || "\u5206";
|
|
41
|
+
} catch (e) {
|
|
42
|
+
return "\u5206";
|
|
43
|
+
}
|
|
44
|
+
}();
|
|
45
|
+
const str3 = function() {
|
|
46
|
+
var _a, _b, _c;
|
|
47
|
+
try {
|
|
48
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.614")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.614")) || "\u6B63\u786E\u7B54\u6848\uFF1A";
|
|
49
|
+
} catch (e) {
|
|
50
|
+
return "\u6B63\u786E\u7B54\u6848\uFF1A";
|
|
51
|
+
}
|
|
52
|
+
}();
|
|
53
|
+
const str4 = function() {
|
|
54
|
+
var _a, _b, _c;
|
|
55
|
+
try {
|
|
56
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.613")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.613")) || "\u7B54\u6848\u89E3\u6790\uFF1A";
|
|
57
|
+
} catch (e) {
|
|
58
|
+
return "\u7B54\u6848\u89E3\u6790\uFF1A";
|
|
59
|
+
}
|
|
60
|
+
}();
|
|
31
61
|
const questionScore = computed(() => {
|
|
32
62
|
var _a;
|
|
33
63
|
return ((_a = props.item) == null ? void 0 : _a.questionScore) || 0;
|
|
@@ -42,14 +72,42 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
72
|
const answerResText = computed(() => {
|
|
43
73
|
var _a;
|
|
44
74
|
if ((_a = props.item) == null ? void 0 : _a.questionPartScore) {
|
|
45
|
-
return
|
|
75
|
+
return function() {
|
|
76
|
+
var _a2, _b, _c;
|
|
77
|
+
try {
|
|
78
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.610")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.610")) || "\u90E8\u5206\u6B63\u786E";
|
|
79
|
+
} catch (e) {
|
|
80
|
+
return "\u90E8\u5206\u6B63\u786E";
|
|
81
|
+
}
|
|
82
|
+
}();
|
|
46
83
|
}
|
|
47
|
-
return answerSuccess.value ?
|
|
84
|
+
return answerSuccess.value ? function() {
|
|
85
|
+
var _a2, _b, _c;
|
|
86
|
+
try {
|
|
87
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.609")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.609")) || "\u56DE\u7B54\u6B63\u786E";
|
|
88
|
+
} catch (e) {
|
|
89
|
+
return "\u56DE\u7B54\u6B63\u786E";
|
|
90
|
+
}
|
|
91
|
+
}() : function() {
|
|
92
|
+
var _a2, _b, _c;
|
|
93
|
+
try {
|
|
94
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.608")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.608")) || "\u56DE\u7B54\u9519\u8BEF";
|
|
95
|
+
} catch (e) {
|
|
96
|
+
return "\u56DE\u7B54\u9519\u8BEF";
|
|
97
|
+
}
|
|
98
|
+
}();
|
|
48
99
|
});
|
|
49
100
|
const scoreText = computed(() => {
|
|
50
101
|
var _a;
|
|
51
102
|
if ((_a = props.item) == null ? void 0 : _a.questionPartScore) {
|
|
52
|
-
return
|
|
103
|
+
return function() {
|
|
104
|
+
var _a2, _b, _c;
|
|
105
|
+
try {
|
|
106
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.607")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.607")) || "\u90E8\u5206";
|
|
107
|
+
} catch (e) {
|
|
108
|
+
return "\u90E8\u5206";
|
|
109
|
+
}
|
|
110
|
+
}();
|
|
53
111
|
}
|
|
54
112
|
return "";
|
|
55
113
|
});
|
|
@@ -65,8 +123,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
65
123
|
let {
|
|
66
124
|
answerKey
|
|
67
125
|
} = ((_a = props.item) == null ? void 0 : _a.scoreConfigs) || {};
|
|
68
|
-
return answerKey ||
|
|
126
|
+
return answerKey || function() {
|
|
127
|
+
var _a2, _b, _c;
|
|
128
|
+
try {
|
|
129
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.606")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.606")) || "\u65E0";
|
|
130
|
+
} catch (e) {
|
|
131
|
+
return "\u65E0";
|
|
132
|
+
}
|
|
133
|
+
}();
|
|
69
134
|
});
|
|
135
|
+
const answerStr = computed(() => `${scoreText.value}${str1}${questionScore.value}${str2}`);
|
|
70
136
|
return (_ctx, _cache) => {
|
|
71
137
|
return openBlock(), createElementBlock("div", {
|
|
72
138
|
class: normalizeClass(["c-answerParse", {
|
|
@@ -74,7 +140,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
74
140
|
}])
|
|
75
141
|
}, [createElementVNode("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createElementVNode("i", {
|
|
76
142
|
class: normalizeClass(["scale-view-iconfont", unref(answerIcon)])
|
|
77
|
-
}, null, 2), createTextVNode(" " + toDisplayString(unref(answerResText)), 1)]), unref(answerSuccess) ? (openBlock(), createElementBlock("div", _hoisted_3, toDisplayString(unref(
|
|
143
|
+
}, null, 2), createTextVNode(" " + toDisplayString(unref(answerResText)), 1)]), unref(answerSuccess) ? (openBlock(), createElementBlock("div", _hoisted_3, toDisplayString(unref(answerStr)), 1)) : createCommentVNode("v-if", true)]), unref(correctAnswer) ? (openBlock(), createElementBlock("div", _hoisted_4, [createElementVNode("p", null, toDisplayString(str3)), createElementVNode("span", null, toDisplayString(unref(correctAnswer)), 1)])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_5, [createElementVNode("p", null, toDisplayString(str4)), createElementVNode("span", null, toDisplayString(unref(answerKeyText)), 1)])], 2);
|
|
78
144
|
};
|
|
79
145
|
}
|
|
80
146
|
});
|
|
@@ -4,8 +4,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4
4
|
default: () => never[];
|
|
5
5
|
};
|
|
6
6
|
evaluateResultConfig: {
|
|
7
|
-
type:
|
|
8
|
-
default: () =>
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
default: () => never[];
|
|
9
9
|
};
|
|
10
10
|
evaluateResultSetting: {
|
|
11
11
|
type: ObjectConstructor;
|
|
@@ -41,6 +41,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
41
|
vDrag: {
|
|
42
42
|
beforeMount(el: any, binding: any): void;
|
|
43
43
|
};
|
|
44
|
+
str1: string;
|
|
45
|
+
str2: string;
|
|
46
|
+
str3: string;
|
|
44
47
|
state: {
|
|
45
48
|
source: string;
|
|
46
49
|
setAnswered: number;
|
|
@@ -62,8 +65,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
65
|
default: () => never[];
|
|
63
66
|
};
|
|
64
67
|
evaluateResultConfig: {
|
|
65
|
-
type:
|
|
66
|
-
default: () =>
|
|
68
|
+
type: ArrayConstructor;
|
|
69
|
+
default: () => never[];
|
|
67
70
|
};
|
|
68
71
|
evaluateResultSetting: {
|
|
69
72
|
type: ObjectConstructor;
|
|
@@ -137,8 +140,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
137
140
|
default: () => never[];
|
|
138
141
|
};
|
|
139
142
|
evaluateResultConfig: {
|
|
140
|
-
type:
|
|
141
|
-
default: () =>
|
|
143
|
+
type: ArrayConstructor;
|
|
144
|
+
default: () => never[];
|
|
142
145
|
};
|
|
143
146
|
evaluateResultSetting: {
|
|
144
147
|
type: ObjectConstructor;
|
|
@@ -175,7 +178,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
175
178
|
}, {
|
|
176
179
|
isEvaluetaResSituation: boolean;
|
|
177
180
|
formArray: unknown[];
|
|
178
|
-
evaluateResultConfig:
|
|
181
|
+
evaluateResultConfig: unknown[];
|
|
179
182
|
evaluateResultSetting: Record<string, any>;
|
|
180
183
|
form: Record<string, any>;
|
|
181
184
|
currentTime: number;
|
|
@@ -42,8 +42,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
42
|
default: () => []
|
|
43
43
|
},
|
|
44
44
|
evaluateResultConfig: {
|
|
45
|
-
type:
|
|
46
|
-
default: () =>
|
|
45
|
+
type: Array,
|
|
46
|
+
default: () => []
|
|
47
47
|
},
|
|
48
48
|
evaluateResultSetting: {
|
|
49
49
|
type: Object,
|
|
@@ -83,6 +83,30 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
83
83
|
}) {
|
|
84
84
|
const props = __props;
|
|
85
85
|
const vDrag = drag;
|
|
86
|
+
const str1 = function() {
|
|
87
|
+
var _a, _b, _c;
|
|
88
|
+
try {
|
|
89
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.618")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.618")) || "\u4F5C\u7B54\u6570\u91CF\uFF1A";
|
|
90
|
+
} catch (e) {
|
|
91
|
+
return "\u4F5C\u7B54\u6570\u91CF\uFF1A";
|
|
92
|
+
}
|
|
93
|
+
}();
|
|
94
|
+
const str2 = function() {
|
|
95
|
+
var _a, _b, _c;
|
|
96
|
+
try {
|
|
97
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.617")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.617")) || "\u4F5C\u7B54\u5206\u6570\uFF1A";
|
|
98
|
+
} catch (e) {
|
|
99
|
+
return "\u4F5C\u7B54\u5206\u6570\uFF1A";
|
|
100
|
+
}
|
|
101
|
+
}();
|
|
102
|
+
const str3 = function() {
|
|
103
|
+
var _a, _b, _c;
|
|
104
|
+
try {
|
|
105
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.616")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.616")) || "\u4F5C\u7B54\u7ED3\u679C\uFF1A";
|
|
106
|
+
} catch (e) {
|
|
107
|
+
return "\u4F5C\u7B54\u7ED3\u679C\uFF1A";
|
|
108
|
+
}
|
|
109
|
+
}();
|
|
86
110
|
const state = reactive({
|
|
87
111
|
source: "countdown",
|
|
88
112
|
setAnswered: 0,
|
|
@@ -281,9 +305,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
281
305
|
class: normalizeClass(["countdown", {
|
|
282
306
|
"countdown-red": unref(evaluateState).countdownRed
|
|
283
307
|
}])
|
|
284
|
-
}, [createElementVNode("span", null, toDisplayString(unref(evaluateState).countdownStr), 1), _hoisted_2], 2)) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_3, [createElementVNode("div", _hoisted_4, [createTextVNode("
|
|
308
|
+
}, [createElementVNode("span", null, toDisplayString(unref(evaluateState).countdownStr), 1), _hoisted_2], 2)) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_3, [createElementVNode("div", _hoisted_4, [createTextVNode(toDisplayString(str1) + " "), createElementVNode("span", _hoisted_5, toDisplayString(state.setAnswered), 1), createTextVNode(" / "), createElementVNode("span", _hoisted_6, toDisplayString(unref(curShowTotalLen)), 1)]), unref(showResSituationDetail) ? (openBlock(), createElementBlock(Fragment, {
|
|
285
309
|
key: 0
|
|
286
|
-
}, [createElementVNode("div", null, [createTextVNode("
|
|
310
|
+
}, [createElementVNode("div", null, [createTextVNode(toDisplayString(str2) + " "), createElementVNode("span", _hoisted_7, toDisplayString(state.answeredScore), 1), createTextVNode(" / "), createElementVNode("span", _hoisted_8, toDisplayString(state.totalScore), 1)]), state.answeredRes ? (openBlock(), createElementBlock("div", _hoisted_9, [createTextVNode(toDisplayString(str3) + " "), createElementVNode("span", {
|
|
287
311
|
style: normalizeStyle({
|
|
288
312
|
color: state.answeredColor
|
|
289
313
|
})
|
|
@@ -4,8 +4,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4
4
|
default: () => never[];
|
|
5
5
|
};
|
|
6
6
|
evaluateResultConfig: {
|
|
7
|
-
type:
|
|
8
|
-
default: () =>
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
default: () => never[];
|
|
9
9
|
};
|
|
10
10
|
evaluateResultSetting: {
|
|
11
11
|
type: ObjectConstructor;
|
|
@@ -20,6 +20,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
default: number;
|
|
21
21
|
};
|
|
22
22
|
}, {
|
|
23
|
+
str1: string;
|
|
24
|
+
str2: string;
|
|
25
|
+
str3: string;
|
|
23
26
|
state: {
|
|
24
27
|
source: string;
|
|
25
28
|
timer: null;
|
|
@@ -33,8 +36,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
36
|
default: () => never[];
|
|
34
37
|
};
|
|
35
38
|
evaluateResultConfig: {
|
|
36
|
-
type:
|
|
37
|
-
default: () =>
|
|
39
|
+
type: ArrayConstructor;
|
|
40
|
+
default: () => never[];
|
|
38
41
|
};
|
|
39
42
|
evaluateResultSetting: {
|
|
40
43
|
type: ObjectConstructor;
|
|
@@ -82,8 +85,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
85
|
default: () => never[];
|
|
83
86
|
};
|
|
84
87
|
evaluateResultConfig: {
|
|
85
|
-
type:
|
|
86
|
-
default: () =>
|
|
88
|
+
type: ArrayConstructor;
|
|
89
|
+
default: () => never[];
|
|
87
90
|
};
|
|
88
91
|
evaluateResultSetting: {
|
|
89
92
|
type: ObjectConstructor;
|
|
@@ -102,7 +105,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
102
105
|
onWriteGuage?: ((...args: any[]) => any) | undefined;
|
|
103
106
|
}, {
|
|
104
107
|
formArray: unknown[];
|
|
105
|
-
evaluateResultConfig:
|
|
108
|
+
evaluateResultConfig: unknown[];
|
|
106
109
|
evaluateResultSetting: Record<string, any>;
|
|
107
110
|
isFinished: boolean;
|
|
108
111
|
maxScore: number;
|