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
@@ -8,6 +8,7 @@ import SearchMultiple from './components/SearchMultiple.vue.js';
8
8
  import SearchOrgAndStaff from './components/SearchOrgAndStaff.vue.js';
9
9
  import { InjectionSelectPersonEmits } from './constants/index.js';
10
10
 
11
+ var _a, _b, _c, _d, _e, _f;
11
12
  const _hoisted_1 = {
12
13
  class: "search-box"
13
14
  };
@@ -35,25 +36,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
35
36
  },
36
37
  searchPlaceholder: {
37
38
  type: String,
38
- default: function() {
39
- var _a, _b, _c;
40
- try {
41
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.508")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.508")) || "\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22";
42
- } catch (e) {
43
- return "\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22";
44
- }
45
- }()
39
+ default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.508")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.508")) || "\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22"
46
40
  },
47
41
  searchButtonText: {
48
42
  type: String,
49
- default: function() {
50
- var _a, _b, _c;
51
- try {
52
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.36")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.36")) || "\u641C\u7D22";
53
- } catch (e) {
54
- return "\u641C\u7D22";
55
- }
56
- }()
43
+ default: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.36")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.36")) || "\u641C\u7D22"
57
44
  },
58
45
  wordbook: {
59
46
  type: Object,
@@ -124,75 +111,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
124
111
  setup(__props, {
125
112
  expose
126
113
  }) {
114
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
127
115
  const props = __props;
128
116
  const searchFilterBase = {
129
117
  isOpen: false,
130
118
  multiple: false,
131
- customTitles: [function() {
132
- var _a, _b, _c;
133
- try {
134
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.510")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.510")) || "\u8054\u7CFB\u4EBA";
135
- } catch (e) {
136
- return "\u8054\u7CFB\u4EBA";
137
- }
138
- }(), function() {
139
- var _a, _b, _c;
140
- try {
141
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.511")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.511")) || "\u90E8\u95E8";
142
- } catch (e) {
143
- return "\u90E8\u95E8";
144
- }
145
- }()],
119
+ customTitles: [((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.510")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.510")) || "\u8054\u7CFB\u4EBA", ((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.511")) || ((_f2 = (_e2 = window.top) == null ? void 0 : _e2.getLanguageByCode) == null ? void 0 : _f2.call(_e2, "10010.1.511")) || "\u90E8\u95E8"],
146
120
  itemHeight: 250
147
121
  };
148
122
  const labelList = [{
149
123
  key: "main",
150
- label: function() {
151
- var _a, _b, _c;
152
- try {
153
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.512")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.512")) || "\u9009\u4EBA\u5458";
154
- } catch (e) {
155
- return "\u9009\u4EBA\u5458";
156
- }
157
- }()
124
+ label: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.512")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.512")) || "\u9009\u4EBA\u5458"
158
125
  }, {
159
126
  key: "dept",
160
- label: function() {
161
- var _a, _b, _c;
162
- try {
163
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.513")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.513")) || "\u9009\u79D1\u5BA4";
164
- } catch (e) {
165
- return "\u9009\u79D1\u5BA4";
166
- }
167
- }()
127
+ label: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.513")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.513")) || "\u9009\u79D1\u5BA4"
168
128
  }, {
169
129
  key: "role",
170
- label: function() {
171
- var _a, _b, _c;
172
- try {
173
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.514")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.514")) || "\u9009\u89D2\u8272";
174
- } catch (e) {
175
- return "\u9009\u89D2\u8272";
176
- }
177
- }()
130
+ label: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.514")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.514")) || "\u9009\u89D2\u8272"
178
131
  }];
