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.
Files changed (179) hide show
  1. package/README.md +87 -87
  2. package/es/components/audio-sdk/src/Index.vue2.js +1 -1
  3. package/es/components/audio-sdk/style/index.css +1 -1
  4. package/es/components/base-search/src/index.vue2.js +15 -27
  5. package/es/components/big-table/src/BigTable.vue2.js +131 -189
  6. package/es/components/big-table/src/components/NoData.vue2.js +4 -16
  7. package/es/components/big-table/src/components/edit-form/edit-date.js +6 -12
  8. package/es/components/big-table/src/components/edit-form/edit-input.js +2 -8
  9. package/es/components/big-table/src/components/edit-form/edit-select.js +17 -21
  10. package/es/components/big-table/src/components/edit-form/edit-time.js +4 -11
  11. package/es/components/big-table/src/components/input-button.vue2.js +3 -7
  12. package/es/components/big-table/src/hooks/useNestTable.js +4 -18
  13. package/es/components/big-table/src/hooks/useTableParse.js +3 -16
  14. package/es/components/body-select/src/index.vue2.js +4 -24
  15. package/es/components/button-print/index.d.ts +0 -1
  16. package/es/components/button-print/src/ButtonPrint.vue.d.ts +0 -1
  17. package/es/components/button-print/src/ButtonPrint.vue2.js +11 -52
  18. package/es/components/button-print/src/components/EditFormat.vue2.js +6 -14
  19. package/es/components/button-print/src/components/IdentityVerification.vue2.js +43 -94
  20. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +94 -229
  21. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +0 -1
  22. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +32 -92
  23. package/es/components/button-print/src/components/Preview.vue2.js +2 -8
  24. package/es/components/button-print/src/utils/dialog.js +6 -24
  25. package/es/components/button-print/src/utils/print.d.ts +5 -5
  26. package/es/components/button-print/src/utils/print.js +21 -108
  27. package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +2 -8
  28. package/es/components/card-reader-sdk/src/utils/readHealthCard.js +4 -16
  29. package/es/components/card-reader-sdk-cn/src/henan/index.js +11 -38
  30. package/es/components/classification/src/components/search-filter/index.vue2.js +10 -24
  31. package/es/components/classification/src/components/set-classification/index.vue2.js +6 -23
  32. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  33. package/es/components/classification/src/components/table-modal/index.vue2.js +165 -324
  34. package/es/components/classification/src/index.vue2.js +69 -261
  35. package/es/components/default-page/src/constants/index.js +19 -144
  36. package/es/components/default-page/src/index.vue2.js +2 -8
  37. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +51 -75
  38. package/es/components/expand-field/src/components/FormItemPerson.vue2.js +38 -46
  39. package/es/components/expand-field/src/components/PersonModal.vue2.js +50 -62
  40. package/es/components/expand-field/src/components/form.vue2.js +412 -783
  41. package/es/components/expand-field/src/index.vue2.js +22 -88
  42. package/es/components/expand-field/src/utils/constant.js +12 -88
  43. package/es/components/fabric-chart/src/components/PopupMenu.js +15 -32
  44. package/es/components/fabric-chart/src/constants/index.js +10 -72
  45. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -16
  46. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +2 -8
  47. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +5 -32
  48. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +2 -8
  49. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +41 -63
  50. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  51. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -5
  52. package/es/components/fabric-chart/src/hooks/useCommon.js +4 -24
  53. package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
  54. package/es/components/fabric-chart/src/utils/index.js +2 -2
  55. package/es/components/field-editor/src/fields.js +30 -232
  56. package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
  57. package/es/components/field-set/src/FieldColor.vue2.js +21 -88
  58. package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
  59. package/es/components/field-set/src/FieldFilter.vue2.js +12 -28
  60. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  61. package/es/components/field-set/src/FieldSet.vue2.js +57 -210
  62. package/es/components/field-set/src/Index.vue2.js +6 -40
  63. package/es/components/field-set/src/TableStyle.vue2.js +13 -48
  64. package/es/components/field-set/src/components/condition.vue2.js +11 -27
  65. package/es/components/field-set/src/components/edit-dialog.vue2.js +69 -149
  66. package/es/components/field-set/src/components/edit-filter.vue2.js +4 -24
  67. package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
  68. package/es/components/field-set/src/components/table-row.vue2.js +42 -123
  69. package/es/components/field-set/src/constants/filter.js +42 -328
  70. package/es/components/field-set/src/constants/index.js +64 -504
  71. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +46 -91
  72. package/es/components/form-config/src/constants/index.js +11 -80
  73. package/es/components/form-config/src/hooks/useLocale.js +31 -240
  74. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +3 -7
  75. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +3 -7
  76. package/es/components/form-render/src/components/renderer/combination/tableCombination.js +2 -8
  77. package/es/components/form-render/src/components/renderer/radio_checkbox.js +3 -7
  78. package/es/components/form-render/src/components/renderer/remoteSearch.js +2 -8
  79. package/es/components/form-render/src/components/renderer/switch.js +4 -24
  80. package/es/components/form-render/src/utils/schema.js +6 -26
  81. package/es/components/iho-chat/src/Index.vue2.js +38 -42
  82. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +33 -108
  83. package/es/components/iho-chat/src/components/ChatFile.vue2.js +90 -132
  84. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +48 -110
  85. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +15 -35
  86. package/es/components/iho-chat/src/components/ChatMain.vue2.js +22 -54
  87. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +45 -77
  88. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +208 -256
  89. package/es/components/iho-chat/src/components/ChatSet.vue2.js +211 -309
  90. package/es/components/iho-chat/src/components/ContextMenu.js +9 -50
  91. package/es/components/iho-chat/src/components/MessageEvent.vue2.js +4 -16
  92. package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +2 -8
  93. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +18 -104
  94. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +12 -67
  95. package/es/components/iho-chat/src/components/SelectLabel.vue2.js +43 -47
  96. package/es/components/iho-chat/src/components/SiderList.vue2.js +40 -70
  97. package/es/components/iho-chat/src/components/Video.vue2.js +11 -38
  98. package/es/components/iho-chat/src/hooks/useVideo.js +4 -15
  99. package/es/components/iho-chat/src/utils/index.js +14 -79
  100. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +2 -8
  101. package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +15 -40
  102. package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +15 -40
  103. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
  104. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +20 -50
  105. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +6 -14
  106. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +3 -10
  107. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +18 -45
  108. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  109. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +14 -20
  110. package/es/components/index.css +1 -1
  111. package/es/components/info-header/src/components/patientInfo/index.vue2.js +23 -142
  112. package/es/components/keyboard/src/Keyboard.vue2.js +9 -21
  113. package/es/components/keyboard/src/components/NumberPanel.vue2.js +35 -49
  114. package/es/components/map/src/Map.vue2.js +3 -7
  115. package/es/components/picture-clipper/src/PictureClipper.vue2.js +6 -14
  116. package/es/components/quick-search/src/index.vue2.js +132 -177
  117. package/es/components/recommend-search/src/components/BaseSearch.js +8 -14
  118. package/es/components/recommend-search/src/components/RecommendInput.vue2.js +8 -28
  119. package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +5 -18
  120. package/es/components/scale-view/src/ScaleView.vue2.js +7 -15
  121. package/es/components/scale-view/src/components/NoData.vue2.js +4 -16
  122. package/es/components/scale-view/src/components/formitem/r-cascader.js +2 -8
  123. package/es/components/scale-view/src/components/formitem/r-checkbox.js +6 -24
  124. package/es/components/scale-view/src/components/formitem/r-input.js +2 -8
  125. package/es/components/scale-view/src/components/formitem/r-map.js +2 -8
  126. package/es/components/scale-view/src/components/formitem/r-radio.js +6 -24
  127. package/es/components/scale-view/src/components/formitem/r-select.js +2 -8
  128. package/es/components/scale-view/src/components/formitem/r-sign.js +9 -30
  129. package/es/components/scale-view/src/components/formitem/standard-modal.js +3 -16
  130. package/es/components/scale-view/src/hooks/scaleview-computed.js +5 -24
  131. package/es/components/scale-view/src/hooks/scaleview-methods.js +4 -16
  132. package/es/components/scale-view/src/hooks/scaleview-submit.js +3 -16
  133. package/es/components/scale-view/src/hooks/scaleview-validate.js +9 -40
  134. package/es/components/search-cascader/src/SearchCascader.vue2.js +14 -20
  135. package/es/components/select-label/src/LabelFormContent.vue2.js +21 -53
  136. package/es/components/select-label/src/SelectLabel.vue2.js +55 -85
  137. package/es/components/select-label/src/components/label-classify.vue2.js +11 -28
  138. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +5 -18
  139. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +8 -34
  140. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +5 -18
  141. package/es/components/select-person/src/SelectPerson.vue2.js +141 -214
  142. package/es/components/select-person/src/SelectPersonType.vue2.js +105 -130
  143. package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +2 -9
  144. package/es/components/select-person/src/index.vue2.js +7 -20
  145. package/es/components/slider-tree/src/index.vue2.js +3 -16
  146. package/es/components/table-export-field/src/components/ExportModal.vue2.js +112 -186
  147. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +88 -147
  148. package/es/components/table-export-field/src/index.vue2.js +12 -28
  149. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +5 -32
  150. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +34 -264
  151. package/es/components/table-filter/src/components/bi-filter/index.vue2.js +135 -214
  152. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +3 -16
  153. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +2 -9
  154. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +6 -39
  155. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +5 -18
  156. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +18 -29
  157. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +3 -16
  158. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +2 -8
  159. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +130 -195
  160. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +7 -26
  161. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +7 -13
  162. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +8 -34
  163. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +8 -21
  164. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +3 -7
  165. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +6 -19
  166. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +3 -16
  167. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +10 -24
  168. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +207 -1648
  169. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +2 -8
  170. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +3 -16
  171. package/es/components/table-filter/src/tool/baseOptions.js +19 -144
  172. package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +12 -28
  173. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +2 -22
  174. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +3 -7
  175. package/es/components/vod-chunk-upload/src/vod-upload-modal.js +6 -14
  176. package/es/env.d.ts +25 -25
  177. package/es/shared/hooks/selectHooks/useSelectAllowModify.js +2 -2
  178. package/es/shared/package.json.js +1 -1
  179. package/package.json +2 -2
