@yxhl/specter-pui-vtk 1.0.27 → 1.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/specter-pui.es.js +116 -90
- package/dist/specter-pui.es.js.map +1 -1
- package/dist/specter-pui.umd.js +1 -1
- package/dist/specter-pui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/commons/request.js +117 -71
package/dist/specter-pui.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { reactive as pe, ref as $, onMounted as ie, resolveComponent as i, createElementBlock as
|
|
1
|
+
import { reactive as pe, ref as $, onMounted as ie, resolveComponent as i, createElementBlock as U, openBlock as h, createVNode as l, createBlock as B, createCommentVNode as F, normalizeStyle as ae, normalizeClass as K, inject as Ie, computed as L, withCtx as n, createTextVNode as V, toDisplayString as D, watch as ne, useAttrs as ke, mergeProps as oe, createElementVNode as x, Fragment as ce, renderList as me, nextTick as Ue, createSlots as Tt, renderSlot as le, onBeforeUnmount as Oe, Transition as At, useCssVars as Pt, withKeys as Fe, onActivated as Dt, unref as R, isRef as jt } from "vue";
|
|
2
2
|
import It from "axios";
|
|
3
|
-
import { defineStore as
|
|
3
|
+
import { defineStore as Ut } from "pinia";
|
|
4
4
|
const se = {}, _e = (e = "local") => e == "local" ? window.localStorage : window.sessionStorage;
|
|
5
5
|
se.get = (e, t = "local") => {
|
|
6
6
|
var o = _e(t).getItem(e);
|
|
@@ -15,7 +15,7 @@ se.remove = (e, t = "local") => {
|
|
|
15
15
|
se.clear = (e = "local") => {
|
|
16
16
|
_e(e).clear();
|
|
17
17
|
};
|
|
18
|
-
const te =
|
|
18
|
+
const te = Ut("message", {
|
|
19
19
|
state: () => ({
|
|
20
20
|
alert: {
|
|
21
21
|
isActive: !1,
|
|
@@ -146,26 +146,52 @@ ye.interceptors.response.use(
|
|
|
146
146
|
title: "提示",
|
|
147
147
|
text: "对不起,您的登录信息过期!",
|
|
148
148
|
onConfirm: () => {
|
|
149
|
-
window.location.href = "
|
|
149
|
+
const a = window.location.href, s = a.indexOf("#");
|
|
150
|
+
let c;
|
|
151
|
+
s > -1 ? c = a.substring(0, s) + "#/" : c = a + "#/", window.location.href = c;
|
|
150
152
|
}
|
|
151
153
|
})), Promise.resolve(t));
|
|
152
154
|
},
|
|
153
155
|
(e) => (console.log("err" + e), G.toast(e.message || "网络错误", { color: "error" }), Promise.reject(e))
|
|
154
156
|
);
|
|
155
157
|
const q = {};
|
|
156
|
-
q.http = (e, t = {}, o = "GET", a = { "content-type": "application/x-www-form-urlencoded" }, s = null) => a["content-type"] === "application/x-www-form-urlencoded" ? ye({
|
|
158
|
+
q.http = (e, t = {}, o = "GET", a = { "content-type": "application/x-www-form-urlencoded" }, s = null) => a["content-type"] === "application/x-www-form-urlencoded" ? ye({
|
|
159
|
+
url: e,
|
|
160
|
+
params: t,
|
|
161
|
+
method: o,
|
|
162
|
+
headers: a,
|
|
163
|
+
responseType: s
|
|
164
|
+
}) : ye({
|
|
165
|
+
url: e,
|
|
166
|
+
data: t,
|
|
167
|
+
method: o,
|
|
168
|
+
headers: a,
|
|
169
|
+
responseType: s
|
|
170
|
+
});
|
|
157
171
|
q.getForm = (e, t = {}) => q.http(e, t);
|
|
158
172
|
q.postForm = (e, t = {}) => q.http(e, t, "POST");
|
|
159
|
-
q.getJson = (e, t = {}) => q.http(e, t, "POST", {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
q.
|
|
173
|
+
q.getJson = (e, t = {}) => q.http(e, t, "POST", {
|
|
174
|
+
"content-type": "application/json"
|
|
175
|
+
});
|
|
176
|
+
q.postJson = (e, t = {}) => q.http(e, t, "POST", {
|
|
177
|
+
"content-type": "application/json"
|
|
178
|
+
});
|
|
179
|
+
q.imp = (e, t = {}) => q.http(e, t, "POST", {
|
|
180
|
+
"Content-Type": "multipart/form-data"
|
|
181
|
+
});
|
|
182
|
+
q.exp = (e, t = {}) => q.http(
|
|
183
|
+
e,
|
|
184
|
+
t,
|
|
185
|
+
"POST",
|
|
186
|
+
{ "content-Type": "application/json" },
|
|
187
|
+
"blob"
|
|
188
|
+
);
|
|
163
189
|
const Z = (e, t) => {
|
|
164
190
|
const o = e.__vccOpts || e;
|
|
165
191
|
for (const [a, s] of t)
|
|
166
192
|
o[a] = s;
|
|
167
193
|
return o;
|
|
168
|
-
},
|
|
194
|
+
}, Nt = { class: "d-inline-block d-flex" }, Ot = /* @__PURE__ */ Object.assign({
|
|
169
195
|
name: "VtkArea",
|
|
170
196
|
inheritAttrs: !1
|
|
171
197
|
}, {
|
|
@@ -241,9 +267,9 @@ const Z = (e, t) => {
|
|
|
241
267
|
p && o("update:modelValue", p);
|
|
242
268
|
};
|
|
243
269
|
return (p, d) => {
|
|
244
|
-
var w,
|
|
270
|
+
var w, N, A, _, f, g, S, P, O, z;
|
|
245
271
|
const m = i("VSelect");
|
|
246
|
-
return h(),
|
|
272
|
+
return h(), U("div", Nt, [
|
|
247
273
|
l(m, {
|
|
248
274
|
modelValue: a.area2,
|
|
249
275
|
"onUpdate:modelValue": [
|
|
@@ -260,7 +286,7 @@ const Z = (e, t) => {
|
|
|
260
286
|
density: "compact",
|
|
261
287
|
variant: "outlined",
|
|
262
288
|
clearable: "",
|
|
263
|
-
disabled: ((
|
|
289
|
+
disabled: ((N = s.value.areacode) == null ? void 0 : N.length) >= 2,
|
|
264
290
|
"menu-props": { offsetY: !0 },
|
|
265
291
|
style: ae(e.areaStyle)
|
|
266
292
|
}, null, 8, ["modelValue", "placeholder", "items", "disabled", "style"]),
|
|
@@ -408,7 +434,7 @@ const Z = (e, t) => {
|
|
|
408
434
|
};
|
|
409
435
|
return (k, b) => {
|
|
410
436
|
const v = i("v-icon"), p = i("v-breadcrumbs-item"), d = i("v-breadcrumbs"), m = i("v-btn");
|
|
411
|
-
return h(),
|
|
437
|
+
return h(), U("div", Ft, [
|
|
412
438
|
l(d, {
|
|
413
439
|
items: u.value,
|
|
414
440
|
class: "pa-0"
|
|
@@ -499,12 +525,12 @@ const Z = (e, t) => {
|
|
|
499
525
|
u.value = !0, a("update:modelValue", w);
|
|
500
526
|
}, { deep: !0 });
|
|
501
527
|
const y = ke(), k = L(() => {
|
|
502
|
-
const { list: w, inline:
|
|
528
|
+
const { list: w, inline: N, modelValue: A, ..._ } = y;
|
|
503
529
|
return _;
|
|
504
530
|
}), b = L(() => {
|
|
505
531
|
const {
|
|
506
532
|
list: w,
|
|
507
|
-
inline:
|
|
533
|
+
inline: N,
|
|
508
534
|
modelValue: A,
|
|
509
535
|
error: _,
|
|
510
536
|
"error-messages": f,
|
|
@@ -516,8 +542,8 @@ const Z = (e, t) => {
|
|
|
516
542
|
return O;
|
|
517
543
|
}), v = L(() => s.value && s.value.length > 0 ? s.value : null), p = $([]), d = () => {
|
|
518
544
|
o.list.split("/").forEach((w) => {
|
|
519
|
-
const [
|
|
520
|
-
p.value.push({ code:
|
|
545
|
+
const [N, A] = w.split(":");
|
|
546
|
+
p.value.push({ code: N, codeValue: A });
|
|
521
547
|
});
|
|
522
548
|
}, m = async () => {
|
|
523
549
|
try {
|
|
@@ -529,20 +555,20 @@ const Z = (e, t) => {
|
|
|
529
555
|
};
|
|
530
556
|
return ie(() => {
|
|
531
557
|
o.list.includes(":") ? d() : m();
|
|
532
|
-
}), (w,
|
|
558
|
+
}), (w, N) => {
|
|
533
559
|
const A = i("VCheckbox"), _ = i("VInput");
|
|
534
560
|
return h(), B(_, oe(k.value, { "model-value": v.value }), {
|
|
535
561
|
default: n(() => [
|
|
536
562
|
x("div", {
|
|
537
563
|
class: K(["checkGroup", e.inline ? "d-flex flex-wrap align-top" : "d-inline-block"])
|
|
538
564
|
}, [
|
|
539
|
-
(h(!0),
|
|
565
|
+
(h(!0), U(ce, null, me(p.value, (f) => (h(), B(A, oe({
|
|
540
566
|
"hide-details": "",
|
|
541
567
|
key: f.id || f.code,
|
|
542
568
|
label: f.codeValue,
|
|
543
569
|
value: f.code,
|
|
544
570
|
modelValue: s.value,
|
|
545
|
-
"onUpdate:modelValue":
|
|
571
|
+
"onUpdate:modelValue": N[0] || (N[0] = (g) => s.value = g)
|
|
546
572
|
}, { ref_for: !0 }, b.value, {
|
|
547
573
|
class: e.inline ? "mr-4" : ""
|
|
548
574
|
}), null, 16, ["label", "value", "modelValue", "class"]))), 128))
|
|
@@ -641,7 +667,7 @@ const Z = (e, t) => {
|
|
|
641
667
|
}
|
|
642
668
|
return "0";
|
|
643
669
|
});
|
|
644
|
-
},
|
|
670
|
+
}, N = (f, g) => {
|
|
645
671
|
if (isNaN(f) || isNaN(g))
|
|
646
672
|
return {
|
|
647
673
|
transform: "translateY(0)"
|
|
@@ -671,42 +697,42 @@ const Z = (e, t) => {
|
|
|
671
697
|
return ne(() => a.end, (f, g) => {
|
|
672
698
|
if (f !== g) {
|
|
673
699
|
const S = b(f), P = b(g);
|
|
674
|
-
S.length !== P.length ? (y.value += 1,
|
|
700
|
+
S.length !== P.length ? (y.value += 1, Ue(() => {
|
|
675
701
|
A();
|
|
676
702
|
})) : A();
|
|
677
703
|
}
|
|
678
704
|
}), ie(() => {
|
|
679
705
|
if (a.autoplay) {
|
|
680
706
|
const f = p.value, g = v.value;
|
|
681
|
-
f.length !== g.length && (y.value += 1),
|
|
707
|
+
f.length !== g.length && (y.value += 1), Ue(() => {
|
|
682
708
|
A();
|
|
683
709
|
});
|
|
684
710
|
}
|
|
685
711
|
}), t({
|
|
686
712
|
startAnimation: A
|
|
687
|
-
}), (f, g) => (h(),
|
|
713
|
+
}), (f, g) => (h(), U("div", {
|
|
688
714
|
class: K(["vtk-count", e.containerClass])
|
|
689
715
|
}, [
|
|
690
716
|
x("div", {
|
|
691
717
|
class: "count-display",
|
|
692
718
|
style: ae({ color: e.color })
|
|
693
719
|
}, [
|
|
694
|
-
e.prefix ? (h(),
|
|
720
|
+
e.prefix ? (h(), U("span", zt, D(e.prefix), 1)) : F("", !0),
|
|
695
721
|
x("div", Lt, [
|
|
696
|
-
(h(!0),
|
|
722
|
+
(h(!0), U(ce, null, me(d.value, (S, P) => (h(), U("div", {
|
|
697
723
|
key: `digit-${P}-${y.value}`,
|
|
698
724
|
class: K(["digit-wrapper", { "digit-separator": isNaN(S) }])
|
|
699
725
|
}, [
|
|
700
|
-
isNaN(S) ? (h(),
|
|
701
|
-
(h(),
|
|
726
|
+
isNaN(S) ? (h(), U("div", Et, D(S), 1)) : (h(), U("div", Rt, [
|
|
727
|
+
(h(), U(ce, null, me(10, (O) => x("div", {
|
|
702
728
|
key: O,
|
|
703
729
|
class: "digit-item",
|
|
704
|
-
style: ae(
|
|
730
|
+
style: ae(N(m(P), O - 1))
|
|
705
731
|
}, D(O - 1), 5)), 64))
|
|
706
732
|
]))
|
|
707
733
|
], 2))), 128))
|
|
708
734
|
]),
|
|
709
|
-
e.suffix ? (h(),
|
|
735
|
+
e.suffix ? (h(), U("span", Yt, D(e.suffix), 1)) : F("", !0)
|
|
710
736
|
], 4)
|
|
711
737
|
], 2));
|
|
712
738
|
}
|
|
@@ -797,7 +823,7 @@ const Z = (e, t) => {
|
|
|
797
823
|
);
|
|
798
824
|
const w = (g) => {
|
|
799
825
|
g ? u.value = [g, u.value[1] || null] : u.value.length > 0 && (u.value = [null, u.value[1] || null]);
|
|
800
|
-
},
|
|
826
|
+
}, N = (g) => {
|
|
801
827
|
g ? u.value = [u.value[0] || null, g] : u.value.length > 1 && (u.value = [u.value[0] || null, null]);
|
|
802
828
|
}, A = () => {
|
|
803
829
|
u.value = [], y.value = null, k.value = null, a("update:modelValue", []), a("change", []), c.value = !1;
|
|
@@ -813,7 +839,7 @@ const Z = (e, t) => {
|
|
|
813
839
|
};
|
|
814
840
|
return (g, S) => {
|
|
815
841
|
const P = i("VIcon"), O = i("VTextField"), z = i("VDatePicker"), I = i("VCardText"), j = i("VDivider"), E = i("VSpacer"), Y = i("VBtn"), M = i("VCardActions"), J = i("VCard"), W = i("VMenu");
|
|
816
|
-
return h(),
|
|
842
|
+
return h(), U("div", Wt, [
|
|
817
843
|
l(W, {
|
|
818
844
|
modelValue: c.value,
|
|
819
845
|
"onUpdate:modelValue": S[3] || (S[3] = (H) => c.value = H),
|
|
@@ -868,7 +894,7 @@ const Z = (e, t) => {
|
|
|
868
894
|
modelValue: k.value,
|
|
869
895
|
"onUpdate:modelValue": [
|
|
870
896
|
S[2] || (S[2] = (H) => k.value = H),
|
|
871
|
-
|
|
897
|
+
N
|
|
872
898
|
],
|
|
873
899
|
"hide-header": "",
|
|
874
900
|
min: d.value,
|
|
@@ -1100,35 +1126,35 @@ const Z = (e, t) => {
|
|
|
1100
1126
|
const s = {};
|
|
1101
1127
|
return t.top && t.maxWidth && (s.maxWidth = o.value), s;
|
|
1102
1128
|
});
|
|
1103
|
-
return (s, c) => (h(),
|
|
1129
|
+
return (s, c) => (h(), U("div", {
|
|
1104
1130
|
class: K(["box", {
|
|
1105
1131
|
"form-item--vertical": e.top,
|
|
1106
1132
|
"form-item--horizontal": !e.top
|
|
1107
1133
|
}]),
|
|
1108
1134
|
style: { position: "relative" }
|
|
1109
1135
|
}, [
|
|
1110
|
-
e.label && e.top ? (h(),
|
|
1111
|
-
e.must ? (h(),
|
|
1136
|
+
e.label && e.top ? (h(), U("div", Gt, [
|
|
1137
|
+
e.must ? (h(), U("span", Kt, "*")) : F("", !0),
|
|
1112
1138
|
x("span", null, D(e.label), 1)
|
|
1113
1139
|
])) : F("", !0),
|
|
1114
|
-
e.label && !e.top ? (h(),
|
|
1140
|
+
e.label && !e.top ? (h(), U("div", {
|
|
1115
1141
|
key: 1,
|
|
1116
1142
|
class: K([e.left ? "" : "vtk-width-2", "d-inline-block text-right"]),
|
|
1117
1143
|
style: ae([e.Tstyle, { "min-width": "120px !important", "vertical-align": "top", "padding-top": "11px" }])
|
|
1118
1144
|
}, [
|
|
1119
|
-
e.must ? (h(),
|
|
1145
|
+
e.must ? (h(), U("span", Zt, "*")) : F("", !0),
|
|
1120
1146
|
x("span", null, D(e.label), 1)
|
|
1121
1147
|
], 6)) : F("", !0),
|
|
1122
|
-
e.top ? (h(),
|
|
1148
|
+
e.top ? (h(), U("div", {
|
|
1123
1149
|
key: 2,
|
|
1124
1150
|
style: ae(a.value)
|
|
1125
1151
|
}, [
|
|
1126
1152
|
le(s.$slots, "default", {}, void 0, !0)
|
|
1127
1153
|
], 4)) : F("", !0),
|
|
1128
|
-
e.top ? F("", !0) : (h(),
|
|
1154
|
+
e.top ? F("", !0) : (h(), U("div", ea, [
|
|
1129
1155
|
le(s.$slots, "default", {}, void 0, !0)
|
|
1130
1156
|
])),
|
|
1131
|
-
e.left && e.help && !e.top ? (h(),
|
|
1157
|
+
e.left && e.help && !e.top ? (h(), U("div", ta, [
|
|
1132
1158
|
x("p", aa, D(e.label), 1),
|
|
1133
1159
|
x("span", { innerHTML: e.help }, null, 8, la)
|
|
1134
1160
|
])) : F("", !0)
|
|
@@ -1249,12 +1275,12 @@ const Z = (e, t) => {
|
|
|
1249
1275
|
b.value && (s.value--, a.value = 0);
|
|
1250
1276
|
}, w = () => {
|
|
1251
1277
|
v.value && (s.value++, a.value = 0);
|
|
1252
|
-
},
|
|
1278
|
+
}, N = (A) => {
|
|
1253
1279
|
a.value += A;
|
|
1254
1280
|
};
|
|
1255
1281
|
return (A, _) => {
|
|
1256
1282
|
const f = i("v-progress-circular"), g = i("v-img"), S = i("VCardTitle"), P = i("v-card-subtitle"), O = i("VCard"), z = i("VIcon"), I = i("VBtn"), j = i("v-toolbar-title"), E = i("VSpacer"), Y = i("v-toolbar-items"), M = i("v-toolbar"), J = i("VDialog");
|
|
1257
|
-
return h(),
|
|
1283
|
+
return h(), U("div", oa, [
|
|
1258
1284
|
l(O, {
|
|
1259
1285
|
class: K(["vtk-img-card", { "vtk-img-card--preview": e.preview }]),
|
|
1260
1286
|
onClick: p
|
|
@@ -1276,7 +1302,7 @@ const Z = (e, t) => {
|
|
|
1276
1302
|
]),
|
|
1277
1303
|
_: 1
|
|
1278
1304
|
}, 16, ["src", "aspect-ratio"]),
|
|
1279
|
-
e.showTitle || e.showDescription ? (h(),
|
|
1305
|
+
e.showTitle || e.showDescription ? (h(), U("div", ra, [
|
|
1280
1306
|
e.showTitle ? (h(), B(S, {
|
|
1281
1307
|
key: 0,
|
|
1282
1308
|
class: "vtk-img-title text-subtitle-2 pa-2"
|
|
@@ -1341,7 +1367,7 @@ const Z = (e, t) => {
|
|
|
1341
1367
|
l(I, {
|
|
1342
1368
|
icon: "",
|
|
1343
1369
|
dark: "",
|
|
1344
|
-
onClick: _[0] || (_[0] = (W) =>
|
|
1370
|
+
onClick: _[0] || (_[0] = (W) => N(-90))
|
|
1345
1371
|
}, {
|
|
1346
1372
|
default: n(() => [
|
|
1347
1373
|
l(z, null, {
|
|
@@ -1356,7 +1382,7 @@ const Z = (e, t) => {
|
|
|
1356
1382
|
l(I, {
|
|
1357
1383
|
icon: "",
|
|
1358
1384
|
dark: "",
|
|
1359
|
-
onClick: _[1] || (_[1] = (W) =>
|
|
1385
|
+
onClick: _[1] || (_[1] = (W) => N(90))
|
|
1360
1386
|
}, {
|
|
1361
1387
|
default: n(() => [
|
|
1362
1388
|
l(z, null, {
|
|
@@ -1474,8 +1500,8 @@ const Z = (e, t) => {
|
|
|
1474
1500
|
a("pageChange", d);
|
|
1475
1501
|
};
|
|
1476
1502
|
return (d, m) => {
|
|
1477
|
-
const w = i("VSelect"),
|
|
1478
|
-
return h(),
|
|
1503
|
+
const w = i("VSelect"), N = i("v-pagination"), A = i("VTextField"), _ = i("VRow");
|
|
1504
|
+
return h(), U("div", va, [
|
|
1479
1505
|
u.value.rowCount > 0 ? (h(), B(_, {
|
|
1480
1506
|
key: 0,
|
|
1481
1507
|
class: "pagination box",
|
|
@@ -1497,7 +1523,7 @@ const Z = (e, t) => {
|
|
|
1497
1523
|
class: "page-select ml-2 d-none d-md-flex"
|
|
1498
1524
|
}, null, 8, ["modelValue", "items"]),
|
|
1499
1525
|
x("span", ga, [
|
|
1500
|
-
l(
|
|
1526
|
+
l(N, {
|
|
1501
1527
|
modelValue: u.value.pageno,
|
|
1502
1528
|
"onUpdate:modelValue": [
|
|
1503
1529
|
m[2] || (m[2] = (f) => u.value.pageno = f),
|
|
@@ -1610,7 +1636,7 @@ const Z = (e, t) => {
|
|
|
1610
1636
|
!k || y.value;
|
|
1611
1637
|
}, w = () => {
|
|
1612
1638
|
c.value > 1 && (c.value--, m(c.value));
|
|
1613
|
-
},
|
|
1639
|
+
}, N = () => {
|
|
1614
1640
|
c.value < u.value && (c.value++, m(c.value));
|
|
1615
1641
|
}, A = async () => {
|
|
1616
1642
|
if (b.value)
|
|
@@ -1628,7 +1654,7 @@ const Z = (e, t) => {
|
|
|
1628
1654
|
k = null;
|
|
1629
1655
|
}), (_, f) => {
|
|
1630
1656
|
const g = i("VIcon"), S = i("VCardTitle"), P = i("v-card-subtitle"), O = i("VCard"), z = i("VBtn"), I = i("v-toolbar-title"), j = i("VSpacer"), E = i("v-toolbar-items"), Y = i("v-toolbar"), M = i("VCol"), J = i("VSlider"), W = i("VRow"), H = i("v-progress-circular"), de = i("VDialog");
|
|
1631
|
-
return h(),
|
|
1657
|
+
return h(), U("div", ba, [
|
|
1632
1658
|
l(O, {
|
|
1633
1659
|
class: K(["vtk-pdf-card", { "vtk-pdf-card--preview": e.preview }]),
|
|
1634
1660
|
onClick: v
|
|
@@ -1649,7 +1675,7 @@ const Z = (e, t) => {
|
|
|
1649
1675
|
}),
|
|
1650
1676
|
f[3] || (f[3] = x("div", { class: "vtk-pdf-label" }, "PDF", -1))
|
|
1651
1677
|
], 4),
|
|
1652
|
-
e.showTitle || e.showDescription ? (h(),
|
|
1678
|
+
e.showTitle || e.showDescription ? (h(), U("div", ya, [
|
|
1653
1679
|
e.showTitle ? (h(), B(S, {
|
|
1654
1680
|
key: 0,
|
|
1655
1681
|
class: "vtk-pdf-title text-subtitle-2 pa-2"
|
|
@@ -1741,7 +1767,7 @@ const Z = (e, t) => {
|
|
|
1741
1767
|
x("div", { id: "pdf-viewer" }, null, -1)
|
|
1742
1768
|
])], 512)
|
|
1743
1769
|
]),
|
|
1744
|
-
s.value ? (h(),
|
|
1770
|
+
s.value ? (h(), U("div", _a, [
|
|
1745
1771
|
l(W, {
|
|
1746
1772
|
align: "center",
|
|
1747
1773
|
justify: "center"
|
|
@@ -1773,7 +1799,7 @@ const Z = (e, t) => {
|
|
|
1773
1799
|
]),
|
|
1774
1800
|
l(z, {
|
|
1775
1801
|
icon: "",
|
|
1776
|
-
onClick:
|
|
1802
|
+
onClick: N,
|
|
1777
1803
|
disabled: c.value >= u.value
|
|
1778
1804
|
}, {
|
|
1779
1805
|
default: n(() => [
|
|
@@ -1810,7 +1836,7 @@ const Z = (e, t) => {
|
|
|
1810
1836
|
_: 1
|
|
1811
1837
|
})
|
|
1812
1838
|
])) : F("", !0),
|
|
1813
|
-
a.value ? (h(),
|
|
1839
|
+
a.value ? (h(), U("div", xa, [
|
|
1814
1840
|
l(H, {
|
|
1815
1841
|
indeterminate: "",
|
|
1816
1842
|
color: "red"
|
|
@@ -1968,7 +1994,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
1968
1994
|
}, Aa = { key: 1 }, Pa = {
|
|
1969
1995
|
key: 0,
|
|
1970
1996
|
style: { width: "400px" }
|
|
1971
|
-
}, Da = ["onClick"], ja = { class: "vtk-cursor-pointer text-body-1 font-weight-bold mb-2" }, Ia = { class: "ml-3 text-grey" },
|
|
1997
|
+
}, Da = ["onClick"], ja = { class: "vtk-cursor-pointer text-body-1 font-weight-bold mb-2" }, Ia = { class: "ml-3 text-grey" }, Ua = { class: "mb-0 mt-2 text-grey" }, Na = {
|
|
1972
1998
|
class: "d-inline-block",
|
|
1973
1999
|
style: { "min-width": "320px" }
|
|
1974
2000
|
}, Oa = { class: "text-blue" }, Fa = ["title"], Ba = ["title"], Ma = ["onClick"], za = {
|
|
@@ -1998,7 +2024,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
1998
2024
|
const v = k, p = $({}), d = $(1), m = $([
|
|
1999
2025
|
{ title: "事项", key: "objsName", sortable: !1 },
|
|
2000
2026
|
{ title: "状态", key: "actions", sortable: !1, align: "end" }
|
|
2001
|
-
]), w = $([]),
|
|
2027
|
+
]), w = $([]), N = $(""), A = $(""), _ = $(""), f = $(!1), g = $(!1), S = $(!1), P = $([]), O = $([]), z = $(!1), I = $([]), j = $(!1), E = $({}), Y = $(""), M = $(null);
|
|
2002
2028
|
ne(P, (T) => {
|
|
2003
2029
|
T.length < I.value.length && (z.value = !1);
|
|
2004
2030
|
}, { deep: !0 }), Dt(() => {
|
|
@@ -2033,11 +2059,11 @@ const $a = { key: 0 }, Ca = {
|
|
|
2033
2059
|
var T;
|
|
2034
2060
|
(T = M.value) == null || T.add(v.projCode);
|
|
2035
2061
|
}, at = (T) => {
|
|
2036
|
-
|
|
2062
|
+
N.value = T.projName, v.projCode = T.projCode, delete v.bizType, ve();
|
|
2037
2063
|
}, ve = () => {
|
|
2038
2064
|
s();
|
|
2039
2065
|
}, lt = () => {
|
|
2040
|
-
|
|
2066
|
+
N.value && v.servState == "1" && (P.value = [], O.value = [], q.postJson("/kudas/xfwez/exv", { codex: v }).then((T) => {
|
|
2041
2067
|
T.meta.success ? JSON.parse(T.data.formJson).forEach((r) => {
|
|
2042
2068
|
["text", "radio", "number", "time", "checkbox", "textarea", "select"].includes(r.type) && (r.value = {
|
|
2043
2069
|
name: r.name,
|
|
@@ -2250,7 +2276,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
2250
2276
|
V(" 状态 ")
|
|
2251
2277
|
], -1)),
|
|
2252
2278
|
l(ft),
|
|
2253
|
-
R(v).servState == "1" &&
|
|
2279
|
+
R(v).servState == "1" && N.value ? (h(), U("div", $a, [
|
|
2254
2280
|
l(xe, { class: "pa-0 text-body-1 mb-2 pt-3" }, {
|
|
2255
2281
|
default: n(() => [
|
|
2256
2282
|
l(Te, {
|
|
@@ -2281,8 +2307,8 @@ const $a = { key: 0 }, Ca = {
|
|
|
2281
2307
|
]),
|
|
2282
2308
|
_: 1
|
|
2283
2309
|
}),
|
|
2284
|
-
((C = O.value) == null ? void 0 : C.length) > 0 ? (h(),
|
|
2285
|
-
(h(!0),
|
|
2310
|
+
((C = O.value) == null ? void 0 : C.length) > 0 ? (h(), U("p", Ca, [
|
|
2311
|
+
(h(!0), U(ce, null, me(O.value, (X, je) => (h(), B(Te, {
|
|
2286
2312
|
key: je,
|
|
2287
2313
|
modelValue: P.value,
|
|
2288
2314
|
"onUpdate:modelValue": r[3] || (r[3] = (Ct) => P.value = Ct),
|
|
@@ -2306,8 +2332,8 @@ const $a = { key: 0 }, Ca = {
|
|
|
2306
2332
|
]),
|
|
2307
2333
|
_: 1
|
|
2308
2334
|
}, 8, ["modelValue", "label", "value"]))), 128))
|
|
2309
|
-
])) : (h(),
|
|
2310
|
-
])) : (h(),
|
|
2335
|
+
])) : (h(), U("p", Ta, D(A.value), 1))
|
|
2336
|
+
])) : (h(), U("div", Aa, [
|
|
2311
2337
|
r[39] || (r[39] = x("p", { class: "mb-3 pt-3 font-weight-bold" }, "导出提示", -1)),
|
|
2312
2338
|
x("p", {
|
|
2313
2339
|
class: K([R(v).servState == "1" ? "text-green" : "text-red", "mb-3 text-body-2"])
|
|
@@ -2324,14 +2350,14 @@ const $a = { key: 0 }, Ca = {
|
|
|
2324
2350
|
r[37] || (r[37] = V(" 导出数据仅限已服务信息 ", -1))
|
|
2325
2351
|
], 2),
|
|
2326
2352
|
x("p", {
|
|
2327
|
-
class: K(["mb-2 text-body-2",
|
|
2353
|
+
class: K(["mb-2 text-body-2", N.value ? "text-green" : "text-red"])
|
|
2328
2354
|
}, [
|
|
2329
2355
|
l(ee, {
|
|
2330
2356
|
size: "20",
|
|
2331
|
-
color:
|
|
2357
|
+
color: N.value ? "green" : "red"
|
|
2332
2358
|
}, {
|
|
2333
2359
|
default: n(() => [
|
|
2334
|
-
V(D(
|
|
2360
|
+
V(D(N.value ? "mdi-progress-check" : "mdi-progress-close"), 1)
|
|
2335
2361
|
]),
|
|
2336
2362
|
_: 1
|
|
2337
2363
|
}, 8, ["color"]),
|
|
@@ -2341,7 +2367,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
2341
2367
|
]),
|
|
2342
2368
|
l(Ve, {
|
|
2343
2369
|
onClick: nt,
|
|
2344
|
-
disabled: !(
|
|
2370
|
+
disabled: !(N.value && R(v).servState == "1"),
|
|
2345
2371
|
elevation: "0",
|
|
2346
2372
|
color: "primary",
|
|
2347
2373
|
class: "vtk-width mt-3",
|
|
@@ -2370,9 +2396,9 @@ const $a = { key: 0 }, Ca = {
|
|
|
2370
2396
|
default: n(() => [
|
|
2371
2397
|
l($e, {
|
|
2372
2398
|
onClick: tt,
|
|
2373
|
-
modelValue:
|
|
2374
|
-
"onUpdate:modelValue": r[4] || (r[4] = (C) =>
|
|
2375
|
-
title:
|
|
2399
|
+
modelValue: N.value,
|
|
2400
|
+
"onUpdate:modelValue": r[4] || (r[4] = (C) => N.value = C),
|
|
2401
|
+
title: N.value,
|
|
2376
2402
|
clearable: "",
|
|
2377
2403
|
readonly: "",
|
|
2378
2404
|
variant: "outlined",
|
|
@@ -2386,7 +2412,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
2386
2412
|
"onUpdate:modelValue": r[5] || (r[5] = (C) => R(v).areaCode = C),
|
|
2387
2413
|
styles: "width:100%"
|
|
2388
2414
|
}, null, 8, ["modelValue"]),
|
|
2389
|
-
d.value == 0 ? (h(),
|
|
2415
|
+
d.value == 0 ? (h(), U("div", Pa, [
|
|
2390
2416
|
l(Ce, {
|
|
2391
2417
|
modelValue: R(v).servState,
|
|
2392
2418
|
"onUpdate:modelValue": r[6] || (r[6] = (C) => R(v).servState = C),
|
|
@@ -2570,8 +2596,8 @@ const $a = { key: 0 }, Ca = {
|
|
|
2570
2596
|
_: 2
|
|
2571
2597
|
}, 1024)
|
|
2572
2598
|
]),
|
|
2573
|
-
x("div",
|
|
2574
|
-
x("div",
|
|
2599
|
+
x("div", Ua, [
|
|
2600
|
+
x("div", Na, [
|
|
2575
2601
|
r[44] || (r[44] = V(" 服务名称:", -1)),
|
|
2576
2602
|
x("span", Oa, D(C.projName), 1)
|
|
2577
2603
|
]),
|
|
@@ -2610,13 +2636,13 @@ const $a = { key: 0 }, Ca = {
|
|
|
2610
2636
|
"item.actions": n(({ item: C }) => {
|
|
2611
2637
|
var X;
|
|
2612
2638
|
return [
|
|
2613
|
-
C.state != 0 && ((X = p.value.areacode) == null ? void 0 : X.length) == 6 && C.servState == "1" ? (h(),
|
|
2639
|
+
C.state != 0 && ((X = p.value.areacode) == null ? void 0 : X.length) == 6 && C.servState == "1" ? (h(), U("a", {
|
|
2614
2640
|
key: 0,
|
|
2615
2641
|
onClick: (je) => ot(C),
|
|
2616
2642
|
class: "text-error",
|
|
2617
2643
|
text: ""
|
|
2618
2644
|
}, "作废", 8, Ma)) : F("", !0),
|
|
2619
|
-
C.state == 0 ? (h(),
|
|
2645
|
+
C.state == 0 ? (h(), U("div", za)) : F("", !0)
|
|
2620
2646
|
];
|
|
2621
2647
|
}),
|
|
2622
2648
|
"no-data": n(() => [
|
|
@@ -2751,7 +2777,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
2751
2777
|
"onUpdate:modelValue": k
|
|
2752
2778
|
}), {
|
|
2753
2779
|
default: n(() => [
|
|
2754
|
-
(h(!0),
|
|
2780
|
+
(h(!0), U(ce, null, me(c.value, (m) => (h(), B(p, {
|
|
2755
2781
|
key: m.id || m.code,
|
|
2756
2782
|
label: m.codeValue,
|
|
2757
2783
|
value: m.code
|
|
@@ -2795,8 +2821,8 @@ const $a = { key: 0 }, Ca = {
|
|
|
2795
2821
|
}), delete u.value.condition, y.value = 0, a("update:value", u.value), a("search"), c.value = !1;
|
|
2796
2822
|
};
|
|
2797
2823
|
return (d, m) => {
|
|
2798
|
-
const w = i("VBadge"),
|
|
2799
|
-
return h(),
|
|
2824
|
+
const w = i("VBadge"), N = i("VTextField"), A = i("VIcon"), _ = i("VBtn"), f = i("VCardTitle"), g = i("VCardText"), S = i("VSpacer"), P = i("VCardActions"), O = i("VCard"), z = i("VMenu");
|
|
2825
|
+
return h(), U("div", Ra, [
|
|
2800
2826
|
l(z, {
|
|
2801
2827
|
modelValue: c.value,
|
|
2802
2828
|
"onUpdate:modelValue": [
|
|
@@ -2808,7 +2834,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
2808
2834
|
"close-on-content-click": !1
|
|
2809
2835
|
}, {
|
|
2810
2836
|
activator: n(({ props: I }) => [
|
|
2811
|
-
l(
|
|
2837
|
+
l(N, {
|
|
2812
2838
|
modelValue: u.value.condition,
|
|
2813
2839
|
"onUpdate:modelValue": m[0] || (m[0] = (j) => u.value.condition = j),
|
|
2814
2840
|
placeholder: d.$attrs.placeholder || "请输入查询内容",
|
|
@@ -3006,7 +3032,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
3006
3032
|
default: n(() => [
|
|
3007
3033
|
l(k, { class: "stepList" }, {
|
|
3008
3034
|
default: n(() => [
|
|
3009
|
-
(h(!0),
|
|
3035
|
+
(h(!0), U(ce, null, me(a.value, (m, w) => (h(), B(y, {
|
|
3010
3036
|
class: "pl-0 colItem",
|
|
3011
3037
|
key: w,
|
|
3012
3038
|
style: {}
|
|
@@ -3028,7 +3054,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
3028
3054
|
}),
|
|
3029
3055
|
l(p, null, {
|
|
3030
3056
|
default: n(() => [
|
|
3031
|
-
(h(!0),
|
|
3057
|
+
(h(!0), U(ce, null, me(e.list, (m, w) => (h(), B(v, {
|
|
3032
3058
|
key: w,
|
|
3033
3059
|
value: w + 1
|
|
3034
3060
|
}, {
|
|
@@ -3049,9 +3075,9 @@ const $a = { key: 0 }, Ca = {
|
|
|
3049
3075
|
}), Ze = /* @__PURE__ */ Z(qa, [["__scopeId", "data-v-5ab53ed0"]]);
|
|
3050
3076
|
function Wa(e, t) {
|
|
3051
3077
|
let o = "";
|
|
3052
|
-
return e && e.includes(",") ? o = e.split(",").map((a) =>
|
|
3078
|
+
return e && e.includes(",") ? o = e.split(",").map((a) => Ne(a, t)).join() : o = Ne(e, t), o;
|
|
3053
3079
|
}
|
|
3054
|
-
function
|
|
3080
|
+
function Ne(e, t) {
|
|
3055
3081
|
if (e) {
|
|
3056
3082
|
for (var o = Array.isArray(e) ? e : e.split(","), a = t == null ? void 0 : t.split("/"), s = [], c = 0; c < (o == null ? void 0 : o.length); c++) {
|
|
3057
3083
|
var u = o[c];
|
|
@@ -3459,7 +3485,7 @@ const nl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3459
3485
|
const k = i("VCardTitle"), b = i("VCardText"), v = i("VSpacer"), p = i("VBtn"), d = i("VCardActions"), m = i("VCard"), w = i("VDialog");
|
|
3460
3486
|
return h(), B(w, {
|
|
3461
3487
|
modelValue: o.value,
|
|
3462
|
-
"onUpdate:modelValue": y[0] || (y[0] = (
|
|
3488
|
+
"onUpdate:modelValue": y[0] || (y[0] = (N) => o.value = N),
|
|
3463
3489
|
persistent: "",
|
|
3464
3490
|
"max-width": a.value.width || 400
|
|
3465
3491
|
}, {
|
|
@@ -3558,7 +3584,7 @@ const nl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3558
3584
|
typeof s.value.onCancel == "function" && s.value.onCancel(), t.hide("prompt"), o.value = "";
|
|
3559
3585
|
};
|
|
3560
3586
|
return (y, k) => {
|
|
3561
|
-
const b = i("VCardTitle"), v = i("VTextField"), p = i("VCardText"), d = i("VSpacer"), m = i("VBtn"), w = i("VCardActions"),
|
|
3587
|
+
const b = i("VCardTitle"), v = i("VTextField"), p = i("VCardText"), d = i("VSpacer"), m = i("VBtn"), w = i("VCardActions"), N = i("VCard"), A = i("VDialog");
|
|
3562
3588
|
return h(), B(A, {
|
|
3563
3589
|
modelValue: a.value,
|
|
3564
3590
|
"onUpdate:modelValue": k[1] || (k[1] = (_) => a.value = _),
|
|
@@ -3566,7 +3592,7 @@ const nl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3566
3592
|
width: s.value.width
|
|
3567
3593
|
}, {
|
|
3568
3594
|
default: n(() => [
|
|
3569
|
-
l(
|
|
3595
|
+
l(N, {
|
|
3570
3596
|
color: s.value.color
|
|
3571
3597
|
}, {
|
|
3572
3598
|
default: n(() => [
|
|
@@ -3587,7 +3613,7 @@ const nl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3587
3613
|
outlined: "",
|
|
3588
3614
|
dense: ""
|
|
3589
3615
|
}, null, 8, ["modelValue", "label", "placeholder", "type"]),
|
|
3590
|
-
s.value.text ? (h(),
|
|
3616
|
+
s.value.text ? (h(), U("div", Vl, D(s.value.text), 1)) : F("", !0)
|
|
3591
3617
|
]),
|
|
3592
3618
|
_: 1
|
|
3593
3619
|
}),
|
|
@@ -3690,7 +3716,7 @@ const nl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3690
3716
|
}, hl = { class: "text-center" };
|
|
3691
3717
|
function xl(e, t, o, a, s, c) {
|
|
3692
3718
|
const u = i("vtk-alert"), y = i("vtk-confirm"), k = i("vtk-loading"), b = i("vtk-prompt"), v = i("vtk-toast");
|
|
3693
|
-
return h(),
|
|
3719
|
+
return h(), U("div", hl, [
|
|
3694
3720
|
l(u),
|
|
3695
3721
|
l(y),
|
|
3696
3722
|
l(k),
|