@das-fed/ui 6.4.0-hot.5 → 6.4.0-hot.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 (148) hide show
  1. package/package.json +8 -8
  2. package/packages/business-components/app-container/index.js +46 -255
  3. package/packages/business-components/app-container/index.js.gz +0 -0
  4. package/packages/business-components/change-enterprises/index.js +89 -298
  5. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  6. package/packages/business-components/device-panel/index.js +23782 -28729
  7. package/packages/business-components/device-panel/index.js.gz +0 -0
  8. package/packages/business-components/device-panel/style.css +1 -1
  9. package/packages/business-components/device-panel/style.css.gz +0 -0
  10. package/packages/business-components/layout-breadcrumb/index.js +37 -37
  11. package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
  12. package/packages/business-components/process-form/index.js +801 -1010
  13. package/packages/business-components/process-form/index.js.gz +0 -0
  14. package/packages/business-components/process-log/index.js +331 -3669
  15. package/packages/business-components/process-log/index.js.gz +0 -0
  16. package/packages/business-components/process-search-form/index.js +416 -404
  17. package/packages/business-components/process-search-form/index.js.gz +0 -0
  18. package/packages/business-components/process-table/hooks/useProcessTable.d.ts +2 -74
  19. package/packages/business-components/process-table/hooks/useValueFormatter.d.ts +6 -0
  20. package/packages/business-components/process-table/index.js +616 -788
  21. package/packages/business-components/process-table/index.js.gz +0 -0
  22. package/packages/business-components/process-table/src/type.d.ts +42 -0
  23. package/packages/business-components/process-table/style.css +1 -1
  24. package/packages/business-components/process-table/util/encryption/index.d.ts +7 -0
  25. package/packages/business-components/urgent-panel/index.js +1590 -2470
  26. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  27. package/packages/business-components/user-org-dialog/index.js +289 -273
  28. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  29. package/packages/business-components/user-org-dialog/style.css +1 -1
  30. package/packages/business-components/user-org-dialog/style.css.gz +0 -0
  31. package/packages/business-components/video-dialog/index.js +88 -88
  32. package/packages/business-components/video-dialog/index.js.gz +0 -0
  33. package/packages/components/alert/index.js +51 -3418
  34. package/packages/components/alert/index.js.gz +0 -0
  35. package/packages/components/autocomplete/index.js +456 -2875
  36. package/packages/components/autocomplete/index.js.gz +0 -0
  37. package/packages/components/breadcrumb/index.js +47 -271
  38. package/packages/components/breadcrumb/index.js.gz +0 -0
  39. package/packages/components/button/index.js +212 -9801
  40. package/packages/components/button/index.js.gz +0 -0
  41. package/packages/components/cascader/index.js +139 -6406
  42. package/packages/components/cascader/index.js.gz +0 -0
  43. package/packages/components/checkbox/index.js +179 -3837
  44. package/packages/components/checkbox/index.js.gz +0 -0
  45. package/packages/components/collapse-panel/index.js +30 -3624
  46. package/packages/components/collapse-panel/index.js.gz +0 -0
  47. package/packages/components/collaspe/index.js +30 -3624
  48. package/packages/components/collaspe/index.js.gz +0 -0
  49. package/packages/components/color-picker/index.js +106 -5346
  50. package/packages/components/color-picker/index.js.gz +0 -0
  51. package/packages/components/date-picker/index.js +529 -13993
  52. package/packages/components/date-picker/index.js.gz +0 -0
  53. package/packages/components/dialog/index.js +186 -1835
  54. package/packages/components/dialog/index.js.gz +0 -0
  55. package/packages/components/drawer/index.js +38 -1614
  56. package/packages/components/drawer/index.js.gz +0 -0
  57. package/packages/components/dropdown/index.js +54 -4615
  58. package/packages/components/dropdown/index.js.gz +0 -0
  59. package/packages/components/edit-table/index.js +411 -408
  60. package/packages/components/edit-table/index.js.gz +0 -0
  61. package/packages/components/edit-table/src/type.d.ts +2 -6
  62. package/packages/components/empty/index.js +39 -800
  63. package/packages/components/empty/index.js.gz +0 -0
  64. package/packages/components/image-preview/index.js +34 -1283
  65. package/packages/components/image-preview/index.js.gz +0 -0
  66. package/packages/components/image-upload/index.js +111 -11722
  67. package/packages/components/image-upload/index.js.gz +0 -0
  68. package/packages/components/image-viewer/index.js +386 -13168
  69. package/packages/components/image-viewer/index.js.gz +0 -0
  70. package/packages/components/input/index.js +157 -1086
  71. package/packages/components/input/index.js.gz +0 -0
  72. package/packages/components/input-number/index.js +145 -1831
  73. package/packages/components/input-number/index.js.gz +0 -0
  74. package/packages/components/live-player/index.js +2883 -3669
  75. package/packages/components/live-player/index.js.gz +0 -0
  76. package/packages/components/map/index.js +1189 -5213
  77. package/packages/components/map/index.js.gz +0 -0
  78. package/packages/components/menu-aside/index.js +603 -8297
  79. package/packages/components/menu-aside/index.js.gz +0 -0
  80. package/packages/components/menu-header/index.js +38 -10077
  81. package/packages/components/menu-header/index.js.gz +0 -0
  82. package/packages/components/message/index.js +53 -1289
  83. package/packages/components/message/index.js.gz +0 -0
  84. package/packages/components/notification/index.js +47 -3269
  85. package/packages/components/notification/index.js.gz +0 -0
  86. package/packages/components/notification/style.css +1 -1
  87. package/packages/components/notification/style.css.gz +0 -0
  88. package/packages/components/pagination/index.js +153 -8030
  89. package/packages/components/pagination/index.js.gz +0 -0
  90. package/packages/components/popover/index.js +44 -2495
  91. package/packages/components/popover/index.js.gz +0 -0
  92. package/packages/components/progress/index.js +107 -517
  93. package/packages/components/progress/index.js.gz +0 -0
  94. package/packages/components/radio/index.js +159 -3724
  95. package/packages/components/radio/index.js.gz +0 -0
  96. package/packages/components/scrollbar/index.js +915 -1442
  97. package/packages/components/scrollbar/index.js.gz +0 -0
  98. package/packages/components/search/index.js +89 -5261
  99. package/packages/components/search/index.js.gz +0 -0
  100. package/packages/components/search-form/index.js +930 -1008
  101. package/packages/components/search-form/index.js.gz +0 -0
  102. package/packages/components/search-form/style.css +1 -1
  103. package/packages/components/search-form/style.css.gz +0 -0
  104. package/packages/components/select/index.js +379 -10505
  105. package/packages/components/select/index.js.gz +0 -0
  106. package/packages/components/select-list/index.js +1173 -1433
  107. package/packages/components/select-list/index.js.gz +0 -0
  108. package/packages/components/special-range-picker-month/index.js +196 -2645
  109. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  110. package/packages/components/special-range-picker-year/index.js +259 -2710
  111. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  112. package/packages/components/spin/index.js +48 -3534
  113. package/packages/components/spin/index.js.gz +0 -0
  114. package/packages/components/step/index.js +28 -4085
  115. package/packages/components/step/index.js.gz +0 -0
  116. package/packages/components/steps/index.js +14 -4070
  117. package/packages/components/switch/index.js +31 -547
  118. package/packages/components/switch/index.js.gz +0 -0
  119. package/packages/components/table/index.d.ts +2 -14
  120. package/packages/components/table/index.js +6286 -18588
  121. package/packages/components/table/index.js.gz +0 -0
  122. package/packages/components/table/src/table-column/index.vue.d.ts +0 -3
  123. package/packages/components/table/src/type.d.ts +1 -1
  124. package/packages/components/table/style.css +1 -1
  125. package/packages/components/table/style.css.gz +0 -0
  126. package/packages/components/tabs/index.js +172 -12630
  127. package/packages/components/tabs/index.js.gz +0 -0
  128. package/packages/components/tag/index.js +55 -325
  129. package/packages/components/tag/index.js.gz +0 -0
  130. package/packages/components/time-line/index.js +60 -3397
  131. package/packages/components/time-line/index.js.gz +0 -0
  132. package/packages/components/tooltip/index.js +65 -2174
  133. package/packages/components/tooltip/index.js.gz +0 -0
  134. package/packages/components/tree/index.js +1881 -6751
  135. package/packages/components/tree/index.js.gz +0 -0
  136. package/packages/components/tree/src/App.vue.d.ts +24 -19
  137. package/packages/components/tree/src/hooks/use-tree.d.ts +0 -1
  138. package/packages/components/tree-select/index.js +358 -2778
  139. package/packages/components/tree-select/index.js.gz +0 -0
  140. package/packages/components/upload/index.js +115 -11726
  141. package/packages/components/upload/index.js.gz +0 -0
  142. package/packages/components/virtual-tree/index.js +86 -2928
  143. package/packages/components/virtual-tree/index.js.gz +0 -0
  144. package/packages/components/watermark/index.js +17 -368
  145. package/packages/global/theme/index.js +8 -1802
  146. package/packages/global/theme/index.js.gz +0 -0
  147. package/packages/components/steps/index.js.gz +0 -0
  148. package/packages/components/watermark/index.js.gz +0 -0
