keli-ui 0.3.6 → 0.3.8
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/ApprovalRecord-D0D_XZrT.js +112 -0
- package/dist/{ApprovalRecord-CBHg5KYG.js.map → ApprovalRecord-D0D_XZrT.js.map} +1 -1
- package/dist/api-DaVr-Kai.js +4474 -0
- package/dist/{api-VujlHEgc.js.map → api-DaVr-Kai.js.map} +1 -1
- package/dist/components/AppComponent/AppFormRender.vue.d.ts +17 -17
- package/dist/components/AppComponent/DynamicDialogHost.vue.d.ts +21 -0
- package/dist/components/AppComponent/index.d.ts +2 -1
- package/dist/components/FormComponent/FormSelectAsync/FormSelectAsync.vue.d.ts +8 -8
- package/dist/components/FormComponent/FormSelectRemote/FormSelectRemote.vue.d.ts +8 -8
- package/dist/components/FormComponent/FormTableSelectAsync/FormTableSelectAsync.vue.d.ts +8 -8
- package/dist/components/TableComponent/TableCardRender/TableCardRender.vue.d.ts +28 -28
- package/dist/components/TableComponent/TableRender/TableRender.vue.d.ts +28 -28
- package/dist/java-XIxqoWBD.js +2295 -0
- package/dist/{java-BrZSNBDG.js.map → java-XIxqoWBD.js.map} +1 -1
- package/dist/keli-ui.css +1 -1
- package/dist/keli-ui.js +63759 -68235
- package/dist/keli-ui.js.map +1 -1
- package/dist/keli-ui.umd.cjs +778 -891
- package/dist/keli-ui.umd.cjs.map +1 -1
- package/dist/mysql-D_yXY3Wl.js +172 -0
- package/dist/{mysql-BJR6iO89.js.map → mysql-D_yXY3Wl.js.map} +1 -1
- package/dist/postgresql-KYgISeDf.js +1620 -0
- package/dist/{postgresql-CLVUxiA0.js.map → postgresql-KYgISeDf.js.map} +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/openHostDialog.d.ts +9 -0
- package/package.json +78 -78
- package/dist/ApprovalRecord-CBHg5KYG.js +0 -111
- package/dist/api-VujlHEgc.js +0 -4513
- package/dist/java-BrZSNBDG.js +0 -2603
- package/dist/mysql-BJR6iO89.js +0 -923
- package/dist/postgresql-CLVUxiA0.js +0 -2375
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { i as x, t as A } from "./api-VujlHEgc.js";
|
|
2
|
-
import { Fragment as c, createBlock as u, createElementBlock as m, createTextVNode as b, createVNode as o, defineComponent as D, onMounted as L, openBlock as n, ref as w, renderList as f, resolveComponent as t, toDisplayString as N, watch as V, withCtx as l } from "vue";
|
|
3
|
-
var B = /* @__PURE__ */ D({
|
|
4
|
-
__name: "ApprovalRecord",
|
|
5
|
-
props: {
|
|
6
|
-
pageId: {
|
|
7
|
-
type: Number,
|
|
8
|
-
required: !0
|
|
9
|
-
},
|
|
10
|
-
dataId: {
|
|
11
|
-
type: String,
|
|
12
|
-
required: !0
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
setup(v) {
|
|
16
|
-
const r = v, i = w([]), h = [
|
|
17
|
-
{
|
|
18
|
-
prop: "nodeFrom",
|
|
19
|
-
label: "起始环节",
|
|
20
|
-
width: 130
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
prop: "nodeTo",
|
|
24
|
-
label: "流向环节",
|
|
25
|
-
width: 130
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
prop: "endDate",
|
|
29
|
-
label: "处理日期",
|
|
30
|
-
width: 170
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
prop: "reviewOption",
|
|
34
|
-
label: "批阅类型",
|
|
35
|
-
width: 100
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
prop: "reviewHandler",
|
|
39
|
-
label: "处理人",
|
|
40
|
-
width: 100
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
prop: "reviewSuggestion",
|
|
44
|
-
label: "批阅建议",
|
|
45
|
-
width: 130
|
|
46
|
-
}
|
|
47
|
-
], d = w([]), p = async () => {
|
|
48
|
-
const a = await x(r.pageId, r.dataId);
|
|
49
|
-
a.code === A.SUCCESS && (i.value = a.data.flowRecordVOList, d.value = a.data.flowRecordTimeLineVOList);
|
|
50
|
-
};
|
|
51
|
-
return V(() => r.dataId, () => {
|
|
52
|
-
p();
|
|
53
|
-
}), L(() => {
|
|
54
|
-
p();
|
|
55
|
-
}), (a, s) => {
|
|
56
|
-
const g = t("el-timeline-item"), C = t("el-timeline"), _ = t("el-splitter-panel"), y = t("el-button"), R = t("el-table-column"), k = t("el-table"), S = t("el-splitter");
|
|
57
|
-
return n(), u(S, null, {
|
|
58
|
-
default: l(() => [o(_, {
|
|
59
|
-
size: "30%",
|
|
60
|
-
min: 100,
|
|
61
|
-
collapsible: ""
|
|
62
|
-
}, {
|
|
63
|
-
default: l(() => [o(C, { class: "ml-1" }, {
|
|
64
|
-
default: l(() => [(n(!0), m(c, null, f(d.value, (e, I) => (n(), u(g, {
|
|
65
|
-
key: I,
|
|
66
|
-
timestamp: e.datetime,
|
|
67
|
-
color: "#0bbd87"
|
|
68
|
-
}, {
|
|
69
|
-
default: l(() => [b(N(e.nodeName), 1)]),
|
|
70
|
-
_: 2
|
|
71
|
-
}, 1032, ["timestamp"]))), 128))]),
|
|
72
|
-
_: 1
|
|
73
|
-
})]),
|
|
74
|
-
_: 1
|
|
75
|
-
}), o(_, { min: 200 }, {
|
|
76
|
-
default: l(() => [o(y, {
|
|
77
|
-
onClick: p,
|
|
78
|
-
size: "small"
|
|
79
|
-
}, {
|
|
80
|
-
default: l(() => [...s[0] || (s[0] = [b("刷新", -1)])]),
|
|
81
|
-
_: 1
|
|
82
|
-
}), o(k, {
|
|
83
|
-
data: i.value,
|
|
84
|
-
stripe: "",
|
|
85
|
-
style: { width: "100%" }
|
|
86
|
-
}, {
|
|
87
|
-
default: l(() => [(n(), m(c, null, f(h, (e) => o(R, {
|
|
88
|
-
key: e.prop,
|
|
89
|
-
prop: e.prop,
|
|
90
|
-
label: e.label,
|
|
91
|
-
"min-width": e.width,
|
|
92
|
-
"show-overflow-tooltip": ""
|
|
93
|
-
}, null, 8, [
|
|
94
|
-
"prop",
|
|
95
|
-
"label",
|
|
96
|
-
"min-width"
|
|
97
|
-
])), 64))]),
|
|
98
|
-
_: 1
|
|
99
|
-
}, 8, ["data"])]),
|
|
100
|
-
_: 1
|
|
101
|
-
})]),
|
|
102
|
-
_: 1
|
|
103
|
-
});
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
}), T = B;
|
|
107
|
-
export {
|
|
108
|
-
T as default
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
//# sourceMappingURL=ApprovalRecord-CBHg5KYG.js.map
|