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
@@ -43,6 +43,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
43
43
  setup(__props, {
44
44
  emit: emits
45
45
  }) {
46
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
46
47
  const props = __props;
47
48
  const message = useMessage();
48
49
  const {
@@ -52,37 +53,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
52
53
  const rules = {
53
54
  projectName: {
54
55
  required: true,
55
- message: function() {
56
- var _a, _b, _c;
57
- try {
58
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.433")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.433")) || "\u8BF7\u8F93\u5165\u65B9\u6848\u540D\u79F0";
59
- } catch (e) {
60
- return "\u8BF7\u8F93\u5165\u65B9\u6848\u540D\u79F0";
61
- }
62
- }(),
56
+ message: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.433")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.433")) || "\u8BF7\u8F93\u5165\u65B9\u6848\u540D\u79F0",
63
57
  trigger: ["input", "blur"]
64
58
  }
65
59
  };
66
60
  const modeList = [{
67
61
  value: "updateProject",
68
- label: function() {
69
- var _a, _b, _c;
70
- try {
71
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.434")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.434")) || "\u66F4\u65B0\u65B9\u6848";
72
- } catch (e) {
73
- return "\u66F4\u65B0\u65B9\u6848";
74
- }
75
- }()
62
+ label: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.434")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.434")) || "\u66F4\u65B0\u65B9\u6848"
76
63
  }, {
77
64
  value: "addProject",
78
- label: function() {
79
- var _a, _b, _c;
80
- try {
81
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.435")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.435")) || "\u65B0\u589E\u65B9\u6848";
82
- } catch (e) {
83
- return "\u65B0\u589E\u65B9\u6848";
84
- }
85
- }()
65
+ label: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.435")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.435")) || "\u65B0\u589E\u65B9\u6848"
86
66
  }];
87
67
  const formRef = ref(null);
88
68
  const formValue = reactive({
@@ -132,8 +112,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
132
112
  return params;
133
113
  }
134
114
  function saveToCalss() {
135
- var _a;
136
- (_a = formRef.value) == null ? void 0 : _a.validate(async (err) => {
115
+ var _a2;
116
+ (_a2 = formRef.value) == null ? void 0 : _a2.validate(async (err) => {
117
+ var _a3, _b2, _c2;
137
118
  if (err)
138
119
  return;
139
120
  if (validateProjectName()) {
@@ -142,14 +123,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
142
123
  const params = getParams();
143
124
  let res = await saveTableListExportScheme(params, exportApiConfig);
144
125
  if (res) {
145
- message.success(function() {
146
- var _a2, _b, _c;
147
- try {
148
- return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.438")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.438")) || "\u4FDD\u5B58\u5E76\u5BFC\u51FA\u6210\u529F";
149
- } catch (e) {
150
- return "\u4FDD\u5B58\u5E76\u5BFC\u51FA\u6210\u529F";
151
- }
152
- }());
126
+ message.success(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.438")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.438")) || "\u4FDD\u5B58\u5E76\u5BFC\u51FA\u6210\u529F");
153
127
  emits("cancelSaveModal");
154
128
  }
155
129
  });
@@ -175,130 +149,97 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
175
149
  deep: true
176
150
  });
