gs-eant-comp 3.0.7 → 3.0.9
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/dist/gs-eant-comp.css +1 -1
- package/dist/gs-eant-comp.js +5213 -26
- package/dist/gs-eant-comp.umd.cjs +4 -18
- package/package.json +1 -1
- package/dist/Activate-CfIQc-Zp.js +0 -169
- package/dist/ActivateForm-Cfmxf7JB.js +0 -134
- package/dist/AuthCallbackCAS-CLg-ACaV.js +0 -26
- package/dist/AuthCallbackOauth-DlRCCsJV.js +0 -30
- package/dist/AutoTaskEList-wQ6PdTlr.js +0 -291
- package/dist/AutoTaskEditor-BHiZevKj.js +0 -275
- package/dist/AutoTaskLog-DDKrty5r.js +0 -48
- package/dist/AutoTaskViewer-CYvggIGV.js +0 -33
- package/dist/DepartmentEList-CF6bKecL.js +0 -209
- package/dist/DepartmentETable-mct60T1p.js +0 -135
- package/dist/DepartmentETree-e6bJiA4U.js +0 -46
- package/dist/DepartmentETree-vL3HbFkn.js +0 -44
- package/dist/DepartmentEditor-CU5XTCf2.js +0 -214
- package/dist/DepartmentUserEList-BvYeoku6.js +0 -171
- package/dist/DepartmentViewer-CXMXe42a.js +0 -34
- package/dist/FlowCenter-CdrOcmJ3.js +0 -52
- package/dist/IconPicker-BplgUQ5t.js +0 -129
- package/dist/IconSelect-NuAXvxVh.js +0 -70
- package/dist/LogETable-B28F96I_.js +0 -221
- package/dist/LogETable-BkLXbzIJ.js +0 -220
- package/dist/LogETable-D938B_TI.js +0 -231
- package/dist/LogEditor-5nlkOAyR.js +0 -136
- package/dist/LogEditor-C2rGmjR_.js +0 -130
- package/dist/LogEditor-Dde9DlwW.js +0 -138
- package/dist/LoginForm-B-DefUdK.js +0 -346
- package/dist/LoginLogViewer-BrlSaCPp.js +0 -33
- package/dist/LoginPageClassic-D2a8kWiH.js +0 -91
- package/dist/LoginPagePortal-Q-Lwwpbu.js +0 -140
- package/dist/LoginViewer-Dxx6tjuD.js +0 -39
- package/dist/MenuApi-DzYTJysM.js +0 -162
- package/dist/MenuDrag-tjmY7o1N.js +0 -108
- package/dist/MenuETable-BAgUF0iO.js +0 -415
- package/dist/MenuEditor-luvfizeH.js +0 -431
- package/dist/MenuViewer-CpGhh20J.js +0 -35
- package/dist/OauthCallback-B_GjYhqd.js +0 -30
- package/dist/OperationLogViewer-DR9PO9Ea.js +0 -32
- package/dist/RegisterForm-C1c1SEvn.js +0 -134
- package/dist/RoleETree-CKy46-Zn.js +0 -150
- package/dist/RoleEditor-CNS3Qk8w.js +0 -168
- package/dist/RoleFacePermission-DEpiV8Zt.js +0 -92
- package/dist/RoleInterfacePermissionETable-Co773S1r.js +0 -115
- package/dist/RoleInterfacePermissionTree-ClUoM85L.js +0 -90
- package/dist/RoleMenuPermissionTree-D5UQJvZR.js +0 -81
- package/dist/RoleUserAddEditor-BlvKzs8m.js +0 -164
- package/dist/RoleUserEList-My5QAm8G.js +0 -106
- package/dist/RoleUserETable-Os7RJeik.js +0 -189
- package/dist/RoleUserManagerViewer-BduFxkpG.js +0 -109
- package/dist/RoleV2Viewer-DQzjP589.js +0 -139
- package/dist/RoleViewer-Dcg3qCCk.js +0 -74
- package/dist/SystemLogViewer-CTYfCAD0.js +0 -33
- package/dist/TaskCenter-CiUnpJ8A.js +0 -251
- package/dist/TaskCenter_v1-D9AxQsFj.js +0 -55
- package/dist/UserEList-BZOI6u_o.js +0 -279
- package/dist/UserEditor-CMaL_euI.js +0 -330
- package/dist/UserViewer-DI_f9xYf.js +0 -55
- package/dist/iconfont-CXJEu-zK.js +0 -7
- package/dist/index-C3Fr-kGd.js +0 -7899
- package/dist/useExComponentActions-BBBV87vq.js +0 -18
|
@@ -1,279 +0,0 @@
|
|
|
1
|
-
import { defineComponent as D, resolveComponent as a, createElementBlock as f, openBlock as v, Fragment as O, createElementVNode as r, createVNode as t, withCtx as s, createCommentVNode as u, createTextVNode as d, toDisplayString as b, toRefs as V, ref as x, provide as m, inject as U, reactive as E, watch as A } from "vue";
|
|
2
|
-
import { useRequest as B } from "vue-request";
|
|
3
|
-
import P from "./UserEditor-CMaL_euI.js";
|
|
4
|
-
import { _ as R } from "./index-C3Fr-kGd.js";
|
|
5
|
-
const q = D({
|
|
6
|
-
components: { UserEditor: P },
|
|
7
|
-
props: {
|
|
8
|
-
refName: {
|
|
9
|
-
type: String,
|
|
10
|
-
default: "refEList"
|
|
11
|
-
},
|
|
12
|
-
selectedKeysName: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: "selectedKeys"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
setup(l) {
|
|
18
|
-
const { refName: e, selectedKeysName: T } = V(l), p = x();
|
|
19
|
-
m("refEModal", p);
|
|
20
|
-
const y = U(e.value, x());
|
|
21
|
-
m("refEList", y);
|
|
22
|
-
const g = U(T.value, x([]));
|
|
23
|
-
m("selectedKeys", g);
|
|
24
|
-
const i = U("$API"), _ = E(i.user.list);
|
|
25
|
-
m("apiObj", _);
|
|
26
|
-
const C = (n) => {
|
|
27
|
-
_.params = { bmdm: n };
|
|
28
|
-
};
|
|
29
|
-
A(g, (n) => {
|
|
30
|
-
C(n[0]);
|
|
31
|
-
}), C(g.value[0]);
|
|
32
|
-
const c = E({
|
|
33
|
-
sflx: null
|
|
34
|
-
});
|
|
35
|
-
m("state", c);
|
|
36
|
-
const $ = () => {
|
|
37
|
-
y.value.search();
|
|
38
|
-
}, k = x();
|
|
39
|
-
m("selectedKey", k);
|
|
40
|
-
const w = x(!0);
|
|
41
|
-
m("editDisabled", w);
|
|
42
|
-
const N = () => {
|
|
43
|
-
k.value = "", w.value = !1, p.value.open = !0, p.value.title = "添加用户";
|
|
44
|
-
}, S = (n) => {
|
|
45
|
-
k.value = n, p.value.open = !0, p.value.title = "编辑用户";
|
|
46
|
-
}, z = E(i.user.del), { run: j } = B((n) => z[z.method]({ key: n }), {
|
|
47
|
-
manual: !0,
|
|
48
|
-
onSuccess: (n) => {
|
|
49
|
-
y.value.sync();
|
|
50
|
-
}
|
|
51
|
-
}), K = E(["所属部门", "校级领导", "部门领导", "认证权限"]), L = E([!0, !1, !1, !1]);
|
|
52
|
-
return {
|
|
53
|
-
api: i,
|
|
54
|
-
refEModal: p,
|
|
55
|
-
refEList: y,
|
|
56
|
-
state: c,
|
|
57
|
-
selectedKeys: g,
|
|
58
|
-
search: $,
|
|
59
|
-
add: N,
|
|
60
|
-
edit: S,
|
|
61
|
-
del: j,
|
|
62
|
-
tagsData: K,
|
|
63
|
-
selectTags: L,
|
|
64
|
-
handleChange: (n, M) => {
|
|
65
|
-
console.log(n, M);
|
|
66
|
-
},
|
|
67
|
-
getColor: (n) => {
|
|
68
|
-
switch (n) {
|
|
69
|
-
case "1":
|
|
70
|
-
return "lime";
|
|
71
|
-
case "2":
|
|
72
|
-
return "green";
|
|
73
|
-
// lime green
|
|
74
|
-
default:
|
|
75
|
-
return "grey";
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
}), F = { class: "h-100 d-flex flex-column overflow-hidden bg-white" }, I = {
|
|
81
|
-
key: 0,
|
|
82
|
-
class: "fw-bold text-muted"
|
|
83
|
-
}, G = { class: "px-1" }, H = { class: "card-hover position-relative" }, J = { class: "text-muted font1" }, Q = {
|
|
84
|
-
key: 0,
|
|
85
|
-
class: "text-black-50"
|
|
86
|
-
}, W = { key: 1 }, X = { key: 2 }, Y = { key: 3 };
|
|
87
|
-
function Z(l, e, T, p, y, g) {
|
|
88
|
-
const i = a("a-icon"), _ = a("a-button"), C = a("a-input"), c = a("a-select-option"), $ = a("a-select"), k = a("ESelect");
|
|
89
|
-
a("a-checkable-tag");
|
|
90
|
-
const w = a("a-space"), N = a("a-avatar"), S = a("a-card-meta"), z = a("a-popconfirm"), j = a("a-card");
|
|
91
|
-
a("a-badge-ribbon");
|
|
92
|
-
const K = a("EList"), L = a("UserEditor"), h = a("EModal");
|
|
93
|
-
return v(), f(O, null, [
|
|
94
|
-
r("div", F, [
|
|
95
|
-
t(K, {
|
|
96
|
-
ref: "refEList",
|
|
97
|
-
tagBorder: !0,
|
|
98
|
-
grid: { gutter: 16, xs: 1, sm: 1, md: 1, lg: 2, xl: 3, xxl: 4 },
|
|
99
|
-
pageSize: 20
|
|
100
|
-
}, {
|
|
101
|
-
left: s(() => [
|
|
102
|
-
(v(), f("span", I, "组织成员"))
|
|
103
|
-
]),
|
|
104
|
-
right: s(() => [
|
|
105
|
-
u("", !0),
|
|
106
|
-
t(_, {
|
|
107
|
-
type: "primary",
|
|
108
|
-
class: "rounded-0",
|
|
109
|
-
size: "small",
|
|
110
|
-
onClick: e[0] || (e[0] = (o) => l.add())
|
|
111
|
-
}, {
|
|
112
|
-
default: s(() => [
|
|
113
|
-
r("small", null, [
|
|
114
|
-
t(i, { type: "icon-plus" }),
|
|
115
|
-
e[5] || (e[5] = d(" 添加用户", -1))
|
|
116
|
-
])
|
|
117
|
-
]),
|
|
118
|
-
_: 1
|
|
119
|
-
})
|
|
120
|
-
]),
|
|
121
|
-
tag: s(() => [
|
|
122
|
-
t(C, {
|
|
123
|
-
value: l.state.zhxm,
|
|
124
|
-
"onUpdate:value": e[1] || (e[1] = (o) => l.state.zhxm = o),
|
|
125
|
-
placeholder: "账号/姓名",
|
|
126
|
-
size: "small",
|
|
127
|
-
allowClear: ""
|
|
128
|
-
}, null, 8, ["value"]),
|
|
129
|
-
t($, {
|
|
130
|
-
value: l.state.sflx,
|
|
131
|
-
"onUpdate:value": e[2] || (e[2] = (o) => l.state.sflx = o),
|
|
132
|
-
placeholder: "人员类型",
|
|
133
|
-
style: { width: "160px" },
|
|
134
|
-
size: "small",
|
|
135
|
-
allowClear: ""
|
|
136
|
-
}, {
|
|
137
|
-
default: s(() => [
|
|
138
|
-
t(c, { value: "1" }, {
|
|
139
|
-
default: s(() => [...e[6] || (e[6] = [
|
|
140
|
-
d("教师", -1)
|
|
141
|
-
])]),
|
|
142
|
-
_: 1
|
|
143
|
-
}),
|
|
144
|
-
t(c, { value: "2" }, {
|
|
145
|
-
default: s(() => [...e[7] || (e[7] = [
|
|
146
|
-
d("学生", -1)
|
|
147
|
-
])]),
|
|
148
|
-
_: 1
|
|
149
|
-
}),
|
|
150
|
-
t(c, {
|
|
151
|
-
value: "9",
|
|
152
|
-
disabled: ""
|
|
153
|
-
}, {
|
|
154
|
-
default: s(() => [...e[8] || (e[8] = [
|
|
155
|
-
d("其他人员", -1)
|
|
156
|
-
])]),
|
|
157
|
-
_: 1
|
|
158
|
-
})
|
|
159
|
-
]),
|
|
160
|
-
_: 1
|
|
161
|
-
}, 8, ["value"]),
|
|
162
|
-
t(k, {
|
|
163
|
-
value: l.state.bmdm,
|
|
164
|
-
"onUpdate:value": e[3] || (e[3] = (o) => l.state.bmdm = o),
|
|
165
|
-
placeholder: "选择部门",
|
|
166
|
-
style: { width: "160px" },
|
|
167
|
-
size: "small",
|
|
168
|
-
allowClear: "",
|
|
169
|
-
apiObj: l.api.department.list,
|
|
170
|
-
"field-names": { label: "bmmc", value: "bmdm" },
|
|
171
|
-
staticSelected: !0
|
|
172
|
-
}, null, 8, ["value", "apiObj"]),
|
|
173
|
-
t(_, {
|
|
174
|
-
type: "primary",
|
|
175
|
-
class: "rounded-0",
|
|
176
|
-
size: "small",
|
|
177
|
-
onClick: e[4] || (e[4] = (o) => l.search())
|
|
178
|
-
}, {
|
|
179
|
-
default: s(() => [
|
|
180
|
-
r("small", G, [
|
|
181
|
-
t(i, { type: "icon-search" }),
|
|
182
|
-
e[9] || (e[9] = d(" 检索", -1))
|
|
183
|
-
])
|
|
184
|
-
]),
|
|
185
|
-
_: 1
|
|
186
|
-
})
|
|
187
|
-
]),
|
|
188
|
-
content: s(() => [
|
|
189
|
-
u("", !0)
|
|
190
|
-
]),
|
|
191
|
-
default: s(({ item: o }) => [
|
|
192
|
-
u("", !0),
|
|
193
|
-
r("div", H, [
|
|
194
|
-
e[22] || (e[22] = r("div", { class: "box_line lt-3" }, null, -1)),
|
|
195
|
-
e[23] || (e[23] = r("div", { class: "box_line rt-3" }, null, -1)),
|
|
196
|
-
e[24] || (e[24] = r("div", { class: "box_line lb-3" }, null, -1)),
|
|
197
|
-
e[25] || (e[25] = r("div", { class: "box_line rb-3" }, null, -1)),
|
|
198
|
-
t(j, {
|
|
199
|
-
size: "small",
|
|
200
|
-
hoverable: "",
|
|
201
|
-
class: "rounded-0 border-0 shadow-1 h-100"
|
|
202
|
-
}, {
|
|
203
|
-
actions: s(() => [
|
|
204
|
-
t(i, {
|
|
205
|
-
type: "icon-edit",
|
|
206
|
-
onClick: (n) => l.edit(o.key)
|
|
207
|
-
}, null, 8, ["onClick"]),
|
|
208
|
-
t(z, {
|
|
209
|
-
title: "确定要删除?",
|
|
210
|
-
onConfirm: (n) => l.del(o.key)
|
|
211
|
-
}, {
|
|
212
|
-
default: s(() => [
|
|
213
|
-
t(i, { type: "icon-delete" })
|
|
214
|
-
]),
|
|
215
|
-
_: 1
|
|
216
|
-
}, 8, ["onConfirm"])
|
|
217
|
-
]),
|
|
218
|
-
default: s(() => [
|
|
219
|
-
t(S, null, {
|
|
220
|
-
title: s(() => [
|
|
221
|
-
r("span", J, b(o.xm), 1)
|
|
222
|
-
]),
|
|
223
|
-
description: s(() => [
|
|
224
|
-
d(b(o.zgh), 1)
|
|
225
|
-
]),
|
|
226
|
-
avatar: s(() => [
|
|
227
|
-
t(N, { src: "https://joeschmoe.io/api/v1/random" })
|
|
228
|
-
]),
|
|
229
|
-
_: 2
|
|
230
|
-
}, 1024),
|
|
231
|
-
t(w, {
|
|
232
|
-
direction: "vertical",
|
|
233
|
-
class: "w-100 bg-light p-2 mt-2 font-925"
|
|
234
|
-
}, {
|
|
235
|
-
default: s(() => [
|
|
236
|
-
l.selectTags[0] ? (v(), f("p", Q, [
|
|
237
|
-
e[16] || (e[16] = d("所属部门:", -1)),
|
|
238
|
-
e[17] || (e[17] = r("span", { class: "text-black-50" }, null, -1)),
|
|
239
|
-
d(b(o.bmmc), 1)
|
|
240
|
-
])) : u("", !0),
|
|
241
|
-
l.selectTags[1] ? (v(), f("p", W, [
|
|
242
|
-
e[18] || (e[18] = r("span", { class: "text-black-50" }, "校级领导:", -1)),
|
|
243
|
-
d(b(o.sfxjld), 1)
|
|
244
|
-
])) : u("", !0),
|
|
245
|
-
l.selectTags[2] ? (v(), f("p", X, [
|
|
246
|
-
e[19] || (e[19] = r("span", { class: "text-black-50" }, "部门领导:", -1)),
|
|
247
|
-
d(b(o.sfbmld), 1)
|
|
248
|
-
])) : u("", !0),
|
|
249
|
-
l.selectTags[3] ? (v(), f("p", Y, [
|
|
250
|
-
e[20] || (e[20] = r("span", { class: "text-black-50" }, "认证权限:", -1)),
|
|
251
|
-
d(b(o.sfyxrz), 1)
|
|
252
|
-
])) : u("", !0),
|
|
253
|
-
u("", !0)
|
|
254
|
-
]),
|
|
255
|
-
_: 2
|
|
256
|
-
}, 1024)
|
|
257
|
-
]),
|
|
258
|
-
_: 2
|
|
259
|
-
}, 1024)
|
|
260
|
-
])
|
|
261
|
-
]),
|
|
262
|
-
_: 1
|
|
263
|
-
}, 512)
|
|
264
|
-
]),
|
|
265
|
-
t(h, {
|
|
266
|
-
ref: "refEModal",
|
|
267
|
-
width: "700px"
|
|
268
|
-
}, {
|
|
269
|
-
default: s(() => [
|
|
270
|
-
t(L)
|
|
271
|
-
]),
|
|
272
|
-
_: 1
|
|
273
|
-
}, 512)
|
|
274
|
-
], 64);
|
|
275
|
-
}
|
|
276
|
-
const oe = /* @__PURE__ */ R(q, [["render", Z]]);
|
|
277
|
-
export {
|
|
278
|
-
oe as default
|
|
279
|
-
};
|
|
@@ -1,330 +0,0 @@
|
|
|
1
|
-
import { defineComponent as F, resolveComponent as s, createBlock as $, openBlock as A, withCtx as a, createVNode as l, mergeProps as f, createTextVNode as b, createCommentVNode as D, toRefs as R, inject as c, reactive as v, ref as x, provide as B } from "vue";
|
|
2
|
-
import { useRequest as E } from "vue-request";
|
|
3
|
-
import { Form as K } from "ant-design-vue";
|
|
4
|
-
import { _ as L } from "./index-C3Fr-kGd.js";
|
|
5
|
-
const M = K.useForm, O = F({
|
|
6
|
-
props: {
|
|
7
|
-
xs: {
|
|
8
|
-
type: Number,
|
|
9
|
-
default: 24
|
|
10
|
-
},
|
|
11
|
-
lg: {
|
|
12
|
-
type: Number,
|
|
13
|
-
default: 24
|
|
14
|
-
},
|
|
15
|
-
span: {
|
|
16
|
-
type: Number,
|
|
17
|
-
default: 4
|
|
18
|
-
},
|
|
19
|
-
layout: {
|
|
20
|
-
type: String,
|
|
21
|
-
default: "horizontal"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
setup(e) {
|
|
25
|
-
const { xs: o, lg: V, span: q, layout: U } = R(e), m = c("$API"), g = v(m.user.add), n = v(m.user.info), d = v(m.user.update), y = c("refEList"), i = c("refEModal"), p = c("selectedKey", x()), r = x({
|
|
26
|
-
key: "",
|
|
27
|
-
xgh: "",
|
|
28
|
-
xm: "",
|
|
29
|
-
bmdm: null,
|
|
30
|
-
sflx: null,
|
|
31
|
-
sfxjld: "0",
|
|
32
|
-
sfbmld: "0",
|
|
33
|
-
sfyxrz: "1"
|
|
34
|
-
});
|
|
35
|
-
B("formState", r);
|
|
36
|
-
const k = v({
|
|
37
|
-
xgh: [{ required: !0, message: "请填写信息" }],
|
|
38
|
-
xm: [{ required: !0, message: "请填写信息" }],
|
|
39
|
-
bmdm: [{ required: !0, message: "请填写信息" }],
|
|
40
|
-
sflx: [{ required: !0, message: "请填写信息" }],
|
|
41
|
-
sfxjld: [{ required: !0, message: "请填写信息" }],
|
|
42
|
-
sfbmld: [{ required: !0, message: "请填写信息" }],
|
|
43
|
-
sfyxrz: [{ required: !0, message: "请填写信息" }]
|
|
44
|
-
}), { run: S, error: h, loading: w } = E(
|
|
45
|
-
(u) => n[n.method](u),
|
|
46
|
-
{
|
|
47
|
-
manual: !0,
|
|
48
|
-
onSuccess: (u) => {
|
|
49
|
-
r.value = u.data;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
);
|
|
53
|
-
p.value && S({ key: p.value });
|
|
54
|
-
const { run: C, loading: t } = E(
|
|
55
|
-
async (u) => {
|
|
56
|
-
const I = p.value ? d : g;
|
|
57
|
-
return I[I.method](u);
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
debounceInterval: 0,
|
|
61
|
-
manual: !0,
|
|
62
|
-
onSuccess: (u) => {
|
|
63
|
-
y.value.sync(), i.value.open = !1;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
), { resetFields: z, validate: j, validateInfos: N } = M(r, k);
|
|
67
|
-
return {
|
|
68
|
-
api: m,
|
|
69
|
-
error: h,
|
|
70
|
-
loading: w,
|
|
71
|
-
save_loading: t,
|
|
72
|
-
formState: r,
|
|
73
|
-
resetFields: z,
|
|
74
|
-
validate: j,
|
|
75
|
-
validateInfos: N,
|
|
76
|
-
onSubmit: async () => {
|
|
77
|
-
try {
|
|
78
|
-
await j(), C(r.value);
|
|
79
|
-
} catch {
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
editDisabled: c("editDisabled", x(!0))
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
function P(e, o, V, q, U, m) {
|
|
87
|
-
const g = s("a-input"), n = s("a-form-item"), d = s("a-col"), y = s("ESelect"), i = s("a-select-option"), p = s("a-select"), r = s("a-switch"), k = s("a-row"), S = s("a-button"), h = s("a-space"), w = s("a-form"), C = s("ESpin");
|
|
88
|
-
return A(), $(C, {
|
|
89
|
-
spinning: e.loading,
|
|
90
|
-
error: e.error
|
|
91
|
-
}, {
|
|
92
|
-
default: a(() => [
|
|
93
|
-
l(w, {
|
|
94
|
-
class: "d-flex flex-column h-100 justify-content-between",
|
|
95
|
-
autocomplete: "off",
|
|
96
|
-
layout: e.layout,
|
|
97
|
-
"label-col": { span: e.layout == "vertical" ? 24 : 24 / e.lg * e.span },
|
|
98
|
-
"wrapper-col": { span: e.layout == "vertical" ? 24 : 24 - 24 / e.lg * e.span }
|
|
99
|
-
}, {
|
|
100
|
-
default: a(() => [
|
|
101
|
-
l(k, { gutter: [16] }, {
|
|
102
|
-
default: a(() => [
|
|
103
|
-
l(d, {
|
|
104
|
-
xs: e.xs,
|
|
105
|
-
lg: e.lg
|
|
106
|
-
}, {
|
|
107
|
-
default: a(() => [
|
|
108
|
-
l(n, f({
|
|
109
|
-
label: "账号",
|
|
110
|
-
name: "xgh"
|
|
111
|
-
}, e.validateInfos.xgh), {
|
|
112
|
-
default: a(() => [
|
|
113
|
-
l(g, {
|
|
114
|
-
value: e.formState.xgh,
|
|
115
|
-
"onUpdate:value": o[0] || (o[0] = (t) => e.formState.xgh = t),
|
|
116
|
-
disabled: e.editDisabled,
|
|
117
|
-
placeholder: "请填写账号",
|
|
118
|
-
allowClear: ""
|
|
119
|
-
}, null, 8, ["value", "disabled"])
|
|
120
|
-
]),
|
|
121
|
-
_: 1
|
|
122
|
-
}, 16)
|
|
123
|
-
]),
|
|
124
|
-
_: 1
|
|
125
|
-
}, 8, ["xs", "lg"]),
|
|
126
|
-
l(d, {
|
|
127
|
-
xs: e.xs,
|
|
128
|
-
lg: e.lg
|
|
129
|
-
}, {
|
|
130
|
-
default: a(() => [
|
|
131
|
-
l(n, f({
|
|
132
|
-
label: "姓名",
|
|
133
|
-
name: "xm"
|
|
134
|
-
}, e.validateInfos.xm), {
|
|
135
|
-
default: a(() => [
|
|
136
|
-
l(g, {
|
|
137
|
-
value: e.formState.xm,
|
|
138
|
-
"onUpdate:value": o[1] || (o[1] = (t) => e.formState.xm = t),
|
|
139
|
-
placeholder: "请填写姓名",
|
|
140
|
-
allowClear: ""
|
|
141
|
-
}, null, 8, ["value"])
|
|
142
|
-
]),
|
|
143
|
-
_: 1
|
|
144
|
-
}, 16)
|
|
145
|
-
]),
|
|
146
|
-
_: 1
|
|
147
|
-
}, 8, ["xs", "lg"]),
|
|
148
|
-
l(d, {
|
|
149
|
-
xs: e.xs,
|
|
150
|
-
lg: e.lg
|
|
151
|
-
}, {
|
|
152
|
-
default: a(() => [
|
|
153
|
-
l(n, f({
|
|
154
|
-
label: "部门",
|
|
155
|
-
name: "bmdm"
|
|
156
|
-
}, e.validateInfos.bmdm), {
|
|
157
|
-
default: a(() => [
|
|
158
|
-
l(y, {
|
|
159
|
-
value: e.formState.bmdm,
|
|
160
|
-
"onUpdate:value": o[2] || (o[2] = (t) => e.formState.bmdm = t),
|
|
161
|
-
placeholder: "请选择部门",
|
|
162
|
-
apiObj: e.api.department.list,
|
|
163
|
-
class: "w-100",
|
|
164
|
-
allowClear: "",
|
|
165
|
-
"field-names": { label: "bmmc", value: "bmdm" }
|
|
166
|
-
}, null, 8, ["value", "apiObj"])
|
|
167
|
-
]),
|
|
168
|
-
_: 1
|
|
169
|
-
}, 16)
|
|
170
|
-
]),
|
|
171
|
-
_: 1
|
|
172
|
-
}, 8, ["xs", "lg"]),
|
|
173
|
-
l(d, {
|
|
174
|
-
xs: e.xs,
|
|
175
|
-
lg: e.lg
|
|
176
|
-
}, {
|
|
177
|
-
default: a(() => [
|
|
178
|
-
l(n, f({
|
|
179
|
-
label: "人员类型",
|
|
180
|
-
name: "sflx"
|
|
181
|
-
}, e.validateInfos.sflx), {
|
|
182
|
-
default: a(() => [
|
|
183
|
-
l(p, {
|
|
184
|
-
placeholder: "请选择人员类型",
|
|
185
|
-
value: e.formState.sflx,
|
|
186
|
-
"onUpdate:value": o[3] || (o[3] = (t) => e.formState.sflx = t),
|
|
187
|
-
class: "w-100",
|
|
188
|
-
allowClear: ""
|
|
189
|
-
}, {
|
|
190
|
-
default: a(() => [
|
|
191
|
-
l(i, { value: "1" }, {
|
|
192
|
-
default: a(() => [...o[7] || (o[7] = [
|
|
193
|
-
b("教师", -1)
|
|
194
|
-
])]),
|
|
195
|
-
_: 1
|
|
196
|
-
}),
|
|
197
|
-
l(i, { value: "2" }, {
|
|
198
|
-
default: a(() => [...o[8] || (o[8] = [
|
|
199
|
-
b("学生", -1)
|
|
200
|
-
])]),
|
|
201
|
-
_: 1
|
|
202
|
-
}),
|
|
203
|
-
l(i, {
|
|
204
|
-
value: "9",
|
|
205
|
-
disabled: ""
|
|
206
|
-
}, {
|
|
207
|
-
default: a(() => [...o[9] || (o[9] = [
|
|
208
|
-
b("其他人员", -1)
|
|
209
|
-
])]),
|
|
210
|
-
_: 1
|
|
211
|
-
})
|
|
212
|
-
]),
|
|
213
|
-
_: 1
|
|
214
|
-
}, 8, ["value"])
|
|
215
|
-
]),
|
|
216
|
-
_: 1
|
|
217
|
-
}, 16)
|
|
218
|
-
]),
|
|
219
|
-
_: 1
|
|
220
|
-
}, 8, ["xs", "lg"]),
|
|
221
|
-
l(d, {
|
|
222
|
-
xs: e.xs,
|
|
223
|
-
lg: e.lg
|
|
224
|
-
}, {
|
|
225
|
-
default: a(() => [
|
|
226
|
-
l(n, f({
|
|
227
|
-
label: "是否校级用户",
|
|
228
|
-
name: "sfxjld"
|
|
229
|
-
}, e.validateInfos.sfxjld), {
|
|
230
|
-
default: a(() => [
|
|
231
|
-
l(r, {
|
|
232
|
-
checked: e.formState.sfxjld,
|
|
233
|
-
"onUpdate:checked": o[4] || (o[4] = (t) => e.formState.sfxjld = t),
|
|
234
|
-
"checked-children": "开",
|
|
235
|
-
"un-checked-children": "关",
|
|
236
|
-
checkedValue: "1",
|
|
237
|
-
unCheckedValue: "0"
|
|
238
|
-
}, null, 8, ["checked"])
|
|
239
|
-
]),
|
|
240
|
-
_: 1
|
|
241
|
-
}, 16)
|
|
242
|
-
]),
|
|
243
|
-
_: 1
|
|
244
|
-
}, 8, ["xs", "lg"]),
|
|
245
|
-
l(d, {
|
|
246
|
-
xs: e.xs,
|
|
247
|
-
lg: e.lg
|
|
248
|
-
}, {
|
|
249
|
-
default: a(() => [
|
|
250
|
-
l(n, f({
|
|
251
|
-
label: "是否部门领导",
|
|
252
|
-
name: "sfbmld"
|
|
253
|
-
}, e.validateInfos.sfbmld), {
|
|
254
|
-
default: a(() => [
|
|
255
|
-
l(r, {
|
|
256
|
-
checked: e.formState.sfbmld,
|
|
257
|
-
"onUpdate:checked": o[5] || (o[5] = (t) => e.formState.sfbmld = t),
|
|
258
|
-
"checked-children": "开",
|
|
259
|
-
"un-checked-children": "关",
|
|
260
|
-
checkedValue: "1",
|
|
261
|
-
unCheckedValue: "0"
|
|
262
|
-
}, null, 8, ["checked"])
|
|
263
|
-
]),
|
|
264
|
-
_: 1
|
|
265
|
-
}, 16)
|
|
266
|
-
]),
|
|
267
|
-
_: 1
|
|
268
|
-
}, 8, ["xs", "lg"]),
|
|
269
|
-
l(d, {
|
|
270
|
-
xs: e.xs,
|
|
271
|
-
lg: e.lg
|
|
272
|
-
}, {
|
|
273
|
-
default: a(() => [
|
|
274
|
-
l(n, f({
|
|
275
|
-
label: "是否允许认证",
|
|
276
|
-
name: "sfyxrz"
|
|
277
|
-
}, e.validateInfos.sfyxrz), {
|
|
278
|
-
default: a(() => [
|
|
279
|
-
l(r, {
|
|
280
|
-
checked: e.formState.sfyxrz,
|
|
281
|
-
"onUpdate:checked": o[6] || (o[6] = (t) => e.formState.sfyxrz = t),
|
|
282
|
-
"checked-children": "开",
|
|
283
|
-
"un-checked-children": "关",
|
|
284
|
-
checkedValue: "1",
|
|
285
|
-
unCheckedValue: "0"
|
|
286
|
-
}, null, 8, ["checked"])
|
|
287
|
-
]),
|
|
288
|
-
_: 1
|
|
289
|
-
}, 16)
|
|
290
|
-
]),
|
|
291
|
-
_: 1
|
|
292
|
-
}, 8, ["xs", "lg"])
|
|
293
|
-
]),
|
|
294
|
-
_: 1
|
|
295
|
-
}),
|
|
296
|
-
l(n, {
|
|
297
|
-
"wrapper-col": { span: 24, offset: 0 },
|
|
298
|
-
class: "mb-0"
|
|
299
|
-
}, {
|
|
300
|
-
default: a(() => [
|
|
301
|
-
l(h, { class: "d-flex justify-content-end" }, {
|
|
302
|
-
default: a(() => [
|
|
303
|
-
D("", !0),
|
|
304
|
-
l(S, {
|
|
305
|
-
type: "primary",
|
|
306
|
-
onClick: e.onSubmit,
|
|
307
|
-
loading: e.save_loading
|
|
308
|
-
}, {
|
|
309
|
-
default: a(() => [...o[11] || (o[11] = [
|
|
310
|
-
b("保存", -1)
|
|
311
|
-
])]),
|
|
312
|
-
_: 1
|
|
313
|
-
}, 8, ["onClick", "loading"])
|
|
314
|
-
]),
|
|
315
|
-
_: 1
|
|
316
|
-
})
|
|
317
|
-
]),
|
|
318
|
-
_: 1
|
|
319
|
-
})
|
|
320
|
-
]),
|
|
321
|
-
_: 1
|
|
322
|
-
}, 8, ["layout", "label-col", "wrapper-col"])
|
|
323
|
-
]),
|
|
324
|
-
_: 1
|
|
325
|
-
}, 8, ["spinning", "error"]);
|
|
326
|
-
}
|
|
327
|
-
const Q = /* @__PURE__ */ L(O, [["render", P]]);
|
|
328
|
-
export {
|
|
329
|
-
Q as default
|
|
330
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { defineComponent as _, resolveComponent as t, createElementBlock as u, openBlock as m, createVNode as s, withCtx as r, createBlock as E, ref as o, provide as f } from "vue";
|
|
2
|
-
import N from "./DepartmentETree-e6bJiA4U.js";
|
|
3
|
-
import y from "./UserEList-BZOI6u_o.js";
|
|
4
|
-
import { _ as x } from "./index-C3Fr-kGd.js";
|
|
5
|
-
const K = _({
|
|
6
|
-
components: { UserEList: y, DepartmentETree: N },
|
|
7
|
-
setup() {
|
|
8
|
-
const e = o("departmentTreeSelectedKeys"), n = o([]);
|
|
9
|
-
f("departmentTreeSelectedKeys", n);
|
|
10
|
-
const l = o("refEList"), c = o();
|
|
11
|
-
return f("refEList", c), {
|
|
12
|
-
selectedKeysName: e,
|
|
13
|
-
refEListName: l
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
}), h = { class: "pt-3 ps-3 bg-light h-100 d-flex flex-column overflow-hidden" };
|
|
17
|
-
function L(e, n, l, c, w, T) {
|
|
18
|
-
const d = t("DepartmentETree"), a = t("a-col"), p = t("UserEList"), i = t("a-row");
|
|
19
|
-
return m(), u("div", h, [
|
|
20
|
-
s(i, {
|
|
21
|
-
gutter: [0, 16],
|
|
22
|
-
class: "h-100 flex-fill overflow-hidden"
|
|
23
|
-
}, {
|
|
24
|
-
default: r(() => [
|
|
25
|
-
(m(), E(a, {
|
|
26
|
-
key: 0,
|
|
27
|
-
span: 5,
|
|
28
|
-
class: "flex-fill d-flex flex-column"
|
|
29
|
-
}, {
|
|
30
|
-
default: r(() => [
|
|
31
|
-
s(d, { selectedKeysName: e.selectedKeysName }, null, 8, ["selectedKeysName"])
|
|
32
|
-
]),
|
|
33
|
-
_: 1
|
|
34
|
-
})),
|
|
35
|
-
s(a, {
|
|
36
|
-
span: 19,
|
|
37
|
-
class: "flex-fill d-flex flex-column"
|
|
38
|
-
}, {
|
|
39
|
-
default: r(() => [
|
|
40
|
-
s(p, {
|
|
41
|
-
refName: e.refEListName,
|
|
42
|
-
selectedKeysName: e.selectedKeysName
|
|
43
|
-
}, null, 8, ["refName", "selectedKeysName"])
|
|
44
|
-
]),
|
|
45
|
-
_: 1
|
|
46
|
-
})
|
|
47
|
-
]),
|
|
48
|
-
_: 1
|
|
49
|
-
})
|
|
50
|
-
]);
|
|
51
|
-
}
|
|
52
|
-
const g = /* @__PURE__ */ x(K, [["render", L]]);
|
|
53
|
-
export {
|
|
54
|
-
g as default
|
|
55
|
-
};
|