cnhis-design-vue 3.2.6-beta.2 → 3.2.6-beta.20
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/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/button-print/index.d.ts +4 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +4 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +4 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
- package/es/components/button-print/src/utils/print.d.ts +4 -2
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +6 -4
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/default-page/index.d.ts +11 -3
- package/es/components/default-page/src/constants/index.d.ts +1 -0
- package/es/components/default-page/src/constants/index.js +1 -1
- package/es/components/default-page/src/index.vue.d.ts +11 -3
- package/es/components/default-page/src/index.vue2.js +1 -1
- package/es/components/default-page/style/index.css +1 -1
- package/es/components/expand-field/index.d.ts +1109 -321
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +1109 -321
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +1109 -321
- package/es/components/expand-field/src/components/form.vue.d.ts +1109 -321
- package/es/components/expand-field/src/index.vue.d.ts +1109 -321
- package/es/components/fabric-chart/src/constants/index.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/form-config/index.d.ts +12 -8
- package/es/components/form-config/src/FormConfig.vue.d.ts +12 -8
- package/es/components/form-config/src/FormConfig.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +6 -4
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +6 -4
- package/es/components/form-config/src/utils/index.d.ts +1 -0
- package/es/components/form-config/src/utils/index.js +1 -1
- package/es/components/form-render/index.d.ts +6 -4
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +5 -3
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +6 -4
- package/es/components/form-render/src/FormRenderWrapper.vue2.js +1 -1
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/index.d.ts +0 -1
- package/es/components/form-render/src/hooks/index.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/usePresetScope.d.ts +1 -0
- package/es/components/form-render/src/hooks/usePresetScope.js +1 -1
- package/es/components/form-render/src/types/index.d.ts +4 -1
- package/es/components/form-render/src/utils/index.d.ts +1 -0
- package/es/components/form-render/src/utils/index.js +1 -1
- package/es/components/iho-chat/index.d.ts +543 -35
- package/es/components/iho-chat/src/Index.vue.d.ts +549 -40
- package/es/components/iho-chat/src/Index.vue2.js +1 -1
- package/es/components/iho-chat/src/api/index.d.ts +5 -0
- package/es/components/iho-chat/src/api/index.js +1 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +89 -0
- package/es/components/iho-chat/src/components/ChatAdd.vue.js +1 -0
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -0
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +1 -1
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +103 -30
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +131 -5
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +26 -3
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +1 -2
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +10 -3
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +16 -1
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +1 -1
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +133 -0
- package/es/components/iho-chat/src/components/MultipleVideo.vue.js +1 -0
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -0
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +15 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
- package/es/components/iho-chat/src/components/Video.vue.d.ts +43 -27
- package/es/components/iho-chat/src/components/Video.vue.js +1 -0
- package/es/components/iho-chat/src/components/Video.vue2.js +1 -0
- package/es/components/iho-chat/src/constants/index.d.ts +10 -1
- package/es/components/iho-chat/src/constants/index.js +1 -1
- package/es/components/iho-chat/src/hooks/index.d.ts +1 -0
- package/es/components/iho-chat/src/hooks/index.js +1 -1
- package/es/components/iho-chat/src/hooks/useSession.d.ts +1 -0
- package/es/components/iho-chat/src/hooks/useSession.js +1 -1
- package/es/components/iho-chat/src/hooks/useState.d.ts +5 -0
- package/es/components/iho-chat/src/hooks/useState.js +1 -1
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +24 -0
- package/es/components/iho-chat/src/hooks/useVideo.js +1 -0
- package/es/components/iho-chat/src/types/index.d.ts +5 -0
- package/es/components/iho-chat/src/utils/index.d.ts +3 -2
- package/es/components/iho-chat/src/utils/index.js +1 -1
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/keyboardEventPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/renderer.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +18 -14
- package/es/components/info-header/src/InfoHeader.vue.d.ts +18 -14
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +6 -6
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +6 -6
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +3 -3
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +3 -3
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue2.js +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +12 -10
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +6 -4
- package/es/components/recommend-search/index.d.ts +8 -8
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +8 -8
- package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +3 -3
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +3 -3
- package/es/components/scale-view/index.d.ts +29 -1
- package/es/components/scale-view/src/ScaleView.vue.d.ts +29 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.d.ts +3 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-props.d.ts +8 -0
- package/es/components/scale-view/src/hooks/scaleview-props.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-person/index.d.ts +1109 -321
- package/es/components/select-person/index.js +1 -1
- package/es/components/select-person/src/SelectPerson.vue.d.ts +4 -10
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/select-person/src/SelectPersonType.vue.d.ts +314 -0
- package/es/components/select-person/src/SelectPersonType.vue.js +1 -0
- package/es/components/select-person/src/SelectPersonType.vue2.js +1 -0
- package/es/components/select-person/src/components/SearchMultiple.vue.js +1 -0
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue.js +1 -0
- package/es/components/select-person/src/constants/index.d.ts +2 -0
- package/es/components/select-person/src/constants/index.js +1 -0
- package/es/components/select-person/src/index.vue.d.ts +1385 -0
- package/es/components/select-person/src/index.vue.js +1 -0
- package/es/components/select-person/src/index.vue2.js +1 -0
- package/es/components/shortcut-setter/index.d.ts +6 -4
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +6 -4
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
- package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
- package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
- package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
- package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
- package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
- package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
- package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
- package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
- package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
- package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/table_style_2.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/hooks/useAsyncQueue/index.d.ts +3 -0
- package/es/shared/hooks/useAsyncQueue/index.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/fabricjs/index.d.ts +6823 -0
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +2 -2
- package/es/components/form-render/src/hooks/useAutoHidden.d.ts +0 -4
- package/es/components/form-render/src/hooks/useAutoHidden.js +0 -1
- package/es/components/select-person/src/SearchMultiple.vue.js +0 -1
- package/es/components/select-person/src/SearchOrgAndStaff.vue.js +0 -1
- /package/es/components/select-person/src/{SearchMultiple.vue.d.ts → components/SearchMultiple.vue.d.ts} +0 -0
- /package/es/components/select-person/src/{SearchMultiple.vue2.js → components/SearchMultiple.vue2.js} +0 -0
- /package/es/components/select-person/src/{SearchOrgAndStaff.vue.d.ts → components/SearchOrgAndStaff.vue.d.ts} +0 -0
- /package/es/components/select-person/src/{SearchOrgAndStaff.vue2.js → components/SearchOrgAndStaff.vue2.js} +0 -0
@@ -52,7 +52,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
52
52
|
formRenderRef: import("vue").Ref<FormRenderExpose | undefined>;
|
53
53
|
key: import("vue").Ref<number>;
|
54
54
|
reload: () => Promise<void>;
|
55
|
-
formRenderExposeKeyList: readonly ["validate", "getFormValues", "setFormValues", "setFieldState", "resetFields", "queryWidget", "getFieldList", "applySelectedSetting", "getTextFormValues"];
|
55
|
+
formRenderExposeKeyList: readonly ["validate", "getFormValues", "setFormValues", "setFieldState", "resetFields", "queryWidget", "getFieldList", "applySelectedSetting", "getTextFormValues", "optionInited"];
|
56
56
|
exposed: Partial<FormRenderExpose>;
|
57
57
|
FormRender: import("vue").DefineComponent<{
|
58
58
|
fieldList: {
|
@@ -461,6 +461,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
461
461
|
businessCollector: import("../../../../../components/form-render").BusinessCollector;
|
462
462
|
formItemDepsCollector: import("../../../../../components/form-render").FormItemDepsCollector;
|
463
463
|
changeContextCollector: import("../../../../../components/form-render").ContextCollector;
|
464
|
+
asyncQueue: import("../../../../../shared/hooks").AsyncQueue<import("../../../../../shared/hooks").FormRequestDefine.AsyncQueueItem, any, {
|
465
|
+
label: string;
|
466
|
+
value: unknown;
|
467
|
+
}[]>;
|
464
468
|
formUUID: string;
|
465
469
|
anchorBarRef: import("vue").Ref<{
|
466
470
|
syncBarPosition: import("../../../../../shared/types").AnyFn;
|
@@ -492,13 +496,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
492
496
|
afterRequest(fieldKey: string, res?: any, payload?: import("../../../../../shared/types").AnyObject | undefined): import("../../../../../shared/types").AnyObject[] | Promise<import("../../../../../shared/types").AnyObject[]>;
|
493
497
|
afterOptionInit(fieldKey: string, options: import("../../../../../shared/types").AnyObject[], payload?: import("../../../../../shared/types").AnyObject | undefined): void;
|
494
498
|
}>>[T]>>;
|
495
|
-
triggerAutoHidden: (field: import("@formily/core").GeneralField, includeLinebar?: boolean) => Promise<void>;
|
496
499
|
observeFormGraph: Record<string, import("@formily/core").GeneralField>;
|
497
500
|
setGraph: (field: import("@formily/core").GeneralField) => void;
|
498
501
|
removeGraph: (field: import("@formily/core").GeneralField) => void;
|
499
502
|
lowCodeEventTrigger: (field: import("@formily/core").GeneralField) => void;
|
500
503
|
emitFormChange: import("vue").Ref<boolean>;
|
501
|
-
isReady: boolean;
|
502
504
|
formModel: import("@formily/core").Form<{
|
503
505
|
[x: string]: any;
|
504
506
|
}>;
|
@@ -788,7 +790,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
788
790
|
startIncrementalRender: () => void;
|
789
791
|
onKeydown: (event: KeyboardEvent) => Promise<void>;
|
790
792
|
clearSpan: (uuid: string) => void;
|
791
|
-
exposeEvent: Omit<FormRenderExpose, "getFieldList" | "formModel" | "reload">;
|
793
|
+
exposeEvent: Omit<FormRenderExpose, "getFieldList" | "optionInited" | "formModel" | "reload">;
|
792
794
|
useVersion: typeof import("../../../../../shared/hooks").useVersion;
|
793
795
|
FormConsumer: import("vue").DefineComponent<{}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
794
796
|
FormProvider: import("vue").DefineComponent<Record<"form", any>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Record<"form", any>>>, {
|
@@ -99,8 +99,8 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
99
99
|
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
100
100
|
};
|
101
101
|
}>> & {
|
102
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
103
102
|
onSearch?: ((...args: any[]) => any) | undefined;
|
103
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
104
104
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
105
105
|
onDelete?: ((...args: any[]) => any) | undefined;
|
106
106
|
onClear?: ((...args: any[]) => any) | undefined;
|
@@ -168,8 +168,8 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
168
168
|
default: boolean;
|
169
169
|
};
|
170
170
|
}>> & {
|
171
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
172
171
|
onSearch?: ((...args: any[]) => any) | undefined;
|
172
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
173
173
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
174
174
|
onDelete?: ((...args: any[]) => any) | undefined;
|
175
175
|
onClear?: ((...args: any[]) => any) | undefined;
|
@@ -327,9 +327,9 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
327
327
|
default: boolean;
|
328
328
|
};
|
329
329
|
}>> & {
|
330
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
330
331
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
331
332
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
332
|
-
onSearch?: ((...args: any[]) => any) | undefined;
|
333
333
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
334
334
|
onClear?: ((...args: any[]) => any) | undefined;
|
335
335
|
onOpenMenu?: ((...args: any[]) => any) | undefined;
|
@@ -371,8 +371,8 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
371
371
|
default: boolean;
|
372
372
|
};
|
373
373
|
}>> & {
|
374
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
375
374
|
onSearch?: ((...args: any[]) => any) | undefined;
|
375
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
376
376
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
377
377
|
onDelete?: ((...args: any[]) => any) | undefined;
|
378
378
|
onClear?: ((...args: any[]) => any) | undefined;
|
@@ -452,8 +452,8 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
452
452
|
default: () => never[];
|
453
453
|
};
|
454
454
|
}>> & {
|
455
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
456
455
|
onSearch?: ((...args: any[]) => any) | undefined;
|
456
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
457
457
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
458
458
|
onDelete?: ((...args: any[]) => any) | undefined;
|
459
459
|
onClear?: ((...args: any[]) => any) | undefined;
|
@@ -559,9 +559,9 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
559
559
|
default: boolean;
|
560
560
|
};
|
561
561
|
}>> & {
|
562
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
562
563
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
563
564
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
564
|
-
onSearch?: ((...args: any[]) => any) | undefined;
|
565
565
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
566
566
|
onClear?: ((...args: any[]) => any) | undefined;
|
567
567
|
onOpenMenu?: ((...args: any[]) => any) | undefined;
|
@@ -608,8 +608,8 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
608
608
|
default: () => never[];
|
609
609
|
};
|
610
610
|
}>> & {
|
611
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
612
611
|
onSearch?: ((...args: any[]) => any) | undefined;
|
612
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
613
613
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
614
614
|
onDelete?: ((...args: any[]) => any) | undefined;
|
615
615
|
onClear?: ((...args: any[]) => any) | undefined;
|
@@ -679,8 +679,8 @@ declare const RecommendSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
679
679
|
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
680
680
|
};
|
681
681
|
}>> & {
|
682
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
683
682
|
onSearch?: ((...args: any[]) => any) | undefined;
|
683
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
684
684
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
685
685
|
onDelete?: ((...args: any[]) => any) | undefined;
|
686
686
|
onClear?: ((...args: any[]) => any) | undefined;
|
@@ -101,8 +101,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
101
101
|
type: PropType<AnyObject>;
|
102
102
|
};
|
103
103
|
}>> & {
|
104
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
105
104
|
onSearch?: ((...args: any[]) => any) | undefined;
|
105
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
106
106
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
107
107
|
onDelete?: ((...args: any[]) => any) | undefined;
|
108
108
|
onClear?: ((...args: any[]) => any) | undefined;
|
@@ -170,8 +170,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
170
170
|
default: boolean;
|
171
171
|
};
|
172
172
|
}>> & {
|
173
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
174
173
|
onSearch?: ((...args: any[]) => any) | undefined;
|
174
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
175
175
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
176
176
|
onDelete?: ((...args: any[]) => any) | undefined;
|
177
177
|
onClear?: ((...args: any[]) => any) | undefined;
|
@@ -329,9 +329,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
329
329
|
default: boolean;
|
330
330
|
};
|
331
331
|
}>> & {
|
332
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
332
333
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
333
334
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
334
|
-
onSearch?: ((...args: any[]) => any) | undefined;
|
335
335
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
336
336
|
onClear?: ((...args: any[]) => any) | undefined;
|
337
337
|
onOpenMenu?: ((...args: any[]) => any) | undefined;
|
@@ -373,8 +373,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
373
373
|
default: boolean;
|
374
374
|
};
|
375
375
|
}>> & {
|
376
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
377
376
|
onSearch?: ((...args: any[]) => any) | undefined;
|
377
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
378
378
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
379
379
|
onDelete?: ((...args: any[]) => any) | undefined;
|
380
380
|
onClear?: ((...args: any[]) => any) | undefined;
|
@@ -454,8 +454,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
454
454
|
default: () => never[];
|
455
455
|
};
|
456
456
|
}>> & {
|
457
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
458
457
|
onSearch?: ((...args: any[]) => any) | undefined;
|
458
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
459
459
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
460
460
|
onDelete?: ((...args: any[]) => any) | undefined;
|
461
461
|
onClear?: ((...args: any[]) => any) | undefined;
|
@@ -561,9 +561,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
561
561
|
default: boolean;
|
562
562
|
};
|
563
563
|
}>> & {
|
564
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
564
565
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
565
566
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
566
|
-
onSearch?: ((...args: any[]) => any) | undefined;
|
567
567
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
568
568
|
onClear?: ((...args: any[]) => any) | undefined;
|
569
569
|
onOpenMenu?: ((...args: any[]) => any) | undefined;
|
@@ -610,8 +610,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
610
610
|
default: () => never[];
|
611
611
|
};
|
612
612
|
}>> & {
|
613
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
614
613
|
onSearch?: ((...args: any[]) => any) | undefined;
|
614
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
615
615
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
616
616
|
onDelete?: ((...args: any[]) => any) | undefined;
|
617
617
|
onClear?: ((...args: any[]) => any) | undefined;
|
@@ -681,8 +681,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
681
681
|
type: PropType<AnyObject>;
|
682
682
|
};
|
683
683
|
}>> & {
|
684
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
685
684
|
onSearch?: ((...args: any[]) => any) | undefined;
|
685
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
686
686
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
687
687
|
onDelete?: ((...args: any[]) => any) | undefined;
|
688
688
|
onClear?: ((...args: any[]) => any) | undefined;
|
@@ -66,9 +66,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
66
66
|
default: boolean;
|
67
67
|
};
|
68
68
|
}>> & {
|
69
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
69
70
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
70
71
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
71
|
-
onSearch?: ((...args: any[]) => any) | undefined;
|
72
72
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
73
73
|
onClear?: ((...args: any[]) => any) | undefined;
|
74
74
|
onOpenMenu?: ((...args: any[]) => any) | undefined;
|
@@ -60,8 +60,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
60
60
|
default: boolean;
|
61
61
|
};
|
62
62
|
}>> & {
|
63
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
64
63
|
onSearch?: ((...args: any[]) => any) | undefined;
|
64
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
65
65
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
66
66
|
onDelete?: ((...args: any[]) => any) | undefined;
|
67
67
|
onClear?: ((...args: any[]) => any) | undefined;
|
@@ -219,9 +219,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
219
219
|
default: boolean;
|
220
220
|
};
|
221
221
|
}>> & {
|
222
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
222
223
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
223
224
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
224
|
-
onSearch?: ((...args: any[]) => any) | undefined;
|
225
225
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
226
226
|
onClear?: ((...args: any[]) => any) | undefined;
|
227
227
|
onOpenMenu?: ((...args: any[]) => any) | undefined;
|
@@ -263,8 +263,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
263
263
|
default: boolean;
|
264
264
|
};
|
265
265
|
}>> & {
|
266
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
267
266
|
onSearch?: ((...args: any[]) => any) | undefined;
|
267
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
268
268
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
269
269
|
onDelete?: ((...args: any[]) => any) | undefined;
|
270
270
|
onClear?: ((...args: any[]) => any) | undefined;
|
@@ -67,8 +67,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
67
67
|
default: () => never[];
|
68
68
|
};
|
69
69
|
}>> & {
|
70
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
71
70
|
onSearch?: ((...args: any[]) => any) | undefined;
|
71
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
72
72
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
73
73
|
onDelete?: ((...args: any[]) => any) | undefined;
|
74
74
|
onClear?: ((...args: any[]) => any) | undefined;
|
@@ -174,9 +174,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
174
174
|
default: boolean;
|
175
175
|
};
|
176
176
|
}>> & {
|
177
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
177
178
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
178
179
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
179
|
-
onSearch?: ((...args: any[]) => any) | undefined;
|
180
180
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
181
181
|
onClear?: ((...args: any[]) => any) | undefined;
|
182
182
|
onOpenMenu?: ((...args: any[]) => any) | undefined;
|
@@ -223,8 +223,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
223
223
|
default: () => never[];
|
224
224
|
};
|
225
225
|
}>> & {
|
226
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
227
226
|
onSearch?: ((...args: any[]) => any) | undefined;
|
227
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
228
228
|
onCloseMenu?: ((...args: any[]) => any) | undefined;
|
229
229
|
onDelete?: ((...args: any[]) => any) | undefined;
|
230
230
|
onClear?: ((...args: any[]) => any) | undefined;
|
@@ -101,6 +101,14 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
101
101
|
extrasmall: number;
|
102
102
|
};
|
103
103
|
};
|
104
|
+
hasExtendBtn: {
|
105
|
+
type: BooleanConstructor;
|
106
|
+
default: boolean;
|
107
|
+
};
|
108
|
+
printingHideBtn: {
|
109
|
+
type: BooleanConstructor;
|
110
|
+
default: boolean;
|
111
|
+
};
|
104
112
|
}, {
|
105
113
|
ScaleViewState: {
|
106
114
|
other: string;
|
@@ -236,6 +244,14 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
236
244
|
extrasmall: number;
|
237
245
|
};
|
238
246
|
};
|
247
|
+
hasExtendBtn: {
|
248
|
+
type: BooleanConstructor;
|
249
|
+
default: boolean;
|
250
|
+
};
|
251
|
+
printingHideBtn: {
|
252
|
+
type: BooleanConstructor;
|
253
|
+
default: boolean;
|
254
|
+
};
|
239
255
|
}>> & {
|
240
256
|
onOnCloseSetting?: ((...args: any[]) => any) | undefined;
|
241
257
|
onSubmitNoRequest?: ((...args: any[]) => any) | undefined;
|
@@ -271,7 +287,9 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
271
287
|
isPreviewScale: import("vue").ComputedRef<any>;
|
272
288
|
showEvaluateEntry: import("vue").ComputedRef<any>;
|
273
289
|
showEvaluateCoundownPage: import("vue").ComputedRef<any>;
|
274
|
-
|
290
|
+
showScaleFooter: import("vue").ComputedRef<any>;
|
291
|
+
isCancelBtn: import("vue").ComputedRef<any>;
|
292
|
+
isSaveBtn: import("vue").ComputedRef<any>;
|
275
293
|
showEvaluateLabel: import("vue").ComputedRef<(item: any) => any>;
|
276
294
|
showAnswerParse: import("vue").ComputedRef<(item: any) => any>;
|
277
295
|
propsConfig: import("vue").ComputedRef<(item: any, index: number) => any>;
|
@@ -818,6 +836,14 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
818
836
|
extrasmall: number;
|
819
837
|
};
|
820
838
|
};
|
839
|
+
hasExtendBtn: {
|
840
|
+
type: BooleanConstructor;
|
841
|
+
default: boolean;
|
842
|
+
};
|
843
|
+
printingHideBtn: {
|
844
|
+
type: BooleanConstructor;
|
845
|
+
default: boolean;
|
846
|
+
};
|
821
847
|
}>> & {
|
822
848
|
onOnCloseSetting?: ((...args: any[]) => any) | undefined;
|
823
849
|
onSubmitNoRequest?: ((...args: any[]) => any) | undefined;
|
@@ -846,6 +872,8 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
846
872
|
ak: string;
|
847
873
|
getChunkUploadConfig: Function;
|
848
874
|
fontSizeObj: Record<string, any>;
|
875
|
+
hasExtendBtn: boolean;
|
876
|
+
printingHideBtn: boolean;
|
849
877
|
}>>;
|
850
878
|
declare const CRadio: SFCWithInstall<import("vue").DefineComponent<{
|
851
879
|
form: {
|
@@ -99,6 +99,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
99
99
|
extrasmall: number;
|
100
100
|
};
|
101
101
|
};
|
102
|
+
hasExtendBtn: {
|
103
|
+
type: BooleanConstructor;
|
104
|
+
default: boolean;
|
105
|
+
};
|
106
|
+
printingHideBtn: {
|
107
|
+
type: BooleanConstructor;
|
108
|
+
default: boolean;
|
109
|
+
};
|
102
110
|
}, {
|
103
111
|
ScaleViewState: {
|
104
112
|
other: string;
|
@@ -234,6 +242,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
234
242
|
extrasmall: number;
|
235
243
|
};
|
236
244
|
};
|
245
|
+
hasExtendBtn: {
|
246
|
+
type: BooleanConstructor;
|
247
|
+
default: boolean;
|
248
|
+
};
|
249
|
+
printingHideBtn: {
|
250
|
+
type: BooleanConstructor;
|
251
|
+
default: boolean;
|
252
|
+
};
|
237
253
|
}>> & {
|
238
254
|
onOnCloseSetting?: ((...args: any[]) => any) | undefined;
|
239
255
|
onSubmitNoRequest?: ((...args: any[]) => any) | undefined;
|
@@ -269,7 +285,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
269
285
|
isPreviewScale: import("vue").ComputedRef<any>;
|
270
286
|
showEvaluateEntry: import("vue").ComputedRef<any>;
|
271
287
|
showEvaluateCoundownPage: import("vue").ComputedRef<any>;
|
272
|
-
|
288
|
+
showScaleFooter: import("vue").ComputedRef<any>;
|
289
|
+
isCancelBtn: import("vue").ComputedRef<any>;
|
290
|
+
isSaveBtn: import("vue").ComputedRef<any>;
|
273
291
|
showEvaluateLabel: import("vue").ComputedRef<(item: any) => any>;
|
274
292
|
showAnswerParse: import("vue").ComputedRef<(item: any) => any>;
|
275
293
|
propsConfig: import("vue").ComputedRef<(item: any, index: number) => any>;
|
@@ -816,6 +834,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
816
834
|
extrasmall: number;
|
817
835
|
};
|
818
836
|
};
|
837
|
+
hasExtendBtn: {
|
838
|
+
type: BooleanConstructor;
|
839
|
+
default: boolean;
|
840
|
+
};
|
841
|
+
printingHideBtn: {
|
842
|
+
type: BooleanConstructor;
|
843
|
+
default: boolean;
|
844
|
+
};
|
819
845
|
}>> & {
|
820
846
|
onOnCloseSetting?: ((...args: any[]) => any) | undefined;
|
821
847
|
onSubmitNoRequest?: ((...args: any[]) => any) | undefined;
|
@@ -844,5 +870,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
844
870
|
ak: string;
|
845
871
|
getChunkUploadConfig: Function;
|
846
872
|
fontSizeObj: Record<string, any>;
|
873
|
+
hasExtendBtn: boolean;
|
874
|
+
printingHideBtn: boolean;
|
847
875
|
}>;
|
848
876
|
export default _default;
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,reactive as o,ref as t,watch as a,nextTick as n,openBlock as s,createElementBlock as i,normalizeClass as l,unref as r,createCommentVNode as m,Fragment as c,createBlock as u,mergeProps as d,createElementVNode as p,normalizeStyle as v,createVNode as f,withCtx as g,renderList as h,toDisplayString as k,createTextVNode as y,resolveDynamicComponent as w}from"vue";import
|
1
|
+
import{defineComponent as e,reactive as o,ref as t,watch as a,nextTick as n,openBlock as s,createElementBlock as i,normalizeClass as l,unref as r,createCommentVNode as m,Fragment as c,createBlock as u,mergeProps as d,createElementVNode as p,normalizeStyle as v,createVNode as f,withCtx as g,renderList as h,toDisplayString as k,createTextVNode as y,resolveDynamicComponent as w,renderSlot as S}from"vue";import b from"./hooks/use-noData.js";import{ScaleViewProps as C}from"./hooks/scaleview-props.js";import{getScaleViewState as D}from"./hooks/scaleview-state.js";import{ScaleViewComputed as E}from"./hooks/scaleview-computed.js";import{ScaleViewInit as j}from"./hooks/scaleview-init.js";import{ScaleViewSubmit as _}from"./hooks/scaleview-submit.js";import{ScaleViewMethods as x}from"./hooks/scaleview-methods.js";import{handleQueryParams as F,isCollection as P}from"./utils/judge-types.js";import{useEvent as q}from"./hooks/use-event.js";import"xe-utils";import"moment";import L from"../../../shared/utils/vexutilsExpand.js";import N from"./components/NoData.vue.js";import R from"./components/EvaluateCountdown.vue.js";import A from"./components/EvaluatePage.vue.js";import M from"./components/AnswerParse.vue.js";import O from"./components/ScaleScore.js";import T from"./components/DescribeContent.vue.js";import{NForm as I,NFormItem as B,NButton as J}from"naive-ui";const V=["innerHTML"],G={key:0,class:"required-text"},W={key:1,class:"evalute-label"},H=["onClick"],Q=p("i",{class:"scale-view-iconfont icon-scale-view-dengpao"},null,-1),$={key:1,class:"footer"};var z=e({__name:"ScaleView",props:C,emits:["onCloseSetting","submitNoRequest","onSubmit","startWriteScale"],setup(e,{expose:C,emit:z}){const K=e,{ScaleViewState:U}=D(),X=o(U),Y=t(null),Z=t(null),{noDataState:ee,setNoData:oe,resetNodata:te}=b(),ae=F(),{showEvatip:ne,isFormBoldOpen:se,scaleStyle:ie,handlePageClass:le,isShowItem:re,handleShowQuestionNumber:me,hasScore:ce,isPreviewScale:ue,showEvaluateEntry:de,showEvaluateCoundownPage:pe,showScaleFooter:ve,isCancelBtn:fe,isSaveBtn:ge,showEvaluateLabel:he,showAnswerParse:ke,propsConfig:ye,evaluatePageProps:we,evaluateCountdownProps:Se,isEvaluetaResSituation:be,disableEdit:Ce,desStart:De,desEnd:Ee,desContent:je}=E(K,X,{query:ae}),{initForm:_e}=j(K,X,z,{query:ae}),{submitMethod:xe,onSubmitData:Fe,onSubmitForm:Pe,handleScoreJson:qe}=_(K,X,z,{query:ae,formRef:Z,countdownDom:Y}),{nextLogicEvent:Le,handleDynamicDataRelation:Ne}=q(K,X),{scaleChange:Re,labelChange:Ae,vodFileList:Me,writeGuage:Oe,closeEvaluateCountdown:Te,showEvaTipModal:Ie}=x(K,X,z,{nextLogicEvent:Le,handleDynamicDataRelation:Ne,isPreviewScale:ue,submitMethod:xe,isEvaluetaResSituation:be,handleScoreJson:qe,disableEdit:Ce});(()=>{let{id:e}=ae;e&&(X.shareId=e)})();const Be=e=>{try{te(),_e(e)}catch(e){console.log(e,"--error"),X.spinning=!1,X.hasFrontAddress=!1,oe(!0,null==e?void 0:e.resultMsg,null==e?void 0:e.result)}};a((()=>K.ids),((e,o)=>{o?e.guage_id&&e.guage_id!=o.guage_id&&Be(e):e.guage_id&&Be(e)}),{immediate:!0}),a((()=>K.guageData),(e=>{if(!e||!Object.keys(e||{}).length)return;X.form={},X.formArray=[];const o=JSON.parse(JSON.stringify(e));n((()=>{_e(o)}))}),{immediate:!0});const Je=L.debounce(Fe,300),Ve=()=>{z("onCloseSetting")};return C({getScaleData:()=>({...X}),onSubmitForm:Pe,cancel:Ve}),(e,o)=>(s(),i("div",{class:l(["c-scale-view-block",{"c-scale-view-block-hasfooter":r(ve)}])},[m(' <template v-if="state.spinning">\n <n-spin :show="state.spinning" description="加载中"></n-spin>\n </template> '),X.spinning||X.hasFrontAddress?m("v-if",!0):(s(),i(c,{key:0},[r(ee).noData?(s(),u(N,{key:0,noDataImg:r(ee).noDataImg,noDataTip:r(ee).noDataTip},null,8,["noDataImg","noDataTip"])):(s(),i(c,{key:1},[r(de)?(s(),u(A,d({key:0},r(we),{onWriteGuage:r(Oe)}),null,16,["onWriteGuage"])):(s(),i(c,{key:1},[r(pe)?(s(),u(R,d({key:0,ref_key:"countdownDom",ref:Y},r(Se),{onCloseEvaluateCountdown:r(Te)}),null,16,["onCloseEvaluateCountdown"])):m("v-if",!0),p("div",{class:l(["scale-container",{"scale-container-nopadding":r(le),"scale-container-hasfooter":r(ve)}]),style:v(r(ie))},[r(ce)?(s(),u(r(O),{key:0,config:X.config,maxScore:X.maxScore},null,8,["config","maxScore"])):m("v-if",!0),r(De)?(s(),u(T,{key:1,content:r(je)},null,8,["content"])):m("v-if",!0),f(r(I),{ref_key:"formRef",ref:Z,model:X.form,rules:X.rules,"require-mark-placement":"left",class:"main"},{default:g((()=>[(s(!0),i(c,null,h(X.formArray,((e,o)=>(s(),i(c,{key:(e.id||e.seq)+o},[r(re)(e)?(s(),u(r(B),{key:0,path:e.val_key,"show-label":!r(P)(e.type),class:"c-scle-form-item"},{label:g((()=>[p("span",{class:l({"scale-label-required":r(se)(e)}),innerHTML:r(me)(e)},null,10,V),r(se)(e)?(s(),i("span",G,"(必填)")):m("v-if",!0),r(he)(e)?(s(),i("span",W,k(r(he)(e)),1)):m("v-if",!0),r(ne)(e)?(s(),i("span",{key:2,class:"evalute-tip",onClick:o=>r(Ie)(e)},[Q,y(" 查看提示 ")],8,H)):m("v-if",!0)])),default:g((()=>[(s(),u(w(e.renderCom),d(r(ye)(e,o),{key:(e.id||e.seq)+o,onScaleChange:r(Re),onOnChange:o=>r(Ae)(o,e),onVodFileList:r(Me)}),null,16,["onScaleChange","onOnChange","onVodFileList"])),r(ke)(e)?(s(),u(M,{key:0,item:e},null,8,["item"])):m("v-if",!0)])),_:2},1032,["path","show-label"])):m("v-if",!0)],64)))),128))])),_:1},8,["model","rules"]),r(Ee)?(s(),u(T,{key:2,content:r(je)},null,8,["content"])):m("v-if",!0)],6),r(ve)?(s(),i("div",$,[m(" 分享的链接 隐藏取消按钮 "),r(fe)?(s(),u(r(J),{key:0,onClick:Ve},{default:g((()=>[y("取消")])),_:1})):m("v-if",!0),r(ge)?(s(),u(r(J),{key:1,onClick:r(Je),disabled:X.banSubmit,type:"primary"},{default:g((()=>[y(" 保存 ")])),_:1},8,["onClick","disabled"])):m("v-if",!0),S(e.$slots,"extendBtn")])):m("v-if",!0)],64))],64))],64))],2))}});export{z as default};
|
@@ -16,7 +16,9 @@ export declare const ScaleViewComputed: (props: any, state: any, config: any) =>
|
|
16
16
|
hasEvaluateResultSetting: import("vue").ComputedRef<number>;
|
17
17
|
hasparamsEvaluate: import("vue").ComputedRef<any>;
|
18
18
|
hasDefault: import("vue").ComputedRef<any>;
|
19
|
-
|
19
|
+
showScaleFooter: import("vue").ComputedRef<any>;
|
20
|
+
isCancelBtn: import("vue").ComputedRef<any>;
|
21
|
+
isSaveBtn: import("vue").ComputedRef<any>;
|
20
22
|
componentDisable: import("vue").ComputedRef<any>;
|
21
23
|
showEvaluateLabel: import("vue").ComputedRef<(item: any) => any>;
|
22
24
|
showAnswerParse: import("vue").ComputedRef<(item: any) => any>;
|
@@ -1 +1 @@
|
|
1
|
-
import{computed as e}from"vue";import{isEvaluation as t}from"../utils/judge-types.js";import"xe-utils";import a from"moment";import
|
1
|
+
import{computed as e}from"vue";import{isEvaluation as t}from"../utils/judge-types.js";import"xe-utils";import a from"moment";import n from"../../../../shared/utils/vexutilsExpand.js";import{componentMapStr as i}from"./use-component.js";const o=(o,l,r)=>{const{query:s}=r,u=(new Date).getTime(),v=e((()=>{var e,t;return null==(t=null==(e=l.originConfig)?void 0:e.otherSetting)?void 0:t.desLocation})),d=e((()=>{var e,t;return null==(t=null==(e=l.originConfig)?void 0:e.otherSetting)?void 0:t.desContent})),c=e((()=>"start"===v.value&&!!d.value)),m=e((()=>"end"===v.value&&!!d.value)),p=e((()=>{var e;return s.importId||(null==(e=o.params)?void 0:e.importId)})),g=e((()=>1==(null==s?void 0:s.formBoldOpen))),f=e((()=>e=>{var a;return!p.value&&(!!t(e.type)&&(1==(null==s?void 0:s.evatip)||1==(null==(a=o.params)?void 0:a.evatip)))})),h=e((()=>{var e;return(null==(e=l.config)?void 0:e.evaluateResultSetting)||{}})),S=e((()=>{const{evaluateTime:e}=h.value;return+e})),C=e((()=>{var e;return null==(e=h.value)?void 0:e.evaluateStartTime})),E=e((()=>{const e=new Date(C.value);return!!n.isValidDate(e)&&e})),O=e((()=>{const{evaluetaResSituation:e}=h.value||{};return e})),L=e((()=>{const{evaluateZeroTip:e}=h.value||{};return e})),y=e((()=>{if(!C.value||!S.value)return!1;if(!E.value)return!1;const e=a(C.value).add(S.value,"minutes").valueOf();return u>=e})),w=e((()=>{const e=E.value;if(!e)return!1;const t=a(e).valueOf();return u<t})),b=e((()=>e=>{const t=e.required;return o.styleSetting&&Object.keys(o.styleSetting).length&&"formBoldOpen"in o.styleSetting?t&&o.styleSetting.formBoldOpen:t&&g.value})),B=e((()=>{let e=l.fontSize;if(!e||"S"===e)return;e={L:"large",M:"medium",XS:"extrasmall"}[e];const t=e&&(null==o?void 0:o.fontSizeObj[e])||1,a=Math.floor(100/t*1e4)/1e4;return{width:`${a}%`,height:`${a}%`,transform:`scale(${t})`}})),R=e((()=>!("customList"==o.type&&!o.noBtn)&&!(!o.noBtn&&!o.hideBtn))),T=e((()=>e=>ne(e))),k=e((()=>e=>{var a;const{type:n}=e||{},i=!1===(null==(a=l.config)?void 0:a.autoQuestionNumber)?e.showTitle:`${e.softcode}、${e.showTitle}`;if(!t(n))return i;const o=oe(e);return o||L.value?`${i} <span style="color:#2d7aff;" class="score-i">${o}</span>`:i})),A=e((()=>{const{config:e}=l;return!p.value&&(!(!e||!Object.keys(e).length)&&"totalScore"in e)})),j=e((()=>{var e;return(null==(e=o.ids)?void 0:e.guage_id)&&o.noBtn})),_=e((()=>{const e=o.params||{};if(!("skipCover"in e))return!1;return e.skipCover&&!w.value&&!y.value})),U=e((()=>p.value||j.value||l.isFinished||o.noBtn||o.hideBtn)),F=e((()=>l.showEvaluatePage&&l.showEvaluateSettingWrap&&!U.value&&!_.value)),P=e((()=>!A.value&&!F.value&&l.showEvaluateCountdownWrap&&!U.value)),x=e((()=>{const{evaluateResultSetting:e={}}=l.config;return(Object.values(e).filter((e=>{if(e)return!0}))||[]).length})),D=e((()=>l.paramsEvaluate&&Object.keys(l.paramsEvaluate).length)),V=e((()=>{const e=window.location.search||window.location.hash;if(!e)return;const t=["evaname","evadesc","evast","evadur","evaan","evasit","evaztip"].find((t=>e.includes(t)));return l.paramsEvaluate||t})),$=e((()=>{var e;return 1==s.isEdit||1==(null==(e=o.params)?void 0:e.isEdit)||p.value})),I=e((()=>1==l.isFinished&&$.value)),N=e((()=>x.value||V.value?!o.noBtn&&!o.hideBtn&&(!l.isFinished||$.value):!o.noBtn&&!o.hideBtn)),K=e((()=>N.value&&"guage"!==o.sourceType)),M=e((()=>N.value&&!o.isLock)),q=e((()=>o.hasExtendBtn?!o.printingHideBtn:K.value||M.value)),J=e((()=>x.value||V.value?!!o.hideBtn||!!o.isLock||l.isFinished&&!$.value:!!o.hideBtn||!!o.isLock)),z=e((()=>e=>({EVALUATE_RADIO_BLOCK:"单选",EVALUATE_CHECKBOX_BLOCK:"多选"}[e.type]))),H=e((()=>e=>{var t;if(I.value)return!1;const{evaluateAnswer:i,checkAnswerMode:o,evaluateStartTime:r,evaluateTime:s}=(null==(t=l.config)?void 0:t.evaluateResultSetting)||{},u=(null==e?void 0:e.scoreConfigs)||0,v=i&&l.isFinished&&["EVALUATE_RADIO_BLOCK","EVALUATE_CHECKBOX_BLOCK","EVALUATE_SELECT","EVALUATE_INPUT"].includes(e.type)&&u;if(!r||!s||o&&1==o)return v;if(!n.isValidDate(new Date(r)))return v;const d=a(r).add(s,"minutes").diff(a(),"seconds",!0);return v&&d<=0})),X=e((()=>"customList"===o.type?"保存":"提交")),Q=e((()=>({getSelectOptions:o.getSelectOptions,getSearchOptions:o.getSearchOptions,openType:o.openType}))),W=e((()=>({getCascadeOptions:o.getCascadeOptions}))),Z=e((()=>({uploadPictureUrl:o.uploadPictureUrl,uploadFileUrl:o.uploadFileUrl}))),G=e((()=>({ak:o.ak}))),Y=e((()=>({source:"guage",getChunkUploadConfig:o.getChunkUploadConfig}))),ee=e((()=>({selectedList:l.labelSelectedList,selectedListObj:l.labelSelectedListObj,getLabelList:o.getLabelList,deleteLabel:o.deleteLabel,saveLabelItem:o.saveLabelItem,sourceType:o.sourceType}))),te={RSelectCom:Q.value,RCascaderCom:W.value,RUploadCom:Z.value,RMapCom:G.value,RVodChunkUploadCom:Y.value},ae=e((()=>(e,t)=>{var a;const n=i[e.type],o=te[n]||{},r={form:l.form,item:e,index:t,isLock:J.value,...o};return"RVodChunkUploadCom"===n&&Object.assign(r,{formData:e,limitNum:(null==(a=e.setting)?void 0:a.limitPic)||1,defFileList:l.form[e.val_key]}),"RMapCom"===n&&Object.assign(r,{locationProp:l.form[e.val_key]}),"CSelectLabelCom"===n&&(Object.assign(r,{...ee.value}),delete r.form,delete r.index),r})),ne=(e,t)=>{if(e.hide)return!1;const{form:a={},formArray:i=[]}=l;let o={};if(t){let t=e.setting;if(e.setting&&n.isJSON(e.setting)&&(t=JSON.parse(e.setting)),o=n.isString(t.callbackCondition)?JSON.parse(t.callbackCondition):t.callbackCondition,!o||!o.condition||!o.condition.length)return!0}else o=n.isString(e.relationLogic)?JSON.parse(e.relationLogic):e.relationLogic;if(!o||!Object.keys(o).length)return!0;const{relation_logic_is:r,condition:s,relation_logic:u}=o;if(r){const t=s.map((e=>{const t=i.filter((t=>t.seq==e.subject_seq))[0],o=ie(t);return n.isArray(a[o])?a[o].some((t=>e.value.includes(t))):e.value.includes(a[o])}));e.isShow="OR"==u?t.some((e=>e)):"AND"==u?t.every((e=>e)):t[0]}return e.isShow},ie=e=>e.databaseTitle||e.title,oe=e=>{const{maxScore:t=0,minScore:a=0,scoreType:n}=e.scoreConfigs||{};return"eachOptionScore"===n&&a<0?`(${a}-${t}分)`:t||L.value?`(${t}分)`:void 0},le=e((()=>{var e;return{formArray:l.formArray,evaluateResultConfig:(null==(e=l.config)?void 0:e.evaluateResultConfig)||{},evaluateResultSetting:h.value,isFinished:l.isFinished,maxScore:l.maxScore,skipCover:_.value}})),re=e((()=>{var e;return{formArray:l.formArray,evaluateResultConfig:(null==(e=l.config)?void 0:e.evaluateResultConfig)||{},evaluateResultSetting:h.value,form:l.form,isFinished:l.isFinished,currentTime:l.currentTime,showEvaluateCountdown:l.showEvaluateCountdown,isEvaluetaResSituation:O.value,evaResultObj:l.evaResultObj}}));return{showEvatip:f,isFormBoldOpen:b,scaleStyle:B,handlePageClass:R,isShowItem:T,handleShowQuestionNumber:k,hasScore:A,isPreviewScale:j,showEvaluateEntry:F,showEvaluateCoundownPage:P,hasEvaluateResultSetting:x,hasparamsEvaluate:D,hasDefault:V,showScaleFooter:q,isCancelBtn:K,isSaveBtn:M,componentDisable:J,showEvaluateLabel:z,showAnswerParse:H,tipMsg:X,propsConfig:ae,showEvent:ne,formKey:ie,evaluatePageProps:le,evaluateCountdownProps:re,skipCover:_,scaleEdit:I,isEvaluetaResSituation:O,disableEdit:U,isImportScale:p,desStart:c,desEnd:m,desContent:d}};export{o as ScaleViewComputed};
|
@@ -1 +1 @@
|
|
1
|
-
const e={guageData:{type:Object,default:()=>({})},styleSetting:{type:Object,default:()=>({})},ids:{type:Object,default:()=>({guage_id:"",db_id:void 0})},params:{default:()=>({}),type:Object},noBtn:{type:[Boolean,String,Number],default:!1},hideBtn:{type:[Boolean,String,Number],default:!1},isLock:{type:[Boolean,String,Number],default:!1},type:{type:String,default:""},openType:{type:String,default:""},scaleApiConfig:{type:Object,default:()=>({})},getSelectOptions:{type:Function,default:()=>Promise.resolve([])},getSearchOptions:{type:Function,default:()=>Promise.resolve([])},getCascadeOptions:{type:Function,default:()=>Promise.resolve([])},getLabelList:{type:Function,default:()=>Promise.resolve([])},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})},uploadPictureUrl:{type:String,default:""},uploadFileUrl:{type:String,default:""},ak:{type:String,default:"KP3BZ-OAC3W-PY6RY-OJ6DV-JYKN3-H6F72"},sourceType:{type:String,default:""},getChunkUploadConfig:{type:Function,default:()=>Promise.resolve({})},fontSizeObj:{type:Object,default:()=>({large:1.25,medium:1.1,small:1,extrasmall:.9})}};export{e as ScaleViewProps};
|
1
|
+
const e={guageData:{type:Object,default:()=>({})},styleSetting:{type:Object,default:()=>({})},ids:{type:Object,default:()=>({guage_id:"",db_id:void 0})},params:{default:()=>({}),type:Object},noBtn:{type:[Boolean,String,Number],default:!1},hideBtn:{type:[Boolean,String,Number],default:!1},isLock:{type:[Boolean,String,Number],default:!1},type:{type:String,default:""},openType:{type:String,default:""},scaleApiConfig:{type:Object,default:()=>({})},getSelectOptions:{type:Function,default:()=>Promise.resolve([])},getSearchOptions:{type:Function,default:()=>Promise.resolve([])},getCascadeOptions:{type:Function,default:()=>Promise.resolve([])},getLabelList:{type:Function,default:()=>Promise.resolve([])},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})},uploadPictureUrl:{type:String,default:""},uploadFileUrl:{type:String,default:""},ak:{type:String,default:"KP3BZ-OAC3W-PY6RY-OJ6DV-JYKN3-H6F72"},sourceType:{type:String,default:""},getChunkUploadConfig:{type:Function,default:()=>Promise.resolve({})},fontSizeObj:{type:Object,default:()=>({large:1.25,medium:1.1,small:1,extrasmall:.9})},hasExtendBtn:{type:Boolean,default:!1},printingHideBtn:{type:Boolean,default:!1}};export{e as ScaleViewProps};
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as t,ref as e,reactive as l,computed as a,watch as i,openBlock as n,createElementBlock as s,unref as
|
1
|
+
import{defineComponent as t,ref as e,reactive as l,computed as a,watch as i,openBlock as n,createElementBlock as s,unref as d,createCommentVNode as o,withDirectives as r,createElementVNode as c,normalizeClass as b,createVNode as u,withCtx as p,Fragment as f,renderList as h,createBlock as y,createTextVNode as v,toDisplayString as m,vShow as g,nextTick as C}from"vue";import{useMessage as L,NAnchor as I,NAnchorLink as S}from"naive-ui";import E from"./components/label-classify.vue.js";import{handleLabelColor as w}from"../../../shared/utils/vexutils.js";import x from"../../../shared/utils/vexutilsExpand.js";const A={key:0,class:"label-disable-wrap"},O=[c("p",{class:"label-disable-title"},"无可选标签",-1),c("p",{class:"label-disable-desc"},"请联系管理员进行标签管理设置",-1)],K={style:{height:"100%"}},j={class:"label-wrap"},k=["id"],T={class:"edit-label-type"};var B=t({__name:"LabelFormContent",props:{item:{default:()=>({})},isEdit:{type:Boolean,default:!0},isLock:{type:Boolean,default:!1},labelSelectedList:null,isChangeWindow:{type:Boolean},getLabelList:{type:Function,default:()=>Promise.resolve({rows:[]})},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})},labelOptions:null,sourceType:{default:""},explicit:{type:Boolean,default:!1}},emits:["explicitOnChange","change","updateLabelData"],setup(t,{expose:B,emit:D}){const V=t,F=L(),P=e(null),_=l({editLabelItem:{},inited:!1,labelSelectedEdit:[],labelAnchorKey:"",cacheAnchorKey:"",labelConfig:{}});let N=e(0);const W=a((()=>{if(!_.inited)return!1;let t=_.labelConfig;return!t||Object.keys(t).every((e=>!t[e].itemList))})),$=a((()=>{let t=[].concat(..._.labelSelectedEdit,...V.labelSelectedList);return J(t,"labelId")})),q=a((()=>{const t=$.value||[];return Array.isArray(t)?t.map((t=>t.labelId)):[]})),J=(t,e)=>{let l={};return t.reduce(((t,a)=>(!l[a[e]]&&(l[a[e]]=t.push(a)),t)),[])},R=()=>{if(_.labelSelectedEdit=$.value,"object"==typeof _.labelConfig){Object.keys(_.labelConfig||{}).forEach((t=>{var e;let l=(null==(e=_.labelConfig[t])?void 0:e.itemList)||[];l.length&&l.forEach((t=>{q.value.includes(t.labelId)&&(t.isSelect=!0)}))}))}},z=(t,e)=>{if(!t)return;let l=Object.keys(t)||[];if(!l.length)return;let a=t[l[0]].curKey;if(e&&"string"==typeof e){let[i]=e.split("~"),n=l.find((e=>t[e]&&t[e].curKey&&t[e].curKey.includes(i)));n&&(a=t[n].curKey)}a&&Y(a)},G=(t,e)=>{e.showAdd=!0;const l=t.target.nextElementSibling;C((()=>{var t;null==(t=null==l?void 0:l.firstChild)||t.focus()}))},H=(t,e)=>{setTimeout((()=>{e.addVal?Q(e):e.showAdd=!1}),150)},M=(t,e)=>{e.addVal="",e.showAdd=!1},Q=async t=>{var e;if(!!t.itemList.filter((t=>!(t.isPublic&&1==t.isPublic))).find((e=>e.labelName===t.addVal)))return F.error("标签名称重复!"),!1;let l="";l=(null==(e=t.itemList)?void 0:e.length)?t.itemList[0].parentColor||t.parentColor||"":(null==t?void 0:t.parentColor)||"";const a={type:t.typeId,name:t.addVal,parentColor:l},{status:i}=await V.saveLabelItem(a,t);i&&(F.success("添加成功!"),D("updateLabelData"),t.showAdd=!1)},U=(t,e,l,a)=>{var i;const n=l.itemList,s=l.multipleChoice;let d=(null==(i=_.labelSelectedEdit)?void 0:i.length)&&x.clone(_.labelSelectedEdit,!0)||[];if(t){if(d.some((t=>t.labelId==e.labelId)))return;if(2==s){const{typeId:t,labelId:l}=e;d=d.filter((e=>e.typeId!==t)),n.forEach((t=>{t.labelId!==l&&(t.isSelect=!1)}))}d.push(e)}else{const t=d.findIndex((t=>t.labelId==e.labelId));-1!=t&&d.splice(t,1)}_.labelSelectedEdit=[...d],N.value++,V.explicit&&D("explicitOnChange",[..._.labelSelectedEdit])},X=async t=>{const{status:e}=await V.deleteLabel(t,V.item);if(e){F.success("删除成功!");for(const e in _.labelConfig){const l=_.labelConfig[e].itemList.findIndex((e=>e.labelId==t.labelId));-1!=l&&_.labelConfig[e].itemList.splice(l,1)}const e=_.labelSelectedEdit||[],l=V.labelSelectedList||[];if(e&&e.length){const l=e.findIndex((e=>e.labelId==t.labelId));-1!=l&&e.splice(l,1)}if(l&&l.length){const e=l.findIndex((e=>e.labelId==t.labelId));-1!=e&&l.splice(e,1),D("change",[...l],V.item)}D("updateLabelData")}else F.warning("删除失败")},Y=t=>{t&&setTimeout((()=>{let e,l="#"+t;e=P.value.querySelector("a[href='"+l+"']"),e&&e.click(),_.labelAnchorKey=t}),32)},Z=t=>{t.preventDefault()},tt=t=>{if(!t)return;let e=t.slice(1);_.cacheAnchorKey=e},et=()=>{var t;return null==(t=P.value)?void 0:t.querySelector(".right-label-wrap")};return i((()=>V.labelOptions),(t=>{t&&(()=>{var t;if(V.isLock)return;const e=JSON.parse(JSON.stringify(V.labelOptions));for(let l in e){let a=(null==(t=e[l])?void 0:t.typeId)||"";Object.assign(e[l],{curKey:`${l}_${a}}`})}_.labelConfig=e,C((()=>{let t;R(),V.explicit&&_.inited&&(t=_.labelAnchorKey),z(_.labelConfig,t),_.inited=!0}))})()}),{immediate:!0,deep:!0}),B({resetShowAdd:()=>{let{labelObj:t}=_.editLabelItem;if(t&&Object.keys(t).length)for(let e in t){let l=t[e];Object.assign(l,{showAdd:!1})}},handleLabelForm:t=>{t([..._.labelSelectedEdit||[]])},handleResetOptions:()=>{},hanldeSetLabelItem:(t,e)=>{if("object"==typeof _.labelConfig){Object.keys(_.labelConfig||{}).forEach((l=>{var a;let i=(null==(a=_.labelConfig[l])?void 0:a.itemList)||[];i.length&&i.forEach((l=>{t==l.labelId&&(l.isSelect=e)}))}))}if(!1===e&&Array.isArray(_.labelSelectedEdit)){const e=_.labelSelectedEdit.findIndex((e=>e.labelId==t));-1!=e&&_.labelSelectedEdit.splice(e,1)}}}),(e,l)=>(n(),s("div",{class:"c-label-form-content",ref_key:"labelFormContent",ref:P},[d(W)?(n(),s("div",A,O)):o("v-if",!0),r(c("div",K,[c("div",j,[o(" 表单内嵌打开标签组件的样式 "),o(' <div v-if="explicit" class="explicit-continer">\n\t\t\t\t\t<n-tabs :value="state.labelAnchorKey" type="card" @change="labelAnchorTabsOnChange" tab-position="top">\n\t\t\t\t\t\t<template v-for="(v, i) in state.labelConfig">\n\t\t\t\t\t\t\t<n-tab-pane :name="v.curKey">\n\t\t\t\t\t\t\t\t<span slot="tab">\n\t\t\t\t\t\t\t\t\t{{ i }}\n\t\t\t\t\t\t\t\t\t<span class="edit-label-type">({{ v.multipleChoice == 2 ? \'单\' : \'多\' }}选)</span>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<div class="explicit-label-wrap left-label-wrap">\n\t\t\t\t\t\t\t\t\t<div class="edit-label-content">\n\t\t\t\t\t\t\t\t\t\t<labelClassify\n\t\t\t\t\t\t\t\t\t\t\t:classifyItem="v"\n\t\t\t\t\t\t\t\t\t\t\t:handleLabelChange="handleLabelChange"\n\t\t\t\t\t\t\t\t\t\t\t:handleLabelColor="handleLabelColor"\n\t\t\t\t\t\t\t\t\t\t\t:handleDelLabel="handleDelLabel"\n\t\t\t\t\t\t\t\t\t\t\t:hanldeBlur="hanldeBlur"\n\t\t\t\t\t\t\t\t\t\t\t:handleAddLabel="handleAddLabel"\n\t\t\t\t\t\t\t\t\t\t\t:clearaddVal="clearaddVal"\n\t\t\t\t\t\t\t\t\t\t\t:isEdit="isEdit"\n\t\t\t\t\t\t\t\t\t\t\t:sourceType="sourceType"\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</n-tab-pane>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</n-tabs>\n\t\t\t\t</div> '),o("\n\t\t\t\t\t普通标签样式\n\t\t\t\t\tv-else\n\t\t\t\t\texplicit\n\t\t\t\t "),c("div",{class:b(["left-label-wrap",{"total-left-label-wrap":t.isChangeWindow}])},[u(d(I),{"offset-target":et,type:"block",onClick:Z,onChange:tt},{default:p((()=>[(n(!0),s(f,null,h(_.labelConfig,((t,e)=>(n(),y(d(S),{href:`#${t.curKey}`,title:String(e)},null,8,["href","title"])))),256))])),_:1})],2),o(' v-if="!explicit" '),c("div",{class:b(["right-label-wrap",{"total-right-label-wrap":t.isChangeWindow}])},[(n(!0),s(f,null,h(_.labelConfig,((e,l)=>(n(),s("div",{key:l,class:"edit-label-content"},[c("div",{class:"edit-label",id:e.curKey},[v(m(l)+" ",1),c("span",T,"("+m(2==e.multipleChoice?"单":"多")+"选)",1)],8,k),u(E,{classifyItem:e,handleLabelChange:U,handleLabelColor:d(w),handleDelLabel:X,hanldeBlur:H,handleAddLabel:G,clearaddVal:M,isEdit:t.isEdit,sourceType:t.sourceType},null,8,["classifyItem","handleLabelColor","isEdit","sourceType"])])))),128))],2)])],512),[[g,!d(W)]])],512))}});export{B as default};
|