cnhis-design-vue 3.3.2-release.0 → 3.3.2-release.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -87
- package/es/components/audio-sdk/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.vue.d.ts +3 -0
- 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 +1 -1
- package/es/components/field-set/src/FieldColor.vue2.js +88 -21
- package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldFilter.vue2.js +32 -16
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- 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 +1 -1
- 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 +67 -12
- 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/selectRendererPlugin/selectUtils.js +17 -3
- 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 +17 -9
- 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/env.d.ts +25 -25
- package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
- package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
- package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
- package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
- package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
- package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
- package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
- package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
- package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
- package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
- package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/table_style_2.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/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
@@ -41,34 +41,75 @@ var ContextMenu = /* @__PURE__ */ defineComponent({
|
|
41
41
|
slots,
|
42
42
|
emit
|
43
43
|
}) {
|
44
|
-
var _a, _b, _c, _d, _e, _f;
|
45
44
|
const {
|
46
45
|
state,
|
47
46
|
setCurrentSessionItem
|
48
47
|
} = useData();
|
49
48
|
const defaultMenuList = [{
|
50
49
|
icon: CopyOutline,
|
51
|
-
label: (
|
50
|
+
label: function() {
|
51
|
+
var _a, _b, _c;
|
52
|
+
try {
|
53
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.97")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.97")) || "\u590D\u5236";
|
54
|
+
} catch (e) {
|
55
|
+
return "\u590D\u5236";
|
56
|
+
}
|
57
|
+
}(),
|
52
58
|
key: "copy"
|
53
59
|
}, {
|
54
60
|
icon: OpenOutline,
|
55
|
-
label: (
|
61
|
+
label: function() {
|
62
|
+
var _a, _b, _c;
|
63
|
+
try {
|
64
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.45")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.45")) || "\u8F6C\u53D1";
|
65
|
+
} catch (e) {
|
66
|
+
return "\u8F6C\u53D1";
|
67
|
+
}
|
68
|
+
}(),
|
56
69
|
key: "relay"
|
57
70
|
}, {
|
58
71
|
icon: ChatbubbleEllipsesOutline,
|
59
|
-
label: (
|
72
|
+
label: function() {
|
73
|
+
var _a, _b, _c;
|
74
|
+
try {
|
75
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.99")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.99")) || "\u56DE\u590D";
|
76
|
+
} catch (e) {
|
77
|
+
return "\u56DE\u590D";
|
78
|
+
}
|
79
|
+
}(),
|
60
80
|
key: "reply"
|
61
81
|
}, {
|
62
82
|
icon: ReorderFourOutline,
|
63
|
-
label: (
|
83
|
+
label: function() {
|
84
|
+
var _a, _b, _c;
|
85
|
+
try {
|
86
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.100")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.100")) || "\u591A\u9009";
|
87
|
+
} catch (e) {
|
88
|
+
return "\u591A\u9009";
|
89
|
+
}
|
90
|
+
}(),
|
64
91
|
key: "multiSelect"
|
65
92
|
}, {
|
66
93
|
icon: ReturnDownBack,
|
67
|
-
label: (
|
94
|
+
label: function() {
|
95
|
+
var _a, _b, _c;
|
96
|
+
try {
|
97
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.101")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.101")) || "\u64A4\u56DE";
|
98
|
+
} catch (e) {
|
99
|
+
return "\u64A4\u56DE";
|
100
|
+
}
|
101
|
+
}(),
|
68
102
|
key: "withdraw"
|
69
103
|
}, {
|
70
104
|
icon: DownloadOutline,
|
71
|
-
label: (
|
105
|
+
label: function() {
|
106
|
+
var _a, _b, _c;
|
107
|
+
try {
|
108
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.102")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.102")) || "\u4E0B\u8F7D";
|
109
|
+
} catch (e) {
|
110
|
+
return "\u4E0B\u8F7D";
|
111
|
+
}
|
112
|
+
}(),
|
72
113
|
key: "download"
|
73
114
|
}];
|
74
115
|
const defaultSessionMenuList = [{
|
@@ -86,14 +127,14 @@ var ContextMenu = /* @__PURE__ */ defineComponent({
|
|
86
127
|
}) => id === props.id);
|
87
128
|
});
|
88
129
|
const menuList = computed(() => {
|
89
|
-
var
|
130
|
+
var _a;
|
90
131
|
if (!props.id)
|
91
132
|
return [];
|
92
133
|
if (!(item == null ? void 0 : item.value))
|
93
134
|
return [];
|
94
135
|
if (props.type === "session") {
|
95
136
|
const _defaultSessionMenuList = [...defaultSessionMenuList];
|
96
|
-
_defaultSessionMenuList[0].label = ((
|
137
|
+
_defaultSessionMenuList[0].label = ((_a = item.value) == null ? void 0 : _a.topping) ? "\u53D6\u6D88\u7F6E\u9876" : "\u7F6E\u9876\u4F1A\u8BDD";
|
97
138
|
if (item.value.status === STATUS.ENDED)
|
98
139
|
_defaultSessionMenuList.pop();
|
99
140
|
return _defaultSessionMenuList;
|
@@ -102,8 +102,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
102
102
|
}
|
103
103
|
}
|
104
104
|
return (_ctx, _cache) => {
|
105
|
-
|
106
|
-
|
105
|
+
return inviter.value && invitee.value.length > 0 ? (openBlock(), createElementBlock("p", _hoisted_1, [inviter.value.id == unref(state).userInfo.id ? (openBlock(), createElementBlock("span", _hoisted_2, function() {
|
106
|
+
var _a, _b, _c;
|
107
|
+
try {
|
108
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.67")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.67")) || "\u4F60";
|
109
|
+
} catch (e) {
|
110
|
+
return "\u4F60";
|
111
|
+
}
|
112
|
+
}())) : (openBlock(), createBlock(unref(NButton), {
|
107
113
|
key: 1,
|
108
114
|
size: "tiny",
|
109
115
|
text: "",
|
@@ -119,10 +125,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
119
125
|
default: withCtx(() => [createTextVNode(toDisplayString(inviter.value.name), 1)]),
|
120
126
|
_: 1
|
121
127
|
})), _hoisted_3, (openBlock(true), createElementBlock(Fragment, null, renderList(invitee.value, (user, idx) => {
|
122
|
-
var _a2;
|
123
128
|
return openBlock(), createElementBlock(Fragment, {
|
124
129
|
key: user.id
|
125
|
-
}, [user.id == unref(state).userInfo.id ? (openBlock(), createElementBlock("span", _hoisted_4, (
|
130
|
+
}, [user.id == unref(state).userInfo.id ? (openBlock(), createElementBlock("span", _hoisted_4, function() {
|
131
|
+
var _a, _b, _c;
|
132
|
+
try {
|
133
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.67")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.67")) || "\u4F60";
|
134
|
+
} catch (e) {
|
135
|
+
return "\u4F60";
|
136
|
+
}
|
137
|
+
}())) : (openBlock(), createBlock(unref(NButton), {
|
126
138
|
key: 1,
|
127
139
|
size: "tiny",
|
128
140
|
text: "",
|
@@ -128,7 +128,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
128
128
|
emit("template-click", data, props.data);
|
129
129
|
}
|
130
130
|
return (_ctx, _cache) => {
|
131
|
-
var _a;
|
132
131
|
return openBlock(), createElementBlock(Fragment, null, [unref(setting).style.id == 1 ? (openBlock(), createElementBlock("div", {
|
133
132
|
key: 0,
|
134
133
|
class: "default-msg-template",
|
@@ -181,7 +180,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
181
180
|
key: 0,
|
182
181
|
class: normalizeClass(["describe-msg-template__footer", showMore.value ? "" : "hidden"]),
|
183
182
|
onClick: _cache[3] || (_cache[3] = () => showMore.value = false)
|
184
|
-
}, [createTextVNode((
|
183
|
+
}, [createTextVNode(function() {
|
184
|
+
var _a, _b, _c;
|
185
|
+
try {
|
186
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.103")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.103")) || "\u5C55\u5F00\u5168\u90E8";
|
187
|
+
} catch (e) {
|
188
|
+
return "\u5C55\u5F00\u5168\u90E8";
|
189
|
+
}
|
190
|
+
}()), _hoisted_13], 2)) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), unref(setting).style.id == 2 ? (openBlock(), createElementBlock("div", _hoisted_14, [createVNode(unref(NIcon), {
|
185
191
|
component: unref(AlertCircleSharp),
|
186
192
|
color: "#ffc200",
|
187
193
|
size: 18
|
@@ -18,7 +18,6 @@ import 'sockjs-client/dist/sockjs.min.js';
|
|
18
18
|
import { useVideo } from '../hooks/useVideo.js';
|
19
19
|
import TRTC from 'trtc-sdk-v5';
|
20
20
|
|
21
|
-
var _a, _b, _c, _d, _e, _f;
|
22
21
|
const _hoisted_1 = {
|
23
22
|
class: "video-wrapper video-wrapper--multiple"
|
24
23
|
};
|
@@ -44,22 +43,50 @@ const _hoisted_8 = {
|
|
44
43
|
};
|
45
44
|
const _hoisted_9 = /* @__PURE__ */ createElementVNode("span", {
|
46
45
|
class: "text"
|
47
|
-
}, (
|
46
|
+
}, function() {
|
47
|
+
var _a, _b, _c;
|
48
|
+
try {
|
49
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.104")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.104")) || "\u9759\u97F3";
|
50
|
+
} catch (e) {
|
51
|
+
return "\u9759\u97F3";
|
52
|
+
}
|
53
|
+
}(), -1);
|
48
54
|
const _hoisted_10 = {
|
49
55
|
class: "btn"
|
50
56
|
};
|
51
57
|
const _hoisted_11 = /* @__PURE__ */ createElementVNode("span", {
|
52
58
|
class: "text"
|
53
|
-
}, (
|
59
|
+
}, function() {
|
60
|
+
var _a, _b, _c;
|
61
|
+
try {
|
62
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.105")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.105")) || "\u6444\u50CF\u5934";
|
63
|
+
} catch (e) {
|
64
|
+
return "\u6444\u50CF\u5934";
|
65
|
+
}
|
66
|
+
}(), -1);
|
54
67
|
const _hoisted_12 = /* @__PURE__ */ createElementVNode("span", {
|
55
68
|
class: "text"
|
56
|
-
}, (
|
69
|
+
}, function() {
|
70
|
+
var _a, _b, _c;
|
71
|
+
try {
|
72
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.106")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.106")) || "\u7ED3\u675F\u4F1A\u8BCA";
|
73
|
+
} catch (e) {
|
74
|
+
return "\u7ED3\u675F\u4F1A\u8BCA";
|
75
|
+
}
|
76
|
+
}(), -1);
|
57
77
|
const _hoisted_13 = {
|
58
78
|
class: "btn"
|
59
79
|
};
|
60
80
|
const _hoisted_14 = /* @__PURE__ */ createElementVNode("span", {
|
61
81
|
class: "text"
|
62
|
-
}, (
|
82
|
+
}, function() {
|
83
|
+
var _a, _b, _c;
|
84
|
+
try {
|
85
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.107")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.107")) || "\u6DFB\u52A0\u53C2\u4F1A\u4EBA";
|
86
|
+
} catch (e) {
|
87
|
+
return "\u6DFB\u52A0\u53C2\u4F1A\u4EBA";
|
88
|
+
}
|
89
|
+
}(), -1);
|
63
90
|
const _hoisted_15 = {
|
64
91
|
class: "video-main__right"
|
65
92
|
};
|
@@ -88,11 +115,25 @@ const _hoisted_22 = {
|
|
88
115
|
const _hoisted_23 = {
|
89
116
|
class: "btn"
|
90
117
|
};
|
91
|
-
const _hoisted_24 = /* @__PURE__ */ createElementVNode("span", null, (
|
118
|
+
const _hoisted_24 = /* @__PURE__ */ createElementVNode("span", null, function() {
|
119
|
+
var _a, _b, _c;
|
120
|
+
try {
|
121
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.113")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.113")) || "\u62D2\u63A5";
|
122
|
+
} catch (e) {
|
123
|
+
return "\u62D2\u63A5";
|
124
|
+
}
|
125
|
+
}(), -1);
|
92
126
|
const _hoisted_25 = {
|
93
127
|
class: "btn"
|
94
128
|
};
|
95
|
-
const _hoisted_26 = /* @__PURE__ */ createElementVNode("span", null, (
|
129
|
+
const _hoisted_26 = /* @__PURE__ */ createElementVNode("span", null, function() {
|
130
|
+
var _a, _b, _c;
|
131
|
+
try {
|
132
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.114")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.114")) || "\u63A5\u542C";
|
133
|
+
} catch (e) {
|
134
|
+
return "\u63A5\u542C";
|
135
|
+
}
|
136
|
+
}(), -1);
|
96
137
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
97
138
|
__name: "MultipleVideo",
|
98
139
|
setup(__props) {
|
@@ -133,8 +174,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
133
174
|
handleCall();
|
134
175
|
}
|
135
176
|
function handleCall() {
|
136
|
-
var
|
137
|
-
if ((
|
177
|
+
var _a;
|
178
|
+
if ((_a = state.currentAVMsg.checkedIds) == null ? void 0 : _a.length) {
|
138
179
|
state.currentAVMsg.checkedIds.forEach((id) => {
|
139
180
|
sendMessage({
|
140
181
|
chatType: CHAT_TYPE.SINGLE,
|
@@ -227,11 +268,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
227
268
|
}
|
228
269
|
}
|
229
270
|
async function handleRemoteAudioAvailable(event) {
|
230
|
-
var
|
271
|
+
var _a;
|
231
272
|
const {
|
232
273
|
userId
|
233
274
|
} = event;
|
234
|
-
if (userId && !((
|
275
|
+
if (userId && !((_a = remoteUsers.value.map((user) => user.id)) == null ? void 0 : _a.includes(userId))) {
|
235
276
|
const name = await getUserName(userId);
|
236
277
|
remoteUsers.value.push({
|
237
278
|
id: userId,
|
@@ -274,7 +315,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
274
315
|
handleExit();
|
275
316
|
});
|
276
317
|
return (_ctx, _cache) => {
|
277
|
-
var _a2, _b2, _c2, _d2, _e2, _f2;
|
278
318
|
return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [withDirectives(createElementVNode("span", {
|
279
319
|
class: "title"
|
280
320
|
}, toDisplayString(unref(title)), 513), [[vShow, isConnect.value]]), createVNode(unref(NButton), {
|
@@ -346,7 +386,35 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
346
386
|
}, null, 8, _hoisted_16);
|
347
387
|
}), 128))])])) : (openBlock(), createElementBlock(Fragment, {
|
348
388
|
key: 1
|
349
|
-
}, [createElementVNode("div", _hoisted_17, [createElementVNode("span", _hoisted_18, toDisplayString(unref(callUser)) + (
|
389
|
+
}, [createElementVNode("div", _hoisted_17, [createElementVNode("span", _hoisted_18, toDisplayString(unref(callUser)) + function() {
|
390
|
+
var _a, _b, _c;
|
391
|
+
try {
|
392
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.108")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.108")) || "\u53D1\u8D77\u7684";
|
393
|
+
} catch (e) {
|
394
|
+
return "\u53D1\u8D77\u7684";
|
395
|
+
}
|
396
|
+
}() + toDisplayString(unref(messageTypeText)) + function() {
|
397
|
+
var _a, _b, _c;
|
398
|
+
try {
|
399
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.109")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.109")) || "\u4F1A\u8BAE";
|
400
|
+
} catch (e) {
|
401
|
+
return "\u4F1A\u8BAE";
|
402
|
+
}
|
403
|
+
}(), 1), !unref(isCall) ? (openBlock(), createElementBlock("span", _hoisted_19, function() {
|
404
|
+
var _a, _b, _c;
|
405
|
+
try {
|
406
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.110")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.110")) || "\u9080\u8BF7\u4F60\u52A0\u5165";
|
407
|
+
} catch (e) {
|
408
|
+
return "\u9080\u8BF7\u4F60\u52A0\u5165";
|
409
|
+
}
|
410
|
+
}() + toDisplayString(unref(messageTypeText)) + function() {
|
411
|
+
var _a, _b, _c;
|
412
|
+
try {
|
413
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.109")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.109")) || "\u4F1A\u8BAE";
|
414
|
+
} catch (e) {
|
415
|
+
return "\u4F1A\u8BAE";
|
416
|
+
}
|
417
|
+
}(), 1)) : createCommentVNode("v-if", true)]), unref(isCall) ? (openBlock(), createElementBlock("div", _hoisted_20, [createVNode(ChatAdd, {
|
350
418
|
onComfirm: handleAddPerson,
|
351
419
|
disabledIds: unref(state).currentAVMsg.checkedIds
|
352
420
|
}, {
|
@@ -361,17 +429,35 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
361
429
|
_: 1
|
362
430
|
})]),
|
363
431
|
_: 1
|
364
|
-
}, 8, ["disabledIds"]), createElementVNode("p", null, (
|
432
|
+
}, 8, ["disabledIds"]), createElementVNode("p", null, function() {
|
433
|
+
var _a, _b, _c;
|
434
|
+
try {
|
435
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.111")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.111")) || "\u5DF2\u9080\u8BF7\u5171";
|
436
|
+
} catch (e) {
|
437
|
+
return "\u5DF2\u9080\u8BF7\u5171";
|
438
|
+
}
|
439
|
+
}() + toDisplayString(unref(state).currentAVMsg.checkedIds.length) + function() {
|
440
|
+
var _a, _b, _c;
|
441
|
+
try {
|
442
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.40")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.40")) || "\u4EBA";
|
443
|
+
} catch (e) {
|
444
|
+
return "\u4EBA";
|
445
|
+
}
|
446
|
+
}(), 1), createVNode(unref(NButton), {
|
365
447
|
size: "large",
|
366
448
|
strong: "",
|
367
449
|
round: "",
|
368
450
|
type: "primary",
|
369
451
|
onClick: handleCall
|
370
452
|
}, {
|
371
|
-
default: withCtx(() => {
|
372
|
-
var
|
373
|
-
|
374
|
-
|
453
|
+
default: withCtx(() => [createTextVNode(function() {
|
454
|
+
var _a, _b, _c;
|
455
|
+
try {
|
456
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.112")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.112")) || "\u5F00\u59CB\u4F1A\u8BCA";
|
457
|
+
} catch (e) {
|
458
|
+
return "\u5F00\u59CB\u4F1A\u8BCA";
|
459
|
+
}
|
460
|
+
}())]),
|
375
461
|
_: 1
|
376
462
|
}), createElementVNode("div", _hoisted_21, [createVNode(unref(NButton), {
|
377
463
|
color: "#000",
|
@@ -40,7 +40,6 @@ const _hoisted_9 = {
|
|
40
40
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
41
41
|
__name: "PersonProfile",
|
42
42
|
setup(__props) {
|
43
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
44
43
|
const {
|
45
44
|
state,
|
46
45
|
openSession
|
@@ -49,35 +48,91 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
49
48
|
const showPhone = ref(false);
|
50
49
|
const userDetail = reactive({});
|
51
50
|
const info = [{
|
52
|
-
label: (
|
51
|
+
label: function() {
|
52
|
+
var _a, _b, _c;
|
53
|
+
try {
|
54
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.115")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.115")) || "\u673A\u6784";
|
55
|
+
} catch (e) {
|
56
|
+
return "\u673A\u6784";
|
57
|
+
}
|
58
|
+
}(),
|
53
59
|
value: "",
|
54
60
|
key: "orgName"
|
55
61
|
}, {
|
56
|
-
label: (
|
62
|
+
label: function() {
|
63
|
+
var _a, _b, _c;
|
64
|
+
try {
|
65
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.116")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.116")) || "\u59D3\u540D";
|
66
|
+
} catch (e) {
|
67
|
+
return "\u59D3\u540D";
|
68
|
+
}
|
69
|
+
}(),
|
57
70
|
value: "",
|
58
71
|
key: "name"
|
59
72
|
}, {
|
60
|
-
label: (
|
73
|
+
label: function() {
|
74
|
+
var _a, _b, _c;
|
75
|
+
try {
|
76
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.117")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.117")) || "\u5F52\u5C5E\u79D1\u5BA4";
|
77
|
+
} catch (e) {
|
78
|
+
return "\u5F52\u5C5E\u79D1\u5BA4";
|
79
|
+
}
|
80
|
+
}(),
|
61
81
|
value: "",
|
62
82
|
key: "deptName"
|
63
83
|
}, {
|
64
|
-
label: (
|
84
|
+
label: function() {
|
85
|
+
var _a, _b, _c;
|
86
|
+
try {
|
87
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.118")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.118")) || "\u4E1A\u52A1\u79D1\u5BA4";
|
88
|
+
} catch (e) {
|
89
|
+
return "\u4E1A\u52A1\u79D1\u5BA4";
|
90
|
+
}
|
91
|
+
}(),
|
65
92
|
value: "",
|
66
93
|
key: "businessDeptNames"
|
67
94
|
}, {
|
68
|
-
label: (
|
95
|
+
label: function() {
|
96
|
+
var _a, _b, _c;
|
97
|
+
try {
|
98
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.119")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.119")) || "\u624B\u673A\u53F7";
|
99
|
+
} catch (e) {
|
100
|
+
return "\u624B\u673A\u53F7";
|
101
|
+
}
|
102
|
+
}(),
|
69
103
|
value: "",
|
70
104
|
key: "phone"
|
71
105
|
}, {
|
72
|
-
label: (
|
106
|
+
label: function() {
|
107
|
+
var _a, _b, _c;
|
108
|
+
try {
|
109
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.120")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.120")) || "\u5C97\u4F4D";
|
110
|
+
} catch (e) {
|
111
|
+
return "\u5C97\u4F4D";
|
112
|
+
}
|
113
|
+
}(),
|
73
114
|
value: "",
|
74
115
|
key: "post"
|
75
116
|
}, {
|
76
|
-
label: (
|
117
|
+
label: function() {
|
118
|
+
var _a, _b, _c;
|
119
|
+
try {
|
120
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.121")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.121")) || "\u5DE5\u53F7";
|
121
|
+
} catch (e) {
|
122
|
+
return "\u5DE5\u53F7";
|
123
|
+
}
|
124
|
+
}(),
|
77
125
|
value: "",
|
78
126
|
key: "jobId"
|
79
127
|
}, {
|
80
|
-
label: (
|
128
|
+
label: function() {
|
129
|
+
var _a, _b, _c;
|
130
|
+
try {
|
131
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.122")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.122")) || "\u6027\u522B";
|
132
|
+
} catch (e) {
|
133
|
+
return "\u6027\u522B";
|
134
|
+
}
|
135
|
+
}(),
|
81
136
|
value: "",
|
82
137
|
key: "orgName"
|
83
138
|
}];
|
@@ -93,9 +148,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
93
148
|
return info;
|
94
149
|
});
|
95
150
|
async function toOpenSession() {
|
96
|
-
var
|
151
|
+
var _a;
|
97
152
|
state.userDetail.show = false;
|
98
|
-
const userId = state.userDetail.userId || ((
|
153
|
+
const userId = state.userDetail.userId || ((_a = state.userDetail.info) == null ? void 0 : _a.id);
|
99
154
|
let session = state.sessionList.find((_session) => _session.receiver === userId);
|
100
155
|
if (!session) {
|
101
156
|
try {
|
@@ -170,7 +225,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
170
225
|
round: "",
|
171
226
|
size: 100,
|
172
227
|
onClickCapture: _cache[0] || (_cache[0] = ($event) => showLargeAvatar.value = true)
|
173
|
-
}, null, 8, ["src"]), createCommentVNode(' <n-upload abstract accept="image/*" @change="onChange">\n <n-upload-trigger #="{ handleClick }" abstract>\n <n-button\n circle\n secondary\n class="edit-avatar"\n v-show="userDetail.id === state.userInfo.id"\n @click="handleClick"\n >\n <template #icon>\n <n-icon size="16" color="#666666" :component="Camera" />\n </template>\n </n-button>\n </n-upload-trigger>\n </n-upload> '), createElementVNode("div", _hoisted_4, [createElementVNode("h4", null, [createElementVNode("label", _hoisted_5, toDisplayString(userDetail.name), 1), withDirectives(createElementVNode("label", {
|
228
|
+
}, null, 8, ["src"]), createCommentVNode(' <n-upload abstract accept="image/*" @change="onChange">\r\n <n-upload-trigger #="{ handleClick }" abstract>\r\n <n-button\r\n circle\r\n secondary\r\n class="edit-avatar"\r\n v-show="userDetail.id === state.userInfo.id"\r\n @click="handleClick"\r\n >\r\n <template #icon>\r\n <n-icon size="16" color="#666666" :component="Camera" />\r\n </template>\r\n </n-button>\r\n </n-upload-trigger>\r\n </n-upload> '), createElementVNode("div", _hoisted_4, [createElementVNode("h4", null, [createElementVNode("label", _hoisted_5, toDisplayString(userDetail.name), 1), withDirectives(createElementVNode("label", {
|
174
229
|
class: normalizeClass(["iho-chatRole", unref(isDoctorRole)(userDetail.roleInfo) ? "isDoctor" : ""])
|
175
230
|
}, toDisplayString(unref(getRoleName)(userDetail.roleInfo)), 3), [[vShow, unref(getRoleName)(userDetail.roleInfo)]])]), createElementVNode("p", null, toDisplayString(userDetail.orgName), 1)]), createVNode(unref(NButton), {
|
176
231
|
strong: "",
|
@@ -72,51 +72,55 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
72
72
|
type: "card",
|
73
73
|
"tab-class": "tab-box"
|
74
74
|
}, {
|
75
|
-
default: withCtx(() => {
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
return
|
83
|
-
|
84
|
-
|
75
|
+
default: withCtx(() => [createVNode(unref(NTabPane), {
|
76
|
+
name: "emoji",
|
77
|
+
tab: function() {
|
78
|
+
var _a, _b, _c;
|
79
|
+
try {
|
80
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.53")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.53")) || "\u8868\u60C5";
|
81
|
+
} catch (e) {
|
82
|
+
return "\u8868\u60C5";
|
83
|
+
}
|
84
|
+
}()
|
85
|
+
}, {
|
86
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(emojis).default, ([name, emoji]) => {
|
87
|
+
return openBlock(), createBlock(unref(NTooltip), {
|
88
|
+
key: name,
|
89
|
+
"show-arrow": false
|
90
|
+
}, {
|
91
|
+
trigger: withCtx(() => [createVNode(unref(NButton), {
|
92
|
+
quaternary: "",
|
93
|
+
size: "tiny",
|
94
|
+
onClick: () => handleMessageLabel("emoji", name)
|
85
95
|
}, {
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
onClick: () => handleMessageLabel("emoji", name)
|
90
|
-
}, {
|
91
|
-
icon: withCtx(() => [createElementVNode("img", {
|
92
|
-
src: emoji
|
93
|
-
}, null, 8, _hoisted_2)]),
|
94
|
-
_: 2
|
95
|
-
}, 1032, ["onClick"])]),
|
96
|
-
default: withCtx(() => [createTextVNode(" " + toDisplayString(name), 1)]),
|
96
|
+
icon: withCtx(() => [createElementVNode("img", {
|
97
|
+
src: emoji
|
98
|
+
}, null, 8, _hoisted_2)]),
|
97
99
|
_: 2
|
98
|
-
},
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
100
|
+
}, 1032, ["onClick"])]),
|
101
|
+
default: withCtx(() => [createTextVNode(" " + toDisplayString(name), 1)]),
|
102
|
+
_: 2
|
103
|
+
}, 1024);
|
104
|
+
}), 128))])]),
|
105
|
+
_: 1
|
106
|
+
}), createVNode(unref(NTabPane), {
|
107
|
+
name: "text",
|
108
|
+
tab: "\u6587\u5B57"
|
109
|
+
}, {
|
110
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_3, [(openBlock(), createElementBlock(Fragment, null, renderList(labelList, (item) => {
|
111
|
+
return createVNode(unref(NButton), {
|
112
|
+
type: item.type,
|
113
|
+
secondary: "",
|
114
|
+
size: "small",
|
115
|
+
key: item.label,
|
116
|
+
onClick: () => handleMessageLabel("text", item)
|
117
|
+
}, {
|
118
|
+
default: withCtx(() => [createTextVNode(toDisplayString(item.label), 1)]),
|
119
|
+
_: 2
|
120
|
+
}, 1032, ["type", "onClick"]);
|
121
|
+
}), 64))])]),
|
122
|
+
_: 1
|
123
|
+
})]),
|
120
124
|
_: 1
|
121
125
|
})]),
|
122
126
|
_: 1
|