179
132
  const labelListName = {
180
- dept: function() {
181
- var _a, _b, _c;
182
- try {
183
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.202")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.202")) || "\u79D1\u5BA4";
184
- } catch (e) {
185
- return "\u79D1\u5BA4";
186
- }
187
- }(),
188
- role: function() {
189
- var _a, _b, _c;
190
- try {
191
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.515")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.515")) || "\u89D2\u8272";
192
- } catch (e) {
193
- return "\u89D2\u8272";
194
- }
195
- }()
133
+ dept: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.202")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "10010.1.202")) || "\u79D1\u5BA4",
134
+ role: ((_s = window.getLanguageByCode) == null ? void 0 : _s.call(window, "10010.1.515")) || ((_u = (_t = window.top) == null ? void 0 : _t.getLanguageByCode) == null ? void 0 : _u.call(_t, "10010.1.515")) || "\u89D2\u8272"
196
135
  };
197
136
  const emit = inject(InjectionSelectPersonEmits);
198
137
  const keyword = ref("");
@@ -206,8 +145,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
206
145
  const allCheckedTreeKeys = ref([]);
207
146
  const isRemote = computed(() => props.queryLoadChildData ? true : false);
208
147
  const checkStrategyResult = computed(() => {
209
- var _a, _b;
210
- return (_b = (_a = props == null ? void 0 : props.treeSetting) == null ? void 0 : _a.checkStrategy) != null ? _b : "child";
148
+ var _a3, _b3;
149
+ return (_b3 = (_a3 = props == null ? void 0 : props.treeSetting) == null ? void 0 : _a3.checkStrategy) != null ? _b3 : "child";
211
150
  });
212
151
  const isSearchFilter = computed(() => (props == null ? void 0 : props.searchFilter) && Object.keys(props == null ? void 0 : props.searchFilter).length > 0);
213
152
  const curSelectKey = ref("main");
@@ -221,8 +160,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
221
160
  return cloneDeep(searchFilterBase);
222
161
  });
223
162
  const wordbookChildExpandkeys = computed(() => {
224
- var _a, _b;
225
- return (_b = (_a = props == null ? void 0 : props.wordbookChild) == null ? void 0 : _a.user_expand_keys) != null ? _b : [];
163
+ var _a3, _b3;
164
+ return (_b3 = (_a3 = props == null ? void 0 : props.wordbookChild) == null ? void 0 : _a3.user_expand_keys) != null ? _b3 : [];
226
165
  });