@@ -1,39 +1,39 @@
1
1
  import '@das-fed/ui/packages/business-components/user-org-dialog/style.css';
2
- import { ref as u, defineComponent as Y, computed as g, openBlock as z, createElementBlock as A, createVNode as c, unref as a, isRef as _e, withCtx as v, withDirectives as Ce, toDisplayString as N, h as oe, onMounted as pe, createElementVNode as U, createBlock as J, mergeProps as Te, createTextVNode as se, createCommentVNode as De } from "vue";
3
- import { withInstall as Ve } from "@das-fed/utils/with-install/index";
2
+ import { ref as u, defineComponent as Y, computed as h, openBlock as z, createElementBlock as A, createVNode as c, unref as l, isRef as Te, withCtx as v, withDirectives as Ce, toDisplayString as N, h as se, onMounted as de, watch as pe, nextTick as ve, createElementVNode as U, createBlock as H, mergeProps as De, createTextVNode as le, createCommentVNode as Ve } from "vue";
3
+ import { withInstall as Oe } from "@das-fed/utils/with-install/index";
4
4
  import { i18n as D, setI18nRule as ke } from "@das-fed/web/packages/i18n/index";
5
- import { DasTabs as Oe } from "@das-fed/ui/packages/components/tabs/index";
6
- import { DasButton as ue } from "@das-fed/ui/packages/components/button/index";
7
- import { DasDialog as ze } from "@das-fed/ui/packages/components/dialog/index";
8
- import { getProjectInfo as Ie } from "@das-fed/utils/common-info";
9
- import { DasSearch as ve } from "@das-fed/ui/packages/components/search/index";
10
- import { DasSpin as fe } from "@das-fed/ui/packages/components/spin/index";
11
- import { DasSplitPanel as me } from "@das-fed/ui/packages/components/split-panel/index";
12
- import { DasTable as ge, DasTableColumn as K } from "@das-fed/ui/packages/components/table/index";
13
- import { DasTree as he } from "@das-fed/ui/packages/components/tree/index";
14
- import { DasSelectList as Ue } from "@das-fed/ui/packages/components/select-list/index";
15
- import { vDasTooltip as Pe } from "@das-fed/ui/packages/components/text-tooltip/index";
16
- import { enterpriseright as $e } from "@das-fed/utils/api-services/modules/enterpriseright";
17
- import { createService as xe } from "@das-fed/utils/create-api-service";
18
- import { DasTooltip as we } from "@das-fed/ui/packages/components/tooltip/index";
19
- const h = u([]), Le = { class: "select-list-container" }, Re = { class: "check-text" }, Ae = { key: 0 }, Ne = { key: 1 }, Be = { key: 2 }, Ee = { key: 3 }, Ke = {
5
+ import { DasTabs as ze } from "@das-fed/ui/packages/components/tabs/index";
6
+ import { DasButton as ie } from "@das-fed/ui/packages/components/button/index";
7
+ import { DasDialog as Ie } from "@das-fed/ui/packages/components/dialog/index";
8
+ import { getProjectInfo as Ue } from "@das-fed/utils/common-info";
9
+ import { DasSearch as fe } from "@das-fed/ui/packages/components/search/index";
10
+ import { DasSpin as me } from "@das-fed/ui/packages/components/spin/index";
11
+ import { DasSplitPanel as ge } from "@das-fed/ui/packages/components/split-panel/index";
12
+ import { DasTable as he, DasTableColumn as K } from "@das-fed/ui/packages/components/table/index";
13
+ import { DasTree as be } from "@das-fed/ui/packages/components/tree/index";
14
+ import { DasSelectList as Pe } from "@das-fed/ui/packages/components/select-list/index";
15
+ import { vDasTooltip as $e } from "@das-fed/ui/packages/components/text-tooltip/index";
16
+ import { enterpriseright as xe } from "@das-fed/utils/api-services/modules/enterpriseright";
17
+ import { createService as we } from "@das-fed/utils/create-api-service";
18
+ import { DasTooltip as Le } from "@das-fed/ui/packages/components/tooltip/index";
19
+ const b = u([]), Re = { class: "select-list-container" }, Ae = { class: "check-text" }, Ne = { key: 0 }, Be = { key: 1 }, Ee = { key: 2 }, Ke = { key: 3 }, qe = {
20
20
  name: "selectList"
21
- }, qe = /* @__PURE__ */ Y({
22
- ...Ke,
21
+ }, je = /* @__PURE__ */ Y({
22
+ ...qe,
23
23
  props: {
24
24
  isSelectedSensitive: { type: Boolean, default: !0 }
25
25
  },
26
26
  emits: ["itemRemove", "clearCheck"],
27
- setup(b, { emit: V }) {
28
- const r = b, n = g(() => r.isSelectedSensitive), I = V, d = (B) => {
27
+ setup(y, { emit: V }) {
28
+ const r = y, n = h(() => r.isSelectedSensitive), I = V, d = (B) => {
29
29
  I("itemRemove", B);
30
30
  }, P = (B) => {
31
31
  I("clearCheck");
32
32
  };
33
- return (B, k) => (z(), A("div", Le, [
34
- c(a(Ue), {
35
- modelValue: a(h),
36
- "onUpdate:modelValue": k[0] || (k[0] = (i) => _e(h) ? h.value = i : null),
33
+ return (B, O) => (z(), A("div", Re, [
34
+ c(l(Pe), {
35
+ modelValue: l(b),
36
+ "onUpdate:modelValue": O[0] || (O[0] = (i) => Te(b) ? b.value = i : null),
37
37
  width: "100%",
38
38
  height: "100%",
39
39
  "custom-style": { border: "none" },
@@ -41,141 +41,150 @@ const h = u([]), Le = { class: "select-list-container" }, Re = { class: "check-t
41
41
  onRemoveAll: P
42
42
  }, {
43
43
  default: v(({ item: i }) => [
44
- Ce((z(), A("div", Re, [
45
- i.identityType == 2 ? (z(), A("span", Ae, N(i.name), 1)) : i.identityType == 1 && n.value ? (z(), A("span", Ne, N(i.name) + N(i.sensitivePhone ? `(${i.sensitivePhone})` : ""), 1)) : i.identityType == 1 && !n.value ? (z(), A("span", Be, N(i.name) + N(i.phone ? `(${i.phone})` : ""), 1)) : (z(), A("span", Ee, N(i.name), 1))
44
+ Ce((z(), A("div", Ae, [
45
+ i.identityType == 2 ? (z(), A("span", Ne, N(i.name), 1)) : i.identityType == 1 && n.value ? (z(), A("span", Be, N(i.name) + N(i.sensitivePhone ? `(${i.sensitivePhone})` : ""), 1)) : i.identityType == 1 && !n.value ? (z(), A("span", Ee, N(i.name) + N(i.phone ? `(${i.phone})` : ""), 1)) : (z(), A("span", Ke, N(i.name), 1))
46
46
  ])), [
47
- [a(Pe)]
47
+ [l($e)]
48
48
  ])
49
49
  ]),
50
50
  _: 1
51
51
  }, 8, ["modelValue"])
52
52
  ]));
53
53
  }
54
- }), Z = (b, V) => {
55
- const r = b.__vccOpts || b;
54
+ }), Z = (y, V) => {
55
+ const r = y.__vccOpts || y;
56
56
  for (const [n, I] of V)
57
57
  r[n] = I;
58
58
  return r;
59
- }, je = /* @__PURE__ */ Z(qe, [["__scopeId", "data-v-e166825d"]]), re = u(null), be = (b, V, r) => ({
60
- selectListRef: re,
61
- selectListVue: () => oe(je, {
62
- isSelectedSensitive: b,
59
+ }, Fe = /* @__PURE__ */ Z(je, [["__scopeId", "data-v-e166825d"]]), ue = u(null), ye = (y, V, r) => ({
60
+ selectListRef: ue,
61
+ selectListVue: () => se(Fe, {
62
+ isSelectedSensitive: y,
63
63
  onItemRemove: V,
64
64
  onClearCheck: r,
65
- ref: re
65
+ ref: ue
66
66
  })
67
- }), Fe = "v1", Me = `/api/fms/base/interface//${Fe}`, ye = xe(`${Me}`), Se = ye.post("/organization/authtree"), Ge = $e.post("/organization/user"), He = ye.post("/organization/organizationpage"), Je = { class: "select-org-container" }, Qe = { class: "split-left-content" }, We = { class: "split-right-box" }, Xe = { class: "split-table" }, Ye = { class: "table-searc-box" }, Ze = { class: "split-table-content" }, et = { class: "split-checkd" }, tt = {
67
+ }), Me = "v1", Ge = `/api/fms/base/interface//${Me}`, Se = we(`${Ge}`), _e = Se.post("/organization/authtree"), He = xe.post("/organization/user"), Je = Se.post("/organization/organizationpage"), Qe = { class: "select-org-container" }, We = { class: "split-left-content" }, Xe = { class: "split-right-box" }, Ye = { class: "split-table" }, Ze = { class: "table-searc-box" }, et = { class: "split-table-content" }, tt = { class: "split-checkd" }, at = {
68
68
  name: "selectOrg"
69
69
  }, lt = /* @__PURE__ */ Y({
70
- ...tt,
70
+ ...at,
71
71
  props: {
72
72
  projectId: { default: "" },
73
73
  isSelectedSensitive: { type: Boolean, default: !0 },
74
74
  initProps: {}
75
75
  },
76
- setup(b, { expose: V }) {
77
- const r = b, n = g(() => {
78
- var t;
79
- return ((t = r.initProps) == null ? void 0 : t.isCustomApi) || !1;
80
- }), I = g(() => {
81
- var t;
82
- return ((t = r.initProps) == null ? void 0 : t.disabledNodeLabel) || "optional";
83
- }), d = g(() => {
84
- var t, e;
85
- return (e = (t = r.initProps) == null ? void 0 : t.customApiOptions) == null ? void 0 : e.orgTree;
86
- }), P = g(() => {
87
- var t, e;
88
- return (e = (t = r.initProps) == null ? void 0 : t.customApiOptions) == null ? void 0 : e.orgTable;
89
- }), B = g(() => r.isSelectedSensitive), k = u(!1), i = u([]), O = u(""), y = u(""), $ = u(""), S = u([]), _ = u([]), f = u(20), m = u(1), x = u(0);
90
- pe(() => {
76
+ setup(y, { expose: V }) {
77
+ const r = y, n = h(() => {
78
+ var a;
79
+ return ((a = r.initProps) == null ? void 0 : a.isCustomApi) || !1;
80
+ }), I = h(() => {
81
+ var a;
82
+ return ((a = r.initProps) == null ? void 0 : a.disabledNodeLabel) || "optional";
83
+ }), d = h(() => {
84
+ var a, e;
85
+ return (e = (a = r.initProps) == null ? void 0 : a.customApiOptions) == null ? void 0 : e.orgTree;
86
+ }), P = h(() => {
87
+ var a, e;
88
+ return (e = (a = r.initProps) == null ? void 0 : a.customApiOptions) == null ? void 0 : e.orgTable;
89
+ }), B = h(() => r.isSelectedSensitive), O = u(!1), i = u([]), k = u(""), S = u(""), $ = u(""), _ = u([]), T = u([]), f = u(20), m = u(1), x = u(0);
90
+ de(() => {
91
91
  w(), q();
92
92
  });
93
93
  const q = () => {
94
- _.value = h.value.filter((t) => t.identityType == 2);
95
- }, j = (t) => {
96
- t && t instanceof Array && (_.value = t.filter((e) => e.identityType == 1));
97
- }, F = (t) => {
98
- _.value = _.value.filter((e) => e.id != t.id);
94
+ T.value = b.value.filter((a) => a.identityType == 2);
95
+ }, j = (a) => {
96
+ a && a instanceof Array && (T.value = a.filter((e) => e.identityType == 1));
97
+ }, F = (a) => {
98
+ T.value = T.value.filter((e) => e.id != a.id);
99
99
  }, M = () => {
100
- h.value = [], _.value = [];
101
- }, { selectListRef: Q, selectListVue: ee } = be(B.value, F, M), G = (t) => {
102
- var l, s, o;
103
- const e = n.value && ((l = d.value) != null && l.disabledOrgTypes) && ((s = d.value) == null ? void 0 : s.disabledOrgTypes.length) > 0 ? (o = d.value) == null ? void 0 : o.disabledOrgTypes : [1, 2, 3, 4, 5, 6];
104
- t._disabled = !t[I.value] || e.includes(t.type), !t._disabled && !O.value && (O.value = t.id), t.children && t.children.length && t.children.forEach((p) => {
100
+ b.value = [], T.value = [];
101
+ }, { selectListRef: J, selectListVue: ee } = ye(B.value, F, M), G = (a) => {
102
+ var t, s, o;
103
+ const e = n.value && ((t = d.value) != null && t.disabledOrgTypes) && ((s = d.value) == null ? void 0 : s.disabledOrgTypes.length) > 0 ? (o = d.value) == null ? void 0 : o.disabledOrgTypes : [1, 2, 3, 4, 5, 6];
104
+ a._disabled = !a[I.value] || e.includes(a.type), !a._disabled && !k.value && (k.value = a.id), a.children && a.children.length && a.children.forEach((p) => {
105
105
  G(p);
106
106
  });
107
107
  }, w = async () => {
108
108
  var o, p;
109
- k.value = !0;
110
- let t = {};
109
+ O.value = !0;
110
+ let a = {};
111
111
  if (n.value && d.value) {
112
- const { params: T = {}, query: R = {} } = d.value;
113
- t = { ...T, ...R };
112
+ const { params: C = {}, query: R = {} } = d.value;
113
+ a = { ...C, ...R };
114
114
  } else
115
- t = {
115
+ a = {
116
116
  name: "",
117
117
  parentId: "",
118
118
  implicit: !1
119
119
  };
120
- const e = n.value && ((o = d.value) != null && o.api) ? (p = d.value) == null ? void 0 : p.api : Se, [l, s] = await e(t).run();
121
- if (l) {
122
- k.value = !1;
120
+ const e = n.value && ((o = d.value) != null && o.api) ? (p = d.value) == null ? void 0 : p.api : _e, [t, s] = await e(a).run();
121
+ if (t) {
122
+ O.value = !1;
123
123
  return;
124
124
  }
125
- s && s.length && s.forEach((T) => {
126
- G(T);
125
+ s && s.length && s.forEach((C) => {
126
+ G(C);
127
127
  }), i.value = s, L();
128
- }, C = async () => {
128
+ }, g = async () => {
129
129
  var o, p;
130
- if (!O.value) {
131
- k.value = !1, S.value = [], x.value = 0;
130
+ if (!k.value) {
131
+ O.value = !1, _.value = [], x.value = 0;
132
132
  return;
133
133
  }
134
- k.value = !0;
135
- let t = {};
134
+ O.value = !0;
135
+ let a = {};
136
136
  if (n.value && P.value) {
137
- const { params: T = {}, query: R = {}, treeKey: E = "", searchKey: X = "" } = P.value;
138
- t = { ...T, ...R }, E ? t[E] = O.value : t.parentId = O.value, X ? t[X] = $.value : t.search = $.value;
137
+ const { params: C = {}, query: R = {}, treeKey: E = "", searchKey: X = "" } = P.value;
138
+ a = { ...C, ...R }, E ? a[E] = k.value : a.parentId = k.value, X ? a[X] = $.value : a.search = $.value;
139
139
  } else
140
- t = {
141
- parentId: O.value,
140
+ a = {
141
+ parentId: k.value,
142
142
  // 树id
143
143
  search: $.value
144
144
  // 名称
145
145
  };
146
- t.pageIndex = m.value, t.pageSize = f.value;
147
- const e = n.value && ((o = P.value) != null && o.api) ? (p = P.value) == null ? void 0 : p.api : He, [l, s] = await e(t).run();
148
- if (l) {
149
- k.value = !1;
146
+ a.pageIndex = m.value, a.pageSize = f.value;
147
+ const e = n.value && ((o = P.value) != null && o.api) ? (p = P.value) == null ? void 0 : p.api : Je, [t, s] = await e(a).run();
148
+ if (t) {
149
+ O.value = !1;
150
150
  return;
151
151
  }
152
- S.value = s.data.map((T) => (T.identityType = 2, T)), x.value = Number(s.totalCount), k.value = !1;
152
+ _.value = s.data.map((C) => (C.identityType = 2, C)), x.value = Number(s.totalCount), O.value = !1;
153
153
  }, L = () => {
154
- $.value = "", y.value = "", S.value = [], f.value = 20, m.value = 1, H();
155
- }, H = () => {
156
- m.value = 1, C();
157
- }, W = (t) => {
158
- O.value = t.id, L();
159
- }, te = (t) => {
160
- m.value = 1, f.value = t, C();
161
- }, le = (t) => {
162
- m.value = t, C();
163
- }, ae = (t) => {
164
- let e = [], l = [];
165
- t.forEach((s) => {
154
+ $.value = "", S.value = "", _.value = [], f.value = 20, m.value = 1, Q();
155
+ }, Q = () => {
156
+ m.value = 1, g();
157
+ }, W = (a) => {
158
+ m.value = 1, f.value = a, g();
159
+ }, te = (a) => {
160
+ m.value = a, g();
161
+ }, ae = (a) => {
162
+ let e = [], t = [];
163
+ a.forEach((s) => {
166
164
  e.push(s.id);
167
- }), S.value.forEach((s) => {
168
- e.includes(s.id) || l.push(s.id);
169
- }), h.value = h.value.filter((s) => !l.includes(s.id)), t.forEach((s) => {
170
- h.value.some((o) => o.id === s.id) || h.value.push(s);
165
+ }), _.value.forEach((s) => {
166
+ e.includes(s.id) || t.push(s.id);
167
+ }), b.value = b.value.filter((s) => !t.includes(s.id)), a.forEach((s) => {
168
+ b.value.some((o) => o.id === s.id) || b.value.push(s);
171
169
  });
172
170
  };
173
- return V({
171
+ return pe(
172
+ () => k,
173
+ () => {
174
+ ve(() => {
175
+ g();
176
+ });
177
+ },
178
+ {
179
+ immediate: !0,
180
+ deep: !0
181
+ }
182
+ ), V({
174
183
  setSelectData: j
175
- }), (t, e) => (z(), A("div", Je, [
176
- c(a(fe), { spinning: k.value }, {
184
+ }), (a, e) => (z(), A("div", Qe, [
185
+ c(l(me), { spinning: O.value }, {
177
186
  default: v(() => [
178
- c(a(me), {
187
+ c(l(ge), {
179
188
  defaultSplit: { first: 223 },
180
189
  canFold: !0,
181
190
  canDrag: !0,
@@ -184,65 +193,64 @@ const h = u([]), Le = { class: "select-list-container" }, Re = { class: "check-t
184
193
  }
185
194
  }, {
186
195
  firstSlot: v(() => [
187
- U("div", Qe, [
188
- c(a(he), {
196
+ U("div", We, [
197
+ c(l(be), {
189
198
  ref: "organizationTree",
190
199
  data: i.value,
191
200
  isFilter: "",
192
201
  "node-key": "id",
193
202
  props: { disabled: "_disabled" },
194
- inputOptions: { placeholder: a(D)("搜索组织名称").value },
195
- modelValue: O.value,
196
- "onUpdate:modelValue": e[0] || (e[0] = (l) => O.value = l),
197
- "filter-value": y.value,
198
- "onUpdate:filterValue": e[1] || (e[1] = (l) => y.value = l),
199
- onNodeClick: W,
203
+ inputOptions: { placeholder: l(D)("搜索组织名称").value },
204
+ modelValue: k.value,
205
+ "onUpdate:modelValue": e[0] || (e[0] = (t) => k.value = t),
206
+ "filter-value": S.value,
207
+ "onUpdate:filterValue": e[1] || (e[1] = (t) => S.value = t),
200
208
  "is-ellipsis": ""
201
209
  }, null, 8, ["data", "inputOptions", "modelValue", "filter-value"])
202
210
  ])
203
211
  ]),
204
212
  secondSlot: v(() => [
205
- U("div", We, [
206
- U("div", Xe, [
207
- U("div", Ye, [
208
- c(a(ve), {
213
+ U("div", Xe, [
214
+ U("div", Ye, [
215
+ U("div", Ze, [
216
+ c(l(fe), {
209
217
  modelValue: $.value,
210
- "onUpdate:modelValue": e[2] || (e[2] = (l) => $.value = l),
218
+ "onUpdate:modelValue": e[2] || (e[2] = (t) => $.value = t),
211
219
  searchType: "basis",
212
220
  isIconLeft: "",
213
221
  size: "small",
214
- placeholder: a(D)("搜索组织名称/组织编码").value,
215
- onChange: H
222
+ placeholder: l(D)("搜索组织名称/组织编码").value,
223
+ onChange: Q
216
224
  }, null, 8, ["modelValue", "placeholder"])
217
225
  ]),
218
- U("div", Ze, [
219
- c(a(ge), {
226
+ U("div", et, [
227
+ c(l(he), {
220
228
  height: "100%",
221
- data: S.value,
229
+ data: _.value,
222
230
  total: x.value,
223
231
  selection: "",
224
232
  "pagination-props": { layout: "prev,next,sizes", small: !0 },
225
233
  "current-page": m.value,
226
- "onUpdate:currentPage": e[3] || (e[3] = (l) => m.value = l),
227
- "selection-rows": _.value,
228
- "onUpdate:selectionRows": e[4] || (e[4] = (l) => _.value = l),
234
+ "onUpdate:currentPage": e[3] || (e[3] = (t) => m.value = t),
235
+ "selection-rows": T.value,
236
+ "onUpdate:selectionRows": e[4] || (e[4] = (t) => T.value = t),
229
237
  "page-size": f.value,
230
- "onUpdate:pageSize": e[5] || (e[5] = (l) => f.value = l),
231
- onSizeChange: te,
238
+ "onUpdate:pageSize": e[5] || (e[5] = (t) => f.value = t),
239
+ onSizeChange: W,
232
240
  onSelectionChange: ae,
233
- onCurrentPageChange: le
241
+ onCurrentPageChange: te
234
242
  }, {
235
243
  default: v(() => [
236
- c(a(K), {
237
- label: a(D)("组织名称").value,
244
+ c(l(K), {
245
+ label: l(D)("组织名称").value,
238
246
  prop: "name"
239
247
  }, null, 8, ["label"]),
240
- c(a(K), {
241
- label: a(D)("组织编码").value,
248
+ c(l(K), {
249
+ label: l(D)("组织编码").value,
242
250
  prop: "code"
243
251
  }, null, 8, ["label"]),
244
- c(a(K), {
245
- label: a(D)("组织路径").value,
252
+ c(l(K), {
253
+ label: l(D)("组织路径").value,
246
254
  prop: "pathName"
247
255
  }, null, 8, ["label"])
248
256
  ]),
@@ -250,8 +258,8 @@ const h = u([]), Le = { class: "select-list-container" }, Re = { class: "check-t
250
258
  }, 8, ["data", "total", "current-page", "selection-rows", "page-size"])
251
259
  ])
252
260
  ]),
253
- U("div", et, [
254
- c(a(ee))
261
+ U("div", tt, [
262
+ c(l(ee))
255
263
  ])
256
264
  ])
257
265
  ]),
@@ -262,57 +270,57 @@ const h = u([]), Le = { class: "select-list-container" }, Re = { class: "check-t
262
270
  }, 8, ["spinning"])
263
271
  ]));
264
272
  }
265
- }), at = /* @__PURE__ */ Z(lt, [["__scopeId", "data-v-8399fef5"]]), ce = u(null), st = (b, V, r) => ({
266
- selectOrgRef: ce,
267
- selectOrgVue: () => oe(at, {
268
- projectId: b,
273
+ }), st = /* @__PURE__ */ Z(lt, [["__scopeId", "data-v-c9625700"]]), re = u(null), ot = (y, V, r) => ({
274
+ selectOrgRef: re,
275
+ selectOrgVue: () => se(st, {
276
+ projectId: y,
269
277
  isSelectedSensitive: V,
270
- ref: ce,
278
+ ref: re,
271
279
  initProps: r
272
280
  })
273
- }), ot = { class: "select-user-container" }, nt = { class: "split-left-content" }, it = { class: "split-right-box" }, ut = { class: "split-table" }, rt = { class: "table-searc-box" }, ct = { class: "split-table-content" }, dt = { class: "split-checkd" }, pt = {
281
+ }), nt = { class: "select-user-container" }, it = { class: "split-left-content" }, ut = { class: "split-right-box" }, rt = { class: "split-table" }, ct = { class: "table-searc-box" }, dt = { class: "split-table-content" }, pt = { class: "split-checkd" }, vt = {
274
282
  name: "selectUser"
275
- }, vt = /* @__PURE__ */ Y({
276
- ...pt,
283
+ }, ft = /* @__PURE__ */ Y({
284
+ ...vt,
277
285
  props: {
278
286
  projectId: { default: "" },
279
287
  isTableSensitive: { type: Boolean, default: !0 },
280
288
  isSelectedSensitive: { type: Boolean, default: !0 },
281
289
  initProps: {}
282
290
  },
283
- setup(b, { expose: V }) {
284
- const r = b, n = g(() => {
291
+ setup(y, { expose: V }) {
292
+ const r = y, n = h(() => {
285
293
  var e;
286
294
  return ((e = r.initProps) == null ? void 0 : e.isCustomApi) || !1;
287
- }), I = g(() => {
295
+ }), I = h(() => {
288
296
  var e;
289
297
  return ((e = r.initProps) == null ? void 0 : e.disabledNodeLabel) || "optional";
290
- }), d = g(() => {
291
- var e, l;
292
- return (l = (e = r.initProps) == null ? void 0 : e.customApiOptions) == null ? void 0 : l.orgTree;
293
- }), P = g(() => {
294
- var e, l;
295
- return (l = (e = r.initProps) == null ? void 0 : e.customApiOptions) == null ? void 0 : l.userTable;
296
- }), B = g(() => r.isTableSensitive), k = g(() => r.isSelectedSensitive), i = u(!1), O = u([]), y = u(""), $ = u(""), S = u(""), _ = u([]), f = u([]), m = u(20), x = u(1), q = u(0);
297
- pe(() => {
298
- C(), j();
298
+ }), d = h(() => {
299
+ var e, t;
300
+ return (t = (e = r.initProps) == null ? void 0 : e.customApiOptions) == null ? void 0 : t.orgTree;
301
+ }), P = h(() => {
302
+ var e, t;
303
+ return (t = (e = r.initProps) == null ? void 0 : e.customApiOptions) == null ? void 0 : t.userTable;
304
+ }), B = h(() => r.isTableSensitive), O = h(() => r.isSelectedSensitive), i = u(!1), k = u([]), S = u(""), $ = u(""), _ = u(""), T = u([]), f = u([]), m = u(20), x = u(1), q = u(0);
305
+ de(() => {
306
+ g(), j();
299
307
  });
300
308
  const j = () => {
301
- f.value = h.value.filter((e) => e.identityType == 1);
309
+ f.value = b.value.filter((e) => e.identityType == 1);
302
310
  }, F = (e) => {
303
- e && e instanceof Array && (f.value = e.filter((l) => l.identityType == 1));
311
+ e && e instanceof Array && (f.value = e.filter((t) => t.identityType == 1));
304
312
  }, M = (e) => {
305
- f.value = f.value.filter((l) => l.id != e.id);
306
- }, Q = () => {
307
- h.value = [], f.value = [];
308
- }, { selectListRef: ee, selectListVue: G } = be(k.value, M, Q), w = (e) => {
313
+ f.value = f.value.filter((t) => t.id != e.id);
314
+ }, J = () => {
315
+ b.value = [], f.value = [];
316
+ }, { selectListRef: ee, selectListVue: G } = ye(O.value, M, J), w = (e) => {
309
317
  var s, o, p;
310
- const l = n.value && ((s = d.value) != null && s.disabledOrgTypes) && ((o = d.value) == null ? void 0 : o.disabledOrgTypes.length) > 0 ? (p = d.value) == null ? void 0 : p.disabledOrgTypes : [1, 2, 3, 4, 5, 6];
311
- e._disabled = !e[I.value] || l.includes(e.type), !e._disabled && !y.value && (y.value = e.id), e.children && e.children.length && e.children.forEach((T) => {
312
- w(T);
318
+ const t = n.value && ((s = d.value) != null && s.disabledOrgTypes) && ((o = d.value) == null ? void 0 : o.disabledOrgTypes.length) > 0 ? (p = d.value) == null ? void 0 : p.disabledOrgTypes : [1, 2, 3, 4, 5, 6];
319
+ e._disabled = !e[I.value] || t.includes(e.type), !e._disabled && !S.value && (S.value = e.id), e.children && e.children.length && e.children.forEach((C) => {
320
+ w(C);
313
321
  });
314
- }, C = async () => {
315
- var p, T;
322
+ }, g = async () => {
323
+ var p, C;
316
324
  i.value = !0;
317
325
  let e = {};
318
326
  if (n.value && d.value) {
@@ -324,65 +332,74 @@ const h = u([]), Le = { class: "select-list-container" }, Re = { class: "check-t
324
332
  parentId: "",
325
333
  implicit: !1
326
334
  };
327
- const l = n.value && ((p = d.value) != null && p.api) ? (T = d.value) == null ? void 0 : T.api : Se, [s, o] = await l(e).run();
335
+ const t = n.value && ((p = d.value) != null && p.api) ? (C = d.value) == null ? void 0 : C.api : _e, [s, o] = await t(e).run();
328
336
  if (s) {
329
337
  i.value = !1;
330
338
  return;
331
339
  }
332
340
  o && o.length && o.forEach((R) => {
333
341
  w(R);
334
- }), O.value = o, H();
342
+ }), k.value = o, Q();
335
343
  }, L = async () => {
336
- var p, T, R;
337
- if (!y.value) {
338
- i.value = !1, _.value = [], q.value = 0;
344
+ var p, C, R;
345
+ if (!S.value) {
346
+ i.value = !1, T.value = [], q.value = 0;
339
347
  return;
340
348
  }
341
349
  i.value = !0;
342
350
  let e = {};
343
351
  if (n.value && P.value) {
344
- const { params: E = {}, query: X = {}, treeKey: ne = "", searchKey: ie = "" } = P.value;
345
- e = { ...E, ...X }, ne ? e[ne] = y.value : e.id = y.value, ie ? e[ie] = S.value : e.filterValue = S.value;
352
+ const { params: E = {}, query: X = {}, treeKey: oe = "", searchKey: ne = "" } = P.value;
353
+ e = { ...E, ...X }, oe ? e[oe] = S.value : e.id = S.value, ne ? e[ne] = _.value : e.filterValue = _.value;
346
354
  } else
347
355
  e = {
348
- id: y.value,
356
+ id: S.value,
349
357
  //组织id
350
- filterValue: S.value
358
+ filterValue: _.value
351
359
  //账号或姓名
352
360
  };
353
361
  e.pageIndex = x.value, e.pageSize = m.value, e.statusList = [1, 2];
354
- const l = n.value && ((p = P.value) != null && p.api) ? (T = P.value) == null ? void 0 : T.api : Ge, [s, o] = await l(e).run();
362
+ const t = n.value && ((p = P.value) != null && p.api) ? (C = P.value) == null ? void 0 : C.api : He, [s, o] = await t(e).run();
355
363
  if (s) {
356
364
  i.value = !1;
357
365
  return;
358
366
  }
359
- i.value = !1, _.value = (R = o == null ? void 0 : o.data) == null ? void 0 : R.map((E) => (E.identityType = 1, E)), q.value = Number(o.totalCount);
360
- }, H = () => {
361
- S.value = "", $.value = "", _.value = [], m.value = 20, x.value = 1, W();
367
+ i.value = !1, T.value = (R = o == null ? void 0 : o.data) == null ? void 0 : R.map((E) => (E.identityType = 1, E)), q.value = Number(o.totalCount);
368
+ }, Q = () => {
369
+ _.value = "", $.value = "", T.value = [], m.value = 20, x.value = 1, W();
362
370
  }, W = () => {
363
371
  x.value = 1, L();
364
372
  }, te = (e) => {
365
- y.value = e.id, H();
366
- }, le = (e) => {
367
373
  x.value = 1, m.value = e, L();
368
374
  }, ae = (e) => {
369
375
  x.value = e, L();
370
- }, t = (e) => {
371
- let l = [], s = [];
376
+ }, a = (e) => {
377
+ let t = [], s = [];
372
378
  e.forEach((o) => {
373
- l.push(o.id);
374
- }), _.value.forEach((o) => {
375
- l.includes(o.id) || s.push(o.id);
376
- }), h.value = h.value.filter((o) => !s.includes(o.id)), e.forEach((o) => {
377
- h.value.some((p) => p.id === o.id) || h.value.push(o);
379
+ t.push(o.id);
380
+ }), T.value.forEach((o) => {
381
+ t.includes(o.id) || s.push(o.id);
382
+ }), b.value = b.value.filter((o) => !s.includes(o.id)), e.forEach((o) => {
383
+ b.value.some((p) => p.id === o.id) || b.value.push(o);
378
384
  });
379
385
  };
380
- return V({
386
+ return pe(
387
+ () => S,
388
+ () => {
389
+ ve(() => {
390
+ L();
391
+ });
392
+ },
393
+ {
394
+ immediate: !0,
395
+ deep: !0
396
+ }
397
+ ), V({
381
398
  setSelectData: F
382
- }), (e, l) => (z(), A("div", ot, [
383
- c(a(fe), { spinning: i.value }, {
399
+ }), (e, t) => (z(), A("div", nt, [
400
+ c(l(me), { spinning: i.value }, {
384
401
  default: v(() => [
385
- c(a(me), {
402
+ c(l(ge), {
386
403
  defaultSplit: { first: 223 },
387
404
  canFold: !0,
388
405
  canDrag: !0,
@@ -391,71 +408,70 @@ const h = u([]), Le = { class: "select-list-container" }, Re = { class: "check-t
391
408
  }
392
409
  }, {
393
410
  firstSlot: v(() => [
394
- U("div", nt, [
395
- c(a(he), {
411
+ U("div", it, [
412
+ c(l(be), {
396
413
  ref: "organizationTree",
397
- data: O.value,
414
+ data: k.value,
398
415
  isFilter: "",
399
416
  "node-key": "id",
400
417
  props: { disabled: "_disabled" },
401
- inputOptions: { placeholder: a(D)("搜索组织名称").value },
402
- modelValue: y.value,
403
- "onUpdate:modelValue": l[0] || (l[0] = (s) => y.value = s),
418
+ inputOptions: { placeholder: l(D)("搜索组织名称").value },
419
+ modelValue: S.value,
420
+ "onUpdate:modelValue": t[0] || (t[0] = (s) => S.value = s),
404
421
  "filter-value": $.value,
405
- "onUpdate:filterValue": l[1] || (l[1] = (s) => $.value = s),
406
- onNodeClick: te,
422
+ "onUpdate:filterValue": t[1] || (t[1] = (s) => $.value = s),
407
423
  "is-ellipsis": ""
408
424
  }, null, 8, ["data", "inputOptions", "modelValue", "filter-value"])
409
425
  ])
410
426
  ]),
411
427
  secondSlot: v(() => [
412
- U("div", it, [
413
- U("div", ut, [
414
- U("div", rt, [
415
- c(a(ve), {
416
- modelValue: S.value,
417
- "onUpdate:modelValue": l[2] || (l[2] = (s) => S.value = s),
428
+ U("div", ut, [
429
+ U("div", rt, [
430
+ U("div", ct, [
431
+ c(l(fe), {
432
+ modelValue: _.value,
433
+ "onUpdate:modelValue": t[2] || (t[2] = (s) => _.value = s),
418
434
  searchType: "basis",
419
435
  isIconLeft: "",
420
436
  size: "small",
421
- placeholder: a(D)("搜索姓名/账号").value,
437
+ placeholder: l(D)("搜索姓名/账号").value,
422
438
  onChange: W
423
439
  }, null, 8, ["modelValue", "placeholder"])
424
440
  ]),
425
- U("div", ct, [
426
- c(a(ge), {
441
+ U("div", dt, [
442
+ c(l(he), {
427
443
  height: "100%",
428
444
  ref: "treeTableRef",
429
- data: _.value,
445
+ data: T.value,
430
446
  total: q.value,
431
447
  selection: "",
432
448
  "pagination-props": { layout: "prev,next,sizes", small: !0 },
433
449
  "current-page": x.value,
434
- "onUpdate:currentPage": l[3] || (l[3] = (s) => x.value = s),
450
+ "onUpdate:currentPage": t[3] || (t[3] = (s) => x.value = s),
435
451
  "selection-rows": f.value,
436
- "onUpdate:selectionRows": l[4] || (l[4] = (s) => f.value = s),
452
+ "onUpdate:selectionRows": t[4] || (t[4] = (s) => f.value = s),
437
453
  "page-size": m.value,
438
- "onUpdate:pageSize": l[5] || (l[5] = (s) => m.value = s),
439
- onSizeChange: le,
440
- onSelectionChange: t,
454
+ "onUpdate:pageSize": t[5] || (t[5] = (s) => m.value = s),
455
+ onSizeChange: te,
456
+ onSelectionChange: a,
441
457
  onCurrentPageChange: ae
442
458
  }, {
443
459
  default: v(() => [
444
- c(a(K), {
445
- label: a(D)("姓名").value,
460
+ c(l(K), {
461
+ label: l(D)("姓名").value,
446
462
  prop: "name"
447
463
  }, null, 8, ["label"]),
448
- c(a(K), {
449
- label: a(D)("账号").value,
464
+ c(l(K), {
465
+ label: l(D)("账号").value,
450
466
  prop: "userName"
451
467
  }, null, 8, ["label"]),
452
- B.value ? (z(), J(a(K), {
468
+ B.value ? (z(), H(l(K), {
453
469
  key: 0,
454
- label: a(D)("手机号").value,
470
+ label: l(D)("手机号").value,
455
471
  prop: "sensitivePhone"
456
472
  }, {
457
473
  default: v(({ row: s }) => [
458
- c(a(we), {
474
+ c(l(Le), {
459
475
  placement: "top",
460
476
  content: s.phone
461
477
  }, {
@@ -466,13 +482,13 @@ const h = u([]), Le = { class: "select-list-container" }, Re = { class: "check-t
466
482
  }, 1032, ["content"])
467
483
  ]),
468
484
  _: 1
469
- }, 8, ["label"])) : (z(), J(a(K), {
485
+ }, 8, ["label"])) : (z(), H(l(K), {
470
486
  key: 1,
471
- label: a(D)("手机号").value,
487
+ label: l(D)("手机号").value,
472
488
  prop: "phone"
473
489
  }, null, 8, ["label"])),
474
- c(a(K), {
475
- label: a(D)("状态").value,
490
+ c(l(K), {
491
+ label: l(D)("状态").value,
476
492
  prop: "statusName"
477
493
  }, null, 8, ["label"])
478
494
  ]),
@@ -480,8 +496,8 @@ const h = u([]), Le = { class: "select-list-container" }, Re = { class: "check-t
480
496
  }, 8, ["data", "total", "current-page", "selection-rows", "page-size"])
481
497
  ])
482
498
  ]),
483
- U("div", dt, [
484
- c(a(G))
499
+ U("div", pt, [
500
+ c(l(G))
485
501
  ])
486
502
  ])
487
503
  ]),
@@ -492,22 +508,22 @@ const h = u([]), Le = { class: "select-list-container" }, Re = { class: "check-t
492
508
  }, 8, ["spinning"])
493
509
  ]));
494
510
  }
495
- }), ft = /* @__PURE__ */ Z(vt, [["__scopeId", "data-v-43ca7dad"]]), de = u(null), mt = (b, V, r, n) => ({
496
- selectUserRef: de,
497
- selectUserVue: () => oe(ft, {
498
- projectId: b,
511
+ }), mt = /* @__PURE__ */ Z(ft, [["__scopeId", "data-v-d42f776b"]]), ce = u(null), gt = (y, V, r, n) => ({
512
+ selectUserRef: ce,
513
+ selectUserVue: () => se(mt, {
514
+ projectId: y,
499
515
  isTableSensitive: V,
500
516
  isSelectedSensitive: r,
501
- ref: de,
517
+ ref: ce,
502
518
  initProps: n
503
519
  })
504
- }), gt = { class: "select-org-user-dialog-box" }, ht = {
520
+ }), ht = { class: "select-org-user-dialog-box" }, bt = {
505
521
  key: 0,
506
522
  class: "select-org-user-dialog-content"
507
- }, bt = { class: "foot-btn-box" }, yt = {
523
+ }, yt = { class: "foot-btn-box" }, St = {
508
524
  name: "selectOrganizationAndUser"
509
- }, St = /* @__PURE__ */ Y({
510
- ...yt,
525
+ }, _t = /* @__PURE__ */ Y({
526
+ ...St,
511
527
  props: {
512
528
  header: { default: "添加组织/用户" },
513
529
  selectData: { default: [] },
@@ -519,14 +535,14 @@ const h = u([]), Le = { class: "select-list-container" }, Re = { class: "check-t
519
535
  singleTabKey: { default: "" }
520
536
  },
521
537
  emits: ["update:modelValue", "selectConfirm", "selectCancel"],
522
- setup(b, { expose: V, emit: r }) {
523
- const n = b, I = r, d = u(!1), P = g(() => n.header), B = g(() => n.isTableSensitive), k = g(() => n.isSelectedSensitive), i = g(() => n.singleTabKey), O = g({
538
+ setup(y, { expose: V, emit: r }) {
539
+ const n = y, I = r, d = u(!1), P = h(() => n.header), B = h(() => n.isTableSensitive), O = h(() => n.isSelectedSensitive), i = h(() => n.singleTabKey), k = h({
524
540
  get: () => n.modelValue,
525
541
  set: (w) => I("update:modelValue", w)
526
- }), y = Ie().id, { selectOrgVue: $, selectOrgRef: S } = st(y, k.value, n), { selectUserVue: _, selectUserRef: f } = mt(
527
- y,
542
+ }), S = Ue().id, { selectOrgVue: $, selectOrgRef: _ } = ot(S, O.value, n), { selectUserVue: T, selectUserRef: f } = gt(
543
+ S,
528
544
  B.value,
529
- k.value,
545
+ O.value,
530
546
  n
531
547
  ), m = u(1), x = [
532
548
  {
@@ -542,26 +558,26 @@ const h = u([]), Le = { class: "select-list-container" }, Re = { class: "check-t
542
558
  ], q = () => {
543
559
  I("selectCancel");
544
560
  }, j = async () => {
545
- I("selectConfirm", h.value);
561
+ I("selectConfirm", b.value);
546
562
  }, F = (w) => {
547
563
  }, M = () => {
548
564
  m.value = 1, d.value = !1, I("selectCancel");
549
- }, Q = () => {
550
- h.value = n.selectData, d.value = !0;
565
+ }, J = () => {
566
+ b.value = n.selectData, d.value = !0;
551
567
  };
552
568
  return V({
553
569
  setUserSelectData: (w) => {
554
- var C;
555
- (C = f == null ? void 0 : f.value) == null || C.setSelectData(w);
570
+ var g;
571
+ (g = f == null ? void 0 : f.value) == null || g.setSelectData(w);
556
572
  },
557
573
  setOrgSelectData: (w) => {
558
- var C;
559
- (C = S == null ? void 0 : S.value) == null || C.setSelectData(w);
574
+ var g;
575
+ (g = _ == null ? void 0 : _.value) == null || g.setSelectData(w);
560
576
  }
561
- }), (w, C) => (z(), A("div", gt, [
562
- c(a(ze), Te({
563
- modelValue: O.value,
564
- "onUpdate:modelValue": C[1] || (C[1] = (L) => O.value = L)
577
+ }), (w, g) => (z(), A("div", ht, [
578
+ c(l(Ie), De({
579
+ modelValue: k.value,
580
+ "onUpdate:modelValue": g[1] || (g[1] = (L) => k.value = L)
565
581
  }, w.$attrs, {
566
582
  customClass: "select-org-user-dialog",
567
583
  type: "basic",
@@ -572,68 +588,68 @@ const h = u([]), Le = { class: "select-list-container" }, Re = { class: "check-t
572
588
  padding: "0"
573
589
  },
574
590
  onClose: M,
575
- onOpen: Q
591
+ onOpen: J
576
592
  }), {
577
593
  header: v(() => [
578
- se(N(P.value), 1)
594
+ le(N(P.value), 1)
579
595
  ]),
580
596
  footer: v(() => [
581
- U("div", bt, [
582
- c(a(ue), {
597
+ U("div", yt, [
598
+ c(l(ie), {
583
599
  size: "middle",
584
600
  onClick: q
585
601
  }, {
586
602
  default: v(() => [
587
- se(N(a(D)("取消").value), 1)
603
+ le(N(l(D)("取消").value), 1)
588
604
  ]),
589
605
  _: 1
590
606
  }),
591
- c(a(ue), {
607
+ c(l(ie), {
592
608
  btnType: "primary",
593
609
  size: "middle",
594
610
  onClick: j
595
611
  }, {
596
612
  default: v(() => [
597
- se(N(a(D)("确定").value), 1)
613
+ le(N(l(D)("确定").value), 1)
598
614
  ]),
599
615
  _: 1
600
616
  })
601
617
  ])
602
618
  ]),
603
619
  default: v(() => [
604
- d.value ? (z(), A("div", ht, [
605
- i.value == 1 ? (z(), J(a($), { key: 0 })) : i.value == 2 ? (z(), J(a(_), { key: 1 })) : (z(), J(a(Oe), {
620
+ d.value ? (z(), A("div", bt, [
621
+ i.value == 1 ? (z(), H(l($), { key: 0 })) : i.value == 2 ? (z(), H(l(T), { key: 1 })) : (z(), H(l(ze), {
606
622
  key: 2,
607
623
  activeKey: m.value,
608
- "onUpdate:activeKey": C[0] || (C[0] = (L) => m.value = L),
624
+ "onUpdate:activeKey": g[0] || (g[0] = (L) => m.value = L),
609
625
  isStrict: "",
610
626
  hideAdd: "",
611
627
  options: x,
612
628
  onChange: F
613
629
  }, {
614
630
  contentSlot1: v(() => [
615
- c(a($))
631
+ c(l($))
616
632
  ]),
617
633
  contentSlot2: v(() => [
618
- c(a(_))
634
+ c(l(T))
619
635
  ]),
620
636
  _: 1
621
637
  }, 8, ["activeKey"]))
622
- ])) : De("", !0)
638
+ ])) : Ve("", !0)
623
639
  ]),
624
640
  _: 1
625
641
  }, 16, ["modelValue"])
626
642
  ]));
627
643
  }
628
- }), _t = /* @__PURE__ */ Z(St, [["__scopeId", "data-v-ccfc5a47"]]), Ct = {
644
+ }), Tt = /* @__PURE__ */ Z(_t, [["__scopeId", "data-v-ccfc5a47"]]), Ct = {
629
645
  "demo-msg": {
630
646
  "zh-CN": "这是第一个示例路由页面",
631
647
  en: "This is Demo Page"
632
648
  }
633
649
  };
634
650
  ke(Ct);
635
- const Et = () => u(null), Kt = Ve(_t);
651
+ const Kt = () => u(null), qt = Oe(Tt);
636
652
  export {
637
- Kt as DasUserOrgDialog,
638
- Et as DasUserOrgDialogRef
653
+ qt as DasUserOrgDialog,
654
+ Kt as DasUserOrgDialogRef
639
655
  };