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