177
151
  return (_ctx, _cache) => {
152
+ var _a2, _b2, _c2, _d2, _e2, _f2;
178
153
  return openBlock(), createBlock(unref(NModal), {
179
154
  class: "table-export-field-modal",
180
155
  show: __props.visible,
181
156
  maskClosable: false,
182
- "positive-text": function() {
183
- var _a, _b, _c;
184
- try {
185
- 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";
186
- } catch (e) {
187
- return "\u786E\u8BA4";
188
- }
189
- }(),
190
- "negative-text": function() {
191
- var _a, _b, _c;
192
- try {
193
- 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";
194
- } catch (e) {
195
- return "\u53D6\u6D88";
196
- }
197
- }(),
157
+ "positive-text": ((_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",
158
+ "negative-text": ((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.28")) || ((_f2 = (_e2 = window.top) == null ? void 0 : _e2.getLanguageByCode) == null ? void 0 : _f2.call(_e2, "10010.1.28")) || "\u53D6\u6D88",
198
159
  onPositiveClick: saveToCalss,
199
160
  onNegativeClick: cancelSaveToCalss
200
161
  }, {
201
- default: withCtx(() => [createVNode(unref(NCard), {
202
- title: function() {
203
- var _a, _b, _c;
204
- try {
205
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.431")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.431")) || "\u5BFC\u51FA\u5E76\u5B58\u4E3A\u65B9\u6848";
206
- } catch (e) {
207
- return "\u5BFC\u51FA\u5E76\u5B58\u4E3A\u65B9\u6848";
208
- }
209
- }(),
210
- style: {
211
- "width": "520px"
212
- },
213
- bordered: false,
214
- size: "huge",
215
- role: "dialog",
216
- "aria-modal": "true"
217
- }, {
218
- "header-extra": withCtx(() => [createElementVNode("div", _hoisted_1, [createVNode(unref(NIcon), {
219
- component: unref(CloseOutline),
220
- size: "24",
221
- onClick: cancelSaveToCalss
222
- }, null, 8, ["component"])])]),
223
- footer: withCtx(() => [createElementVNode("div", _hoisted_2, [createVNode(unref(NButton), {
224
- onClick: cancelSaveToCalss
225
- }, {
226
- default: withCtx(() => [createTextVNode(function() {
227
- var _a, _b, _c;
228
- try {
229
- 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";
230
- } catch (e) {
231
- return "\u53D6\u6D88";
232
- }
233
- }())]),
234
- _: 1
235
- }), createVNode(unref(NButton), {
236
- type: "info",
237
- onClick: saveToCalss
238
- }, {
239
- default: withCtx(() => [createTextVNode(function() {
240
- var _a, _b, _c;
241
- try {
242
- 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";
243
- } catch (e) {
244
- return "\u786E\u8BA4";
245
- }
246
- }())]),
247
- _: 1
248
- })])]),
249
- default: withCtx(() => [createElementVNode("div", _hoisted_3, [createVNode(unref(NRadioGroup), {
250
- value: selectProject.value,
251
- "onUpdate:value": [_cache[0] || (_cache[0] = ($event) => selectProject.value = $event), handleRadioChange],
252
- name: "radiogroup"
253
- }, {
254
- default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(projectList.value, (select) => {
255
- return openBlock(), createBlock(unref(NRadio), {
256
- key: select.value,
257
- value: select.value
258
- }, {
259
- default: withCtx(() => [createTextVNode(toDisplayString(select.label), 1)]),
260
- _: 2
261
- }, 1032, ["value"]);
262
- }), 128))]),
263
- _: 1
264
- }, 8, ["value"]), createVNode(unref(NForm), {
265
- ref_key: "formRef",
266
- ref: formRef,
267
- "label-placement": "left",
268
- rules,
269
- model: formValue
162
+ default: withCtx(() => {
163
+ var _a3, _b3, _c3;
164
+ return [createVNode(unref(NCard), {
165
+ title: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.431")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.431")) || "\u5BFC\u51FA\u5E76\u5B58\u4E3A\u65B9\u6848",
166
+ style: {
167
+ "width": "520px"
168
+ },
169
+ bordered: false,
170
+ size: "huge",
171
+ role: "dialog",
172
+ "aria-modal": "true"
270
173
  }, {
271
- default: withCtx(() => [createVNode(unref(NFormItem), {
272
- label: function() {
273
- var _a, _b, _c;
274
- try {
275
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.432")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.432")) || "\u65B9\u6848\u540D\u79F0";
276
- } catch (e) {
277
- return "\u65B9\u6848\u540D\u79F0";
278
- }
279
- }(),
280
- path: "projectName"
174
+ "header-extra": withCtx(() => [createElementVNode("div", _hoisted_1, [createVNode(unref(NIcon), {
175
+ component: unref(CloseOutline),
176
+ size: "24",
177
+ onClick: cancelSaveToCalss
178
+ }, null, 8, ["component"])])]),
179
+ footer: withCtx(() => [createElementVNode("div", _hoisted_2, [createVNode(unref(NButton), {
180
+ onClick: cancelSaveToCalss
181
+ }, {
182
+ default: withCtx(() => {
183
+ var _a4, _b4, _c4;
184
+ return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.28")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.28")) || "\u53D6\u6D88")];
185
+ }),
186
+ _: 1
187
+ }), createVNode(unref(NButton), {
188
+ type: "info",
189
+ onClick: saveToCalss
190
+ }, {
191
+ default: withCtx(() => {
192
+ var _a4, _b4, _c4;
193
+ return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.428")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.428")) || "\u786E\u8BA4")];
194
+ }),
195
+ _: 1
196
+ })])]),
197
+ default: withCtx(() => [createElementVNode("div", _hoisted_3, [createVNode(unref(NRadioGroup), {
198
+ value: selectProject.value,
199
+ "onUpdate:value": [_cache[0] || (_cache[0] = ($event) => selectProject.value = $event), handleRadioChange],
200
+ name: "radiogroup"
201
+ }, {
202
+ default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(projectList.value, (select) => {
203
+ return openBlock(), createBlock(unref(NRadio), {
204
+ key: select.value,
205
+ value: select.value
206
+ }, {
207
+ default: withCtx(() => [createTextVNode(toDisplayString(select.label), 1)]),
208
+ _: 2
209
+ }, 1032, ["value"]);
210
+ }), 128))]),
211
+ _: 1
212
+ }, 8, ["value"]), createVNode(unref(NForm), {
213
+ ref_key: "formRef",
214
+ ref: formRef,
215
+ "label-placement": "left",
216
+ rules,
217
+ model: formValue
281
218
  }, {
282
- default: withCtx(() => [createVNode(unref(NInput), {
283
- value: formValue.projectName,
284
- "onUpdate:value": _cache[1] || (_cache[1] = ($event) => formValue.projectName = $event),
285
- placeholder: function() {
286
- var _a, _b, _c;
287
- try {
288
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.433")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.433")) || "\u8BF7\u8F93\u5165\u65B9\u6848\u540D\u79F0";
289
- } catch (e) {
290
- return "\u8BF7\u8F93\u5165\u65B9\u6848\u540D\u79F0";
291
- }
292
- }(),
293
- clearable: "",
294
- maxlength: "100"
295
- }, null, 8, ["value"])]),
219
+ default: withCtx(() => {
220
+ var _a4, _b4, _c4;
221
+ return [createVNode(unref(NFormItem), {
222
+ label: ((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.432")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.432")) || "\u65B9\u6848\u540D\u79F0",
223
+ path: "projectName"
224
+ }, {
225
+ default: withCtx(() => {
226
+ var _a5, _b5, _c5;
227
+ return [createVNode(unref(NInput), {
228
+ value: formValue.projectName,
229
+ "onUpdate:value": _cache[1] || (_cache[1] = ($event) => formValue.projectName = $event),
230
+ placeholder: ((_a5 = window.getLanguageByCode) == null ? void 0 : _a5.call(window, "10010.1.433")) || ((_c5 = (_b5 = window.top) == null ? void 0 : _b5.getLanguageByCode) == null ? void 0 : _c5.call(_b5, "10010.1.433")) || "\u8BF7\u8F93\u5165\u65B9\u6848\u540D\u79F0",
231
+ clearable: "",
232
+ maxlength: "100"
233
+ }, null, 8, ["value"])];
234
+ }),
235
+ _: 1
236
+ })];
237
+ }),
296
238
  _: 1
297
- })]),
239
+ }, 8, ["model"])])]),
298
240
  _: 1
