@das-fed/ui 6.4.0-dev.55.13 → 6.4.0-dev.55.15
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/esm-map.json +4 -1
- package/package.json +5 -5
- package/packages/business-components/change-enterprises/index.js +8 -8
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-pwd/index.js +37 -37
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/currency-page/index.js +16 -16
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/index.js +12414 -12707
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/operatingData/index.vue.d.ts +1 -7
- package/packages/business-components/device-panel/src/hooks/use-operating-data.d.ts +22 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/export-button/index.js +30 -30
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +1 -1
- package/packages/business-components/import-button/index.js +57 -57
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/index.js +1 -1
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/process-configuration/index.js +58 -58
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +209 -214
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-search-form/index.js +25 -25
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/upload-file/index.js +13 -13
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/index.js +245 -245
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/index.js +67 -67
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/components/date-picker/index.js +61 -61
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/dimple-layout/index.js +7 -7
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/image-upload/index.js +57 -57
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/input-dialog-select/i18n/index.d.ts +12 -1
- package/packages/components/input-dialog-select/index.d.ts +1 -0
- package/packages/components/input-dialog-select/index.js +108 -101
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-dialog-select/src/Index.vue.d.ts +1 -0
- package/packages/components/input-dialog-select/style.css +1 -1
- package/packages/components/input-dialog-select/style.css.gz +0 -0
- package/packages/components/live-player/index.js +142 -142
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/map/index.js +3 -3
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/rich-editor/index.js +4 -4
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/select/index.js +41 -41
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/table/index.js +460 -460
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/tree/index.js +1 -1
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/upload/index.js +7 -7
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/icons/exit/index.d.ts +1 -0
- package/packages/icons/exit/index.js +17 -0
- package/packages/icons/exit/index.js.gz +0 -0
- package/packages/icons/exit/index.vue.d.ts +16 -0
- package/packages/icons/global/index.d.ts +1 -0
- package/packages/icons/global/index.js +17 -0
- package/packages/icons/global/index.js.gz +0 -0
- package/packages/icons/global/index.vue.d.ts +16 -0
- package/packages/icons/index.d.ts +3 -0
- package/packages/icons/index.js +3 -0
- package/packages/icons/system/index.d.ts +1 -0
- package/packages/icons/system/index.js +17 -0
- package/packages/icons/system/index.js.gz +0 -0
- package/packages/icons/system/index.vue.d.ts +16 -0
|
Binary file
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/user-org-dialog/style.css';
|
|
2
2
|
import { ref as r, defineComponent as Y, computed as h, openBlock as w, createElementBlock as A, createVNode as c, unref as l, isRef as Ce, withCtx as v, withDirectives as Te, toDisplayString as R, h as se, onMounted as de, watch as pe, nextTick as ve, createElementVNode as N, createBlock as H, mergeProps as ze, createTextVNode as le, createCommentVNode as ke } from "vue";
|
|
3
|
-
import { withInstall as
|
|
4
|
-
import { i18n as z, t as
|
|
3
|
+
import { withInstall as De } from "@das-fed/utils/with-install/index";
|
|
4
|
+
import { i18n as z, t as Oe, setI18nRule as we } from "@das-fed/web/packages/i18n/index";
|
|
5
5
|
import { DasTabs as Ve } from "@das-fed/ui/packages/components/tabs/index";
|
|
6
6
|
import { DasButton as ie } from "@das-fed/ui/packages/components/button/index";
|
|
7
7
|
import { DasDialog as Ne } from "@das-fed/ui/packages/components/dialog/index";
|
|
8
|
-
import { getProjectInfo as
|
|
8
|
+
import { getProjectInfo as Ie } from "@das-fed/utils/common-info";
|
|
9
9
|
import { DasSearch as fe } from "@das-fed/ui/packages/components/search/index";
|
|
10
10
|
import { DasSpin as me } from "@das-fed/ui/packages/components/spin/index";
|
|
11
11
|
import { DasSplitPanel as ge } from "@das-fed/ui/packages/components/split-panel/index";
|
|
12
12
|
import { DasTable as he, DasTableColumn as K } from "@das-fed/ui/packages/components/table/index";
|
|
13
13
|
import { DasTree as be } from "@das-fed/ui/packages/components/tree/index";
|
|
14
|
-
import { DasSelectList as
|
|
15
|
-
import { vDasTooltip as
|
|
14
|
+
import { DasSelectList as Pe } from "@das-fed/ui/packages/components/select-list/index";
|
|
15
|
+
import { vDasTooltip as Ue } from "@das-fed/ui/packages/components/text-tooltip/index";
|
|
16
16
|
import { enterpriseright as $e } from "@das-fed/utils/api-services/modules/enterpriseright";
|
|
17
17
|
import { createService as xe } from "@das-fed/utils/create-api-service";
|
|
18
18
|
import { DasTooltip as Le } from "@das-fed/ui/packages/components/tooltip/index";
|
|
@@ -27,18 +27,18 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
27
27
|
setup(_, { emit: k }) {
|
|
28
28
|
const u = _, n = h(() => u.isSelectedSensitive), V = k, d = (B) => {
|
|
29
29
|
V("itemRemove", B);
|
|
30
|
-
},
|
|
30
|
+
}, I = (B) => {
|
|
31
31
|
V("clearCheck");
|
|
32
32
|
};
|
|
33
|
-
return (B,
|
|
34
|
-
c(l(
|
|
33
|
+
return (B, D) => (w(), A("div", Ae, [
|
|
34
|
+
c(l(Pe), {
|
|
35
35
|
modelValue: l(b),
|
|
36
|
-
"onUpdate:modelValue":
|
|
36
|
+
"onUpdate:modelValue": D[0] || (D[0] = (i) => Ce(b) ? b.value = i : null),
|
|
37
37
|
width: "100%",
|
|
38
38
|
height: "100%",
|
|
39
39
|
"custom-style": { border: "none" },
|
|
40
40
|
onItemRemove: d,
|
|
41
|
-
onRemoveAll:
|
|
41
|
+
onRemoveAll: I
|
|
42
42
|
}, {
|
|
43
43
|
default: v(({ item: i }) => [
|
|
44
44
|
Te((w(), A("div", Re, [
|
|
@@ -68,7 +68,7 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
68
68
|
/* TEXT */
|
|
69
69
|
))
|
|
70
70
|
])), [
|
|
71
|
-
[l(
|
|
71
|
+
[l(Ue)]
|
|
72
72
|
])
|
|
73
73
|
]),
|
|
74
74
|
_: 1
|
|
@@ -108,10 +108,10 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
108
108
|
}), d = h(() => {
|
|
109
109
|
var a, e;
|
|
110
110
|
return (e = (a = u.initProps) == null ? void 0 : a.customApiOptions) == null ? void 0 : e.orgTree;
|
|
111
|
-
}),
|
|
111
|
+
}), I = h(() => {
|
|
112
112
|
var a, e;
|
|
113
113
|
return (e = (a = u.initProps) == null ? void 0 : a.customApiOptions) == null ? void 0 : e.orgTable;
|
|
114
|
-
}), B = h(() => u.isSelectedSensitive),
|
|
114
|
+
}), B = h(() => u.isSelectedSensitive), D = r(!1), i = r([]), O = r(""), y = r(""), P = r(""), S = r([]), C = r([]), f = r(20), m = r(1), U = r(0);
|
|
115
115
|
de(() => {
|
|
116
116
|
$(), q();
|
|
117
117
|
});
|
|
@@ -126,12 +126,12 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
126
126
|
}, { selectListRef: J, selectListVue: ee } = _e(B.value, F, M), G = (a) => {
|
|
127
127
|
var t, s, o;
|
|
128
128
|
const e = n.value && ((t = d.value) != null && t.disabledOrgTypes) && ((s = d.value) == null ? void 0 : s.disabledOrgTypes.length) > 0 ? (o = d.value) == null ? void 0 : o.disabledOrgTypes : [1, 2, 3, 4, 5, 6];
|
|
129
|
-
a._disabled = !a[V.value] || e.includes(a.type), !a._disabled && !
|
|
129
|
+
a._disabled = !a[V.value] || e.includes(a.type), !a._disabled && !O.value && (O.value = a.id), a.children && a.children.length && a.children.forEach((p) => {
|
|
130
130
|
G(p);
|
|
131
131
|
});
|
|
132
132
|
}, $ = async () => {
|
|
133
133
|
var o, p;
|
|
134
|
-
|
|
134
|
+
D.value = !0;
|
|
135
135
|
let a = {};
|
|
136
136
|
if (n.value && d.value) {
|
|
137
137
|
const { params: T = {}, query: L = {} } = d.value;
|
|
@@ -144,7 +144,7 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
144
144
|
};
|
|
145
145
|
const e = n.value && ((o = d.value) != null && o.api) ? (p = d.value) == null ? void 0 : p.api : Se, [t, s] = await e(a).run();
|
|
146
146
|
if (t) {
|
|
147
|
-
|
|
147
|
+
D.value = !1;
|
|
148
148
|
return;
|
|
149
149
|
}
|
|
150
150
|
s && s.length && s.forEach((T) => {
|
|
@@ -152,31 +152,31 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
152
152
|
}), i.value = s, x();
|
|
153
153
|
}, g = async () => {
|
|
154
154
|
var o, p;
|
|
155
|
-
if (!
|
|
156
|
-
|
|
155
|
+
if (!O.value) {
|
|
156
|
+
D.value = !1, S.value = [], U.value = 0;
|
|
157
157
|
return;
|
|
158
158
|
}
|
|
159
|
-
|
|
159
|
+
D.value = !0;
|
|
160
160
|
let a = {};
|
|
161
|
-
if (n.value &&
|
|
162
|
-
const { params: T = {}, query: L = {}, treeKey: E = "", searchKey: X = "" } =
|
|
163
|
-
a = { ...T, ...L }, E ? a[E] =
|
|
161
|
+
if (n.value && I.value) {
|
|
162
|
+
const { params: T = {}, query: L = {}, treeKey: E = "", searchKey: X = "" } = I.value;
|
|
163
|
+
a = { ...T, ...L }, E ? a[E] = O.value : a.parentId = O.value, X ? a[X] = P.value : a.search = P.value;
|
|
164
164
|
} else
|
|
165
165
|
a = {
|
|
166
|
-
parentId:
|
|
166
|
+
parentId: O.value,
|
|
167
167
|
// 树id
|
|
168
|
-
search:
|
|
168
|
+
search: P.value
|
|
169
169
|
// 名称
|
|
170
170
|
};
|
|
171
171
|
a.pageIndex = m.value, a.pageSize = f.value;
|
|
172
|
-
const e = n.value && ((o =
|
|
172
|
+
const e = n.value && ((o = I.value) != null && o.api) ? (p = I.value) == null ? void 0 : p.api : Qe, [t, s] = await e(a).run();
|
|
173
173
|
if (t) {
|
|
174
|
-
|
|
174
|
+
D.value = !1;
|
|
175
175
|
return;
|
|
176
176
|
}
|
|
177
|
-
S.value = s.data.map((T) => (T.identityType = 2, T)),
|
|
177
|
+
S.value = s.data.map((T) => (T.identityType = 2, T)), U.value = Number(s.totalCount), D.value = !1;
|
|
178
178
|
}, x = () => {
|
|
179
|
-
|
|
179
|
+
P.value = "", y.value = "", S.value = [], f.value = 20, m.value = 1, Q();
|
|
180
180
|
}, Q = () => {
|
|
181
181
|
m.value = 1, g();
|
|
182
182
|
}, W = (a) => {
|
|
@@ -194,7 +194,7 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
194
194
|
});
|
|
195
195
|
};
|
|
196
196
|
return pe(
|
|
197
|
-
() =>
|
|
197
|
+
() => O,
|
|
198
198
|
() => {
|
|
199
199
|
ve(() => {
|
|
200
200
|
g();
|
|
@@ -207,7 +207,7 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
207
207
|
), k({
|
|
208
208
|
setSelectData: j
|
|
209
209
|
}), (a, e) => (w(), A("div", We, [
|
|
210
|
-
c(l(me), { spinning:
|
|
210
|
+
c(l(me), { spinning: D.value }, {
|
|
211
211
|
default: v(() => [
|
|
212
212
|
c(l(ge), {
|
|
213
213
|
defaultSplit: { first: 223 },
|
|
@@ -226,8 +226,8 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
226
226
|
"node-key": "id",
|
|
227
227
|
props: { disabled: "_disabled" },
|
|
228
228
|
inputOptions: { placeholder: l(z)("搜索组织名称").value },
|
|
229
|
-
modelValue:
|
|
230
|
-
"onUpdate:modelValue": e[0] || (e[0] = (t) =>
|
|
229
|
+
modelValue: O.value,
|
|
230
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => O.value = t),
|
|
231
231
|
"filter-value": y.value,
|
|
232
232
|
"onUpdate:filterValue": e[1] || (e[1] = (t) => y.value = t),
|
|
233
233
|
"is-ellipsis": ""
|
|
@@ -239,8 +239,8 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
239
239
|
N("div", Ze, [
|
|
240
240
|
N("div", et, [
|
|
241
241
|
c(l(fe), {
|
|
242
|
-
modelValue:
|
|
243
|
-
"onUpdate:modelValue": e[2] || (e[2] = (t) =>
|
|
242
|
+
modelValue: P.value,
|
|
243
|
+
"onUpdate:modelValue": e[2] || (e[2] = (t) => P.value = t),
|
|
244
244
|
searchType: "basis",
|
|
245
245
|
isIconLeft: "",
|
|
246
246
|
size: "small",
|
|
@@ -252,7 +252,7 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
252
252
|
c(l(he), {
|
|
253
253
|
height: "100%",
|
|
254
254
|
data: S.value,
|
|
255
|
-
total:
|
|
255
|
+
total: U.value,
|
|
256
256
|
selection: "",
|
|
257
257
|
"pagination-props": { layout: "prev,next,sizes", small: !0 },
|
|
258
258
|
"current-page": m.value,
|
|
@@ -326,10 +326,10 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
326
326
|
}), d = h(() => {
|
|
327
327
|
var e, t;
|
|
328
328
|
return (t = (e = u.initProps) == null ? void 0 : e.customApiOptions) == null ? void 0 : t.orgTree;
|
|
329
|
-
}),
|
|
329
|
+
}), I = h(() => {
|
|
330
330
|
var e, t;
|
|
331
331
|
return (t = (e = u.initProps) == null ? void 0 : e.customApiOptions) == null ? void 0 : t.userTable;
|
|
332
|
-
}), B = h(() => u.isTableSensitive),
|
|
332
|
+
}), B = h(() => u.isTableSensitive), D = h(() => u.isSelectedSensitive), i = r(!1), O = r([]), y = r(""), P = r(""), S = r(""), C = r([]), f = r([]), m = r(20), U = r(1), q = r(0);
|
|
333
333
|
de(() => {
|
|
334
334
|
g(), j();
|
|
335
335
|
});
|
|
@@ -341,7 +341,7 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
341
341
|
f.value = f.value.filter((t) => t.id != e.id);
|
|
342
342
|
}, J = () => {
|
|
343
343
|
b.value = [], f.value = [];
|
|
344
|
-
}, { selectListRef: ee, selectListVue: G } = _e(
|
|
344
|
+
}, { selectListRef: ee, selectListVue: G } = _e(D.value, M, J), $ = (e) => {
|
|
345
345
|
var s, o, p;
|
|
346
346
|
const t = n.value && ((s = d.value) != null && s.disabledOrgTypes) && ((o = d.value) == null ? void 0 : o.disabledOrgTypes.length) > 0 ? (p = d.value) == null ? void 0 : p.disabledOrgTypes : [1, 2, 3, 4, 5, 6];
|
|
347
347
|
e._disabled = !e[V.value] || t.includes(e.type), !e._disabled && !y.value && (y.value = e.id), e.children && e.children.length && e.children.forEach((T) => {
|
|
@@ -367,7 +367,7 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
367
367
|
}
|
|
368
368
|
o && o.length && o.forEach((L) => {
|
|
369
369
|
$(L);
|
|
370
|
-
}),
|
|
370
|
+
}), O.value = o, Q();
|
|
371
371
|
}, x = async () => {
|
|
372
372
|
var p, T, L;
|
|
373
373
|
if (!y.value) {
|
|
@@ -376,8 +376,8 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
376
376
|
}
|
|
377
377
|
i.value = !0;
|
|
378
378
|
let e = {};
|
|
379
|
-
if (n.value &&
|
|
380
|
-
const { params: E = {}, query: X = {}, treeKey: oe = "", searchKey: ne = "" } =
|
|
379
|
+
if (n.value && I.value) {
|
|
380
|
+
const { params: E = {}, query: X = {}, treeKey: oe = "", searchKey: ne = "" } = I.value;
|
|
381
381
|
e = { ...E, ...X }, oe ? e[oe] = y.value : e.id = y.value, ne ? e[ne] = S.value : e.filterValue = S.value;
|
|
382
382
|
} else
|
|
383
383
|
e = {
|
|
@@ -386,21 +386,21 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
386
386
|
filterValue: S.value
|
|
387
387
|
//账号或姓名
|
|
388
388
|
};
|
|
389
|
-
e.pageIndex =
|
|
390
|
-
const t = n.value && ((p =
|
|
389
|
+
e.pageIndex = U.value, e.pageSize = m.value, e.statusList = [1, 2];
|
|
390
|
+
const t = n.value && ((p = I.value) != null && p.api) ? (T = I.value) == null ? void 0 : T.api : Je, [s, o] = await t(e).run();
|
|
391
391
|
if (s) {
|
|
392
392
|
i.value = !1;
|
|
393
393
|
return;
|
|
394
394
|
}
|
|
395
395
|
i.value = !1, C.value = (L = o == null ? void 0 : o.data) == null ? void 0 : L.map((E) => (E.identityType = 1, E)), q.value = Number(o.totalCount);
|
|
396
396
|
}, Q = () => {
|
|
397
|
-
S.value = "",
|
|
397
|
+
S.value = "", P.value = "", C.value = [], m.value = 20, U.value = 1, W();
|
|
398
398
|
}, W = () => {
|
|
399
|
-
|
|
399
|
+
U.value = 1, x();
|
|
400
400
|
}, te = (e) => {
|
|
401
|
-
|
|
401
|
+
U.value = 1, m.value = e, x();
|
|
402
402
|
}, ae = (e) => {
|
|
403
|
-
|
|
403
|
+
U.value = e, x();
|
|
404
404
|
}, a = (e) => {
|
|
405
405
|
let t = [], s = [];
|
|
406
406
|
e.forEach((o) => {
|
|
@@ -439,15 +439,15 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
439
439
|
N("div", rt, [
|
|
440
440
|
c(l(be), {
|
|
441
441
|
ref: "organizationTree",
|
|
442
|
-
data:
|
|
442
|
+
data: O.value,
|
|
443
443
|
isFilter: "",
|
|
444
444
|
"node-key": "id",
|
|
445
445
|
props: { disabled: "_disabled" },
|
|
446
446
|
inputOptions: { placeholder: l(z)("搜索组织名称").value },
|
|
447
447
|
modelValue: y.value,
|
|
448
448
|
"onUpdate:modelValue": t[0] || (t[0] = (s) => y.value = s),
|
|
449
|
-
"filter-value":
|
|
450
|
-
"onUpdate:filterValue": t[1] || (t[1] = (s) =>
|
|
449
|
+
"filter-value": P.value,
|
|
450
|
+
"onUpdate:filterValue": t[1] || (t[1] = (s) => P.value = s),
|
|
451
451
|
"is-ellipsis": ""
|
|
452
452
|
}, null, 8, ["data", "inputOptions", "modelValue", "filter-value"])
|
|
453
453
|
])
|
|
@@ -474,8 +474,8 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
474
474
|
total: q.value,
|
|
475
475
|
selection: "",
|
|
476
476
|
"pagination-props": { layout: "prev,next,sizes", small: !0 },
|
|
477
|
-
"current-page":
|
|
478
|
-
"onUpdate:currentPage": t[3] || (t[3] = (s) =>
|
|
477
|
+
"current-page": U.value,
|
|
478
|
+
"onUpdate:currentPage": t[3] || (t[3] = (s) => U.value = s),
|
|
479
479
|
"selection-rows": f.value,
|
|
480
480
|
"onUpdate:selectionRows": t[4] || (t[4] = (s) => f.value = s),
|
|
481
481
|
"page-size": m.value,
|
|
@@ -575,15 +575,15 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
575
575
|
},
|
|
576
576
|
emits: ["update:modelValue", "selectConfirm", "selectCancel"],
|
|
577
577
|
setup(_, { expose: k, emit: u }) {
|
|
578
|
-
const n = _, V = u, d = r(!1),
|
|
578
|
+
const n = _, V = u, d = r(!1), I = h(() => n.header || Oe("添加组织/用户")), B = h(() => n.isTableSensitive), D = h(() => n.isSelectedSensitive), i = h(() => n.singleTabKey), O = h({
|
|
579
579
|
get: () => n.modelValue,
|
|
580
580
|
set: ($) => V("update:modelValue", $)
|
|
581
|
-
}), y =
|
|
581
|
+
}), y = Ie().id, { selectOrgVue: P, selectOrgRef: S } = nt(y, D.value, n), { selectUserVue: C, selectUserRef: f } = ht(
|
|
582
582
|
y,
|
|
583
583
|
B.value,
|
|
584
|
-
|
|
584
|
+
D.value,
|
|
585
585
|
n
|
|
586
|
-
), m = r(1),
|
|
586
|
+
), m = r(1), U = [
|
|
587
587
|
{
|
|
588
588
|
key: 1,
|
|
589
589
|
tab: z("组织").value,
|
|
@@ -615,8 +615,8 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
615
615
|
}
|
|
616
616
|
}), ($, g) => (w(), A("div", bt, [
|
|
617
617
|
c(l(Ne), ze({
|
|
618
|
-
modelValue:
|
|
619
|
-
"onUpdate:modelValue": g[1] || (g[1] = (x) =>
|
|
618
|
+
modelValue: O.value,
|
|
619
|
+
"onUpdate:modelValue": g[1] || (g[1] = (x) => O.value = x)
|
|
620
620
|
}, $.$attrs, {
|
|
621
621
|
customClass: "select-org-user-dialog",
|
|
622
622
|
type: "basic",
|
|
@@ -631,7 +631,7 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
631
631
|
}), {
|
|
632
632
|
header: v(() => [
|
|
633
633
|
le(
|
|
634
|
-
R(
|
|
634
|
+
R(I.value),
|
|
635
635
|
1
|
|
636
636
|
/* TEXT */
|
|
637
637
|
)
|
|
@@ -671,17 +671,17 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
671
671
|
]),
|
|
672
672
|
default: v(() => [
|
|
673
673
|
d.value ? (w(), A("div", _t, [
|
|
674
|
-
i.value == 1 ? (w(), H(l(
|
|
674
|
+
i.value == 1 ? (w(), H(l(P), { key: 0 })) : i.value == 2 ? (w(), H(l(C), { key: 1 })) : (w(), H(l(Ve), {
|
|
675
675
|
key: 2,
|
|
676
676
|
activeKey: m.value,
|
|
677
677
|
"onUpdate:activeKey": g[0] || (g[0] = (x) => m.value = x),
|
|
678
678
|
isStrict: "",
|
|
679
679
|
hideAdd: "",
|
|
680
|
-
options:
|
|
680
|
+
options: U,
|
|
681
681
|
onChange: F
|
|
682
682
|
}, {
|
|
683
683
|
contentSlot1: v(() => [
|
|
684
|
-
c(l(
|
|
684
|
+
c(l(P))
|
|
685
685
|
]),
|
|
686
686
|
contentSlot2: v(() => [
|
|
687
687
|
c(l(C))
|
|
@@ -702,23 +702,23 @@ const b = r([]), Ae = { class: "select-list-container" }, Re = { class: "check-t
|
|
|
702
702
|
姓名: { "zh-CN": "姓名", en: "Name", _appCode: "framework" },
|
|
703
703
|
手机号: { "zh-CN": "手机号", en: "Phone Number", _appCode: "framework" },
|
|
704
704
|
状态: { "zh-CN": "状态", en: "Status", _appCode: "framework" },
|
|
705
|
-
搜索组织名称: { "zh-CN": "搜索组织名称", en: "Search
|
|
705
|
+
搜索组织名称: { "zh-CN": "搜索组织名称", en: "Search organization name", _appCode: "framework" },
|
|
706
706
|
组织编码: { "zh-CN": "组织编码", en: "Organization Code", _appCode: "framework" },
|
|
707
707
|
组织名称: { "zh-CN": "组织名称", en: "Organization Name", _appCode: "framework" },
|
|
708
708
|
组织路径: { "zh-CN": "组织路径", en: "Organization Path", _appCode: "framework" },
|
|
709
709
|
取消: { "zh-CN": "取消", en: "Cancel", _appCode: "framework" },
|
|
710
710
|
确定: { "zh-CN": "确定", en: "OK", _appCode: "framework" },
|
|
711
711
|
组织: { "zh-CN": "组织", en: "Organization", _appCode: "framework" },
|
|
712
|
-
"添加组织/用户": { "zh-CN": "添加组织/用户", en: "Add
|
|
712
|
+
"添加组织/用户": { "zh-CN": "添加组织/用户", en: "Add organization/user", _appCode: "framework" },
|
|
713
713
|
"搜索组织名称/组织编码": {
|
|
714
714
|
"zh-CN": "搜索组织名称/组织编码",
|
|
715
|
-
en: "Search
|
|
715
|
+
en: "Search organization name/code",
|
|
716
716
|
_appCode: "framework"
|
|
717
717
|
},
|
|
718
|
-
"搜索姓名/账号": { "zh-CN": "搜索姓名/账号", en: "Search
|
|
718
|
+
"搜索姓名/账号": { "zh-CN": "搜索姓名/账号", en: "Search name/account", _appCode: "framework" }
|
|
719
719
|
};
|
|
720
720
|
we(zt);
|
|
721
|
-
const qt = () => r(null), jt =
|
|
721
|
+
const qt = () => r(null), jt = De(Tt);
|
|
722
722
|
export {
|
|
723
723
|
jt as DasUserOrgDialog,
|
|
724
724
|
qt as DasUserOrgDialogRef
|
|
Binary file
|