@das-fed/upf-ui 6.4.0-dev.210 → 6.4.0-dev.211

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