299
- }, 8, ["model"])])]),
300
- _: 1
301
- })]),
241
+ })];
242
+ }),
302
243
  _: 1
303
244
  }, 8, ["show"]);
304
245
  };
@@ -34,6 +34,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
34
34
  setup(__props, {
35
35
  emit
36
36
  }) {
37
+ var _a, _b, _c;
37
38
  const props = __props;
38
39
  const defaultKey = "default";
39
40
  const message = useMessage();
@@ -42,14 +43,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
42
43
  } = useAsyncData();
43
44
  const baseOption = {
44
45
  schemeId: defaultKey,
45
- schemeName: function() {
46
- var _a, _b, _c;
47
- try {
48
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.439")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.439")) || "\u5217\u8868\u663E\u793A\u5B57\u6BB5";
49
- } catch (e) {
50
- return "\u5217\u8868\u663E\u793A\u5B57\u6BB5";
51
- }
52
- }(),
46
+ schemeName: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.439")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.439")) || "\u5217\u8868\u663E\u793A\u5B57\u6BB5",
53
47
  fieldKeys: []
54
48
  };
55
49
  const isShowSaveProjectModal = ref(false);
@@ -82,15 +76,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
82
76
  curProgram.value.fieldKeys = cloneDeep(fieldCheckList);
83
77
  }
