@das-fed/upf-ui 6.4.0-dev.215 → 6.4.0-dev.216

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