@das-fed/ui 6.4.0-test.51 → 6.4.0-test.53
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.
- package/package.json +5 -5
- package/packages/business-components/user-org-dialog/index.js +79 -79
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/style.css +1 -1
- package/packages/business-components/user-org-dialog/style.css.gz +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/ui",
|
|
3
|
-
"version": "6.4.0-test.
|
|
3
|
+
"version": "6.4.0-test.53",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@antv/x6-plugin-snapline": "^2.1.7",
|
|
27
27
|
"@antv/x6-plugin-transform": "^2.1.8",
|
|
28
28
|
"@antv/x6-vue-shape": "^2.1.2",
|
|
29
|
-
"@das-fed/cli": "6.4.0-test.
|
|
29
|
+
"@das-fed/cli": "6.4.0-test.53",
|
|
30
30
|
"@element-plus/icons-vue": "^2.3.1",
|
|
31
31
|
"@types/lodash": "^4.14.194",
|
|
32
32
|
"@types/lodash-es": "^4.17.9",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"vue-tsc": "^2.0.29"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@das-fed/ui": "6.4.0-test.
|
|
60
|
-
"@das-fed/utils": "6.4.0-test.
|
|
61
|
-
"@das-fed/web": "6.4.0-test.
|
|
59
|
+
"@das-fed/ui": "6.4.0-test.53",
|
|
60
|
+
"@das-fed/utils": "6.4.0-test.53",
|
|
61
|
+
"@das-fed/web": "6.4.0-test.53",
|
|
62
62
|
"@types/markdown-it": "^14.1.2",
|
|
63
63
|
"@wangeditor-next/editor": "5.6.31",
|
|
64
64
|
"@wangeditor-next/editor-for-vue": "5.1.14",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/user-org-dialog/style.css';
|
|
2
2
|
import { ref as i, defineComponent as Z, computed as _, createElementBlock as B, openBlock as V, createVNode as c, unref as l, isRef as ke, withCtx as h, withDirectives as ze, toDisplayString as E, h as oe, onMounted as pe, watch as ve, nextTick as fe, createElementVNode as P, createBlock as Q, mergeProps as Te, createCommentVNode as De, createTextVNode as se } from "vue";
|
|
3
|
-
import { withInstall as
|
|
4
|
-
import { i18n as T, t as Y, setI18nRule as
|
|
3
|
+
import { withInstall as we } from "@das-fed/utils/with-install/index";
|
|
4
|
+
import { i18n as T, t as Y, setI18nRule as Oe } from "@das-fed/web/packages/i18n/index";
|
|
5
5
|
import { DasTabs as Ne } from "@das-fed/ui/packages/components/tabs/index";
|
|
6
6
|
import { DasButton as re } from "@das-fed/ui/packages/components/button/index";
|
|
7
7
|
import { DasDialog as Ve } from "@das-fed/ui/packages/components/dialog/index";
|
|
@@ -25,19 +25,19 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
25
25
|
},
|
|
26
26
|
emits: ["itemRemove", "clearCheck"],
|
|
27
27
|
setup(S, { emit: D }) {
|
|
28
|
-
const u = S, r = _(() => u.isSelectedSensitive), g = D,
|
|
28
|
+
const u = S, r = _(() => u.isSelectedSensitive), g = D, w = ($) => {
|
|
29
29
|
g("itemRemove", $);
|
|
30
30
|
}, C = ($) => {
|
|
31
31
|
g("clearCheck");
|
|
32
32
|
};
|
|
33
|
-
return ($,
|
|
33
|
+
return ($, O) => (V(), B("div", Ae, [
|
|
34
34
|
c(l(Pe), {
|
|
35
35
|
modelValue: l(y),
|
|
36
|
-
"onUpdate:modelValue":
|
|
36
|
+
"onUpdate:modelValue": O[0] || (O[0] = (d) => ke(y) ? y.value = d : null),
|
|
37
37
|
width: "100%",
|
|
38
38
|
height: "100%",
|
|
39
39
|
"custom-style": { border: "none" },
|
|
40
|
-
onItemRemove:
|
|
40
|
+
onItemRemove: w,
|
|
41
41
|
onRemoveAll: C
|
|
42
42
|
}, {
|
|
43
43
|
default: h(({ item: d }) => [
|
|
@@ -105,36 +105,36 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
105
105
|
}), g = _(() => {
|
|
106
106
|
var t;
|
|
107
107
|
return ((t = u.initProps) == null ? void 0 : t.disabledNodeLabel) || "optional";
|
|
108
|
-
}),
|
|
109
|
-
var t,
|
|
110
|
-
return (
|
|
108
|
+
}), w = _(() => {
|
|
109
|
+
var t, o;
|
|
110
|
+
return (o = (t = u.initProps) == null ? void 0 : t.customApiOptions) == null ? void 0 : o.orgTree;
|
|
111
111
|
}), C = _(() => {
|
|
112
|
-
var t,
|
|
113
|
-
return (
|
|
114
|
-
}), $ = _(() => u.isSelectedSensitive),
|
|
112
|
+
var t, o;
|
|
113
|
+
return (o = (t = u.initProps) == null ? void 0 : t.customApiOptions) == null ? void 0 : o.orgTable;
|
|
114
|
+
}), $ = _(() => u.isSelectedSensitive), O = i(!1), d = i([]), p = i(""), K = i(""), v = i(""), U = i([]), b = i([]), N = i(20), f = i(1), x = i(0);
|
|
115
115
|
pe(() => {
|
|
116
116
|
W(), L();
|
|
117
117
|
});
|
|
118
118
|
const L = () => {
|
|
119
119
|
b.value = y.value.filter((t) => t.identityType == 2);
|
|
120
120
|
}, F = (t) => {
|
|
121
|
-
t && t instanceof Array && (b.value = t.filter((
|
|
121
|
+
t && t instanceof Array && (b.value = t.filter((o) => o.identityType == 1));
|
|
122
122
|
}, M = (t) => {
|
|
123
|
-
b.value = b.value.filter((
|
|
123
|
+
b.value = b.value.filter((o) => o.id != t.id);
|
|
124
124
|
}, G = () => {
|
|
125
125
|
y.value = [], b.value = [];
|
|
126
126
|
}, { selectListVue: H } = ye($.value, M, G), J = (t) => {
|
|
127
|
-
var e, a,
|
|
128
|
-
const
|
|
129
|
-
t._disabled = !t[g.value] ||
|
|
127
|
+
var e, a, s;
|
|
128
|
+
const o = r.value && ((e = w.value) != null && e.disabledOrgTypes) && ((a = w.value) == null ? void 0 : a.disabledOrgTypes.length) > 0 ? (s = w.value) == null ? void 0 : s.disabledOrgTypes : [1, 2, 3, 4, 5, 6];
|
|
129
|
+
t._disabled = !t[g.value] || o.includes(t.type), !t._disabled && !p.value && (p.value = t.id), t.children && t.children.length && t.children.forEach((n) => {
|
|
130
130
|
J(n);
|
|
131
131
|
});
|
|
132
132
|
}, W = async () => {
|
|
133
|
-
var
|
|
134
|
-
|
|
133
|
+
var s, n;
|
|
134
|
+
O.value = !0;
|
|
135
135
|
let t = {};
|
|
136
|
-
if (r.value &&
|
|
137
|
-
const { params: m = {}, query: R = {} } =
|
|
136
|
+
if (r.value && w.value) {
|
|
137
|
+
const { params: m = {}, query: R = {} } = w.value;
|
|
138
138
|
t = { ...m, ...R };
|
|
139
139
|
} else
|
|
140
140
|
t = {
|
|
@@ -142,21 +142,21 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
142
142
|
parentId: "",
|
|
143
143
|
implicit: !1
|
|
144
144
|
};
|
|
145
|
-
const
|
|
145
|
+
const o = r.value && ((s = w.value) != null && s.api) ? (n = w.value) == null ? void 0 : n.api : Ce, [e, a] = await o(t).run();
|
|
146
146
|
if (e) {
|
|
147
|
-
|
|
147
|
+
O.value = !1;
|
|
148
148
|
return;
|
|
149
149
|
}
|
|
150
150
|
a && a.length && a.forEach((m) => {
|
|
151
151
|
J(m);
|
|
152
152
|
}), d.value = a, I();
|
|
153
153
|
}, k = async () => {
|
|
154
|
-
var
|
|
154
|
+
var s, n;
|
|
155
155
|
if (!p.value) {
|
|
156
|
-
|
|
156
|
+
O.value = !1, U.value = [], x.value = 0;
|
|
157
157
|
return;
|
|
158
158
|
}
|
|
159
|
-
|
|
159
|
+
O.value = !0;
|
|
160
160
|
let t = {};
|
|
161
161
|
if (r.value && C.value) {
|
|
162
162
|
const { params: m = {}, query: R = {}, treeKey: q = "", searchKey: z = "" } = C.value;
|
|
@@ -169,12 +169,12 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
169
169
|
// 名称
|
|
170
170
|
};
|
|
171
171
|
t.pageIndex = f.value, t.pageSize = N.value;
|
|
172
|
-
const
|
|
172
|
+
const o = r.value && ((s = C.value) != null && s.api) ? (n = C.value) == null ? void 0 : n.api : Qe, [e, a] = await o(t).run();
|
|
173
173
|
if (e) {
|
|
174
|
-
|
|
174
|
+
O.value = !1;
|
|
175
175
|
return;
|
|
176
176
|
}
|
|
177
|
-
U.value = a.data.map((m) => (m.identityType = 2, m)), x.value = Number(a.totalCount),
|
|
177
|
+
U.value = a.data.map((m) => (m.identityType = 2, m)), x.value = Number(a.totalCount), O.value = !1;
|
|
178
178
|
}, I = () => {
|
|
179
179
|
v.value = "", K.value = "", U.value = [], N.value = 20, f.value = 1, A();
|
|
180
180
|
}, A = () => {
|
|
@@ -184,19 +184,19 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
184
184
|
}, X = (t) => {
|
|
185
185
|
f.value = t, k();
|
|
186
186
|
}, ae = (t) => {
|
|
187
|
-
let
|
|
187
|
+
let o = [], e = [];
|
|
188
188
|
t.forEach((a) => {
|
|
189
|
-
|
|
189
|
+
o.push(a.id);
|
|
190
190
|
}), U.value.forEach((a) => {
|
|
191
|
-
|
|
191
|
+
o.includes(a.id) || e.push(a.id);
|
|
192
192
|
}), y.value = y.value.filter((a) => !e.includes(a.id)), t.forEach((a) => {
|
|
193
|
-
y.value.some((
|
|
193
|
+
y.value.some((s) => s.id === a.id) || y.value.push(a);
|
|
194
194
|
});
|
|
195
195
|
};
|
|
196
196
|
return ve(
|
|
197
197
|
() => p,
|
|
198
|
-
(
|
|
199
|
-
|
|
198
|
+
() => {
|
|
199
|
+
fe(() => {
|
|
200
200
|
k();
|
|
201
201
|
});
|
|
202
202
|
},
|
|
@@ -206,8 +206,8 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
206
206
|
}
|
|
207
207
|
), D({
|
|
208
208
|
setSelectData: F
|
|
209
|
-
}), (t,
|
|
210
|
-
c(l(ge), { spinning:
|
|
209
|
+
}), (t, o) => (V(), B("div", We, [
|
|
210
|
+
c(l(ge), { spinning: O.value }, {
|
|
211
211
|
default: h(() => [
|
|
212
212
|
c(l(he), {
|
|
213
213
|
defaultSplit: { first: 223 },
|
|
@@ -227,9 +227,9 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
227
227
|
props: { disabled: "_disabled" },
|
|
228
228
|
inputOptions: { placeholder: l(T)("搜索组织名称").value },
|
|
229
229
|
modelValue: p.value,
|
|
230
|
-
"onUpdate:modelValue":
|
|
230
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => p.value = e),
|
|
231
231
|
"filter-value": K.value,
|
|
232
|
-
"onUpdate:filterValue":
|
|
232
|
+
"onUpdate:filterValue": o[1] || (o[1] = (e) => K.value = e),
|
|
233
233
|
"is-ellipsis": ""
|
|
234
234
|
}, null, 8, ["data", "inputOptions", "modelValue", "filter-value"])
|
|
235
235
|
])
|
|
@@ -240,7 +240,7 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
240
240
|
P("div", et, [
|
|
241
241
|
c(l(me), {
|
|
242
242
|
modelValue: v.value,
|
|
243
|
-
"onUpdate:modelValue":
|
|
243
|
+
"onUpdate:modelValue": o[2] || (o[2] = (e) => v.value = e),
|
|
244
244
|
searchType: "basis",
|
|
245
245
|
isIconLeft: "",
|
|
246
246
|
size: "small",
|
|
@@ -256,11 +256,11 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
256
256
|
selection: "",
|
|
257
257
|
"pagination-props": { layout: "prev,next,sizes", small: !0 },
|
|
258
258
|
"current-page": f.value,
|
|
259
|
-
"onUpdate:currentPage":
|
|
259
|
+
"onUpdate:currentPage": o[3] || (o[3] = (e) => f.value = e),
|
|
260
260
|
"selection-rows": b.value,
|
|
261
|
-
"onUpdate:selectionRows":
|
|
261
|
+
"onUpdate:selectionRows": o[4] || (o[4] = (e) => b.value = e),
|
|
262
262
|
"page-size": N.value,
|
|
263
|
-
"onUpdate:pageSize":
|
|
263
|
+
"onUpdate:pageSize": o[5] || (o[5] = (e) => N.value = e),
|
|
264
264
|
onSizeChange: te,
|
|
265
265
|
onSelectionChange: ae,
|
|
266
266
|
onCurrentPageChange: X
|
|
@@ -298,7 +298,7 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
298
298
|
}, 8, ["spinning"])
|
|
299
299
|
]));
|
|
300
300
|
}
|
|
301
|
-
}), ot = /* @__PURE__ */ ee(st, [["__scopeId", "data-v-
|
|
301
|
+
}), ot = /* @__PURE__ */ ee(st, [["__scopeId", "data-v-2677514c"]]), ce = i(null), nt = (S, D, u) => ({
|
|
302
302
|
selectOrgRef: ce,
|
|
303
303
|
selectOrgVue: () => oe(ot, {
|
|
304
304
|
projectId: S,
|
|
@@ -320,7 +320,7 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
320
320
|
const u = S, r = i(), g = _(() => {
|
|
321
321
|
var e;
|
|
322
322
|
return ((e = u.initProps) == null ? void 0 : e.isCustomApi) || !1;
|
|
323
|
-
}),
|
|
323
|
+
}), w = _(() => {
|
|
324
324
|
var e;
|
|
325
325
|
return ((e = u.initProps) == null ? void 0 : e.disabledNodeLabel) || "optional";
|
|
326
326
|
}), C = _(() => {
|
|
@@ -329,7 +329,7 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
329
329
|
}), $ = _(() => {
|
|
330
330
|
var e, a;
|
|
331
331
|
return (a = (e = u.initProps) == null ? void 0 : e.customApiOptions) == null ? void 0 : a.userTable;
|
|
332
|
-
}),
|
|
332
|
+
}), O = _(() => u.isTableSensitive), d = _(() => u.isSelectedSensitive), p = i(!1), K = i([]), v = i(""), U = i(""), b = i(""), N = i([]), f = i([]), x = i(20), L = i(1), F = i(0);
|
|
333
333
|
pe(() => {
|
|
334
334
|
I(), M();
|
|
335
335
|
});
|
|
@@ -342,9 +342,9 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
342
342
|
}, J = () => {
|
|
343
343
|
y.value = [], f.value = [];
|
|
344
344
|
}, { selectListVue: W } = ye(d.value, H, J), k = (e) => {
|
|
345
|
-
var
|
|
346
|
-
const a = g.value && ((
|
|
347
|
-
e._disabled = !e[
|
|
345
|
+
var s, n, m;
|
|
346
|
+
const a = g.value && ((s = C.value) != null && s.disabledOrgTypes) && ((n = C.value) == null ? void 0 : n.disabledOrgTypes.length) > 0 ? (m = C.value) == null ? void 0 : m.disabledOrgTypes : [1, 2, 3, 4, 5, 6];
|
|
347
|
+
e._disabled = !e[w.value] || a.includes(e.type), !e._disabled && !v.value && (v.value = e.id), e.children && e.children.length && e.children.forEach((R) => {
|
|
348
348
|
k(R);
|
|
349
349
|
});
|
|
350
350
|
}, I = async () => {
|
|
@@ -360,8 +360,8 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
360
360
|
parentId: "",
|
|
361
361
|
implicit: !1
|
|
362
362
|
};
|
|
363
|
-
const a = g.value && ((m = C.value) != null && m.api) ? (R = C.value) == null ? void 0 : R.api : Ce, [
|
|
364
|
-
if (
|
|
363
|
+
const a = g.value && ((m = C.value) != null && m.api) ? (R = C.value) == null ? void 0 : R.api : Ce, [s, n] = await a(e).run();
|
|
364
|
+
if (s) {
|
|
365
365
|
p.value = !1;
|
|
366
366
|
return;
|
|
367
367
|
}
|
|
@@ -387,8 +387,8 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
387
387
|
//账号或姓名
|
|
388
388
|
};
|
|
389
389
|
e.pageIndex = L.value, e.pageSize = x.value, e.statusList = [1, 2];
|
|
390
|
-
const a = g.value && ((m = $.value) != null && m.api) ? (R = $.value) == null ? void 0 : R.api : Je, [
|
|
391
|
-
if (
|
|
390
|
+
const a = g.value && ((m = $.value) != null && m.api) ? (R = $.value) == null ? void 0 : R.api : Je, [s, n] = await a(e).run();
|
|
391
|
+
if (s) {
|
|
392
392
|
p.value = !1;
|
|
393
393
|
return;
|
|
394
394
|
}
|
|
@@ -405,20 +405,20 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
405
405
|
L.value = 1, x.value = e, A();
|
|
406
406
|
}, t = (e) => {
|
|
407
407
|
L.value = e, A();
|
|
408
|
-
},
|
|
409
|
-
let a = [],
|
|
408
|
+
}, o = (e) => {
|
|
409
|
+
let a = [], s = [];
|
|
410
410
|
e.forEach((n) => {
|
|
411
411
|
a.push(n.id);
|
|
412
412
|
}), N.value.forEach((n) => {
|
|
413
|
-
a.includes(n.id) ||
|
|
414
|
-
}), y.value = y.value.filter((n) => !
|
|
413
|
+
a.includes(n.id) || s.push(n.id);
|
|
414
|
+
}), y.value = y.value.filter((n) => !s.includes(n.id)), e.forEach((n) => {
|
|
415
415
|
y.value.some((m) => m.id === n.id) || y.value.push(n);
|
|
416
416
|
});
|
|
417
417
|
};
|
|
418
418
|
return ve(
|
|
419
419
|
() => v,
|
|
420
|
-
(
|
|
421
|
-
|
|
420
|
+
() => {
|
|
421
|
+
fe(() => {
|
|
422
422
|
A();
|
|
423
423
|
});
|
|
424
424
|
},
|
|
@@ -449,9 +449,9 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
449
449
|
props: { disabled: "_disabled" },
|
|
450
450
|
inputOptions: { placeholder: l(T)("搜索组织名称").value },
|
|
451
451
|
modelValue: v.value,
|
|
452
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
452
|
+
"onUpdate:modelValue": a[0] || (a[0] = (s) => v.value = s),
|
|
453
453
|
"filter-value": U.value,
|
|
454
|
-
"onUpdate:filterValue": a[1] || (a[1] = (
|
|
454
|
+
"onUpdate:filterValue": a[1] || (a[1] = (s) => U.value = s),
|
|
455
455
|
"is-ellipsis": ""
|
|
456
456
|
}, null, 8, ["data", "inputOptions", "modelValue", "filter-value"])
|
|
457
457
|
])
|
|
@@ -462,7 +462,7 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
462
462
|
P("div", dt, [
|
|
463
463
|
c(l(me), {
|
|
464
464
|
modelValue: b.value,
|
|
465
|
-
"onUpdate:modelValue": a[2] || (a[2] = (
|
|
465
|
+
"onUpdate:modelValue": a[2] || (a[2] = (s) => b.value = s),
|
|
466
466
|
searchType: "basis",
|
|
467
467
|
isIconLeft: "",
|
|
468
468
|
size: "small",
|
|
@@ -486,13 +486,13 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
486
486
|
selection: "",
|
|
487
487
|
"pagination-props": { layout: "prev,next,sizes", small: !0 },
|
|
488
488
|
"current-page": L.value,
|
|
489
|
-
"onUpdate:currentPage": a[3] || (a[3] = (
|
|
489
|
+
"onUpdate:currentPage": a[3] || (a[3] = (s) => L.value = s),
|
|
490
490
|
"selection-rows": f.value,
|
|
491
|
-
"onUpdate:selectionRows": a[4] || (a[4] = (
|
|
491
|
+
"onUpdate:selectionRows": a[4] || (a[4] = (s) => f.value = s),
|
|
492
492
|
"page-size": x.value,
|
|
493
|
-
"onUpdate:pageSize": a[5] || (a[5] = (
|
|
493
|
+
"onUpdate:pageSize": a[5] || (a[5] = (s) => x.value = s),
|
|
494
494
|
onSizeChange: ae,
|
|
495
|
-
onSelectionChange:
|
|
495
|
+
onSelectionChange: o,
|
|
496
496
|
onCurrentPageChange: t
|
|
497
497
|
}, {
|
|
498
498
|
default: h(() => [
|
|
@@ -504,22 +504,22 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
504
504
|
label: l(T)("账号").value,
|
|
505
505
|
prop: "userName"
|
|
506
506
|
}, null, 8, ["label"]),
|
|
507
|
-
|
|
507
|
+
O.value ? (V(), Q(l(j), {
|
|
508
508
|
key: 0,
|
|
509
509
|
label: l(T)("手机号").value,
|
|
510
510
|
prop: "sensitivePhone"
|
|
511
511
|
}, {
|
|
512
|
-
default: h(({ row:
|
|
512
|
+
default: h(({ row: s }) => [
|
|
513
513
|
c(l(Le), {
|
|
514
514
|
placement: "top",
|
|
515
|
-
content:
|
|
515
|
+
content: s.phone,
|
|
516
516
|
"append-to": r.value
|
|
517
517
|
}, {
|
|
518
518
|
default: h(() => [
|
|
519
519
|
P(
|
|
520
520
|
"span",
|
|
521
521
|
null,
|
|
522
|
-
E(
|
|
522
|
+
E(s.sensitivePhone),
|
|
523
523
|
1
|
|
524
524
|
/* TEXT */
|
|
525
525
|
)
|
|
@@ -562,7 +562,7 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
562
562
|
}, 8, ["spinning"])
|
|
563
563
|
]));
|
|
564
564
|
}
|
|
565
|
-
}), mt = /* @__PURE__ */ ee(ft, [["__scopeId", "data-v-
|
|
565
|
+
}), mt = /* @__PURE__ */ ee(ft, [["__scopeId", "data-v-7e5b1660"]]), de = i(null), gt = (S, D, u, r) => ({
|
|
566
566
|
selectUserRef: de,
|
|
567
567
|
selectUserVue: () => oe(mt, {
|
|
568
568
|
projectId: S,
|
|
@@ -590,13 +590,13 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
590
590
|
},
|
|
591
591
|
emits: ["update:modelValue", "selectConfirm", "selectCancel"],
|
|
592
592
|
setup(S, { expose: D, emit: u }) {
|
|
593
|
-
const r = S, g = u,
|
|
593
|
+
const r = S, g = u, w = i(!1), C = _(() => r.header || Y("添加组织/用户")), $ = _(() => r.isTableSensitive), O = _(() => r.isSelectedSensitive), d = _(() => r.singleTabKey), p = _({
|
|
594
594
|
get: () => r.modelValue,
|
|
595
595
|
set: (k) => g("update:modelValue", k)
|
|
596
|
-
}), K = Ie().id, { selectOrgVue: v, selectOrgRef: U } = nt(K,
|
|
596
|
+
}), K = Ie().id, { selectOrgVue: v, selectOrgRef: U } = nt(K, O.value, r), { selectUserVue: b, selectUserRef: N } = gt(
|
|
597
597
|
K,
|
|
598
598
|
$.value,
|
|
599
|
-
|
|
599
|
+
O.value,
|
|
600
600
|
r
|
|
601
601
|
), f = i(1), x = [
|
|
602
602
|
{
|
|
@@ -615,9 +615,9 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
615
615
|
g("selectConfirm", y.value);
|
|
616
616
|
}, M = (k) => {
|
|
617
617
|
}, G = () => {
|
|
618
|
-
f.value = 1,
|
|
618
|
+
f.value = 1, w.value = !1, g("selectCancel");
|
|
619
619
|
}, H = () => {
|
|
620
|
-
y.value = r.selectData,
|
|
620
|
+
y.value = r.selectData, w.value = !0;
|
|
621
621
|
};
|
|
622
622
|
return D({
|
|
623
623
|
setUserSelectData: (k) => {
|
|
@@ -685,7 +685,7 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
685
685
|
])
|
|
686
686
|
]),
|
|
687
687
|
default: h(() => [
|
|
688
|
-
|
|
688
|
+
w.value ? (V(), B("div", bt, [
|
|
689
689
|
d.value == 1 ? (V(), Q(l(v), { key: 0 })) : d.value == 2 ? (V(), Q(l(b), { key: 1 })) : (V(), Q(l(Ne), {
|
|
690
690
|
key: 2,
|
|
691
691
|
activeKey: f.value,
|
|
@@ -735,8 +735,8 @@ const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
735
735
|
"das-user-org-dialog-user-locked": { "zh-CN": "锁定", en: "Locked", _appCode: "framework" },
|
|
736
736
|
"das-user-org-dialog-user-disable": { "zh-CN": "禁用", en: "Disabled", _appCode: "framework" }
|
|
737
737
|
};
|
|
738
|
-
|
|
739
|
-
const Kt = () => i(null), qt =
|
|
738
|
+
Oe(kt);
|
|
739
|
+
const Kt = () => i(null), qt = we(Ct);
|
|
740
740
|
export {
|
|
741
741
|
qt as DasUserOrgDialog,
|
|
742
742
|
Kt as DasUserOrgDialogRef
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.select-list-container[data-v-5b1d2b02]{width:100%;height:100%;min-width:150px;overflow:hidden}.select-list-container .check-text[data-v-5b1d2b02]{font-size:12px;color:#212121;letter-spacing:0;line-height:18px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-org-container[data-v-
|
|
1
|
+
.select-list-container[data-v-5b1d2b02]{width:100%;height:100%;min-width:150px;overflow:hidden}.select-list-container .check-text[data-v-5b1d2b02]{font-size:12px;color:#212121;letter-spacing:0;line-height:18px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-org-container[data-v-2677514c]{width:100%;height:100%;overflow:hidden}.select-org-container .split-left-content[data-v-2677514c]{width:100%;height:100%}.select-org-container .split-right-box[data-v-2677514c]{width:100%;height:100%;display:flex}.select-org-container .split-table[data-v-2677514c]{flex:1;height:100%;overflow:hidden;display:flex;flex-direction:column;border-right:1px solid #d9d9d9;min-width:500px}.select-org-container .split-table .split-table-content[data-v-2677514c]{flex:1;width:100%;overflow:hidden}.select-org-container .split-table .split-table-top[data-v-2677514c]{height:40px;padding-right:20px;display:flex;align-items:center;justify-content:flex-end}.select-org-container .split-table .split-table-top .das-ui-input.das-input-normal-size[data-v-2677514c]{width:200px}.select-org-container .split-table .table-searc-box[data-v-2677514c]{padding-right:14px;flex-shrink:0;height:40px;display:flex;align-items:center;justify-content:flex-end}.select-org-container .split-checkd[data-v-2677514c]{width:200px;height:100%;min-width:150px;overflow:hidden}.select-org-container .split-checkd .check-text[data-v-2677514c]{font-size:12px;color:#212121;letter-spacing:0;line-height:18px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-user-container[data-v-7e5b1660]{width:100%;height:100%;overflow:hidden}.select-user-container .split-left-content[data-v-7e5b1660]{width:100%;height:100%}.select-user-container .split-right-box[data-v-7e5b1660]{width:100%;height:100%;display:flex}.select-user-container .split-table[data-v-7e5b1660]{flex:1;height:100%;overflow:hidden;display:flex;flex-direction:column;border-right:1px solid #d9d9d9;min-width:500px}.select-user-container .split-table .split-table-content[data-v-7e5b1660]{flex:1;width:100%;overflow:hidden}.select-user-container .split-table .split-table-top[data-v-7e5b1660]{height:40px;padding-right:20px;display:flex;align-items:center;justify-content:flex-end}.select-user-container .split-table .split-table-top .das-ui-input.das-input-normal-size[data-v-7e5b1660]{width:200px}.select-user-container .split-table .table-searc-box[data-v-7e5b1660]{padding-right:14px;flex-shrink:0;height:40px;display:flex;align-items:center;justify-content:flex-end}.select-user-container .split-checkd[data-v-7e5b1660]{width:200px;height:100%;min-width:150px;overflow:hidden}.select-user-container .split-checkd .check-text[data-v-7e5b1660]{font-size:12px;color:#212121;letter-spacing:0;line-height:18px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.foot-btn-box .das-ui-button+.das-ui-button[data-v-139fae42]{margin-left:12px}.select-org-user-dialog-content[data-v-139fae42]{width:100%;height:100%}.select-org-user-dialog-content .ant-tabs-nav{margin-bottom:0!important}.select-org-user-dialog-content .ant-tabs-content .das-ui-table .table-container .el-table__inner-wrapper:before{display:none}
|
|
Binary file
|