cnhis-design-vue 3.3.2-beta.6 → 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 +27 -15
- package/es/components/big-table/src/BigTable.vue2.js +189 -131
- 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 +7 -3
- 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 +14 -6
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -2
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +100 -45
- 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/classification/src/components/search-filter/index.vue2.js +24 -10
- package/es/components/classification/src/components/set-classification/index.vue2.js +23 -6
- 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 +28 -12
- 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 +27 -11
- package/es/components/field-set/src/components/edit-dialog.vue2.js +149 -69
- 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 +7 -3
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +7 -3
- package/es/components/form-render/src/components/renderer/combination/tableCombination.js +8 -2
- package/es/components/form-render/src/components/renderer/input.js +2 -1
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +7 -3
- 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 +4 -3
- 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 +35 -15
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +54 -22
- 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 +309 -211
- 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 +70 -40
- 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 +14 -6
- 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 +45 -18
- 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 +20 -14
- package/es/components/index.css +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +142 -23
- package/es/components/keyboard/src/Keyboard.vue2.js +21 -9
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +49 -35
- package/es/components/map/src/Map.vue2.js +7 -3
- package/es/components/picture-clipper/src/PictureClipper.vue2.js +14 -6
- package/es/components/quick-search/src/index.vue2.js +177 -132
- 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 +14 -6
- 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 +30 -9
- 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 +85 -55
- 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 +130 -105
- 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/src/components/ExportModal.vue2.js +186 -112
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +147 -88
- 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 +13 -7
- 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 +7 -3
- 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 +28 -12
- 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 +7 -3
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +14 -6
- 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
@@ -12,7 +12,6 @@ import '../../../shortcut-provider/index.js';
|
|
12
12
|
import { encapBrowserLog } from '../../../../shared/utils/index.js';
|
13
13
|
import { useShortcuts } from '../../../shortcut-provider/src/hooks/useShortcuts.js';
|
14
14
|
|
15
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
|
16
15
|
const _hoisted_1 = {
|
17
16
|
class: "newprint-button-outer"
|
18
17
|
};
|
@@ -22,7 +21,14 @@ const _hoisted_2 = {
|
|
22
21
|
};
|
23
22
|
const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", {
|
24
23
|
class: "label bold"
|
25
|
-
}, (
|
24
|
+
}, function() {
|
25
|
+
var _a, _b, _c;
|
26
|
+
try {
|
27
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.473")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.473")) || "\u5916\u663E\u8BBE\u7F6E";
|
28
|
+
} catch (e) {
|
29
|
+
return "\u5916\u663E\u8BBE\u7F6E";
|
30
|
+
}
|
31
|
+
}(), -1);
|
26
32
|
const _hoisted_4 = {
|
27
33
|
class: "print-lite"
|
28
34
|
};
|
@@ -88,23 +94,58 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
88
94
|
type: Array
|
89
95
|
},
|
90
96
|
btnText: {
|
91
|
-
default: (
|
97
|
+
default: function() {
|
98
|
+
var _a, _b, _c;
|
99
|
+
try {
|
100
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.478")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.478")) || "\u6253\u5370";
|
101
|
+
} catch (e) {
|
102
|
+
return "\u6253\u5370";
|
103
|
+
}
|
104
|
+
}(),
|
92
105
|
type: String
|
93
106
|
},
|
94
107
|
printText: {
|
95
|
-
default: (
|
108
|
+
default: function() {
|
109
|
+
var _a, _b, _c;
|
110
|
+
try {
|
111
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.479")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.479")) || "\u76F4\u63A5\u6253\u5370";
|
112
|
+
} catch (e) {
|
113
|
+
return "\u76F4\u63A5\u6253\u5370";
|
114
|
+
}
|
115
|
+
}(),
|
96
116
|
type: String
|
97
117
|
},
|
98
118
|
previewText: {
|
99
|
-
default: (
|
119
|
+
default: function() {
|
120
|
+
var _a, _b, _c;
|
121
|
+
try {
|
122
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.480")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.480")) || "\u6253\u5370\u9884\u89C8";
|
123
|
+
} catch (e) {
|
124
|
+
return "\u6253\u5370\u9884\u89C8";
|
125
|
+
}
|
126
|
+
}(),
|
100
127
|
type: String
|
101
128
|
},
|
102
129
|
pdfLoadText: {
|
103
|
-
default: (
|
130
|
+
default: function() {
|
131
|
+
var _a, _b, _c;
|
132
|
+
try {
|
133
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.481")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.481")) || "\u4E0B\u8F7Dpdf";
|
134
|
+
} catch (e) {
|
135
|
+
return "\u4E0B\u8F7Dpdf";
|
136
|
+
}
|
137
|
+
}(),
|
104
138
|
type: String
|
105
139
|
},
|
106
140
|
formatEditText: {
|
107
|
-
default: (
|
141
|
+
default: function() {
|
142
|
+
var _a, _b, _c;
|
143
|
+
try {
|
144
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.482")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.482")) || "\u683C\u5F0F\u7F16\u8F91";
|
145
|
+
} catch (e) {
|
146
|
+
return "\u683C\u5F0F\u7F16\u8F91";
|
147
|
+
}
|
148
|
+
}(),
|
108
149
|
type: String
|
109
150
|
},
|
110
151
|
prevFn: {
|
@@ -124,7 +165,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
124
165
|
type: Function
|
125
166
|
},
|
126
167
|
noDataMsg: {
|
127
|
-
default: (
|
168
|
+
default: function() {
|
169
|
+
var _a, _b, _c;
|
170
|
+
try {
|
171
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.483")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.483")) || "\u8BF7\u9009\u4E2D\u9700\u8981\u6253\u5370\u7684\u6570\u636E";
|
172
|
+
} catch (e) {
|
173
|
+
return "\u8BF7\u9009\u4E2D\u9700\u8981\u6253\u5370\u7684\u6570\u636E";
|
174
|
+
}
|
175
|
+
}(),
|
128
176
|
type: String
|
129
177
|
},
|
130
178
|
token: {
|
@@ -174,7 +222,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
174
222
|
defaultFormatId: "",
|
175
223
|
shortcut: {},
|
176
224
|
buttonProps: {},
|
177
|
-
showMaxHeight: null
|
225
|
+
showMaxHeight: null,
|
226
|
+
initLoadPrintParams: false
|
178
227
|
})
|
179
228
|
},
|
180
229
|
svrUpdateIp: {
|
@@ -187,14 +236,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
187
236
|
setup(__props, {
|
188
237
|
expose
|
189
238
|
}) {
|
190
|
-
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2;
|
191
239
|
const props = __props;
|
192
240
|
String(navigator.platform).toLowerCase().includes("linux");
|
193
241
|
const baseDownListSetting = [{
|
194
|
-
label: (
|
242
|
+
label: function() {
|
243
|
+
var _a, _b, _c;
|
244
|
+
try {
|
245
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.476")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.476")) || "\u5206\u5272\u7EBF";
|
246
|
+
} catch (e) {
|
247
|
+
return "\u5206\u5272\u7EBF";
|
248
|
+
}
|
249
|
+
}(),
|
195
250
|
key: "divider"
|
196
251
|
}, {
|
197
|
-
label: (
|
252
|
+
label: function() {
|
253
|
+
var _a, _b, _c;
|
254
|
+
try {
|
255
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.473")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.473")) || "\u5916\u663E\u8BBE\u7F6E";
|
256
|
+
} catch (e) {
|
257
|
+
return "\u5916\u663E\u8BBE\u7F6E";
|
258
|
+
}
|
259
|
+
}(),
|
198
260
|
key: "outSetting"
|
199
261
|
}];
|
200
262
|
const $message = useMessage();
|
@@ -220,7 +282,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
220
282
|
spinTimer: null,
|
221
283
|
isClickOuterPrint: false,
|
222
284
|
curPrintParamList: [],
|
223
|
-
iReportExecuteMode: 1
|
285
|
+
iReportExecuteMode: 1,
|
286
|
+
number: ""
|
224
287
|
});
|
225
288
|
const shortcutFn = ref({});
|
226
289
|
let options = ref([]);
|
@@ -234,7 +297,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
234
297
|
label: props.formatEditText,
|
235
298
|
key: "formatEditText"
|
236
299
|
}, {
|
237
|
-
label: (
|
300
|
+
label: function() {
|
301
|
+
var _a, _b, _c;
|
302
|
+
try {
|
303
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.484")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.484")) || "\u91CD\u7F6E\u6253\u5370\u673A";
|
304
|
+
} catch (e) {
|
305
|
+
return "\u91CD\u7F6E\u6253\u5370\u673A";
|
306
|
+
}
|
307
|
+
}(),
|
238
308
|
key: "resetPrinter"
|
239
309
|
}]);
|
240
310
|
const downlistOperation = reactive({
|
@@ -256,8 +326,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
256
326
|
return state.formatList.find((item) => item.id === id);
|
257
327
|
});
|
258
328
|
computed(() => {
|
259
|
-
var
|
260
|
-
return ((
|
329
|
+
var _a;
|
330
|
+
return ((_a = currentFormatItem.value) == null ? void 0 : _a.name) || function() {
|
331
|
+
var _a2, _b, _c;
|
332
|
+
try {
|
333
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.485")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.485")) || "\u683C\u5F0F\u9009\u62E9";
|
334
|
+
} catch (e) {
|
335
|
+
return "\u683C\u5F0F\u9009\u62E9";
|
336
|
+
}
|
337
|
+
}();
|
261
338
|
});
|
262
339
|
const getTemplateIdByFormatId = computed(() => {
|
263
340
|
let find = state.formatList.find((item) => item.id === state.currentFormatId);
|
@@ -268,54 +345,54 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
268
345
|
return find == null ? void 0 : find.number;
|
269
346
|
});
|
270
347
|
const isShowPrintAllBtn = computed(() => {
|
271
|
-
var
|
272
|
-
return (
|
348
|
+
var _a;
|
349
|
+
return (_a = props.newPrintSetting) == null ? void 0 : _a.isShowPrintAll;
|
273
350
|
});
|
274
351
|
const isShowOutSettingBtn = computed(() => {
|
275
|
-
var
|
276
|
-
return (
|
352
|
+
var _a;
|
353
|
+
return (_a = props.newPrintSetting) == null ? void 0 : _a.isShowOutSetting;
|
277
354
|
});
|
278
355
|
const printCustomProps = computed(() => {
|
279
|
-
var
|
280
|
-
return ((
|
356
|
+
var _a;
|
357
|
+
return ((_a = props.newPrintSetting) == null ? void 0 : _a.customProps) || {};
|
281
358
|
});
|
282
359
|
const defaultPrintFormatId = computed(() => {
|
283
|
-
var
|
284
|
-
return ((
|
360
|
+
var _a;
|
361
|
+
return ((_a = props.newPrintSetting) == null ? void 0 : _a.defaultFormatId) || "";
|
285
362
|
});
|
286
363
|
const isPrintAllType = computed(() => {
|
287
|
-
var
|
288
|
-
return ((
|
364
|
+
var _a;
|
365
|
+
return ((_a = props.newPrintSetting) == null ? void 0 : _a.printAllType) || 1;
|
289
366
|
});
|
290
367
|
const shortcutSettings = computed(() => {
|
291
|
-
var
|
292
|
-
return ((
|
368
|
+
var _a;
|
369
|
+
return ((_a = props.newPrintSetting) == null ? void 0 : _a.shortcut) || {};
|
293
370
|
});
|
294
371
|
const buttonProps = computed(() => {
|
295
|
-
var
|
296
|
-
return ((
|
372
|
+
var _a;
|
373
|
+
return ((_a = props.newPrintSetting) == null ? void 0 : _a.buttonProps) || {};
|
297
374
|
});
|
298
375
|
const showMaxHeight = computed(() => {
|
299
|
-
var
|
300
|
-
return ((
|
376
|
+
var _a;
|
377
|
+
return ((_a = props.newPrintSetting) == null ? void 0 : _a.showMaxHeight) || {};
|
301
378
|
});
|
302
379
|
const printAllFormatIds = computed(() => {
|
303
|
-
var
|
304
|
-
return ((
|
380
|
+
var _a;
|
381
|
+
return ((_a = props.newPrintSetting) == null ? void 0 : _a.printAllFormatIds) || [];
|
305
382
|
});
|
306
383
|
const positionElement = computed(() => {
|
307
|
-
var
|
308
|
-
return (
|
384
|
+
var _a;
|
385
|
+
return (_a = props.newPrintSetting) == null ? void 0 : _a.positionElement;
|
309
386
|
});
|
310
387
|
const printAllShortcut = computed(() => {
|
311
|
-
var
|
388
|
+
var _a, _b;
|
312
389
|
const keys = Object.keys(shortcutSettings.value);
|
313
390
|
if (keys.length > 0) {
|
314
391
|
if (defaultPrintFormatId.value && keys.includes(defaultPrintFormatId.value)) {
|
315
|
-
return ((
|
392
|
+
return ((_a = shortcutSettings.value[defaultPrintFormatId.value]) == null ? void 0 : _a.shortcutLabel) || "";
|
316
393
|
}
|
317
394
|
if (keys.includes("all")) {
|
318
|
-
return ((
|
395
|
+
return ((_b = shortcutSettings.value["all"]) == null ? void 0 : _b.shortcutLabel) || "";
|
319
396
|
}
|
320
397
|
}
|
321
398
|
return "";
|
@@ -335,15 +412,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
335
412
|
}
|
336
413
|
});
|
337
414
|
const innerFilterPrintItems = computed(() => {
|
338
|
-
var
|
339
|
-
if (((
|
415
|
+
var _a;
|
416
|
+
if (((_a = innerPrintItems.value) == null ? void 0 : _a.length) === 2) {
|
340
417
|
return innerPrintItems.value.filter((item) => item.key !== "divider");
|
341
418
|
}
|
342
419
|
return innerPrintItems.value;
|
343
420
|
});
|
344
421
|
const initShowDownList = async () => {
|
345
|
-
var
|
346
|
-
if (!((
|
422
|
+
var _a, _b;
|
423
|
+
if (!((_b = (_a = props.newPrintSetting) == null ? void 0 : _a.outerPrintKeys) == null ? void 0 : _b.length))
|
347
424
|
await handleClickBtn();
|
348
425
|
downlistPopover.oneShow = true;
|
349
426
|
};
|
@@ -423,9 +500,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
423
500
|
emit("cancel", res);
|
424
501
|
};
|
425
502
|
const prevFnError = (type) => {
|
426
|
-
var _a3, _b3, _c3;
|
427
503
|
const error = {
|
428
|
-
message: (
|
504
|
+
message: function() {
|
505
|
+
var _a, _b, _c;
|
506
|
+
try {
|
507
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.486")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.486")) || "\u524D\u7F6E\u6761\u4EF6\u6267\u884C\u9519\u8BEF";
|
508
|
+
} catch (e) {
|
509
|
+
return "\u524D\u7F6E\u6761\u4EF6\u6267\u884C\u9519\u8BEF";
|
510
|
+
}
|
511
|
+
}(),
|
429
512
|
type,
|
430
513
|
preExecution: true
|
431
514
|
};
|
@@ -439,11 +522,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
439
522
|
});
|
440
523
|
};
|
441
524
|
const getOnceParams = (curPrintParamList = [], templateCode) => {
|
442
|
-
var
|
525
|
+
var _a, _b;
|
443
526
|
let params = {};
|
444
527
|
let obj = {};
|
445
|
-
if (((
|
446
|
-
const key = ((
|
528
|
+
if (((_a = state.templateParams[templateCode].customizeDataset) == null ? void 0 : _a.length) > 0) {
|
529
|
+
const key = ((_b = Object.keys(curPrintParamList[0].datasetData || {})) == null ? void 0 : _b[0]) || "";
|
447
530
|
const datasetDataKeyVal = JSON.stringify(curPrintParamList.map((v) => JSON.parse(v.datasetData[key])));
|
448
531
|
obj = {
|
449
532
|
datasetData: {}
|
@@ -464,11 +547,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
464
547
|
return JSON.stringify(params);
|
465
548
|
};
|
466
549
|
const handleClickPrintAll = () => {
|
467
|
-
var
|
550
|
+
var _a;
|
468
551
|
const templateNumbers = Object.keys(state.printParams);
|
469
552
|
state.isClickOuterPrint = false;
|
470
553
|
const originParamsClone = state.originParams;
|
471
|
-
if (((
|
554
|
+
if (((_a = Object.keys(printAllFormatIds.value)) == null ? void 0 : _a.length) > 0) {
|
472
555
|
options.value.forEach((optItem) => {
|
473
556
|
if (printAllFormatIds.value.includes(optItem.key)) {
|
474
557
|
const tmpParam = state.printParams[optItem.templateCode];
|
@@ -551,12 +634,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
551
634
|
templateId,
|
552
635
|
params: curPrintParamList
|
553
636
|
}).then(() => {
|
554
|
-
var
|
637
|
+
var _a;
|
555
638
|
state.curPrintParamList = curPrintParamList;
|
556
|
-
const curPrintdlgshow = ((
|
639
|
+
const curPrintdlgshow = ((_a = printCustomProps.value) == null ? void 0 : _a.printdlgshow) || props.printdlgshow;
|
557
640
|
const queryParams = {
|
558
641
|
formatId,
|
559
642
|
iReportExecuteMode: state.iReportExecuteMode,
|
643
|
+
number: state.number,
|
560
644
|
templateId,
|
561
645
|
authorizationKey: authorizationKey.value,
|
562
646
|
printdlgshow: curPrintdlgshow,
|
@@ -608,6 +692,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
608
692
|
formatId,
|
609
693
|
templateId,
|
610
694
|
iReportExecuteMode: state.iReportExecuteMode,
|
695
|
+
number: state.number,
|
611
696
|
authorizationKey: authorizationKey.value,
|
612
697
|
params,
|
613
698
|
btnprint: props.btnprint,
|
@@ -640,6 +725,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
640
725
|
formatId,
|
641
726
|
templateId,
|
642
727
|
iReportExecuteMode: state.iReportExecuteMode,
|
728
|
+
number: state.number,
|
643
729
|
authorizationKey: authorizationKey.value,
|
644
730
|
print: {
|
645
731
|
print: "1",
|
@@ -676,7 +762,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
676
762
|
});
|
677
763
|
};
|
678
764
|
const handleResetPrinter = async (curPrintParamList = [], templateCode, templateId, formatId) => {
|
679
|
-
var _a3, _b3, _c3, _d3, _e3, _f3, _g3, _h3, _i3;
|
680
765
|
if (props.showLoading && getCurrentLoading())
|
681
766
|
return;
|
682
767
|
toggleExpandLoading(true, formatId);
|
@@ -684,13 +769,34 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
684
769
|
const data = await printInstance.resetPrinter(formatId, state.iReportExecuteMode);
|
685
770
|
toggleExpandLoading(false);
|
686
771
|
if ((data == null ? void 0 : data.result) == "success") {
|
687
|
-
$message.success((data == null ? void 0 : data.message) || (
|
772
|
+
$message.success((data == null ? void 0 : data.message) || function() {
|
773
|
+
var _a, _b, _c;
|
774
|
+
try {
|
775
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.487")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.487")) || "\u91CD\u7F6E\u6253\u5370\u673A\u6210\u529F";
|
776
|
+
} catch (e) {
|
777
|
+
return "\u91CD\u7F6E\u6253\u5370\u673A\u6210\u529F";
|
778
|
+
}
|
779
|
+
}());
|
688
780
|
return;
|
689
781
|
}
|
690
|
-
$message.warning((data == null ? void 0 : data.message) || (
|
782
|
+
$message.warning((data == null ? void 0 : data.message) || function() {
|
783
|
+
var _a, _b, _c;
|
784
|
+
try {
|
785
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.488")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.488")) || "\u91CD\u7F6E\u6253\u5370\u673A\u5931\u8D25";
|
786
|
+
} catch (e) {
|
787
|
+
return "\u91CD\u7F6E\u6253\u5370\u673A\u5931\u8D25";
|
788
|
+
}
|
789
|
+
}());
|
691
790
|
} catch (error) {
|
692
791
|
toggleExpandLoading(false);
|
693
|
-
$message.warning((error == null ? void 0 : error.message) || (
|
792
|
+
$message.warning((error == null ? void 0 : error.message) || function() {
|
793
|
+
var _a, _b, _c;
|
794
|
+
try {
|
795
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.488")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.488")) || "\u91CD\u7F6E\u6253\u5370\u673A\u5931\u8D25";
|
796
|
+
} catch (e) {
|
797
|
+
return "\u91CD\u7F6E\u6253\u5370\u673A\u5931\u8D25";
|
798
|
+
}
|
799
|
+
}());
|
694
800
|
}
|
695
801
|
};
|
696
802
|
const handleSelect = async (type, {
|
@@ -726,7 +832,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
726
832
|
printInstance = new Print();
|
727
833
|
};
|
728
834
|
const setOptions = () => {
|
729
|
-
var
|
835
|
+
var _a, _b, _c;
|
730
836
|
const shortKeys = Object.keys(shortcutSettings.value);
|
731
837
|
const children = state.formatList.map((v) => {
|
732
838
|
const item = {
|
@@ -749,10 +855,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
749
855
|
if (isShowOutSettingBtn.value) {
|
750
856
|
options.value.push(...baseDownListSetting);
|
751
857
|
}
|
752
|
-
if (((
|
858
|
+
if (((_b = (_a = props.newPrintSetting) == null ? void 0 : _a.outerPrintKeys) == null ? void 0 : _b.length) > 0) {
|
753
859
|
options.value.forEach((option) => {
|
754
|
-
var
|
755
|
-
if ((
|
860
|
+
var _a2;
|
861
|
+
if ((_a2 = props.newPrintSetting) == null ? void 0 : _a2.outerPrintKeys.includes(option.key)) {
|
756
862
|
option.selected = true;
|
757
863
|
}
|
758
864
|
});
|
@@ -765,7 +871,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
765
871
|
const portalStr = sessionStorage.getItem("portal");
|
766
872
|
if (portalStr) {
|
767
873
|
const portal = JSON.parse(portalStr);
|
768
|
-
const limitObj = ((
|
874
|
+
const limitObj = ((_c = portal == null ? void 0 : portal.user) == null ? void 0 : _c.currentRoleResourceObj) || {};
|
769
875
|
const limitList = Object.keys(limitObj);
|
770
876
|
if (!limitList.includes(downloadPdfCode)) {
|
771
877
|
operations.value = operations.value.filter((option) => option.key != "downloadPdf");
|
@@ -909,9 +1015,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
909
1015
|
return templateObj;
|
910
1016
|
};
|
911
1017
|
const initCRM = async (formatListResult) => {
|
912
|
-
var
|
1018
|
+
var _a, _b;
|
913
1019
|
state.formatList = formatListResult ? formatFormatList(formatListResult.obj) : [];
|
914
|
-
state.iReportExecuteMode = ((
|
1020
|
+
state.iReportExecuteMode = ((_a = formatListResult == null ? void 0 : formatListResult.obj) == null ? void 0 : _a.length) > 0 ? formatListResult.obj[0].iReportExecuteMode || 1 : 1;
|
1021
|
+
state.number = ((_b = formatListResult == null ? void 0 : formatListResult.obj) == null ? void 0 : _b.length) > 0 ? formatListResult.obj[0].number || "" : "";
|
915
1022
|
setOptions();
|
916
1023
|
state.templateParams = mergeTemplateList(formatListResult.obj);
|
917
1024
|
state.printParams = formatSomeTypeParams(state.templateParams, props.params);
|
@@ -919,7 +1026,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
919
1026
|
registerShort();
|
920
1027
|
};
|
921
1028
|
const init = async () => {
|
922
|
-
var
|
1029
|
+
var _a;
|
923
1030
|
if (state.isInited)
|
924
1031
|
return true;
|
925
1032
|
state.isInited = true;
|
@@ -927,7 +1034,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
927
1034
|
instantiatePrintSDK();
|
928
1035
|
const formatListResult = await props.queryPrintFormatByNumber();
|
929
1036
|
await initCRM(formatListResult);
|
930
|
-
if (((
|
1037
|
+
if (((_a = formatListResult.obj) == null ? void 0 : _a.length) > 0)
|
931
1038
|
authorizationKey.value = formatListResult.obj[0].authorizationKey || "";
|
932
1039
|
state.spinning = false;
|
933
1040
|
return true;
|
@@ -948,6 +1055,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
948
1055
|
callback() {
|
949
1056
|
if (key == "all") {
|
950
1057
|
printAllButtonClick("button");
|
1058
|
+
return;
|
951
1059
|
}
|
952
1060
|
const formatIds = showSettingItems.value.map((item) => item.key);
|
953
1061
|
const originParamsClone = state.originParams;
|
@@ -958,6 +1066,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
958
1066
|
const printToParam = originParamsClone[curTypeItem == null ? void 0 : curTypeItem.templateCode] || [];
|
959
1067
|
handleClickPrint(tmpParam, curTypeItem.templateCode, curTypeItem.templateId, curTypeItem.key, printToParam);
|
960
1068
|
}
|
1069
|
+
} else {
|
1070
|
+
initShowDownList();
|
961
1071
|
}
|
962
1072
|
}
|
963
1073
|
});
|
@@ -993,6 +1103,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
993
1103
|
const params = props.strategy === "MULTI" ? paramsFirst : getOnceParams(state.curPrintParamList, getTemplateCodeByFormatId.value);
|
994
1104
|
const queryParams = {
|
995
1105
|
formatId: state.currentFormatId,
|
1106
|
+
number: state.number,
|
996
1107
|
templateId: getTemplateIdByFormatId.value,
|
997
1108
|
params,
|
998
1109
|
token
|
@@ -1026,8 +1137,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1026
1137
|
deep: true
|
1027
1138
|
});
|
1028
1139
|
watch(() => {
|
1029
|
-
var
|
1030
|
-
return (
|
1140
|
+
var _a;
|
1141
|
+
return (_a = props.newPrintSetting) == null ? void 0 : _a.outerPrintKeys;
|
1031
1142
|
}, async (val) => {
|
1032
1143
|
if ((val == null ? void 0 : val.length) > 0) {
|
1033
1144
|
await handleClickBtn(false);
|
@@ -1036,6 +1147,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1036
1147
|
deep: true,
|
1037
1148
|
immediate: true
|
1038
1149
|
});
|
1150
|
+
watch(() => {
|
1151
|
+
var _a;
|
1152
|
+
return (_a = props.newPrintSetting) == null ? void 0 : _a.initLoadPrintParams;
|
1153
|
+
}, async (isInit) => {
|
1154
|
+
if (isInit) {
|
1155
|
+
await handleClickBtn(false);
|
1156
|
+
}
|
1157
|
+
}, {
|
1158
|
+
immediate: true
|
1159
|
+
});
|
1039
1160
|
async function directPrint() {
|
1040
1161
|
await handleClickBtn(false);
|
1041
1162
|
handleClickPrintAll();
|
@@ -1115,10 +1236,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1115
1236
|
checked: sItem.selected,
|
1116
1237
|
"onUpdate:checked": ($event) => sItem.selected = $event
|
1117
1238
|
}, {
|
1118
|
-
default: withCtx(() => {
|
1119
|
-
var
|
1120
|
-
|
1121
|
-
|
1239
|
+
default: withCtx(() => [createTextVNode(function() {
|
1240
|
+
var _a, _b, _c;
|
1241
|
+
try {
|
1242
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.474")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.474")) || "\u5916\u663E";
|
1243
|
+
} catch (e) {
|
1244
|
+
return "\u5916\u663E";
|
1245
|
+
}
|
1246
|
+
}())]),
|
1122
1247
|
_: 2
|
1123
1248
|
}, 1032, ["checked", "onUpdate:checked"])])]);
|
1124
1249
|
}), 128)), createElementVNode("div", _hoisted_6, [createVNode(unref(NDivider)), createElementVNode("div", _hoisted_7, [createVNode(unref(NButton), {
|
@@ -1126,20 +1251,28 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1126
1251
|
size: "small",
|
1127
1252
|
onClick: savePrintOutSetting
|
1128
1253
|
}, {
|
1129
|
-
default: withCtx(() => {
|
1130
|
-
var
|
1131
|
-
|
1132
|
-
|
1254
|
+
default: withCtx(() => [createTextVNode(function() {
|
1255
|
+
var _a, _b, _c;
|
1256
|
+
try {
|
1257
|
+
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";
|
1258
|
+
} catch (e) {
|
1259
|
+
return "\u4FDD\u5B58";
|
1260
|
+
}
|
1261
|
+
}())]),
|
1133
1262
|
_: 1
|
1134
1263
|
}), unref(showSettingItems) && unref(showSettingItems).length > 1 ? (openBlock(), createBlock(unref(NCheckbox), {
|
1135
1264
|
key: 0,
|
1136
1265
|
checked: unref(isSelectedAll),
|
1137
1266
|
"onUpdate:checked": _cache[1] || (_cache[1] = ($event) => isRef(isSelectedAll) ? isSelectedAll.value = $event : null)
|
1138
1267
|
}, {
|
1139
|
-
default: withCtx(() => {
|
1140
|
-
var
|
1141
|
-
|
1142
|
-
|
1268
|
+
default: withCtx(() => [createTextVNode(function() {
|
1269
|
+
var _a, _b, _c;
|
1270
|
+
try {
|
1271
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.37")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.37")) || "\u5168\u9009";
|
1272
|
+
} catch (e) {
|
1273
|
+
return "\u5168\u9009";
|
1274
|
+
}
|
1275
|
+
}())]),
|
1143
1276
|
_: 1
|
1144
1277
|
}, 8, ["checked"])) : createCommentVNode("v-if", true)])])], 4)]),
|
1145
1278
|
_: 1
|
@@ -1172,10 +1305,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1172
1305
|
component: unref(PrintOutline),
|
1173
1306
|
size: "18"
|
1174
1307
|
}, null, 8, ["component"])]),
|
1175
|
-
default: withCtx(() => {
|
1176
|
-
var
|
1177
|
-
|
1178
|
-
|
1308
|
+
default: withCtx(() => [createTextVNode(" " + toDisplayString(unref(isShowPrintAllBtn) ? function() {
|
1309
|
+
var _a, _b, _c;
|
1310
|
+
try {
|
1311
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.475")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.475")) || "\u6253\u5370\u5168\u90E8";
|
1312
|
+
} catch (e) {
|
1313
|
+
return "\u6253\u5370\u5168\u90E8";
|
1314
|
+
}
|
1315
|
+
}() : __props.btnText) + " ", 1), unref(printAllShortcut) ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(unref(printAllShortcut)), 1)) : createCommentVNode("v-if", true)]),
|
1179
1316
|
_: 1
|
1180
1317
|
}, 16, ["loading", "class"]), createVNode(unref(NButton), mergeProps({
|
1181
1318
|
class: "icon-select"
|
@@ -1233,10 +1370,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1233
1370
|
checked: sItem.selected,
|
1234
1371
|
"onUpdate:checked": ($event) => sItem.selected = $event
|
1235
1372
|
}, {
|
1236
|
-
default: withCtx(() => {
|
1237
|
-
var
|
1238
|
-
|
1239
|
-
|
1373
|
+
default: withCtx(() => [createTextVNode(function() {
|
1374
|
+
var _a, _b, _c;
|
1375
|
+
try {
|
1376
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.474")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.474")) || "\u5916\u663E";
|
1377
|
+
} catch (e) {
|
1378
|
+
return "\u5916\u663E";
|
1379
|
+
}
|
1380
|
+
}())]),
|
1240
1381
|
_: 2
|
1241
1382
|
}, 1032, ["checked", "onUpdate:checked"])])]);
|
1242
1383
|
}), 128)), createElementVNode("div", _hoisted_13, [createVNode(unref(NDivider)), createElementVNode("div", _hoisted_14, [createVNode(unref(NButton), {
|
@@ -1244,20 +1385,28 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1244
1385
|
size: "small",
|
1245
1386
|
onClick: savePrintOutSetting
|
1246
1387
|
}, {
|
1247
|
-
default: withCtx(() => {
|
1248
|
-
var
|
1249
|
-
|
1250
|
-
|
1388
|
+
default: withCtx(() => [createTextVNode(function() {
|
1389
|
+
var _a, _b, _c;
|
1390
|
+
try {
|
1391
|
+
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";
|
1392
|
+
} catch (e) {
|
1393
|
+
return "\u4FDD\u5B58";
|
1394
|
+
}
|
1395
|
+
}())]),
|
1251
1396
|
_: 1
|
1252
1397
|
}), unref(showSettingItems) && unref(showSettingItems).length > 1 ? (openBlock(), createBlock(unref(NCheckbox), {
|
1253
1398
|
key: 0,
|
1254
1399
|
checked: unref(isSelectedAll),
|
1255
1400
|
"onUpdate:checked": _cache[6] || (_cache[6] = ($event) => isRef(isSelectedAll) ? isSelectedAll.value = $event : null)
|
1256
1401
|
}, {
|
1257
|
-
default: withCtx(() => {
|
1258
|
-
var
|
1259
|
-
|
1260
|
-
|
1402
|
+
default: withCtx(() => [createTextVNode(function() {
|
1403
|
+
var _a, _b, _c;
|
1404
|
+
try {
|
1405
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.37")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.37")) || "\u5168\u9009";
|
1406
|
+
} catch (e) {
|
1407
|
+
return "\u5168\u9009";
|
1408
|
+
}
|
1409
|
+
}())]),
|
1261
1410
|
_: 1
|
1262
1411
|
}, 8, ["checked"])) : createCommentVNode("v-if", true)])])], 4)]),
|
1263
1412
|
_: 2
|