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,139 +0,0 @@
|
|
|
1
|
-
import { ref as a, provide as c, computed as w, resolveComponent as n, createElementBlock as E, openBlock as p, createVNode as e, withCtx as t, createBlock as h, createCommentVNode as b } from "vue";
|
|
2
|
-
import { useStore as N } from "vuex";
|
|
3
|
-
import S from "./RoleETree-CKy46-Zn.js";
|
|
4
|
-
import k from "./RoleUserETable-Os7RJeik.js";
|
|
5
|
-
import J from "./RoleMenuPermissionTree-D5UQJvZR.js";
|
|
6
|
-
import "./RoleInterfacePermissionTree-ClUoM85L.js";
|
|
7
|
-
import C from "./RoleInterfacePermissionETable-Co773S1r.js";
|
|
8
|
-
import { _ as V } from "./index-C3Fr-kGd.js";
|
|
9
|
-
const I = { class: "pt-3 ps-3 bg-light h-100 d-flex flex-column overflow-hidden" }, R = /* @__PURE__ */ Object.assign({ name: "N9003" }, {
|
|
10
|
-
__name: "RoleV2Viewer",
|
|
11
|
-
setup(Y) {
|
|
12
|
-
const v = a([]);
|
|
13
|
-
c("selectedKeys", v);
|
|
14
|
-
const x = a();
|
|
15
|
-
c("refJSETree", x);
|
|
16
|
-
const y = a("refJSETree"), T = a();
|
|
17
|
-
c("refJSCYETable", T);
|
|
18
|
-
const g = a("refJSCYETable"), K = N(), i = w(() => K.state.auth.userInfo), m = a("1"), _ = a(i.value?.is_super_admin === "1" ? "2" : "1"), u = a("1");
|
|
19
|
-
return (B, l) => {
|
|
20
|
-
const o = n("a-tab-pane"), f = n("a-tabs"), r = n("a-col"), d = n("a-row");
|
|
21
|
-
return p(), E("div", I, [
|
|
22
|
-
e(d, {
|
|
23
|
-
gutter: [16, 16],
|
|
24
|
-
class: "h-100 flex-fill"
|
|
25
|
-
}, {
|
|
26
|
-
default: t(() => [
|
|
27
|
-
e(r, {
|
|
28
|
-
span: 6,
|
|
29
|
-
class: "flex-fill d-flex flex-column"
|
|
30
|
-
}, {
|
|
31
|
-
default: t(() => [
|
|
32
|
-
e(f, {
|
|
33
|
-
activeKey: m.value,
|
|
34
|
-
"onUpdate:activeKey": l[0] || (l[0] = (s) => m.value = s),
|
|
35
|
-
class: "bg-white h-100 segmented"
|
|
36
|
-
}, {
|
|
37
|
-
default: t(() => [
|
|
38
|
-
e(o, {
|
|
39
|
-
key: "1",
|
|
40
|
-
tab: "角色列表"
|
|
41
|
-
}, {
|
|
42
|
-
default: t(() => [
|
|
43
|
-
e(S, { refName: y.value }, null, 8, ["refName"])
|
|
44
|
-
]),
|
|
45
|
-
_: 1
|
|
46
|
-
})
|
|
47
|
-
]),
|
|
48
|
-
_: 1
|
|
49
|
-
}, 8, ["activeKey"])
|
|
50
|
-
]),
|
|
51
|
-
_: 1
|
|
52
|
-
}),
|
|
53
|
-
e(r, {
|
|
54
|
-
span: 18,
|
|
55
|
-
class: "flex-fill d-flex flex-column"
|
|
56
|
-
}, {
|
|
57
|
-
default: t(() => [
|
|
58
|
-
e(f, {
|
|
59
|
-
activeKey: _.value,
|
|
60
|
-
"onUpdate:activeKey": l[2] || (l[2] = (s) => _.value = s),
|
|
61
|
-
"tab-position": "left",
|
|
62
|
-
class: "bg-white flex-fill segmented"
|
|
63
|
-
}, {
|
|
64
|
-
default: t(() => [
|
|
65
|
-
e(o, {
|
|
66
|
-
key: "1",
|
|
67
|
-
tab: "角色成员"
|
|
68
|
-
}, {
|
|
69
|
-
default: t(() => [
|
|
70
|
-
e(k, { refName: g.value }, null, 8, ["refName"])
|
|
71
|
-
]),
|
|
72
|
-
_: 1
|
|
73
|
-
}),
|
|
74
|
-
i.value.is_super_admin == "1" ? (p(), h(o, {
|
|
75
|
-
key: "2",
|
|
76
|
-
tab: "访问权限"
|
|
77
|
-
}, {
|
|
78
|
-
default: t(() => [
|
|
79
|
-
e(d, { class: "bg-white h-100" }, {
|
|
80
|
-
default: t(() => [
|
|
81
|
-
e(r, {
|
|
82
|
-
span: 24,
|
|
83
|
-
class: "flex-fill d-flex flex-column"
|
|
84
|
-
}, {
|
|
85
|
-
default: t(() => [
|
|
86
|
-
e(f, {
|
|
87
|
-
activeKey: u.value,
|
|
88
|
-
"onUpdate:activeKey": l[1] || (l[1] = (s) => u.value = s),
|
|
89
|
-
"tab-position": "top",
|
|
90
|
-
class: "bg-white h-100 segmented"
|
|
91
|
-
}, {
|
|
92
|
-
default: t(() => [
|
|
93
|
-
e(o, {
|
|
94
|
-
key: "1",
|
|
95
|
-
tab: "菜单"
|
|
96
|
-
}, {
|
|
97
|
-
default: t(() => [
|
|
98
|
-
e(J)
|
|
99
|
-
]),
|
|
100
|
-
_: 1
|
|
101
|
-
}),
|
|
102
|
-
e(o, {
|
|
103
|
-
key: "2",
|
|
104
|
-
tab: "接口"
|
|
105
|
-
}, {
|
|
106
|
-
default: t(() => [
|
|
107
|
-
b("", !0),
|
|
108
|
-
e(C)
|
|
109
|
-
]),
|
|
110
|
-
_: 1
|
|
111
|
-
})
|
|
112
|
-
]),
|
|
113
|
-
_: 1
|
|
114
|
-
}, 8, ["activeKey"])
|
|
115
|
-
]),
|
|
116
|
-
_: 1
|
|
117
|
-
})
|
|
118
|
-
]),
|
|
119
|
-
_: 1
|
|
120
|
-
})
|
|
121
|
-
]),
|
|
122
|
-
_: 1
|
|
123
|
-
})) : b("", !0)
|
|
124
|
-
]),
|
|
125
|
-
_: 1
|
|
126
|
-
}, 8, ["activeKey"])
|
|
127
|
-
]),
|
|
128
|
-
_: 1
|
|
129
|
-
})
|
|
130
|
-
]),
|
|
131
|
-
_: 1
|
|
132
|
-
})
|
|
133
|
-
]);
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
}), A = /* @__PURE__ */ V(R, [["__scopeId", "data-v-f1c360be"]]);
|
|
137
|
-
export {
|
|
138
|
-
A as default
|
|
139
|
-
};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { defineComponent as T, resolveComponent as o, createElementBlock as x, openBlock as E, createVNode as e, withCtx as l, ref as n, provide as f } from "vue";
|
|
2
|
-
import R from "./RoleETree-CKy46-Zn.js";
|
|
3
|
-
import J from "./RoleFacePermission-DEpiV8Zt.js";
|
|
4
|
-
import S from "./RoleMenuPermissionTree-D5UQJvZR.js";
|
|
5
|
-
import b from "./RoleUserETable-Os7RJeik.js";
|
|
6
|
-
import { _ as N } from "./index-C3Fr-kGd.js";
|
|
7
|
-
const h = T({
|
|
8
|
-
name: "system/role",
|
|
9
|
-
components: { RoleETree: R, RoleUserETable: b, RoleMenuPermissionTree: S, RoleFacePermission: J },
|
|
10
|
-
setup() {
|
|
11
|
-
const r = n([]);
|
|
12
|
-
f("selectedKeys", r);
|
|
13
|
-
const t = n("refJSETree"), a = n();
|
|
14
|
-
f("refJSETree", a);
|
|
15
|
-
const c = n("refJSCYETable"), m = n();
|
|
16
|
-
return f("refJSCYETable", m), {
|
|
17
|
-
refJSETreeName: t,
|
|
18
|
-
refJSCYETableName: c
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
}), C = { class: "pt-3 ps-3 bg-light h-100 d-flex flex-column overflow-hidden" };
|
|
22
|
-
function $(r, t, a, c, m, w) {
|
|
23
|
-
const i = o("RoleETree"), s = o("a-col"), _ = o("RoleUserETable"), p = o("RoleMenuPermissionTree"), d = o("RoleFacePermission"), u = o("a-row");
|
|
24
|
-
return E(), x("div", C, [
|
|
25
|
-
e(u, {
|
|
26
|
-
gutter: [16, 16],
|
|
27
|
-
class: "h-100 flex-fill overflow-hidden"
|
|
28
|
-
}, {
|
|
29
|
-
default: l(() => [
|
|
30
|
-
e(s, {
|
|
31
|
-
span: 5,
|
|
32
|
-
class: "flex-fill d-flex flex-column"
|
|
33
|
-
}, {
|
|
34
|
-
default: l(() => [
|
|
35
|
-
e(i, { refName: r.refJSETreeName }, null, 8, ["refName"])
|
|
36
|
-
]),
|
|
37
|
-
_: 1
|
|
38
|
-
}),
|
|
39
|
-
e(s, {
|
|
40
|
-
span: 9,
|
|
41
|
-
class: "flex-fill d-flex flex-column"
|
|
42
|
-
}, {
|
|
43
|
-
default: l(() => [
|
|
44
|
-
e(_, { refName: r.refJSCYETableName }, null, 8, ["refName"])
|
|
45
|
-
]),
|
|
46
|
-
_: 1
|
|
47
|
-
}),
|
|
48
|
-
e(s, {
|
|
49
|
-
span: 5,
|
|
50
|
-
class: "flex-fill d-flex flex-column"
|
|
51
|
-
}, {
|
|
52
|
-
default: l(() => [
|
|
53
|
-
e(p)
|
|
54
|
-
]),
|
|
55
|
-
_: 1
|
|
56
|
-
}),
|
|
57
|
-
e(s, {
|
|
58
|
-
span: 5,
|
|
59
|
-
class: "flex-fill d-flex flex-column"
|
|
60
|
-
}, {
|
|
61
|
-
default: l(() => [
|
|
62
|
-
e(d)
|
|
63
|
-
]),
|
|
64
|
-
_: 1
|
|
65
|
-
})
|
|
66
|
-
]),
|
|
67
|
-
_: 1
|
|
68
|
-
})
|
|
69
|
-
]);
|
|
70
|
-
}
|
|
71
|
-
const M = /* @__PURE__ */ N(h, [["render", $]]);
|
|
72
|
-
export {
|
|
73
|
-
M as default
|
|
74
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { defineComponent as l, resolveComponent as t, createElementBlock as p, openBlock as a, createVNode as n, withCtx as s, createTextVNode as d, ref as f, provide as _ } from "vue";
|
|
2
|
-
import m from "./LogETable-BkLXbzIJ.js";
|
|
3
|
-
import { _ as i } from "./index-C3Fr-kGd.js";
|
|
4
|
-
const u = l({
|
|
5
|
-
components: { LogETable: m },
|
|
6
|
-
setup() {
|
|
7
|
-
const e = f([]);
|
|
8
|
-
return _("selectedKeys", e), {};
|
|
9
|
-
}
|
|
10
|
-
}), x = { class: "pt-3 ps-3 bg-light h-100 d-flex flex-column overflow-hidden" };
|
|
11
|
-
function h(e, o, w, g, v, $) {
|
|
12
|
-
const r = t("a-col"), c = t("a-row");
|
|
13
|
-
return a(), p("div", x, [
|
|
14
|
-
n(c, { class: "h-100" }, {
|
|
15
|
-
default: s(() => [
|
|
16
|
-
n(r, {
|
|
17
|
-
span: 24,
|
|
18
|
-
class: "h-100 d-flex flex-column"
|
|
19
|
-
}, {
|
|
20
|
-
default: s(() => [...o[0] || (o[0] = [
|
|
21
|
-
d(" 系统日志 ", -1)
|
|
22
|
-
])]),
|
|
23
|
-
_: 1
|
|
24
|
-
})
|
|
25
|
-
]),
|
|
26
|
-
_: 1
|
|
27
|
-
})
|
|
28
|
-
]);
|
|
29
|
-
}
|
|
30
|
-
const b = /* @__PURE__ */ i(u, [["render", h]]);
|
|
31
|
-
export {
|
|
32
|
-
b as default
|
|
33
|
-
};
|
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
import { inject as U, ref as V, watch as A, reactive as g, provide as I, resolveComponent as a, createElementBlock as F, openBlock as i, createVNode as t, createBlock as f, createCommentVNode as S, createElementVNode as n, withCtx as s, normalizeClass as k, createTextVNode as _, toDisplayString as w, unref as W, createSlots as L, Fragment as G, renderList as H } from "vue";
|
|
2
|
-
import { _ as J, m as z } from "./index-C3Fr-kGd.js";
|
|
3
|
-
import { useRequest as K } from "vue-request";
|
|
4
|
-
const P = { class: "bg-light h-100 d-flex flex-column overflow-hidden px-3 pt-3" }, Q = { class: "fs-4 fw-semibold" }, X = { class: "fs-4 fw-semibold" }, Y = { class: "fs-4 fw-semibold" }, Z = { class: "flex-fill bg-white p-16 overflow-hidden" }, h = {
|
|
5
|
-
__name: "TaskCenter",
|
|
6
|
-
setup(ee) {
|
|
7
|
-
const q = {
|
|
8
|
-
0: "待审核",
|
|
9
|
-
9: "流转中",
|
|
10
|
-
1: "已通过",
|
|
11
|
-
2: "未通过",
|
|
12
|
-
3: "已退回",
|
|
13
|
-
4: "已撤销",
|
|
14
|
-
//'5': '存草稿',
|
|
15
|
-
//'6': '已作废',
|
|
16
|
-
//'7': '已挂起',
|
|
17
|
-
8: "已终止"
|
|
18
|
-
// 已转发 (这个不属于主状态)
|
|
19
|
-
}, D = U("breakpoint", V(!1)), d = V("todo");
|
|
20
|
-
A(d, () => {
|
|
21
|
-
b();
|
|
22
|
-
});
|
|
23
|
-
const o = g({
|
|
24
|
-
process_key: void 0,
|
|
25
|
-
sq_status: void 0,
|
|
26
|
-
keyword: "",
|
|
27
|
-
dateRange: [],
|
|
28
|
-
_trigger: 0
|
|
29
|
-
}), T = () => {
|
|
30
|
-
o._trigger++;
|
|
31
|
-
}, b = () => {
|
|
32
|
-
o.process_key = void 0, o.sq_status = void 0, o.keyword = "", o.dateRange = [], o._trigger++;
|
|
33
|
-
};
|
|
34
|
-
I("taskSearchState", o);
|
|
35
|
-
const p = g({
|
|
36
|
-
todo: 0,
|
|
37
|
-
done: 0,
|
|
38
|
-
submit: 0
|
|
39
|
-
}), y = g(z.WorkFlowDefinition.summary), { error: te, loading: se } = K((m) => y[y.method](m), {
|
|
40
|
-
onSuccess: (m) => {
|
|
41
|
-
Object.assign(p, m.data);
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
return (m, e) => {
|
|
45
|
-
const c = a("a-card"), l = a("a-col"), u = a("a-row"), j = a("a-input"), x = a("a-divider"), C = a("a-button"), E = a("ESelect"), N = a("a-checkable-tag"), $ = a("a-space"), B = a("WorkFlowTodoViewer"), O = a("WorkFlowDoneViewer"), R = a("WorkFlowSubmitViewer");
|
|
46
|
-
return i(), F("div", P, [
|
|
47
|
-
t(u, {
|
|
48
|
-
gutter: [16, 16],
|
|
49
|
-
class: "mb-3"
|
|
50
|
-
}, {
|
|
51
|
-
default: s(() => [
|
|
52
|
-
t(l, { span: 8 }, {
|
|
53
|
-
default: s(() => [
|
|
54
|
-
t(c, {
|
|
55
|
-
size: "small",
|
|
56
|
-
class: k(["cp shadow-3d-ao", d.value === "todo" ? "bg-primary-subtle border-primary" : "bg-primary-default"]),
|
|
57
|
-
onClick: e[0] || (e[0] = (r) => d.value = "todo")
|
|
58
|
-
}, {
|
|
59
|
-
default: s(() => [
|
|
60
|
-
e[6] || (e[6] = n("div", { class: "text-primary" }, "待处理任务", -1)),
|
|
61
|
-
e[7] || (e[7] = _()),
|
|
62
|
-
n("div", Q, w(p.todo), 1)
|
|
63
|
-
]),
|
|
64
|
-
_: 1
|
|
65
|
-
}, 8, ["class"])
|
|
66
|
-
]),
|
|
67
|
-
_: 1
|
|
68
|
-
}),
|
|
69
|
-
t(l, { span: 8 }, {
|
|
70
|
-
default: s(() => [
|
|
71
|
-
t(c, {
|
|
72
|
-
size: "small",
|
|
73
|
-
class: k(["cp shadow-3d-ao", d.value === "done" ? "bg-success-subtle border-success" : "bg-success-default"]),
|
|
74
|
-
onClick: e[1] || (e[1] = (r) => d.value = "done")
|
|
75
|
-
}, {
|
|
76
|
-
default: s(() => [
|
|
77
|
-
e[8] || (e[8] = n("div", { class: "text-success" }, "已处理任务", -1)),
|
|
78
|
-
e[9] || (e[9] = _()),
|
|
79
|
-
n("div", X, w(p.done), 1)
|
|
80
|
-
]),
|
|
81
|
-
_: 1
|
|
82
|
-
}, 8, ["class"])
|
|
83
|
-
]),
|
|
84
|
-
_: 1
|
|
85
|
-
}),
|
|
86
|
-
t(l, { span: 8 }, {
|
|
87
|
-
default: s(() => [
|
|
88
|
-
t(c, {
|
|
89
|
-
size: "small",
|
|
90
|
-
class: k(["cp shadow-3d-ao", d.value === "submit" ? "bg-warning-subtle border-warning" : "bg-warning-default"]),
|
|
91
|
-
onClick: e[2] || (e[2] = (r) => d.value = "submit")
|
|
92
|
-
}, {
|
|
93
|
-
default: s(() => [
|
|
94
|
-
e[10] || (e[10] = n("div", { class: "text-warning" }, "我的申请单", -1)),
|
|
95
|
-
e[11] || (e[11] = _()),
|
|
96
|
-
n("div", Y, w(p.submit), 1)
|
|
97
|
-
]),
|
|
98
|
-
_: 1
|
|
99
|
-
}, 8, ["class"])
|
|
100
|
-
]),
|
|
101
|
-
_: 1
|
|
102
|
-
})
|
|
103
|
-
]),
|
|
104
|
-
_: 1
|
|
105
|
-
}),
|
|
106
|
-
W(D) ? S("", !0) : (i(), f(c, {
|
|
107
|
-
key: 0,
|
|
108
|
-
size: "small",
|
|
109
|
-
class: "mb-3"
|
|
110
|
-
}, L({
|
|
111
|
-
default: s(() => [
|
|
112
|
-
t(u, { gutter: [16, 16] }, {
|
|
113
|
-
default: s(() => [
|
|
114
|
-
t(l, { span: 24 }, {
|
|
115
|
-
default: s(() => [
|
|
116
|
-
t(u, {
|
|
117
|
-
align: "middle",
|
|
118
|
-
gutter: 8
|
|
119
|
-
}, {
|
|
120
|
-
default: s(() => [
|
|
121
|
-
t(l, { flex: "80px" }, {
|
|
122
|
-
default: s(() => [...e[13] || (e[13] = [
|
|
123
|
-
n("span", { class: "text-secondary small" }, "关键搜索", -1)
|
|
124
|
-
])]),
|
|
125
|
-
_: 1
|
|
126
|
-
}),
|
|
127
|
-
t(l, { flex: "auto" }, {
|
|
128
|
-
default: s(() => [
|
|
129
|
-
t(j, {
|
|
130
|
-
class: "w-50",
|
|
131
|
-
value: o.keyword,
|
|
132
|
-
"onUpdate:value": e[3] || (e[3] = (r) => o.keyword = r),
|
|
133
|
-
placeholder: "工单标题",
|
|
134
|
-
allowClear: ""
|
|
135
|
-
}, null, 8, ["value"]),
|
|
136
|
-
t(x, { type: "vertical" }),
|
|
137
|
-
t(C, {
|
|
138
|
-
onClick: e[4] || (e[4] = (r) => T()),
|
|
139
|
-
type: "primary"
|
|
140
|
-
}, {
|
|
141
|
-
default: s(() => [...e[14] || (e[14] = [
|
|
142
|
-
n("small", { class: "px-1" }, "搜索", -1)
|
|
143
|
-
])]),
|
|
144
|
-
_: 1
|
|
145
|
-
}),
|
|
146
|
-
t(x, { type: "vertical" }),
|
|
147
|
-
t(C, { onClick: b }, {
|
|
148
|
-
default: s(() => [...e[15] || (e[15] = [
|
|
149
|
-
n("small", { class: "px-1" }, "重置", -1)
|
|
150
|
-
])]),
|
|
151
|
-
_: 1
|
|
152
|
-
})
|
|
153
|
-
]),
|
|
154
|
-
_: 1
|
|
155
|
-
})
|
|
156
|
-
]),
|
|
157
|
-
_: 1
|
|
158
|
-
})
|
|
159
|
-
]),
|
|
160
|
-
_: 1
|
|
161
|
-
}),
|
|
162
|
-
t(l, { span: 24 }, {
|
|
163
|
-
default: s(() => [
|
|
164
|
-
t(u, {
|
|
165
|
-
align: "middle",
|
|
166
|
-
gutter: 8
|
|
167
|
-
}, {
|
|
168
|
-
default: s(() => [
|
|
169
|
-
t(l, { flex: "80px" }, {
|
|
170
|
-
default: s(() => [...e[16] || (e[16] = [
|
|
171
|
-
n("span", { class: "text-secondary small" }, "流程筛选", -1)
|
|
172
|
-
])]),
|
|
173
|
-
_: 1
|
|
174
|
-
}),
|
|
175
|
-
t(l, { flex: "auto" }, {
|
|
176
|
-
default: s(() => [
|
|
177
|
-
t(E, {
|
|
178
|
-
value: o.process_key,
|
|
179
|
-
"onUpdate:value": e[5] || (e[5] = (r) => o.process_key = r),
|
|
180
|
-
placeholder: "全部",
|
|
181
|
-
allowClear: "",
|
|
182
|
-
apiObj: W(z).WorkFlowDefinition.dict,
|
|
183
|
-
class: "w-50",
|
|
184
|
-
"field-names": { label: "process_name", value: "process_key" }
|
|
185
|
-
}, null, 8, ["value", "apiObj"])
|
|
186
|
-
]),
|
|
187
|
-
_: 1
|
|
188
|
-
})
|
|
189
|
-
]),
|
|
190
|
-
_: 1
|
|
191
|
-
})
|
|
192
|
-
]),
|
|
193
|
-
_: 1
|
|
194
|
-
}),
|
|
195
|
-
t(l, { span: 24 }, {
|
|
196
|
-
default: s(() => [
|
|
197
|
-
t(u, {
|
|
198
|
-
align: "middle",
|
|
199
|
-
gutter: 8
|
|
200
|
-
}, {
|
|
201
|
-
default: s(() => [
|
|
202
|
-
t(l, { flex: "80px" }, {
|
|
203
|
-
default: s(() => [...e[17] || (e[17] = [
|
|
204
|
-
n("span", { class: "text-secondary small" }, "状态筛选", -1)
|
|
205
|
-
])]),
|
|
206
|
-
_: 1
|
|
207
|
-
}),
|
|
208
|
-
t(l, { flex: "auto" }, {
|
|
209
|
-
default: s(() => [
|
|
210
|
-
t($, { size: "8" }, {
|
|
211
|
-
default: s(() => [
|
|
212
|
-
(i(), F(G, null, H(q, (r, v) => t(N, {
|
|
213
|
-
key: v,
|
|
214
|
-
checked: o.sq_status === v,
|
|
215
|
-
onChange: (M) => o.sq_status = M ? v : void 0
|
|
216
|
-
}, {
|
|
217
|
-
default: s(() => [
|
|
218
|
-
_(w(r), 1)
|
|
219
|
-
]),
|
|
220
|
-
_: 2
|
|
221
|
-
}, 1032, ["checked", "onChange"])), 64))
|
|
222
|
-
]),
|
|
223
|
-
_: 1
|
|
224
|
-
})
|
|
225
|
-
]),
|
|
226
|
-
_: 1
|
|
227
|
-
})
|
|
228
|
-
]),
|
|
229
|
-
_: 1
|
|
230
|
-
})
|
|
231
|
-
]),
|
|
232
|
-
_: 1
|
|
233
|
-
})
|
|
234
|
-
]),
|
|
235
|
-
_: 1
|
|
236
|
-
})
|
|
237
|
-
]),
|
|
238
|
-
_: 2
|
|
239
|
-
}, [
|
|
240
|
-
void 0
|
|
241
|
-
]), 1024)),
|
|
242
|
-
n("div", Z, [
|
|
243
|
-
d.value === "todo" ? (i(), f(B, { key: 0 })) : d.value === "done" ? (i(), f(O, { key: 1 })) : d.value === "submit" ? (i(), f(R, { key: 2 })) : S("", !0)
|
|
244
|
-
])
|
|
245
|
-
]);
|
|
246
|
-
};
|
|
247
|
-
}
|
|
248
|
-
}, ne = /* @__PURE__ */ J(h, [["__scopeId", "data-v-608f8f75"]]);
|
|
249
|
-
export {
|
|
250
|
-
ne as default
|
|
251
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ref as f, resolveComponent as e, createElementBlock as u, openBlock as w, createVNode as o, withCtx as t, createSlots as p } from "vue";
|
|
2
|
-
const b = { class: "bg-light h-100 d-flex flex-column overflow-hidden" }, y = {
|
|
3
|
-
__name: "TaskCenter_v1",
|
|
4
|
-
setup(k) {
|
|
5
|
-
const n = [
|
|
6
|
-
{ key: "todo", label: "待处理" },
|
|
7
|
-
{ key: "done", label: "已处理" },
|
|
8
|
-
{ key: "submit", label: "申请单" }
|
|
9
|
-
//{ key: 'drafts', label: '草稿箱' },
|
|
10
|
-
], l = f(n[0]?.key || "");
|
|
11
|
-
return (v, a) => {
|
|
12
|
-
const c = e("WorkFlowTodoViewer"), r = e("WorkFlowDoneViewer"), s = e("WorkFlowSubmitViewer"), i = e("ETabs"), _ = e("a-col"), d = e("a-row");
|
|
13
|
-
return w(), u("div", b, [
|
|
14
|
-
o(d, {
|
|
15
|
-
gutter: [16, 16],
|
|
16
|
-
class: "h-100 flex-fill overflow-hidden"
|
|
17
|
-
}, {
|
|
18
|
-
default: t(() => [
|
|
19
|
-
o(_, {
|
|
20
|
-
span: 24,
|
|
21
|
-
class: "flex-fill d-flex flex-column"
|
|
22
|
-
}, {
|
|
23
|
-
default: t(() => [
|
|
24
|
-
o(i, {
|
|
25
|
-
activeKey: l.value,
|
|
26
|
-
"onUpdate:activeKey": a[0] || (a[0] = (m) => l.value = m),
|
|
27
|
-
tabs: n,
|
|
28
|
-
destroyInactiveTabPane: !0
|
|
29
|
-
}, p({
|
|
30
|
-
todo: t(() => [
|
|
31
|
-
o(c)
|
|
32
|
-
]),
|
|
33
|
-
done: t(() => [
|
|
34
|
-
o(r)
|
|
35
|
-
]),
|
|
36
|
-
submit: t(() => [
|
|
37
|
-
o(s)
|
|
38
|
-
]),
|
|
39
|
-
_: 2
|
|
40
|
-
}, [
|
|
41
|
-
void 0
|
|
42
|
-
]), 1032, ["activeKey"])
|
|
43
|
-
]),
|
|
44
|
-
_: 1
|
|
45
|
-
})
|
|
46
|
-
]),
|
|
47
|
-
_: 1
|
|
48
|
-
})
|
|
49
|
-
]);
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
export {
|
|
54
|
-
y as default
|
|
55
|
-
};
|