84
78
  async function getExportFieldList() {
79
+ var _a2, _b2, _c2;
85
80
  if (!props.tableListId) {
86
- return message.warning(function() {
87
- var _a, _b, _c;
88
- try {
89
- 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";
90
- } catch (e) {
91
- return "\u8BF7\u4F20\u5165\u5217\u8868id";
92
- }
93
- }());
81
+ 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");
94
82
  }
95
83
  try {
96
84
  let res = await getTableListExportScheme({
@@ -125,20 +113,20 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
125
113
  });
126
114
  }
127
115
  function calculateAllFieldList() {
128
- var _a;
116
+ var _a2;
129
117
  downLoadFieldList.value = props.fieldOriginList.filter((field) => {
130
- var _a2;
118
+ var _a3;
131
119
  if (field.columnName == "operatorColumn")
132
120
  return false;
133
121
  if (!field.settingObj)
134
122
  return true;
135
- return (field == null ? void 0 : field.settingObj) ? ((_a2 = field == null ? void 0 : field.settingObj) == null ? void 0 : _a2.isHide) === "0" : true;
123
+ return (field == null ? void 0 : field.settingObj) ? ((_a3 = field == null ? void 0 : field.settingObj) == null ? void 0 : _a3.isHide) === "0" : true;
136
124
  });
137
125
  showAllFieldList.value = cloneDeep(downLoadFieldList.value);
138
126
  let fList = downLoadFieldList.value.filter((i) => {
139
127
  return i.isShow == "1" || i.fixedExport;
140
128
  });
141
- isDefaultShowFields.value = ((_a = fList == null ? void 0 : fList.map) == null ? void 0 : _a.call(fList, (v) => v.columnName)) || [];
129
+ isDefaultShowFields.value = ((_a2 = fList == null ? void 0 : fList.map) == null ? void 0 : _a2.call(fList, (v) => v.columnName)) || [];
142
130
  }
143
131
  async function init() {
144
132
  calculateAllFieldList();
@@ -168,14 +156,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
168
156
  type: "info",
169
157
  onClick: handleProjectModal
170
158
  }, {
171
- default: withCtx(() => [createTextVNode(function() {
172
- var _a, _b, _c;
173
- try {
174
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.431")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.431")) || "\u5BFC\u51FA\u5E76\u5B58\u4E3A\u65B9\u6848";
175
- } catch (e) {
176
- return "\u5BFC\u51FA\u5E76\u5B58\u4E3A\u65B9\u6848";
177
- }
178
- }())]),
159
+ default: withCtx(() => {
160
+ var _a2, _b2, _c2;
161
+ return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.431")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.431")) || "\u5BFC\u51FA\u5E76\u5B58\u4E3A\u65B9\u6848")];
162
+ }),
179
163
  _: 1
180
164
  })]),
181
165
  _: 1
@@ -61,54 +61,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
61
61
  return typeMappingOptions[originType];