@@ -52,6 +52,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
52
52
  setup(__props, {
53
53
  emit: emits
54
54
  }) {
55
+ var _a, _b, _c;
55
56
  const props = __props;
56
57
  const defaultKey = "default";
57
58
  const baseSetting = {
@@ -75,29 +76,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
75
76
  const isSelectAll = ref(false);
76
77
  const isIndeterminate = ref(true);
77
78
  const fieldCheckList = ref([]);
78
- const tips = ref(function() {
79
- var _a, _b, _c;
80
- try {
81
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.423")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.423")) || "\u63D0\u793A\uFF1A\u652F\u6301\u62D6\u52A8\u8C03\u6574\u5B57\u6BB5\u987A\u5E8F\uFF0C\u5B57\u6BB5\u5BFC\u51FA\u987A\u5E8F\u4E3A\u4ECE\u5DE6\u5230\u53F3\uFF0C\u4ECE\u4E0A\u5230\u4E0B";
82
- } catch (e) {
83
- return "\u63D0\u793A\uFF1A\u652F\u6301\u62D6\u52A8\u8C03\u6574\u5B57\u6BB5\u987A\u5E8F\uFF0C\u5B57\u6BB5\u5BFC\u51FA\u987A\u5E8F\u4E3A\u4ECE\u5DE6\u5230\u53F3\uFF0C\u4ECE\u4E0A\u5230\u4E0B";
84
- }
85
- }());
79
+ const tips = ref(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.423")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.423")) || "\u63D0\u793A\uFF1A\u652F\u6301\u62D6\u52A8\u8C03\u6574\u5B57\u6BB5\u987A\u5E8F\uFF0C\u5B57\u6BB5\u5BFC\u51FA\u987A\u5E8F\u4E3A\u4ECE\u5DE6\u5230\u53F3\uFF0C\u4ECE\u4E0A\u5230\u4E0B");
86
80
  const exportApiConfig = inject(InjectionExportApiConfig);
