cnhis-design-vue 3.3.2-beta.1 → 3.3.2-beta.11

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