zsysview 0.0.26 → 0.0.28
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/backup-BKq6sQjF.js +519 -0
- package/dist/breadcrumb.vue_vue_type_script_setup_true_lang-Ca489fLF.js +43 -0
- package/dist/change_password-DHURkzza.js +135 -0
- package/dist/department-nsjoJXue.js +410 -0
- package/dist/desktop-CcKDaeCI.js +9 -0
- package/dist/http_api_v1-CkjqXdob.js +1008 -0
- package/dist/index-BGMV_V_g.js +6688 -0
- package/dist/{index-BaFHeDAF.js → index-DG0x9mYD.js} +105 -105
- package/dist/index.es-DrN1BLo5.js +170 -0
- package/dist/log-4jRKPEKy.js +163 -0
- package/dist/login-Df4BMtP8.js +111 -0
- package/dist/main-CaR_6gzq.js +293 -0
- package/dist/message-CVTa4Hb1.js +26 -0
- package/dist/position-UV9V8NKa.js +311 -0
- package/dist/role-Co7zqJq3.js +405 -0
- package/dist/self-CZaIzR2G.js +102 -0
- package/dist/sys-BZgBUI3k.js +30 -0
- package/dist/user-D8k4kb-7.js +650 -0
- package/dist/zsys_delbutton.vue_vue_type_script_setup_true_lang-JGPGvAqL.js +72 -0
- package/dist/zsys_eventBus-CZOk9fTb.js +178 -0
- package/dist/zsys_time-4KclnYJN.js +17 -0
- package/dist/zsyslist.vue_vue_type_script_setup_true_lang-C714Dj9O.js +465 -0
- package/dist/zsysview.es.js +1 -1
- package/package.json +1 -1
- package/dist/backup-BrCAKHW5.js +0 -519
- package/dist/breadcrumb.vue_vue_type_script_setup_true_lang-DxqktuR5.js +0 -43
- package/dist/change_password-CY87a5gc.js +0 -135
- package/dist/department-BDW7DB5F.js +0 -410
- package/dist/desktop-DgyBqclt.js +0 -9
- package/dist/http_api_v1-BQLGtV9G.js +0 -1008
- package/dist/index-DXGp4B8l.js +0 -6688
- package/dist/index.es-BcGc183Q.js +0 -170
- package/dist/log-2ZY0HGuh.js +0 -163
- package/dist/login-BAuvM04T.js +0 -111
- package/dist/main-CxdkVN-C.js +0 -293
- package/dist/message-CdVUOGzt.js +0 -26
- package/dist/position-D7wr1m96.js +0 -311
- package/dist/role-M_ZYR2ta.js +0 -405
- package/dist/self-DAB-5Co8.js +0 -102
- package/dist/sys-BjlP52cg.js +0 -30
- package/dist/user-CEaf7VIW.js +0 -650
- package/dist/zsys_delbutton.vue_vue_type_script_setup_true_lang-BYahBvHu.js +0 -72
- package/dist/zsys_eventBus-DDrk0Aw8.js +0 -178
- package/dist/zsys_time-DHEMuVgo.js +0 -17
- package/dist/zsyslist.vue_vue_type_script_setup_true_lang-Bl1QXOML.js +0 -466
|
@@ -1,466 +0,0 @@
|
|
|
1
|
-
import { defineComponent as Q, reactive as I, watch as R, resolveComponent as l, createElementBlock as V, openBlock as p, createCommentVNode as C, createElementVNode as M, createBlock as v, toDisplayString as K, withCtx as t, createTextVNode as k, createVNode as o, Fragment as P, renderList as j, unref as c, ref as S, withDirectives as E, withModifiers as H, vShow as O, renderSlot as G, withKeys as L, onMounted as W, onUnmounted as Z, resolveDirective as Y } from "vue";
|
|
2
|
-
import { j as J, k as X } from "./index-BaFHeDAF.js";
|
|
3
|
-
import { H as T } from "./http_api_v1-BQLGtV9G.js";
|
|
4
|
-
import { Z as ee } from "./message-CdVUOGzt.js";
|
|
5
|
-
import { u as te, w as oe, z as le } from "./zsys_eventBus-DDrk0Aw8.js";
|
|
6
|
-
import { _ as ne } from "./index-DXGp4B8l.js";
|
|
7
|
-
const re = { style: { "padding-left": "20px", "padding-right": "20px", "padding-top": "6px" } }, ae = {
|
|
8
|
-
key: 0,
|
|
9
|
-
style: { "font-size": "x-large" }
|
|
10
|
-
}, se = {
|
|
11
|
-
key: 1,
|
|
12
|
-
style: { "font-size": "x-large" }
|
|
13
|
-
}, ie = { style: { "font-size": "large", "margin-top": "10px" } }, ue = /* @__PURE__ */ Q({
|
|
14
|
-
__name: "export_progress",
|
|
15
|
-
props: {
|
|
16
|
-
exportId: { type: BigInt, required: !0 }
|
|
17
|
-
},
|
|
18
|
-
setup(b) {
|
|
19
|
-
const w = b, n = I({
|
|
20
|
-
state: 1,
|
|
21
|
-
progress: 0n,
|
|
22
|
-
file_ids: []
|
|
23
|
-
});
|
|
24
|
-
return R(w, (r) => {
|
|
25
|
-
if (r.exportId != 0n)
|
|
26
|
-
var g = setInterval(async () => {
|
|
27
|
-
let i = await T.Post(T.url_export_detail, { id: w.exportId });
|
|
28
|
-
if (i.IsSuccess) {
|
|
29
|
-
let _ = i.data;
|
|
30
|
-
n.progress = _.progress, n.state = _.state, n.file_ids = [];
|
|
31
|
-
let f = _.file_ids.split(",");
|
|
32
|
-
for (let d of f)
|
|
33
|
-
n.file_ids.push(BigInt(d));
|
|
34
|
-
n.state != 1 && clearInterval(g);
|
|
35
|
-
}
|
|
36
|
-
}, 3600);
|
|
37
|
-
}), (r, g) => {
|
|
38
|
-
const i = l("el-progress"), _ = l("el-text"), f = l("el-link"), d = l("el-space");
|
|
39
|
-
return p(), V("div", re, [
|
|
40
|
-
n.state == 1 ? (p(), V("div", ae, "正在导出")) : C("", !0),
|
|
41
|
-
n.state == 2 ? (p(), V("div", se, "导出完成")) : C("", !0),
|
|
42
|
-
M("div", ie, " 累计处理: " + K(n.progress), 1),
|
|
43
|
-
n.state == 1 ? (p(), v(i, {
|
|
44
|
-
key: 2,
|
|
45
|
-
percentage: 50,
|
|
46
|
-
indeterminate: !0,
|
|
47
|
-
style: { "margin-top": "10px" }
|
|
48
|
-
}, {
|
|
49
|
-
default: t(() => [
|
|
50
|
-
k(K(n.progress), 1)
|
|
51
|
-
]),
|
|
52
|
-
_: 1
|
|
53
|
-
})) : C("", !0),
|
|
54
|
-
n.state == 2 ? (p(), v(d, {
|
|
55
|
-
key: 3,
|
|
56
|
-
wrap: "",
|
|
57
|
-
style: { "font-size": "large", "margin-top": "10px" }
|
|
58
|
-
}, {
|
|
59
|
-
default: t(() => [
|
|
60
|
-
o(_, null, {
|
|
61
|
-
default: t(() => [...g[0] || (g[0] = [
|
|
62
|
-
k("文件(点击下载):", -1)
|
|
63
|
-
])]),
|
|
64
|
-
_: 1
|
|
65
|
-
}),
|
|
66
|
-
(p(!0), V(P, null, j(n.file_ids, (m) => (p(), v(f, {
|
|
67
|
-
href: c(T).url_export_file + "?id=" + m.toString(),
|
|
68
|
-
target: "_blank",
|
|
69
|
-
underline: "always",
|
|
70
|
-
type: "primary"
|
|
71
|
-
}, {
|
|
72
|
-
default: t(() => [
|
|
73
|
-
k("文件" + K(m.toString()), 1)
|
|
74
|
-
]),
|
|
75
|
-
_: 2
|
|
76
|
-
}, 1032, ["href"]))), 256))
|
|
77
|
-
]),
|
|
78
|
-
_: 1
|
|
79
|
-
})) : C("", !0)
|
|
80
|
-
]);
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
}), pe = { style: { display: "flex", "justify-content": "right" } }, de = /* @__PURE__ */ Q({
|
|
84
|
-
__name: "export_dialog",
|
|
85
|
-
props: {
|
|
86
|
-
modelValue: { type: Boolean, required: !0 },
|
|
87
|
-
// 控制显示隐藏
|
|
88
|
-
exportUrl: { type: String, required: !0 },
|
|
89
|
-
exportColumn: { type: [] }
|
|
90
|
-
},
|
|
91
|
-
emits: ["update:modelValue"],
|
|
92
|
-
setup(b, { emit: w }) {
|
|
93
|
-
const n = S(null), r = b, g = w, i = S(!1);
|
|
94
|
-
R(
|
|
95
|
-
() => r.modelValue,
|
|
96
|
-
(e) => {
|
|
97
|
-
i.value = e;
|
|
98
|
-
},
|
|
99
|
-
{ immediate: !0 }
|
|
100
|
-
), R(i, (e) => {
|
|
101
|
-
g("update:modelValue", e);
|
|
102
|
-
});
|
|
103
|
-
const _ = () => {
|
|
104
|
-
d.exporting = !1;
|
|
105
|
-
}, f = (e) => {
|
|
106
|
-
y.value?.clearValidate(), e();
|
|
107
|
-
}, d = I({
|
|
108
|
-
exporting: !1,
|
|
109
|
-
// 导出框当前的状态
|
|
110
|
-
exportId: 0n
|
|
111
|
-
//导出id
|
|
112
|
-
});
|
|
113
|
-
async function m() {
|
|
114
|
-
d.exporting = !0;
|
|
115
|
-
let e = await T.Post(r.exportUrl, {});
|
|
116
|
-
e.IsSuccess ? d.exportId = BigInt(e.data) : (ee.ShowError(e.message), d.exporting = !1);
|
|
117
|
-
}
|
|
118
|
-
const y = S(), x = S({
|
|
119
|
-
columnOption: "all",
|
|
120
|
-
exportColumnWanted: []
|
|
121
|
-
}), q = I({}), z = () => {
|
|
122
|
-
n.value?.focus(), n.value?.select();
|
|
123
|
-
}, u = te();
|
|
124
|
-
return oe(u.alt_s, () => {
|
|
125
|
-
i.value && console.log("Alt+S提交");
|
|
126
|
-
}), (e, a) => {
|
|
127
|
-
const h = l("el-radio"), B = l("el-radio-group"), U = l("el-form-item"), s = l("el-empty"), $ = l("el-transfer"), N = l("el-form"), A = l("el-button"), F = l("el-dialog");
|
|
128
|
-
return p(), v(F, {
|
|
129
|
-
modelValue: i.value,
|
|
130
|
-
"onUpdate:modelValue": a[3] || (a[3] = (D) => i.value = D),
|
|
131
|
-
title: "导出",
|
|
132
|
-
"align-center": !0,
|
|
133
|
-
"before-close": f,
|
|
134
|
-
onOpen: _,
|
|
135
|
-
width: "800",
|
|
136
|
-
draggable: !0,
|
|
137
|
-
overflow: !0,
|
|
138
|
-
onOpened: z,
|
|
139
|
-
"destroy-on-close": "",
|
|
140
|
-
"close-on-click-modal": !1
|
|
141
|
-
}, {
|
|
142
|
-
footer: t(() => [
|
|
143
|
-
M("div", pe, [
|
|
144
|
-
E(o(A, {
|
|
145
|
-
type: "primary",
|
|
146
|
-
onClick: m
|
|
147
|
-
}, {
|
|
148
|
-
default: t(() => [...a[6] || (a[6] = [
|
|
149
|
-
k("开始导出", -1)
|
|
150
|
-
])]),
|
|
151
|
-
_: 1
|
|
152
|
-
}, 512), [
|
|
153
|
-
[O, d.exporting == !1]
|
|
154
|
-
])
|
|
155
|
-
])
|
|
156
|
-
]),
|
|
157
|
-
default: t(() => [
|
|
158
|
-
E(o(N, {
|
|
159
|
-
onSubmit: a[2] || (a[2] = H(() => {
|
|
160
|
-
}, ["prevent"])),
|
|
161
|
-
ref_key: "ruleFormRef",
|
|
162
|
-
ref: y,
|
|
163
|
-
model: x.value,
|
|
164
|
-
rules: q,
|
|
165
|
-
style: { "padding-left": "10px", "padding-right": "10px" },
|
|
166
|
-
"label-width": "auto"
|
|
167
|
-
}, {
|
|
168
|
-
default: t(() => [
|
|
169
|
-
o(U, {
|
|
170
|
-
label: "字段选项",
|
|
171
|
-
prop: "role_title"
|
|
172
|
-
}, {
|
|
173
|
-
default: t(() => [
|
|
174
|
-
o(B, {
|
|
175
|
-
modelValue: x.value.columnOption,
|
|
176
|
-
"onUpdate:modelValue": a[0] || (a[0] = (D) => x.value.columnOption = D)
|
|
177
|
-
}, {
|
|
178
|
-
default: t(() => [
|
|
179
|
-
o(h, { value: "all" }, {
|
|
180
|
-
default: t(() => [...a[4] || (a[4] = [
|
|
181
|
-
k("全部支持的字段", -1)
|
|
182
|
-
])]),
|
|
183
|
-
_: 1
|
|
184
|
-
}),
|
|
185
|
-
r.exportColumn ? (p(), v(h, {
|
|
186
|
-
key: 0,
|
|
187
|
-
value: "custom"
|
|
188
|
-
}, {
|
|
189
|
-
default: t(() => [...a[5] || (a[5] = [
|
|
190
|
-
k("自定义", -1)
|
|
191
|
-
])]),
|
|
192
|
-
_: 1
|
|
193
|
-
})) : C("", !0)
|
|
194
|
-
]),
|
|
195
|
-
_: 1
|
|
196
|
-
}, 8, ["modelValue"])
|
|
197
|
-
]),
|
|
198
|
-
_: 1
|
|
199
|
-
}),
|
|
200
|
-
E(o(U, { label: "自定义" }, {
|
|
201
|
-
default: t(() => [
|
|
202
|
-
o($, {
|
|
203
|
-
modelValue: x.value.exportColumnWanted,
|
|
204
|
-
"onUpdate:modelValue": a[1] || (a[1] = (D) => x.value.exportColumnWanted = D),
|
|
205
|
-
data: r.exportColumn,
|
|
206
|
-
titles: ["可选", "已选"],
|
|
207
|
-
props: {
|
|
208
|
-
key: "ColumnName",
|
|
209
|
-
label: "ColumnTitle"
|
|
210
|
-
}
|
|
211
|
-
}, {
|
|
212
|
-
"left-empty": t(() => [
|
|
213
|
-
o(s, {
|
|
214
|
-
"image-size": 60,
|
|
215
|
-
description: "无可选项"
|
|
216
|
-
})
|
|
217
|
-
]),
|
|
218
|
-
"right-empty": t(() => [
|
|
219
|
-
o(s, {
|
|
220
|
-
"image-size": 60,
|
|
221
|
-
description: "请从左侧选择"
|
|
222
|
-
})
|
|
223
|
-
]),
|
|
224
|
-
_: 1
|
|
225
|
-
}, 8, ["modelValue", "data"])
|
|
226
|
-
]),
|
|
227
|
-
_: 1
|
|
228
|
-
}, 512), [
|
|
229
|
-
[O, x.value.columnOption == "custom"]
|
|
230
|
-
])
|
|
231
|
-
]),
|
|
232
|
-
_: 1
|
|
233
|
-
}, 8, ["model", "rules"]), [
|
|
234
|
-
[O, d.exporting == !1]
|
|
235
|
-
]),
|
|
236
|
-
E(o(ue, {
|
|
237
|
-
"export-id": d.exportId
|
|
238
|
-
}, null, 8, ["export-id"]), [
|
|
239
|
-
[O, d.exporting]
|
|
240
|
-
])
|
|
241
|
-
]),
|
|
242
|
-
_: 1
|
|
243
|
-
}, 8, ["modelValue"]);
|
|
244
|
-
};
|
|
245
|
-
}
|
|
246
|
-
}), me = /* @__PURE__ */ ne(de, [["__scopeId", "data-v-641a8d31"]]), ce = /* @__PURE__ */ Q({
|
|
247
|
-
__name: "zsyslist_header",
|
|
248
|
-
props: ["config", "query"],
|
|
249
|
-
emits: ["refresh"],
|
|
250
|
-
setup(b, { emit: w }) {
|
|
251
|
-
const n = b, r = n.config, g = n.query, i = I({
|
|
252
|
-
exportDialogShow: !1
|
|
253
|
-
}), _ = w, f = () => {
|
|
254
|
-
_("refresh");
|
|
255
|
-
};
|
|
256
|
-
return (d, m) => {
|
|
257
|
-
const y = l("el-button"), x = l("el-tooltip"), q = l("el-input"), z = l("el-space"), u = l("el-col"), e = l("el-row"), a = l("el-text"), h = l("el-radio-button"), B = l("el-radio-group"), U = l("el-divider");
|
|
258
|
-
return p(), V(P, null, [
|
|
259
|
-
o(e, null, {
|
|
260
|
-
default: t(() => [
|
|
261
|
-
o(u, { span: 24 }, {
|
|
262
|
-
default: t(() => [
|
|
263
|
-
o(z, {
|
|
264
|
-
size: 4,
|
|
265
|
-
wrap: ""
|
|
266
|
-
}, {
|
|
267
|
-
default: t(() => [
|
|
268
|
-
G(d.$slots, "headermain"),
|
|
269
|
-
o(x, { content: "刷新列表数据" }, {
|
|
270
|
-
default: t(() => [
|
|
271
|
-
o(y, {
|
|
272
|
-
icon: c(J),
|
|
273
|
-
onClick: f
|
|
274
|
-
}, null, 8, ["icon"])
|
|
275
|
-
]),
|
|
276
|
-
_: 1
|
|
277
|
-
}),
|
|
278
|
-
c(r).KeywordTip ? (p(), v(x, {
|
|
279
|
-
key: 0,
|
|
280
|
-
"show-after": 800,
|
|
281
|
-
content: c(r).KeywordTip ? c(r).KeywordTip : "快捷搜索"
|
|
282
|
-
}, {
|
|
283
|
-
default: t(() => [
|
|
284
|
-
o(q, {
|
|
285
|
-
style: { width: "160px" },
|
|
286
|
-
placeholder: c(r).KeywordTip ? c(r).KeywordTip : "快捷搜索",
|
|
287
|
-
"prefix-icon": c(X),
|
|
288
|
-
modelValue: c(g).keyword,
|
|
289
|
-
"onUpdate:modelValue": m[0] || (m[0] = (s) => c(g).keyword = s),
|
|
290
|
-
clearable: "",
|
|
291
|
-
onKeyup: L(f, ["enter", "native"])
|
|
292
|
-
}, null, 8, ["placeholder", "prefix-icon", "modelValue"])
|
|
293
|
-
]),
|
|
294
|
-
_: 1
|
|
295
|
-
}, 8, ["content"])) : C("", !0),
|
|
296
|
-
c(r).ExportUrl ? (p(), v(x, {
|
|
297
|
-
key: 1,
|
|
298
|
-
content: "将查询的结果全部导出"
|
|
299
|
-
}, {
|
|
300
|
-
default: t(() => [
|
|
301
|
-
o(y, {
|
|
302
|
-
onClick: m[1] || (m[1] = (s) => i.exportDialogShow = !0)
|
|
303
|
-
}, {
|
|
304
|
-
default: t(() => [...m[3] || (m[3] = [
|
|
305
|
-
k("导出", -1)
|
|
306
|
-
])]),
|
|
307
|
-
_: 1
|
|
308
|
-
})
|
|
309
|
-
]),
|
|
310
|
-
_: 1
|
|
311
|
-
})) : C("", !0)
|
|
312
|
-
]),
|
|
313
|
-
_: 3
|
|
314
|
-
})
|
|
315
|
-
]),
|
|
316
|
-
_: 3
|
|
317
|
-
})
|
|
318
|
-
]),
|
|
319
|
-
_: 3
|
|
320
|
-
}),
|
|
321
|
-
(p(!0), V(P, null, j(c(r).QuickConditionsGroups, (s) => (p(), v(e, { style: { "margin-top": "8px" } }, {
|
|
322
|
-
default: t(() => [
|
|
323
|
-
o(u, { span: 24 }, {
|
|
324
|
-
default: t(() => [
|
|
325
|
-
o(z, {
|
|
326
|
-
size: 4,
|
|
327
|
-
wrap: ""
|
|
328
|
-
}, {
|
|
329
|
-
default: t(() => [
|
|
330
|
-
o(a, null, {
|
|
331
|
-
default: t(() => [
|
|
332
|
-
k(K(s.Label), 1)
|
|
333
|
-
]),
|
|
334
|
-
_: 2
|
|
335
|
-
}, 1024),
|
|
336
|
-
o(B, {
|
|
337
|
-
modelValue: s.Select,
|
|
338
|
-
"onUpdate:modelValue": ($) => s.Select = $,
|
|
339
|
-
size: "small"
|
|
340
|
-
}, {
|
|
341
|
-
default: t(() => [
|
|
342
|
-
(p(!0), V(P, null, j(s.QuickConditions, ($, N) => (p(), v(h, {
|
|
343
|
-
value: N,
|
|
344
|
-
onChange: f
|
|
345
|
-
}, {
|
|
346
|
-
default: t(() => [
|
|
347
|
-
k(K($.label), 1)
|
|
348
|
-
]),
|
|
349
|
-
_: 2
|
|
350
|
-
}, 1032, ["value"]))), 256))
|
|
351
|
-
]),
|
|
352
|
-
_: 2
|
|
353
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
354
|
-
]),
|
|
355
|
-
_: 2
|
|
356
|
-
}, 1024)
|
|
357
|
-
]),
|
|
358
|
-
_: 2
|
|
359
|
-
}, 1024)
|
|
360
|
-
]),
|
|
361
|
-
_: 2
|
|
362
|
-
}, 1024))), 256)),
|
|
363
|
-
o(U, { style: { "margin-top": "4px", "margin-bottom": "4px" } }),
|
|
364
|
-
o(me, {
|
|
365
|
-
modelValue: i.exportDialogShow,
|
|
366
|
-
"onUpdate:modelValue": m[2] || (m[2] = (s) => i.exportDialogShow = s),
|
|
367
|
-
"export-url": c(r).ExportUrl,
|
|
368
|
-
"export-column": c(r).ExportColumn
|
|
369
|
-
}, null, 8, ["modelValue", "export-url", "export-column"])
|
|
370
|
-
], 64);
|
|
371
|
-
};
|
|
372
|
-
}
|
|
373
|
-
}), we = /* @__PURE__ */ Q({
|
|
374
|
-
__name: "zsyslist",
|
|
375
|
-
props: {
|
|
376
|
-
config: { type: Object, required: !0 },
|
|
377
|
-
module: { type: String, default: "" }
|
|
378
|
-
// closeOnClickModal: { type: Boolean, default: true }
|
|
379
|
-
},
|
|
380
|
-
setup(b) {
|
|
381
|
-
const w = le(), n = I({
|
|
382
|
-
loading: !1
|
|
383
|
-
}), r = b;
|
|
384
|
-
console.log("zlist", r.module);
|
|
385
|
-
const g = r.config, i = I({ keyword: "" }), _ = S(1), f = S(30), d = S(0), m = S({}), y = async () => {
|
|
386
|
-
n.loading = !0;
|
|
387
|
-
let u = {
|
|
388
|
-
page_size: f.value,
|
|
389
|
-
page_index: _.value,
|
|
390
|
-
user_query_param: q(),
|
|
391
|
-
keyword: i.keyword
|
|
392
|
-
}, e = await T.Post(g.ApiUrl, u);
|
|
393
|
-
if (e.IsSuccess) {
|
|
394
|
-
let a = e.data;
|
|
395
|
-
m.value = a, d.value = a.count;
|
|
396
|
-
}
|
|
397
|
-
n.loading = !1;
|
|
398
|
-
}, x = (u) => {
|
|
399
|
-
console.log("aud_event:", u), (u.module == r.module || u.module == "all") && y();
|
|
400
|
-
}, q = () => {
|
|
401
|
-
let u = [];
|
|
402
|
-
for (const e of g.QuickConditionsGroups || [])
|
|
403
|
-
e.QuickConditions[e.Select].column != null && u.push(e.QuickConditions[e.Select]);
|
|
404
|
-
return u;
|
|
405
|
-
};
|
|
406
|
-
W(() => {
|
|
407
|
-
w.on("aud", x), y();
|
|
408
|
-
}), Z(() => {
|
|
409
|
-
w.off("aud", x);
|
|
410
|
-
});
|
|
411
|
-
const z = (u, e) => {
|
|
412
|
-
_.value = u, f.value = e, console.log(_.value, f.value), y();
|
|
413
|
-
};
|
|
414
|
-
return (u, e) => {
|
|
415
|
-
const a = l("el-empty"), h = l("el-table"), B = l("el-pagination"), U = Y("loading");
|
|
416
|
-
return E((p(), V("div", null, [
|
|
417
|
-
o(ce, {
|
|
418
|
-
config: c(g),
|
|
419
|
-
query: i,
|
|
420
|
-
"onUpdate:query": e[0] || (e[0] = (s) => i = s),
|
|
421
|
-
onRefresh: e[1] || (e[1] = (s) => y())
|
|
422
|
-
}, {
|
|
423
|
-
headermain: t(() => [
|
|
424
|
-
G(u.$slots, "headermain")
|
|
425
|
-
]),
|
|
426
|
-
_: 3
|
|
427
|
-
}, 8, ["config", "query"]),
|
|
428
|
-
o(h, {
|
|
429
|
-
data: m.value.listdata,
|
|
430
|
-
style: { width: "100%" },
|
|
431
|
-
stripe: !0
|
|
432
|
-
}, {
|
|
433
|
-
empty: t(() => [
|
|
434
|
-
o(a, {
|
|
435
|
-
description: "无相关数据",
|
|
436
|
-
"image-size": 100
|
|
437
|
-
})
|
|
438
|
-
]),
|
|
439
|
-
default: t(() => [
|
|
440
|
-
G(u.$slots, "content")
|
|
441
|
-
]),
|
|
442
|
-
_: 3
|
|
443
|
-
}, 8, ["data"]),
|
|
444
|
-
c(g).HideBottomToolbar != !0 ? (p(), v(B, {
|
|
445
|
-
key: 0,
|
|
446
|
-
"current-page": _.value,
|
|
447
|
-
"onUpdate:currentPage": e[2] || (e[2] = (s) => _.value = s),
|
|
448
|
-
"page-size": f.value,
|
|
449
|
-
"onUpdate:pageSize": e[3] || (e[3] = (s) => f.value = s),
|
|
450
|
-
"page-sizes": [30, 50, 100, 150, 200],
|
|
451
|
-
layout: "total, sizes, prev, next, pager, jumper",
|
|
452
|
-
total: d.value,
|
|
453
|
-
"prev-text": "上一页",
|
|
454
|
-
"next-text": "下一页",
|
|
455
|
-
onChange: z,
|
|
456
|
-
style: { "margin-top": "6px", "margin-bottom": "6px" }
|
|
457
|
-
}, null, 8, ["current-page", "page-size", "total"])) : C("", !0)
|
|
458
|
-
])), [
|
|
459
|
-
[U, n.loading]
|
|
460
|
-
]);
|
|
461
|
-
};
|
|
462
|
-
}
|
|
463
|
-
});
|
|
464
|
-
export {
|
|
465
|
-
we as _
|
|
466
|
-
};
|