227
166
  const styleObject = computed(() => {
228
167
  return {
@@ -286,8 +225,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
286
225
  role: []
287
226
  });
288
227
  const attrType = computed(() => {
289
- var _a;
290
- return ((_a = props.wordbook) == null ? void 0 : _a.type) || "type";
228
+ var _a3;
229
+ return ((_a3 = props.wordbook) == null ? void 0 : _a3.type) || "type";
291
230
  });
292
231
  const keyStr = computed(() => props.wordbookChild.user_id_obj || props.wordbook.parent_id_obj || Date.now());
293
232
  function getTreeDataMiddleData() {
@@ -306,8 +245,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
306
245
  }
307
246
  function getDeptData(list, cb) {
308
247
  return list.filter((item) => {
309
- var _a;
310
- if (props.showSelectType && ((_a = item.children) == null ? void 0 : _a.length)) {
248
+ var _a3;
249
+ if (props.showSelectType && ((_a3 = item.children) == null ? void 0 : _a3.length)) {
311
250
  item.children = getDeptData(item.children, cb);
312
251
  }
313
252
  const isFilter = item[attrType.value] == SelectRoleEnumsConfig.DEPT;
@@ -324,10 +263,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
324
263
  children = "children"
325
264
  } = props.roleFields;
326
265
  return list.map((item) => {
327
- var _a;
266
+ var _a3;
328
267
  item.key = item[key];
329
268
  item.label = item.title = item[label];
330
- if ((_a = item[children]) == null ? void 0 : _a.length) {
269
+ if ((_a3 = item[children]) == null ? void 0 : _a3.length) {
331
270
  item.children = getRoleData(item[children], cb);
332
271
  }
333
272
  setAllCheckedKeys(item, cb);
@@ -341,8 +280,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
341
280
  allCheckedTreeKeys.value = allCheckedKeysMiddle[item.key];
342
281
  }
343
282
  function setSelectTagData(tree, operatorType) {
344
- var _a, _b;
345
- const keyName = ["main", "dept"].includes(operatorType) ? keyStr.value : (_a = props.roleFields) == null ? void 0 : _a.key;
283
+ var _a3, _b3;
284
+ const keyName = ["main", "dept"].includes(operatorType) ? keyStr.value : (_a3 = props.roleFields) == null ? void 0 : _a3.key;
346
285
  for (let i = 0, len = tree.length; i < len; i++) {
347
286
  const item = tree[i];
348
287
  const initTagKeys = initTagData.value.map((tag) => tag.key);
@@ -350,7 +289,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
350
289
  ...item,
351
290
  key: item[keyName]
352
291
  });
353
- ((_b = item.children) == null ? void 0 : _b.length) && setSelectTagData(item.children, operatorType);
292
+ ((_b3 = item.children) == null ? void 0 : _b3.length) && setSelectTagData(item.children, operatorType);
354
293
  }
355
294
  }
356
295
  function uniqArrObj(arr, name) {
@@ -394,7 +333,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
394
333
  }
395
334
  }
396
335
  function getMainData(tree, parentNode, cb) {
397
- var _a, _b;
336
+ var _a3, _b3;
398
337
  for (let i = 0, len = tree.length; i < len; i++) {
399
338
  const item = tree[i];
400
339
  let title_expand_strs = wordbookChildExpandkeys.value.reduce((acc, current) => {
@@ -407,18 +346,18 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
407
346
  item.parentNode = parentNode;
408
347
  if (!item.key)
409
348
  item.key = item[props.wordbookChild.user_id_obj] || item[props.wordbook.parent_id_obj] || Date.now();
410
- if ((_a = item.children) == null ? void 0 : _a.length) {
349
+ if ((_a3 = item.children) == null ? void 0 : _a3.length) {
411
350
  getMainData(item.children, item, cb);
412
351
  setDisabled(item);
413
- } else if (((_b = item.children) == null ? void 0 : _b.length) === 0) {
352
+ } else if (((_b3 = item.children) == null ? void 0 : _b3.length) === 0) {
414
353
  Reflect.deleteProperty(item, "children");
415
354
  }
416
355
  setAllCheckedKeys(item, cb);
417
356
  }
418
357
  }
419
358
  function setAllCheckedKeys(tree, cb) {
420
- var _a, _b;
421
- const checkStrategy = (_b = (_a = props == null ? void 0 : props.treeSetting) == null ? void 0 : _a.checkStrategy) != null ? _b : "child";
359
+ var _a3, _b3;
360
+ const checkStrategy = (_b3 = (_a3 = props == null ? void 0 : props.treeSetting) == null ? void 0 : _a3.checkStrategy) != null ? _b3 : "child";
422
361
  switch (checkStrategy) {
423
362
  case "child":
424
363
  setAllCheckedKeysWithChild(tree, cb);
@@ -462,16 +401,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
462
401
  return node;
463
402
  }
464
403
  function setDisabled(data) {
465
- var _a;
466
- const isDisabled = (_a = data.children) == null ? void 0 : _a.every((item) => item.disabled);
404
+ var _a3;
405
+ const isDisabled = (_a3 = data.children) == null ? void 0 : _a3.every((item) => item.disabled);
467
406
  if (isDisabled)
468
407
  data.disabled = true;
469
408
  }
470
409
  function renderLabel({
471
410
  option
472
411
  }) {
473
- var _a, _b;
474
- if (((_a = option.children) == null ? void 0 : _a.length) || isRemote.value && !(option == null ? void 0 : option.isLeaf)) {
412
+ var _a3, _b3;
413
+ if (((_a3 = option.children) == null ? void 0 : _a3.length) || isRemote.value && !(option == null ? void 0 : option.isLeaf)) {
475
414
  const count = props.wordbook.user_count_obj ? option[props.wordbook.user_count_obj] || "" : "";
476
415
  const countText = count ? `(${count})` : "";
477
416
  const labelStr = `${option.title}${countText}`;
@@ -479,7 +418,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
479
418
  "title": labelStr
480
419
  }, [labelStr]);
481
420
  } else {
482
- const title_expand_strs = (_b = option.title_expand_strs) != null ? _b : "";
421
+ const title_expand_strs = (_b3 = option.title_expand_strs) != null ? _b3 : "";
483
422
  return createVNode("p", {
484
423
  "class": "user_item"
485
424
  }, [createVNode("span", {
@@ -494,11 +433,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
494
433
  return option[props.wordbookChild.user_name_obj] || option[props.wordbook.parent_name_obj] || option["orgName"] || option["title"] || "";
495
434
  }
496
435
  function transformData(trees) {
497
- var _a;
436
+ var _a3;
498
437
  for (let index = 0, len = trees.length; index < len; index++) {
499
438
  const tree = trees[index];
500
439
  const childrenKey = props.wordbook.children || "children";
501
- if ((_a = tree[childrenKey]) == null ? void 0 : _a.length) {
440
+ if ((_a3 = tree[childrenKey]) == null ? void 0 : _a3.length) {
502
441
  const items = calculateRootItems(tree[childrenKey], []);
503
442
  tree.innerItemsNum = items.length;
504
443
  tree.innerLeafs = items;
@@ -510,10 +449,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
510
449
  return trees;
511
450
  }
512
451
  function calculateRootItems(trees, items) {
513
- var _a;
452
+ var _a3;
514
453
  for (let index = 0, len = trees.length; index < len; index++) {
515
454
  const tree = trees[index];
516
- if ((_a = tree.children) == null ? void 0 : _a.length) {
455
+ if ((_a3 = tree.children) == null ? void 0 : _a3.length) {
517
456
  calculateRootItems(tree.children, items);
518
457
  } else {
519
458
  !tree.disabled && items.push(tree);
@@ -525,13 +464,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
525
464
  if (!trees || trees.length === 0)
526
465
  return [];
527
466
  return trees.map((tree) => {
528
- var _a;
467
+ var _a3;
529
468
  const tempName = getLabelName(tree);
530
469
  const tempTitle = tempContent ? `${tempName}/${tempContent}` : tempName;
531
470
  return {
532
471
  ...tree,
533
472
  tempTitle: tempContent,
534
- children: ((_a = tree.children) == null ? void 0 : _a.length) ? transformParentNodeName(tree == null ? void 0 : tree.children, tempTitle) : []
473
+ children: ((_a3 = tree.children) == null ? void 0 : _a3.length) ? transformParentNodeName(tree == null ? void 0 : tree.children, tempTitle) : []
535
474
  };
536
475
  });
537
476
  }
@@ -544,8 +483,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
544
483
  return result != null ? result : "";
545
484
  }
546
485
  async function onSearch() {
547
- var _a, _b;
548
- const filterKey = (_b = (_a = props == null ? void 0 : props.wordbook) == null ? void 0 : _a.filter_key) != null ? _b : "keyword";
486
+ var _a3, _b3;
487
+ const filterKey = (_b3 = (_a3 = props == null ? void 0 : props.wordbook) == null ? void 0 : _a3.filter_key) != null ? _b3 : "keyword";
549
488
  isSearch.value = !!keyword.value.trim();
550
489
  if (!isRemote.value) {
551
490
  const curAttr = searchSetting();
@@ -599,7 +538,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
599
538
  }
600
539
  }
601
540
  function setCheckdWithAll(tree, checked) {
602
- var _a;
541
+ var _a3;
603
542
  let newKeys = checkedKeys.value;
604
543
  for (let i = 0, len = tree.length; i < len; i++) {
605
544
  const item = tree[i];
@@ -610,7 +549,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
610
549
  remove(newKeys, (key) => [item.key].includes(key));
611
550
  }
612
551
  }
613
- if ((_a = item.children) == null ? void 0 : _a.length) {
552
+ if ((_a3 = item.children) == null ? void 0 : _a3.length) {
614
553
  const flattenKeys = getFlattenKeys(item.children);
615
554
  if (checked) {
616
555
  newKeys = union(newKeys, flattenKeys);
@@ -631,7 +570,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
631
570
  setTreeCheckd(treeData.value, checked);
632
571
  }
633
572
  function setTagData(tree) {
634
- var _a;
573
+ var _a3;
635
574
  for (let i = 0, len = tree.length; i < len; i++) {
636
575
  const item = tree[i];
637
576
  const initTagKeys = initTagData.value.map((tag) => tag.key);
@@ -643,17 +582,17 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
643
582
  innerLeafs: item.innerLeafs,
644
583
  originItem: item
645
584
  });
646
- ((_a = item.children) == null ? void 0 : _a.length) && setTagData(item.children);
585
+ ((_a3 = item.children) == null ? void 0 : _a3.length) && setTagData(item.children);
647
586
  }
648
587
  }
649
588
  function getFlattenKeys(tree) {
650
589
  const arr = [];
651
590
  tree.forEach((item) => {
652
- var _a;
591
+ var _a3;
653
592
  if (!item.disabled && item.key) {
654
593
  arr.push(item.key);
655
594
  }
656
- if ((_a = item.children) == null ? void 0 : _a.length) {
595
+ if ((_a3 = item.children) == null ? void 0 : _a3.length) {
657
596
  const _arr = getFlattenKeys(item.children);
658
597
  arr.push(..._arr);
659
598
  }
@@ -661,14 +600,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
661
600
  return arr;
662
601
  }
663
602
  function updateTreeChecked(keys, _, meta) {
664
- var _a;
603
+ var _a3;
665
604
  let newKeys = keys;
666
605
  if (props.onlyForwardCascade && checkStrategyResult.value === "all") {
667
606
  const {
668
607
  node,
669
608
  action
670
609
  } = meta;
671
- if ((_a = node == null ? void 0 : node.children) == null ? void 0 : _a.length) {
610
+ if ((_a3 = node == null ? void 0 : node.children) == null ? void 0 : _a3.length) {
672
611
  const flattenKeys = getFlattenKeys(node.children);
673
612
  if (action === "check") {
674
613
  newKeys = union(keys, flattenKeys);
@@ -720,9 +659,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
720
659
  });
721
660
  }
722
661
  function getCheckWithLevel() {
723
- var _a;
662
+ var _a3;
724
663
  if (props.showSelectType) {
725
- return (_a = caculateTagData.value) != null ? _a : [];
664
+ return (_a3 = caculateTagData.value) != null ? _a3 : [];
726
665
  }
727
666
  const keys = checkedKeys.value;
728
667
  const checkResult = tagData.value.filter((tree) => {
@@ -792,99 +731,91 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
792
731
  "border-right": "1px solid #e8e8e8"
793
732
  }
794
733
  }, {
795
- default: withCtx(() => [createElementVNode("div", _hoisted_1, [createCommentVNode(" \u641C\u7D22\u5DE6\u4FA7\u8FC7\u6EE4\u7B5B\u9009\u63D2\u69FD "), renderSlot(_ctx.$slots, "filter"), createVNode(unref(NInputGroup), null, {
796
- default: withCtx(() => [createCommentVNode(" clearable "), createVNode(unref(NInput), {
797
- class: "search-input",
798
- value: keyword.value,
799
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => keyword.value = $event),
800
- placeholder: __props.searchPlaceholder,
801
- onKeyup: withKeys(onSearch, ["enter"])
802
- }, {
803
- suffix: withCtx(() => [keyword.value ? (openBlock(), createBlock(unref(NIcon), {
804
- key: 0,
805
- class: "search-clear",
806
- component: unref(CloseCircleSharp),
807
- size: "16",
808
- onClick: notifySearchClear
809
- }, null, 8, ["component"])) : createCommentVNode("v-if", true)]),
734
+ default: withCtx(() => {
735
+ var _a3, _b3, _c3;
736
+ return [createElementVNode("div", _hoisted_1, [createCommentVNode(" \u641C\u7D22\u5DE6\u4FA7\u8FC7\u6EE4\u7B5B\u9009\u63D2\u69FD "), renderSlot(_ctx.$slots, "filter"), createVNode(unref(NInputGroup), null, {
737
+ default: withCtx(() => [createCommentVNode(" clearable "), createVNode(unref(NInput), {
738
+ class: "search-input",
739
+ value: keyword.value,
740
+ "onUpdate:value": _cache[0] || (_cache[0] = ($event) => keyword.value = $event),
741
+ placeholder: __props.searchPlaceholder,
742
+ onKeyup: withKeys(onSearch, ["enter"])
743
+ }, {
744
+ suffix: withCtx(() => [keyword.value ? (openBlock(), createBlock(unref(NIcon), {
745
+ key: 0,
746
+ class: "search-clear",
747
+ component: unref(CloseCircleSharp),
748
+ size: "16",
749
+ onClick: notifySearchClear
750
+ }, null, 8, ["component"])) : createCommentVNode("v-if", true)]),
751
+ _: 1
752
+ }, 8, ["value", "placeholder", "onKeyup"]), createVNode(unref(NButton), {
753
+ type: "primary",
754
+ onClick: onSearch
755
+ }, {
756
+ default: withCtx(() => [createTextVNode(toDisplayString(__props.searchButtonText), 1)]),
757
+ _: 1
758
+ })]),
810
759
  _: 1
811
- }, 8, ["value", "placeholder", "onKeyup"]), createVNode(unref(NButton), {
812
- type: "primary",
813
- onClick: onSearch
760
+ })]), __props.showSelectType ? (openBlock(), createElementBlock("div", _hoisted_2, [(openBlock(), createElementBlock(Fragment, null, renderList(labelList, (item) => {
761
+ return createVNode(unref(NTag), {
762
+ round: "",
763
+ checkable: "",
764
+ checked: curSelectKey.value === item.key,
765
+ key: item.key,
766
+ "onUpdate:checked": ($event) => onHandleLabelChange(item)
767
+ }, {
768
+ default: withCtx(() => [createTextVNode(toDisplayString(item.label), 1)]),
769
+ _: 2
770
+ }, 1032, ["checked", "onUpdate:checked"]);
771
+ }), 64))])) : createCommentVNode("v-if", true), __props.multiple && !isSearch.value ? withDirectives((openBlock(), createBlock(unref(NCheckbox), {
772
+ key: 1,
773
+ checked: checkedAll.value,
774
+ "onUpdate:checked": [_cache[1] || (_cache[1] = ($event) => checkedAll.value = $event), checkedAllChange]
814
775
  }, {
815
- default: withCtx(() => [createTextVNode(toDisplayString(__props.searchButtonText), 1)]),
776
+ default: withCtx(() => {
777
+ var _a4, _b4, _c4;
778
+ return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.37")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.37")) || "\u5168\u9009")];
779
+ }),
816
780
  _: 1
817
- })]),
818
- _: 1
819
- })]), __props.showSelectType ? (openBlock(), createElementBlock("div", _hoisted_2, [(openBlock(), createElementBlock(Fragment, null, renderList(labelList, (item) => {
820
- return createVNode(unref(NTag), {
821
- round: "",
822
- checkable: "",
823
- checked: curSelectKey.value === item.key,
824
- key: item.key,
825
- "onUpdate:checked": ($event) => onHandleLabelChange(item)
826
- }, {
827
- default: withCtx(() => [createTextVNode(toDisplayString(item.label), 1)]),
828
- _: 2
829
- }, 1032, ["checked", "onUpdate:checked"]);
830
- }), 64))])) : createCommentVNode("v-if", true), __props.multiple && !isSearch.value ? withDirectives((openBlock(), createBlock(unref(NCheckbox), {
831
- key: 1,
832
- checked: checkedAll.value,
833
- "onUpdate:checked": [_cache[1] || (_cache[1] = ($event) => checkedAll.value = $event), checkedAllChange]
834
- }, {
835
- default: withCtx(() => [createTextVNode(function() {
836
- var _a, _b, _c;
837
- try {
838
- 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";
839
- } catch (e) {
840
- return "\u5168\u9009";
841
- }
842
- }())]),
843
- _: 1
844
- }, 8, ["checked"])), [[vShow, __props.forceShowSelectAll || allCheckedTreeKeys.value.length < 1e3]]) : createCommentVNode("v-if", true), createCommentVNode(" \u652F\u6301\u9009\u4EBA "), __props.searchInner && __props.multiple && isSearch.value && unref(checkStrategyResult) === "parent" ? (openBlock(), createBlock(SearchMultiple, {
845
- key: 2,
846
- treeData: treeData.value,
847
- checkedKeys: checkedKeys.value,
848
- onNotifyCheck: notifyCheck
849
- }, null, 8, ["treeData", "checkedKeys"])) : unref(isSearchFilter) && isSearch.value && unref(checkStrategyResult) === "parent" ? (openBlock(), createElementBlock(Fragment, {
850
- key: 3
851
- }, [createCommentVNode(" \u540C\u65F6\u517C\u5BB9\u9009\u4EBA\u548C\u9009\u90E8\u95E8 "), createCommentVNode(` v-else-if="isSearchFilter && multiple && isSearch && checkStrategyResult === 'parent'" `), createVNode(SearchOrgAndStaff, {
852
- treeData: treeData.value,
853
- checkedKeys: checkedKeys.value,
854
- searchFilter: unref(mergeSearchFilter),
855
- isMultiple: __props.multiple,
856
- onNotifyCheck: notifyCheck,
857
- onNotifyClear: notifySearchClear
858
- }, null, 8, ["treeData", "checkedKeys", "searchFilter", "isMultiple"])], 2112)) : (openBlock(), createElementBlock("div", _hoisted_3, [treeData.value.length === 0 ? (openBlock(), createBlock(unref(NEmpty), {
859
- key: 0,
860
- description: function() {
861
- var _a, _b, _c;
862
- try {
863
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.445")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.445")) || "\u6682\u65E0\u6570\u636E";
864
- } catch (e) {
865
- return "\u6682\u65E0\u6570\u636E";
866
- }
867
- }()
868
- })) : (openBlock(), createBlock(unref(NTree), mergeProps({
869
- key: 1,
870
- "virtual-scroll": "",
871
- class: "c-select-person__scroll",
872
- "checked-keys": checkedKeys.value,
873
- "expanded-keys": expandedKeys.value,
874
- "onUpdate:expanded-keys": _cache[2] || (_cache[2] = ($event) => expandedKeys.value = $event),
875
- checkable: __props.multiple,
876
- cascade: !__props.onlyForwardCascade,
877
- "allow-checking-not-loaded": "",
878
- selectable: !__props.multiple,
879
- "selected-keys": checkedKeys.value,
880
- "onUpdate:selected-keys": _cache[3] || (_cache[3] = ($event) => checkedKeys.value = $event),
881
- data: treeData.value,
882
- "check-strategy": "child",
883
- "render-label": renderLabel
884
- }, __props.treeSetting, {
885
- "onUpdate:checkedKeys": updateTreeChecked,
886
- onLoad: queryLoadChildNode
887
- }), null, 16, ["checked-keys", "expanded-keys", "checkable", "cascade", "selectable", "selected-keys", "data"]))]))]),
781
+ }, 8, ["checked"])), [[vShow, __props.forceShowSelectAll || allCheckedTreeKeys.value.length < 1e3]]) : createCommentVNode("v-if", true), createCommentVNode(" \u652F\u6301\u9009\u4EBA "), __props.searchInner && __props.multiple && isSearch.value && unref(checkStrategyResult) === "parent" ? (openBlock(), createBlock(SearchMultiple, {
782
+ key: 2,
783
+ treeData: treeData.value,
784
+ checkedKeys: checkedKeys.value,
785
+ onNotifyCheck: notifyCheck
786
+ }, null, 8, ["treeData", "checkedKeys"])) : unref(isSearchFilter) && isSearch.value && unref(checkStrategyResult) === "parent" ? (openBlock(), createElementBlock(Fragment, {
787
+ key: 3
788
+ }, [createCommentVNode(" \u540C\u65F6\u517C\u5BB9\u9009\u4EBA\u548C\u9009\u90E8\u95E8 "), createCommentVNode(` v-else-if="isSearchFilter && multiple && isSearch && checkStrategyResult === 'parent'" `), createVNode(SearchOrgAndStaff, {
789
+ treeData: treeData.value,
790
+ checkedKeys: checkedKeys.value,
791
+ searchFilter: unref(mergeSearchFilter),
792
+ isMultiple: __props.multiple,
793
+ onNotifyCheck: notifyCheck,
794
+ onNotifyClear: notifySearchClear
795
+ }, null, 8, ["treeData", "checkedKeys", "searchFilter", "isMultiple"])], 2112)) : (openBlock(), createElementBlock("div", _hoisted_3, [treeData.value.length === 0 ? (openBlock(), createBlock(unref(NEmpty), {
796
+ key: 0,
797
+ description: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.445")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
798
+ })) : (openBlock(), createBlock(unref(NTree), mergeProps({
799
+ key: 1,
800
+ "virtual-scroll": "",
801
+ class: "c-select-person__scroll",
802
+ "checked-keys": checkedKeys.value,
803
+ "expanded-keys": expandedKeys.value,
804
+ "onUpdate:expanded-keys": _cache[2] || (_cache[2] = ($event) => expandedKeys.value = $event),
805
+ checkable: __props.multiple,
806
+ cascade: !__props.onlyForwardCascade,
807
+ "allow-checking-not-loaded": "",
808
+ selectable: !__props.multiple,
809
+ "selected-keys": checkedKeys.value,
810
+ "onUpdate:selected-keys": _cache[3] || (_cache[3] = ($event) => checkedKeys.value = $event),
811
+ data: treeData.value,
812
+ "check-strategy": "child",
813
+ "render-label": renderLabel
814
+ }, __props.treeSetting, {
815
+ "onUpdate:checkedKeys": updateTreeChecked,
816
+ onLoad: queryLoadChildNode
817
+ }), null, 16, ["checked-keys", "expanded-keys", "checkable", "cascade", "selectable", "selected-keys", "data"]))]))];
818
+ }),
888
819
  _: 3
889
820
  })]),
890
821
  _: 3
@@ -901,18 +832,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
901
832
  "margin-bottom": "20px"
902
833
  }
903
834
  }, {
904
- default: withCtx(() => [__props.showCount ? (openBlock(), createElementBlock("span", _hoisted_4, "\u5DF2\u9009\u62E9\uFF1A" + toDisplayString(unref(caculateTagData).length), 1)) : createCommentVNode("v-if", true), __props.showClear ? (openBlock(), createElementBlock("span", {
905
- key: 1,
906
- class: "c-select-person__clear-btn",
907
- onClick: clearAll
908
- }, function() {
909
- var _a, _b, _c;
910
- try {
911
- return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.509")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.509")) || "\u6E05\u7A7A";
912
- } catch (e) {
913
- return "\u6E05\u7A7A";
914
- }
915
- }())) : createCommentVNode("v-if", true)]),
835
+ default: withCtx(() => {
836
+ var _a3, _b3, _c3;
837
+ return [__props.showCount ? (openBlock(), createElementBlock("span", _hoisted_4, "\u5DF2\u9009\u62E9\uFF1A" + toDisplayString(unref(caculateTagData).length), 1)) : createCommentVNode("v-if", true), __props.showClear ? (openBlock(), createElementBlock("span", {
838
+ key: 1,
839
+ class: "c-select-person__clear-btn",
840
+ onClick: clearAll
841
+ }, ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.509")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.509")) || "\u6E05\u7A7A")) : createCommentVNode("v-if", true)];
842
+ }),
916
843
  _: 1
917
844
  }), createElementVNode("div", {
918
845
  class: "c-select-person__scroll",