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
@@ -55,7 +55,7 @@ class Print {
|
|
55
55
|
this.getIReportFormatId = (isIReport2, formatId) => {
|
56
56
|
return isIReport2 ? formatId.split("_")[1] : formatId;
|
57
57
|
};
|
58
|
-
var _a, _b, _c
|
58
|
+
var _a, _b, _c;
|
59
59
|
if (printInstance)
|
60
60
|
return printInstance;
|
61
61
|
printInstance = this;
|
@@ -79,15 +79,29 @@ class Print {
|
|
79
79
|
} catch (e) {
|
80
80
|
const errorMsg = "\u5F53\u524D\u6D4F\u89C8\u5668\u7248\u672C\u4E0D\u652F\u6301\u83B7\u53D6\u914D\u7F6E\u63A5\u53E3";
|
81
81
|
this._handleMonitorNotify(errorMsg);
|
82
|
-
console.log((
|
82
|
+
console.log(function() {
|
83
|
+
var _a2, _b2, _c2;
|
84
|
+
try {
|
85
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.494")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.494")) || "\u975E\u5C01\u88C5\u6D4F\u89C8\u5668\u6216\u8005";
|
86
|
+
} catch (e2) {
|
87
|
+
return "\u975E\u5C01\u88C5\u6D4F\u89C8\u5668\u6216\u8005";
|
88
|
+
}
|
89
|
+
}() + errorMsg);
|
83
90
|
}
|
84
91
|
}
|
85
92
|
messageHandler(e) {
|
86
|
-
var _a
|
93
|
+
var _a;
|
87
94
|
console.log("\u6253\u5370\u4E8B\u4EF6message", e);
|
88
95
|
if (!e) {
|
89
96
|
this._handleMonitorNotify("\u63A5\u6536\u5230\u7A7A\u7684\u6D4F\u89C8\u5668\u4E8B\u4EF6\uFF0C" + e);
|
90
|
-
return console.log("\u5F53\u524D\u56DE\u6267", e, (
|
97
|
+
return console.log("\u5F53\u524D\u56DE\u6267", e, function() {
|
98
|
+
var _a2, _b, _c;
|
99
|
+
try {
|
100
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.493")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.493")) || "\u63A5\u6536\u5230\u7A7A\u7684\u6D4F\u89C8\u5668\u4E8B\u4EF6";
|
101
|
+
} catch (e2) {
|
102
|
+
return "\u63A5\u6536\u5230\u7A7A\u7684\u6D4F\u89C8\u5668\u4E8B\u4EF6";
|
103
|
+
}
|
104
|
+
}());
|
91
105
|
}
|
92
106
|
let data;
|
93
107
|
try {
|
@@ -118,7 +132,7 @@ class Print {
|
|
118
132
|
reject(e2);
|
119
133
|
}
|
120
134
|
} else if ((data == null ? void 0 : data.exec) === "config") {
|
121
|
-
this.downloadPath = ((
|
135
|
+
this.downloadPath = ((_a = data.res) == null ? void 0 : _a.downloadpath) || "";
|
122
136
|
}
|
123
137
|
}
|
124
138
|
_initDomesticSystem(cb) {
|
@@ -293,7 +307,6 @@ class Print {
|
|
293
307
|
});
|
294
308
|
}
|
295
309
|
async resetPrinter(originFormatId, iReportExecuteMode) {
|
296
|
-
var _a;
|
297
310
|
const iReportStatus = isIReport(originFormatId);
|
298
311
|
const formatId = this.getIReportFormatId(iReportStatus, originFormatId);
|
299
312
|
if (iReportStatus && (isDomestic || iReportExecuteMode == 2)) {
|
@@ -302,7 +315,14 @@ class Print {
|
|
302
315
|
return {
|
303
316
|
type: "notInstalledApp",
|
304
317
|
result: "error",
|
305
|
-
message: (
|
318
|
+
message: function() {
|
319
|
+
var _a, _b, _c;
|
320
|
+
try {
|
321
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.496")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.496")) || "\u8BF7\u5F00\u542FihoPrint\u5BA2\u6237\u7AEF";
|
322
|
+
} catch (e) {
|
323
|
+
return "\u8BF7\u5F00\u542FihoPrint\u5BA2\u6237\u7AEF";
|
324
|
+
}
|
325
|
+
}()
|
306
326
|
};
|
307
327
|
}
|
308
328
|
return httpFn({
|
@@ -440,9 +460,15 @@ class Print {
|
|
440
460
|
});
|
441
461
|
}
|
442
462
|
_handleResult(data, errorCallbackFn, cancelCallbackFn) {
|
443
|
-
var _a;
|
444
463
|
if (!data) {
|
445
|
-
const message = (
|
464
|
+
const message = function() {
|
465
|
+
var _a, _b, _c;
|
466
|
+
try {
|
467
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.497")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.497")) || "\u6253\u5370\u547D\u4EE4\u8FD4\u56DE\u7A7A\u6570\u636E";
|
468
|
+
} catch (e) {
|
469
|
+
return "\u6253\u5370\u547D\u4EE4\u8FD4\u56DE\u7A7A\u6570\u636E";
|
470
|
+
}
|
471
|
+
}();
|
446
472
|
this._handleMonitorNotify("");
|
447
473
|
errorCallbackFn == null ? void 0 : errorCallbackFn({
|
448
474
|
type: "printError",
|
@@ -476,12 +502,18 @@ class Print {
|
|
476
502
|
return data;
|
477
503
|
}
|
478
504
|
_handleResultTest(result, errorCallbackFn) {
|
479
|
-
var _a;
|
480
505
|
if (!result) {
|
481
506
|
console.log("notInstalledApp");
|
482
507
|
errorCallbackFn == null ? void 0 : errorCallbackFn({
|
483
508
|
type: "notInstalledApp",
|
484
|
-
message: (
|
509
|
+
message: function() {
|
510
|
+
var _a, _b, _c;
|
511
|
+
try {
|
512
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.498")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.498")) || "\u8BF7\u6253\u5F00\u6253\u5370\u670D\u52A1\u5668\u63D2\u4EF6";
|
513
|
+
} catch (e) {
|
514
|
+
return "\u8BF7\u6253\u5F00\u6253\u5370\u670D\u52A1\u5668\u63D2\u4EF6";
|
515
|
+
}
|
516
|
+
}(),
|
485
517
|
result: "error"
|
486
518
|
});
|
487
519
|
return false;
|
@@ -524,6 +556,7 @@ class Print {
|
|
524
556
|
async _handleEventDirect({
|
525
557
|
templateId,
|
526
558
|
formatId,
|
559
|
+
number,
|
527
560
|
svrUpdateIp,
|
528
561
|
hideButtons,
|
529
562
|
params,
|
@@ -540,6 +573,7 @@ class Print {
|
|
540
573
|
const queryParams = {
|
541
574
|
templateId,
|
542
575
|
formatId,
|
576
|
+
number,
|
543
577
|
svrUpdateIp,
|
544
578
|
hideButtons,
|
545
579
|
params,
|
@@ -576,6 +610,7 @@ class Print {
|
|
576
610
|
async _handleEventEditFormat({
|
577
611
|
templateId,
|
578
612
|
formatId = "",
|
613
|
+
number,
|
579
614
|
params = "",
|
580
615
|
token,
|
581
616
|
messageTimeout = 0
|
@@ -590,6 +625,7 @@ class Print {
|
|
590
625
|
const queryParams = {
|
591
626
|
templateId,
|
592
627
|
formatId,
|
628
|
+
number,
|
593
629
|
cmdid: "9",
|
594
630
|
token,
|
595
631
|
params: JSON.stringify(formatParams),
|
@@ -715,6 +751,7 @@ class Print {
|
|
715
751
|
iReportExecuteMode,
|
716
752
|
hideButtons,
|
717
753
|
templateId,
|
754
|
+
number,
|
718
755
|
formatId: originFormatId,
|
719
756
|
params = "",
|
720
757
|
paramsArr,
|
@@ -723,7 +760,6 @@ class Print {
|
|
723
760
|
btnprint,
|
724
761
|
messageTimeout = 0
|
725
762
|
}, successCallbackFn, errorCallbackFn) {
|
726
|
-
var _a;
|
727
763
|
const iReportStatus = isIReport(originFormatId);
|
728
764
|
const formatId = this.getIReportFormatId(iReportStatus, originFormatId);
|
729
765
|
if (iReportStatus && (isDomestic || iReportExecuteMode == 2)) {
|
@@ -751,6 +787,7 @@ class Print {
|
|
751
787
|
try {
|
752
788
|
const result = await this._handleEventDirect({
|
753
789
|
templateId,
|
790
|
+
number,
|
754
791
|
formatId,
|
755
792
|
params,
|
756
793
|
paramsArr,
|
@@ -772,7 +809,14 @@ class Print {
|
|
772
809
|
await this.getPicAndUpload(handledResult);
|
773
810
|
successCallbackFn == null ? void 0 : successCallbackFn(handledResult);
|
774
811
|
} catch (e) {
|
775
|
-
const message = (
|
812
|
+
const message = function() {
|
813
|
+
var _a, _b, _c;
|
814
|
+
try {
|
815
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.499")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.499")) || "\u9884\u89C8\u5931\u8D25";
|
816
|
+
} catch (e2) {
|
817
|
+
return "\u9884\u89C8\u5931\u8D25";
|
818
|
+
}
|
819
|
+
}();
|
776
820
|
const error = (e == null ? void 0 : e.type) === "timeout" ? {
|
777
821
|
...e,
|
778
822
|
message,
|
@@ -786,7 +830,6 @@ class Print {
|
|
786
830
|
}
|
787
831
|
}
|
788
832
|
async printSync(data, successCallbackFn, errorCallbackFn) {
|
789
|
-
var _a, _b;
|
790
833
|
const _data = data.map((item) => {
|
791
834
|
const inputData = {
|
792
835
|
params: "",
|
@@ -816,7 +859,14 @@ class Print {
|
|
816
859
|
data: _data
|
817
860
|
});
|
818
861
|
if (!result || !Array.isArray(result)) {
|
819
|
-
const message = (
|
862
|
+
const message = function() {
|
863
|
+
var _a, _b, _c;
|
864
|
+
try {
|
865
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.500")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.500")) || "\u6253\u5370\u547D\u4EE4\u8FD4\u56DE\u65E0\u6548\u6570\u636E";
|
866
|
+
} catch (e) {
|
867
|
+
return "\u6253\u5370\u547D\u4EE4\u8FD4\u56DE\u65E0\u6548\u6570\u636E";
|
868
|
+
}
|
869
|
+
}();
|
820
870
|
this._handleMonitorNotify(result || "");
|
821
871
|
errorCallbackFn == null ? void 0 : errorCallbackFn({
|
822
872
|
type: "printError",
|
@@ -837,7 +887,14 @@ class Print {
|
|
837
887
|
const error = {
|
838
888
|
error: e,
|
839
889
|
result: "error",
|
840
|
-
message: (
|
890
|
+
message: function() {
|
891
|
+
var _a, _b, _c;
|
892
|
+
try {
|
893
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.501")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.501")) || "\u6253\u5370\u5931\u8D25";
|
894
|
+
} catch (e2) {
|
895
|
+
return "\u6253\u5370\u5931\u8D25";
|
896
|
+
}
|
897
|
+
}()
|
841
898
|
};
|
842
899
|
errorCallbackFn == null ? void 0 : errorCallbackFn(error);
|
843
900
|
this._handleMonitorNotify(error);
|
@@ -846,6 +903,7 @@ class Print {
|
|
846
903
|
async printDirect({
|
847
904
|
iReportExecuteMode,
|
848
905
|
templateId,
|
906
|
+
number,
|
849
907
|
formatId: originFormatId,
|
850
908
|
params = "",
|
851
909
|
paramsArr,
|
@@ -859,7 +917,6 @@ class Print {
|
|
859
917
|
isDownloadFile = true,
|
860
918
|
messageTimeout = 0
|
861
919
|
}, successCallbackFn, errorCallbackFn, cancelCallbackFn, mode = "printDirect") {
|
862
|
-
var _a, _b, _c;
|
863
920
|
const iReportStatus = isIReport(originFormatId);
|
864
921
|
const formatId = this.getIReportFormatId(iReportStatus, originFormatId);
|
865
922
|
if (iReportStatus && (isDomestic || iReportExecuteMode == 2)) {
|
@@ -868,12 +925,18 @@ class Print {
|
|
868
925
|
errorCallbackFn({
|
869
926
|
type: "notInstalledApp",
|
870
927
|
result: "error",
|
871
|
-
message: (
|
928
|
+
message: function() {
|
929
|
+
var _a, _b, _c;
|
930
|
+
try {
|
931
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.496")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.496")) || "\u8BF7\u5F00\u542FihoPrint\u5BA2\u6237\u7AEF";
|
932
|
+
} catch (e) {
|
933
|
+
return "\u8BF7\u5F00\u542FihoPrint\u5BA2\u6237\u7AEF";
|
934
|
+
}
|
935
|
+
}()
|
872
936
|
});
|
873
937
|
return;
|
874
938
|
}
|
875
939
|
const isAlreadyConnect = this._initDomesticSystem(async (isNewConnect) => {
|
876
|
-
var _a2;
|
877
940
|
if (isNewConnect) {
|
878
941
|
await this.printToHiPrint({
|
879
942
|
templateId,
|
@@ -885,7 +948,14 @@ class Print {
|
|
885
948
|
errorCallbackFn({
|
886
949
|
type: "notInstalledApp",
|
887
950
|
result: "error",
|
888
|
-
message: (
|
951
|
+
message: function() {
|
952
|
+
var _a, _b, _c;
|
953
|
+
try {
|
954
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.502")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.502")) || "\u8FDE\u63A5ihoPrint\u5BA2\u6237\u7AEF\u5931\u8D25";
|
955
|
+
} catch (e) {
|
956
|
+
return "\u8FDE\u63A5ihoPrint\u5BA2\u6237\u7AEF\u5931\u8D25";
|
957
|
+
}
|
958
|
+
}()
|
889
959
|
});
|
890
960
|
}
|
891
961
|
});
|
@@ -906,6 +976,7 @@ class Print {
|
|
906
976
|
try {
|
907
977
|
const result = await this._handleEventDirect({
|
908
978
|
templateId,
|
979
|
+
number,
|
909
980
|
formatId,
|
910
981
|
params,
|
911
982
|
paramsArr,
|
@@ -925,7 +996,21 @@ class Print {
|
|
925
996
|
await this._browserPrint(handledResult, mode);
|
926
997
|
successCallbackFn == null ? void 0 : successCallbackFn(handledResult);
|
927
998
|
} catch (e) {
|
928
|
-
const message = mode === "printDirect" ? (
|
999
|
+
const message = mode === "printDirect" ? function() {
|
1000
|
+
var _a, _b, _c;
|
1001
|
+
try {
|
1002
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.501")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.501")) || "\u6253\u5370\u5931\u8D25";
|
1003
|
+
} catch (e2) {
|
1004
|
+
return "\u6253\u5370\u5931\u8D25";
|
1005
|
+
}
|
1006
|
+
}() : function() {
|
1007
|
+
var _a, _b, _c;
|
1008
|
+
try {
|
1009
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.503")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.503")) || "\u4E0B\u8F7D\u5931\u8D25";
|
1010
|
+
} catch (e2) {
|
1011
|
+
return "\u4E0B\u8F7D\u5931\u8D25";
|
1012
|
+
}
|
1013
|
+
}();
|
929
1014
|
const error = (e == null ? void 0 : e.type) === "timeout" ? {
|
930
1015
|
...e,
|
931
1016
|
message,
|
@@ -1104,6 +1189,7 @@ class Print {
|
|
1104
1189
|
async editPrintFormat({
|
1105
1190
|
templateId,
|
1106
1191
|
formatId,
|
1192
|
+
number,
|
1107
1193
|
params,
|
1108
1194
|
token,
|
1109
1195
|
messageTimeout = 0
|
@@ -1114,6 +1200,7 @@ class Print {
|
|
1114
1200
|
const result = await this._handleEventEditFormat({
|
1115
1201
|
templateId,
|
1116
1202
|
formatId,
|
1203
|
+
number,
|
1117
1204
|
params,
|
1118
1205
|
token,
|
1119
1206
|
messageTimeout
|
@@ -32,14 +32,20 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
32
32
|
emit("confirm", valueRef.value);
|
33
33
|
}
|
34
34
|
return (_ctx, _cache) => {
|
35
|
-
var _a;
|
36
35
|
return openBlock(), createBlock(unref(NModal), mergeProps({
|
37
36
|
preset: "dialog",
|
38
37
|
title: "\u626B\u7801\u7535\u5B50\u5065\u5EB7\u5361",
|
39
38
|
show: __props.show,
|
40
39
|
"close-on-esc": false,
|
41
40
|
"show-icon": false,
|
42
|
-
"positive-text": (
|
41
|
+
"positive-text": function() {
|
42
|
+
var _a, _b, _c;
|
43
|
+
try {
|
44
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.428")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.428")) || "\u786E\u8BA4";
|
45
|
+
} catch (e) {
|
46
|
+
return "\u786E\u8BA4";
|
47
|
+
}
|
48
|
+
}()
|
43
49
|
}, __props.modalProps, {
|
44
50
|
"trap-focus": false,
|
45
51
|
onClose,
|
@@ -14,9 +14,15 @@ class ReadHealthCard {
|
|
14
14
|
inputProps,
|
15
15
|
modalProps
|
16
16
|
} = {}) {
|
17
|
-
var _a;
|
18
17
|
if (this.rendered)
|
19
|
-
return Promise.reject(ReadHealthCard.createMsg((
|
18
|
+
return Promise.reject(ReadHealthCard.createMsg(function() {
|
19
|
+
var _a, _b, _c;
|
20
|
+
try {
|
21
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.491")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.491")) || "\u8BF7\u52FF\u91CD\u590D\u6253\u5F00\u5F39\u7A97";
|
22
|
+
} catch (e) {
|
23
|
+
return "\u8BF7\u52FF\u91CD\u590D\u6253\u5F00\u5F39\u7A97";
|
24
|
+
}
|
25
|
+
}()));
|
20
26
|
return new Promise((resolve, reject) => {
|
21
27
|
this.rendered = true;
|
22
28
|
const container = document.createElement("div");
|
@@ -37,8 +43,14 @@ class ReadHealthCard {
|
|
37
43
|
mount(container);
|
38
44
|
nextTick(() => visible.value = true);
|
39
45
|
function onClose() {
|
40
|
-
|
41
|
-
|
46
|
+
reject(ReadHealthCard.createMsg(function() {
|
47
|
+
var _a, _b, _c;
|
48
|
+
try {
|
49
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.492")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.492")) || "\u5F39\u7A97\u5173\u95ED";
|
50
|
+
} catch (e) {
|
51
|
+
return "\u5F39\u7A97\u5173\u95ED";
|
52
|
+
}
|
53
|
+
}()));
|
42
54
|
}
|
43
55
|
function onConfirm(value) {
|
44
56
|
resolve(value);
|
@@ -2,7 +2,6 @@ import { isString } from 'lodash-es';
|
|
2
2
|
import '../../../form-render/index.js';
|
3
3
|
import { parseAgeFromContext, parseBirthday } from '../../../form-render/src/utils/business.js';
|
4
4
|
|
5
|
-
var _a, _b, _c, _d;
|
6
5
|
const url = "ws://localhost:18880";
|
7
6
|
let websocket = null;
|
8
7
|
let currentTask = null;
|
@@ -37,10 +36,10 @@ const CardReaderCN_henan = Object.freeze({
|
|
37
36
|
reject();
|
38
37
|
};
|
39
38
|
websocket2.onmessage = (e) => {
|
40
|
-
var
|
39
|
+
var _a;
|
41
40
|
if (!currentTask)
|
42
41
|
return;
|
43
|
-
currentTask == null ? void 0 : currentTask(JSON.parse((
|
42
|
+
currentTask == null ? void 0 : currentTask(JSON.parse((_a = e.data) != null ? _a : ""));
|
44
43
|
currentTask = null;
|
45
44
|
};
|
46
45
|
websocket2.onerror = () => {
|
@@ -60,7 +59,7 @@ const CardReaderCN_henan = Object.freeze({
|
|
60
59
|
async sendMessage(data) {
|
61
60
|
await this.connect();
|
62
61
|
return new Promise((resolve, reject) => {
|
63
|
-
var
|
62
|
+
var _a;
|
64
63
|
if (!websocket)
|
65
64
|
return reject("websocket\u8FDE\u63A5\u5931\u8D25");
|
66
65
|
if (currentTask)
|
@@ -69,7 +68,7 @@ const CardReaderCN_henan = Object.freeze({
|
|
69
68
|
setTimeout(() => {
|
70
69
|
reject("\u8BF7\u6C42\u8D85\u65F6");
|
71
70
|
currentTask = null;
|
72
|
-
}, (
|
71
|
+
}, (_a = this.duration) != null ? _a : 3e3);
|
73
72
|
websocket.send(JSON.stringify(data));
|
74
73
|
});
|
75
74
|
},
|
@@ -134,7 +133,7 @@ const CardReaderCN_henan = Object.freeze({
|
|
134
133
|
});
|
135
134
|
},
|
136
135
|
async iReadCertInfo() {
|
137
|
-
var
|
136
|
+
var _a;
|
138
137
|
const res = await this.sendMessage({
|
139
138
|
bizcode: "1201",
|
140
139
|
body: {
|
@@ -142,7 +141,7 @@ const CardReaderCN_henan = Object.freeze({
|
|
142
141
|
pPhotoPath: ""
|
143
142
|
}
|
144
143
|
});
|
145
|
-
if (!res || res.reinfo !== "\u6210\u529F" || !isString((
|
144
|
+
if (!res || res.reinfo !== "\u6210\u529F" || !isString((_a = res.body) == null ? void 0 : _a.pOutInfo))
|
146
145
|
return {
|
147
146
|
cardinfo: {}
|
148
147
|
};
|
@@ -177,10 +176,38 @@ function sexToSexCode(sex) {
|
|
177
176
|
}
|
178
177
|
const ageCodeMap = {
|
179
178
|
Y: "\u5C81",
|
180
|
-
M: (
|
181
|
-
|
182
|
-
|
183
|
-
|
179
|
+
M: function() {
|
180
|
+
var _a, _b, _c;
|
181
|
+
try {
|
182
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.347")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.347")) || "\u6708";
|
183
|
+
} catch (e) {
|
184
|
+
return "\u6708";
|
185
|
+
}
|
186
|
+
}(),
|
187
|
+
D: function() {
|
188
|
+
var _a, _b, _c;
|
189
|
+
try {
|
190
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.144")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.144")) || "\u5929";
|
191
|
+
} catch (e) {
|
192
|
+
return "\u5929";
|
193
|
+
}
|
194
|
+
}(),
|
195
|
+
H: function() {
|
196
|
+
var _a, _b, _c;
|
197
|
+
try {
|
198
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.350")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.350")) || "\u5C0F\u65F6";
|
199
|
+
} catch (e) {
|
200
|
+
return "\u5C0F\u65F6";
|
201
|
+
}
|
202
|
+
}(),
|
203
|
+
W: function() {
|
204
|
+
var _a, _b, _c;
|
205
|
+
try {
|
206
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.346")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.346")) || "\u5468";
|
207
|
+
} catch (e) {
|
208
|
+
return "\u5468";
|
209
|
+
}
|
210
|
+
}(),
|
184
211
|
N: "\u5206\u949F"
|
185
212
|
};
|
186
213
|
function birthdayToAge(birthday) {
|
@@ -143,29 +143,6 @@ declare function getComponent(type: COMPONENT_TYPE): import("vue").DefineCompone
|
|
143
143
|
default: () => {};
|
144
144
|
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
145
145
|
};
|
146
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "button-click"[], "button-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
147
|
-
config: {
|
148
|
-
default: () => {};
|
149
|
-
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
150
|
-
};
|
151
|
-
data: {
|
152
|
-
default: () => {};
|
153
|
-
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
154
|
-
};
|
155
|
-
}>> & {
|
156
|
-
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
157
|
-
}, {
|
158
|
-
data: import("../../../../shared/types").AnyObject;
|
159
|
-
config: import("../../../../shared/types").AnyObject;
|
160
|
-
}> | import("vue").DefineComponent<{
|
161
|
-
config: {
|
162
|
-
default: () => {};
|
163
|
-
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
164
|
-
};
|
165
|
-
data: {
|
166
|
-
default: () => {};
|
167
|
-
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
168
|
-
};
|
169
146
|
}, {
|
170
147
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
171
148
|
config: {
|
@@ -491,6 +468,29 @@ declare function getComponent(type: COMPONENT_TYPE): import("vue").DefineCompone
|
|
491
468
|
default: () => {};
|
492
469
|
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
493
470
|
};
|
471
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "button-click"[], "button-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
472
|
+
config: {
|
473
|
+
default: () => {};
|
474
|
+
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
475
|
+
};
|
476
|
+
data: {
|
477
|
+
default: () => {};
|
478
|
+
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
479
|
+
};
|
480
|
+
}>> & {
|
481
|
+
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
482
|
+
}, {
|
483
|
+
data: import("../../../../shared/types").AnyObject;
|
484
|
+
config: import("../../../../shared/types").AnyObject;
|
485
|
+
}> | import("vue").DefineComponent<{
|
486
|
+
config: {
|
487
|
+
default: () => {};
|
488
|
+
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
489
|
+
};
|
490
|
+
data: {
|
491
|
+
default: () => {};
|
492
|
+
type: import("vue").PropType<import("../../../../shared/types").AnyObject>;
|
493
|
+
};
|
494
494
|
}, {
|
495
495
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
496
496
|
config: {
|
@@ -4,7 +4,6 @@ import { InjectionClassifyfilterType } from '../../../../table-filter/src/consta
|
|
4
4
|
import ClassifyFilterConditionByApi from '../../../../table-filter/src/components/classify-filter/index.vue.js';
|
5
5
|
import BiFilterConditionByApi from '../../../../table-filter/src/components/bi-filter/index.vue.js';
|
6
6
|
|
7
|
-
var _a;
|
8
7
|
const _hoisted_1 = {
|
9
8
|
class: "svg-wrap"
|
10
9
|
};
|
@@ -20,7 +19,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
20
19
|
},
|
21
20
|
modalTitle: {
|
22
21
|
type: String,
|
23
|
-
default: (
|
22
|
+
default: function() {
|
23
|
+
var _a, _b, _c;
|
24
|
+
try {
|
25
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.281")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.281")) || "\u8BBE\u7F6E\u5206\u7C7B";
|
26
|
+
} catch (e) {
|
27
|
+
return "\u8BBE\u7F6E\u5206\u7C7B";
|
28
|
+
}
|
29
|
+
}()
|
24
30
|
},
|
25
31
|
conditionList: {
|
26
32
|
type: Array,
|
@@ -141,19 +147,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
141
147
|
footer: withCtx(() => [createElementVNode("div", _hoisted_2, [createVNode(unref(NButton), {
|
142
148
|
onClick: cancelSaveAdd
|
143
149
|
}, {
|
144
|
-
default: withCtx(() => {
|
145
|
-
var
|
146
|
-
|
147
|
-
|
150
|
+
default: withCtx(() => [createTextVNode(function() {
|
151
|
+
var _a, _b, _c;
|
152
|
+
try {
|
153
|
+
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";
|
154
|
+
} catch (e) {
|
155
|
+
return "\u53D6\u6D88";
|
156
|
+
}
|
157
|
+
}())]),
|
148
158
|
_: 1
|
149
159
|
}), createVNode(unref(NButton), {
|
150
160
|
type: "info",
|
151
161
|
onClick: saveAdd
|
152
162
|
}, {
|
153
|
-
default: withCtx(() => {
|
154
|
-
var
|
155
|
-
|
156
|
-
|
163
|
+
default: withCtx(() => [createTextVNode(function() {
|
164
|
+
var _a, _b, _c;
|
165
|
+
try {
|
166
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.244")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.244")) || "\u4FDD\u5B58";
|
167
|
+
} catch (e) {
|
168
|
+
return "\u4FDD\u5B58";
|
169
|
+
}
|
170
|
+
}())]),
|
157
171
|
_: 1
|
158
172
|
})])]),
|
159
173
|
default: withCtx(() => [unref(classifyfilterType) === "1" ? (openBlock(), createElementBlock(Fragment, {
|
@@ -104,9 +104,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
104
104
|
actionList_prop.value = {};
|
105
105
|
}
|
106
106
|
async function delItem(checkedItemVal) {
|
107
|
-
var _a, _b;
|
108
107
|
if (!checkedItemVal) {
|
109
|
-
$message.info((
|
108
|
+
$message.info(function() {
|
109
|
+
var _a, _b, _c;
|
110
|
+
try {
|
111
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.410")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.410")) || "\u8BF7\u9009\u62E9\u884C";
|
112
|
+
} catch (e) {
|
113
|
+
return "\u8BF7\u9009\u62E9\u884C";
|
114
|
+
}
|
115
|
+
}());
|
110
116
|
return;
|
111
117
|
}
|
112
118
|
try {
|
@@ -116,7 +122,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
116
122
|
let res = await handleGetConfigApi(params, "requestDeleteTableCondiTion", {}, filterApiConfig);
|
117
123
|
if (!res)
|
118
124
|
return;
|
119
|
-
$message.success((
|
125
|
+
$message.success(function() {
|
126
|
+
var _a, _b, _c;
|
127
|
+
try {
|
128
|
+
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";
|
129
|
+
} catch (e) {
|
130
|
+
return "\u5220\u9664\u6210\u529F";
|
131
|
+
}
|
132
|
+
}());
|
120
133
|
emit("saveGetTableCondiTionList", {
|
121
134
|
type: "delete",
|
122
135
|
item: checkedItemVal
|
@@ -184,10 +197,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
184
197
|
type: "info",
|
185
198
|
onClick: hanleAdd
|
186
199
|
}, {
|
187
|
-
default: withCtx(() => {
|
188
|
-
var _a;
|
189
|
-
|
190
|
-
|
200
|
+
default: withCtx(() => [createTextVNode(function() {
|
201
|
+
var _a, _b, _c;
|
202
|
+
try {
|
203
|
+
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";
|
204
|
+
} catch (e) {
|
205
|
+
return "\u65B0\u589E";
|
206
|
+
}
|
207
|
+
}())]),
|
191
208
|
_: 1
|
192
209
|
})]),
|
193
210
|
_: 1
|