87
81
  const curSchemeId = computed(() => props.curProgram.schemeId);
88
82
  function dragEnd() {
89
83
  emits("updateShowAllFieldList", props.showAllFieldList);
90
84
  }
91
85
  async function deleteExportSchemeItem(schemeId) {
86
+ var _a2, _b2, _c2, _d, _e, _f;
92
87
  if (!props.tableListId) {
93
- return message.warning(function() {
94
- var _a, _b, _c;
95
- try {
96
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.424")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.424")) || "\u8BF7\u4F20\u5165\u5217\u8868id";
97
- } catch (e) {
98
- return "\u8BF7\u4F20\u5165\u5217\u8868id";
99
- }
100
- }());
88
+ return message.warning(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.424")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.424")) || "\u8BF7\u4F20\u5165\u5217\u8868id");
101
89
  }
102
90
  try {
103
91
  let res = await deleteTableListExportScheme({
@@ -105,39 +93,19 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
105
93
  schemeId
106
94
  }, exportApiConfig);
107
95
  if (res) {
108
- message.success(function() {
109
- var _a, _b, _c;
110
- try {
111
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.411")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.411")) || "\u5220\u9664\u6210\u529F";
112
- } catch (e) {
113
- return "\u5220\u9664\u6210\u529F";
114
- }
115
- }());
96
+ message.success(((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.411")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.411")) || "\u5220\u9664\u6210\u529F");
116
97
  }
