@yxhl/specter-pui-vtk 1.0.46 → 1.0.48
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/README.md +163 -0
- package/dist/specter-pui-vtk.css +1 -1
- package/dist/specter-pui.es.js +402 -393
- 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/components/assembly/VtkDateSelector.vue +57 -40
package/dist/specter-pui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getCurrentInstance as He, reactive as Ne, ref as C, onMounted as Ve, resolveComponent as d, createElementBlock as
|
|
1
|
+
import { getCurrentInstance as He, reactive as Ne, ref as C, onMounted as Ve, resolveComponent as d, createElementBlock as S, openBlock as v, createVNode as n, createBlock as W, createCommentVNode as J, normalizeStyle as he, normalizeClass as le, watch as de, withCtx as l, createElementVNode as p, createTextVNode as _, Fragment as ae, renderList as ie, toDisplayString as P, withDirectives as Ze, vShow as et, mergeProps as be, withModifiers as Ke, nextTick as Te, inject as tt, computed as H, useAttrs as Ye, createSlots as jt, renderSlot as ke, onBeforeUnmount as lt, Transition as Ut, useCssVars as Ft, withKeys as nt, onActivated as zt, unref as Z, isRef as Ot } from "vue";
|
|
2
2
|
import Bt from "axios";
|
|
3
3
|
import { defineStore as Lt } from "pinia";
|
|
4
4
|
const we = {}, Ee = (e = "local") => e == "local" ? window.localStorage : window.sessionStorage;
|
|
@@ -278,7 +278,7 @@ const ue = (e, a) => {
|
|
|
278
278
|
return (o, c) => {
|
|
279
279
|
var M, R, B, A, V, x, N, U, Y, j;
|
|
280
280
|
const f = d("VSelect");
|
|
281
|
-
return v(),
|
|
281
|
+
return v(), S("div", Rt, [
|
|
282
282
|
n(f, {
|
|
283
283
|
modelValue: r.area2,
|
|
284
284
|
"onUpdate:modelValue": [
|
|
@@ -311,7 +311,7 @@ const ue = (e, a) => {
|
|
|
311
311
|
items: s.area4,
|
|
312
312
|
"item-title": "areaName",
|
|
313
313
|
"item-value": "areaCode",
|
|
314
|
-
class:
|
|
314
|
+
class: le(["d-inline-block sel_box", e.maxArea > 4 && "mr-3"]),
|
|
315
315
|
"hide-details": "",
|
|
316
316
|
density: "compact",
|
|
317
317
|
variant: "outlined",
|
|
@@ -332,7 +332,7 @@ const ue = (e, a) => {
|
|
|
332
332
|
items: s.area6,
|
|
333
333
|
"item-title": "areaName",
|
|
334
334
|
"item-value": "areaCode",
|
|
335
|
-
class:
|
|
335
|
+
class: le(["d-inline-block sel_box", e.maxArea > 6 && "mr-3"]),
|
|
336
336
|
"hide-details": "",
|
|
337
337
|
density: "compact",
|
|
338
338
|
variant: "outlined",
|
|
@@ -353,7 +353,7 @@ const ue = (e, a) => {
|
|
|
353
353
|
items: s.area9,
|
|
354
354
|
"item-title": "areaName",
|
|
355
355
|
"item-value": "areaCode",
|
|
356
|
-
class:
|
|
356
|
+
class: le(["d-inline-block sel_box", e.maxArea > 9 && "mr-3"]),
|
|
357
357
|
"hide-details": "",
|
|
358
358
|
density: "compact",
|
|
359
359
|
variant: "outlined",
|
|
@@ -406,8 +406,8 @@ const ue = (e, a) => {
|
|
|
406
406
|
setup(e, { emit: a }) {
|
|
407
407
|
const t = e, i = a, { proxy: r } = He(), m = C(!1), s = C({}), y = C(0), b = C([]), h = C([]), g = C([]), o = C([]), c = C(null), f = C(""), M = C(""), R = (j) => {
|
|
408
408
|
r.$vtk.request.getForm(`/dict/area/show/${j}`).then((w) => {
|
|
409
|
-
let z = w.data.province ? `${w.data.province}` : "", K = w.data.city ? `/${w.data.city}` : "", G = w.data.district ? `/${w.data.district}` : "", q = w.data.town ? `/${w.data.town}` : "",
|
|
410
|
-
M.value = `${z}${K}${G}${q}${
|
|
409
|
+
let z = w.data.province ? `${w.data.province}` : "", K = w.data.city ? `/${w.data.city}` : "", G = w.data.district ? `/${w.data.district}` : "", q = w.data.town ? `/${w.data.town}` : "", ne = w.data.village ? `/${w.data.village}` : "";
|
|
410
|
+
M.value = `${z}${K}${G}${q}${ne}`, t.areaNode && t.areaNode > 0 && (M.value = M.value.split("/").slice(-t.areaNode).join("/"));
|
|
411
411
|
});
|
|
412
412
|
}, B = (j) => {
|
|
413
413
|
g.value = [...h.value[j]], j < o.value.length ? c.value = g.value.findIndex((w) => w.areaCode == o.value[j].areaCode) : c.value = null;
|
|
@@ -444,7 +444,7 @@ const ue = (e, a) => {
|
|
|
444
444
|
const j = ((z = (w = window.VTK_CONFIG) == null ? void 0 : w.storageKeys) == null ? void 0 : z.user) || "_mis_acis_users";
|
|
445
445
|
s.value = r.$vtk.storage.get(j) && JSON.parse(r.$vtk.storage.get(j)), s.value && s.value.areacode && x(s.value.areacode), t.modelValue && R(t.modelValue);
|
|
446
446
|
}), (j, w) => {
|
|
447
|
-
const z = d("v-icon"), K = d("v-btn"), G = d("v-tab"), q = d("v-tabs"),
|
|
447
|
+
const z = d("v-icon"), K = d("v-btn"), G = d("v-tab"), q = d("v-tabs"), ne = d("v-chip"), ee = d("v-chip-group"), te = d("v-sheet"), I = d("v-spacer"), D = d("v-card-actions"), E = d("v-card"), X = d("v-menu");
|
|
448
448
|
return v(), W(X, {
|
|
449
449
|
modelValue: m.value,
|
|
450
450
|
"onUpdate:modelValue": w[2] || (w[2] = (Q) => m.value = Q),
|
|
@@ -460,7 +460,7 @@ const ue = (e, a) => {
|
|
|
460
460
|
style: j.$attrs.styles
|
|
461
461
|
}), {
|
|
462
462
|
default: l(() => [
|
|
463
|
-
p("span", Et,
|
|
463
|
+
p("span", Et, P(M.value || "选择地区"), 1),
|
|
464
464
|
M.value ? (v(), W(z, {
|
|
465
465
|
key: 0,
|
|
466
466
|
size: "small",
|
|
@@ -493,10 +493,10 @@ const ue = (e, a) => {
|
|
|
493
493
|
])]),
|
|
494
494
|
_: 1
|
|
495
495
|
}),
|
|
496
|
-
(v(!0),
|
|
496
|
+
(v(!0), S(ae, null, ie(o.value, (Q) => (v(), S("span", {
|
|
497
497
|
key: Q.areaCode,
|
|
498
498
|
class: "link text-body-2 text-primary"
|
|
499
|
-
},
|
|
499
|
+
}, P(Q.areaName), 1))), 128))
|
|
500
500
|
]),
|
|
501
501
|
n(te, {
|
|
502
502
|
class: "rounded-lg mx-3 mt-2",
|
|
@@ -512,14 +512,14 @@ const ue = (e, a) => {
|
|
|
512
512
|
class: "pt-2 px-1"
|
|
513
513
|
}, {
|
|
514
514
|
default: l(() => [
|
|
515
|
-
(v(!0),
|
|
516
|
-
key:
|
|
515
|
+
(v(!0), S(ae, null, ie(b.value, (Q, oe) => Ze((v(), W(G, {
|
|
516
|
+
key: oe,
|
|
517
517
|
class: "mx-1",
|
|
518
|
-
style: he(y.value ==
|
|
519
|
-
disabled: h.value.length <=
|
|
518
|
+
style: he(y.value == oe && "color:white;opacity:1"),
|
|
519
|
+
disabled: h.value.length <= oe + 1
|
|
520
520
|
}, {
|
|
521
521
|
default: l(() => [
|
|
522
|
-
_(
|
|
522
|
+
_(P(Q.text), 1)
|
|
523
523
|
]),
|
|
524
524
|
_: 2
|
|
525
525
|
}, 1032, ["style", "disabled"])), [
|
|
@@ -528,8 +528,8 @@ const ue = (e, a) => {
|
|
|
528
528
|
]),
|
|
529
529
|
_: 1
|
|
530
530
|
}, 8, ["modelValue"]),
|
|
531
|
-
(v(!0),
|
|
532
|
-
key:
|
|
531
|
+
(v(!0), S(ae, null, ie(b.value, (Q, oe) => Ze((v(), W(te, {
|
|
532
|
+
key: oe,
|
|
533
533
|
class: "px-3 py-1",
|
|
534
534
|
"min-height": "100",
|
|
535
535
|
color: "rgba(0,0,0,0)"
|
|
@@ -542,13 +542,13 @@ const ue = (e, a) => {
|
|
|
542
542
|
column: ""
|
|
543
543
|
}, {
|
|
544
544
|
default: l(() => [
|
|
545
|
-
(v(!0),
|
|
545
|
+
(v(!0), S(ae, null, ie(g.value, (ye) => (v(), W(ne, {
|
|
546
546
|
key: ye.id,
|
|
547
|
-
onClick: ($e) => A(ye,
|
|
548
|
-
class:
|
|
547
|
+
onClick: ($e) => A(ye, oe),
|
|
548
|
+
class: le(["rounded", ye.areaCode == s.value.areacode && "active"])
|
|
549
549
|
}, {
|
|
550
550
|
default: l(() => [
|
|
551
|
-
_(
|
|
551
|
+
_(P(ye.areaName), 1)
|
|
552
552
|
]),
|
|
553
553
|
_: 2
|
|
554
554
|
}, 1032, ["onClick", "class"]))), 128))
|
|
@@ -558,14 +558,14 @@ const ue = (e, a) => {
|
|
|
558
558
|
]),
|
|
559
559
|
_: 2
|
|
560
560
|
}, 1024)), [
|
|
561
|
-
[et,
|
|
561
|
+
[et, oe == y.value]
|
|
562
562
|
])), 128))
|
|
563
563
|
]),
|
|
564
564
|
_: 1
|
|
565
565
|
}),
|
|
566
|
-
n(
|
|
566
|
+
n(D, { class: "pr-0 py-3" }, {
|
|
567
567
|
default: l(() => [
|
|
568
|
-
n(
|
|
568
|
+
n(I),
|
|
569
569
|
n(K, {
|
|
570
570
|
onClick: Y,
|
|
571
571
|
elevation: "0",
|
|
@@ -668,7 +668,7 @@ const ue = (e, a) => {
|
|
|
668
668
|
};
|
|
669
669
|
return (b, h) => {
|
|
670
670
|
const g = d("v-icon"), o = d("v-breadcrumbs-item"), c = d("v-breadcrumbs"), f = d("v-btn");
|
|
671
|
-
return v(),
|
|
671
|
+
return v(), S("div", Jt, [
|
|
672
672
|
n(c, {
|
|
673
673
|
items: s.value,
|
|
674
674
|
class: "pa-0"
|
|
@@ -686,10 +686,10 @@ const ue = (e, a) => {
|
|
|
686
686
|
title: M.title,
|
|
687
687
|
to: M.to,
|
|
688
688
|
disabled: M.disabled,
|
|
689
|
-
class:
|
|
689
|
+
class: le({ "text-primary": !M.disabled })
|
|
690
690
|
}, {
|
|
691
691
|
default: l(() => [
|
|
692
|
-
_(
|
|
692
|
+
_(P(M.title), 1)
|
|
693
693
|
]),
|
|
694
694
|
_: 2
|
|
695
695
|
}, 1032, ["title", "to", "disabled", "class"])
|
|
@@ -705,7 +705,7 @@ const ue = (e, a) => {
|
|
|
705
705
|
style: { height: "36px" }
|
|
706
706
|
}, {
|
|
707
707
|
default: l(() => [
|
|
708
|
-
_(
|
|
708
|
+
_(P(e.backText), 1)
|
|
709
709
|
]),
|
|
710
710
|
_: 1
|
|
711
711
|
})) : J("", !0)
|
|
@@ -794,9 +794,9 @@ const ue = (e, a) => {
|
|
|
794
794
|
return v(), W(A, be(b.value, { "model-value": g.value }), {
|
|
795
795
|
default: l(() => [
|
|
796
796
|
p("div", {
|
|
797
|
-
class:
|
|
797
|
+
class: le(["checkGroup", e.inline ? "d-flex flex-wrap align-top" : "d-inline-block"])
|
|
798
798
|
}, [
|
|
799
|
-
(v(!0),
|
|
799
|
+
(v(!0), S(ae, null, ie(o.value, (V) => (v(), W(B, be({
|
|
800
800
|
"hide-details": "",
|
|
801
801
|
key: V.id || V.code,
|
|
802
802
|
label: V.codeValue,
|
|
@@ -944,29 +944,29 @@ const ue = (e, a) => {
|
|
|
944
944
|
}
|
|
945
945
|
}), a({
|
|
946
946
|
startAnimation: B
|
|
947
|
-
}), (V, x) => (v(),
|
|
948
|
-
class:
|
|
947
|
+
}), (V, x) => (v(), S("div", {
|
|
948
|
+
class: le(["vtk-count", e.containerClass])
|
|
949
949
|
}, [
|
|
950
950
|
p("div", {
|
|
951
951
|
class: "count-display",
|
|
952
952
|
style: he({ color: e.color })
|
|
953
953
|
}, [
|
|
954
|
-
e.prefix ? (v(),
|
|
954
|
+
e.prefix ? (v(), S("span", Qt, P(e.prefix), 1)) : J("", !0),
|
|
955
955
|
p("div", Gt, [
|
|
956
|
-
(v(!0),
|
|
956
|
+
(v(!0), S(ae, null, ie(c.value, (N, U) => (v(), S("div", {
|
|
957
957
|
key: `digit-${U}-${y.value}`,
|
|
958
|
-
class:
|
|
958
|
+
class: le(["digit-wrapper", { "digit-separator": isNaN(N) }])
|
|
959
959
|
}, [
|
|
960
|
-
isNaN(N) ? (v(),
|
|
961
|
-
(v(),
|
|
960
|
+
isNaN(N) ? (v(), S("div", Zt, P(N), 1)) : (v(), S("div", Xt, [
|
|
961
|
+
(v(), S(ae, null, ie(10, (Y) => p("div", {
|
|
962
962
|
key: Y,
|
|
963
963
|
class: "digit-item",
|
|
964
964
|
style: he(R(f(U), Y - 1))
|
|
965
|
-
},
|
|
965
|
+
}, P(Y - 1), 5)), 64))
|
|
966
966
|
]))
|
|
967
967
|
], 2))), 128))
|
|
968
968
|
]),
|
|
969
|
-
e.suffix ? (v(),
|
|
969
|
+
e.suffix ? (v(), S("span", ea, P(e.suffix), 1)) : J("", !0)
|
|
970
970
|
], 4)
|
|
971
971
|
], 2));
|
|
972
972
|
}
|
|
@@ -1072,8 +1072,8 @@ const ue = (e, a) => {
|
|
|
1072
1072
|
i("update:modelValue", x), i("change", x), m.value = !1;
|
|
1073
1073
|
};
|
|
1074
1074
|
return (x, N) => {
|
|
1075
|
-
const U = d("VIcon"), Y = d("VTextField"), j = d("VDatePicker"), w = d("VCardText"), z = d("VDivider"), K = d("VSpacer"), G = d("VBtn"), q = d("VCardActions"),
|
|
1076
|
-
return v(),
|
|
1075
|
+
const U = d("VIcon"), Y = d("VTextField"), j = d("VDatePicker"), w = d("VCardText"), z = d("VDivider"), K = d("VSpacer"), G = d("VBtn"), q = d("VCardActions"), ne = d("VCard"), ee = d("VMenu");
|
|
1076
|
+
return v(), S("div", aa, [
|
|
1077
1077
|
n(ee, {
|
|
1078
1078
|
modelValue: m.value,
|
|
1079
1079
|
"onUpdate:modelValue": N[3] || (N[3] = (te) => m.value = te),
|
|
@@ -1086,7 +1086,7 @@ const ue = (e, a) => {
|
|
|
1086
1086
|
activator: l(({ props: te }) => [
|
|
1087
1087
|
n(Y, be({ ...te, ...g.value }, {
|
|
1088
1088
|
modelValue: h.value,
|
|
1089
|
-
"onUpdate:modelValue": N[0] || (N[0] = (
|
|
1089
|
+
"onUpdate:modelValue": N[0] || (N[0] = (I) => h.value = I),
|
|
1090
1090
|
placeholder: e.placeholder,
|
|
1091
1091
|
disabled: e.disabled,
|
|
1092
1092
|
readonly: "",
|
|
@@ -1107,7 +1107,7 @@ const ue = (e, a) => {
|
|
|
1107
1107
|
}, 16, ["modelValue", "placeholder", "disabled"])
|
|
1108
1108
|
]),
|
|
1109
1109
|
default: l(() => [
|
|
1110
|
-
n(
|
|
1110
|
+
n(ne, { style: { width: "650px" } }, {
|
|
1111
1111
|
default: l(() => [
|
|
1112
1112
|
n(w, { class: "pa-0" }, {
|
|
1113
1113
|
default: l(() => [
|
|
@@ -1193,10 +1193,10 @@ const ue = (e, a) => {
|
|
|
1193
1193
|
}, Da = { class: "week-header" }, Aa = { class: "week-grid" }, Ta = ["onClick"], Ma = { class: "week-number" }, Na = {
|
|
1194
1194
|
key: 4,
|
|
1195
1195
|
class: "picker-body"
|
|
1196
|
-
},
|
|
1196
|
+
}, Pa = {
|
|
1197
1197
|
key: 0,
|
|
1198
1198
|
class: "dual-calendar"
|
|
1199
|
-
},
|
|
1199
|
+
}, Ia = { class: "calendar-panel" }, ja = { class: "calendar-header" }, Ua = { class: "month-title" }, Fa = { class: "week-header" }, za = { class: "day-grid" }, Oa = ["onClick"], Ba = { class: "calendar-panel" }, La = { class: "calendar-header" }, Ra = { class: "month-title" }, Ya = { class: "week-header" }, Ea = { class: "day-grid" }, Wa = ["onClick"], qa = { key: 1 }, Ja = { class: "week-header" }, Ka = { class: "day-grid" }, Ha = ["onClick"], Qa = {
|
|
1200
1200
|
key: 5,
|
|
1201
1201
|
class: "range-display"
|
|
1202
1202
|
}, Ga = { class: "range-text" }, Xa = {
|
|
@@ -1249,6 +1249,11 @@ const ue = (e, a) => {
|
|
|
1249
1249
|
type: Boolean,
|
|
1250
1250
|
default: !1
|
|
1251
1251
|
},
|
|
1252
|
+
// 单面板模式(范围选择时只显示一个面板)
|
|
1253
|
+
singlePanel: {
|
|
1254
|
+
type: Boolean,
|
|
1255
|
+
default: !1
|
|
1256
|
+
},
|
|
1252
1257
|
// 自定义取消方法
|
|
1253
1258
|
onCancel: {
|
|
1254
1259
|
type: Function,
|
|
@@ -1283,7 +1288,7 @@ const ue = (e, a) => {
|
|
|
1283
1288
|
F.setDate(F.getDate() - F.getDay());
|
|
1284
1289
|
let me = w(F);
|
|
1285
1290
|
for (; F <= k || F.getDay() !== 0; ) {
|
|
1286
|
-
const
|
|
1291
|
+
const se = {
|
|
1287
1292
|
weekNumber: me,
|
|
1288
1293
|
startDate: new Date(F),
|
|
1289
1294
|
days: []
|
|
@@ -1297,9 +1302,9 @@ const ue = (e, a) => {
|
|
|
1297
1302
|
otherMonth: F.getMonth() !== y.value,
|
|
1298
1303
|
isToday: j(F)
|
|
1299
1304
|
};
|
|
1300
|
-
|
|
1305
|
+
se.days.push(Je), F.setDate(F.getDate() + 1);
|
|
1301
1306
|
}
|
|
1302
|
-
if (T.push(
|
|
1307
|
+
if (T.push(se), me++, F > k && F.getDay() === 0) break;
|
|
1303
1308
|
}
|
|
1304
1309
|
return T;
|
|
1305
1310
|
}), V = H(() => {
|
|
@@ -1307,32 +1312,32 @@ const ue = (e, a) => {
|
|
|
1307
1312
|
F.setDate(F.getDate() - F.getDay());
|
|
1308
1313
|
const me = new Date(k);
|
|
1309
1314
|
me.setDate(me.getDate() + (6 - me.getDay()));
|
|
1310
|
-
let
|
|
1311
|
-
for (;
|
|
1315
|
+
let se = new Date(F);
|
|
1316
|
+
for (; se <= me; )
|
|
1312
1317
|
T.push({
|
|
1313
|
-
date: Y(
|
|
1314
|
-
day:
|
|
1315
|
-
month:
|
|
1316
|
-
year:
|
|
1317
|
-
otherMonth:
|
|
1318
|
-
isToday: j(
|
|
1319
|
-
}),
|
|
1318
|
+
date: Y(se),
|
|
1319
|
+
day: se.getDate(),
|
|
1320
|
+
month: se.getMonth(),
|
|
1321
|
+
year: se.getFullYear(),
|
|
1322
|
+
otherMonth: se.getMonth() !== y.value,
|
|
1323
|
+
isToday: j(se)
|
|
1324
|
+
}), se.setDate(se.getDate() + 1);
|
|
1320
1325
|
return T;
|
|
1321
1326
|
}), x = H(() => b.value), N = H(() => h.value), U = H(() => {
|
|
1322
1327
|
const T = [], $ = new Date(x.value, N.value, 1), k = new Date(x.value, N.value + 1, 0), F = new Date($);
|
|
1323
1328
|
F.setDate(F.getDate() - F.getDay());
|
|
1324
1329
|
const me = new Date(k);
|
|
1325
1330
|
me.setDate(me.getDate() + (6 - me.getDay()));
|
|
1326
|
-
let
|
|
1327
|
-
for (;
|
|
1331
|
+
let se = new Date(F);
|
|
1332
|
+
for (; se <= me; )
|
|
1328
1333
|
T.push({
|
|
1329
|
-
date: Y(
|
|
1330
|
-
day:
|
|
1331
|
-
month:
|
|
1332
|
-
year:
|
|
1333
|
-
otherMonth:
|
|
1334
|
-
isToday: j(
|
|
1335
|
-
}),
|
|
1334
|
+
date: Y(se),
|
|
1335
|
+
day: se.getDate(),
|
|
1336
|
+
month: se.getMonth(),
|
|
1337
|
+
year: se.getFullYear(),
|
|
1338
|
+
otherMonth: se.getMonth() !== N.value,
|
|
1339
|
+
isToday: j(se)
|
|
1340
|
+
}), se.setDate(se.getDate() + 1);
|
|
1336
1341
|
return T;
|
|
1337
1342
|
}), Y = (T) => {
|
|
1338
1343
|
const $ = T.getFullYear(), k = String(T.getMonth() + 1).padStart(2, "0"), F = String(T.getDate()).padStart(2, "0");
|
|
@@ -1359,7 +1364,7 @@ const ue = (e, a) => {
|
|
|
1359
1364
|
return !1;
|
|
1360
1365
|
const $ = `${s.value}-${String(T + 1).padStart(2, "0")}`;
|
|
1361
1366
|
return $ > o.value[0] && $ < o.value[1];
|
|
1362
|
-
},
|
|
1367
|
+
}, ne = (T) => {
|
|
1363
1368
|
if (!o.value) return !1;
|
|
1364
1369
|
const $ = `${s.value}-W${String(T.weekNumber).padStart(2, "0")}`;
|
|
1365
1370
|
return t.mode === "single" ? o.value === $ : Array.isArray(o.value) ? o.value.includes($) : !1;
|
|
@@ -1368,7 +1373,7 @@ const ue = (e, a) => {
|
|
|
1368
1373
|
return !1;
|
|
1369
1374
|
const $ = `${s.value}-W${String(T.weekNumber).padStart(2, "0")}`;
|
|
1370
1375
|
return $ > o.value[0] && $ < o.value[1];
|
|
1371
|
-
}, te = (T) => o.value ? t.mode === "single" ? o.value === T.date : Array.isArray(o.value) ? o.value.includes(T.date) : !1 : !1,
|
|
1376
|
+
}, te = (T) => o.value ? t.mode === "single" ? o.value === T.date : Array.isArray(o.value) ? o.value.includes(T.date) : !1 : !1, I = (T) => t.mode !== "range" || !Array.isArray(o.value) || o.value.length !== 2 ? !1 : T.date > o.value[0] && T.date < o.value[1], D = (T) => t.mode !== "range" || !Array.isArray(o.value) || o.value.length === 0 ? !1 : T.date === o.value[0], E = (T) => t.mode !== "range" || !Array.isArray(o.value) || o.value.length < 2 ? !1 : T.date === o.value[1], X = (T) => {
|
|
1372
1377
|
const $ = T.toString();
|
|
1373
1378
|
if (t.mode === "single")
|
|
1374
1379
|
o.value = $, (t.displayMode === "year" || t.inline) && ge();
|
|
@@ -1390,7 +1395,7 @@ const ue = (e, a) => {
|
|
|
1390
1395
|
o.value = k <= $ ? [k, $] : [$, k], t.inline && ge();
|
|
1391
1396
|
} else
|
|
1392
1397
|
o.value = [$];
|
|
1393
|
-
},
|
|
1398
|
+
}, oe = (T) => {
|
|
1394
1399
|
const $ = `${b.value}-${String(T + 1).padStart(2, "0")}`;
|
|
1395
1400
|
if (!o.value || !Array.isArray(o.value))
|
|
1396
1401
|
o.value = [$];
|
|
@@ -1433,9 +1438,9 @@ const ue = (e, a) => {
|
|
|
1433
1438
|
m.value === "year" ? s.value -= 12 : m.value === "month" ? s.value -= 1 : y.value === 0 ? (y.value = 11, s.value -= 1) : y.value -= 1;
|
|
1434
1439
|
}, Me = () => {
|
|
1435
1440
|
m.value === "year" ? s.value += 12 : m.value === "month" ? s.value += 1 : y.value === 11 ? (y.value = 0, s.value += 1) : y.value += 1;
|
|
1436
|
-
}, Ie = () => {
|
|
1437
|
-
y.value === 0 ? (y.value = 11, s.value -= 1) : y.value -= 1;
|
|
1438
1441
|
}, Pe = () => {
|
|
1442
|
+
y.value === 0 ? (y.value = 11, s.value -= 1) : y.value -= 1;
|
|
1443
|
+
}, Ie = () => {
|
|
1439
1444
|
y.value === 11 ? (y.value = 0, s.value += 1) : y.value += 1;
|
|
1440
1445
|
}, je = () => {
|
|
1441
1446
|
h.value === 0 ? (h.value = 11, b.value -= 1) : h.value -= 1;
|
|
@@ -1468,8 +1473,8 @@ const ue = (e, a) => {
|
|
|
1468
1473
|
};
|
|
1469
1474
|
return de(() => t.modelValue, (T) => {
|
|
1470
1475
|
g.value = T;
|
|
1471
|
-
}, { immediate: !0 }), (T, $) => (v(),
|
|
1472
|
-
e.inline ? J("", !0) : (v(),
|
|
1476
|
+
}, { immediate: !0 }), (T, $) => (v(), S("div", oa, [
|
|
1477
|
+
e.inline ? J("", !0) : (v(), S("div", {
|
|
1473
1478
|
key: 0,
|
|
1474
1479
|
class: "date-input",
|
|
1475
1480
|
onClick: Ae
|
|
@@ -1483,24 +1488,24 @@ const ue = (e, a) => {
|
|
|
1483
1488
|
class: "date-input-field"
|
|
1484
1489
|
}, null, 8, sa),
|
|
1485
1490
|
$[3] || ($[3] = p("span", { class: "date-icon" }, "📅", -1)),
|
|
1486
|
-
M.value && !e.disabled ? (v(),
|
|
1491
|
+
M.value && !e.disabled ? (v(), S("span", {
|
|
1487
1492
|
key: 0,
|
|
1488
1493
|
class: "clear-icon",
|
|
1489
1494
|
onClick: Ke(We, ["stop"])
|
|
1490
1495
|
}, "✕")) : J("", !0)
|
|
1491
1496
|
])),
|
|
1492
|
-
r.value && !e.inline ? (v(),
|
|
1497
|
+
r.value && !e.inline ? (v(), S("div", {
|
|
1493
1498
|
key: 1,
|
|
1494
1499
|
class: "date-picker-mask",
|
|
1495
1500
|
onClick: De
|
|
1496
1501
|
})) : J("", !0),
|
|
1497
|
-
r.value || e.inline ? (v(),
|
|
1502
|
+
r.value || e.inline ? (v(), S("div", {
|
|
1498
1503
|
key: 2,
|
|
1499
|
-
class:
|
|
1504
|
+
class: le(["date-picker-dropdown", { "inline-mode": e.inline }]),
|
|
1500
1505
|
onClick: $[2] || ($[2] = Ke(() => {
|
|
1501
1506
|
}, ["stop"]))
|
|
1502
1507
|
}, [
|
|
1503
|
-
e.mode === "range" && (e.displayMode === "day" || e.displayMode === "month") ? J("", !0) : (v(),
|
|
1508
|
+
e.mode === "range" && (e.displayMode === "day" || e.displayMode === "month") ? J("", !0) : (v(), S("div", ra, [
|
|
1504
1509
|
p("button", {
|
|
1505
1510
|
class: "nav-btn",
|
|
1506
1511
|
onClick: Se
|
|
@@ -1509,197 +1514,201 @@ const ue = (e, a) => {
|
|
|
1509
1514
|
p("span", {
|
|
1510
1515
|
onClick: $[0] || ($[0] = (k) => fe("year")),
|
|
1511
1516
|
class: "clickable"
|
|
1512
|
-
},
|
|
1513
|
-
e.displayMode !== "year" ? (v(),
|
|
1517
|
+
}, P(s.value) + "年", 1),
|
|
1518
|
+
e.displayMode !== "year" ? (v(), S("span", {
|
|
1514
1519
|
key: 0,
|
|
1515
1520
|
onClick: $[1] || ($[1] = (k) => fe("month")),
|
|
1516
1521
|
class: "clickable"
|
|
1517
|
-
},
|
|
1522
|
+
}, P(y.value + 1) + "月", 1)) : J("", !0)
|
|
1518
1523
|
]),
|
|
1519
1524
|
p("button", {
|
|
1520
1525
|
class: "nav-btn",
|
|
1521
1526
|
onClick: Me
|
|
1522
1527
|
}, "›")
|
|
1523
1528
|
])),
|
|
1524
|
-
m.value === "year" ? (v(),
|
|
1529
|
+
m.value === "year" ? (v(), S("div", ua, [
|
|
1525
1530
|
p("div", da, [
|
|
1526
|
-
(v(!0),
|
|
1531
|
+
(v(!0), S(ae, null, ie(B.value, (k) => (v(), S("div", {
|
|
1527
1532
|
key: k,
|
|
1528
|
-
class:
|
|
1533
|
+
class: le(["year-item", { selected: z(k), "in-range": K(k) }]),
|
|
1529
1534
|
onClick: (F) => X(k)
|
|
1530
|
-
},
|
|
1535
|
+
}, P(k), 11, ca))), 128))
|
|
1531
1536
|
])
|
|
1532
|
-
])) : m.value === "month" ? (v(),
|
|
1533
|
-
e.mode === "range" ? (v(),
|
|
1537
|
+
])) : m.value === "month" ? (v(), S("div", ma, [
|
|
1538
|
+
e.mode === "range" ? (v(), S("div", va, [
|
|
1534
1539
|
p("div", pa, [
|
|
1535
1540
|
p("div", fa, [
|
|
1536
1541
|
p("button", {
|
|
1537
1542
|
class: "nav-btn-small",
|
|
1538
1543
|
onClick: Fe
|
|
1539
1544
|
}, "‹"),
|
|
1540
|
-
p("span", ga,
|
|
1545
|
+
p("span", ga, P(s.value) + "年", 1),
|
|
1541
1546
|
p("button", {
|
|
1542
1547
|
class: "nav-btn-small",
|
|
1543
1548
|
onClick: ze
|
|
1544
1549
|
}, "›")
|
|
1545
1550
|
]),
|
|
1546
1551
|
p("div", ya, [
|
|
1547
|
-
(v(),
|
|
1552
|
+
(v(), S(ae, null, ie(f, (k, F) => p("div", {
|
|
1548
1553
|
key: F,
|
|
1549
|
-
class:
|
|
1554
|
+
class: le(["month-item", { selected: G(F), "in-range": q(F) }]),
|
|
1550
1555
|
onClick: (me) => Q(F)
|
|
1551
|
-
},
|
|
1556
|
+
}, P(k), 11, ha)), 64))
|
|
1552
1557
|
])
|
|
1553
1558
|
]),
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
p("div",
|
|
1557
|
-
p("
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1559
|
+
e.singlePanel ? J("", !0) : (v(), S(ae, { key: 0 }, [
|
|
1560
|
+
$[4] || ($[4] = p("div", { class: "calendar-divider" }, null, -1)),
|
|
1561
|
+
p("div", _a, [
|
|
1562
|
+
p("div", ka, [
|
|
1563
|
+
p("button", {
|
|
1564
|
+
class: "nav-btn-small",
|
|
1565
|
+
onClick: L
|
|
1566
|
+
}, "‹"),
|
|
1567
|
+
p("span", ba, P(b.value) + "年", 1),
|
|
1568
|
+
p("button", {
|
|
1569
|
+
class: "nav-btn-small",
|
|
1570
|
+
onClick: u
|
|
1571
|
+
}, "›")
|
|
1572
|
+
]),
|
|
1573
|
+
p("div", Va, [
|
|
1574
|
+
(v(), S(ae, null, ie(f, (k, F) => p("div", {
|
|
1575
|
+
key: F,
|
|
1576
|
+
class: le(["month-item", { selected: ye(F), "in-range": $e(F) }]),
|
|
1577
|
+
onClick: (me) => oe(F)
|
|
1578
|
+
}, P(k), 11, xa)), 64))
|
|
1579
|
+
])
|
|
1573
1580
|
])
|
|
1574
|
-
])
|
|
1575
|
-
])) : (v(),
|
|
1581
|
+
], 64))
|
|
1582
|
+
])) : (v(), S("div", wa, [
|
|
1576
1583
|
p("div", $a, [
|
|
1577
|
-
(v(),
|
|
1584
|
+
(v(), S(ae, null, ie(f, (k, F) => p("div", {
|
|
1578
1585
|
key: F,
|
|
1579
|
-
class:
|
|
1586
|
+
class: le(["month-item", { selected: G(F), "in-range": q(F) }]),
|
|
1580
1587
|
onClick: (me) => Q(F)
|
|
1581
|
-
},
|
|
1588
|
+
}, P(k), 11, Ca)), 64))
|
|
1582
1589
|
])
|
|
1583
1590
|
]))
|
|
1584
|
-
])) : m.value === "week" ? (v(),
|
|
1591
|
+
])) : m.value === "week" ? (v(), S("div", Sa, [
|
|
1585
1592
|
p("div", Da, [
|
|
1586
|
-
(v(),
|
|
1593
|
+
(v(), S(ae, null, ie(c, (k) => p("div", {
|
|
1587
1594
|
key: k,
|
|
1588
1595
|
class: "week-day"
|
|
1589
|
-
},
|
|
1596
|
+
}, P(k), 1)), 64))
|
|
1590
1597
|
]),
|
|
1591
1598
|
p("div", Aa, [
|
|
1592
|
-
(v(!0),
|
|
1599
|
+
(v(!0), S(ae, null, ie(A.value, (k) => (v(), S("div", {
|
|
1593
1600
|
key: k.weekNumber,
|
|
1594
|
-
class:
|
|
1601
|
+
class: le(["week-row", { selected: ne(k), "in-range": ee(k) }]),
|
|
1595
1602
|
onClick: (F) => Ce(k)
|
|
1596
1603
|
}, [
|
|
1597
|
-
p("div", Ma, "W" +
|
|
1598
|
-
(v(!0),
|
|
1604
|
+
p("div", Ma, "W" + P(k.weekNumber), 1),
|
|
1605
|
+
(v(!0), S(ae, null, ie(k.days, (F) => (v(), S("div", {
|
|
1599
1606
|
key: F.date,
|
|
1600
|
-
class:
|
|
1601
|
-
},
|
|
1607
|
+
class: le(["day-cell", { "other-month": F.otherMonth, today: F.isToday }])
|
|
1608
|
+
}, P(F.day), 3))), 128))
|
|
1602
1609
|
], 10, Ta))), 128))
|
|
1603
1610
|
])
|
|
1604
|
-
])) : (v(),
|
|
1605
|
-
e.mode === "range" ? (v(),
|
|
1606
|
-
p("div",
|
|
1611
|
+
])) : (v(), S("div", Na, [
|
|
1612
|
+
e.mode === "range" ? (v(), S("div", Pa, [
|
|
1613
|
+
p("div", Ia, [
|
|
1607
1614
|
p("div", ja, [
|
|
1608
1615
|
p("button", {
|
|
1609
1616
|
class: "nav-btn-small",
|
|
1610
|
-
onClick:
|
|
1617
|
+
onClick: Pe
|
|
1611
1618
|
}, "‹"),
|
|
1612
|
-
p("span", Ua,
|
|
1619
|
+
p("span", Ua, P(s.value) + "年" + P(y.value + 1) + "月", 1),
|
|
1613
1620
|
p("button", {
|
|
1614
1621
|
class: "nav-btn-small",
|
|
1615
|
-
onClick:
|
|
1622
|
+
onClick: Ie
|
|
1616
1623
|
}, "›")
|
|
1617
1624
|
]),
|
|
1618
1625
|
p("div", Fa, [
|
|
1619
|
-
(v(),
|
|
1626
|
+
(v(), S(ae, null, ie(c, (k) => p("div", {
|
|
1620
1627
|
key: k,
|
|
1621
1628
|
class: "week-day"
|
|
1622
|
-
},
|
|
1629
|
+
}, P(k), 1)), 64))
|
|
1623
1630
|
]),
|
|
1624
1631
|
p("div", za, [
|
|
1625
|
-
(v(!0),
|
|
1632
|
+
(v(!0), S(ae, null, ie(V.value, (k) => (v(), S("div", {
|
|
1626
1633
|
key: k.date,
|
|
1627
|
-
class:
|
|
1634
|
+
class: le(["day-item", {
|
|
1628
1635
|
"other-month": k.otherMonth,
|
|
1629
1636
|
selected: te(k),
|
|
1630
|
-
"in-range":
|
|
1631
|
-
"range-start":
|
|
1637
|
+
"in-range": I(k),
|
|
1638
|
+
"range-start": D(k),
|
|
1632
1639
|
"range-end": E(k),
|
|
1633
1640
|
today: k.isToday
|
|
1634
1641
|
}]),
|
|
1635
1642
|
onClick: (F) => xe(k)
|
|
1636
|
-
},
|
|
1643
|
+
}, P(k.day), 11, Oa))), 128))
|
|
1637
1644
|
])
|
|
1638
1645
|
]),
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
p("div",
|
|
1642
|
-
p("
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
(
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
"
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1646
|
+
e.singlePanel ? J("", !0) : (v(), S(ae, { key: 0 }, [
|
|
1647
|
+
$[5] || ($[5] = p("div", { class: "calendar-divider" }, null, -1)),
|
|
1648
|
+
p("div", Ba, [
|
|
1649
|
+
p("div", La, [
|
|
1650
|
+
p("button", {
|
|
1651
|
+
class: "nav-btn-small",
|
|
1652
|
+
onClick: je
|
|
1653
|
+
}, "‹"),
|
|
1654
|
+
p("span", Ra, P(x.value) + "年" + P(N.value + 1) + "月", 1),
|
|
1655
|
+
p("button", {
|
|
1656
|
+
class: "nav-btn-small",
|
|
1657
|
+
onClick: Ue
|
|
1658
|
+
}, "›")
|
|
1659
|
+
]),
|
|
1660
|
+
p("div", Ya, [
|
|
1661
|
+
(v(), S(ae, null, ie(c, (k) => p("div", {
|
|
1662
|
+
key: k,
|
|
1663
|
+
class: "week-day"
|
|
1664
|
+
}, P(k), 1)), 64))
|
|
1665
|
+
]),
|
|
1666
|
+
p("div", Ea, [
|
|
1667
|
+
(v(!0), S(ae, null, ie(U.value, (k) => (v(), S("div", {
|
|
1668
|
+
key: k.date,
|
|
1669
|
+
class: le(["day-item", {
|
|
1670
|
+
"other-month": k.otherMonth,
|
|
1671
|
+
selected: te(k),
|
|
1672
|
+
"in-range": I(k),
|
|
1673
|
+
"range-start": D(k),
|
|
1674
|
+
"range-end": E(k),
|
|
1675
|
+
today: k.isToday
|
|
1676
|
+
}]),
|
|
1677
|
+
onClick: (F) => xe(k)
|
|
1678
|
+
}, P(k.day), 11, Wa))), 128))
|
|
1679
|
+
])
|
|
1671
1680
|
])
|
|
1672
|
-
])
|
|
1673
|
-
])) : (v(),
|
|
1681
|
+
], 64))
|
|
1682
|
+
])) : (v(), S("div", qa, [
|
|
1674
1683
|
p("div", Ja, [
|
|
1675
|
-
(v(),
|
|
1684
|
+
(v(), S(ae, null, ie(c, (k) => p("div", {
|
|
1676
1685
|
key: k,
|
|
1677
1686
|
class: "week-day"
|
|
1678
|
-
},
|
|
1687
|
+
}, P(k), 1)), 64))
|
|
1679
1688
|
]),
|
|
1680
1689
|
p("div", Ka, [
|
|
1681
|
-
(v(!0),
|
|
1690
|
+
(v(!0), S(ae, null, ie(V.value, (k) => (v(), S("div", {
|
|
1682
1691
|
key: k.date,
|
|
1683
|
-
class:
|
|
1692
|
+
class: le(["day-item", {
|
|
1684
1693
|
"other-month": k.otherMonth,
|
|
1685
1694
|
selected: te(k),
|
|
1686
|
-
"in-range":
|
|
1687
|
-
"range-start":
|
|
1695
|
+
"in-range": I(k),
|
|
1696
|
+
"range-start": D(k),
|
|
1688
1697
|
"range-end": E(k),
|
|
1689
1698
|
today: k.isToday
|
|
1690
1699
|
}]),
|
|
1691
1700
|
onClick: (F) => xe(k)
|
|
1692
|
-
},
|
|
1701
|
+
}, P(k.day), 11, Ha))), 128))
|
|
1693
1702
|
])
|
|
1694
1703
|
]))
|
|
1695
1704
|
])),
|
|
1696
|
-
e.mode === "range" && (e.displayMode === "day" || e.displayMode === "month") ? (v(),
|
|
1705
|
+
e.mode === "range" && (e.displayMode === "day" || e.displayMode === "month") ? (v(), S("div", Qa, [
|
|
1697
1706
|
p("span", Ga, [
|
|
1698
|
-
o.value && Array.isArray(o.value) && o.value.length > 0 ? (v(),
|
|
1699
|
-
_(
|
|
1707
|
+
o.value && Array.isArray(o.value) && o.value.length > 0 ? (v(), S(ae, { key: 0 }, [
|
|
1708
|
+
_(P(o.value[0] || (e.displayMode === "month" ? "开始月份" : "开始日期")) + " ", 1),
|
|
1700
1709
|
$[6] || ($[6] = p("span", { class: "range-separator" }, " - ", -1)),
|
|
1701
|
-
_(" " +
|
|
1702
|
-
], 64)) : (v(),
|
|
1710
|
+
_(" " + P(o.value[1] || (e.displayMode === "month" ? "结束月份" : "结束日期")), 1)
|
|
1711
|
+
], 64)) : (v(), S("span", Xa, P(e.displayMode === "month" ? "请选择月份范围" : "请选择日期范围"), 1))
|
|
1703
1712
|
])
|
|
1704
1713
|
])) : J("", !0),
|
|
1705
1714
|
p("div", { class: "picker-footer" }, [
|
|
@@ -1715,7 +1724,7 @@ const ue = (e, a) => {
|
|
|
1715
1724
|
], 2)) : J("", !0)
|
|
1716
1725
|
]));
|
|
1717
1726
|
}
|
|
1718
|
-
}), ct = /* @__PURE__ */ ue(Za, [["__scopeId", "data-v-
|
|
1727
|
+
}), ct = /* @__PURE__ */ ue(Za, [["__scopeId", "data-v-a9b8f9b2"]]), el = ["title"], tl = ["title"], al = {
|
|
1719
1728
|
key: 1,
|
|
1720
1729
|
class: "text-center pt-4 d-flex flex-column align-center justify-center"
|
|
1721
1730
|
}, ll = ["title"], nl = {
|
|
@@ -1736,92 +1745,92 @@ const ue = (e, a) => {
|
|
|
1736
1745
|
emits: ["selected"],
|
|
1737
1746
|
setup(e, { expose: a, emit: t }) {
|
|
1738
1747
|
var ee, te;
|
|
1739
|
-
const { proxy: i } = He(), r = ((te = (ee = window.VTK_CONFIG) == null ? void 0 : ee.storageKeys) == null ? void 0 : te.user) || "_mis_acis_users", m = JSON.parse(i.$vtk.storage.get(r)), s = (
|
|
1740
|
-
de(c, (
|
|
1748
|
+
const { proxy: i } = He(), r = ((te = (ee = window.VTK_CONFIG) == null ? void 0 : ee.storageKeys) == null ? void 0 : te.user) || "_mis_acis_users", m = JSON.parse(i.$vtk.storage.get(r)), s = (I) => new Promise((D) => setTimeout(D, I)), y = e, b = t, h = C(!1), g = C([]), o = C([]), c = C([]);
|
|
1749
|
+
de(c, (I, D) => {
|
|
1741
1750
|
var E;
|
|
1742
|
-
|
|
1743
|
-
}, { deep: !0 }), de(o, (
|
|
1751
|
+
I && I.length > 0 && ((E = I[0]) != null && E.areaCode) && V(I);
|
|
1752
|
+
}, { deep: !0 }), de(o, (I, D) => {
|
|
1744
1753
|
var E;
|
|
1745
|
-
|
|
1754
|
+
I && I.length > 0 && ((E = I[0]) != null && E.areaCode) && V(I);
|
|
1746
1755
|
}, { deep: !0 });
|
|
1747
1756
|
const f = () => {
|
|
1748
|
-
m && m.areacode && i.$vtk.request.getForm(`/dict/area/show/${m.areacode}`).then((
|
|
1749
|
-
|
|
1750
|
-
areaCode:
|
|
1751
|
-
areaName:
|
|
1757
|
+
m && m.areacode && i.$vtk.request.getForm(`/dict/area/show/${m.areacode}`).then((I) => {
|
|
1758
|
+
I && I.data && (g.value = [{
|
|
1759
|
+
areaCode: I.data.areaCode,
|
|
1760
|
+
areaName: I.data.areaName,
|
|
1752
1761
|
children: []
|
|
1753
1762
|
}]);
|
|
1754
1763
|
});
|
|
1755
|
-
}, M = async (
|
|
1764
|
+
}, M = async (I) => {
|
|
1756
1765
|
await s(300);
|
|
1757
|
-
const
|
|
1758
|
-
i.$vtk.request.getForm(`/dict/area/next/${
|
|
1766
|
+
const D = I.areaCode;
|
|
1767
|
+
i.$vtk.request.getForm(`/dict/area/next/${D}`).then((E) => {
|
|
1759
1768
|
E && E.data && E.data.forEach((X) => {
|
|
1760
|
-
X.areaLeve < 12 && (X.children = []),
|
|
1769
|
+
X.areaLeve < 12 && (X.children = []), I.children.push(X);
|
|
1761
1770
|
});
|
|
1762
1771
|
});
|
|
1763
1772
|
}, R = C([]), B = C([]), A = C([]);
|
|
1764
|
-
de(B, (
|
|
1773
|
+
de(B, (I, D) => {
|
|
1765
1774
|
var E;
|
|
1766
|
-
|
|
1767
|
-
}, { deep: !0 }), de(A, (
|
|
1775
|
+
I && I.length > 0 && ((E = I[0]) != null && E.id) && K(I);
|
|
1776
|
+
}, { deep: !0 }), de(A, (I, D) => {
|
|
1768
1777
|
var E;
|
|
1769
|
-
|
|
1778
|
+
I && I.length > 0 && ((E = I[0]) != null && E.id) && K(I);
|
|
1770
1779
|
}, { deep: !0 });
|
|
1771
|
-
const V = (
|
|
1772
|
-
const E = { codex: { area:
|
|
1780
|
+
const V = (I) => {
|
|
1781
|
+
const E = { codex: { area: I[0].areaCode, type: "0" } };
|
|
1773
1782
|
R.value = [], i.$vtk.request.postJson("/bizp/supported/dept/list", E).then((X) => {
|
|
1774
1783
|
X.data.forEach((Q) => {
|
|
1775
1784
|
Q.children = [], R.value.push(Q);
|
|
1776
1785
|
});
|
|
1777
1786
|
});
|
|
1778
|
-
}, x = async (
|
|
1787
|
+
}, x = async (I) => {
|
|
1779
1788
|
await s(300);
|
|
1780
|
-
const
|
|
1789
|
+
const D = I.areaCode, E = I.id, X = { codex: { area: D, pid: E } };
|
|
1781
1790
|
i.$vtk.request.postJson("/bizp/supported/dept/list", X).then((Q) => {
|
|
1782
|
-
Q && Q.data && Q.data.forEach((
|
|
1783
|
-
|
|
1791
|
+
Q && Q.data && Q.data.forEach((oe) => {
|
|
1792
|
+
oe.children = [], I.children.push(oe);
|
|
1784
1793
|
});
|
|
1785
1794
|
});
|
|
1786
1795
|
}, N = C([]), U = C([]), Y = C([]), j = C(!1), w = H(() => {
|
|
1787
|
-
const
|
|
1788
|
-
return Y.value.forEach((
|
|
1789
|
-
|
|
1790
|
-
}), Array.from(
|
|
1796
|
+
const I = /* @__PURE__ */ new Map();
|
|
1797
|
+
return Y.value.forEach((D) => {
|
|
1798
|
+
D && D.id && I.set(D.id, D);
|
|
1799
|
+
}), Array.from(I.values());
|
|
1791
1800
|
});
|
|
1792
|
-
de(U, (
|
|
1801
|
+
de(U, (I, D) => {
|
|
1793
1802
|
if (!j.value) {
|
|
1794
1803
|
if (!y.multiple) {
|
|
1795
|
-
|
|
1804
|
+
I && I.length > 0 ? Y.value = [I[0]] : Y.value = [];
|
|
1796
1805
|
return;
|
|
1797
1806
|
}
|
|
1798
|
-
|
|
1807
|
+
I && I.length > 0 && I.forEach((E) => {
|
|
1799
1808
|
Y.value.some((Q) => Q.id === E.id) || Y.value.push(E);
|
|
1800
|
-
}),
|
|
1801
|
-
if (!(
|
|
1802
|
-
const Q = Y.value.findIndex((
|
|
1809
|
+
}), D && D.length > 0 && D.forEach((E) => {
|
|
1810
|
+
if (!(I == null ? void 0 : I.some((Q) => Q.id === E.id))) {
|
|
1811
|
+
const Q = Y.value.findIndex((oe) => oe.id === E.id);
|
|
1803
1812
|
Q > -1 && Y.value.splice(Q, 1);
|
|
1804
1813
|
}
|
|
1805
1814
|
});
|
|
1806
1815
|
}
|
|
1807
|
-
}, { deep: !0 }), de(N, async (
|
|
1808
|
-
if (!
|
|
1816
|
+
}, { deep: !0 }), de(N, async (I) => {
|
|
1817
|
+
if (!I || I.length === 0) {
|
|
1809
1818
|
j.value = !0, U.value = [], await Te(), j.value = !1;
|
|
1810
1819
|
return;
|
|
1811
1820
|
}
|
|
1812
1821
|
await Te(), j.value = !0;
|
|
1813
|
-
const
|
|
1814
|
-
|
|
1815
|
-
Y.value.some((Q) => Q.id === E.id) &&
|
|
1816
|
-
}), U.value =
|
|
1822
|
+
const D = [];
|
|
1823
|
+
I.forEach((E) => {
|
|
1824
|
+
Y.value.some((Q) => Q.id === E.id) && D.push(E);
|
|
1825
|
+
}), U.value = D, await Te(), j.value = !1;
|
|
1817
1826
|
}, { deep: !0 });
|
|
1818
|
-
const z = (
|
|
1819
|
-
const
|
|
1820
|
-
|
|
1821
|
-
const E = U.value.findIndex((X) => X.id ===
|
|
1827
|
+
const z = (I) => {
|
|
1828
|
+
const D = Y.value.findIndex((X) => X.id === I);
|
|
1829
|
+
D > -1 && Y.value.splice(D, 1);
|
|
1830
|
+
const E = U.value.findIndex((X) => X.id === I);
|
|
1822
1831
|
E > -1 && U.value.splice(E, 1);
|
|
1823
|
-
}, K = (
|
|
1824
|
-
const E = { codex: { dept:
|
|
1832
|
+
}, K = (I) => {
|
|
1833
|
+
const E = { codex: { dept: I[0].id } };
|
|
1825
1834
|
i.$vtk.request.postJson("/bizp/supported/user/list", E).then((X) => {
|
|
1826
1835
|
X && X.meta.success && X.data.length > 0 ? N.value = X.data : N.value = null;
|
|
1827
1836
|
});
|
|
@@ -1831,29 +1840,29 @@ const ue = (e, a) => {
|
|
|
1831
1840
|
j.value = !0, h.value = !1, U.value = [], Y.value = [], o.value = [], c.value = [], B.value = [], A.value = [], N.value = [], R.value = [], Te(() => {
|
|
1832
1841
|
j.value = !1;
|
|
1833
1842
|
});
|
|
1834
|
-
},
|
|
1835
|
-
const
|
|
1836
|
-
b("selected",
|
|
1843
|
+
}, ne = () => {
|
|
1844
|
+
const I = w.value;
|
|
1845
|
+
b("selected", I), q();
|
|
1837
1846
|
};
|
|
1838
1847
|
return Ve(() => {
|
|
1839
1848
|
f();
|
|
1840
1849
|
}), a({
|
|
1841
1850
|
close: q,
|
|
1842
1851
|
add: G
|
|
1843
|
-
}), (
|
|
1844
|
-
const E = d("v-spacer"), X = d("v-icon"), Q = d("v-btn"),
|
|
1852
|
+
}), (I, D) => {
|
|
1853
|
+
const E = d("v-spacer"), X = d("v-icon"), Q = d("v-btn"), oe = d("v-card-title"), ye = d("v-divider"), $e = d("v-treeview"), Ce = d("v-sheet"), xe = d("v-col"), Se = d("v-img"), Me = d("v-avatar"), Pe = d("v-list-item"), Ie = d("v-list"), je = d("v-row"), Ue = d("v-card-text"), Fe = d("v-card-actions"), ze = d("v-card"), L = d("v-dialog");
|
|
1845
1854
|
return v(), W(L, {
|
|
1846
1855
|
modelValue: h.value,
|
|
1847
|
-
"onUpdate:modelValue":
|
|
1856
|
+
"onUpdate:modelValue": D[5] || (D[5] = (u) => h.value = u),
|
|
1848
1857
|
persistent: "",
|
|
1849
1858
|
width: "1000"
|
|
1850
1859
|
}, {
|
|
1851
1860
|
default: l(() => [
|
|
1852
1861
|
n(ze, null, {
|
|
1853
1862
|
default: l(() => [
|
|
1854
|
-
n(
|
|
1863
|
+
n(oe, { class: "d-flex align-center" }, {
|
|
1855
1864
|
default: l(() => [
|
|
1856
|
-
|
|
1865
|
+
D[7] || (D[7] = p("span", { class: "text-h6" }, "人员选择", -1)),
|
|
1857
1866
|
n(E),
|
|
1858
1867
|
n(Q, {
|
|
1859
1868
|
class: "g-no-shadow",
|
|
@@ -1863,7 +1872,7 @@ const ue = (e, a) => {
|
|
|
1863
1872
|
}, {
|
|
1864
1873
|
default: l(() => [
|
|
1865
1874
|
n(X, null, {
|
|
1866
|
-
default: l(() => [...
|
|
1875
|
+
default: l(() => [...D[6] || (D[6] = [
|
|
1867
1876
|
_("mdi-close", -1)
|
|
1868
1877
|
])]),
|
|
1869
1878
|
_: 1
|
|
@@ -1888,8 +1897,8 @@ const ue = (e, a) => {
|
|
|
1888
1897
|
style: { "border-right": "1px #ccc solid", height: "600px" }
|
|
1889
1898
|
}, {
|
|
1890
1899
|
default: l(() => [
|
|
1891
|
-
n(
|
|
1892
|
-
default: l(() => [...
|
|
1900
|
+
n(oe, { class: "text-center py-0 text-body-1 font-weight-bold" }, {
|
|
1901
|
+
default: l(() => [...D[8] || (D[8] = [
|
|
1893
1902
|
p("span", { class: "mx-auto" }, "地区", -1)
|
|
1894
1903
|
])]),
|
|
1895
1904
|
_: 1
|
|
@@ -1910,15 +1919,15 @@ const ue = (e, a) => {
|
|
|
1910
1919
|
"item-props": "",
|
|
1911
1920
|
activatable: "",
|
|
1912
1921
|
selected: o.value,
|
|
1913
|
-
"onUpdate:selected":
|
|
1922
|
+
"onUpdate:selected": D[0] || (D[0] = (u) => o.value = u),
|
|
1914
1923
|
activated: c.value,
|
|
1915
|
-
"onUpdate:activated":
|
|
1924
|
+
"onUpdate:activated": D[1] || (D[1] = (u) => c.value = u),
|
|
1916
1925
|
"load-children": M
|
|
1917
1926
|
}, {
|
|
1918
1927
|
title: l(({ item: u }) => [
|
|
1919
1928
|
p("span", {
|
|
1920
1929
|
title: u.areaName
|
|
1921
|
-
},
|
|
1930
|
+
}, P(u.areaName), 9, el)
|
|
1922
1931
|
]),
|
|
1923
1932
|
_: 1
|
|
1924
1933
|
}, 8, ["items", "selected", "activated"])
|
|
@@ -1934,8 +1943,8 @@ const ue = (e, a) => {
|
|
|
1934
1943
|
style: { "border-right": "1px #ccc solid", height: "600px" }
|
|
1935
1944
|
}, {
|
|
1936
1945
|
default: l(() => [
|
|
1937
|
-
n(
|
|
1938
|
-
default: l(() => [...
|
|
1946
|
+
n(oe, { class: "text-center py-0 text-body-1 font-weight-bold" }, {
|
|
1947
|
+
default: l(() => [...D[9] || (D[9] = [
|
|
1939
1948
|
p("span", { class: "mx-auto" }, "部门", -1)
|
|
1940
1949
|
])]),
|
|
1941
1950
|
_: 1
|
|
@@ -1957,29 +1966,29 @@ const ue = (e, a) => {
|
|
|
1957
1966
|
"item-props": "",
|
|
1958
1967
|
activatable: "",
|
|
1959
1968
|
selected: B.value,
|
|
1960
|
-
"onUpdate:selected":
|
|
1969
|
+
"onUpdate:selected": D[2] || (D[2] = (u) => B.value = u),
|
|
1961
1970
|
activated: A.value,
|
|
1962
|
-
"onUpdate:activated":
|
|
1971
|
+
"onUpdate:activated": D[3] || (D[3] = (u) => A.value = u),
|
|
1963
1972
|
"load-children": x
|
|
1964
1973
|
}, {
|
|
1965
1974
|
title: l(({ item: u }) => [
|
|
1966
1975
|
p("span", {
|
|
1967
1976
|
title: u.name
|
|
1968
|
-
},
|
|
1977
|
+
}, P(u.name), 9, tl)
|
|
1969
1978
|
]),
|
|
1970
1979
|
_: 1
|
|
1971
|
-
}, 8, ["items", "selected", "activated"])) : (v(),
|
|
1980
|
+
}, 8, ["items", "selected", "activated"])) : (v(), S("div", al, [
|
|
1972
1981
|
n(X, {
|
|
1973
1982
|
size: "64",
|
|
1974
1983
|
color: "grey-lighten-2",
|
|
1975
1984
|
class: "mb-4"
|
|
1976
1985
|
}, {
|
|
1977
|
-
default: l(() => [...
|
|
1986
|
+
default: l(() => [...D[10] || (D[10] = [
|
|
1978
1987
|
_(" mdi-office-building-outline ", -1)
|
|
1979
1988
|
])]),
|
|
1980
1989
|
_: 1
|
|
1981
1990
|
}),
|
|
1982
|
-
|
|
1991
|
+
D[11] || (D[11] = p("div", { class: "text-grey" }, "暂无", -1))
|
|
1983
1992
|
]))
|
|
1984
1993
|
]),
|
|
1985
1994
|
_: 1
|
|
@@ -1993,8 +2002,8 @@ const ue = (e, a) => {
|
|
|
1993
2002
|
style: { "border-right": "1px #ccc solid", height: "600px" }
|
|
1994
2003
|
}, {
|
|
1995
2004
|
default: l(() => [
|
|
1996
|
-
n(
|
|
1997
|
-
default: l(() => [...
|
|
2005
|
+
n(oe, { class: "text-center py-0 text-body-1 font-weight-bold" }, {
|
|
2006
|
+
default: l(() => [...D[12] || (D[12] = [
|
|
1998
2007
|
p("span", { class: "mx-auto" }, "人员", -1)
|
|
1999
2008
|
])]),
|
|
2000
2009
|
_: 1
|
|
@@ -2017,7 +2026,7 @@ const ue = (e, a) => {
|
|
|
2017
2026
|
selectable: "",
|
|
2018
2027
|
"select-strategy": e.multiple ? "leaf" : "single-leaf",
|
|
2019
2028
|
selected: U.value,
|
|
2020
|
-
"onUpdate:selected":
|
|
2029
|
+
"onUpdate:selected": D[4] || (D[4] = (u) => U.value = u)
|
|
2021
2030
|
}, {
|
|
2022
2031
|
title: l(({ item: u }) => [
|
|
2023
2032
|
p("div", {
|
|
@@ -2036,7 +2045,7 @@ const ue = (e, a) => {
|
|
|
2036
2045
|
key: 1,
|
|
2037
2046
|
size: "20"
|
|
2038
2047
|
}, {
|
|
2039
|
-
default: l(() => [...
|
|
2048
|
+
default: l(() => [...D[13] || (D[13] = [
|
|
2040
2049
|
_("mdi-account-circle", -1)
|
|
2041
2050
|
])]),
|
|
2042
2051
|
_: 1
|
|
@@ -2044,22 +2053,22 @@ const ue = (e, a) => {
|
|
|
2044
2053
|
]),
|
|
2045
2054
|
_: 2
|
|
2046
2055
|
}, 1024),
|
|
2047
|
-
p("span", null,
|
|
2056
|
+
p("span", null, P(u.username), 1)
|
|
2048
2057
|
], 8, ll)
|
|
2049
2058
|
]),
|
|
2050
2059
|
_: 1
|
|
2051
|
-
}, 8, ["items", "select-strategy", "selected"])) : (v(),
|
|
2060
|
+
}, 8, ["items", "select-strategy", "selected"])) : (v(), S("div", nl, [
|
|
2052
2061
|
n(X, {
|
|
2053
2062
|
size: "64",
|
|
2054
2063
|
color: "grey-lighten-2",
|
|
2055
2064
|
class: "mb-4"
|
|
2056
2065
|
}, {
|
|
2057
|
-
default: l(() => [...
|
|
2066
|
+
default: l(() => [...D[14] || (D[14] = [
|
|
2058
2067
|
_(" mdi-account-group ", -1)
|
|
2059
2068
|
])]),
|
|
2060
2069
|
_: 1
|
|
2061
2070
|
}),
|
|
2062
|
-
|
|
2071
|
+
D[15] || (D[15] = p("div", { class: "text-grey" }, "暂无", -1))
|
|
2063
2072
|
]))
|
|
2064
2073
|
]),
|
|
2065
2074
|
_: 1
|
|
@@ -2073,9 +2082,9 @@ const ue = (e, a) => {
|
|
|
2073
2082
|
style: { "border-right": "1px #ccc solid", height: "600px" }
|
|
2074
2083
|
}, {
|
|
2075
2084
|
default: l(() => [
|
|
2076
|
-
n(
|
|
2085
|
+
n(oe, { class: "text-center py-0 text-body-1 font-weight-bold" }, {
|
|
2077
2086
|
default: l(() => [
|
|
2078
|
-
p("span", ol, "已选中人员 (" +
|
|
2087
|
+
p("span", ol, "已选中人员 (" + P(w.value.length) + ")", 1)
|
|
2079
2088
|
]),
|
|
2080
2089
|
_: 1
|
|
2081
2090
|
}),
|
|
@@ -2085,12 +2094,12 @@ const ue = (e, a) => {
|
|
|
2085
2094
|
class: "mt-2 px-2"
|
|
2086
2095
|
}, {
|
|
2087
2096
|
default: l(() => [
|
|
2088
|
-
w.value.length > 0 ? (v(), W(
|
|
2097
|
+
w.value.length > 0 ? (v(), W(Ie, {
|
|
2089
2098
|
key: 0,
|
|
2090
2099
|
density: "compact"
|
|
2091
2100
|
}, {
|
|
2092
2101
|
default: l(() => [
|
|
2093
|
-
(v(!0),
|
|
2102
|
+
(v(!0), S(ae, null, ie(w.value, (u) => (v(), W(Pe, {
|
|
2094
2103
|
key: u.id,
|
|
2095
2104
|
title: u.username,
|
|
2096
2105
|
class: "px-2 mb-1 mr-2",
|
|
@@ -2105,7 +2114,7 @@ const ue = (e, a) => {
|
|
|
2105
2114
|
key: 0,
|
|
2106
2115
|
src: u.avatar
|
|
2107
2116
|
}, null, 8, ["src"])) : (v(), W(X, { key: 1 }, {
|
|
2108
|
-
default: l(() => [...
|
|
2117
|
+
default: l(() => [...D[16] || (D[16] = [
|
|
2109
2118
|
_("mdi-account-circle", -1)
|
|
2110
2119
|
])]),
|
|
2111
2120
|
_: 1
|
|
@@ -2123,7 +2132,7 @@ const ue = (e, a) => {
|
|
|
2123
2132
|
}, {
|
|
2124
2133
|
default: l(() => [
|
|
2125
2134
|
n(X, { size: "16" }, {
|
|
2126
|
-
default: l(() => [...
|
|
2135
|
+
default: l(() => [...D[17] || (D[17] = [
|
|
2127
2136
|
_("mdi-close", -1)
|
|
2128
2137
|
])]),
|
|
2129
2138
|
_: 1
|
|
@@ -2136,18 +2145,18 @@ const ue = (e, a) => {
|
|
|
2136
2145
|
}, 1032, ["title"]))), 128))
|
|
2137
2146
|
]),
|
|
2138
2147
|
_: 1
|
|
2139
|
-
})) : (v(),
|
|
2148
|
+
})) : (v(), S("div", sl, [
|
|
2140
2149
|
n(X, {
|
|
2141
2150
|
size: "64",
|
|
2142
2151
|
color: "grey-lighten-2",
|
|
2143
2152
|
class: "mb-4"
|
|
2144
2153
|
}, {
|
|
2145
|
-
default: l(() => [...
|
|
2154
|
+
default: l(() => [...D[18] || (D[18] = [
|
|
2146
2155
|
_(" mdi-account ", -1)
|
|
2147
2156
|
])]),
|
|
2148
2157
|
_: 1
|
|
2149
2158
|
}),
|
|
2150
|
-
|
|
2159
|
+
D[19] || (D[19] = p("div", { class: "text-grey" }, "暂无选中", -1))
|
|
2151
2160
|
]))
|
|
2152
2161
|
]),
|
|
2153
2162
|
_: 1
|
|
@@ -2170,7 +2179,7 @@ const ue = (e, a) => {
|
|
|
2170
2179
|
text: "",
|
|
2171
2180
|
onClick: q
|
|
2172
2181
|
}, {
|
|
2173
|
-
default: l(() => [...
|
|
2182
|
+
default: l(() => [...D[20] || (D[20] = [
|
|
2174
2183
|
_("取消", -1)
|
|
2175
2184
|
])]),
|
|
2176
2185
|
_: 1
|
|
@@ -2178,9 +2187,9 @@ const ue = (e, a) => {
|
|
|
2178
2187
|
n(Q, {
|
|
2179
2188
|
color: "blue darken-1",
|
|
2180
2189
|
text: "",
|
|
2181
|
-
onClick:
|
|
2190
|
+
onClick: ne
|
|
2182
2191
|
}, {
|
|
2183
|
-
default: l(() => [...
|
|
2192
|
+
default: l(() => [...D[21] || (D[21] = [
|
|
2184
2193
|
_("确定", -1)
|
|
2185
2194
|
])]),
|
|
2186
2195
|
_: 1
|
|
@@ -2312,7 +2321,7 @@ const ue = (e, a) => {
|
|
|
2312
2321
|
default: l(() => [
|
|
2313
2322
|
a.value ? (v(), W(y, {
|
|
2314
2323
|
key: 0,
|
|
2315
|
-
class:
|
|
2324
|
+
class: le(t.value),
|
|
2316
2325
|
color: "primary",
|
|
2317
2326
|
icon: "mdi-arrow-up",
|
|
2318
2327
|
onClick: r
|
|
@@ -2381,36 +2390,36 @@ const ue = (e, a) => {
|
|
|
2381
2390
|
const r = {};
|
|
2382
2391
|
return a.top && a.maxWidth && (r.maxWidth = t.value), r;
|
|
2383
2392
|
});
|
|
2384
|
-
return (r, m) => (v(),
|
|
2385
|
-
class:
|
|
2393
|
+
return (r, m) => (v(), S("div", {
|
|
2394
|
+
class: le(["box", {
|
|
2386
2395
|
"form-item--vertical": e.top,
|
|
2387
2396
|
"form-item--horizontal": !e.top
|
|
2388
2397
|
}]),
|
|
2389
2398
|
style: { position: "relative" }
|
|
2390
2399
|
}, [
|
|
2391
|
-
e.label && e.top ? (v(),
|
|
2392
|
-
e.must ? (v(),
|
|
2393
|
-
p("span", null,
|
|
2400
|
+
e.label && e.top ? (v(), S("div", dl, [
|
|
2401
|
+
e.must ? (v(), S("span", cl, "*")) : J("", !0),
|
|
2402
|
+
p("span", null, P(e.label), 1)
|
|
2394
2403
|
])) : J("", !0),
|
|
2395
|
-
e.label && !e.top ? (v(),
|
|
2404
|
+
e.label && !e.top ? (v(), S("div", {
|
|
2396
2405
|
key: 1,
|
|
2397
|
-
class:
|
|
2406
|
+
class: le([e.left ? "" : "vtk-width-2", "d-inline-block text-right"]),
|
|
2398
2407
|
style: he([e.Tstyle, { "min-width": "120px !important", "vertical-align": "top", "padding-top": "11px" }])
|
|
2399
2408
|
}, [
|
|
2400
|
-
e.must ? (v(),
|
|
2401
|
-
p("span", null,
|
|
2409
|
+
e.must ? (v(), S("span", ml, "*")) : J("", !0),
|
|
2410
|
+
p("span", null, P(e.label), 1)
|
|
2402
2411
|
], 6)) : J("", !0),
|
|
2403
|
-
e.top ? (v(),
|
|
2412
|
+
e.top ? (v(), S("div", {
|
|
2404
2413
|
key: 2,
|
|
2405
2414
|
style: he(i.value)
|
|
2406
2415
|
}, [
|
|
2407
2416
|
ke(r.$slots, "default", {}, void 0, !0)
|
|
2408
2417
|
], 4)) : J("", !0),
|
|
2409
|
-
e.top ? J("", !0) : (v(),
|
|
2418
|
+
e.top ? J("", !0) : (v(), S("div", vl, [
|
|
2410
2419
|
ke(r.$slots, "default", {}, void 0, !0)
|
|
2411
2420
|
])),
|
|
2412
|
-
e.left && e.help && !e.top ? (v(),
|
|
2413
|
-
p("p", fl,
|
|
2421
|
+
e.left && e.help && !e.top ? (v(), S("div", pl, [
|
|
2422
|
+
p("p", fl, P(e.label), 1),
|
|
2414
2423
|
p("span", { innerHTML: e.help }, null, 8, gl)
|
|
2415
2424
|
])) : J("", !0)
|
|
2416
2425
|
], 2));
|
|
@@ -2534,10 +2543,10 @@ const ue = (e, a) => {
|
|
|
2534
2543
|
i.value += B;
|
|
2535
2544
|
};
|
|
2536
2545
|
return (B, A) => {
|
|
2537
|
-
const V = d("v-progress-circular"), x = d("v-img"), N = d("VCardTitle"), U = d("v-card-subtitle"), Y = d("VCard"), j = d("VIcon"), w = d("VBtn"), z = d("v-toolbar-title"), K = d("VSpacer"), G = d("v-toolbar-items"), q = d("v-toolbar"),
|
|
2538
|
-
return v(),
|
|
2546
|
+
const V = d("v-progress-circular"), x = d("v-img"), N = d("VCardTitle"), U = d("v-card-subtitle"), Y = d("VCard"), j = d("VIcon"), w = d("VBtn"), z = d("v-toolbar-title"), K = d("VSpacer"), G = d("v-toolbar-items"), q = d("v-toolbar"), ne = d("VDialog");
|
|
2547
|
+
return v(), S("div", hl, [
|
|
2539
2548
|
n(Y, {
|
|
2540
|
-
class:
|
|
2549
|
+
class: le(["vtk-img-card", { "vtk-img-card--preview": e.preview }]),
|
|
2541
2550
|
onClick: o
|
|
2542
2551
|
}, {
|
|
2543
2552
|
default: l(() => [
|
|
@@ -2557,13 +2566,13 @@ const ue = (e, a) => {
|
|
|
2557
2566
|
]),
|
|
2558
2567
|
_: 1
|
|
2559
2568
|
}, 16, ["src", "aspect-ratio"]),
|
|
2560
|
-
e.showTitle || e.showDescription ? (v(),
|
|
2569
|
+
e.showTitle || e.showDescription ? (v(), S("div", kl, [
|
|
2561
2570
|
e.showTitle ? (v(), W(N, {
|
|
2562
2571
|
key: 0,
|
|
2563
2572
|
class: "vtk-img-title text-subtitle-2 pa-2"
|
|
2564
2573
|
}, {
|
|
2565
2574
|
default: l(() => [
|
|
2566
|
-
_(
|
|
2575
|
+
_(P(e.title), 1)
|
|
2567
2576
|
]),
|
|
2568
2577
|
_: 1
|
|
2569
2578
|
})) : J("", !0),
|
|
@@ -2572,7 +2581,7 @@ const ue = (e, a) => {
|
|
|
2572
2581
|
class: "vtk-img-description text-caption pa-2"
|
|
2573
2582
|
}, {
|
|
2574
2583
|
default: l(() => [
|
|
2575
|
-
_(
|
|
2584
|
+
_(P(e.description), 1)
|
|
2576
2585
|
]),
|
|
2577
2586
|
_: 1
|
|
2578
2587
|
})) : J("", !0)
|
|
@@ -2580,7 +2589,7 @@ const ue = (e, a) => {
|
|
|
2580
2589
|
]),
|
|
2581
2590
|
_: 1
|
|
2582
2591
|
}, 8, ["class"]),
|
|
2583
|
-
n(
|
|
2592
|
+
n(ne, {
|
|
2584
2593
|
modelValue: t.value,
|
|
2585
2594
|
"onUpdate:modelValue": A[2] || (A[2] = (ee) => t.value = ee),
|
|
2586
2595
|
"max-width": "90%",
|
|
@@ -2612,7 +2621,7 @@ const ue = (e, a) => {
|
|
|
2612
2621
|
}),
|
|
2613
2622
|
n(z, null, {
|
|
2614
2623
|
default: l(() => [
|
|
2615
|
-
_(
|
|
2624
|
+
_(P(y.value), 1)
|
|
2616
2625
|
]),
|
|
2617
2626
|
_: 1
|
|
2618
2627
|
}),
|
|
@@ -2697,8 +2706,8 @@ const ue = (e, a) => {
|
|
|
2697
2706
|
})) : J("", !0)
|
|
2698
2707
|
]),
|
|
2699
2708
|
p("div", xl, [
|
|
2700
|
-
p("p", wl,
|
|
2701
|
-
p("p", $l,
|
|
2709
|
+
p("p", wl, P(b.value), 1),
|
|
2710
|
+
p("p", $l, P(r.value + 1) + " / " + P(e.imageList.length), 1)
|
|
2702
2711
|
])
|
|
2703
2712
|
]),
|
|
2704
2713
|
_: 1
|
|
@@ -2756,14 +2765,14 @@ const ue = (e, a) => {
|
|
|
2756
2765
|
};
|
|
2757
2766
|
return (c, f) => {
|
|
2758
2767
|
const M = d("VSelect"), R = d("v-pagination"), B = d("VTextField"), A = d("VRow");
|
|
2759
|
-
return v(),
|
|
2768
|
+
return v(), S("div", Sl, [
|
|
2760
2769
|
s.value.rowCount > 0 ? (v(), W(A, {
|
|
2761
2770
|
key: 0,
|
|
2762
2771
|
class: "pagination box",
|
|
2763
2772
|
align: "center"
|
|
2764
2773
|
}, {
|
|
2765
2774
|
default: l(() => [
|
|
2766
|
-
p("span", Dl, "共" +
|
|
2775
|
+
p("span", Dl, "共" + P(s.value.rowCount) + "条", 1),
|
|
2767
2776
|
n(M, {
|
|
2768
2777
|
modelValue: r.limit,
|
|
2769
2778
|
"onUpdate:modelValue": [
|
|
@@ -2809,7 +2818,7 @@ const ue = (e, a) => {
|
|
|
2809
2818
|
}, yt = /* @__PURE__ */ ue(Tl, [["__scopeId", "data-v-c12fb6c5"]]), Ml = { class: "vtk-pdf-container" }, Nl = {
|
|
2810
2819
|
key: 0,
|
|
2811
2820
|
class: "vtk-pdf-info"
|
|
2812
|
-
},
|
|
2821
|
+
}, Pl = { class: "pdf-viewer-content" }, Il = {
|
|
2813
2822
|
key: 0,
|
|
2814
2823
|
class: "pdf-viewer-footer"
|
|
2815
2824
|
}, jl = { class: "mx-4" }, Ul = {
|
|
@@ -2908,10 +2917,10 @@ const ue = (e, a) => {
|
|
|
2908
2917
|
return lt(() => {
|
|
2909
2918
|
b = null;
|
|
2910
2919
|
}), (A, V) => {
|
|
2911
|
-
const x = d("VIcon"), N = d("VCardTitle"), U = d("v-card-subtitle"), Y = d("VCard"), j = d("VBtn"), w = d("v-toolbar-title"), z = d("VSpacer"), K = d("v-toolbar-items"), G = d("v-toolbar"), q = d("VCol"),
|
|
2912
|
-
return v(),
|
|
2920
|
+
const x = d("VIcon"), N = d("VCardTitle"), U = d("v-card-subtitle"), Y = d("VCard"), j = d("VBtn"), w = d("v-toolbar-title"), z = d("VSpacer"), K = d("v-toolbar-items"), G = d("v-toolbar"), q = d("VCol"), ne = d("VSlider"), ee = d("VRow"), te = d("v-progress-circular"), I = d("VDialog");
|
|
2921
|
+
return v(), S("div", Ml, [
|
|
2913
2922
|
n(Y, {
|
|
2914
|
-
class:
|
|
2923
|
+
class: le(["vtk-pdf-card", { "vtk-pdf-card--preview": e.preview }]),
|
|
2915
2924
|
onClick: g
|
|
2916
2925
|
}, {
|
|
2917
2926
|
default: l(() => [
|
|
@@ -2930,13 +2939,13 @@ const ue = (e, a) => {
|
|
|
2930
2939
|
}),
|
|
2931
2940
|
V[3] || (V[3] = p("div", { class: "vtk-pdf-label" }, "PDF", -1))
|
|
2932
2941
|
], 4),
|
|
2933
|
-
e.showTitle || e.showDescription ? (v(),
|
|
2942
|
+
e.showTitle || e.showDescription ? (v(), S("div", Nl, [
|
|
2934
2943
|
e.showTitle ? (v(), W(N, {
|
|
2935
2944
|
key: 0,
|
|
2936
2945
|
class: "vtk-pdf-title text-subtitle-2 pa-2"
|
|
2937
2946
|
}, {
|
|
2938
2947
|
default: l(() => [
|
|
2939
|
-
_(
|
|
2948
|
+
_(P(e.title), 1)
|
|
2940
2949
|
]),
|
|
2941
2950
|
_: 1
|
|
2942
2951
|
})) : J("", !0),
|
|
@@ -2945,7 +2954,7 @@ const ue = (e, a) => {
|
|
|
2945
2954
|
class: "vtk-pdf-description text-caption pa-2"
|
|
2946
2955
|
}, {
|
|
2947
2956
|
default: l(() => [
|
|
2948
|
-
_(
|
|
2957
|
+
_(P(e.description), 1)
|
|
2949
2958
|
]),
|
|
2950
2959
|
_: 1
|
|
2951
2960
|
})) : J("", !0)
|
|
@@ -2953,9 +2962,9 @@ const ue = (e, a) => {
|
|
|
2953
2962
|
]),
|
|
2954
2963
|
_: 1
|
|
2955
2964
|
}, 8, ["class"]),
|
|
2956
|
-
n(
|
|
2965
|
+
n(I, {
|
|
2957
2966
|
modelValue: t.value,
|
|
2958
|
-
"onUpdate:modelValue": V[1] || (V[1] = (
|
|
2967
|
+
"onUpdate:modelValue": V[1] || (V[1] = (D) => t.value = D),
|
|
2959
2968
|
"max-width": "90%",
|
|
2960
2969
|
fullscreen: "",
|
|
2961
2970
|
"onClick:outside": o
|
|
@@ -2985,7 +2994,7 @@ const ue = (e, a) => {
|
|
|
2985
2994
|
}),
|
|
2986
2995
|
n(w, null, {
|
|
2987
2996
|
default: l(() => [
|
|
2988
|
-
_(
|
|
2997
|
+
_(P(e.title), 1)
|
|
2989
2998
|
]),
|
|
2990
2999
|
_: 1
|
|
2991
3000
|
}),
|
|
@@ -3013,7 +3022,7 @@ const ue = (e, a) => {
|
|
|
3013
3022
|
]),
|
|
3014
3023
|
_: 1
|
|
3015
3024
|
}),
|
|
3016
|
-
p("div",
|
|
3025
|
+
p("div", Pl, [
|
|
3017
3026
|
p("div", {
|
|
3018
3027
|
class: "pdf-container",
|
|
3019
3028
|
ref_key: "pdfContainer",
|
|
@@ -3022,7 +3031,7 @@ const ue = (e, a) => {
|
|
|
3022
3031
|
p("div", { id: "pdf-viewer" }, null, -1)
|
|
3023
3032
|
])], 512)
|
|
3024
3033
|
]),
|
|
3025
|
-
r.value ? (v(),
|
|
3034
|
+
r.value ? (v(), S("div", Il, [
|
|
3026
3035
|
n(ee, {
|
|
3027
3036
|
align: "center",
|
|
3028
3037
|
justify: "center"
|
|
@@ -3050,7 +3059,7 @@ const ue = (e, a) => {
|
|
|
3050
3059
|
_: 1
|
|
3051
3060
|
}, 8, ["disabled"]),
|
|
3052
3061
|
p("div", jl, [
|
|
3053
|
-
p("span", null, "第 " +
|
|
3062
|
+
p("span", null, "第 " + P(m.value) + " 页 / 共 " + P(s.value) + " 页", 1)
|
|
3054
3063
|
]),
|
|
3055
3064
|
n(j, {
|
|
3056
3065
|
icon: "",
|
|
@@ -3076,9 +3085,9 @@ const ue = (e, a) => {
|
|
|
3076
3085
|
class: "d-flex justify-center"
|
|
3077
3086
|
}, {
|
|
3078
3087
|
default: l(() => [
|
|
3079
|
-
n(
|
|
3088
|
+
n(ne, {
|
|
3080
3089
|
modelValue: m.value,
|
|
3081
|
-
"onUpdate:modelValue": V[0] || (V[0] = (
|
|
3090
|
+
"onUpdate:modelValue": V[0] || (V[0] = (D) => m.value = D),
|
|
3082
3091
|
min: 1,
|
|
3083
3092
|
max: s.value,
|
|
3084
3093
|
"hide-details": "",
|
|
@@ -3091,7 +3100,7 @@ const ue = (e, a) => {
|
|
|
3091
3100
|
_: 1
|
|
3092
3101
|
})
|
|
3093
3102
|
])) : J("", !0),
|
|
3094
|
-
i.value ? (v(),
|
|
3103
|
+
i.value ? (v(), S("div", Ul, [
|
|
3095
3104
|
n(te, {
|
|
3096
3105
|
indeterminate: "",
|
|
3097
3106
|
color: "red"
|
|
@@ -3129,11 +3138,11 @@ function zl(e = {}) {
|
|
|
3129
3138
|
}
|
|
3130
3139
|
const z = c();
|
|
3131
3140
|
i.value = !0, (G = (K = window.$vtk) == null ? void 0 : K.message) != null && G.loading && window.$vtk.message.loading.show(), re.postJson(o.list, z).then((q) => {
|
|
3132
|
-
var
|
|
3133
|
-
(ee = (
|
|
3141
|
+
var ne, ee, te;
|
|
3142
|
+
(ee = (ne = window.$vtk) == null ? void 0 : ne.message) != null && ee.loading && window.$vtk.message.loading.hide(), (q.meta.success || q.data) && (t.value = ((te = q.data) == null ? void 0 : te.rows) || [], s.value = q.data, y.value = q.data.sumup ? q.data.sumup : {}, b.value = q.data), i.value = !1;
|
|
3134
3143
|
}).catch((q) => {
|
|
3135
|
-
var
|
|
3136
|
-
console.error("加载页面数据失败:", q), i.value = !1, (ee = (
|
|
3144
|
+
var ne, ee;
|
|
3145
|
+
console.error("加载页面数据失败:", q), i.value = !1, (ee = (ne = window.$vtk) == null ? void 0 : ne.message) != null && ee.loading && window.$vtk.message.loading.hide();
|
|
3137
3146
|
});
|
|
3138
3147
|
};
|
|
3139
3148
|
return {
|
|
@@ -3204,27 +3213,27 @@ function zl(e = {}) {
|
|
|
3204
3213
|
h.value = !0, (G = (K = window.$vtk) == null ? void 0 : K.message) != null && G.loading && window.$vtk.message.loading.show();
|
|
3205
3214
|
const z = c();
|
|
3206
3215
|
re.exp(o.exp, z).then((q) => {
|
|
3207
|
-
var
|
|
3208
|
-
if ((ee = (
|
|
3209
|
-
const te = q.headers["content-disposition"],
|
|
3216
|
+
var ne, ee;
|
|
3217
|
+
if ((ee = (ne = window.$vtk) == null ? void 0 : ne.message) != null && ee.loading && window.$vtk.message.loading.hide(), q) {
|
|
3218
|
+
const te = q.headers["content-disposition"], I = decodeURI(
|
|
3210
3219
|
te.substring(
|
|
3211
3220
|
te.indexOf("filename=") + 9,
|
|
3212
3221
|
te.length
|
|
3213
3222
|
)
|
|
3214
|
-
),
|
|
3223
|
+
), D = new Blob([q.data], {
|
|
3215
3224
|
type: "application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
3216
3225
|
});
|
|
3217
3226
|
if (window.navigator.msSaveOrOpenBlob)
|
|
3218
|
-
navigator.msSaveBlob(
|
|
3227
|
+
navigator.msSaveBlob(D);
|
|
3219
3228
|
else {
|
|
3220
3229
|
const E = document.createElement("a");
|
|
3221
|
-
E.style.display = "none", E.href = URL.createObjectURL(
|
|
3230
|
+
E.style.display = "none", E.href = URL.createObjectURL(D), E.download = I, document.body.appendChild(E), E.click(), document.body.removeChild(E);
|
|
3222
3231
|
}
|
|
3223
3232
|
}
|
|
3224
3233
|
h.value = !1;
|
|
3225
3234
|
}).catch((q) => {
|
|
3226
|
-
var
|
|
3227
|
-
console.error("导出数据失败:", q), h.value = !1, (ee = (
|
|
3235
|
+
var ne, ee;
|
|
3236
|
+
console.error("导出数据失败:", q), h.value = !1, (ee = (ne = window.$vtk) == null ? void 0 : ne.message) != null && ee.loading && window.$vtk.message.loading.hide();
|
|
3228
3237
|
});
|
|
3229
3238
|
},
|
|
3230
3239
|
resetQueryParams: () => {
|
|
@@ -3285,16 +3294,16 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3285
3294
|
}, { deep: !0 }), zt(() => {
|
|
3286
3295
|
alert("onActivated"), ee(), window.addEventListener("storage", (L) => {
|
|
3287
3296
|
var u;
|
|
3288
|
-
(u = JSON.parse(L == null ? void 0 : L.newValue)) != null && u.fwez && (c.value == "0" ?
|
|
3297
|
+
(u = JSON.parse(L == null ? void 0 : L.newValue)) != null && u.fwez && (c.value == "0" ? D() : r());
|
|
3289
3298
|
});
|
|
3290
3299
|
});
|
|
3291
|
-
const
|
|
3300
|
+
const ne = (L) => {
|
|
3292
3301
|
U.value = L ? w.value : [];
|
|
3293
3302
|
}, ee = () => {
|
|
3294
3303
|
var L;
|
|
3295
3304
|
A.value = "", V.value = !1, o.value = te(), M.value = [], (L = o.value.permits) == null || L.forEach((u) => {
|
|
3296
3305
|
u.permNkey.includes("biz_type") ? (M.value.push(u), A.value = A.value + u.permNkey.slice(9) + ",") : u.permNkey == "btn_expo" && (V.value = !0);
|
|
3297
|
-
}), g.bizType = A.value,
|
|
3306
|
+
}), g.bizType = A.value, I();
|
|
3298
3307
|
}, te = () => {
|
|
3299
3308
|
var L, u;
|
|
3300
3309
|
try {
|
|
@@ -3302,10 +3311,10 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3302
3311
|
} catch (fe) {
|
|
3303
3312
|
return console.warn("获取用户信息失败:", fe), {};
|
|
3304
3313
|
}
|
|
3305
|
-
},
|
|
3314
|
+
}, I = () => {
|
|
3306
3315
|
var L;
|
|
3307
3316
|
c.value = 1, g.operateLeve = (L = o.value.areacode) == null ? void 0 : L.length, g.servState = "0", r();
|
|
3308
|
-
},
|
|
3317
|
+
}, D = () => {
|
|
3309
3318
|
c.value = 0, delete g.operateLeve, delete g.servState, r();
|
|
3310
3319
|
}, E = (L) => {
|
|
3311
3320
|
const u = L.servState == 1 ? `#/mino/suse/view/${L.inst}?ddtab=true` : `#/mino/suse/exam/${L.inst}?ddtab=true`;
|
|
@@ -3314,8 +3323,8 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3314
3323
|
var L;
|
|
3315
3324
|
(L = q.value) == null || L.add(g.projCode);
|
|
3316
3325
|
}, Q = (L) => {
|
|
3317
|
-
R.value = L.projName, g.projCode = L.projCode, delete g.bizType,
|
|
3318
|
-
},
|
|
3326
|
+
R.value = L.projName, g.projCode = L.projCode, delete g.bizType, oe();
|
|
3327
|
+
}, oe = () => {
|
|
3319
3328
|
r();
|
|
3320
3329
|
}, ye = () => {
|
|
3321
3330
|
R.value && g.servState == "1" && (U.value = [], Y.value = [], re.postJson("/kudas/xfwez/exv", { codex: g }).then((L) => {
|
|
@@ -3335,11 +3344,11 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3335
3344
|
L.meta.success && (z.value = !1, r());
|
|
3336
3345
|
});
|
|
3337
3346
|
}, Se = () => {
|
|
3338
|
-
}, Me = (L) => L ? L.replace(/^(.{6})(?:\d+)(.{4})$/, "$1********$2") : "",
|
|
3347
|
+
}, Me = (L) => L ? L.replace(/^(.{6})(?:\d+)(.{4})$/, "$1********$2") : "", Pe = (L) => {
|
|
3339
3348
|
if (!L) return "";
|
|
3340
3349
|
const u = new Date(L);
|
|
3341
3350
|
return `${u.getFullYear()}年${String(u.getMonth() + 1).padStart(2, "0")}月${String(u.getDate()).padStart(2, "0")}日 ${String(u.getHours()).padStart(2, "0")}:${String(u.getMinutes()).padStart(2, "0")}:${String(u.getSeconds()).padStart(2, "0")}`;
|
|
3342
|
-
},
|
|
3351
|
+
}, Ie = (L) => L == "0" ? "bg-blue-lighten-5 text-blue" : "bg-green-lighten-5 text-green", je = (L) => L == "0" ? "服务中" : "已服务", Ue = (L) => L == "0" ? "bg-orange-lighten-5 text-orange" : "bg-blue-lighten-5 text-blue", Fe = (L) => L == "0" ? "未评价" : "已评价", ze = (L) => ({
|
|
3343
3352
|
100: "特殊渠道",
|
|
3344
3353
|
101: "移动端代办",
|
|
3345
3354
|
102: "窗口端通办",
|
|
@@ -3354,8 +3363,8 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3354
3363
|
310: "服务外包代办"
|
|
3355
3364
|
})[L] || L;
|
|
3356
3365
|
return (L, u) => {
|
|
3357
|
-
const fe = d("VIcon"), Ae = d("VTab"), De = d("VSpacer"), We = d("VTabs"), ge = d("VBtn"), qe = d("VDivider"), Be = d("VCheckbox"), T = d("VCardTitle"), $ = d("VCard"), k = d("VMenu"), F = d("VTextField"), me = d("vtk-area-tabs"),
|
|
3358
|
-
return v(), W(
|
|
3366
|
+
const fe = d("VIcon"), Ae = d("VTab"), De = d("VSpacer"), We = d("VTabs"), ge = d("VBtn"), qe = d("VDivider"), Be = d("VCheckbox"), T = d("VCardTitle"), $ = d("VCard"), k = d("VMenu"), F = d("VTextField"), me = d("vtk-area-tabs"), se = d("vtk-select"), Oe = d("VDatePicker"), Je = d("vtk-search"), Le = d("VChip"), Qe = d("VCol"), $t = d("VRow"), Ct = d("vtk-empty"), St = d("VDataTable"), Dt = d("vtk-page"), Ge = d("VCardText"), At = d("vtk-proj", !0), Tt = d("VTextarea"), Mt = d("VCardActions"), Nt = d("VDialog"), Pt = d("VContainer");
|
|
3367
|
+
return v(), W(Pt, {
|
|
3359
3368
|
fluid: "",
|
|
3360
3369
|
class: "vtk-height pa-0"
|
|
3361
3370
|
}, {
|
|
@@ -3369,7 +3378,7 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3369
3378
|
}, {
|
|
3370
3379
|
default: l(() => [
|
|
3371
3380
|
n(Ae, {
|
|
3372
|
-
onClick: u[0] || (u[0] = (O) =>
|
|
3381
|
+
onClick: u[0] || (u[0] = (O) => D())
|
|
3373
3382
|
}, {
|
|
3374
3383
|
default: l(() => [
|
|
3375
3384
|
p("span", null, [
|
|
@@ -3531,12 +3540,12 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3531
3540
|
_(" 状态 ")
|
|
3532
3541
|
], -1)),
|
|
3533
3542
|
n(qe),
|
|
3534
|
-
Z(g).servState == "1" && R.value ? (v(),
|
|
3543
|
+
Z(g).servState == "1" && R.value ? (v(), S("div", Ol, [
|
|
3535
3544
|
n(T, { class: "pa-0 text-body-1 mb-2 pt-3" }, {
|
|
3536
3545
|
default: l(() => [
|
|
3537
3546
|
n(Be, {
|
|
3538
3547
|
"onUpdate:modelValue": [
|
|
3539
|
-
|
|
3548
|
+
ne,
|
|
3540
3549
|
u[2] || (u[2] = (ve) => j.value = ve)
|
|
3541
3550
|
],
|
|
3542
3551
|
modelValue: j.value,
|
|
@@ -3562,11 +3571,11 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3562
3571
|
]),
|
|
3563
3572
|
_: 1
|
|
3564
3573
|
}),
|
|
3565
|
-
((O = Y.value) == null ? void 0 : O.length) > 0 ? (v(),
|
|
3566
|
-
(v(!0),
|
|
3574
|
+
((O = Y.value) == null ? void 0 : O.length) > 0 ? (v(), S("p", Bl, [
|
|
3575
|
+
(v(!0), S(ae, null, ie(Y.value, (ve, Xe) => (v(), W(Be, {
|
|
3567
3576
|
key: Xe,
|
|
3568
3577
|
modelValue: U.value,
|
|
3569
|
-
"onUpdate:modelValue": u[3] || (u[3] = (
|
|
3578
|
+
"onUpdate:modelValue": u[3] || (u[3] = (It) => U.value = It),
|
|
3570
3579
|
label: ve.label,
|
|
3571
3580
|
value: { name: ve.name, valu: `${ve.label}${ve.valu && ve.valu.includes("/") && ve.valu.includes(":") ? `(${ve.valu})` : ""}` },
|
|
3572
3581
|
class: "mt-2",
|
|
@@ -3587,32 +3596,32 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3587
3596
|
]),
|
|
3588
3597
|
_: 1
|
|
3589
3598
|
}, 8, ["modelValue", "label", "value"]))), 128))
|
|
3590
|
-
])) : (v(),
|
|
3591
|
-
])) : (v(),
|
|
3599
|
+
])) : (v(), S("p", Ll, P(B.value), 1))
|
|
3600
|
+
])) : (v(), S("div", Rl, [
|
|
3592
3601
|
u[39] || (u[39] = p("p", { class: "mb-3 pt-3 font-weight-bold" }, "导出提示", -1)),
|
|
3593
3602
|
p("p", {
|
|
3594
|
-
class:
|
|
3603
|
+
class: le([Z(g).servState == "1" ? "text-green" : "text-red", "mb-3 text-body-2"])
|
|
3595
3604
|
}, [
|
|
3596
3605
|
n(fe, {
|
|
3597
3606
|
size: "20",
|
|
3598
3607
|
color: Z(g).servState == "1" ? "green" : "red"
|
|
3599
3608
|
}, {
|
|
3600
3609
|
default: l(() => [
|
|
3601
|
-
_(
|
|
3610
|
+
_(P(Z(g).servState == "1" ? "mdi-progress-check" : "mdi-progress-close"), 1)
|
|
3602
3611
|
]),
|
|
3603
3612
|
_: 1
|
|
3604
3613
|
}, 8, ["color"]),
|
|
3605
3614
|
u[37] || (u[37] = _(" 导出数据仅限已服务信息 ", -1))
|
|
3606
3615
|
], 2),
|
|
3607
3616
|
p("p", {
|
|
3608
|
-
class:
|
|
3617
|
+
class: le(["mb-2 text-body-2", R.value ? "text-green" : "text-red"])
|
|
3609
3618
|
}, [
|
|
3610
3619
|
n(fe, {
|
|
3611
3620
|
size: "20",
|
|
3612
3621
|
color: R.value ? "green" : "red"
|
|
3613
3622
|
}, {
|
|
3614
3623
|
default: l(() => [
|
|
3615
|
-
_(
|
|
3624
|
+
_(P(R.value ? "mdi-progress-check" : "mdi-progress-close"), 1)
|
|
3616
3625
|
]),
|
|
3617
3626
|
_: 1
|
|
3618
3627
|
}, 8, ["color"]),
|
|
@@ -3644,7 +3653,7 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3644
3653
|
n(Je, {
|
|
3645
3654
|
modelValue: Z(g),
|
|
3646
3655
|
"onUpdate:modelValue": u[17] || (u[17] = (O) => Ot(g) ? g.value = O : null),
|
|
3647
|
-
onSearch:
|
|
3656
|
+
onSearch: oe,
|
|
3648
3657
|
placeholder: "输入姓名/身份证查询",
|
|
3649
3658
|
styles: "width:320px"
|
|
3650
3659
|
}, {
|
|
@@ -3667,11 +3676,11 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3667
3676
|
"onUpdate:modelValue": u[5] || (u[5] = (O) => Z(g).areaCode = O),
|
|
3668
3677
|
styles: "width:100%"
|
|
3669
3678
|
}, null, 8, ["modelValue"]),
|
|
3670
|
-
c.value == 0 ? (v(),
|
|
3671
|
-
n(
|
|
3679
|
+
c.value == 0 ? (v(), S("div", Yl, [
|
|
3680
|
+
n(se, {
|
|
3672
3681
|
modelValue: Z(g).servState,
|
|
3673
3682
|
"onUpdate:modelValue": u[6] || (u[6] = (O) => Z(g).servState = O),
|
|
3674
|
-
onChange:
|
|
3683
|
+
onChange: oe,
|
|
3675
3684
|
placeholder: "服务状态",
|
|
3676
3685
|
list: "0:服务中/1:已服务",
|
|
3677
3686
|
class: "mt-3 d-inline-block mr-3 mb-3",
|
|
@@ -3681,10 +3690,10 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3681
3690
|
variant: "outlined",
|
|
3682
3691
|
clearable: ""
|
|
3683
3692
|
}, null, 8, ["modelValue"]),
|
|
3684
|
-
n(
|
|
3693
|
+
n(se, {
|
|
3685
3694
|
modelValue: Z(g).rateState,
|
|
3686
3695
|
"onUpdate:modelValue": u[7] || (u[7] = (O) => Z(g).rateState = O),
|
|
3687
|
-
onChange:
|
|
3696
|
+
onChange: oe,
|
|
3688
3697
|
placeholder: "是否评价",
|
|
3689
3698
|
list: "0:未评价/1:已评价",
|
|
3690
3699
|
class: "mt-3 d-inline-block",
|
|
@@ -3769,9 +3778,9 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3769
3778
|
]),
|
|
3770
3779
|
_: 1
|
|
3771
3780
|
}, 8, ["modelValue"]),
|
|
3772
|
-
Z(g).servState == "1" ? (v(), W(
|
|
3781
|
+
Z(g).servState == "1" ? (v(), W(se, {
|
|
3773
3782
|
key: 0,
|
|
3774
|
-
onChange:
|
|
3783
|
+
onChange: oe,
|
|
3775
3784
|
modelValue: Z(g).state,
|
|
3776
3785
|
"onUpdate:modelValue": u[16] || (u[16] = (O) => Z(g).state = O),
|
|
3777
3786
|
class: "mt-3",
|
|
@@ -3806,25 +3815,25 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3806
3815
|
onClick: (ve) => E(O)
|
|
3807
3816
|
}, [
|
|
3808
3817
|
p("p", Wl, [
|
|
3809
|
-
_(
|
|
3810
|
-
p("span", ql,
|
|
3818
|
+
_(P(O.objsName), 1),
|
|
3819
|
+
p("span", ql, P(Me(O.objsCode)), 1),
|
|
3811
3820
|
n(Le, {
|
|
3812
|
-
class:
|
|
3821
|
+
class: le(["ml-2", Ie(O.servState)]),
|
|
3813
3822
|
size: "small",
|
|
3814
3823
|
label: ""
|
|
3815
3824
|
}, {
|
|
3816
3825
|
default: l(() => [
|
|
3817
|
-
_(
|
|
3826
|
+
_(P(je(O.servState)), 1)
|
|
3818
3827
|
]),
|
|
3819
3828
|
_: 2
|
|
3820
3829
|
}, 1032, ["class"]),
|
|
3821
3830
|
n(Le, {
|
|
3822
|
-
class:
|
|
3831
|
+
class: le(["ml-2", Ue(O.rateState)]),
|
|
3823
3832
|
size: "small",
|
|
3824
3833
|
label: ""
|
|
3825
3834
|
}, {
|
|
3826
3835
|
default: l(() => [
|
|
3827
|
-
_(
|
|
3836
|
+
_(P(Fe(O.rateState)), 1)
|
|
3828
3837
|
]),
|
|
3829
3838
|
_: 2
|
|
3830
3839
|
}, 1032, ["class"])
|
|
@@ -3836,7 +3845,7 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3836
3845
|
label: ""
|
|
3837
3846
|
}, {
|
|
3838
3847
|
default: l(() => [
|
|
3839
|
-
_(" 事项编码:" +
|
|
3848
|
+
_(" 事项编码:" + P(O.projCode), 1)
|
|
3840
3849
|
]),
|
|
3841
3850
|
_: 2
|
|
3842
3851
|
}, 1024),
|
|
@@ -3846,7 +3855,7 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3846
3855
|
label: ""
|
|
3847
3856
|
}, {
|
|
3848
3857
|
default: l(() => [
|
|
3849
|
-
_(" 办件编号:" +
|
|
3858
|
+
_(" 办件编号:" + P(O.inst), 1)
|
|
3850
3859
|
]),
|
|
3851
3860
|
_: 2
|
|
3852
3861
|
}, 1024)
|
|
@@ -3854,9 +3863,9 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3854
3863
|
p("div", Jl, [
|
|
3855
3864
|
p("div", Kl, [
|
|
3856
3865
|
u[44] || (u[44] = _(" 服务名称:", -1)),
|
|
3857
|
-
p("span", Hl,
|
|
3866
|
+
p("span", Hl, P(O.projName), 1)
|
|
3858
3867
|
]),
|
|
3859
|
-
p("span", null, "补助金额:" +
|
|
3868
|
+
p("span", null, "补助金额:" + P(O.servAmts) + "元", 1)
|
|
3860
3869
|
]),
|
|
3861
3870
|
n($t, {
|
|
3862
3871
|
class: "py-2",
|
|
@@ -3869,7 +3878,7 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3869
3878
|
title: O.name,
|
|
3870
3879
|
class: "d-block",
|
|
3871
3880
|
style: { color: "#979797c2" }
|
|
3872
|
-
}, "申请途径:" +
|
|
3881
|
+
}, "申请途径:" + P(ze(O.servFrom)), 9, Ql)
|
|
3873
3882
|
]),
|
|
3874
3883
|
_: 2
|
|
3875
3884
|
}, 1024),
|
|
@@ -3879,7 +3888,7 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3879
3888
|
title: O.name,
|
|
3880
3889
|
class: "d-block",
|
|
3881
3890
|
style: { color: "#979797c2" }
|
|
3882
|
-
}, "申请时间:" +
|
|
3891
|
+
}, "申请时间:" + P(Pe(O.servCtime)), 9, Gl)
|
|
3883
3892
|
]),
|
|
3884
3893
|
_: 2
|
|
3885
3894
|
}, 1024)
|
|
@@ -3891,13 +3900,13 @@ const Ol = { key: 0 }, Bl = {
|
|
|
3891
3900
|
"item.actions": l(({ item: O }) => {
|
|
3892
3901
|
var ve;
|
|
3893
3902
|
return [
|
|
3894
|
-
O.state != 0 && ((ve = o.value.areacode) == null ? void 0 : ve.length) == 6 && O.servState == "1" ? (v(),
|
|
3903
|
+
O.state != 0 && ((ve = o.value.areacode) == null ? void 0 : ve.length) == 6 && O.servState == "1" ? (v(), S("a", {
|
|
3895
3904
|
key: 0,
|
|
3896
3905
|
onClick: (Xe) => Ce(O),
|
|
3897
3906
|
class: "text-error",
|
|
3898
3907
|
text: ""
|
|
3899
3908
|
}, "作废", 8, Xl)) : J("", !0),
|
|
3900
|
-
O.state == 0 ? (v(),
|
|
3909
|
+
O.state == 0 ? (v(), S("div", Zl)) : J("", !0)
|
|
3901
3910
|
];
|
|
3902
3911
|
}),
|
|
3903
3912
|
"no-data": l(() => [
|
|
@@ -4032,7 +4041,7 @@ const Ol = { key: 0 }, Bl = {
|
|
|
4032
4041
|
"onUpdate:modelValue": b
|
|
4033
4042
|
}), {
|
|
4034
4043
|
default: l(() => [
|
|
4035
|
-
(v(!0),
|
|
4044
|
+
(v(!0), S(ae, null, ie(m.value, (f) => (v(), W(o, {
|
|
4036
4045
|
key: f.id || f.code,
|
|
4037
4046
|
label: f.codeValue,
|
|
4038
4047
|
value: f.code
|
|
@@ -4077,7 +4086,7 @@ const Ol = { key: 0 }, Bl = {
|
|
|
4077
4086
|
};
|
|
4078
4087
|
return (c, f) => {
|
|
4079
4088
|
const M = d("VBadge"), R = d("VTextField"), B = d("VIcon"), A = d("VBtn"), V = d("VCardTitle"), x = d("VCardText"), N = d("VSpacer"), U = d("VCardActions"), Y = d("VCard"), j = d("VMenu");
|
|
4080
|
-
return v(),
|
|
4089
|
+
return v(), S("div", tn, [
|
|
4081
4090
|
n(j, {
|
|
4082
4091
|
modelValue: m.value,
|
|
4083
4092
|
"onUpdate:modelValue": [
|
|
@@ -4287,17 +4296,17 @@ const Ol = { key: 0 }, Bl = {
|
|
|
4287
4296
|
default: l(() => [
|
|
4288
4297
|
n(b, { class: "stepList" }, {
|
|
4289
4298
|
default: l(() => [
|
|
4290
|
-
(v(!0),
|
|
4299
|
+
(v(!0), S(ae, null, ie(i.value, (f, M) => (v(), W(y, {
|
|
4291
4300
|
class: "pl-0 colItem",
|
|
4292
4301
|
key: M,
|
|
4293
4302
|
style: {}
|
|
4294
4303
|
}, {
|
|
4295
4304
|
default: l(() => [
|
|
4296
4305
|
p("div", {
|
|
4297
|
-
class:
|
|
4306
|
+
class: le(["first-box1 last-box pl-10 py-5 stepItem", t.value > M ? "selected" : ""]),
|
|
4298
4307
|
complete: t.value > M,
|
|
4299
4308
|
step: M + 1
|
|
4300
|
-
},
|
|
4309
|
+
}, P(f), 11, nn)
|
|
4301
4310
|
]),
|
|
4302
4311
|
_: 2
|
|
4303
4312
|
}, 1024))), 128))
|
|
@@ -4309,7 +4318,7 @@ const Ol = { key: 0 }, Bl = {
|
|
|
4309
4318
|
}),
|
|
4310
4319
|
n(o, null, {
|
|
4311
4320
|
default: l(() => [
|
|
4312
|
-
(v(!0),
|
|
4321
|
+
(v(!0), S(ae, null, ie(e.list, (f, M) => (v(), W(g, {
|
|
4313
4322
|
key: M,
|
|
4314
4323
|
value: M + 1
|
|
4315
4324
|
}, {
|
|
@@ -4689,13 +4698,13 @@ const _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4689
4698
|
default: l(() => [
|
|
4690
4699
|
n(y, null, {
|
|
4691
4700
|
default: l(() => [
|
|
4692
|
-
_(
|
|
4701
|
+
_(P(i.value.title), 1)
|
|
4693
4702
|
]),
|
|
4694
4703
|
_: 1
|
|
4695
4704
|
}),
|
|
4696
4705
|
i.value.text ? (v(), W(b, { key: 0 }, {
|
|
4697
4706
|
default: l(() => [
|
|
4698
|
-
_(
|
|
4707
|
+
_(P(i.value.text), 1)
|
|
4699
4708
|
]),
|
|
4700
4709
|
_: 1
|
|
4701
4710
|
})) : J("", !0),
|
|
@@ -4751,13 +4760,13 @@ const _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4751
4760
|
default: l(() => [
|
|
4752
4761
|
n(b, null, {
|
|
4753
4762
|
default: l(() => [
|
|
4754
|
-
_(
|
|
4763
|
+
_(P(i.value.title), 1)
|
|
4755
4764
|
]),
|
|
4756
4765
|
_: 1
|
|
4757
4766
|
}),
|
|
4758
4767
|
i.value.text ? (v(), W(h, { key: 0 }, {
|
|
4759
4768
|
default: l(() => [
|
|
4760
|
-
_(
|
|
4769
|
+
_(P(i.value.text), 1)
|
|
4761
4770
|
]),
|
|
4762
4771
|
_: 1
|
|
4763
4772
|
})) : J("", !0),
|
|
@@ -4769,7 +4778,7 @@ const _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4769
4778
|
onClick: m
|
|
4770
4779
|
}, {
|
|
4771
4780
|
default: l(() => [
|
|
4772
|
-
_(
|
|
4781
|
+
_(P(i.value.cancelText || "取消"), 1)
|
|
4773
4782
|
]),
|
|
4774
4783
|
_: 1
|
|
4775
4784
|
}),
|
|
@@ -4778,7 +4787,7 @@ const _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4778
4787
|
onClick: r
|
|
4779
4788
|
}, {
|
|
4780
4789
|
default: l(() => [
|
|
4781
|
-
_(
|
|
4790
|
+
_(P(i.value.confirmText || "确定"), 1)
|
|
4782
4791
|
]),
|
|
4783
4792
|
_: 1
|
|
4784
4793
|
})
|
|
@@ -4824,7 +4833,7 @@ const _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4824
4833
|
}, Nn = {
|
|
4825
4834
|
key: 0,
|
|
4826
4835
|
class: "mt-2"
|
|
4827
|
-
},
|
|
4836
|
+
}, Pn = {
|
|
4828
4837
|
__name: "prompt",
|
|
4829
4838
|
setup(e) {
|
|
4830
4839
|
const a = _e(), t = C(""), i = H(() => {
|
|
@@ -4853,7 +4862,7 @@ const _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4853
4862
|
default: l(() => [
|
|
4854
4863
|
n(h, null, {
|
|
4855
4864
|
default: l(() => [
|
|
4856
|
-
_(
|
|
4865
|
+
_(P(r.value.title), 1)
|
|
4857
4866
|
]),
|
|
4858
4867
|
_: 1
|
|
4859
4868
|
}),
|
|
@@ -4868,7 +4877,7 @@ const _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4868
4877
|
outlined: "",
|
|
4869
4878
|
dense: ""
|
|
4870
4879
|
}, null, 8, ["modelValue", "label", "placeholder", "type"]),
|
|
4871
|
-
r.value.text ? (v(),
|
|
4880
|
+
r.value.text ? (v(), S("div", Nn, P(r.value.text), 1)) : J("", !0)
|
|
4872
4881
|
]),
|
|
4873
4882
|
_: 1
|
|
4874
4883
|
}),
|
|
@@ -4880,7 +4889,7 @@ const _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4880
4889
|
onClick: s
|
|
4881
4890
|
}, {
|
|
4882
4891
|
default: l(() => [
|
|
4883
|
-
_(
|
|
4892
|
+
_(P(r.value.cancelText || "取消"), 1)
|
|
4884
4893
|
]),
|
|
4885
4894
|
_: 1
|
|
4886
4895
|
}),
|
|
@@ -4889,7 +4898,7 @@ const _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4889
4898
|
onClick: m
|
|
4890
4899
|
}, {
|
|
4891
4900
|
default: l(() => [
|
|
4892
|
-
_(
|
|
4901
|
+
_(P(r.value.confirmText || "确定"), 1)
|
|
4893
4902
|
]),
|
|
4894
4903
|
_: 1
|
|
4895
4904
|
})
|
|
@@ -4904,7 +4913,7 @@ const _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4904
4913
|
}, 8, ["modelValue", "width"]);
|
|
4905
4914
|
};
|
|
4906
4915
|
}
|
|
4907
|
-
},
|
|
4916
|
+
}, In = {
|
|
4908
4917
|
__name: "toast",
|
|
4909
4918
|
setup(e) {
|
|
4910
4919
|
const a = _e(), t = H({
|
|
@@ -4953,25 +4962,25 @@ const _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4953
4962
|
})
|
|
4954
4963
|
]),
|
|
4955
4964
|
default: l(() => [
|
|
4956
|
-
_(
|
|
4965
|
+
_(P(i.value.text) + " ", 1)
|
|
4957
4966
|
]),
|
|
4958
4967
|
_: 1
|
|
4959
4968
|
}, 8, ["modelValue", "timeout", "color"]);
|
|
4960
4969
|
};
|
|
4961
4970
|
}
|
|
4962
|
-
}, jn = /* @__PURE__ */ ue(
|
|
4971
|
+
}, jn = /* @__PURE__ */ ue(In, [["__scopeId", "data-v-c08037e4"]]), Un = {
|
|
4963
4972
|
name: "vtkMessage",
|
|
4964
4973
|
components: {
|
|
4965
4974
|
vtkAlert: An,
|
|
4966
4975
|
vtkConfirm: Tn,
|
|
4967
4976
|
vtkLoading: Mn,
|
|
4968
|
-
vtkPrompt:
|
|
4977
|
+
vtkPrompt: Pn,
|
|
4969
4978
|
vtkToast: jn
|
|
4970
4979
|
}
|
|
4971
4980
|
}, Fn = { class: "text-center" };
|
|
4972
4981
|
function zn(e, a, t, i, r, m) {
|
|
4973
4982
|
const s = d("vtk-alert"), y = d("vtk-confirm"), b = d("vtk-loading"), h = d("vtk-prompt"), g = d("vtk-toast");
|
|
4974
|
-
return v(),
|
|
4983
|
+
return v(), S("div", Fn, [
|
|
4975
4984
|
n(s),
|
|
4976
4985
|
n(y),
|
|
4977
4986
|
n(b),
|