62
62
  });
63
63
  return (_ctx, _cache) => {
64
- return openBlock(), createElementBlock("div", _hoisted_1, [createCommentVNode(function() {
65
- var _a, _b, _c;
66
- try {
67
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.292")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.292")) || "\u6570\u5B57\u6846";
68
- } catch (e) {
69
- return "\u6570\u5B57\u6846";
70
- }
71
- }()), unref(biType) === unref(WidgetTypeEnums).INPUT_NUMBER ? (openBlock(), createBlock(unref(InputNumber), {
64
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
65
+ return openBlock(), createElementBlock("div", _hoisted_1, [createCommentVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.292")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.292")) || "\u6570\u5B57\u6846"), unref(biType) === unref(WidgetTypeEnums).INPUT_NUMBER ? (openBlock(), createBlock(unref(InputNumber), {
72
66
  key: 0,
73
67
  paramCfg: __props.paramCfg,
74
68
  modelValue: unref(valueCp),
75
69
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(valueCp) ? valueCp.value = $event : null)
76
- }, null, 8, ["paramCfg", "modelValue"])) : createCommentVNode("v-if", true), createCommentVNode(function() {
77
- var _a, _b, _c;
78
- try {
79
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.293")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.293")) || "\u6587\u672C\u6846";
80
- } catch (e) {
81
- return "\u6587\u672C\u6846";
82
- }
83
- }()), unref(biType) === unref(WidgetTypeEnums).INPUT && !unref(isSelectMode) ? (openBlock(), createBlock(unref(InputFilter), {
70
+ }, null, 8, ["paramCfg", "modelValue"])) : createCommentVNode("v-if", true), createCommentVNode(((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.293")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.293")) || "\u6587\u672C\u6846"), unref(biType) === unref(WidgetTypeEnums).INPUT && !unref(isSelectMode) ? (openBlock(), createBlock(unref(InputFilter), {
84
71
  key: 1,
85
72
  paramCfg: __props.paramCfg,
86
73
  modelValue: unref(valueCp),
87
74
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(valueCp) ? valueCp.value = $event : null)
88
75
  }, null, 8, ["paramCfg", "modelValue"])) : createCommentVNode("v-if", true), createCommentVNode(" \u9759\u6001\u6570\u636E\u6E90\u4E0B\u62C9\u6846 "), unref(biType) === unref(WidgetTypeEnums).INPUT && unref(isSelectMode) ? (openBlock(), createElementBlock(Fragment, {
89
76
  key: 2
90
- }, [createCommentVNode(function() {
91
- var _a, _b, _c;
92
- try {
93
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.100")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.100")) || "\u591A\u9009";
94
- } catch (e) {
95
- return "\u591A\u9009";
96
- }
97
- }()), unref(isSelectMultiple) ? (openBlock(), createBlock(unref(SelectFilter), {
77
+ }, [createCommentVNode(((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.100")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.100")) || "\u591A\u9009"), unref(isSelectMultiple) ? (openBlock(), createBlock(unref(SelectFilter), {
98
78
  key: 0,
99
79
  paramCfg: __props.paramCfg,
100
80
  modelValue: unref(valuesCp),
101
81
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(valuesCp) ? valuesCp.value = $event : null)
102
82
  }, null, 8, ["paramCfg", "modelValue"])) : (openBlock(), createElementBlock(Fragment, {
103
83
  key: 1
104
- }, [createCommentVNode(function() {
105
- var _a, _b, _c;
106
- try {
107
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.298")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.298")) || "\u5355\u9009";
108
- } catch (e) {
109
- return "\u5355\u9009";
110
- }
111
- }()), createVNode(unref(SelectFilter), {
84
+ }, [createCommentVNode(((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.298")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.298")) || "\u5355\u9009"), createVNode(unref(SelectFilter), {
112
85
  paramCfg: __props.paramCfg,
113
86
  modelValue: unref(valueCp),
114
87
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(valueCp) ? valueCp.value = $event : null)