117
98
  } catch (error) {
118
99
  message.error(`\u83B7\u53D6\u5BFC\u51FA\u65B9\u6848\u6570\u636E\u8BF7\u6C42\u5931\u8D25\uFF1A${error}`);
119
100
  }
120
101
  }
121
102
  async function doExportScheme() {
103
+ var _a2, _b2, _c2, _d, _e, _f, _g, _h, _i;
122
104
  if (!props.tableListId) {
123
- return message.warning(function() {
124
- var _a, _b, _c;
125
- try {
126
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.424")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.424")) || "\u8BF7\u4F20\u5165\u5217\u8868id";
127
- } catch (e) {
128
- return "\u8BF7\u4F20\u5165\u5217\u8868id";
129
- }
130
- }());
105
+ return message.warning(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.424")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.424")) || "\u8BF7\u4F20\u5165\u5217\u8868id");
131
106
  }
132
107
  if (fieldCheckList.value.length < 1) {
133
- return message.warning(function() {
134
- var _a, _b, _c;
135
- try {
136
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.426")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.426")) || "\u8BF7\u81F3\u5C11\u52FE\u9009\u4E00\u4E2A\u5B57\u6BB5";
137
- } catch (e) {
138
- return "\u8BF7\u81F3\u5C11\u52FE\u9009\u4E00\u4E2A\u5B57\u6BB5";
139
- }
140
- }());
108
+ return message.warning(((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.426")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.426")) || "\u8BF7\u81F3\u5C11\u52FE\u9009\u4E00\u4E2A\u5B57\u6BB5");
141
109
  }
142
110
  try {
143
111
  const {
@@ -153,14 +121,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
153
121
  };
154
122
  let res = await exportTableListScheme(params, exportApiConfig);
155
123
  if (res) {
156
- message.success(function() {
157
- var _a, _b, _c;
158
- try {
159
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.427")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.427")) || "\u5BFC\u51FA\u6210\u529F";
160
- } catch (e) {
161
- return "\u5BFC\u51FA\u6210\u529F";
162
- }
163
- }());
124
+ message.success(((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.427")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.427")) || "\u5BFC\u51FA\u6210\u529F");
164
125
  cancelModal();
165
126
  }
166
127
  } catch (error) {
@@ -173,6 +134,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
173
134
  return h("span", option.schemeName);
174
135
  }
175
136
  function renderLabel(option) {
137
+ var _a2, _b2, _c2, _d, _e, _f;
176
138
  const renderLabelElement = [h(NPopover, {
177
139
  trigger: "hover",
178
140
  duration: 0
@@ -184,22 +146,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
184
146
  })];
185
147
  const renderDeleteElement = [h(NPopconfirm, {
186
148
  placement: "top-start",
187
- positiveText: function() {
188
- var _a, _b, _c;
189
- try {
190
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.428")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.428")) || "\u786E\u8BA4";
191
- } catch (e) {
192
- return "\u786E\u8BA4";
193
- }
194
- }(),
195
- negativeText: function() {
196
- var _a, _b, _c;
197
- try {
198
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.28")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.28")) || "\u53D6\u6D88";
199
- } catch (e) {
200
- return "\u53D6\u6D88";
201
- }
202
- }(),
149
+ positiveText: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.428")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.428")) || "\u786E\u8BA4",
150
+ negativeText: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.28")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.28")) || "\u53D6\u6D88",
203
151
  onPositiveClick: () => handleDelete(option)
