@das-fed/ui 7.1.0-dev.10 → 7.1.0-dev.11
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/ai-panel/{index-DMJXZM7n.js → index-8yffh0Id.js} +1056 -1067
- package/packages/business-components/ai-panel/index-8yffh0Id.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-MqhMkLo9.js → index-IzGl26KU.js} +9 -9
- package/packages/business-components/ai-panel/index-IzGl26KU.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-_q72oKSF.js → index-OwRrV6K8.js} +62 -63
- package/packages/business-components/ai-panel/index-OwRrV6K8.js.gz +0 -0
- package/packages/business-components/ai-panel/index.js +1 -1
- package/packages/business-components/device-panel/index.d.ts +1 -1
- package/packages/business-components/device-panel/index.js +11286 -11344
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/index.vue.d.ts +1 -1
- package/packages/business-components/device-panel/src/index.vue.d.ts +1 -1
- package/packages/business-components/device-panel/src/render-panel.d.ts +2 -1
- 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/echarts/index.js +2049 -2056
- package/packages/business-components/echarts/index.js.gz +0 -0
- package/packages/business-components/process-configuration/index.js +46 -46
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +99 -99
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-search-form/index.js +77 -77
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/index.js +213 -215
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/index.js +1096 -1104
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/index.js +240 -243
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/index.js +64 -65
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/autocomplete/index.js +6 -12
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/calendar/index.js +99 -99
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/index.js +2 -2
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/checkbox/index.js +30 -30
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/collapse-panel/index.js +64 -39
- package/packages/components/collapse-panel/index.js.gz +0 -0
- package/packages/components/collapse-panel/style.css +1 -1
- package/packages/components/collapse-panel/style.css.gz +0 -0
- package/packages/components/date-picker/index.js +212 -212
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/dialog/index.js +1 -3
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dimple-layout/index.js +75 -77
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/index.js +24 -25
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/edit-table/index.js +397 -398
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/error-overlay-model/index.js +45 -47
- package/packages/components/error-overlay-model/index.js.gz +0 -0
- package/packages/components/form-item/index.js +67 -67
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/hls-player/index.js +7 -14
- package/packages/components/hls-player/index.js.gz +0 -0
- package/packages/components/image-upload/index.js +143 -147
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/index.js +293 -297
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/input/index.js +52 -52
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input-number/index.js +26 -26
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/live-player/index.js +248 -251
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/map/index.js +415 -421
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/index.js +1 -1
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/message/index.js +6 -6
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/popover/index.js +12 -12
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/radio-tabs/index.js +34 -34
- package/packages/components/radio-tabs/index.js.gz +0 -0
- package/packages/components/rich-editor/index.js +4583 -4613
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/scrollbar/index.js +135 -135
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/search/index.js +24 -24
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/select/index.js +60 -60
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/index.js +5 -9
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/index.js +14 -16
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/index.js +51 -53
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/index.js +33 -33
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/split-panel/index.js +128 -129
- package/packages/components/split-panel/index.js.gz +0 -0
- package/packages/components/table/index.js +178 -179
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/time-line/index.js +1 -1
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tree-select/index.js +1 -1
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-table/index.js +2 -2
- package/packages/components/tree-table/index.js.gz +0 -0
- package/packages/components/tree-v2/index.js +1093 -1117
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/business-components/ai-panel/index-DMJXZM7n.js.gz +0 -0
- package/packages/business-components/ai-panel/index-MqhMkLo9.js.gz +0 -0
- package/packages/business-components/ai-panel/index-_q72oKSF.js.gz +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/user-org-dialog/style.css';
|
|
2
|
-
import { ref as i, defineComponent as Z, computed as
|
|
3
|
-
import { withInstall as
|
|
4
|
-
import { i18n as
|
|
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 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";
|
|
8
|
-
import { getProjectInfo as
|
|
9
|
-
import { DasSearch as
|
|
10
|
-
import { DasSpin as
|
|
8
|
+
import { getProjectInfo as Ie } from "@das-fed/utils/common-info";
|
|
9
|
+
import { DasSearch as me } from "@das-fed/ui/packages/components/search/index";
|
|
10
|
+
import { DasSpin as ge } from "@das-fed/ui/packages/components/spin/index";
|
|
11
11
|
import { DasSplitPanel as he } from "@das-fed/ui/packages/components/split-panel/index";
|
|
12
12
|
import { DasTable as be, DasTableColumn as j } from "@das-fed/ui/packages/components/table/index";
|
|
13
|
-
import { DasTree as
|
|
13
|
+
import { DasTree as _e } from "@das-fed/ui/packages/components/tree/index";
|
|
14
14
|
import { DasSelectList as Pe } from "@das-fed/ui/packages/components/select-list/index";
|
|
15
|
-
import { vDasTooltip as
|
|
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
|
-
import { DasTooltip as
|
|
19
|
-
const
|
|
18
|
+
import { DasTooltip as Le } from "@das-fed/ui/packages/components/tooltip/index";
|
|
19
|
+
const y = i([]), Ae = { class: "select-list-container" }, Re = { class: "check-text" }, Be = { key: 0 }, Ee = { key: 1 }, Ke = { key: 2 }, qe = { key: 3 }, je = {
|
|
20
20
|
name: "selectList"
|
|
21
21
|
}, Fe = /* @__PURE__ */ Z({
|
|
22
22
|
...je,
|
|
@@ -24,24 +24,24 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
24
24
|
isSelectedSensitive: { type: Boolean, default: !0 }
|
|
25
25
|
},
|
|
26
26
|
emits: ["itemRemove", "clearCheck"],
|
|
27
|
-
setup(
|
|
28
|
-
const u =
|
|
29
|
-
|
|
30
|
-
},
|
|
31
|
-
|
|
27
|
+
setup(S, { emit: D }) {
|
|
28
|
+
const u = S, r = _(() => u.isSelectedSensitive), g = D, w = ($) => {
|
|
29
|
+
g("itemRemove", $);
|
|
30
|
+
}, C = ($) => {
|
|
31
|
+
g("clearCheck");
|
|
32
32
|
};
|
|
33
|
-
return (
|
|
33
|
+
return ($, O) => (V(), B("div", Ae, [
|
|
34
34
|
c(l(Pe), {
|
|
35
|
-
modelValue: l(
|
|
36
|
-
"onUpdate:modelValue":
|
|
35
|
+
modelValue: l(y),
|
|
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:
|
|
41
|
-
onRemoveAll:
|
|
40
|
+
onItemRemove: w,
|
|
41
|
+
onRemoveAll: C
|
|
42
42
|
}, {
|
|
43
43
|
default: h(({ item: d }) => [
|
|
44
|
-
|
|
44
|
+
ze((V(), B("div", Re, [
|
|
45
45
|
d.identityType == 2 ? (V(), B(
|
|
46
46
|
"span",
|
|
47
47
|
Be,
|
|
@@ -68,7 +68,7 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
68
68
|
/* TEXT */
|
|
69
69
|
))
|
|
70
70
|
])), [
|
|
71
|
-
[l(
|
|
71
|
+
[l(Ue)]
|
|
72
72
|
])
|
|
73
73
|
]),
|
|
74
74
|
_: 1
|
|
@@ -76,91 +76,91 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
76
76
|
}, 8, ["modelValue"])
|
|
77
77
|
]));
|
|
78
78
|
}
|
|
79
|
-
}), ee = (
|
|
80
|
-
const u =
|
|
81
|
-
for (const [r,
|
|
82
|
-
u[r] =
|
|
79
|
+
}), ee = (S, D) => {
|
|
80
|
+
const u = S.__vccOpts || S;
|
|
81
|
+
for (const [r, g] of D)
|
|
82
|
+
u[r] = g;
|
|
83
83
|
return u;
|
|
84
|
-
}, Me = /* @__PURE__ */ ee(Fe, [["__scopeId", "data-v-5b1d2b02"]]), ue = i(null),
|
|
84
|
+
}, Me = /* @__PURE__ */ ee(Fe, [["__scopeId", "data-v-5b1d2b02"]]), ue = i(null), ye = (S, D, u) => ({
|
|
85
85
|
selectListRef: ue,
|
|
86
|
-
selectListVue: () =>
|
|
87
|
-
isSelectedSensitive:
|
|
88
|
-
onItemRemove:
|
|
86
|
+
selectListVue: () => oe(Me, {
|
|
87
|
+
isSelectedSensitive: S,
|
|
88
|
+
onItemRemove: D,
|
|
89
89
|
onClearCheck: u,
|
|
90
90
|
ref: ue
|
|
91
91
|
})
|
|
92
|
-
}), Ge = "v1", He = `/api/fms/base/interface//${Ge}`,
|
|
92
|
+
}), Ge = "v1", He = `/api/fms/base/interface//${Ge}`, Se = xe(`${He}`), Ce = Se.post("/organization/authtree"), Je = $e.post("/organization/user"), Qe = Se.post("/organization/organizationpage"), We = { class: "select-org-container" }, Xe = { class: "split-left-content" }, Ye = { class: "split-right-box" }, Ze = { class: "split-table" }, et = { class: "table-searc-box" }, tt = { class: "split-table-content" }, at = { class: "split-checkd" }, lt = {
|
|
93
93
|
name: "selectOrg"
|
|
94
|
-
},
|
|
94
|
+
}, st = /* @__PURE__ */ Z({
|
|
95
95
|
...lt,
|
|
96
96
|
props: {
|
|
97
97
|
projectId: { default: "" },
|
|
98
98
|
isSelectedSensitive: { type: Boolean, default: !0 },
|
|
99
99
|
initProps: {}
|
|
100
100
|
},
|
|
101
|
-
setup(
|
|
102
|
-
const u =
|
|
101
|
+
setup(S, { expose: D }) {
|
|
102
|
+
const u = S, r = _(() => {
|
|
103
103
|
var t;
|
|
104
104
|
return ((t = u.initProps) == null ? void 0 : t.isCustomApi) || !1;
|
|
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 (
|
|
111
|
-
}),
|
|
112
|
-
var t,
|
|
113
|
-
return (
|
|
114
|
-
}),
|
|
108
|
+
}), w = _(() => {
|
|
109
|
+
var t, o;
|
|
110
|
+
return (o = (t = u.initProps) == null ? void 0 : t.customApiOptions) == null ? void 0 : o.orgTree;
|
|
111
|
+
}), C = _(() => {
|
|
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
|
-
const
|
|
119
|
-
b.value =
|
|
118
|
+
const L = () => {
|
|
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
|
-
|
|
123
|
+
b.value = b.value.filter((o) => o.id != t.id);
|
|
124
124
|
}, G = () => {
|
|
125
|
-
|
|
126
|
-
}, { selectListVue: H } =
|
|
127
|
-
var e, a,
|
|
128
|
-
const
|
|
129
|
-
t._disabled = !t[
|
|
125
|
+
y.value = [], b.value = [];
|
|
126
|
+
}, { selectListVue: H } = ye($.value, M, G), J = (t) => {
|
|
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 (
|
|
137
|
-
const { params:
|
|
138
|
-
t = { ...
|
|
136
|
+
if (r.value && w.value) {
|
|
137
|
+
const { params: m = {}, query: R = {} } = w.value;
|
|
138
|
+
t = { ...m, ...R };
|
|
139
139
|
} else
|
|
140
140
|
t = {
|
|
141
141
|
name: "",
|
|
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
|
-
a && a.length && a.forEach((
|
|
151
|
-
J(
|
|
152
|
-
}), d.value = a,
|
|
153
|
-
},
|
|
154
|
-
var
|
|
150
|
+
a && a.length && a.forEach((m) => {
|
|
151
|
+
J(m);
|
|
152
|
+
}), d.value = a, I();
|
|
153
|
+
}, k = async () => {
|
|
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
|
-
if (r.value &&
|
|
162
|
-
const { params:
|
|
163
|
-
t = { ...
|
|
161
|
+
if (r.value && C.value) {
|
|
162
|
+
const { params: m = {}, query: R = {}, treeKey: q = "", searchKey: z = "" } = C.value;
|
|
163
|
+
t = { ...m, ...R }, q ? t[q] = p.value : t.parentId = p.value, z ? t[z] = v.value : t.search = v.value;
|
|
164
164
|
} else
|
|
165
165
|
t = {
|
|
166
166
|
parentId: p.value,
|
|
@@ -168,47 +168,46 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
168
168
|
search: v.value
|
|
169
169
|
// 名称
|
|
170
170
|
};
|
|
171
|
-
t.pageIndex =
|
|
172
|
-
const
|
|
173
|
-
if (
|
|
174
|
-
|
|
171
|
+
t.pageIndex = f.value, t.pageSize = N.value;
|
|
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
|
+
if (e) {
|
|
174
|
+
O.value = !1;
|
|
175
175
|
return;
|
|
176
176
|
}
|
|
177
|
-
|
|
178
|
-
},
|
|
179
|
-
|
|
180
|
-
},
|
|
181
|
-
|
|
177
|
+
U.value = a.data.map((m) => (m.identityType = 2, m)), x.value = Number(a.totalCount), O.value = !1;
|
|
178
|
+
}, I = () => {
|
|
179
|
+
v.value = "", K.value = "", U.value = [], N.value = 20, f.value = 1, A();
|
|
180
|
+
}, A = () => {
|
|
181
|
+
f.value = 1, k();
|
|
182
182
|
}, te = (t) => {
|
|
183
|
-
|
|
183
|
+
f.value = 1, N.value = t, k();
|
|
184
184
|
}, X = (t) => {
|
|
185
|
-
|
|
185
|
+
f.value = t, k();
|
|
186
186
|
}, ae = (t) => {
|
|
187
|
-
|
|
188
|
-
let s = [], e = [];
|
|
187
|
+
let o = [], e = [];
|
|
189
188
|
t.forEach((a) => {
|
|
190
|
-
|
|
191
|
-
}),
|
|
192
|
-
|
|
193
|
-
}),
|
|
194
|
-
|
|
189
|
+
o.push(a.id);
|
|
190
|
+
}), U.value.forEach((a) => {
|
|
191
|
+
o.includes(a.id) || e.push(a.id);
|
|
192
|
+
}), y.value = y.value.filter((a) => !e.includes(a.id)), t.forEach((a) => {
|
|
193
|
+
y.value.some((s) => s.id === a.id) || y.value.push(a);
|
|
195
194
|
});
|
|
196
195
|
};
|
|
197
196
|
return ve(
|
|
198
197
|
() => p,
|
|
199
198
|
() => {
|
|
200
|
-
|
|
201
|
-
|
|
199
|
+
fe(() => {
|
|
200
|
+
k();
|
|
202
201
|
});
|
|
203
202
|
},
|
|
204
203
|
{
|
|
205
204
|
immediate: !0,
|
|
206
205
|
deep: !0
|
|
207
206
|
}
|
|
208
|
-
),
|
|
207
|
+
), D({
|
|
209
208
|
setSelectData: F
|
|
210
|
-
}), (t,
|
|
211
|
-
c(l(
|
|
209
|
+
}), (t, o) => (V(), B("div", We, [
|
|
210
|
+
c(l(ge), { spinning: O.value }, {
|
|
212
211
|
default: h(() => [
|
|
213
212
|
c(l(he), {
|
|
214
213
|
defaultSplit: { first: 223 },
|
|
@@ -219,64 +218,64 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
219
218
|
}
|
|
220
219
|
}, {
|
|
221
220
|
firstSlot: h(() => [
|
|
222
|
-
|
|
223
|
-
c(l(
|
|
221
|
+
P("div", Xe, [
|
|
222
|
+
c(l(_e), {
|
|
224
223
|
ref: "organizationTree",
|
|
225
224
|
data: d.value,
|
|
226
225
|
isFilter: "",
|
|
227
226
|
"node-key": "id",
|
|
228
227
|
props: { disabled: "_disabled" },
|
|
229
|
-
inputOptions: { placeholder: l(
|
|
228
|
+
inputOptions: { placeholder: l(T)("搜索组织名称").value },
|
|
230
229
|
modelValue: p.value,
|
|
231
|
-
"onUpdate:modelValue":
|
|
230
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => p.value = e),
|
|
232
231
|
"filter-value": K.value,
|
|
233
|
-
"onUpdate:filterValue":
|
|
232
|
+
"onUpdate:filterValue": o[1] || (o[1] = (e) => K.value = e),
|
|
234
233
|
"is-ellipsis": ""
|
|
235
234
|
}, null, 8, ["data", "inputOptions", "modelValue", "filter-value"])
|
|
236
235
|
])
|
|
237
236
|
]),
|
|
238
237
|
secondSlot: h(() => [
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
c(l(
|
|
238
|
+
P("div", Ye, [
|
|
239
|
+
P("div", Ze, [
|
|
240
|
+
P("div", et, [
|
|
241
|
+
c(l(me), {
|
|
243
242
|
modelValue: v.value,
|
|
244
|
-
"onUpdate:modelValue":
|
|
243
|
+
"onUpdate:modelValue": o[2] || (o[2] = (e) => v.value = e),
|
|
245
244
|
searchType: "basis",
|
|
246
245
|
isIconLeft: "",
|
|
247
246
|
size: "small",
|
|
248
|
-
placeholder: l(
|
|
249
|
-
onChange:
|
|
247
|
+
placeholder: l(T)("搜索组织名称/组织编码").value,
|
|
248
|
+
onChange: A
|
|
250
249
|
}, null, 8, ["modelValue", "placeholder"])
|
|
251
250
|
]),
|
|
252
|
-
|
|
251
|
+
P("div", tt, [
|
|
253
252
|
c(l(be), {
|
|
254
253
|
height: "100%",
|
|
255
|
-
data:
|
|
254
|
+
data: U.value,
|
|
256
255
|
total: x.value,
|
|
257
256
|
selection: "",
|
|
258
257
|
"pagination-props": { layout: "prev,next,sizes", small: !0 },
|
|
259
|
-
"current-page":
|
|
260
|
-
"onUpdate:currentPage":
|
|
258
|
+
"current-page": f.value,
|
|
259
|
+
"onUpdate:currentPage": o[3] || (o[3] = (e) => f.value = e),
|
|
261
260
|
"selection-rows": b.value,
|
|
262
|
-
"onUpdate:selectionRows":
|
|
261
|
+
"onUpdate:selectionRows": o[4] || (o[4] = (e) => b.value = e),
|
|
263
262
|
"page-size": N.value,
|
|
264
|
-
"onUpdate:pageSize":
|
|
263
|
+
"onUpdate:pageSize": o[5] || (o[5] = (e) => N.value = e),
|
|
265
264
|
onSizeChange: te,
|
|
266
265
|
onSelectionChange: ae,
|
|
267
266
|
onCurrentPageChange: X
|
|
268
267
|
}, {
|
|
269
268
|
default: h(() => [
|
|
270
269
|
c(l(j), {
|
|
271
|
-
label: l(
|
|
270
|
+
label: l(T)("组织名称").value,
|
|
272
271
|
prop: "name"
|
|
273
272
|
}, null, 8, ["label"]),
|
|
274
273
|
c(l(j), {
|
|
275
|
-
label: l(
|
|
274
|
+
label: l(T)("组织编码").value,
|
|
276
275
|
prop: "code"
|
|
277
276
|
}, null, 8, ["label"]),
|
|
278
277
|
c(l(j), {
|
|
279
|
-
label: l(
|
|
278
|
+
label: l(T)("组织路径").value,
|
|
280
279
|
prop: "pathName"
|
|
281
280
|
}, null, 8, ["label"])
|
|
282
281
|
]),
|
|
@@ -285,7 +284,7 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
285
284
|
}, 8, ["data", "total", "current-page", "selection-rows", "page-size"])
|
|
286
285
|
])
|
|
287
286
|
]),
|
|
288
|
-
|
|
287
|
+
P("div", at, [
|
|
289
288
|
c(l(H))
|
|
290
289
|
])
|
|
291
290
|
])
|
|
@@ -299,17 +298,17 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
299
298
|
}, 8, ["spinning"])
|
|
300
299
|
]));
|
|
301
300
|
}
|
|
302
|
-
}),
|
|
301
|
+
}), ot = /* @__PURE__ */ ee(st, [["__scopeId", "data-v-2677514c"]]), ce = i(null), nt = (S, D, u) => ({
|
|
303
302
|
selectOrgRef: ce,
|
|
304
|
-
selectOrgVue: () =>
|
|
305
|
-
projectId:
|
|
306
|
-
isSelectedSensitive:
|
|
303
|
+
selectOrgVue: () => oe(ot, {
|
|
304
|
+
projectId: S,
|
|
305
|
+
isSelectedSensitive: D,
|
|
307
306
|
ref: ce,
|
|
308
307
|
initProps: u
|
|
309
308
|
})
|
|
310
309
|
}), it = { class: "select-user-container" }, rt = { class: "split-left-content" }, ut = { class: "split-right-box" }, ct = { class: "split-table" }, dt = { class: "table-searc-box" }, pt = { class: "split-checkd" }, vt = {
|
|
311
310
|
name: "selectUser"
|
|
312
|
-
},
|
|
311
|
+
}, ft = /* @__PURE__ */ Z({
|
|
313
312
|
...vt,
|
|
314
313
|
props: {
|
|
315
314
|
projectId: { default: "" },
|
|
@@ -317,43 +316,43 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
317
316
|
isSelectedSensitive: { type: Boolean, default: !0 },
|
|
318
317
|
initProps: {}
|
|
319
318
|
},
|
|
320
|
-
setup(
|
|
321
|
-
const u =
|
|
319
|
+
setup(S, { expose: D }) {
|
|
320
|
+
const u = S, r = i(), g = _(() => {
|
|
322
321
|
var e;
|
|
323
322
|
return ((e = u.initProps) == null ? void 0 : e.isCustomApi) || !1;
|
|
324
|
-
}),
|
|
323
|
+
}), w = _(() => {
|
|
325
324
|
var e;
|
|
326
325
|
return ((e = u.initProps) == null ? void 0 : e.disabledNodeLabel) || "optional";
|
|
327
|
-
}),
|
|
326
|
+
}), C = _(() => {
|
|
328
327
|
var e, a;
|
|
329
328
|
return (a = (e = u.initProps) == null ? void 0 : e.customApiOptions) == null ? void 0 : a.orgTree;
|
|
330
|
-
}),
|
|
329
|
+
}), $ = _(() => {
|
|
331
330
|
var e, a;
|
|
332
331
|
return (a = (e = u.initProps) == null ? void 0 : e.customApiOptions) == null ? void 0 : a.userTable;
|
|
333
|
-
}),
|
|
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);
|
|
334
333
|
pe(() => {
|
|
335
|
-
|
|
334
|
+
I(), M();
|
|
336
335
|
});
|
|
337
336
|
const M = () => {
|
|
338
|
-
|
|
337
|
+
f.value = y.value.filter((e) => e.identityType == 1);
|
|
339
338
|
}, G = (e) => {
|
|
340
|
-
e && e instanceof Array && (
|
|
339
|
+
e && e instanceof Array && (f.value = e.filter((a) => a.identityType == 1));
|
|
341
340
|
}, H = (e) => {
|
|
342
|
-
|
|
341
|
+
f.value = f.value.filter((a) => a.id != e.id);
|
|
343
342
|
}, J = () => {
|
|
344
|
-
|
|
345
|
-
}, { selectListVue: W } =
|
|
346
|
-
var
|
|
347
|
-
const a =
|
|
348
|
-
e._disabled = !e[
|
|
349
|
-
|
|
343
|
+
y.value = [], f.value = [];
|
|
344
|
+
}, { selectListVue: W } = ye(d.value, H, J), k = (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
|
+
k(R);
|
|
350
349
|
});
|
|
351
|
-
},
|
|
352
|
-
var
|
|
350
|
+
}, I = async () => {
|
|
351
|
+
var m, R;
|
|
353
352
|
p.value = !0;
|
|
354
353
|
let e = {};
|
|
355
|
-
if (
|
|
356
|
-
const { params: q = {}, query: z = {} } =
|
|
354
|
+
if (g.value && C.value) {
|
|
355
|
+
const { params: q = {}, query: z = {} } = C.value;
|
|
357
356
|
e = { ...q, ...z };
|
|
358
357
|
} else
|
|
359
358
|
e = {
|
|
@@ -361,24 +360,24 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
361
360
|
parentId: "",
|
|
362
361
|
implicit: !1
|
|
363
362
|
};
|
|
364
|
-
const a =
|
|
365
|
-
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) {
|
|
366
365
|
p.value = !1;
|
|
367
366
|
return;
|
|
368
367
|
}
|
|
369
368
|
n && n.length && n.forEach((q) => {
|
|
370
|
-
|
|
371
|
-
}), K.value = n,
|
|
372
|
-
},
|
|
373
|
-
var
|
|
369
|
+
k(q);
|
|
370
|
+
}), K.value = n, te();
|
|
371
|
+
}, A = async () => {
|
|
372
|
+
var m, R, q;
|
|
374
373
|
if (!v.value) {
|
|
375
374
|
p.value = !1, N.value = [], F.value = 0;
|
|
376
375
|
return;
|
|
377
376
|
}
|
|
378
377
|
p.value = !0;
|
|
379
378
|
let e = {};
|
|
380
|
-
if (
|
|
381
|
-
const { params: z = {}, query: le = {}, treeKey: ne = "", searchKey: ie = "" } =
|
|
379
|
+
if (g.value && $.value) {
|
|
380
|
+
const { params: z = {}, query: le = {}, treeKey: ne = "", searchKey: ie = "" } = $.value;
|
|
382
381
|
e = { ...z, ...le }, ne ? e[ne] = v.value : e.id = v.value, ie ? e[ie] = b.value : e.filterValue = b.value;
|
|
383
382
|
} else
|
|
384
383
|
e = {
|
|
@@ -387,9 +386,9 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
387
386
|
filterValue: b.value
|
|
388
387
|
//账号或姓名
|
|
389
388
|
};
|
|
390
|
-
e.pageIndex =
|
|
391
|
-
const a =
|
|
392
|
-
if (
|
|
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, [s, n] = await a(e).run();
|
|
391
|
+
if (s) {
|
|
393
392
|
p.value = !1;
|
|
394
393
|
return;
|
|
395
394
|
}
|
|
@@ -399,39 +398,38 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
399
398
|
return z.statusName = (z == null ? void 0 : z.statusName) || le, z;
|
|
400
399
|
}), F.value = Number(n.totalCount);
|
|
401
400
|
}, te = () => {
|
|
402
|
-
|
|
401
|
+
b.value = "", U.value = "", N.value = [], x.value = 20, L.value = 1, X();
|
|
403
402
|
}, X = () => {
|
|
404
|
-
|
|
403
|
+
L.value = 1, A();
|
|
405
404
|
}, ae = (e) => {
|
|
406
|
-
|
|
405
|
+
L.value = 1, x.value = e, A();
|
|
407
406
|
}, t = (e) => {
|
|
408
|
-
|
|
409
|
-
},
|
|
410
|
-
|
|
411
|
-
let a = [], o = [];
|
|
407
|
+
L.value = e, A();
|
|
408
|
+
}, o = (e) => {
|
|
409
|
+
let a = [], s = [];
|
|
412
410
|
e.forEach((n) => {
|
|
413
411
|
a.push(n.id);
|
|
414
412
|
}), N.value.forEach((n) => {
|
|
415
|
-
a.includes(n.id) ||
|
|
416
|
-
}),
|
|
417
|
-
|
|
413
|
+
a.includes(n.id) || s.push(n.id);
|
|
414
|
+
}), y.value = y.value.filter((n) => !s.includes(n.id)), e.forEach((n) => {
|
|
415
|
+
y.value.some((m) => m.id === n.id) || y.value.push(n);
|
|
418
416
|
});
|
|
419
417
|
};
|
|
420
418
|
return ve(
|
|
421
419
|
() => v,
|
|
422
420
|
() => {
|
|
423
|
-
|
|
424
|
-
|
|
421
|
+
fe(() => {
|
|
422
|
+
A();
|
|
425
423
|
});
|
|
426
424
|
},
|
|
427
425
|
{
|
|
428
426
|
immediate: !0,
|
|
429
427
|
deep: !0
|
|
430
428
|
}
|
|
431
|
-
),
|
|
429
|
+
), D({
|
|
432
430
|
setSelectData: G
|
|
433
431
|
}), (e, a) => (V(), B("div", it, [
|
|
434
|
-
c(l(
|
|
432
|
+
c(l(ge), { spinning: p.value }, {
|
|
435
433
|
default: h(() => [
|
|
436
434
|
c(l(he), {
|
|
437
435
|
defaultSplit: { first: 223 },
|
|
@@ -442,37 +440,37 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
442
440
|
}
|
|
443
441
|
}, {
|
|
444
442
|
firstSlot: h(() => [
|
|
445
|
-
|
|
446
|
-
c(l(
|
|
443
|
+
P("div", rt, [
|
|
444
|
+
c(l(_e), {
|
|
447
445
|
ref: "organizationTree",
|
|
448
446
|
data: K.value,
|
|
449
447
|
isFilter: "",
|
|
450
448
|
"node-key": "id",
|
|
451
449
|
props: { disabled: "_disabled" },
|
|
452
|
-
inputOptions: { placeholder: l(
|
|
450
|
+
inputOptions: { placeholder: l(T)("搜索组织名称").value },
|
|
453
451
|
modelValue: v.value,
|
|
454
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
455
|
-
"filter-value":
|
|
456
|
-
"onUpdate:filterValue": a[1] || (a[1] = (
|
|
452
|
+
"onUpdate:modelValue": a[0] || (a[0] = (s) => v.value = s),
|
|
453
|
+
"filter-value": U.value,
|
|
454
|
+
"onUpdate:filterValue": a[1] || (a[1] = (s) => U.value = s),
|
|
457
455
|
"is-ellipsis": ""
|
|
458
456
|
}, null, 8, ["data", "inputOptions", "modelValue", "filter-value"])
|
|
459
457
|
])
|
|
460
458
|
]),
|
|
461
459
|
secondSlot: h(() => [
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
c(l(
|
|
460
|
+
P("div", ut, [
|
|
461
|
+
P("div", ct, [
|
|
462
|
+
P("div", dt, [
|
|
463
|
+
c(l(me), {
|
|
466
464
|
modelValue: b.value,
|
|
467
|
-
"onUpdate:modelValue": a[2] || (a[2] = (
|
|
465
|
+
"onUpdate:modelValue": a[2] || (a[2] = (s) => b.value = s),
|
|
468
466
|
searchType: "basis",
|
|
469
467
|
isIconLeft: "",
|
|
470
468
|
size: "small",
|
|
471
|
-
placeholder: l(
|
|
469
|
+
placeholder: l(T)("搜索姓名/账号").value,
|
|
472
470
|
onChange: X
|
|
473
471
|
}, null, 8, ["modelValue", "placeholder"])
|
|
474
472
|
]),
|
|
475
|
-
|
|
473
|
+
P(
|
|
476
474
|
"div",
|
|
477
475
|
{
|
|
478
476
|
class: "split-table-content",
|
|
@@ -487,41 +485,41 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
487
485
|
total: F.value,
|
|
488
486
|
selection: "",
|
|
489
487
|
"pagination-props": { layout: "prev,next,sizes", small: !0 },
|
|
490
|
-
"current-page":
|
|
491
|
-
"onUpdate:currentPage": a[3] || (a[3] = (
|
|
492
|
-
"selection-rows":
|
|
493
|
-
"onUpdate:selectionRows": a[4] || (a[4] = (
|
|
488
|
+
"current-page": L.value,
|
|
489
|
+
"onUpdate:currentPage": a[3] || (a[3] = (s) => L.value = s),
|
|
490
|
+
"selection-rows": f.value,
|
|
491
|
+
"onUpdate:selectionRows": a[4] || (a[4] = (s) => f.value = s),
|
|
494
492
|
"page-size": x.value,
|
|
495
|
-
"onUpdate:pageSize": a[5] || (a[5] = (
|
|
493
|
+
"onUpdate:pageSize": a[5] || (a[5] = (s) => x.value = s),
|
|
496
494
|
onSizeChange: ae,
|
|
497
|
-
onSelectionChange:
|
|
495
|
+
onSelectionChange: o,
|
|
498
496
|
onCurrentPageChange: t
|
|
499
497
|
}, {
|
|
500
498
|
default: h(() => [
|
|
501
499
|
c(l(j), {
|
|
502
|
-
label: l(
|
|
500
|
+
label: l(T)("姓名").value,
|
|
503
501
|
prop: "name"
|
|
504
502
|
}, null, 8, ["label"]),
|
|
505
503
|
c(l(j), {
|
|
506
|
-
label: l(
|
|
504
|
+
label: l(T)("账号").value,
|
|
507
505
|
prop: "userName"
|
|
508
506
|
}, null, 8, ["label"]),
|
|
509
|
-
|
|
507
|
+
O.value ? (V(), Q(l(j), {
|
|
510
508
|
key: 0,
|
|
511
|
-
label: l(
|
|
509
|
+
label: l(T)("手机号").value,
|
|
512
510
|
prop: "sensitivePhone"
|
|
513
511
|
}, {
|
|
514
|
-
default: h(({ row:
|
|
515
|
-
c(l(
|
|
512
|
+
default: h(({ row: s }) => [
|
|
513
|
+
c(l(Le), {
|
|
516
514
|
placement: "top",
|
|
517
|
-
content:
|
|
515
|
+
content: s.phone,
|
|
518
516
|
"append-to": r.value
|
|
519
517
|
}, {
|
|
520
518
|
default: h(() => [
|
|
521
|
-
|
|
519
|
+
P(
|
|
522
520
|
"span",
|
|
523
521
|
null,
|
|
524
|
-
E(
|
|
522
|
+
E(s.sensitivePhone),
|
|
525
523
|
1
|
|
526
524
|
/* TEXT */
|
|
527
525
|
)
|
|
@@ -534,11 +532,11 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
534
532
|
/* STABLE */
|
|
535
533
|
}, 8, ["label"])) : (V(), Q(l(j), {
|
|
536
534
|
key: 1,
|
|
537
|
-
label: l(
|
|
535
|
+
label: l(T)("手机号").value,
|
|
538
536
|
prop: "phone"
|
|
539
537
|
}, null, 8, ["label"])),
|
|
540
538
|
c(l(j), {
|
|
541
|
-
label: l(
|
|
539
|
+
label: l(T)("状态").value,
|
|
542
540
|
prop: "statusName"
|
|
543
541
|
}, null, 8, ["label"])
|
|
544
542
|
]),
|
|
@@ -550,7 +548,7 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
550
548
|
/* NEED_PATCH */
|
|
551
549
|
)
|
|
552
550
|
]),
|
|
553
|
-
|
|
551
|
+
P("div", pt, [
|
|
554
552
|
c(l(W))
|
|
555
553
|
])
|
|
556
554
|
])
|
|
@@ -564,11 +562,11 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
564
562
|
}, 8, ["spinning"])
|
|
565
563
|
]));
|
|
566
564
|
}
|
|
567
|
-
}),
|
|
565
|
+
}), mt = /* @__PURE__ */ ee(ft, [["__scopeId", "data-v-7e5b1660"]]), de = i(null), gt = (S, D, u, r) => ({
|
|
568
566
|
selectUserRef: de,
|
|
569
|
-
selectUserVue: () =>
|
|
570
|
-
projectId:
|
|
571
|
-
isTableSensitive:
|
|
567
|
+
selectUserVue: () => oe(mt, {
|
|
568
|
+
projectId: S,
|
|
569
|
+
isTableSensitive: D,
|
|
572
570
|
isSelectedSensitive: u,
|
|
573
571
|
ref: de,
|
|
574
572
|
initProps: r
|
|
@@ -576,10 +574,10 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
576
574
|
}), ht = { class: "select-org-user-dialog-box" }, bt = {
|
|
577
575
|
key: 0,
|
|
578
576
|
class: "select-org-user-dialog-content"
|
|
579
|
-
},
|
|
577
|
+
}, _t = { class: "foot-btn-box" }, yt = {
|
|
580
578
|
name: "selectOrganizationAndUser"
|
|
581
|
-
},
|
|
582
|
-
...
|
|
579
|
+
}, St = /* @__PURE__ */ Z({
|
|
580
|
+
...yt,
|
|
583
581
|
props: {
|
|
584
582
|
header: { default: "" },
|
|
585
583
|
selectData: { default: [] },
|
|
@@ -591,51 +589,50 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
591
589
|
singleTabKey: { default: "" }
|
|
592
590
|
},
|
|
593
591
|
emits: ["update:modelValue", "selectConfirm", "selectCancel"],
|
|
594
|
-
setup(
|
|
595
|
-
const r =
|
|
592
|
+
setup(S, { expose: D, emit: u }) {
|
|
593
|
+
const r = S, g = u, w = i(!1), C = _(() => r.header || Y("添加组织/用户")), $ = _(() => r.isTableSensitive), O = _(() => r.isSelectedSensitive), d = _(() => r.singleTabKey), p = _({
|
|
596
594
|
get: () => r.modelValue,
|
|
597
|
-
set: (
|
|
598
|
-
}), K =
|
|
595
|
+
set: (k) => g("update:modelValue", k)
|
|
596
|
+
}), K = Ie().id, { selectOrgVue: v, selectOrgRef: U } = nt(K, O.value, r), { selectUserVue: b, selectUserRef: N } = gt(
|
|
599
597
|
K,
|
|
600
|
-
|
|
601
|
-
|
|
598
|
+
$.value,
|
|
599
|
+
O.value,
|
|
602
600
|
r
|
|
603
|
-
),
|
|
601
|
+
), f = i(1), x = [
|
|
604
602
|
{
|
|
605
603
|
key: 1,
|
|
606
|
-
tab:
|
|
604
|
+
tab: T("组织").value,
|
|
607
605
|
contentSlot: "contentSlot1"
|
|
608
606
|
},
|
|
609
607
|
{
|
|
610
608
|
key: 2,
|
|
611
|
-
tab:
|
|
609
|
+
tab: T("用户").value,
|
|
612
610
|
contentSlot: "contentSlot2"
|
|
613
611
|
}
|
|
614
|
-
],
|
|
615
|
-
|
|
612
|
+
], L = () => {
|
|
613
|
+
g("selectCancel");
|
|
616
614
|
}, F = async () => {
|
|
617
|
-
|
|
618
|
-
}, M = (
|
|
619
|
-
console.log("menuClick", C);
|
|
615
|
+
g("selectConfirm", y.value);
|
|
616
|
+
}, M = (k) => {
|
|
620
617
|
}, G = () => {
|
|
621
|
-
|
|
618
|
+
f.value = 1, w.value = !1, g("selectCancel");
|
|
622
619
|
}, H = () => {
|
|
623
|
-
|
|
620
|
+
y.value = r.selectData, w.value = !0;
|
|
624
621
|
};
|
|
625
|
-
return
|
|
626
|
-
setUserSelectData: (
|
|
627
|
-
var
|
|
628
|
-
(
|
|
622
|
+
return D({
|
|
623
|
+
setUserSelectData: (k) => {
|
|
624
|
+
var I;
|
|
625
|
+
(I = N == null ? void 0 : N.value) == null || I.setSelectData(k);
|
|
629
626
|
},
|
|
630
|
-
setOrgSelectData: (
|
|
631
|
-
var
|
|
632
|
-
(
|
|
627
|
+
setOrgSelectData: (k) => {
|
|
628
|
+
var I;
|
|
629
|
+
(I = U == null ? void 0 : U.value) == null || I.setSelectData(k);
|
|
633
630
|
}
|
|
634
|
-
}), (
|
|
635
|
-
c(l(Ve),
|
|
631
|
+
}), (k, I) => (V(), B("div", ht, [
|
|
632
|
+
c(l(Ve), Te({
|
|
636
633
|
modelValue: p.value,
|
|
637
|
-
"onUpdate:modelValue":
|
|
638
|
-
},
|
|
634
|
+
"onUpdate:modelValue": I[1] || (I[1] = (A) => p.value = A)
|
|
635
|
+
}, k.$attrs, {
|
|
639
636
|
customClass: "select-org-user-dialog",
|
|
640
637
|
type: "basic",
|
|
641
638
|
size: "small",
|
|
@@ -648,21 +645,21 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
648
645
|
onOpen: H
|
|
649
646
|
}), {
|
|
650
647
|
header: h(() => [
|
|
651
|
-
|
|
652
|
-
E(
|
|
648
|
+
se(
|
|
649
|
+
E(C.value),
|
|
653
650
|
1
|
|
654
651
|
/* TEXT */
|
|
655
652
|
)
|
|
656
653
|
]),
|
|
657
654
|
footer: h(() => [
|
|
658
|
-
|
|
655
|
+
P("div", _t, [
|
|
659
656
|
c(l(re), {
|
|
660
657
|
size: "middle",
|
|
661
|
-
onClick:
|
|
658
|
+
onClick: L
|
|
662
659
|
}, {
|
|
663
660
|
default: h(() => [
|
|
664
|
-
|
|
665
|
-
E(l(
|
|
661
|
+
se(
|
|
662
|
+
E(l(T)("取消").value),
|
|
666
663
|
1
|
|
667
664
|
/* TEXT */
|
|
668
665
|
)
|
|
@@ -676,8 +673,8 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
676
673
|
onClick: F
|
|
677
674
|
}, {
|
|
678
675
|
default: h(() => [
|
|
679
|
-
|
|
680
|
-
E(l(
|
|
676
|
+
se(
|
|
677
|
+
E(l(T)("确定").value),
|
|
681
678
|
1
|
|
682
679
|
/* TEXT */
|
|
683
680
|
)
|
|
@@ -688,11 +685,11 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
688
685
|
])
|
|
689
686
|
]),
|
|
690
687
|
default: h(() => [
|
|
691
|
-
|
|
688
|
+
w.value ? (V(), B("div", bt, [
|
|
692
689
|
d.value == 1 ? (V(), Q(l(v), { key: 0 })) : d.value == 2 ? (V(), Q(l(b), { key: 1 })) : (V(), Q(l(Ne), {
|
|
693
690
|
key: 2,
|
|
694
|
-
activeKey:
|
|
695
|
-
"onUpdate:activeKey":
|
|
691
|
+
activeKey: f.value,
|
|
692
|
+
"onUpdate:activeKey": I[0] || (I[0] = (A) => f.value = A),
|
|
696
693
|
isStrict: "",
|
|
697
694
|
hideAdd: "",
|
|
698
695
|
options: x,
|
|
@@ -714,7 +711,7 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
714
711
|
}, 16, ["modelValue"])
|
|
715
712
|
]));
|
|
716
713
|
}
|
|
717
|
-
}),
|
|
714
|
+
}), Ct = /* @__PURE__ */ ee(St, [["__scopeId", "data-v-139fae42"]]), kt = {
|
|
718
715
|
搜索姓名: { "zh-CN": "搜索姓名", en: "Search name", _appCode: "framework" },
|
|
719
716
|
账号: { "zh-CN": "账号", en: "Account", _appCode: "framework" },
|
|
720
717
|
姓名: { "zh-CN": "姓名", en: "Name", _appCode: "framework" },
|
|
@@ -738,8 +735,8 @@ const _ = i([]), Le = { class: "select-list-container" }, Ae = { class: "check-t
|
|
|
738
735
|
"das-user-org-dialog-user-locked": { "zh-CN": "锁定", en: "Locked", _appCode: "framework" },
|
|
739
736
|
"das-user-org-dialog-user-disable": { "zh-CN": "禁用", en: "Disabled", _appCode: "framework" }
|
|
740
737
|
};
|
|
741
|
-
|
|
742
|
-
const Kt = () => i(null), qt =
|
|
738
|
+
Oe(kt);
|
|
739
|
+
const Kt = () => i(null), qt = we(Ct);
|
|
743
740
|
export {
|
|
744
741
|
qt as DasUserOrgDialog,
|
|
745
742
|
Kt as DasUserOrgDialogRef
|