cnhis-design-vue 3.3.2-release.0 → 3.3.2-release.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/audio-sdk/index.d.ts +173 -146
- package/es/components/audio-sdk/src/Index.vue.d.ts +174 -147
- package/es/components/audio-sdk/src/Index.vue2.js +131 -53
- package/es/components/audio-sdk/src/audioSDK.d.ts +29 -26
- package/es/components/audio-sdk/src/audioSDK.js +123 -42
- package/es/components/audio-sdk/src/components/readyCountdown.vue.d.ts +31 -0
- package/es/components/audio-sdk/src/components/readyCountdown.vue.js +6 -0
- package/es/components/audio-sdk/src/components/readyCountdown.vue2.js +46 -0
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +138 -10
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +139 -11
- package/es/components/audio-sdk/src/components/recording.vue2.js +318 -74
- package/es/components/audio-sdk/src/hooks/useChartAudioContext.d.ts +24 -0
- package/es/components/audio-sdk/src/hooks/useChartAudioContext.js +176 -0
- package/es/components/audio-sdk/src/svgs/Close.vue.js +26 -0
- package/es/components/audio-sdk/src/svgs/Continue.vue.js +20 -0
- package/es/components/audio-sdk/src/svgs/Enlarge.vue.js +20 -0
- package/es/components/audio-sdk/src/svgs/Pause.vue.js +20 -0
- package/es/components/audio-sdk/src/svgs/WaveView.vue.js +20 -0
- package/es/components/audio-sdk/src/svgs/Zoom.vue.js +27 -0
- package/es/components/audio-sdk/src/types/index.d.ts +42 -0
- package/es/components/audio-sdk/src/types/index.js +10 -0
- package/es/components/audio-sdk/src/utils/recordingModal.d.ts +9 -3
- package/es/components/audio-sdk/src/utils/recordingModal.js +57 -32
- package/es/components/audio-sdk/style/index.css +1 -1
- package/es/components/base-search/src/index.vue2.js +30 -18
- package/es/components/big-table/src/BigTable.vue2.js +191 -133
- package/es/components/big-table/src/components/NoData.vue2.js +16 -4
- package/es/components/big-table/src/components/edit-form/edit-date.js +12 -6
- package/es/components/big-table/src/components/edit-form/edit-input.js +8 -2
- package/es/components/big-table/src/components/edit-form/edit-select.js +21 -17
- package/es/components/big-table/src/components/edit-form/edit-time.js +11 -4
- package/es/components/big-table/src/components/input-button.vue2.js +8 -4
- package/es/components/big-table/src/hooks/useNestTable.js +18 -4
- package/es/components/big-table/src/hooks/useTableParse.js +16 -3
- package/es/components/body-select/src/index.vue2.js +24 -4
- package/es/components/button-print/index.d.ts +12 -4
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +12 -4
- package/es/components/button-print/src/ButtonPrint.vue2.js +52 -11
- package/es/components/button-print/src/components/EditFormat.vue2.js +16 -8
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -2
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +104 -49
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +7 -2
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +244 -95
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +5 -2
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +92 -32
- package/es/components/button-print/src/components/Preview.vue.d.ts +5 -2
- package/es/components/button-print/src/components/Preview.vue2.js +14 -4
- package/es/components/button-print/src/utils/dialog.js +26 -8
- package/es/components/button-print/src/utils/print.d.ts +5 -5
- package/es/components/button-print/src/utils/print.js +108 -21
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +8 -2
- package/es/components/card-reader-sdk/src/utils/readHealthCard.js +16 -4
- package/es/components/card-reader-sdk-cn/src/henan/index.js +38 -11
- package/es/components/card-render/src/components/index.d.ts +23 -23
- package/es/components/classification/src/components/search-filter/index.vue2.js +24 -10
- package/es/components/classification/src/components/set-classification/index.vue2.js +24 -7
- package/es/components/classification/src/components/table-modal/index.vue2.js +324 -165
- package/es/components/classification/src/index.vue2.js +261 -69
- package/es/components/default-page/src/constants/index.js +144 -19
- package/es/components/default-page/src/index.vue2.js +8 -2
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +75 -51
- package/es/components/expand-field/src/components/FormItemPerson.vue2.js +46 -38
- package/es/components/expand-field/src/components/PersonModal.vue2.js +62 -50
- package/es/components/expand-field/src/components/form.vue2.js +783 -412
- package/es/components/expand-field/src/index.vue2.js +88 -22
- package/es/components/expand-field/src/utils/constant.js +88 -12
- package/es/components/fabric-chart/src/components/PopupMenu.js +32 -15
- package/es/components/fabric-chart/src/constants/index.js +72 -10
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +18 -4
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +8 -2
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +32 -5
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -2
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +63 -41
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +5 -1
- package/es/components/fabric-chart/src/hooks/useCommon.js +24 -4
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +4 -1
- package/es/components/fabric-chart/src/hooks/useDraw.js +19 -0
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.js +2 -2
- package/es/components/field-editor/src/fields.js +232 -30
- package/es/components/field-set/src/FieldColor.vue.d.ts +2 -2
- package/es/components/field-set/src/FieldColor.vue2.js +88 -21
- package/es/components/field-set/src/FieldFilter.vue.d.ts +2 -2
- package/es/components/field-set/src/FieldFilter.vue2.js +32 -16
- package/es/components/field-set/src/FieldSet.vue.d.ts +2 -2
- package/es/components/field-set/src/FieldSet.vue2.js +210 -57
- package/es/components/field-set/src/Index.vue2.js +40 -6
- package/es/components/field-set/src/TableStyle.vue2.js +48 -13
- package/es/components/field-set/src/components/condition.vue2.js +26 -10
- package/es/components/field-set/src/components/edit-dialog.vue2.js +148 -68
- package/es/components/field-set/src/components/edit-filter.vue2.js +24 -4
- package/es/components/field-set/src/components/table-row.vue.d.ts +2 -2
- package/es/components/field-set/src/components/table-row.vue2.js +123 -42
- package/es/components/field-set/src/constants/filter.js +328 -42
- package/es/components/field-set/src/constants/index.js +504 -64
- package/es/components/field-set/src/utils/index.js +1 -1
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +91 -46
- package/es/components/form-config/src/constants/index.js +80 -11
- package/es/components/form-config/src/hooks/useLocale.js +240 -31
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +8 -4
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +8 -4
- package/es/components/form-render/src/components/renderer/combination/tableCombination.js +8 -2
- package/es/components/form-render/src/components/renderer/input.js +3 -2
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +8 -4
- package/es/components/form-render/src/components/renderer/remoteSearch.js +8 -2
- package/es/components/form-render/src/components/renderer/switch.js +24 -4
- package/es/components/form-render/src/components/renderer/textarea.js +5 -4
- package/es/components/form-render/src/utils/schema.js +26 -6
- package/es/components/iho-chat/src/Index.vue2.js +42 -38
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +108 -33
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +132 -90
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +110 -48
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +40 -20
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +55 -23
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +77 -45
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +256 -208
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +306 -208
- package/es/components/iho-chat/src/components/ContextMenu.js +50 -9
- package/es/components/iho-chat/src/components/MessageEvent.vue2.js +16 -4
- package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +8 -2
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +104 -18
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +66 -11
- package/es/components/iho-chat/src/components/SelectLabel.vue2.js +47 -43
- package/es/components/iho-chat/src/components/SiderList.vue2.js +68 -38
- package/es/components/iho-chat/src/components/Video.vue2.js +38 -11
- package/es/components/iho-chat/src/hooks/useVideo.js +15 -4
- package/es/components/iho-chat/src/utils/index.js +79 -14
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +8 -2
- package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +40 -15
- package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +40 -15
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +50 -20
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +16 -8
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +10 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +42 -15
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +18 -12
- package/es/components/index.css +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +144 -25
- package/es/components/keyboard/src/Keyboard.vue2.js +20 -8
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +51 -37
- package/es/components/map/src/Map.vue2.js +8 -4
- package/es/components/picture-clipper/src/PictureClipper.vue2.js +16 -8
- package/es/components/quick-search/src/index.vue2.js +176 -131
- package/es/components/recommend-search/src/components/BaseSearch.js +14 -8
- package/es/components/recommend-search/src/components/RecommendInput.vue2.js +28 -8
- package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +18 -5
- package/es/components/scale-view/src/ScaleView.vue2.js +16 -8
- package/es/components/scale-view/src/components/NoData.vue2.js +16 -4
- package/es/components/scale-view/src/components/formitem/r-cascader.js +8 -2
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +24 -6
- package/es/components/scale-view/src/components/formitem/r-input.js +8 -2
- package/es/components/scale-view/src/components/formitem/r-map.js +8 -2
- package/es/components/scale-view/src/components/formitem/r-radio.js +24 -6
- package/es/components/scale-view/src/components/formitem/r-select.js +8 -2
- package/es/components/scale-view/src/components/formitem/r-sign.js +32 -11
- package/es/components/scale-view/src/components/formitem/standard-modal.js +16 -3
- package/es/components/scale-view/src/hooks/scaleview-computed.js +24 -5
- package/es/components/scale-view/src/hooks/scaleview-methods.js +16 -4
- package/es/components/scale-view/src/hooks/scaleview-submit.js +16 -3
- package/es/components/scale-view/src/hooks/scaleview-validate.js +40 -9
- package/es/components/search-cascader/src/SearchCascader.vue2.js +20 -14
- package/es/components/select-label/src/LabelFormContent.vue2.js +53 -21
- package/es/components/select-label/src/SelectLabel.vue2.js +81 -51
- package/es/components/select-label/src/components/label-classify.vue2.js +28 -11
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +18 -5
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +34 -8
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +18 -5
- package/es/components/select-person/src/SelectPerson.vue2.js +214 -141
- package/es/components/select-person/src/SelectPersonType.vue2.js +127 -102
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +9 -2
- package/es/components/select-person/src/index.vue2.js +20 -7
- package/es/components/slider-tree/src/index.vue2.js +16 -3
- package/es/components/table-export-field/index.d.ts +1 -0
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +1 -0
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +187 -113
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +147 -88
- package/es/components/table-export-field/src/index.vue.d.ts +1 -0
- package/es/components/table-export-field/src/index.vue2.js +28 -12
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +32 -5
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +264 -34
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +214 -135
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +16 -3
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +9 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +39 -6
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +18 -5
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +29 -18
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +16 -3
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +8 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +195 -130
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +26 -7
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +12 -6
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +34 -8
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +21 -8
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +8 -4
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +19 -6
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +16 -3
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +24 -10
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1648 -207
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +8 -2
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +16 -3
- package/es/components/table-filter/src/tool/baseOptions.js +144 -19
- package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +32 -16
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +22 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +8 -4
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +16 -8
- 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/hooks/selectHooks/useSelectAllowModify.js +2 -2
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
- package/es/components/audio-sdk/src/components/recording-modal.vue.js +0 -6
- package/es/components/audio-sdk/src/components/recording-modal.vue2.js +0 -40
- package/es/components/audio-sdk/src/utils/recorder/fft.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/mp3-engine.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/mp3.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/recorder.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/wave.d.ts +0 -4
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -62,7 +62,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
62
62
|
setup(__props, {
|
63
63
|
emit: emits
|
64
64
|
}) {
|
65
|
-
var _a, _b, _c, _d, _e, _f;
|
66
65
|
const props = __props;
|
67
66
|
const $message = useMessage();
|
68
67
|
const {
|
@@ -70,23 +69,58 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
70
69
|
} = useAsyncData();
|
71
70
|
provide(InjectionExpandFieldApiConfig, props.expandFieldApiConfig);
|
72
71
|
const filedList = [{
|
73
|
-
title: (
|
72
|
+
title: function() {
|
73
|
+
var _a, _b, _c;
|
74
|
+
try {
|
75
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.529")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.529")) || "\u5B57\u6BB5\u6807\u9898";
|
76
|
+
} catch (e) {
|
77
|
+
return "\u5B57\u6BB5\u6807\u9898";
|
78
|
+
}
|
79
|
+
}(),
|
74
80
|
columnName: "name",
|
75
81
|
span: 3
|
76
82
|
}, {
|
77
|
-
title: (
|
83
|
+
title: function() {
|
84
|
+
var _a, _b, _c;
|
85
|
+
try {
|
86
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.530")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.530")) || "\u5B57\u6BB5\u952E\u540D";
|
87
|
+
} catch (e) {
|
88
|
+
return "\u5B57\u6BB5\u952E\u540D";
|
89
|
+
}
|
90
|
+
}(),
|
78
91
|
columnName: "code",
|
79
92
|
span: 3
|
80
93
|
}, {
|
81
|
-
title: (
|
94
|
+
title: function() {
|
95
|
+
var _a, _b, _c;
|
96
|
+
try {
|
97
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.532")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.532")) || "\u5B57\u6BB5\u7C7B\u578B";
|
98
|
+
} catch (e) {
|
99
|
+
return "\u5B57\u6BB5\u7C7B\u578B";
|
100
|
+
}
|
101
|
+
}(),
|
82
102
|
columnName: "html_type",
|
83
103
|
span: 3
|
84
104
|
}, {
|
85
|
-
title: (
|
105
|
+
title: function() {
|
106
|
+
var _a, _b, _c;
|
107
|
+
try {
|
108
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.15")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.15")) || "\u95EE\u53F7\u63D0\u793A";
|
109
|
+
} catch (e) {
|
110
|
+
return "\u95EE\u53F7\u63D0\u793A";
|
111
|
+
}
|
112
|
+
}(),
|
86
113
|
columnName: "remark",
|
87
114
|
span: 4
|
88
115
|
}, {
|
89
|
-
title: (
|
116
|
+
title: function() {
|
117
|
+
var _a, _b, _c;
|
118
|
+
try {
|
119
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.236")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.236")) || "\u521B\u5EFA\u65F6\u95F4";
|
120
|
+
} catch (e) {
|
121
|
+
return "\u521B\u5EFA\u65F6\u95F4";
|
122
|
+
}
|
123
|
+
}(),
|
90
124
|
columnName: "createdDate",
|
91
125
|
span: 4
|
92
126
|
}, {
|
@@ -94,7 +128,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
94
128
|
columnName: "updatedDate",
|
95
129
|
span: 4
|
96
130
|
}, {
|
97
|
-
title: (
|
131
|
+
title: function() {
|
132
|
+
var _a, _b, _c;
|
133
|
+
try {
|
134
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.241")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.241")) || "\u64CD\u4F5C";
|
135
|
+
} catch (e) {
|
136
|
+
return "\u64CD\u4F5C";
|
137
|
+
}
|
138
|
+
}(),
|
98
139
|
columnName: "operator",
|
99
140
|
span: 3
|
100
141
|
}];
|
@@ -120,14 +161,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
120
161
|
};
|
121
162
|
}
|
122
163
|
async function handleDelItem(row) {
|
123
|
-
var _a2, _b2;
|
124
164
|
try {
|
125
165
|
const res = await deleteExtendFieldById(row, props.expandFieldApiConfig);
|
126
166
|
if ((res == null ? void 0 : res.result) !== "SUCCESS") {
|
127
|
-
$message.error((res == null ? void 0 : res.resultMsg) || (
|
167
|
+
$message.error((res == null ? void 0 : res.resultMsg) || function() {
|
168
|
+
var _a, _b, _c;
|
169
|
+
try {
|
170
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.521")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.521")) || "\u5220\u9664\u5931\u8D25";
|
171
|
+
} catch (e) {
|
172
|
+
return "\u5220\u9664\u5931\u8D25";
|
173
|
+
}
|
174
|
+
}());
|
128
175
|
return;
|
129
176
|
}
|
130
|
-
$message.success((
|
177
|
+
$message.success(function() {
|
178
|
+
var _a, _b, _c;
|
179
|
+
try {
|
180
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.411")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.411")) || "\u5220\u9664\u6210\u529F";
|
181
|
+
} catch (e) {
|
182
|
+
return "\u5220\u9664\u6210\u529F";
|
183
|
+
}
|
184
|
+
}());
|
131
185
|
} catch (error) {
|
132
186
|
$message.error(error);
|
133
187
|
}
|
@@ -206,10 +260,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
206
260
|
component: unref(Brush),
|
207
261
|
onClick: withModifiers(($event) => handleEditItem(contentItem), ["prevent", "stop"])
|
208
262
|
}, null, 8, ["component", "onClick"])]),
|
209
|
-
default: withCtx(() => {
|
210
|
-
var
|
211
|
-
|
212
|
-
|
263
|
+
default: withCtx(() => [createTextVNode(function() {
|
264
|
+
var _a, _b, _c;
|
265
|
+
try {
|
266
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.284")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.284")) || "\u7F16\u8F91";
|
267
|
+
} catch (e) {
|
268
|
+
return "\u7F16\u8F91";
|
269
|
+
}
|
270
|
+
}())]),
|
213
271
|
_: 2
|
214
272
|
}, 1024), createVNode(unref(NTooltip), {
|
215
273
|
duration: 0
|
@@ -224,10 +282,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
224
282
|
default: withCtx(() => [createTextVNode(" \u786E\u8BA4\u8981\u5220\u9664-" + toDisplayString(contentItem.name) + "\u5417\uFF1F ", 1)]),
|
225
283
|
_: 2
|
226
284
|
}, 1032, ["onPositiveClick"])]),
|
227
|
-
default: withCtx(() => {
|
228
|
-
var
|
229
|
-
|
230
|
-
|
285
|
+
default: withCtx(() => [createTextVNode(function() {
|
286
|
+
var _a, _b, _c;
|
287
|
+
try {
|
288
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.215")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.215")) || "\u5220\u9664";
|
289
|
+
} catch (e) {
|
290
|
+
return "\u5220\u9664";
|
291
|
+
}
|
292
|
+
}())]),
|
231
293
|
_: 2
|
232
294
|
}, 1024)]),
|
233
295
|
_: 2
|
@@ -237,10 +299,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
237
299
|
}), 128))])]), createElementVNode("div", _hoisted_6, [createVNode(unref(NButton), {
|
238
300
|
onClick: closeModal
|
239
301
|
}, {
|
240
|
-
default: withCtx(() => {
|
241
|
-
var
|
242
|
-
|
243
|
-
|
302
|
+
default: withCtx(() => [createTextVNode(function() {
|
303
|
+
var _a, _b, _c;
|
304
|
+
try {
|
305
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.28")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.28")) || "\u53D6\u6D88";
|
306
|
+
} catch (e) {
|
307
|
+
return "\u53D6\u6D88";
|
308
|
+
}
|
309
|
+
}())]),
|
244
310
|
_: 1
|
245
311
|
}), createVNode(unref(NButton), {
|
246
312
|
type: "info",
|
@@ -1,4 +1,3 @@
|
|
1
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
|
2
1
|
const HtmlType = {
|
3
2
|
INPUT: "INPUT",
|
4
3
|
TEXTAREA: "TEXTAREA",
|
@@ -14,37 +13,114 @@ const HtmlType = {
|
|
14
13
|
};
|
15
14
|
const HtmlTypeList = [{
|
16
15
|
value: HtmlType.INPUT,
|
17
|
-
label: (
|
16
|
+
label: function() {
|
17
|
+
var _a, _b, _c;
|
18
|
+
try {
|
19
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.293")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.293")) || "\u6587\u672C\u6846";
|
20
|
+
} catch (e) {
|
21
|
+
return "\u6587\u672C\u6846";
|
22
|
+
}
|
23
|
+
}()
|
18
24
|
}, {
|
19
25
|
value: HtmlType.TEXTAREA,
|
20
|
-
label: (
|
26
|
+
label: function() {
|
27
|
+
var _a, _b, _c;
|
28
|
+
try {
|
29
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.564")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.564")) || "\u6587\u672C\u57DF";
|
30
|
+
} catch (e) {
|
31
|
+
return "\u6587\u672C\u57DF";
|
32
|
+
}
|
33
|
+
}()
|
21
34
|
}, {
|
22
35
|
value: HtmlType.DIGITAL,
|
23
|
-
label: (
|
36
|
+
label: function() {
|
37
|
+
var _a, _b, _c;
|
38
|
+
try {
|
39
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.292")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.292")) || "\u6570\u5B57\u6846";
|
40
|
+
} catch (e) {
|
41
|
+
return "\u6570\u5B57\u6846";
|
42
|
+
}
|
43
|
+
}()
|
24
44
|
}, {
|
25
45
|
value: HtmlType.DATE,
|
26
|
-
label: (
|
46
|
+
label: function() {
|
47
|
+
var _a, _b, _c;
|
48
|
+
try {
|
49
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.74")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.74")) || "\u65E5\u671F";
|
50
|
+
} catch (e) {
|
51
|
+
return "\u65E5\u671F";
|
52
|
+
}
|
53
|
+
}()
|
27
54
|
}, {
|
28
55
|
value: HtmlType.RADIO,
|
29
|
-
label: (
|
56
|
+
label: function() {
|
57
|
+
var _a, _b, _c;
|
58
|
+
try {
|
59
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.565")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.565")) || "\u6A2A\u5411\u5355\u9009";
|
60
|
+
} catch (e) {
|
61
|
+
return "\u6A2A\u5411\u5355\u9009";
|
62
|
+
}
|
63
|
+
}()
|
30
64
|
}, {
|
31
65
|
value: HtmlType.RADIO_BLOCK,
|
32
|
-
label: (
|
66
|
+
label: function() {
|
67
|
+
var _a, _b, _c;
|
68
|
+
try {
|
69
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.566")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.566")) || "\u7EB5\u5411\u5355\u9009";
|
70
|
+
} catch (e) {
|
71
|
+
return "\u7EB5\u5411\u5355\u9009";
|
72
|
+
}
|
73
|
+
}()
|
33
74
|
}, {
|
34
75
|
value: HtmlType.CHECKBOX,
|
35
|
-
label: (
|
76
|
+
label: function() {
|
77
|
+
var _a, _b, _c;
|
78
|
+
try {
|
79
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.567")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.567")) || "\u6A2A\u5411\u591A\u9009";
|
80
|
+
} catch (e) {
|
81
|
+
return "\u6A2A\u5411\u591A\u9009";
|
82
|
+
}
|
83
|
+
}()
|
36
84
|
}, {
|
37
85
|
value: HtmlType.CHECKBOX_BLOCK,
|
38
|
-
label: (
|
86
|
+
label: function() {
|
87
|
+
var _a, _b, _c;
|
88
|
+
try {
|
89
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.568")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.568")) || "\u7EB5\u5411\u591A\u9009";
|
90
|
+
} catch (e) {
|
91
|
+
return "\u7EB5\u5411\u591A\u9009";
|
92
|
+
}
|
93
|
+
}()
|
39
94
|
}, {
|
40
95
|
value: HtmlType.SELECT,
|
41
|
-
label: (
|
96
|
+
label: function() {
|
97
|
+
var _a, _b, _c;
|
98
|
+
try {
|
99
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.294")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.294")) || "\u4E0B\u62C9\u6846";
|
100
|
+
} catch (e) {
|
101
|
+
return "\u4E0B\u62C9\u6846";
|
102
|
+
}
|
103
|
+
}()
|
42
104
|
}, {
|
43
105
|
value: HtmlType.MULTI_SELECT,
|
44
|
-
label: (
|
106
|
+
label: function() {
|
107
|
+
var _a, _b, _c;
|
108
|
+
try {
|
109
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.569")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.569")) || "\u4E0B\u62C9\u591A\u9009\u6846";
|
110
|
+
} catch (e) {
|
111
|
+
return "\u4E0B\u62C9\u591A\u9009\u6846";
|
112
|
+
}
|
113
|
+
}()
|
45
114
|
}, {
|
46
115
|
value: HtmlType.CANDIDATE_COMPONENTS,
|
47
|
-
label: (
|
116
|
+
label: function() {
|
117
|
+
var _a, _b, _c;
|
118
|
+
try {
|
119
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.570")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.570")) || "\u9009\u4EBA\u7EC4\u4EF6";
|
120
|
+
} catch (e) {
|
121
|
+
return "\u9009\u4EBA\u7EC4\u4EF6";
|
122
|
+
}
|
123
|
+
}()
|
48
124
|
}];
|
49
125
|
|
50
126
|
export { HtmlType, HtmlTypeList };
|
@@ -42,8 +42,21 @@ var PopupMenu = /* @__PURE__ */ defineComponent({
|
|
42
42
|
props.propItems;
|
43
43
|
const pointStyle = useStyle(props);
|
44
44
|
function setNoClick(item) {
|
45
|
-
|
46
|
-
|
45
|
+
if (typeof item === "string" && (item.startsWith(function() {
|
46
|
+
var _a, _b, _c;
|
47
|
+
try {
|
48
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.279")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.279")) || "\u65B0\u589E";
|
49
|
+
} catch (e) {
|
50
|
+
return "\u65B0\u589E";
|
51
|
+
}
|
52
|
+
}()) || item.startsWith(function() {
|
53
|
+
var _a, _b, _c;
|
54
|
+
try {
|
55
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.215")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.215")) || "\u5220\u9664";
|
56
|
+
} catch (e) {
|
57
|
+
return "\u5220\u9664";
|
58
|
+
}
|
59
|
+
}()))) {
|
47
60
|
return true;
|
48
61
|
}
|
49
62
|
}
|
@@ -58,19 +71,23 @@ var PopupMenu = /* @__PURE__ */ defineComponent({
|
|
58
71
|
"inline": true,
|
59
72
|
"align": "center"
|
60
73
|
}, {
|
61
|
-
default: () => {
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
+
default: () => [createVNode("span", null, [item.label]), createVNode(NInputNumber, {
|
75
|
+
"style": "width: 110px",
|
76
|
+
"size": "small",
|
77
|
+
"value": item.value,
|
78
|
+
"onUpdate:value": ($event) => item.value = $event,
|
79
|
+
"clearable": true,
|
80
|
+
"placeholder": function() {
|
81
|
+
var _a, _b, _c;
|
82
|
+
try {
|
83
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.207")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.207")) || "\u8BF7\u8F93\u5165\u6570\u503C";
|
84
|
+
} catch (e) {
|
85
|
+
return "\u8BF7\u8F93\u5165\u6570\u503C";
|
86
|
+
}
|
87
|
+
}(),
|
88
|
+
"showButton": false,
|
89
|
+
"onFocus": () => emit("update:show", true)
|
90
|
+
}, null)]
|
74
91
|
});
|
75
92
|
}
|
76
93
|
function clickItem(event, item) {
|
@@ -1,38 +1,100 @@
|
|
1
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
2
1
|
const TEMPERATURE_MENU = [{
|
3
|
-
label: (
|
2
|
+
label: function() {
|
3
|
+
var _a, _b, _c;
|
4
|
+
try {
|
5
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.208")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.208")) || "\u5347\u6E29";
|
6
|
+
} catch (e) {
|
7
|
+
return "\u5347\u6E29";
|
8
|
+
}
|
9
|
+
}(),
|
4
10
|
value: true,
|
5
11
|
type: "rise"
|
6
12
|
}, {
|
7
|
-
label: (
|
13
|
+
label: function() {
|
14
|
+
var _a, _b, _c;
|
15
|
+
try {
|
16
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.209")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.209")) || "\u836F\u7269\u964D\u6E29";
|
17
|
+
} catch (e) {
|
18
|
+
return "\u836F\u7269\u964D\u6E29";
|
19
|
+
}
|
20
|
+
}(),
|
8
21
|
value: void 0,
|
9
22
|
type: "drugReduce"
|
10
23
|
}, {
|
11
|
-
label: (
|
24
|
+
label: function() {
|
25
|
+
var _a, _b, _c;
|
26
|
+
try {
|
27
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.210")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.210")) || "\u7269\u7406\u964D\u6E29";
|
28
|
+
} catch (e) {
|
29
|
+
return "\u7269\u7406\u964D\u6E29";
|
30
|
+
}
|
31
|
+
}(),
|
12
32
|
value: void 0,
|
13
33
|
type: "physicsReduce"
|
14
34
|
}, {
|
15
|
-
label: (
|
35
|
+
label: function() {
|
36
|
+
var _a, _b, _c;
|
37
|
+
try {
|
38
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.211")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.211")) || "\u4E0D\u5347";
|
39
|
+
} catch (e) {
|
40
|
+
return "\u4E0D\u5347";
|
41
|
+
}
|
42
|
+
}(),
|
16
43
|
value: true,
|
17
44
|
type: "noRise"
|
18
45
|
}];
|
19
46
|
const PAIN_MENU = [{
|
20
|
-
label: (
|
47
|
+
label: function() {
|
48
|
+
var _a, _b, _c;
|
49
|
+
try {
|
50
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.212")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.212")) || "\u836F\u7269\u964D\u75DB";
|
51
|
+
} catch (e) {
|
52
|
+
return "\u836F\u7269\u964D\u75DB";
|
53
|
+
}
|
54
|
+
}(),
|
21
55
|
value: void 0,
|
22
56
|
type: "drugReduce"
|
23
57
|
}, {
|
24
|
-
label: (
|
58
|
+
label: function() {
|
59
|
+
var _a, _b, _c;
|
60
|
+
try {
|
61
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.213")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.213")) || "\u7269\u7406\u964D\u75DB";
|
62
|
+
} catch (e) {
|
63
|
+
return "\u7269\u7406\u964D\u75DB";
|
64
|
+
}
|
65
|
+
}(),
|
25
66
|
value: void 0,
|
26
67
|
type: "physicsReduce"
|
27
68
|
}];
|
28
69
|
const OTHER_MENU = Object.freeze([{
|
29
|
-
label: (
|
70
|
+
label: function() {
|
71
|
+
var _a, _b, _c;
|
72
|
+
try {
|
73
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.279")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.279")) || "\u65B0\u589E";
|
74
|
+
} catch (e) {
|
75
|
+
return "\u65B0\u589E";
|
76
|
+
}
|
77
|
+
}(),
|
30
78
|
type: "add"
|
31
79
|
}, {
|
32
|
-
label: (
|
80
|
+
label: function() {
|
81
|
+
var _a, _b, _c;
|
82
|
+
try {
|
83
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.214")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.214")) || "\u4FEE\u6539";
|
84
|
+
} catch (e) {
|
85
|
+
return "\u4FEE\u6539";
|
86
|
+
}
|
87
|
+
}(),
|
33
88
|
type: "edit"
|
34
89
|
}, {
|
35
|
-
label: (
|
90
|
+
label: function() {
|
91
|
+
var _a, _b, _c;
|
92
|
+
try {
|
93
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.215")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.215")) || "\u5220\u9664";
|
94
|
+
} catch (e) {
|
95
|
+
return "\u5220\u9664";
|
96
|
+
}
|
97
|
+
}(),
|
36
98
|
type: "remove"
|
37
99
|
}]);
|
38
100
|
const BLUE = "#2563F4";
|
@@ -22,7 +22,8 @@ function getCurrentTime(lastTime, range2) {
|
|
22
22
|
return lastTime + 1 > range2[1] ? range2[0] : lastTime + 1;
|
23
23
|
}
|
24
24
|
function isStartTimeHalfOrLater(startTime) {
|
25
|
-
|
25
|
+
const startTimeDate = new Date(startTime);
|
26
|
+
return getMinutes(startTimeDate) >= 30;
|
26
27
|
}
|
27
28
|
function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps) {
|
28
29
|
const {
|
@@ -448,7 +449,6 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
|
|
448
449
|
if (!propItems.event.evented)
|
449
450
|
return;
|
450
451
|
canvas.value.on("mouse:up", (event2) => {
|
451
|
-
var _a, _b;
|
452
452
|
if (event2.button === 3) {
|
453
453
|
const {
|
454
454
|
x = 0,
|
@@ -462,7 +462,14 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
|
|
462
462
|
pointMenuProps.show = true;
|
463
463
|
if (!event2.target) {
|
464
464
|
pointMenuProps.target = null;
|
465
|
-
pointMenuProps.list = [(
|
465
|
+
pointMenuProps.list = [function() {
|
466
|
+
var _a, _b, _c;
|
467
|
+
try {
|
468
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.219")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.219")) || "\u65B0\u589E\u8282\u70B9";
|
469
|
+
} catch (e) {
|
470
|
+
return "\u65B0\u589E\u8282\u70B9";
|
471
|
+
}
|
472
|
+
}()];
|
466
473
|
yScaleValue.filter((item) => item.show).forEach((item) => {
|
467
474
|
if (!getEqualXTypes([...gridPoints], x, "key").includes(item.key)) {
|
468
475
|
if (["cervix", "fetalPresentation"].includes(item.key) && y < originYCervix)
|
@@ -477,7 +484,14 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
|
|
477
484
|
}
|
478
485
|
} else {
|
479
486
|
pointMenuProps.target = event2.target;
|
480
|
-
pointMenuProps.list = [(
|
487
|
+
pointMenuProps.list = [function() {
|
488
|
+
var _a, _b, _c;
|
489
|
+
try {
|
490
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.220")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.220")) || "\u5220\u9664\u8282\u70B9";
|
491
|
+
} catch (e) {
|
492
|
+
return "\u5220\u9664\u8282\u70B9";
|
493
|
+
}
|
494
|
+
}()];
|
481
495
|
[...gridPoints].forEach((obj) => {
|
482
496
|
if (obj.origin && obj.left === event2.target.left && obj.top === event2.target.top) {
|
483
497
|
pointMenuProps.list.push({
|
@@ -221,10 +221,16 @@ function useNewBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuPr
|
|
221
221
|
return _time >= startTime && _time <= maxTime;
|
222
222
|
}
|
223
223
|
function drawOther() {
|
224
|
-
var _a;
|
225
224
|
const {
|
226
225
|
alertLineList = [],
|
227
|
-
alertLineTitle = (
|
226
|
+
alertLineTitle = function() {
|
227
|
+
var _a, _b, _c;
|
228
|
+
try {
|
229
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.227")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.227")) || "\u5165\u9662\u65F6\u5BAB\u9888\u6269\u5F20\u4E0D\u540C\u60C5\u51B5";
|
230
|
+
} catch (e) {
|
231
|
+
return "\u5165\u9662\u65F6\u5BAB\u9888\u6269\u5F20\u4E0D\u540C\u60C5\u51B5";
|
232
|
+
}
|
233
|
+
}()
|
228
234
|
} = other;
|
229
235
|
if (alertLineList.length < 1)
|
230
236
|
return;
|
@@ -211,14 +211,41 @@ function useCenter(canvas, propItems, emits, pointTipProps, pointMenuProps, isPo
|
|
211
211
|
return newGridPoints.filter((point) => point.left >= x1 && point.left <= x2 && point.top >= y1 && point.top <= y2);
|
212
212
|
}
|
213
213
|
function showDialog(callback) {
|
214
|
-
var _a, _b, _c, _d;
|
215
214
|
dialog.warning({
|
216
215
|
maskClosable: false,
|
217
216
|
closeOnEsc: false,
|
218
|
-
title: (
|
219
|
-
|
220
|
-
|
221
|
-
|
217
|
+
title: function() {
|
218
|
+
var _a, _b, _c;
|
219
|
+
try {
|
220
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.228")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.228")) || "\u8B66\u544A";
|
221
|
+
} catch (e) {
|
222
|
+
return "\u8B66\u544A";
|
223
|
+
}
|
224
|
+
}(),
|
225
|
+
content: function() {
|
226
|
+
var _a, _b, _c;
|
227
|
+
try {
|
228
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.229")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.229")) || "\u786E\u8BA4\u5220\u9664\u5F53\u524D\u9009\u4E2D\u7684\u8282\u70B9\uFF1F";
|
229
|
+
} catch (e) {
|
230
|
+
return "\u786E\u8BA4\u5220\u9664\u5F53\u524D\u9009\u4E2D\u7684\u8282\u70B9\uFF1F";
|
231
|
+
}
|
232
|
+
}(),
|
233
|
+
positiveText: function() {
|
234
|
+
var _a, _b, _c;
|
235
|
+
try {
|
236
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.27")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.27")) || "\u786E\u5B9A";
|
237
|
+
} catch (e) {
|
238
|
+
return "\u786E\u5B9A";
|
239
|
+
}
|
240
|
+
}(),
|
241
|
+
negativeText: function() {
|
242
|
+
var _a, _b, _c;
|
243
|
+
try {
|
244
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.28")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.28")) || "\u53D6\u6D88";
|
245
|
+
} catch (e) {
|
246
|
+
return "\u53D6\u6D88";
|
247
|
+
}
|
248
|
+
}(),
|
222
249
|
onPositiveClick: () => {
|
223
250
|
callback();
|
224
251
|
removeCurrentSelection();
|
@@ -119,7 +119,6 @@ function useTop(canvas, propItems, emits, pointTipProps, pointMenuProps) {
|
|
119
119
|
canvas.value.add(group);
|
120
120
|
}
|
121
121
|
function drawXAxis() {
|
122
|
-
var _a;
|
123
122
|
const {
|
124
123
|
height,
|
125
124
|
list,
|
@@ -159,7 +158,14 @@ function useTop(canvas, propItems, emits, pointTipProps, pointMenuProps) {
|
|
159
158
|
canvas.value.add(rect);
|
160
159
|
if (!hasScale()) {
|
161
160
|
const {
|
162
|
-
title = (
|
161
|
+
title = function() {
|
162
|
+
var _a, _b, _c;
|
163
|
+
try {
|
164
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.234")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.234")) || "\u603B\u91CF";
|
165
|
+
} catch (e) {
|
166
|
+
return "\u603B\u91CF";
|
167
|
+
}
|
168
|
+
}(),
|
163
169
|
style: style2
|
164
170
|
} = (top == null ? void 0 : top.total) || {};
|
165
171
|
const totalText = drawText([endX + (canvasWidth - endX) / 2, y], {
|