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,135 +0,0 @@
|
|
|
1
|
-
import { defineComponent as P, resolveComponent as n, createElementBlock as T, openBlock as b, Fragment as j, createElementVNode as C, createVNode as l, withCtx as t, createBlock as g, createTextVNode as a, ref as w, provide as r, inject as z, reactive as y } from "vue";
|
|
2
|
-
import A from "./DepartmentEditor-CU5XTCf2.js";
|
|
3
|
-
import { useRequest as B } from "vue-request";
|
|
4
|
-
import { u as N } from "./useExComponentActions-BBBV87vq.js";
|
|
5
|
-
import { _ as V } from "./index-C3Fr-kGd.js";
|
|
6
|
-
const I = P({
|
|
7
|
-
components: { DepartmentEditor: A },
|
|
8
|
-
setup() {
|
|
9
|
-
const o = w();
|
|
10
|
-
r("refComp", o);
|
|
11
|
-
const e = w();
|
|
12
|
-
r("refPopup", e);
|
|
13
|
-
const d = w();
|
|
14
|
-
r("selectedKey", d);
|
|
15
|
-
const p = z("$API"), i = y({}), E = y(p.department.list), c = y(p.department.del);
|
|
16
|
-
r("state", i), r("apiObj", E);
|
|
17
|
-
const { add: m, del: u, edit: f, search: _ } = N(o, e, d, c, B, {}, {});
|
|
18
|
-
return {
|
|
19
|
-
api: p,
|
|
20
|
-
refComp: o,
|
|
21
|
-
refPopup: e,
|
|
22
|
-
state: i,
|
|
23
|
-
add: m,
|
|
24
|
-
del: u,
|
|
25
|
-
edit: f,
|
|
26
|
-
search: _,
|
|
27
|
-
columns: [
|
|
28
|
-
{ title: "部门名称", dataIndex: "bmmc", align: "center", width: 200, fixed: "left", ellipsis: !0 }
|
|
29
|
-
]
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
}), K = { class: "h-100 d-flex flex-column overflow-hidden bg-white" }, M = { class: "px-1" };
|
|
33
|
-
function O(o, e, d, p, i, E) {
|
|
34
|
-
const c = n("a-input"), m = n("a-select-option"), u = n("a-select"), f = n("a-icon"), _ = n("a-button"), v = n("a-tag"), k = n("a-table-column"), x = n("ETable"), $ = n("DepartmentEditor"), D = n("EModal");
|
|
35
|
-
return b(), T(j, null, [
|
|
36
|
-
C("div", K, [
|
|
37
|
-
l(x, {
|
|
38
|
-
ref: "refComp",
|
|
39
|
-
columns: o.columns,
|
|
40
|
-
pageSize: 20
|
|
41
|
-
}, {
|
|
42
|
-
left: t(() => [...e[3] || (e[3] = [])]),
|
|
43
|
-
right: t(() => [
|
|
44
|
-
l(c, {
|
|
45
|
-
value: o.state.dmmc,
|
|
46
|
-
"onUpdate:value": e[0] || (e[0] = (s) => o.state.dmmc = s),
|
|
47
|
-
placeholder: "代码/名称",
|
|
48
|
-
size: "small",
|
|
49
|
-
allowClear: ""
|
|
50
|
-
}, null, 8, ["value"]),
|
|
51
|
-
l(u, {
|
|
52
|
-
value: o.state.sfky,
|
|
53
|
-
"onUpdate:value": e[1] || (e[1] = (s) => o.state.sfky = s),
|
|
54
|
-
placeholder: "状态",
|
|
55
|
-
style: { width: "150px" },
|
|
56
|
-
size: "small",
|
|
57
|
-
allowClear: ""
|
|
58
|
-
}, {
|
|
59
|
-
default: t(() => [
|
|
60
|
-
l(m, { value: "1" }, {
|
|
61
|
-
default: t(() => [...e[4] || (e[4] = [
|
|
62
|
-
a("有效", -1)
|
|
63
|
-
])]),
|
|
64
|
-
_: 1
|
|
65
|
-
}),
|
|
66
|
-
l(m, { value: "2" }, {
|
|
67
|
-
default: t(() => [...e[5] || (e[5] = [
|
|
68
|
-
a("无效", -1)
|
|
69
|
-
])]),
|
|
70
|
-
_: 1
|
|
71
|
-
})
|
|
72
|
-
]),
|
|
73
|
-
_: 1
|
|
74
|
-
}, 8, ["value"]),
|
|
75
|
-
l(_, {
|
|
76
|
-
type: "primary",
|
|
77
|
-
onClick: e[2] || (e[2] = (s) => o.search())
|
|
78
|
-
}, {
|
|
79
|
-
default: t(() => [
|
|
80
|
-
C("small", M, [
|
|
81
|
-
l(f, { type: "icon-search" }),
|
|
82
|
-
e[6] || (e[6] = a(" 检索", -1))
|
|
83
|
-
])
|
|
84
|
-
]),
|
|
85
|
-
_: 1
|
|
86
|
-
})
|
|
87
|
-
]),
|
|
88
|
-
default: t(() => [
|
|
89
|
-
l(k, {
|
|
90
|
-
title: "状态",
|
|
91
|
-
align: "center",
|
|
92
|
-
width: 50
|
|
93
|
-
}, {
|
|
94
|
-
default: t(({ record: s }) => [
|
|
95
|
-
s.sfky == "1" ? (b(), g(v, {
|
|
96
|
-
key: 0,
|
|
97
|
-
color: "orange",
|
|
98
|
-
class: "w-100 text-center"
|
|
99
|
-
}, {
|
|
100
|
-
default: t(() => [...e[7] || (e[7] = [
|
|
101
|
-
a("有效", -1)
|
|
102
|
-
])]),
|
|
103
|
-
_: 1
|
|
104
|
-
})) : (b(), g(v, {
|
|
105
|
-
key: 1,
|
|
106
|
-
color: "blue",
|
|
107
|
-
class: "w-100 text-center"
|
|
108
|
-
}, {
|
|
109
|
-
default: t(() => [...e[8] || (e[8] = [
|
|
110
|
-
a("无效", -1)
|
|
111
|
-
])]),
|
|
112
|
-
_: 1
|
|
113
|
-
}))
|
|
114
|
-
]),
|
|
115
|
-
_: 1
|
|
116
|
-
})
|
|
117
|
-
]),
|
|
118
|
-
_: 1
|
|
119
|
-
}, 8, ["columns"])
|
|
120
|
-
]),
|
|
121
|
-
l(D, {
|
|
122
|
-
ref: "refPopup",
|
|
123
|
-
width: "700px"
|
|
124
|
-
}, {
|
|
125
|
-
default: t(() => [
|
|
126
|
-
l($)
|
|
127
|
-
]),
|
|
128
|
-
_: 1
|
|
129
|
-
}, 512)
|
|
130
|
-
], 64);
|
|
131
|
-
}
|
|
132
|
-
const G = /* @__PURE__ */ V(I, [["render", O]]);
|
|
133
|
-
export {
|
|
134
|
-
G as default
|
|
135
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { defineComponent as l, resolveComponent as a, createBlock as f, openBlock as i, withCtx as n, createVNode as u, createElementVNode as _, toRefs as N, inject as c, ref as y, reactive as E, provide as K } from "vue";
|
|
2
|
-
import { _ as T } from "./index-C3Fr-kGd.js";
|
|
3
|
-
const b = l({
|
|
4
|
-
components: {},
|
|
5
|
-
props: {
|
|
6
|
-
refName: {
|
|
7
|
-
type: String,
|
|
8
|
-
default: "refETree"
|
|
9
|
-
},
|
|
10
|
-
selectedKeysName: {
|
|
11
|
-
type: String,
|
|
12
|
-
default: "selectedKeys"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
setup(t) {
|
|
16
|
-
const { refName: e, selectedKeysName: d } = N(t), r = c(e.value, y()), s = c("$API"), o = E(s.department.list);
|
|
17
|
-
return K("apiObj", o), {
|
|
18
|
-
refETree: r
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
function $(t, e, d, r, s, o) {
|
|
23
|
-
const m = a("ETree"), p = a("a-card");
|
|
24
|
-
return i(), f(p, {
|
|
25
|
-
size: "small",
|
|
26
|
-
class: "e-card rounded-0",
|
|
27
|
-
bordered: !1
|
|
28
|
-
}, {
|
|
29
|
-
title: n(() => [...e[0] || (e[0] = [
|
|
30
|
-
_("span", { class: "text-muted" }, "组织机构", -1)
|
|
31
|
-
])]),
|
|
32
|
-
default: n(() => [
|
|
33
|
-
u(m, {
|
|
34
|
-
ref: "refETree",
|
|
35
|
-
fieldNames: { title: "bmmc", key: "bmdm" },
|
|
36
|
-
pageSize: 1e3,
|
|
37
|
-
selectedKeysName: t.selectedKeysName
|
|
38
|
-
}, null, 8, ["selectedKeysName"])
|
|
39
|
-
]),
|
|
40
|
-
_: 1
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
const g = /* @__PURE__ */ T(b, [["render", $]]);
|
|
44
|
-
export {
|
|
45
|
-
g as default
|
|
46
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { defineComponent as m, resolveComponent as a, createBlock as l, openBlock as i, withCtx as f, createVNode as _, toRefs as u, inject as n, ref as y, reactive as N, provide as E } from "vue";
|
|
2
|
-
import { _ as K } from "./index-C3Fr-kGd.js";
|
|
3
|
-
const T = m({
|
|
4
|
-
components: {},
|
|
5
|
-
props: {
|
|
6
|
-
refName: {
|
|
7
|
-
type: String,
|
|
8
|
-
default: "refETree"
|
|
9
|
-
},
|
|
10
|
-
selectedKeysName: {
|
|
11
|
-
type: String,
|
|
12
|
-
default: "selectedKeys"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
setup(e) {
|
|
16
|
-
const { refName: t, selectedKeysName: c } = u(e), r = n(t.value, y()), s = n("$API"), o = N(s.department.list);
|
|
17
|
-
return E("apiObj", o), {
|
|
18
|
-
refETree: r
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
function b(e, t, c, r, s, o) {
|
|
23
|
-
const d = a("ETree"), p = a("a-card");
|
|
24
|
-
return i(), l(p, {
|
|
25
|
-
title: "组织机构",
|
|
26
|
-
size: "small",
|
|
27
|
-
class: "e-card rounded-0",
|
|
28
|
-
bordered: !0
|
|
29
|
-
}, {
|
|
30
|
-
default: f(() => [
|
|
31
|
-
_(d, {
|
|
32
|
-
ref: "refETree",
|
|
33
|
-
fieldNames: { title: "bmmc", key: "bmdm" },
|
|
34
|
-
pageSize: 1e3,
|
|
35
|
-
selectedKeysName: e.selectedKeysName
|
|
36
|
-
}, null, 8, ["selectedKeysName"])
|
|
37
|
-
]),
|
|
38
|
-
_: 1
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
const g = /* @__PURE__ */ K(T, [["render", b]]);
|
|
42
|
-
export {
|
|
43
|
-
g as default
|
|
44
|
-
};
|
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
import { defineComponent as P, resolveComponent as l, createBlock as U, openBlock as j, withCtx as o, createVNode as a, mergeProps as c, createCommentVNode as x, createTextVNode as D, toRefs as E, inject as f, reactive as g, ref as S } from "vue";
|
|
2
|
-
import { useRequest as C } from "vue-request";
|
|
3
|
-
import { Form as R } from "ant-design-vue";
|
|
4
|
-
import { _ as B } from "./index-C3Fr-kGd.js";
|
|
5
|
-
const K = R.useForm, T = P({
|
|
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: t, lg: h, span: I, layout: N } = E(e), i = f("$API"), d = g(i.department.add), s = g(i.department.info), u = g(i.department.update), b = f("refComp"), v = f("refPopup"), p = f("selectedKey", S()), m = S({
|
|
26
|
-
bmdm: "",
|
|
27
|
-
bmmc: "",
|
|
28
|
-
xssx: "",
|
|
29
|
-
sfky: "1"
|
|
30
|
-
}), y = g({
|
|
31
|
-
bmmc: [{ required: !0, message: "请填写信息" }],
|
|
32
|
-
bmdm: [{ required: !0, message: "请填写信息" }],
|
|
33
|
-
xssx: [{ required: !0, message: "请填写信息" }],
|
|
34
|
-
sfky: [{ required: !0, message: "请填写信息" }]
|
|
35
|
-
}), { run: k, error: n, loading: q } = C(
|
|
36
|
-
(r) => s[s.method](r),
|
|
37
|
-
{
|
|
38
|
-
manual: !0,
|
|
39
|
-
onSuccess: (r) => {
|
|
40
|
-
m.value = r.data;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
);
|
|
44
|
-
p.value && k({ key: p.value });
|
|
45
|
-
const { run: F, loading: V } = C(
|
|
46
|
-
async (r) => {
|
|
47
|
-
const w = p.value ? u : d;
|
|
48
|
-
return w[w.method](r);
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
debounceInterval: 0,
|
|
52
|
-
manual: !0,
|
|
53
|
-
onSuccess: (r) => {
|
|
54
|
-
b.value.sync(), v.value.open = !1;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
), { resetFields: $, validate: _, validateInfos: A } = K(m, y);
|
|
58
|
-
return {
|
|
59
|
-
error: n,
|
|
60
|
-
loading: q,
|
|
61
|
-
save_loading: V,
|
|
62
|
-
formState: m,
|
|
63
|
-
resetFields: $,
|
|
64
|
-
validate: _,
|
|
65
|
-
validateInfos: A,
|
|
66
|
-
onSubmit: async () => {
|
|
67
|
-
try {
|
|
68
|
-
await _(), F(m.value);
|
|
69
|
-
} catch {
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
editDisabled: f("editDisabled", S(!0))
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
function z(e, t, h, I, N, i) {
|
|
77
|
-
const d = l("a-input"), s = l("a-form-item"), u = l("a-col"), b = l("a-switch"), v = l("a-row"), p = l("a-button"), m = l("a-space"), y = l("a-form"), k = l("ESpin");
|
|
78
|
-
return j(), U(k, {
|
|
79
|
-
spinning: e.loading,
|
|
80
|
-
error: e.error
|
|
81
|
-
}, {
|
|
82
|
-
default: o(() => [
|
|
83
|
-
a(y, {
|
|
84
|
-
class: "d-flex flex-column h-100 justify-content-between",
|
|
85
|
-
autocomplete: "off",
|
|
86
|
-
layout: e.layout,
|
|
87
|
-
"label-col": { span: e.layout == "vertical" ? 24 : 24 / e.lg * e.span },
|
|
88
|
-
"wrapper-col": { span: e.layout == "vertical" ? 24 : 24 - 24 / e.lg * e.span }
|
|
89
|
-
}, {
|
|
90
|
-
default: o(() => [
|
|
91
|
-
a(v, { gutter: [16] }, {
|
|
92
|
-
default: o(() => [
|
|
93
|
-
a(u, {
|
|
94
|
-
xs: e.xs,
|
|
95
|
-
lg: e.lg
|
|
96
|
-
}, {
|
|
97
|
-
default: o(() => [
|
|
98
|
-
a(s, c({
|
|
99
|
-
label: "部门代码",
|
|
100
|
-
name: "bmdm"
|
|
101
|
-
}, e.validateInfos.bmdm), {
|
|
102
|
-
default: o(() => [
|
|
103
|
-
a(d, {
|
|
104
|
-
value: e.formState.bmdm,
|
|
105
|
-
"onUpdate:value": t[0] || (t[0] = (n) => e.formState.bmdm = n)
|
|
106
|
-
}, null, 8, ["value"])
|
|
107
|
-
]),
|
|
108
|
-
_: 1
|
|
109
|
-
}, 16)
|
|
110
|
-
]),
|
|
111
|
-
_: 1
|
|
112
|
-
}, 8, ["xs", "lg"]),
|
|
113
|
-
a(u, {
|
|
114
|
-
xs: e.xs,
|
|
115
|
-
lg: e.lg
|
|
116
|
-
}, {
|
|
117
|
-
default: o(() => [
|
|
118
|
-
a(s, c({
|
|
119
|
-
label: "部门名称",
|
|
120
|
-
name: "bmmc"
|
|
121
|
-
}, e.validateInfos.bmmc), {
|
|
122
|
-
default: o(() => [
|
|
123
|
-
a(d, {
|
|
124
|
-
value: e.formState.bmmc,
|
|
125
|
-
"onUpdate:value": t[1] || (t[1] = (n) => e.formState.bmmc = n)
|
|
126
|
-
}, null, 8, ["value"])
|
|
127
|
-
]),
|
|
128
|
-
_: 1
|
|
129
|
-
}, 16)
|
|
130
|
-
]),
|
|
131
|
-
_: 1
|
|
132
|
-
}, 8, ["xs", "lg"]),
|
|
133
|
-
a(u, {
|
|
134
|
-
xs: e.xs,
|
|
135
|
-
lg: e.lg
|
|
136
|
-
}, {
|
|
137
|
-
default: o(() => [
|
|
138
|
-
a(s, c({
|
|
139
|
-
label: "显示顺序",
|
|
140
|
-
name: "xssx"
|
|
141
|
-
}, e.validateInfos.xssx), {
|
|
142
|
-
default: o(() => [
|
|
143
|
-
a(d, {
|
|
144
|
-
value: e.formState.xssx,
|
|
145
|
-
"onUpdate:value": t[2] || (t[2] = (n) => e.formState.xssx = n)
|
|
146
|
-
}, null, 8, ["value"])
|
|
147
|
-
]),
|
|
148
|
-
_: 1
|
|
149
|
-
}, 16)
|
|
150
|
-
]),
|
|
151
|
-
_: 1
|
|
152
|
-
}, 8, ["xs", "lg"]),
|
|
153
|
-
a(u, {
|
|
154
|
-
xs: e.xs,
|
|
155
|
-
lg: e.lg
|
|
156
|
-
}, {
|
|
157
|
-
default: o(() => [
|
|
158
|
-
a(s, c({
|
|
159
|
-
label: "是否可用",
|
|
160
|
-
name: "sfky"
|
|
161
|
-
}, e.validateInfos.sfky), {
|
|
162
|
-
default: o(() => [
|
|
163
|
-
a(b, {
|
|
164
|
-
checked: e.formState.sfky,
|
|
165
|
-
"onUpdate:checked": t[3] || (t[3] = (n) => e.formState.sfky = n),
|
|
166
|
-
"checked-children": "开",
|
|
167
|
-
"un-checked-children": "关",
|
|
168
|
-
checkedValue: "1",
|
|
169
|
-
unCheckedValue: "0"
|
|
170
|
-
}, null, 8, ["checked"])
|
|
171
|
-
]),
|
|
172
|
-
_: 1
|
|
173
|
-
}, 16)
|
|
174
|
-
]),
|
|
175
|
-
_: 1
|
|
176
|
-
}, 8, ["xs", "lg"])
|
|
177
|
-
]),
|
|
178
|
-
_: 1
|
|
179
|
-
}),
|
|
180
|
-
a(s, {
|
|
181
|
-
"wrapper-col": { span: 24, offset: 0 },
|
|
182
|
-
class: "mb-0"
|
|
183
|
-
}, {
|
|
184
|
-
default: o(() => [
|
|
185
|
-
a(m, { class: "d-flex justify-content-end" }, {
|
|
186
|
-
default: o(() => [
|
|
187
|
-
x("", !0),
|
|
188
|
-
a(p, {
|
|
189
|
-
type: "primary",
|
|
190
|
-
onClick: e.onSubmit,
|
|
191
|
-
loading: e.save_loading
|
|
192
|
-
}, {
|
|
193
|
-
default: o(() => [...t[5] || (t[5] = [
|
|
194
|
-
D("保存", -1)
|
|
195
|
-
])]),
|
|
196
|
-
_: 1
|
|
197
|
-
}, 8, ["onClick", "loading"])
|
|
198
|
-
]),
|
|
199
|
-
_: 1
|
|
200
|
-
})
|
|
201
|
-
]),
|
|
202
|
-
_: 1
|
|
203
|
-
})
|
|
204
|
-
]),
|
|
205
|
-
_: 1
|
|
206
|
-
}, 8, ["layout", "label-col", "wrapper-col"])
|
|
207
|
-
]),
|
|
208
|
-
_: 1
|
|
209
|
-
}, 8, ["spinning", "error"]);
|
|
210
|
-
}
|
|
211
|
-
const O = /* @__PURE__ */ B(T, [["render", z]]);
|
|
212
|
-
export {
|
|
213
|
-
O as default
|
|
214
|
-
};
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import { defineComponent as L, resolveComponent as l, createBlock as N, openBlock as K, withCtx as t, createVNode as s, createElementVNode as o, withModifiers as C, toDisplayString as A, createCommentVNode as h, createTextVNode as w, toRefs as j, inject as v, ref as _, provide as g, reactive as D, watch as E } from "vue";
|
|
2
|
-
import { _ as S } from "./index-C3Fr-kGd.js";
|
|
3
|
-
const $ = L({
|
|
4
|
-
components: {},
|
|
5
|
-
props: {
|
|
6
|
-
refName: {
|
|
7
|
-
type: String,
|
|
8
|
-
default: "refEList"
|
|
9
|
-
},
|
|
10
|
-
selectedKeysName: {
|
|
11
|
-
type: String,
|
|
12
|
-
default: "selectedKeys"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
setup(n) {
|
|
16
|
-
const { refName: e, selectedKeysName: y } = j(n), u = v(e.value, _());
|
|
17
|
-
g("refEList", u);
|
|
18
|
-
const p = v(y.value, _([]));
|
|
19
|
-
g("selectedKeys", p);
|
|
20
|
-
const z = v("$API"), c = D(z.role.user.availableList);
|
|
21
|
-
g("apiObj", c);
|
|
22
|
-
const f = v("selectedKeys", _([])), d = (r) => {
|
|
23
|
-
c.params = { bmdm: r, jsdm: f.value };
|
|
24
|
-
};
|
|
25
|
-
E(p, (r) => {
|
|
26
|
-
d(r[0]);
|
|
27
|
-
}), d(p.value[0]);
|
|
28
|
-
const x = _(!1), b = (r) => {
|
|
29
|
-
r.dataTransfer.setData("addid", r.target.getAttribute("data-addid"));
|
|
30
|
-
}, m = () => {
|
|
31
|
-
x.value = !1;
|
|
32
|
-
}, i = D({
|
|
33
|
-
sflx: null
|
|
34
|
-
});
|
|
35
|
-
g("state", i);
|
|
36
|
-
const a = () => {
|
|
37
|
-
u.value.search();
|
|
38
|
-
};
|
|
39
|
-
return E(() => [i.zhxm, i.sflx], ([r, P]) => {
|
|
40
|
-
u.value.search();
|
|
41
|
-
}), {
|
|
42
|
-
refEList: u,
|
|
43
|
-
state: i,
|
|
44
|
-
search: a,
|
|
45
|
-
dragAdd: b,
|
|
46
|
-
dropAreaClose: m
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
}), k = { class: "py-2 px-3" }, V = { class: "card-hover position-relative" }, B = { class: "d-flex justify-content-between bg-light" }, U = { class: "text-black-50" };
|
|
50
|
-
function O(n, e, y, u, p, z) {
|
|
51
|
-
const c = l("a-input"), f = l("a-col"), d = l("a-select-option"), x = l("a-select"), b = l("a-row");
|
|
52
|
-
l("a-icon"), l("a-button");
|
|
53
|
-
const m = l("a-card"), i = l("EList");
|
|
54
|
-
return K(), N(m, {
|
|
55
|
-
title: "部门成员",
|
|
56
|
-
size: "small",
|
|
57
|
-
class: "e-card rounded-0",
|
|
58
|
-
bordered: !0,
|
|
59
|
-
headStyle: { "min-height": "40px", border: "0" }
|
|
60
|
-
}, {
|
|
61
|
-
extra: t(() => [...e[3] || (e[3] = [])]),
|
|
62
|
-
default: t(() => [
|
|
63
|
-
s(i, {
|
|
64
|
-
ref: "refEList",
|
|
65
|
-
tagBorder: !0,
|
|
66
|
-
pageSize: 15,
|
|
67
|
-
simple: !0,
|
|
68
|
-
showSizeChanger: !1,
|
|
69
|
-
showQuickJumper: !1
|
|
70
|
-
}, {
|
|
71
|
-
content: t(() => [
|
|
72
|
-
o("div", k, [
|
|
73
|
-
s(b, { gutter: [16, 16] }, {
|
|
74
|
-
default: t(() => [
|
|
75
|
-
s(f, {
|
|
76
|
-
xs: 24,
|
|
77
|
-
xl: 12
|
|
78
|
-
}, {
|
|
79
|
-
default: t(() => [
|
|
80
|
-
s(c, {
|
|
81
|
-
value: n.state.zhxm,
|
|
82
|
-
"onUpdate:value": e[0] || (e[0] = (a) => n.state.zhxm = a),
|
|
83
|
-
placeholder: "账号/姓名",
|
|
84
|
-
class: "w-100",
|
|
85
|
-
size: "small",
|
|
86
|
-
allowClear: ""
|
|
87
|
-
}, null, 8, ["value"])
|
|
88
|
-
]),
|
|
89
|
-
_: 1
|
|
90
|
-
}),
|
|
91
|
-
s(f, {
|
|
92
|
-
xs: 24,
|
|
93
|
-
xl: 12
|
|
94
|
-
}, {
|
|
95
|
-
default: t(() => [
|
|
96
|
-
s(x, {
|
|
97
|
-
value: n.state.sflx,
|
|
98
|
-
"onUpdate:value": e[1] || (e[1] = (a) => n.state.sflx = a),
|
|
99
|
-
placeholder: "人员类型",
|
|
100
|
-
class: "w-100",
|
|
101
|
-
size: "small",
|
|
102
|
-
allowClear: ""
|
|
103
|
-
}, {
|
|
104
|
-
default: t(() => [
|
|
105
|
-
s(d, { value: "1" }, {
|
|
106
|
-
default: t(() => [...e[4] || (e[4] = [
|
|
107
|
-
w("教师", -1)
|
|
108
|
-
])]),
|
|
109
|
-
_: 1
|
|
110
|
-
}),
|
|
111
|
-
s(d, { value: "2" }, {
|
|
112
|
-
default: t(() => [...e[5] || (e[5] = [
|
|
113
|
-
w("学生", -1)
|
|
114
|
-
])]),
|
|
115
|
-
_: 1
|
|
116
|
-
}),
|
|
117
|
-
s(d, {
|
|
118
|
-
value: "9",
|
|
119
|
-
disabled: ""
|
|
120
|
-
}, {
|
|
121
|
-
default: t(() => [...e[6] || (e[6] = [
|
|
122
|
-
w("其他人员", -1)
|
|
123
|
-
])]),
|
|
124
|
-
_: 1
|
|
125
|
-
})
|
|
126
|
-
]),
|
|
127
|
-
_: 1
|
|
128
|
-
}, 8, ["value"])
|
|
129
|
-
]),
|
|
130
|
-
_: 1
|
|
131
|
-
})
|
|
132
|
-
]),
|
|
133
|
-
_: 1
|
|
134
|
-
})
|
|
135
|
-
]),
|
|
136
|
-
h("", !0)
|
|
137
|
-
]),
|
|
138
|
-
default: t(({ item: a }) => [
|
|
139
|
-
o("div", V, [
|
|
140
|
-
e[8] || (e[8] = o("div", { class: "box_line lt-3" }, null, -1)),
|
|
141
|
-
e[9] || (e[9] = o("div", { class: "box_line rt-3" }, null, -1)),
|
|
142
|
-
e[10] || (e[10] = o("div", { class: "box_line lb-3" }, null, -1)),
|
|
143
|
-
e[11] || (e[11] = o("div", { class: "box_line rb-3" }, null, -1)),
|
|
144
|
-
s(m, {
|
|
145
|
-
size: "small",
|
|
146
|
-
class: "e-card",
|
|
147
|
-
draggable: "true",
|
|
148
|
-
"data-addid": a.zgh,
|
|
149
|
-
onDragstart: C(n.dragAdd, ["stop"]),
|
|
150
|
-
onDragend: C(n.dropAreaClose, ["stop"])
|
|
151
|
-
}, {
|
|
152
|
-
title: t(() => [
|
|
153
|
-
o("div", B, [
|
|
154
|
-
o("span", null, A(a.xm), 1),
|
|
155
|
-
o("small", U, A(a.zgh), 1)
|
|
156
|
-
])
|
|
157
|
-
]),
|
|
158
|
-
_: 2
|
|
159
|
-
}, 1032, ["data-addid", "onDragstart", "onDragend"])
|
|
160
|
-
])
|
|
161
|
-
]),
|
|
162
|
-
_: 1
|
|
163
|
-
}, 512)
|
|
164
|
-
]),
|
|
165
|
-
_: 1
|
|
166
|
-
});
|
|
167
|
-
}
|
|
168
|
-
const J = /* @__PURE__ */ S($, [["render", O]]);
|
|
169
|
-
export {
|
|
170
|
-
J as default
|
|
171
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { defineComponent as r, resolveComponent as e, createElementBlock as a, openBlock as s, createVNode as o, withCtx as t } from "vue";
|
|
2
|
-
import p from "./DepartmentETable-mct60T1p.js";
|
|
3
|
-
import { _ as f } from "./index-C3Fr-kGd.js";
|
|
4
|
-
const _ = r({
|
|
5
|
-
components: { DepartmentETable: p },
|
|
6
|
-
setup() {
|
|
7
|
-
}
|
|
8
|
-
}), m = { class: "pt-3 ps-3 bg-light h-100 d-flex flex-column overflow-hidden" };
|
|
9
|
-
function d(i, u, x, h, w, b) {
|
|
10
|
-
const n = e("DepartmentETable"), l = e("a-col"), c = e("a-row");
|
|
11
|
-
return s(), a("div", m, [
|
|
12
|
-
o(c, {
|
|
13
|
-
gutter: [16, 16],
|
|
14
|
-
class: "h-100 flex-fill overflow-hidden"
|
|
15
|
-
}, {
|
|
16
|
-
default: t(() => [
|
|
17
|
-
o(l, {
|
|
18
|
-
span: 24,
|
|
19
|
-
class: "flex-fill d-flex flex-column"
|
|
20
|
-
}, {
|
|
21
|
-
default: t(() => [
|
|
22
|
-
o(n)
|
|
23
|
-
]),
|
|
24
|
-
_: 1
|
|
25
|
-
})
|
|
26
|
-
]),
|
|
27
|
-
_: 1
|
|
28
|
-
})
|
|
29
|
-
]);
|
|
30
|
-
}
|
|
31
|
-
const $ = /* @__PURE__ */ f(_, [["render", d]]);
|
|
32
|
-
export {
|
|
33
|
-
$ as default
|
|
34
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { ref as w, resolveComponent as e, createElementBlock as d, openBlock as m, createVNode as o, withCtx as t } from "vue";
|
|
2
|
-
const u = { class: "bg-light h-100 d-flex flex-column overflow-hidden" }, k = {
|
|
3
|
-
__name: "FlowCenter",
|
|
4
|
-
setup(v) {
|
|
5
|
-
const n = [
|
|
6
|
-
{ key: "flow", label: "工作流" },
|
|
7
|
-
{ key: "position", label: "岗位" },
|
|
8
|
-
{ key: "posiontnSet", label: "岗位集" }
|
|
9
|
-
], l = w(n[0]?.key || "");
|
|
10
|
-
return (x, i) => {
|
|
11
|
-
const s = e("WorkFlowEngineViewer"), c = e("PositionViewer"), a = e("PositionSetViewer"), r = e("ETabs"), _ = e("a-col"), f = e("a-row");
|
|
12
|
-
return m(), d("div", u, [
|
|
13
|
-
o(f, {
|
|
14
|
-
gutter: [16, 16],
|
|
15
|
-
class: "h-100 flex-fill overflow-hidden"
|
|
16
|
-
}, {
|
|
17
|
-
default: t(() => [
|
|
18
|
-
o(_, {
|
|
19
|
-
span: 24,
|
|
20
|
-
class: "flex-fill d-flex flex-column"
|
|
21
|
-
}, {
|
|
22
|
-
default: t(() => [
|
|
23
|
-
o(r, {
|
|
24
|
-
activeKey: l.value,
|
|
25
|
-
"onUpdate:activeKey": i[0] || (i[0] = (p) => l.value = p),
|
|
26
|
-
tabs: n,
|
|
27
|
-
class: "overflow-hidden"
|
|
28
|
-
}, {
|
|
29
|
-
flow: t(() => [
|
|
30
|
-
o(s)
|
|
31
|
-
]),
|
|
32
|
-
position: t(() => [
|
|
33
|
-
o(c)
|
|
34
|
-
]),
|
|
35
|
-
posiontnSet: t(() => [
|
|
36
|
-
o(a)
|
|
37
|
-
]),
|
|
38
|
-
_: 1
|
|
39
|
-
}, 8, ["activeKey"])
|
|
40
|
-
]),
|
|
41
|
-
_: 1
|
|
42
|
-
})
|
|
43
|
-
]),
|
|
44
|
-
_: 1
|
|
45
|
-
})
|
|
46
|
-
]);
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
export {
|
|
51
|
-
k as default
|
|
52
|
-
};
|