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
@@ -13,6 +13,7 @@ import { useSearchPatientList } from '../hooks/useSearchPatientList.js';
13
13
  import DefaultPage from '../../../default-page/index.js';
14
14
  import userItemRender from './userItemRender.js';
15
15
 
16
+ var _a, _b, _c;
16
17
  const _hoisted_1 = /* @__PURE__ */ createElementVNode("div", {
17
18
  class: "title"
18
19
  }, "\u8054\u7CFB\u4EBA(\u60A3\u8005)", -1);
@@ -21,14 +22,7 @@ const _hoisted_2 = /* @__PURE__ */ createElementVNode("div", {
21
22
  }, "\u8054\u7CFB\u4EBA(\u533B\u62A4)", -1);
22
23
  const _hoisted_3 = /* @__PURE__ */ createElementVNode("div", {
23
24
  class: "title"
24
- }, function() {
25
- var _a, _b, _c;
26
- try {
27
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.575")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.575")) || "\u6211\u7684\u7FA4\u7EC4";
28
- } catch (e) {
29
- return "\u6211\u7684\u7FA4\u7EC4";
30
- }
31
- }(), -1);
25
+ }, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.575")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.575")) || "\u6211\u7684\u7FA4\u7EC4", -1);
32
26
  const _hoisted_4 = {
33
27
  class: "user-list-wrapper"
34
28
  };
@@ -163,10 +157,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
163
157
  showSearch.value = false;
164
158
  }
165
159
  watch(() => showSearch.value, async (value) => {
166
- var _a;
160
+ var _a2;
167
161
  if (value) {
168
162
  await nextTick();
169
- (_a = inputRef.value) == null ? void 0 : _a.focus();
163
+ (_a2 = inputRef.value) == null ? void 0 : _a2.focus();
170
164
  }
171
165
  });
172
166
  return (_ctx, _cache) => {
@@ -192,14 +186,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
192
186
  component: unref(SearchOutline),
193
187
  color: "#ffffff80"
194
188
  }, null, 8, ["component"])]),
195
- default: withCtx(() => [createTextVNode(function() {
196
- var _a, _b, _c;
197
- try {
198
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.80")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.80")) || "\u641C\u7D22\u8054\u7CFB\u4EBA";
199
- } catch (e) {
200
- return "\u641C\u7D22\u8054\u7CFB\u4EBA";
201
- }
202
- }())]),
189
+ default: withCtx(() => {
190
+ var _a2, _b2, _c2;
191
+ return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.80")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.80")) || "\u641C\u7D22\u8054\u7CFB\u4EBA")];
192
+ }),
203
193
  _: 1
204
194
  })]),