204
152
  }, {
205
153
  trigger: () => h(NIcon, {
@@ -218,18 +166,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
218
166
  e.stopPropagation();
219
167
  }
220
168
  function handleDelete(option) {
169
+ var _a2, _b2, _c2;
221
170
  const {
222
171
  schemeId
223
172
  } = props.curProgram;
224
173
  if (schemeId === option.schemeId) {
225
- return message.warning(function() {
226
- var _a, _b, _c;
227
- try {
228
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.430")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.430")) || "\u5F53\u524D\u6B63\u5728\u4F7F\u7528\u8BE5\u65B9\u6848\uFF0C\u8BF7\u5148\u5207\u6362\u5176\u4ED6\u65B9\u6848\u518D\u5220\u9664";
229
- } catch (e) {
230
- return "\u5F53\u524D\u6B63\u5728\u4F7F\u7528\u8BE5\u65B9\u6848\uFF0C\u8BF7\u5148\u5207\u6362\u5176\u4ED6\u65B9\u6848\u518D\u5220\u9664";
231
- }
232
- }());
174
+ return message.warning(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.430")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.430")) || "\u5F53\u524D\u6B63\u5728\u4F7F\u7528\u8BE5\u65B9\u6848\uFF0C\u8BF7\u5148\u5207\u6362\u5176\u4ED6\u65B9\u6848\u518D\u5220\u9664");
233
175
  }
234
176
  deleteExportSchemeItem(option.schemeId);
235
177
  }
@@ -261,13 +203,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
261
203
  doExportScheme();
262
204
  }
263
205
  function handleCheckboxAll(checked) {
264
- var _a, _b, _c;
206
+ var _a2, _b2, _c2;
265
207
  isIndeterminate.value = false;
266
208
  if (checked) {
267
- fieldCheckList.value = ((_a = props.showAllFieldList) == null ? void 0 : _a.map((v) => v.columnName)) || [];
209
+ fieldCheckList.value = ((_a2 = props.showAllFieldList) == null ? void 0 : _a2.map((v) => v.columnName)) || [];
268
210
  return;
269
211
  }
270
- fieldCheckList.value = ((_c = (_b = props.showAllFieldList) == null ? void 0 : _b.filter((v) => v.fixedExport)) == null ? void 0 : _c.map((v) => v.columnName)) || [];
212
+ fieldCheckList.value = ((_c2 = (_b2 = props.showAllFieldList) == null ? void 0 : _b2.filter((v) => v.fixedExport)) == null ? void 0 : _c2.map((v) => v.columnName)) || [];
271
213
  }
