cnhis-design-vue 3.3.2-beta.12 → 3.3.2-beta.6
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/src/Index.vue2.js +1 -1
- package/es/components/audio-sdk/style/index.css +1 -1
- package/es/components/base-search/src/index.vue2.js +15 -27
- package/es/components/big-table/src/BigTable.vue2.js +131 -189
- package/es/components/big-table/src/components/NoData.vue2.js +4 -16
- package/es/components/big-table/src/components/edit-form/edit-date.js +6 -12
- package/es/components/big-table/src/components/edit-form/edit-input.js +2 -8
- package/es/components/big-table/src/components/edit-form/edit-select.js +17 -21
- package/es/components/big-table/src/components/edit-form/edit-time.js +4 -11
- package/es/components/big-table/src/components/input-button.vue2.js +3 -7
- package/es/components/big-table/src/hooks/useNestTable.js +4 -18
- package/es/components/big-table/src/hooks/useTableParse.js +3 -16
- package/es/components/body-select/src/index.vue2.js +4 -24
- package/es/components/button-print/index.d.ts +0 -1
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +0 -1
- package/es/components/button-print/src/ButtonPrint.vue2.js +11 -52
- package/es/components/button-print/src/components/EditFormat.vue2.js +6 -14
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +43 -94
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +94 -229
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +0 -1
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +32 -92
- package/es/components/button-print/src/components/Preview.vue2.js +2 -8
- package/es/components/button-print/src/utils/dialog.js +6 -24
- package/es/components/button-print/src/utils/print.d.ts +5 -5
- package/es/components/button-print/src/utils/print.js +21 -108
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +2 -8
- package/es/components/card-reader-sdk/src/utils/readHealthCard.js +4 -16
- package/es/components/card-reader-sdk-cn/src/henan/index.js +11 -38
- package/es/components/classification/src/components/search-filter/index.vue2.js +10 -24
- package/es/components/classification/src/components/set-classification/index.vue2.js +6 -23
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/components/table-modal/index.vue2.js +165 -324
- package/es/components/classification/src/index.vue2.js +69 -261
- package/es/components/default-page/src/constants/index.js +19 -144
- package/es/components/default-page/src/index.vue2.js +2 -8
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +51 -75
- package/es/components/expand-field/src/components/FormItemPerson.vue2.js +38 -46
- package/es/components/expand-field/src/components/PersonModal.vue2.js +50 -62
- package/es/components/expand-field/src/components/form.vue2.js +412 -783
- package/es/components/expand-field/src/index.vue2.js +22 -88
- package/es/components/expand-field/src/utils/constant.js +12 -88
- package/es/components/fabric-chart/src/components/PopupMenu.js +15 -32
- package/es/components/fabric-chart/src/constants/index.js +10 -72
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -16
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +2 -8
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +5 -32
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +2 -8
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +41 -63
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -5
- package/es/components/fabric-chart/src/hooks/useCommon.js +4 -24
- 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 +30 -232
- package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldColor.vue2.js +21 -88
- package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldFilter.vue2.js +12 -28
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue2.js +57 -210
- package/es/components/field-set/src/Index.vue2.js +6 -40
- package/es/components/field-set/src/TableStyle.vue2.js +13 -48
- package/es/components/field-set/src/components/condition.vue2.js +11 -27
- package/es/components/field-set/src/components/edit-dialog.vue2.js +69 -149
- package/es/components/field-set/src/components/edit-filter.vue2.js +4 -24
- 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 +42 -123
- package/es/components/field-set/src/constants/filter.js +42 -328
- package/es/components/field-set/src/constants/index.js +64 -504
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +46 -91
- package/es/components/form-config/src/constants/index.js +11 -80
- package/es/components/form-config/src/hooks/useLocale.js +31 -240
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +3 -7
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +3 -7
- package/es/components/form-render/src/components/renderer/combination/tableCombination.js +2 -8
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +3 -7
- package/es/components/form-render/src/components/renderer/remoteSearch.js +2 -8
- package/es/components/form-render/src/components/renderer/switch.js +4 -24
- package/es/components/form-render/src/utils/schema.js +6 -26
- package/es/components/iho-chat/src/Index.vue2.js +38 -42
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +33 -108
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +90 -132
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +48 -110
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +15 -35
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +22 -54
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +45 -77
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +208 -256
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +211 -309
- package/es/components/iho-chat/src/components/ContextMenu.js +9 -50
- package/es/components/iho-chat/src/components/MessageEvent.vue2.js +4 -16
- package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +2 -8
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +18 -104
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +12 -67
- package/es/components/iho-chat/src/components/SelectLabel.vue2.js +43 -47
- package/es/components/iho-chat/src/components/SiderList.vue2.js +40 -70
- package/es/components/iho-chat/src/components/Video.vue2.js +11 -38
- package/es/components/iho-chat/src/hooks/useVideo.js +4 -15
- package/es/components/iho-chat/src/utils/index.js +14 -79
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +2 -8
- package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +15 -40
- package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +15 -40
- 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 +20 -50
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +6 -14
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +3 -10
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +18 -45
- 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 +14 -20
- package/es/components/index.css +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +23 -142
- package/es/components/keyboard/src/Keyboard.vue2.js +9 -21
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +35 -49
- package/es/components/map/src/Map.vue2.js +3 -7
- package/es/components/picture-clipper/src/PictureClipper.vue2.js +6 -14
- package/es/components/quick-search/src/index.vue2.js +132 -177
- package/es/components/recommend-search/src/components/BaseSearch.js +8 -14
- package/es/components/recommend-search/src/components/RecommendInput.vue2.js +8 -28
- package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +5 -18
- package/es/components/scale-view/src/ScaleView.vue2.js +7 -15
- package/es/components/scale-view/src/components/NoData.vue2.js +4 -16
- package/es/components/scale-view/src/components/formitem/r-cascader.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +6 -24
- package/es/components/scale-view/src/components/formitem/r-input.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-map.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-radio.js +6 -24
- package/es/components/scale-view/src/components/formitem/r-select.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-sign.js +9 -30
- package/es/components/scale-view/src/components/formitem/standard-modal.js +3 -16
- package/es/components/scale-view/src/hooks/scaleview-computed.js +5 -24
- package/es/components/scale-view/src/hooks/scaleview-methods.js +4 -16
- package/es/components/scale-view/src/hooks/scaleview-submit.js +3 -16
- package/es/components/scale-view/src/hooks/scaleview-validate.js +9 -40
- package/es/components/search-cascader/src/SearchCascader.vue2.js +14 -20
- package/es/components/select-label/src/LabelFormContent.vue2.js +21 -53
- package/es/components/select-label/src/SelectLabel.vue2.js +55 -85
- package/es/components/select-label/src/components/label-classify.vue2.js +11 -28
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +5 -18
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +8 -34
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +5 -18
- package/es/components/select-person/src/SelectPerson.vue2.js +141 -214
- package/es/components/select-person/src/SelectPersonType.vue2.js +105 -130
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +2 -9
- package/es/components/select-person/src/index.vue2.js +7 -20
- package/es/components/slider-tree/src/index.vue2.js +3 -16
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +112 -186
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +88 -147
- package/es/components/table-export-field/src/index.vue2.js +12 -28
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +5 -32
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +34 -264
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +135 -214
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +3 -16
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +2 -9
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +6 -39
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +5 -18
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +18 -29
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +3 -16
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +2 -8
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +130 -195
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +7 -26
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +7 -13
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +8 -34
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +8 -21
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +3 -7
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +6 -19
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +3 -16
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +10 -24
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +207 -1648
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +2 -8
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +3 -16
- package/es/components/table-filter/src/tool/baseOptions.js +19 -144
- package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +12 -28
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +2 -22
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +3 -7
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +6 -14
- package/es/env.d.ts +25 -25
- package/es/shared/hooks/selectHooks/useSelectAllowModify.js +2 -2
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
@@ -12,6 +12,7 @@ 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;
|
15
16
|
const _hoisted_1 = {
|
16
17
|
class: "newprint-button-outer"
|
17
18
|
};
|
@@ -21,14 +22,7 @@ const _hoisted_2 = {
|
|
21
22
|
};
|
22
23
|
const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", {
|
23
24
|
class: "label bold"
|
24
|
-
},
|
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);
|
25
|
+
}, ((_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", -1);
|
32
26
|
const _hoisted_4 = {
|
33
27
|
class: "print-lite"
|
34
28
|
};
|
@@ -94,58 +88,23 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
94
88
|
type: Array
|
95
89
|
},
|
96
90
|
btnText: {
|
97
|
-
default:
|
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
|
-
}(),
|
91
|
+
default: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.478")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.478")) || "\u6253\u5370",
|
105
92
|
type: String
|
106
93
|
},
|
107
94
|
printText: {
|
108
|
-
default:
|
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
|
-
}(),
|
95
|
+
default: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.479")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.479")) || "\u76F4\u63A5\u6253\u5370",
|
116
96
|
type: String
|
117
97
|
},
|
118
98
|
previewText: {
|
119
|
-
default:
|
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
|
-
}(),
|
99
|
+
default: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.480")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.480")) || "\u6253\u5370\u9884\u89C8",
|
127
100
|
type: String
|
128
101
|
},
|
129
102
|
pdfLoadText: {
|
130
|
-
default:
|
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
|
-
}(),
|
103
|
+
default: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.481")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.481")) || "\u4E0B\u8F7Dpdf",
|
138
104
|
type: String
|
139
105
|
},
|
140
106
|
formatEditText: {
|
141
|
-
default:
|
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
|
-
}(),
|
107
|
+
default: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.482")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "10010.1.482")) || "\u683C\u5F0F\u7F16\u8F91",
|
149
108
|
type: String
|
150
109
|
},
|
151
110
|
prevFn: {
|
@@ -165,14 +124,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
165
124
|
type: Function
|
166
125
|
},
|
167
126
|
noDataMsg: {
|
168
|
-
default:
|
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
|
-
}(),
|
127
|
+
default: ((_s = window.getLanguageByCode) == null ? void 0 : _s.call(window, "10010.1.483")) || ((_u = (_t = window.top) == null ? void 0 : _t.getLanguageByCode) == null ? void 0 : _u.call(_t, "10010.1.483")) || "\u8BF7\u9009\u4E2D\u9700\u8981\u6253\u5370\u7684\u6570\u636E",
|
176
128
|
type: String
|
177
129
|
},
|
178
130
|
token: {
|
@@ -235,27 +187,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
235
187
|
setup(__props, {
|
236
188
|
expose
|
237
189
|
}) {
|
190
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2;
|
238
191
|
const props = __props;
|
239
192
|
String(navigator.platform).toLowerCase().includes("linux");
|
240
193
|
const baseDownListSetting = [{
|
241
|
-
label:
|
242
|
-
var _a, _b, _c;
|
243
|
-
try {
|
244
|
-
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";
|
245
|
-
} catch (e) {
|
246
|
-
return "\u5206\u5272\u7EBF";
|
247
|
-
}
|
248
|
-
}(),
|
194
|
+
label: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.476")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.476")) || "\u5206\u5272\u7EBF",
|
249
195
|
key: "divider"
|
250
196
|
}, {
|
251
|
-
label:
|
252
|
-
var _a, _b, _c;
|
253
|
-
try {
|
254
|
-
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";
|
255
|
-
} catch (e) {
|
256
|
-
return "\u5916\u663E\u8BBE\u7F6E";
|
257
|
-
}
|
258
|
-
}(),
|
197
|
+
label: ((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.473")) || ((_f2 = (_e2 = window.top) == null ? void 0 : _e2.getLanguageByCode) == null ? void 0 : _f2.call(_e2, "10010.1.473")) || "\u5916\u663E\u8BBE\u7F6E",
|
259
198
|
key: "outSetting"
|
260
199
|
}];
|
261
200
|
const $message = useMessage();
|
@@ -281,8 +220,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
281
220
|
spinTimer: null,
|
282
221
|
isClickOuterPrint: false,
|
283
222
|
curPrintParamList: [],
|
284
|
-
iReportExecuteMode: 1
|
285
|
-
number: ""
|
223
|
+
iReportExecuteMode: 1
|
286
224
|
});
|
287
225
|
const shortcutFn = ref({});
|
288
226
|
let options = ref([]);
|
@@ -296,14 +234,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
296
234
|
label: props.formatEditText,
|
297
235
|
key: "formatEditText"
|
298
236
|
}, {
|
299
|
-
label:
|
300
|
-
var _a, _b, _c;
|
301
|
-
try {
|
302
|
-
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";
|
303
|
-
} catch (e) {
|
304
|
-
return "\u91CD\u7F6E\u6253\u5370\u673A";
|
305
|
-
}
|
306
|
-
}(),
|
237
|
+
label: ((_g2 = window.getLanguageByCode) == null ? void 0 : _g2.call(window, "10010.1.484")) || ((_i2 = (_h2 = window.top) == null ? void 0 : _h2.getLanguageByCode) == null ? void 0 : _i2.call(_h2, "10010.1.484")) || "\u91CD\u7F6E\u6253\u5370\u673A",
|
307
238
|
key: "resetPrinter"
|
308
239
|
}]);
|
309
240
|
const downlistOperation = reactive({
|
@@ -325,15 +256,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
325
256
|
return state.formatList.find((item) => item.id === id);
|
326
257
|
});
|
327
258
|
computed(() => {
|
328
|
-
var
|
329
|
-
return ((
|
330
|
-
var _a2, _b, _c;
|
331
|
-
try {
|
332
|
-
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";
|
333
|
-
} catch (e) {
|
334
|
-
return "\u683C\u5F0F\u9009\u62E9";
|
335
|
-
}
|
336
|
-
}();
|
259
|
+
var _a3, _b3, _c3, _d3;
|
260
|
+
return ((_a3 = currentFormatItem.value) == null ? void 0 : _a3.name) || ((_b3 = window.getLanguageByCode) == null ? void 0 : _b3.call(window, "10010.1.485")) || ((_d3 = (_c3 = window.top) == null ? void 0 : _c3.getLanguageByCode) == null ? void 0 : _d3.call(_c3, "10010.1.485")) || "\u683C\u5F0F\u9009\u62E9";
|
337
261
|
});
|
338
262
|
const getTemplateIdByFormatId = computed(() => {
|
339
263
|
let find = state.formatList.find((item) => item.id === state.currentFormatId);
|
@@ -344,54 +268,54 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
344
268
|
return find == null ? void 0 : find.number;
|
345
269
|
});
|
346
270
|
const isShowPrintAllBtn = computed(() => {
|
347
|
-
var
|
348
|
-
return (
|
271
|
+
var _a3;
|
272
|
+
return (_a3 = props.newPrintSetting) == null ? void 0 : _a3.isShowPrintAll;
|
349
273
|
});
|
350
274
|
const isShowOutSettingBtn = computed(() => {
|
351
|
-
var
|
352
|
-
return (
|
275
|
+
var _a3;
|
276
|
+
return (_a3 = props.newPrintSetting) == null ? void 0 : _a3.isShowOutSetting;
|
353
277
|
});
|
354
278
|
const printCustomProps = computed(() => {
|
355
|
-
var
|
356
|
-
return ((
|
279
|
+
var _a3;
|
280
|
+
return ((_a3 = props.newPrintSetting) == null ? void 0 : _a3.customProps) || {};
|
357
281
|
});
|
358
282
|
const defaultPrintFormatId = computed(() => {
|
359
|
-
var
|
360
|
-
return ((
|
283
|
+
var _a3;
|
284
|
+
return ((_a3 = props.newPrintSetting) == null ? void 0 : _a3.defaultFormatId) || "";
|
361
285
|
});
|
362
286
|
const isPrintAllType = computed(() => {
|
363
|
-
var
|
364
|
-
return ((
|
287
|
+
var _a3;
|
288
|
+
return ((_a3 = props.newPrintSetting) == null ? void 0 : _a3.printAllType) || 1;
|
365
289
|
});
|
366
290
|
const shortcutSettings = computed(() => {
|
367
|
-
var
|
368
|
-
return ((
|
291
|
+
var _a3;
|
292
|
+
return ((_a3 = props.newPrintSetting) == null ? void 0 : _a3.shortcut) || {};
|
369
293
|
});
|
370
294
|
const buttonProps = computed(() => {
|
371
|
-
var
|
372
|
-
return ((
|
295
|
+
var _a3;
|
296
|
+
return ((_a3 = props.newPrintSetting) == null ? void 0 : _a3.buttonProps) || {};
|
373
297
|
});
|
374
298
|
const showMaxHeight = computed(() => {
|
375
|
-
var
|
376
|
-
return ((
|
299
|
+
var _a3;
|
300
|
+
return ((_a3 = props.newPrintSetting) == null ? void 0 : _a3.showMaxHeight) || {};
|
377
301
|
});
|
378
302
|
const printAllFormatIds = computed(() => {
|
379
|
-
var
|
380
|
-
return ((
|
303
|
+
var _a3;
|
304
|
+
return ((_a3 = props.newPrintSetting) == null ? void 0 : _a3.printAllFormatIds) || [];
|
381
305
|
});
|
382
306
|
const positionElement = computed(() => {
|
383
|
-
var
|
384
|
-
return (
|
307
|
+
var _a3;
|
308
|
+
return (_a3 = props.newPrintSetting) == null ? void 0 : _a3.positionElement;
|
385
309
|
});
|
386
310
|
const printAllShortcut = computed(() => {
|
387
|
-
var
|
311
|
+
var _a3, _b3;
|
388
312
|
const keys = Object.keys(shortcutSettings.value);
|
389
313
|
if (keys.length > 0) {
|
390
314
|
if (defaultPrintFormatId.value && keys.includes(defaultPrintFormatId.value)) {
|
391
|
-
return ((
|
315
|
+
return ((_a3 = shortcutSettings.value[defaultPrintFormatId.value]) == null ? void 0 : _a3.shortcutLabel) || "";
|
392
316
|
}
|
393
317
|
if (keys.includes("all")) {
|
394
|
-
return ((
|
318
|
+
return ((_b3 = shortcutSettings.value["all"]) == null ? void 0 : _b3.shortcutLabel) || "";
|
395
319
|
}
|
396
320
|
}
|
397
321
|
return "";
|
@@ -411,15 +335,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
411
335
|
}
|
412
336
|
});
|
413
337
|
const innerFilterPrintItems = computed(() => {
|
414
|
-
var
|
415
|
-
if (((
|
338
|
+
var _a3;
|
339
|
+
if (((_a3 = innerPrintItems.value) == null ? void 0 : _a3.length) === 2) {
|
416
340
|
return innerPrintItems.value.filter((item) => item.key !== "divider");
|
417
341
|
}
|
418
342
|
return innerPrintItems.value;
|
419
343
|
});
|
420
344
|
const initShowDownList = async () => {
|
421
|
-
var
|
422
|
-
if (!((
|
345
|
+
var _a3, _b3;
|
346
|
+
if (!((_b3 = (_a3 = props.newPrintSetting) == null ? void 0 : _a3.outerPrintKeys) == null ? void 0 : _b3.length))
|
423
347
|
await handleClickBtn();
|
424
348
|
downlistPopover.oneShow = true;
|
425
349
|
};
|
@@ -499,15 +423,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
499
423
|
emit("cancel", res);
|
500
424
|
};
|
501
425
|
const prevFnError = (type) => {
|
426
|
+
var _a3, _b3, _c3;
|
502
427
|
const error = {
|
503
|
-
message:
|
504
|
-
var _a, _b, _c;
|
505
|
-
try {
|
506
|
-
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";
|
507
|
-
} catch (e) {
|
508
|
-
return "\u524D\u7F6E\u6761\u4EF6\u6267\u884C\u9519\u8BEF";
|
509
|
-
}
|
510
|
-
}(),
|
428
|
+
message: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.486")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.486")) || "\u524D\u7F6E\u6761\u4EF6\u6267\u884C\u9519\u8BEF",
|
511
429
|
type,
|
512
430
|
preExecution: true
|
513
431
|
};
|
@@ -521,11 +439,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
521
439
|
});
|
522
440
|
};
|
523
441
|
const getOnceParams = (curPrintParamList = [], templateCode) => {
|
524
|
-
var
|
442
|
+
var _a3, _b3;
|
525
443
|
let params = {};
|
526
444
|
let obj = {};
|
527
|
-
if (((
|
528
|
-
const key = ((
|
445
|
+
if (((_a3 = state.templateParams[templateCode].customizeDataset) == null ? void 0 : _a3.length) > 0) {
|
446
|
+
const key = ((_b3 = Object.keys(curPrintParamList[0].datasetData || {})) == null ? void 0 : _b3[0]) || "";
|
529
447
|
const datasetDataKeyVal = JSON.stringify(curPrintParamList.map((v) => JSON.parse(v.datasetData[key])));
|
530
448
|
obj = {
|
531
449
|
datasetData: {}
|
@@ -546,11 +464,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
546
464
|
return JSON.stringify(params);
|
547
465
|
};
|
548
466
|
const handleClickPrintAll = () => {
|
549
|
-
var
|
467
|
+
var _a3;
|
550
468
|
const templateNumbers = Object.keys(state.printParams);
|
551
469
|
state.isClickOuterPrint = false;
|
552
470
|
const originParamsClone = state.originParams;
|
553
|
-
if (((
|
471
|
+
if (((_a3 = Object.keys(printAllFormatIds.value)) == null ? void 0 : _a3.length) > 0) {
|
554
472
|
options.value.forEach((optItem) => {
|
555
473
|
if (printAllFormatIds.value.includes(optItem.key)) {
|
556
474
|
const tmpParam = state.printParams[optItem.templateCode];
|
@@ -633,13 +551,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
633
551
|
templateId,
|
634
552
|
params: curPrintParamList
|
635
553
|
}).then(() => {
|
636
|
-
var
|
554
|
+
var _a3;
|
637
555
|
state.curPrintParamList = curPrintParamList;
|
638
|
-
const curPrintdlgshow = ((
|
556
|
+
const curPrintdlgshow = ((_a3 = printCustomProps.value) == null ? void 0 : _a3.printdlgshow) || props.printdlgshow;
|
639
557
|
const queryParams = {
|
640
558
|
formatId,
|
641
559
|
iReportExecuteMode: state.iReportExecuteMode,
|
642
|
-
number: state.number,
|
643
560
|
templateId,
|
644
561
|
authorizationKey: authorizationKey.value,
|
645
562
|
printdlgshow: curPrintdlgshow,
|
@@ -691,7 +608,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
691
608
|
formatId,
|
692
609
|
templateId,
|
693
610
|
iReportExecuteMode: state.iReportExecuteMode,
|
694
|
-
number: state.number,
|
695
611
|
authorizationKey: authorizationKey.value,
|
696
612
|
params,
|
697
613
|
btnprint: props.btnprint,
|
@@ -724,7 +640,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
724
640
|
formatId,
|
725
641
|
templateId,
|
726
642
|
iReportExecuteMode: state.iReportExecuteMode,
|
727
|
-
number: state.number,
|
728
643
|
authorizationKey: authorizationKey.value,
|
729
644
|
print: {
|
730
645
|
print: "1",
|
@@ -761,6 +676,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
761
676
|
});
|
762
677
|
};
|
763
678
|
const handleResetPrinter = async (curPrintParamList = [], templateCode, templateId, formatId) => {
|
679
|
+
var _a3, _b3, _c3, _d3, _e3, _f3, _g3, _h3, _i3;
|
764
680
|
if (props.showLoading && getCurrentLoading())
|
765
681
|
return;
|
766
682
|
toggleExpandLoading(true, formatId);
|
@@ -768,34 +684,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
768
684
|
const data = await printInstance.resetPrinter(formatId, state.iReportExecuteMode);
|
769
685
|
toggleExpandLoading(false);
|
770
686
|
if ((data == null ? void 0 : data.result) == "success") {
|
771
|
-
$message.success((data == null ? void 0 : data.message) ||
|
772
|
-
var _a, _b, _c;
|
773
|
-
try {
|
774
|
-
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";
|
775
|
-
} catch (e) {
|
776
|
-
return "\u91CD\u7F6E\u6253\u5370\u673A\u6210\u529F";
|
777
|
-
}
|
778
|
-
}());
|
687
|
+
$message.success((data == null ? void 0 : data.message) || ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.487")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.487")) || "\u91CD\u7F6E\u6253\u5370\u673A\u6210\u529F");
|
779
688
|
return;
|
780
689
|
}
|
781
|
-
$message.warning((data == null ? void 0 : data.message) ||
|
782
|
-
var _a, _b, _c;
|
783
|
-
try {
|
784
|
-
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";
|
785
|
-
} catch (e) {
|
786
|
-
return "\u91CD\u7F6E\u6253\u5370\u673A\u5931\u8D25";
|
787
|
-
}
|
788
|
-
}());
|
690
|
+
$message.warning((data == null ? void 0 : data.message) || ((_d3 = window.getLanguageByCode) == null ? void 0 : _d3.call(window, "10010.1.488")) || ((_f3 = (_e3 = window.top) == null ? void 0 : _e3.getLanguageByCode) == null ? void 0 : _f3.call(_e3, "10010.1.488")) || "\u91CD\u7F6E\u6253\u5370\u673A\u5931\u8D25");
|
789
691
|
} catch (error) {
|
790
692
|
toggleExpandLoading(false);
|
791
|
-
$message.warning((error == null ? void 0 : error.message) ||
|
792
|
-
var _a, _b, _c;
|
793
|
-
try {
|
794
|
-
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";
|
795
|
-
} catch (e) {
|
796
|
-
return "\u91CD\u7F6E\u6253\u5370\u673A\u5931\u8D25";
|
797
|
-
}
|
798
|
-
}());
|
693
|
+
$message.warning((error == null ? void 0 : error.message) || ((_g3 = window.getLanguageByCode) == null ? void 0 : _g3.call(window, "10010.1.488")) || ((_i3 = (_h3 = window.top) == null ? void 0 : _h3.getLanguageByCode) == null ? void 0 : _i3.call(_h3, "10010.1.488")) || "\u91CD\u7F6E\u6253\u5370\u673A\u5931\u8D25");
|
799
694
|
}
|
800
695
|
};
|
801
696
|
const handleSelect = async (type, {
|
@@ -831,7 +726,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
831
726
|
printInstance = new Print();
|
832
727
|
};
|
833
728
|
const setOptions = () => {
|
834
|
-
var
|
729
|
+
var _a3, _b3, _c3;
|
835
730
|
const shortKeys = Object.keys(shortcutSettings.value);
|
836
731
|
const children = state.formatList.map((v) => {
|
837
732
|
const item = {
|
@@ -854,10 +749,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
854
749
|
if (isShowOutSettingBtn.value) {
|
855
750
|
options.value.push(...baseDownListSetting);
|
856
751
|
}
|
857
|
-
if (((
|
752
|
+
if (((_b3 = (_a3 = props.newPrintSetting) == null ? void 0 : _a3.outerPrintKeys) == null ? void 0 : _b3.length) > 0) {
|
858
753
|
options.value.forEach((option) => {
|
859
|
-
var
|
860
|
-
if ((
|
754
|
+
var _a4;
|
755
|
+
if ((_a4 = props.newPrintSetting) == null ? void 0 : _a4.outerPrintKeys.includes(option.key)) {
|
861
756
|
option.selected = true;
|
862
757
|
}
|
863
758
|
});
|
@@ -870,7 +765,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
870
765
|
const portalStr = sessionStorage.getItem("portal");
|
871
766
|
if (portalStr) {
|
872
767
|
const portal = JSON.parse(portalStr);
|
873
|
-
const limitObj = ((
|
768
|
+
const limitObj = ((_c3 = portal == null ? void 0 : portal.user) == null ? void 0 : _c3.currentRoleResourceObj) || {};
|
874
769
|
const limitList = Object.keys(limitObj);
|
875
770
|
if (!limitList.includes(downloadPdfCode)) {
|
876
771
|
operations.value = operations.value.filter((option) => option.key != "downloadPdf");
|
@@ -1014,10 +909,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1014
909
|
return templateObj;
|
1015
910
|
};
|
1016
911
|
const initCRM = async (formatListResult) => {
|
1017
|
-
var
|
912
|
+
var _a3;
|
1018
913
|
state.formatList = formatListResult ? formatFormatList(formatListResult.obj) : [];
|
1019
|
-
state.iReportExecuteMode = ((
|
1020
|
-
state.number = ((_b = formatListResult == null ? void 0 : formatListResult.obj) == null ? void 0 : _b.length) > 0 ? formatListResult.obj[0].number || "" : "";
|
914
|
+
state.iReportExecuteMode = ((_a3 = formatListResult == null ? void 0 : formatListResult.obj) == null ? void 0 : _a3.length) > 0 ? formatListResult.obj[0].iReportExecuteMode || 1 : 1;
|
1021
915
|
setOptions();
|
1022
916
|
state.templateParams = mergeTemplateList(formatListResult.obj);
|
1023
917
|
state.printParams = formatSomeTypeParams(state.templateParams, props.params);
|
@@ -1025,7 +919,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1025
919
|
registerShort();
|
1026
920
|
};
|
1027
921
|
const init = async () => {
|
1028
|
-
var
|
922
|
+
var _a3;
|
1029
923
|
if (state.isInited)
|
1030
924
|
return true;
|
1031
925
|
state.isInited = true;
|
@@ -1033,7 +927,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1033
927
|
instantiatePrintSDK();
|
1034
928
|
const formatListResult = await props.queryPrintFormatByNumber();
|
1035
929
|
await initCRM(formatListResult);
|
1036
|
-
if (((
|
930
|
+
if (((_a3 = formatListResult.obj) == null ? void 0 : _a3.length) > 0)
|
1037
931
|
authorizationKey.value = formatListResult.obj[0].authorizationKey || "";
|
1038
932
|
state.spinning = false;
|
1039
933
|
return true;
|
@@ -1099,7 +993,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1099
993
|
const params = props.strategy === "MULTI" ? paramsFirst : getOnceParams(state.curPrintParamList, getTemplateCodeByFormatId.value);
|
1100
994
|
const queryParams = {
|
1101
995
|
formatId: state.currentFormatId,
|
1102
|
-
number: state.number,
|
1103
996
|
templateId: getTemplateIdByFormatId.value,
|
1104
997
|
params,
|
1105
998
|
token
|
@@ -1133,8 +1026,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1133
1026
|
deep: true
|
1134
1027
|
});
|
1135
1028
|
watch(() => {
|
1136
|
-
var
|
1137
|
-
return (
|
1029
|
+
var _a3;
|
1030
|
+
return (_a3 = props.newPrintSetting) == null ? void 0 : _a3.outerPrintKeys;
|
1138
1031
|
}, async (val) => {
|
1139
1032
|
if ((val == null ? void 0 : val.length) > 0) {
|
1140
1033
|
await handleClickBtn(false);
|
@@ -1222,14 +1115,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1222
1115
|
checked: sItem.selected,
|
1223
1116
|
"onUpdate:checked": ($event) => sItem.selected = $event
|
1224
1117
|
}, {
|
1225
|
-
default: withCtx(() =>
|
1226
|
-
var
|
1227
|
-
|
1228
|
-
|
1229
|
-
} catch (e) {
|
1230
|
-
return "\u5916\u663E";
|
1231
|
-
}
|
1232
|
-
}())]),
|
1118
|
+
default: withCtx(() => {
|
1119
|
+
var _a3, _b3, _c3;
|
1120
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.474")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.474")) || "\u5916\u663E")];
|
1121
|
+
}),
|
1233
1122
|
_: 2
|
1234
1123
|
}, 1032, ["checked", "onUpdate:checked"])])]);
|
1235
1124
|
}), 128)), createElementVNode("div", _hoisted_6, [createVNode(unref(NDivider)), createElementVNode("div", _hoisted_7, [createVNode(unref(NButton), {
|
@@ -1237,28 +1126,20 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1237
1126
|
size: "small",
|
1238
1127
|
onClick: savePrintOutSetting
|
1239
1128
|
}, {
|
1240
|
-
default: withCtx(() =>
|
1241
|
-
var
|
1242
|
-
|
1243
|
-
|
1244
|
-
} catch (e) {
|
1245
|
-
return "\u4FDD\u5B58";
|
1246
|
-
}
|
1247
|
-
}())]),
|
1129
|
+
default: withCtx(() => {
|
1130
|
+
var _a3, _b3, _c3;
|
1131
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.244")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.244")) || "\u4FDD\u5B58")];
|
1132
|
+
}),
|
1248
1133
|
_: 1
|
1249
1134
|
}), unref(showSettingItems) && unref(showSettingItems).length > 1 ? (openBlock(), createBlock(unref(NCheckbox), {
|
1250
1135
|
key: 0,
|
1251
1136
|
checked: unref(isSelectedAll),
|
1252
1137
|
"onUpdate:checked": _cache[1] || (_cache[1] = ($event) => isRef(isSelectedAll) ? isSelectedAll.value = $event : null)
|
1253
1138
|
}, {
|
1254
|
-
default: withCtx(() =>
|
1255
|
-
var
|
1256
|
-
|
1257
|
-
|
1258
|
-
} catch (e) {
|
1259
|
-
return "\u5168\u9009";
|
1260
|
-
}
|
1261
|
-
}())]),
|
1139
|
+
default: withCtx(() => {
|
1140
|
+
var _a3, _b3, _c3;
|
1141
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.37")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.37")) || "\u5168\u9009")];
|
1142
|
+
}),
|
1262
1143
|
_: 1
|
1263
1144
|
}, 8, ["checked"])) : createCommentVNode("v-if", true)])])], 4)]),
|
1264
1145
|
_: 1
|
@@ -1291,14 +1172,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1291
1172
|
component: unref(PrintOutline),
|
1292
1173
|
size: "18"
|
1293
1174
|
}, null, 8, ["component"])]),
|
1294
|
-
default: withCtx(() =>
|
1295
|
-
var
|
1296
|
-
|
1297
|
-
|
1298
|
-
} catch (e) {
|
1299
|
-
return "\u6253\u5370\u5168\u90E8";
|
1300
|
-
}
|
1301
|
-
}() : __props.btnText) + " ", 1), unref(printAllShortcut) ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(unref(printAllShortcut)), 1)) : createCommentVNode("v-if", true)]),
|
1175
|
+
default: withCtx(() => {
|
1176
|
+
var _a3, _b3, _c3;
|
1177
|
+
return [createTextVNode(" " + toDisplayString(unref(isShowPrintAllBtn) ? ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.475")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.475")) || "\u6253\u5370\u5168\u90E8" : __props.btnText) + " ", 1), unref(printAllShortcut) ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(unref(printAllShortcut)), 1)) : createCommentVNode("v-if", true)];
|
1178
|
+
}),
|
1302
1179
|
_: 1
|
1303
1180
|
}, 16, ["loading", "class"]), createVNode(unref(NButton), mergeProps({
|
1304
1181
|
class: "icon-select"
|
@@ -1356,14 +1233,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1356
1233
|
checked: sItem.selected,
|
1357
1234
|
"onUpdate:checked": ($event) => sItem.selected = $event
|
1358
1235
|
}, {
|
1359
|
-
default: withCtx(() =>
|
1360
|
-
var
|
1361
|
-
|
1362
|
-
|
1363
|
-
} catch (e) {
|
1364
|
-
return "\u5916\u663E";
|
1365
|
-
}
|
1366
|
-
}())]),
|
1236
|
+
default: withCtx(() => {
|
1237
|
+
var _a3, _b3, _c3;
|
1238
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.474")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.474")) || "\u5916\u663E")];
|
1239
|
+
}),
|
1367
1240
|
_: 2
|
1368
1241
|
}, 1032, ["checked", "onUpdate:checked"])])]);
|
1369
1242
|
}), 128)), createElementVNode("div", _hoisted_13, [createVNode(unref(NDivider)), createElementVNode("div", _hoisted_14, [createVNode(unref(NButton), {
|
@@ -1371,28 +1244,20 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1371
1244
|
size: "small",
|
1372
1245
|
onClick: savePrintOutSetting
|
1373
1246
|
}, {
|
1374
|
-
default: withCtx(() =>
|
1375
|
-
var
|
1376
|
-
|
1377
|
-
|
1378
|
-
} catch (e) {
|
1379
|
-
return "\u4FDD\u5B58";
|
1380
|
-
}
|
1381
|
-
}())]),
|
1247
|
+
default: withCtx(() => {
|
1248
|
+
var _a3, _b3, _c3;
|
1249
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.244")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.244")) || "\u4FDD\u5B58")];
|
1250
|
+
}),
|
1382
1251
|
_: 1
|
1383
1252
|
}), unref(showSettingItems) && unref(showSettingItems).length > 1 ? (openBlock(), createBlock(unref(NCheckbox), {
|
1384
1253
|
key: 0,
|
1385
1254
|
checked: unref(isSelectedAll),
|
1386
1255
|
"onUpdate:checked": _cache[6] || (_cache[6] = ($event) => isRef(isSelectedAll) ? isSelectedAll.value = $event : null)
|
1387
1256
|
}, {
|
1388
|
-
default: withCtx(() =>
|
1389
|
-
var
|
1390
|
-
|
1391
|
-
|
1392
|
-
} catch (e) {
|
1393
|
-
return "\u5168\u9009";
|
1394
|
-
}
|
1395
|
-
}())]),
|
1257
|
+
default: withCtx(() => {
|
1258
|
+
var _a3, _b3, _c3;
|
1259
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.37")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.37")) || "\u5168\u9009")];
|
1260
|
+
}),
|
1396
1261
|
_: 1
|
1397
1262
|
}, 8, ["checked"])) : createCommentVNode("v-if", true)])])], 4)]),
|
1398
1263
|
_: 2
|
@@ -251,7 +251,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
251
251
|
watchPrintParamsReformatFn: null;
|
252
252
|
spinTimer: null;
|
253
253
|
iReportExecuteMode: number;
|
254
|
-
number: string;
|
255
254
|
};
|
256
255
|
options: import("vue").Ref<AnyObject[]>;
|
257
256
|
tempOptions: import("vue").Ref<AnyObject[]>;
|