205
195
  default: withCtx(() => [createVNode(unref(NInput), {
@@ -223,251 +213,213 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
223
213
  value: currentTabValue.value,
224
214
  "onUpdate:value": [_cache[7] || (_cache[7] = ($event) => currentTabValue.value = $event), handleTabChange]
225
215
  }, {
226
- default: withCtx(() => [createVNode(unref(NTabPane), {
227
- name: "all",
228
- tab: function() {
229
- var _a, _b, _c;
230
- try {
231
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.571")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.571")) || "\u7EFC\u5408";
232
- } catch (e) {
233
- return "\u7EFC\u5408";
216
+ default: withCtx(() => {
217
+ var _a2, _b2, _c2, _d, _e, _f;
218
+ return [createVNode(unref(NTabPane), {
219
+ name: "all",
220
+ tab: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.571")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.571")) || "\u7EFC\u5408",
221
+ "display-directive": "show",
222
+ style: {
223
+ "padding": "0 10px 10px",
224
+ "overflow-y": "auto"
234
225
  }
235
- }(),
236
- "display-directive": "show",
237
- style: {
238
- "padding": "0 10px 10px",
239
- "overflow-y": "auto"
240
- }
241
- }, {
242
- default: withCtx(() => [createCommentVNode(" \u8054\u7CFB\u4EBA(\u60A3\u8005) "), unref(patientList).length > 0 ? (openBlock(), createElementBlock(Fragment, {
243
- key: 0
244
- }, [_hoisted_1, (openBlock(true), createElementBlock(Fragment, null, renderList(unref(patientList), (patient, index) => {
245
- return openBlock(), createElementBlock(Fragment, {
246
- key: patient.id
247
- }, [index < 3 ? (openBlock(), createBlock(unref(userItemRender), {
248
- key: 0,
249
- item: patient,
250
- class: normalizeClass({
251
- last: unref(patientList).length < 4 ? index === unref(patientList).length - 1 : index === 2,
252
- selected: currentIndex.value === index
253
- }),
254
- onItemClick: handleClose,
255
- onMouseover: withModifiers(() => currentIndex.value = index, ["stop"])
256
- }, null, 8, ["item", "class", "onMouseover"])) : createCommentVNode("v-if", true)], 64);
257
- }), 128)), unref(patientList).length > 3 ? (openBlock(), createElementBlock("div", {
258
- key: 0,
259
- onClick: _cache[1] || (_cache[1] = () => currentTabValue.value = "user"),
260
- class: normalizeClass(["user-item", currentIndex.value === 3 ? "selected" : ""]),
261
- onMouseover: _cache[2] || (_cache[2] = withModifiers(() => currentIndex.value = 3, ["stop"]))
262
- }, [createVNode(unref(NButton), {
263
- text: "",
264
- type: "primary"
265
226
  }, {
266
- icon: withCtx(() => [createVNode(unref(NIcon), {
267
- component: unref(SearchOutline),
268
- size: "16"
269
- }, null, 8, ["component"])]),
270
- default: withCtx(() => [createTextVNode(" \u67E5\u770B\u66F4\u591A\u8054\u7CFB\u4EBA(\u60A3\u8005) ")]),
227
+ default: withCtx(() => {
228
+ var _a3, _b3, _c3, _d2, _e2, _f2;
229
+ return [createCommentVNode(" \u8054\u7CFB\u4EBA(\u60A3\u8005) "), unref(patientList).length > 0 ? (openBlock(), createElementBlock(Fragment, {
230
+ key: 0
231
+ }, [_hoisted_1, (openBlock(true), createElementBlock(Fragment, null, renderList(unref(patientList), (patient, index) => {
232
+ return openBlock(), createElementBlock(Fragment, {
233
+ key: patient.id
234
+ }, [index < 3 ? (openBlock(), createBlock(unref(userItemRender), {
235
+ key: 0,
236
+ item: patient,
237
+ class: normalizeClass({
238
+ last: unref(patientList).length < 4 ? index === unref(patientList).length - 1 : index === 2,
239
+ selected: currentIndex.value === index
240
+ }),
241
+ onItemClick: handleClose,
242
+ onMouseover: withModifiers(() => currentIndex.value = index, ["stop"])
243
+ }, null, 8, ["item", "class", "onMouseover"])) : createCommentVNode("v-if", true)], 64);
244
+ }), 128)), unref(patientList).length > 3 ? (openBlock(), createElementBlock("div", {
245
+ key: 0,
246
+ onClick: _cache[1] || (_cache[1] = () => currentTabValue.value = "user"),
247
+ class: normalizeClass(["user-item", currentIndex.value === 3 ? "selected" : ""]),
248
+ onMouseover: _cache[2] || (_cache[2] = withModifiers(() => currentIndex.value = 3, ["stop"]))
249
+ }, [createVNode(unref(NButton), {
250
+ text: "",
251
+ type: "primary"
252
+ }, {
253
+ icon: withCtx(() => [createVNode(unref(NIcon), {
254
+ component: unref(SearchOutline),
255
+ size: "16"
256
+ }, null, 8, ["component"])]),
257
+ default: withCtx(() => [createTextVNode(" \u67E5\u770B\u66F4\u591A\u8054\u7CFB\u4EBA(\u60A3\u8005) ")]),
258
+ _: 1
259
+ })], 34)) : createCommentVNode("v-if", true)], 64)) : createCommentVNode("v-if", true), unref(patientList).length && unref(userList).length ? (openBlock(), createBlock(unref(NDivider), {
260
+ key: 1
261
+ })) : createCommentVNode("v-if", true), createCommentVNode(" \u8054\u7CFB\u4EBA(\u533B\u62A4) "), unref(userList).length > 0 ? (openBlock(), createElementBlock(Fragment, {
262
+ key: 2
263
+ }, [_hoisted_2, (openBlock(true), createElementBlock(Fragment, null, renderList(unref(userList), (user, index) => {
264
+ return openBlock(), createElementBlock(Fragment, {
265
+ key: user.id
266
+ }, [index < 3 ? (openBlock(), createBlock(unref(userItemRender), {
267
+ key: 0,
268
+ item: user,
269
+ class: normalizeClass({
270
+ last: unref(userList).length < 4 ? index === unref(userList).length - 1 : index === 2,
271
+ selected: currentIndex.value === unref(userStartIndex) + index
272
+ }),
273
+ onItemClick: handleClose,
274
+ onMouseover: withModifiers(() => currentIndex.value = unref(userStartIndex) + index, ["stop"])
275
+ }, null, 8, ["item", "class", "onMouseover"])) : createCommentVNode("v-if", true)], 64);
276
+ }), 128)), unref(userList).length > 3 ? (openBlock(), createElementBlock("div", {
277
+ key: 0,
278
+ onClick: _cache[3] || (_cache[3] = () => currentTabValue.value = "user"),
279
+ class: normalizeClass(["user-item", currentIndex.value === unref(userStartIndex) + 3 ? "selected" : ""]),
280
+ onMouseover: _cache[4] || (_cache[4] = withModifiers(() => currentIndex.value = unref(userStartIndex) + 3, ["stop"]))
281
+ }, [createVNode(unref(NButton), {
282
+ text: "",
283
+ type: "primary"
284
+ }, {
285
+ icon: withCtx(() => [createVNode(unref(NIcon), {
286
+ component: unref(SearchOutline),
287
+ size: "16"
288
+ }, null, 8, ["component"])]),
289
+ default: withCtx(() => [createTextVNode(" \u67E5\u770B\u66F4\u591A\u8054\u7CFB\u4EBA(\u533B\u62A4) ")]),
290
+ _: 1
291
+ })], 34)) : createCommentVNode("v-if", true)], 64)) : createCommentVNode("v-if", true), unref(userList).length && unref(groupList).length ? (openBlock(), createBlock(unref(NDivider), {
292
+ key: 3
293
+ })) : createCommentVNode("v-if", true), createCommentVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.572")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.572")) || "\u7FA4\u7EC4"), unref(groupList).length > 0 ? (openBlock(), createElementBlock(Fragment, {
294
+ key: 4
295
+ }, [_hoisted_3, (openBlock(true), createElementBlock(Fragment, null, renderList(unref(groupList), (group, index) => {
296
+ return openBlock(), createElementBlock(Fragment, {
297
+ key: group.id
298
+ }, [index < 3 ? (openBlock(), createBlock(unref(userItemRender), {
299
+ key: 0,
300
+ item: group,
301
+ class: normalizeClass({
302
+ last: unref(groupList).length < 4 ? index === unref(groupList).length - 1 : index === 2,
303
+ selected: currentIndex.value === unref(groupStartIndex) + index
304
+ }),
305
+ onItemClick: handleClose,
306
+ onMouseover: withModifiers(() => currentIndex.value = unref(groupStartIndex) + index, ["stop"])
307
+ }, null, 8, ["item", "class", "onMouseover"])) : createCommentVNode("v-if", true)], 64);
308
+ }), 128)), unref(groupList).length > 3 ? (openBlock(), createElementBlock("div", {
309
+ key: 0,
310
+ onClick: _cache[5] || (_cache[5] = () => currentTabValue.value = "group"),
311
+ class: normalizeClass(["user-item", currentIndex.value === unref(groupStartIndex) + 3 ? "selected" : ""]),
312
+ onMouseover: _cache[6] || (_cache[6] = withModifiers(() => currentIndex.value = unref(groupStartIndex) + 3, ["stop"]))
313
+ }, [createVNode(unref(NButton), {
314
+ text: "",
315
+ type: "primary"
316
+ }, {
317
+ icon: withCtx(() => [createVNode(unref(NIcon), {
318
+ component: unref(SearchOutline),
319
+ size: "16"
320
+ }, null, 8, ["component"])]),
321
+ default: withCtx(() => {
322
+ var _a4, _b4, _c4;
323
+ return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.574")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.574")) || "\u67E5\u770B\u66F4\u591A\u7FA4\u7EC4")];
324
+ }),
325
+ _: 1
326
+ })], 34)) : createCommentVNode("v-if", true)], 64)) : createCommentVNode("v-if", true), withDirectives(createVNode(unref(DefaultPage), {
327
+ config: {
328
+ title: " ",
329
+ content: ((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.81")) || ((_f2 = (_e2 = window.top) == null ? void 0 : _e2.getLanguageByCode) == null ? void 0 : _f2.call(_e2, "10010.1.81")) || "\u627E\u4E0D\u5230\u76F8\u5173\u7684\u7ED3\u679C"
330
+ },
331
+ type: "5"
332
+ }, null, 512), [[vShow, unref(showAllNoData)]])];
333
+ }),
271
334
  _: 1
272
- })], 34)) : createCommentVNode("v-if", true)], 64)) : createCommentVNode("v-if", true), unref(patientList).length && unref(userList).length ? (openBlock(), createBlock(unref(NDivider), {
273
- key: 1
274
- })) : createCommentVNode("v-if", true), createCommentVNode(" \u8054\u7CFB\u4EBA(\u533B\u62A4) "), unref(userList).length > 0 ? (openBlock(), createElementBlock(Fragment, {
275
- key: 2
276
- }, [_hoisted_2, (openBlock(true), createElementBlock(Fragment, null, renderList(unref(userList), (user, index) => {
277
- return openBlock(), createElementBlock(Fragment, {
278
- key: user.id
279
- }, [index < 3 ? (openBlock(), createBlock(unref(userItemRender), {
280
- key: 0,
281
- item: user,
282
- class: normalizeClass({
283
- last: unref(userList).length < 4 ? index === unref(userList).length - 1 : index === 2,
284
- selected: currentIndex.value === unref(userStartIndex) + index
285
- }),
286
- onItemClick: handleClose,
287
- onMouseover: withModifiers(() => currentIndex.value = unref(userStartIndex) + index, ["stop"])
288
- }, null, 8, ["item", "class", "onMouseover"])) : createCommentVNode("v-if", true)], 64);
289
- }), 128)), unref(userList).length > 3 ? (openBlock(), createElementBlock("div", {
290
- key: 0,
291
- onClick: _cache[3] || (_cache[3] = () => currentTabValue.value = "user"),
292
- class: normalizeClass(["user-item", currentIndex.value === unref(userStartIndex) + 3 ? "selected" : ""]),
293
- onMouseover: _cache[4] || (_cache[4] = withModifiers(() => currentIndex.value = unref(userStartIndex) + 3, ["stop"]))
294
- }, [createVNode(unref(NButton), {
295
- text: "",
296
- type: "primary"
335
+ }), createVNode(unref(NTabPane), {
336
+ name: "patient",
337
+ tab: "\u8054\u7CFB\u4EBA(\u60A3\u8005)",
338
+ "display-directive": "show"
297
339
  }, {
298
- icon: withCtx(() => [createVNode(unref(NIcon), {
299
- component: unref(SearchOutline),
300
- size: "16"
301
- }, null, 8, ["component"])]),
302
- default: withCtx(() => [createTextVNode(" \u67E5\u770B\u66F4\u591A\u8054\u7CFB\u4EBA(\u533B\u62A4) ")]),
340
+ default: withCtx(() => {
341
+ var _a3, _b3, _c3;
342
+ return [createElementVNode("div", {
343
+ class: "user-list-wrapper",
344
+ ref_key: "patientListRef",
345
+ ref: patientListRef
346
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(patientList), (patient, index) => {
347
+ return openBlock(), createBlock(unref(userItemRender), {
348
+ key: patient.id,
349
+ item: patient,
350
+ onItemClick: handleClose,
351
+ class: normalizeClass({
352
+ selected: currentIndex.value === index
353
+ }),
354
+ onMouseover: withModifiers(() => currentIndex.value = index, ["stop"])
355
+ }, null, 8, ["item", "class", "onMouseover"]);
356
+ }), 128)), withDirectives(createVNode(unref(DefaultPage), {
357
+ config: {
358
+ title: " ",
359
+ content: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.81")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.81")) || "\u627E\u4E0D\u5230\u76F8\u5173\u7684\u7ED3\u679C"
360
+ },
361
+ type: "5"
362
+ }, null, 512), [[vShow, unref(showNoPatientData)]])], 512)];
363
+ }),
303
364
  _: 1
304
- })], 34)) : createCommentVNode("v-if", true)], 64)) : createCommentVNode("v-if", true), unref(userList).length && unref(groupList).length ? (openBlock(), createBlock(unref(NDivider), {
305
- key: 3
306
- })) : createCommentVNode("v-if", true), createCommentVNode(function() {
307
- var _a, _b, _c;
308
- try {
309
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.572")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.572")) || "\u7FA4\u7EC4";
310
- } catch (e) {
311
- return "\u7FA4\u7EC4";
312
- }
313
- }()), unref(groupList).length > 0 ? (openBlock(), createElementBlock(Fragment, {
314
- key: 4
315
- }, [_hoisted_3, (openBlock(true), createElementBlock(Fragment, null, renderList(unref(groupList), (group, index) => {
316
- return openBlock(), createElementBlock(Fragment, {
317
- key: group.id
318
- }, [index < 3 ? (openBlock(), createBlock(unref(userItemRender), {
319
- key: 0,
320
- item: group,
321
- class: normalizeClass({
322
- last: unref(groupList).length < 4 ? index === unref(groupList).length - 1 : index === 2,
323
- selected: currentIndex.value === unref(groupStartIndex) + index
324
- }),
325
- onItemClick: handleClose,
326
- onMouseover: withModifiers(() => currentIndex.value = unref(groupStartIndex) + index, ["stop"])
327
- }, null, 8, ["item", "class", "onMouseover"])) : createCommentVNode("v-if", true)], 64);
328
- }), 128)), unref(groupList).length > 3 ? (openBlock(), createElementBlock("div", {
329
- key: 0,
330
- onClick: _cache[5] || (_cache[5] = () => currentTabValue.value = "group"),
331
- class: normalizeClass(["user-item", currentIndex.value === unref(groupStartIndex) + 3 ? "selected" : ""]),
332
- onMouseover: _cache[6] || (_cache[6] = withModifiers(() => currentIndex.value = unref(groupStartIndex) + 3, ["stop"]))
333
- }, [createVNode(unref(NButton), {
334
- text: "",
335
- type: "primary"
365
+ }), createVNode(unref(NTabPane), {
366
+ name: "user",
367
+ tab: "\u8054\u7CFB\u4EBA(\u533B\u62A4)",
368
+ "display-directive": "show"
336
369
  }, {
337
- icon: withCtx(() => [createVNode(unref(NIcon), {
338
- component: unref(SearchOutline),
339
- size: "16"
340
- }, null, 8, ["component"])]),
341
- default: withCtx(() => [createTextVNode(function() {
342
- var _a, _b, _c;
343
- try {
344
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.574")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.574")) || "\u67E5\u770B\u66F4\u591A\u7FA4\u7EC4";
345
- } catch (e) {
346
- return "\u67E5\u770B\u66F4\u591A\u7FA4\u7EC4";
347
- }
348
- }())]),
370
+ default: withCtx(() => {
371
+ var _a3, _b3, _c3;
372
+ return [createElementVNode("div", {
373
+ class: "user-list-wrapper",
374
+ ref_key: "userListRef",
375
+ ref: userListRef
376
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(userList), (user, index) => {
377
+ return openBlock(), createBlock(unref(userItemRender), {
378
+ key: user.id,
379
+ item: user,
380
+ onItemClick: handleClose,
381
+ class: normalizeClass({
382
+ selected: currentIndex.value === index
383
+ }),
384
+ onMouseover: withModifiers(() => currentIndex.value = index, ["stop"])
385
+ }, null, 8, ["item", "class", "onMouseover"]);
386
+ }), 128)), withDirectives(createVNode(unref(DefaultPage), {
387
+ config: {
388
+ title: " ",
389
+ content: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.81")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.81")) || "\u627E\u4E0D\u5230\u76F8\u5173\u7684\u7ED3\u679C"
390
+ },
391
+ type: "5"
392
+ }, null, 512), [[vShow, unref(showNoUserData)]])], 512)];
393
+ }),
349
394
  _: 1
350
- })], 34)) : createCommentVNode("v-if", true)], 64)) : createCommentVNode("v-if", true), withDirectives(createVNode(unref(DefaultPage), {
351
- config: {
352
- title: " ",
353
- content: function() {
354
- var _a, _b, _c;
355
- try {
356
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.81")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.81")) || "\u627E\u4E0D\u5230\u76F8\u5173\u7684\u7ED3\u679C";
357
- } catch (e) {
358
- return "\u627E\u4E0D\u5230\u76F8\u5173\u7684\u7ED3\u679C";
359
- }
360
- }()
361
- },
362
- type: "5"
363
- }, null, 512), [[vShow, unref(showAllNoData)]])]),
364
- _: 1
365
- }), createVNode(unref(NTabPane), {
366
- name: "patient",
367
- tab: "\u8054\u7CFB\u4EBA(\u60A3\u8005)",
368
- "display-directive": "show"
369
- }, {
370
- default: withCtx(() => [createElementVNode("div", {
371
- class: "user-list-wrapper",
372
- ref_key: "patientListRef",
373
- ref: patientListRef
374
- }, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(patientList), (patient, index) => {
375
- return openBlock(), createBlock(unref(userItemRender), {
376
- key: patient.id,
377
- item: patient,
378
- onItemClick: handleClose,
379
- class: normalizeClass({
380
- selected: currentIndex.value === index
381
- }),
382
- onMouseover: withModifiers(() => currentIndex.value = index, ["stop"])
383
- }, null, 8, ["item", "class", "onMouseover"]);
384
- }), 128)), withDirectives(createVNode(unref(DefaultPage), {
385
- config: {
386
- title: " ",
387
- content: function() {
388
- var _a, _b, _c;
389
- try {
390
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.81")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.81")) || "\u627E\u4E0D\u5230\u76F8\u5173\u7684\u7ED3\u679C";
391
- } catch (e) {
392
- return "\u627E\u4E0D\u5230\u76F8\u5173\u7684\u7ED3\u679C";
393
- }
394
- }()
395
- },
396
- type: "5"
397
- }, null, 512), [[vShow, unref(showNoPatientData)]])], 512)]),
398
- _: 1
399
- }), createVNode(unref(NTabPane), {
400
- name: "user",
401
- tab: "\u8054\u7CFB\u4EBA(\u533B\u62A4)",
402
- "display-directive": "show"
403
- }, {
404
- default: withCtx(() => [createElementVNode("div", {
405
- class: "user-list-wrapper",
406
- ref_key: "userListRef",
407
- ref: userListRef
408
- }, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(userList), (user, index) => {
409
- return openBlock(), createBlock(unref(userItemRender), {
410
- key: user.id,
411
- item: user,
412
- onItemClick: handleClose,
413
- class: normalizeClass({
414
- selected: currentIndex.value === index
415
- }),
416
- onMouseover: withModifiers(() => currentIndex.value = index, ["stop"])
417
- }, null, 8, ["item", "class", "onMouseover"]);
418
- }), 128)), withDirectives(createVNode(unref(DefaultPage), {
419
- config: {
420
- title: " ",
421
- content: function() {
422
- var _a, _b, _c;
423
- try {
424
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.81")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.81")) || "\u627E\u4E0D\u5230\u76F8\u5173\u7684\u7ED3\u679C";
425
- } catch (e) {
426
- return "\u627E\u4E0D\u5230\u76F8\u5173\u7684\u7ED3\u679C";
427
- }
428
- }()
429
- },
430
- type: "5"
431
- }, null, 512), [[vShow, unref(showNoUserData)]])], 512)]),
432
- _: 1
433
- }), createVNode(unref(NTabPane), {
434
- name: "group",
435
- tab: function() {
436
- var _a, _b, _c;
437
- try {
438
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.572")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.572")) || "\u7FA4\u7EC4";
439
- } catch (e) {
440
- return "\u7FA4\u7EC4";
441
- }
442
- }(),
443
- "display-directive": "show"
444
- }, {
445
- default: withCtx(() => [createElementVNode("div", _hoisted_4, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(groupList), (group, index) => {
446
- return openBlock(), createBlock(unref(userItemRender), {
447
- key: group.id,
448
- item: group,
449
- onItemClick: handleClose,
450
- class: normalizeClass({
451
- selected: currentIndex.value === index
452
- }),
453
- onMouseover: withModifiers(() => currentIndex.value = index, ["stop"])
454
- }, null, 8, ["item", "class", "onMouseover"]);
455
- }), 128)), withDirectives(createVNode(unref(DefaultPage), {
456
- config: {
457
- title: " ",
458
- content: function() {
459
- var _a, _b, _c;
460
- try {
461
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.81")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.81")) || "\u627E\u4E0D\u5230\u76F8\u5173\u7684\u7ED3\u679C";
462
- } catch (e) {
463
- return "\u627E\u4E0D\u5230\u76F8\u5173\u7684\u7ED3\u679C";
464
- }
465
- }()
466
- },
467
- type: "5"
468
- }, null, 512), [[vShow, unref(showGroupNoData)]])])]),
469
- _: 1
470
- })]),
395
+ }), createVNode(unref(NTabPane), {
396
+ name: "group",
397
+ tab: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.572")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.572")) || "\u7FA4\u7EC4",
398
+ "display-directive": "show"
399
+ }, {
400
+ default: withCtx(() => {
401
+ var _a3, _b3, _c3;
402
+ return [createElementVNode("div", _hoisted_4, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(groupList), (group, index) => {
403
+ return openBlock(), createBlock(unref(userItemRender), {
404
+ key: group.id,
405
+ item: group,
406
+ onItemClick: handleClose,
407
+ class: normalizeClass({
408
+ selected: currentIndex.value === index
409
+ }),
410
+ onMouseover: withModifiers(() => currentIndex.value = index, ["stop"])
411
+ }, null, 8, ["item", "class", "onMouseover"]);
412
+ }), 128)), withDirectives(createVNode(unref(DefaultPage), {
413
+ config: {
414
+ title: " ",
415
+ content: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.81")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.81")) || "\u627E\u4E0D\u5230\u76F8\u5173\u7684\u7ED3\u679C"
416
+ },
417
+ type: "5"
418
+ }, null, 512), [[vShow, unref(showGroupNoData)]])])];
419
+ }),
420
+ _: 1
421
+ })];
422
+ }),
471
423
  _: 1
472
424
  }, 8, ["value"])]),
473
425
  _: 1