272
214
  function cancelModal() {
273
215
  emits("cancelModal");
@@ -324,121 +266,105 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
324
266
  onPositiveClick: exportData,
325
267
  onNegativeClick: cancelModal
326
268
  }, {
327
- default: withCtx(() => [createVNode(unref(NCard), {
328
- style: normalizeStyle({
329
- width: modalWidth.value,
330
- ...bodyStyle.value
331
- }),
332
- title: function() {
333
- var _a, _b, _c;
334
- try {
335
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.421")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.421")) || "\u9009\u62E9\u5BFC\u51FA\u5B57\u6BB5";
336
- } catch (e) {
337
- return "\u9009\u62E9\u5BFC\u51FA\u5B57\u6BB5";
338
- }
339
- }(),
340
- bordered: false,
341
- size: "huge",
342
- role: "dialog",
343
- "aria-modal": "true"
344
- }, {
345
- "header-extra": withCtx(() => [createElementVNode("div", _hoisted_1, [createElementVNode("i", {
346
- onClick: changeWindow,
347
- class: normalizeClass(["iconfont-table-export-field", isChangeWindow.value ? "icon-table-export-field-menzhenyishengzhanxitongtubiaozuixiaohua2" : "icon-table-export-field-menzhenyishengzhanxitongtubiaozuidahua"])
348
- }, null, 2), createElementVNode("i", {
349
- onClick: cancelModal,
350
- class: "iconfont-table-export-field icon-table-export-field-menzhenyishengzhanxitongtubiaoguanbi"
351
- })])]),
352
- footer: withCtx(() => [createElementVNode("div", _hoisted_2, [createVNode(unref(NButton), {
353
- onClick: cancelModal
354
- }, {
355
- default: withCtx(() => [createTextVNode(function() {
356
- var _a, _b, _c;
357
- try {
358
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.28")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.28")) || "\u53D6\u6D88";
359
- } catch (e) {
360
- return "\u53D6\u6D88";
361
- }
362
- }())]),
363
- _: 1
364
- }), renderSlot(_ctx.$slots, "add"), createVNode(unref(NButton), {
365
- type: "info",
366
- onClick: exportData
367
- }, {
368
- default: withCtx(() => [createTextVNode(function() {
369
- var _a, _b, _c;
370
- try {
371
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.422")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.422")) || "\u5BFC\u51FA";
372
- } catch (e) {
373
- return "\u5BFC\u51FA";
374
- }
375
- }())]),
376
- _: 1
377
- })])]),
378
- default: withCtx(() => [createElementVNode("div", _hoisted_3, toDisplayString(tips.value) + "\u3002", 1), createElementVNode("header", _hoisted_4, [createVNode(unref(NCheckbox), {
379
- checked: isSelectAll.value,
380
- "onUpdate:checked": [_cache[0] || (_cache[0] = ($event) => isSelectAll.value = $event), handleCheckboxAll],
381
- indeterminate: isIndeterminate.value
269
+ default: withCtx(() => {
270
+ var _a2, _b2, _c2;
271
+ return [createVNode(unref(NCard), {
272
+ style: normalizeStyle({
273
+ width: modalWidth.value,
274
+ ...bodyStyle.value
275
+ }),
276
+ title: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.421")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.421")) || "\u9009\u62E9\u5BFC\u51FA\u5B57\u6BB5",
277
+ bordered: false,
278
+ size: "huge",
279
+ role: "dialog",
280
+ "aria-modal": "true"
382
281
  }, {
383
- default: withCtx(() => [createTextVNode(function() {
384
- var _a, _b, _c;
385
- try {
386
- 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";
387
- } catch (e) {
388
- return "\u5168\u9009";
389
- }
390
- }())]),
391
- _: 1
392
- }, 8, ["checked", "indeterminate"]), createVNode(unref(NSelect), {
393
- style: {
394
- "width": "200px"
395
- },
396
- value: unref(curSchemeId),
397
- "onUpdate:value": [_cache[1] || (_cache[1] = ($event) => isRef(curSchemeId) ? curSchemeId.value = $event : null), handleUpdateSelect],
398
- filterable: "",
399
- "label-field": "schemeName",
400
- "value-field": "schemeId",
401
- "show-checkmark": false,
402
- "render-label": renderLabel,
403
- "render-tag": renderTag,
404
- "menu-props": menuProps,
405
- options: __props.programOptions
406
- }, null, 8, ["value", "options"])]), createVNode(unref(NCheckboxGroup), {
407
- value: fieldCheckList.value,
408
- "onUpdate:value": _cache[2] || (_cache[2] = ($event) => fieldCheckList.value = $event)
409
- }, {
410
- default: withCtx(() => [createVNode(unref(draggableComponent), {
411
- class: "draggable-checkbox-list",
412
- list: __props.showAllFieldList,
413
- animation: "300",
414
- itemKey: "columnName",
415
- onEnd: dragEnd
282
+ "header-extra": withCtx(() => [createElementVNode("div", _hoisted_1, [createElementVNode("i", {
283
+ onClick: changeWindow,
284
+ class: normalizeClass(["iconfont-table-export-field", isChangeWindow.value ? "icon-table-export-field-menzhenyishengzhanxitongtubiaozuixiaohua2" : "icon-table-export-field-menzhenyishengzhanxitongtubiaozuidahua"])
285
+ }, null, 2), createElementVNode("i", {
286
+ onClick: cancelModal,
287
+ class: "iconfont-table-export-field icon-table-export-field-menzhenyishengzhanxitongtubiaoguanbi"
288
+ })])]),
289
+ footer: withCtx(() => [createElementVNode("div", _hoisted_2, [createVNode(unref(NButton), {
290
+ onClick: cancelModal
291
+ }, {
292
+ default: withCtx(() => {
293
+ var _a3, _b3, _c3;
294
+ return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.28")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.28")) || "\u53D6\u6D88")];
295
+ }),
296
+ _: 1
297
+ }), renderSlot(_ctx.$slots, "add"), createVNode(unref(NButton), {
298
+ type: "info",
299
+ onClick: exportData
300
+ }, {
301
+ default: withCtx(() => {
302
+ var _a3, _b3, _c3;
303
+ return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.422")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.422")) || "\u5BFC\u51FA")];
304
+ }),
305
+ _: 1
306
+ })])]),
307
+ default: withCtx(() => [createElementVNode("div", _hoisted_3, toDisplayString(tips.value) + "\u3002", 1), createElementVNode("header", _hoisted_4, [createVNode(unref(NCheckbox), {
308
+ checked: isSelectAll.value,
309
+ "onUpdate:checked": [_cache[0] || (_cache[0] = ($event) => isSelectAll.value = $event), handleCheckboxAll],
310
+ indeterminate: isIndeterminate.value
416
311
  }, {
417
- item: withCtx(({
418
- element
419
- }) => {
420
- var _a;
421
- return [createVNode(unref(NCheckbox), {
422
- disabled: element.fixedExport,
423
- class: normalizeClass(fieldCheckList.value.includes(element.columnName) ? "" : "checkbox-disabled"),
424
- value: element.columnName,
425
- label: (_a = element.alias) != null ? _a : element.title
426
- }, {
427
- default: withCtx(() => {
428
- var _a2, _b;
429
- return [createElementVNode("span", {
430
- title: (_a2 = element.alias) != null ? _a2 : element.title
431
- }, toDisplayString((_b = element.alias) != null ? _b : element.title), 9, _hoisted_5)];
432
- }),
433
- _: 2
434
- }, 1032, ["disabled", "class", "value", "label"])];
312
+ default: withCtx(() => {
313
+ var _a3, _b3, _c3;
314
+ 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")];
435
315
  }),
436
316
  _: 1
437
- }, 8, ["list"])]),
438
- _: 1
439
- }, 8, ["value"])]),
440
- _: 3
441
- }, 8, ["style"])]),
317
+ }, 8, ["checked", "indeterminate"]), createVNode(unref(NSelect), {
318
+ style: {
319
+ "width": "200px"
320
+ },
321
+ value: unref(curSchemeId),
322
+ "onUpdate:value": [_cache[1] || (_cache[1] = ($event) => isRef(curSchemeId) ? curSchemeId.value = $event : null), handleUpdateSelect],
323
+ filterable: "",
324
+ "label-field": "schemeName",
325
+ "value-field": "schemeId",
326
+ "show-checkmark": false,
327
+ "render-label": renderLabel,
328
+ "render-tag": renderTag,
329
+ "menu-props": menuProps,
330
+ options: __props.programOptions
331
+ }, null, 8, ["value", "options"])]), createVNode(unref(NCheckboxGroup), {
332
+ value: fieldCheckList.value,
333
+ "onUpdate:value": _cache[2] || (_cache[2] = ($event) => fieldCheckList.value = $event)
334
+ }, {
335
+ default: withCtx(() => [createVNode(unref(draggableComponent), {
336
+ class: "draggable-checkbox-list",
337
+ list: __props.showAllFieldList,
338
+ animation: "300",
339
+ itemKey: "columnName",
340
+ onEnd: dragEnd
341
+ }, {
342
+ item: withCtx(({
343
+ element
344
+ }) => {
345
+ var _a3;
346
+ return [createVNode(unref(NCheckbox), {
347
+ disabled: element.fixedExport,
348
+ class: normalizeClass(fieldCheckList.value.includes(element.columnName) ? "" : "checkbox-disabled"),
349
+ value: element.columnName,
350
+ label: (_a3 = element.alias) != null ? _a3 : element.title
351
+ }, {
352
+ default: withCtx(() => {
353
+ var _a4, _b3;
354
+ return [createElementVNode("span", {
355
+ title: (_a4 = element.alias) != null ? _a4 : element.title
356
+ }, toDisplayString((_b3 = element.alias) != null ? _b3 : element.title), 9, _hoisted_5)];
357
+ }),
358
+ _: 2
359
+ }, 1032, ["disabled", "class", "value", "label"])];
360
+ }),
361
+ _: 1
362
+ }, 8, ["list"])]),
363
+ _: 1
364
+ }, 8, ["value"])]),
365
+ _: 3
366
+ }, 8, ["style"])];
367
+ }),
442
368
  _: 3
443
369
  }, 8, ["class", "show", "width", "bodyStyle"]);
444
370
  };