@yxhl/specter-pui-vtk 1.0.31 → 1.0.32
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
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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
|
|
2
|
-
import
|
|
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 je, computed as R, withCtx as n, createTextVNode as b, 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 L, isRef as It } from "vue";
|
|
2
|
+
import jt from "axios";
|
|
3
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") => {
|
|
@@ -127,7 +127,7 @@ const te = Ut("message", {
|
|
|
127
127
|
hide(e) {
|
|
128
128
|
te().hide(e);
|
|
129
129
|
}
|
|
130
|
-
}, ye =
|
|
130
|
+
}, ye = jt.create({
|
|
131
131
|
baseURL: void 0,
|
|
132
132
|
headers: {
|
|
133
133
|
"X-Requested-With": "XMLHttpRequest"
|
|
@@ -141,6 +141,7 @@ ye.interceptors.request.use(
|
|
|
141
141
|
);
|
|
142
142
|
ye.interceptors.response.use(
|
|
143
143
|
(e) => {
|
|
144
|
+
console.log("import.meta.env.VITE_APP_API_URL--", void 0);
|
|
144
145
|
let t = e.data, o = e.headers["content-disposition"];
|
|
145
146
|
if (o != null && o.split(";")[0] == "attachment" && (t = e), e.status !== 200)
|
|
146
147
|
return G.toast(t.message || "请求失败", { color: "error" }), Promise.reject(new Error(t.message || "请求失败"));
|
|
@@ -281,10 +282,10 @@ const Z = (e, t) => {
|
|
|
281
282
|
l(m, {
|
|
282
283
|
modelValue: a.area2,
|
|
283
284
|
"onUpdate:modelValue": [
|
|
284
|
-
d[0] || (d[0] = (
|
|
285
|
-
d[1] || (d[1] = (
|
|
285
|
+
d[0] || (d[0] = (j) => a.area2 = j),
|
|
286
|
+
d[1] || (d[1] = (j) => k(a.area2, 1))
|
|
286
287
|
],
|
|
287
|
-
"onClick:clear": d[2] || (d[2] = (
|
|
288
|
+
"onClick:clear": d[2] || (d[2] = (j) => V(1)),
|
|
288
289
|
placeholder: ((w = s.value.areacode) == null ? void 0 : w.length) >= 2 ? a.name2 : "---省级---",
|
|
289
290
|
items: c.area2,
|
|
290
291
|
"item-title": "areaName",
|
|
@@ -302,10 +303,10 @@ const Z = (e, t) => {
|
|
|
302
303
|
key: 0,
|
|
303
304
|
modelValue: a.area4,
|
|
304
305
|
"onUpdate:modelValue": [
|
|
305
|
-
d[3] || (d[3] = (
|
|
306
|
-
d[4] || (d[4] = (
|
|
306
|
+
d[3] || (d[3] = (j) => a.area4 = j),
|
|
307
|
+
d[4] || (d[4] = (j) => k(a.area4, 2))
|
|
307
308
|
],
|
|
308
|
-
"onClick:clear": d[5] || (d[5] = (
|
|
309
|
+
"onClick:clear": d[5] || (d[5] = (j) => V(2)),
|
|
309
310
|
placeholder: ((A = s.value.areacode) == null ? void 0 : A.length) >= 4 ? a.name4 : "---市级---",
|
|
310
311
|
items: c.area4,
|
|
311
312
|
"item-title": "areaName",
|
|
@@ -323,10 +324,10 @@ const Z = (e, t) => {
|
|
|
323
324
|
key: 1,
|
|
324
325
|
modelValue: a.area6,
|
|
325
326
|
"onUpdate:modelValue": [
|
|
326
|
-
d[6] || (d[6] = (
|
|
327
|
-
d[7] || (d[7] = (
|
|
327
|
+
d[6] || (d[6] = (j) => a.area6 = j),
|
|
328
|
+
d[7] || (d[7] = (j) => k(a.area6, 3))
|
|
328
329
|
],
|
|
329
|
-
"onClick:clear": d[8] || (d[8] = (
|
|
330
|
+
"onClick:clear": d[8] || (d[8] = (j) => V(3)),
|
|
330
331
|
placeholder: ((f = s.value.areacode) == null ? void 0 : f.length) >= 6 ? a.name6 : "---区/县---",
|
|
331
332
|
items: c.area6,
|
|
332
333
|
"item-title": "areaName",
|
|
@@ -344,10 +345,10 @@ const Z = (e, t) => {
|
|
|
344
345
|
key: 2,
|
|
345
346
|
modelValue: a.area9,
|
|
346
347
|
"onUpdate:modelValue": [
|
|
347
|
-
d[9] || (d[9] = (
|
|
348
|
-
d[10] || (d[10] = (
|
|
348
|
+
d[9] || (d[9] = (j) => a.area9 = j),
|
|
349
|
+
d[10] || (d[10] = (j) => k(a.area9, 4))
|
|
349
350
|
],
|
|
350
|
-
"onClick:clear": d[11] || (d[11] = (
|
|
351
|
+
"onClick:clear": d[11] || (d[11] = (j) => V(4)),
|
|
351
352
|
placeholder: ((S = s.value.areacode) == null ? void 0 : S.length) >= 9 ? a.name9 : "---街/镇---",
|
|
352
353
|
items: c.area9,
|
|
353
354
|
"item-title": "areaName",
|
|
@@ -365,10 +366,10 @@ const Z = (e, t) => {
|
|
|
365
366
|
key: 3,
|
|
366
367
|
modelValue: a.area12,
|
|
367
368
|
"onUpdate:modelValue": [
|
|
368
|
-
d[12] || (d[12] = (
|
|
369
|
-
d[13] || (d[13] = (
|
|
369
|
+
d[12] || (d[12] = (j) => a.area12 = j),
|
|
370
|
+
d[13] || (d[13] = (j) => k(a.area12, 5))
|
|
370
371
|
],
|
|
371
|
-
"onClick:clear": d[14] || (d[14] = (
|
|
372
|
+
"onClick:clear": d[14] || (d[14] = (j) => V(5)),
|
|
372
373
|
placeholder: ((O = s.value.areacode) == null ? void 0 : O.length) >= 12 ? a.name12 : "---村/社---",
|
|
373
374
|
items: c.area12,
|
|
374
375
|
"item-title": "areaName",
|
|
@@ -411,7 +412,7 @@ const Z = (e, t) => {
|
|
|
411
412
|
},
|
|
412
413
|
emits: ["back"],
|
|
413
414
|
setup(e, { emit: t }) {
|
|
414
|
-
const o = e, a = t, s =
|
|
415
|
+
const o = e, a = t, s = je("router", null), c = je("route", null), u = R(() => {
|
|
415
416
|
var v, p;
|
|
416
417
|
if (o.items && o.items.length > 0)
|
|
417
418
|
return o.items.map((d, m) => ({
|
|
@@ -693,8 +694,8 @@ const Z = (e, t) => {
|
|
|
693
694
|
const f = performance.now(), g = a.start, S = a.end, P = S - g;
|
|
694
695
|
w();
|
|
695
696
|
const O = (z) => {
|
|
696
|
-
const
|
|
697
|
-
c.value = g + P * E, _(c.value),
|
|
697
|
+
const j = z - f, I = Math.min(j / a.duration, 1), E = 1 - Math.pow(1 - I, 4);
|
|
698
|
+
c.value = g + P * E, _(c.value), I < 1 ? requestAnimationFrame(O) : (c.value = S, _(S), k.value = !1, s("complete"));
|
|
698
699
|
};
|
|
699
700
|
requestAnimationFrame(O);
|
|
700
701
|
}, _ = (f) => {
|
|
@@ -800,8 +801,8 @@ const Z = (e, t) => {
|
|
|
800
801
|
disabled: P,
|
|
801
802
|
min: O,
|
|
802
803
|
max: z,
|
|
803
|
-
showCurrent:
|
|
804
|
-
format:
|
|
804
|
+
showCurrent: j,
|
|
805
|
+
format: I,
|
|
805
806
|
separator: E,
|
|
806
807
|
...Y
|
|
807
808
|
} = s;
|
|
@@ -846,7 +847,7 @@ const Z = (e, t) => {
|
|
|
846
847
|
a("update:modelValue", g), a("change", g), c.value = !1;
|
|
847
848
|
};
|
|
848
849
|
return (g, S) => {
|
|
849
|
-
const P = i("VIcon"), O = i("VTextField"), z = i("VDatePicker"),
|
|
850
|
+
const P = i("VIcon"), O = i("VTextField"), z = i("VDatePicker"), j = i("VCardText"), I = i("VDivider"), E = i("VSpacer"), Y = i("VBtn"), M = i("VCardActions"), J = i("VCard"), W = i("VMenu");
|
|
850
851
|
return h(), U("div", Wt, [
|
|
851
852
|
l(W, {
|
|
852
853
|
modelValue: c.value,
|
|
@@ -883,7 +884,7 @@ const Z = (e, t) => {
|
|
|
883
884
|
default: n(() => [
|
|
884
885
|
l(J, { style: { width: "650px" } }, {
|
|
885
886
|
default: n(() => [
|
|
886
|
-
l(
|
|
887
|
+
l(j, { class: "pa-0" }, {
|
|
887
888
|
default: n(() => [
|
|
888
889
|
x("div", Jt, [
|
|
889
890
|
l(z, {
|
|
@@ -914,7 +915,7 @@ const Z = (e, t) => {
|
|
|
914
915
|
]),
|
|
915
916
|
_: 1
|
|
916
917
|
}),
|
|
917
|
-
l(
|
|
918
|
+
l(I),
|
|
918
919
|
l(M, null, {
|
|
919
920
|
default: n(() => [
|
|
920
921
|
l(E),
|
|
@@ -1287,7 +1288,7 @@ const Z = (e, t) => {
|
|
|
1287
1288
|
a.value += A;
|
|
1288
1289
|
};
|
|
1289
1290
|
return (A, _) => {
|
|
1290
|
-
const f = i("v-progress-circular"), g = i("v-img"), S = i("VCardTitle"), P = i("v-card-subtitle"), O = i("VCard"), z = i("VIcon"),
|
|
1291
|
+
const f = i("v-progress-circular"), g = i("v-img"), S = i("VCardTitle"), P = i("v-card-subtitle"), O = i("VCard"), z = i("VIcon"), j = i("VBtn"), I = i("v-toolbar-title"), E = i("VSpacer"), Y = i("v-toolbar-items"), M = i("v-toolbar"), J = i("VDialog");
|
|
1291
1292
|
return h(), U("div", oa, [
|
|
1292
1293
|
l(O, {
|
|
1293
1294
|
class: K(["vtk-img-card", { "vtk-img-card--preview": e.preview }]),
|
|
@@ -1348,7 +1349,7 @@ const Z = (e, t) => {
|
|
|
1348
1349
|
color: "primary"
|
|
1349
1350
|
}, {
|
|
1350
1351
|
default: n(() => [
|
|
1351
|
-
l(
|
|
1352
|
+
l(j, {
|
|
1352
1353
|
icon: "",
|
|
1353
1354
|
dark: "",
|
|
1354
1355
|
onClick: d
|
|
@@ -1363,7 +1364,7 @@ const Z = (e, t) => {
|
|
|
1363
1364
|
]),
|
|
1364
1365
|
_: 1
|
|
1365
1366
|
}),
|
|
1366
|
-
l(
|
|
1367
|
+
l(I, null, {
|
|
1367
1368
|
default: n(() => [
|
|
1368
1369
|
b(D(y.value), 1)
|
|
1369
1370
|
]),
|
|
@@ -1372,7 +1373,7 @@ const Z = (e, t) => {
|
|
|
1372
1373
|
l(E),
|
|
1373
1374
|
l(Y, null, {
|
|
1374
1375
|
default: n(() => [
|
|
1375
|
-
l(
|
|
1376
|
+
l(j, {
|
|
1376
1377
|
icon: "",
|
|
1377
1378
|
dark: "",
|
|
1378
1379
|
onClick: _[0] || (_[0] = (W) => N(-90))
|
|
@@ -1387,7 +1388,7 @@ const Z = (e, t) => {
|
|
|
1387
1388
|
]),
|
|
1388
1389
|
_: 1
|
|
1389
1390
|
}),
|
|
1390
|
-
l(
|
|
1391
|
+
l(j, {
|
|
1391
1392
|
icon: "",
|
|
1392
1393
|
dark: "",
|
|
1393
1394
|
onClick: _[1] || (_[1] = (W) => N(90))
|
|
@@ -1409,7 +1410,7 @@ const Z = (e, t) => {
|
|
|
1409
1410
|
_: 1
|
|
1410
1411
|
}),
|
|
1411
1412
|
x("div", ia, [
|
|
1412
|
-
V.value ? (h(), B(
|
|
1413
|
+
V.value ? (h(), B(j, {
|
|
1413
1414
|
key: 0,
|
|
1414
1415
|
icon: "",
|
|
1415
1416
|
class: "nav-button prev-button",
|
|
@@ -1432,7 +1433,7 @@ const Z = (e, t) => {
|
|
|
1432
1433
|
style: ae({ transform: `rotate(${a.value}deg)` })
|
|
1433
1434
|
}, null, 8, ["src", "style"])
|
|
1434
1435
|
]),
|
|
1435
|
-
v.value ? (h(), B(
|
|
1436
|
+
v.value ? (h(), B(j, {
|
|
1436
1437
|
key: 1,
|
|
1437
1438
|
icon: "",
|
|
1438
1439
|
class: "nav-button next-button",
|
|
@@ -1661,7 +1662,7 @@ const Z = (e, t) => {
|
|
|
1661
1662
|
return Oe(() => {
|
|
1662
1663
|
k = null;
|
|
1663
1664
|
}), (_, f) => {
|
|
1664
|
-
const g = i("VIcon"), S = i("VCardTitle"), P = i("v-card-subtitle"), O = i("VCard"), z = i("VBtn"),
|
|
1665
|
+
const g = i("VIcon"), S = i("VCardTitle"), P = i("v-card-subtitle"), O = i("VCard"), z = i("VBtn"), j = i("v-toolbar-title"), I = 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");
|
|
1665
1666
|
return h(), U("div", Va, [
|
|
1666
1667
|
l(O, {
|
|
1667
1668
|
class: K(["vtk-pdf-card", { "vtk-pdf-card--preview": e.preview }]),
|
|
@@ -1736,13 +1737,13 @@ const Z = (e, t) => {
|
|
|
1736
1737
|
]),
|
|
1737
1738
|
_: 1
|
|
1738
1739
|
}),
|
|
1739
|
-
l(
|
|
1740
|
+
l(j, null, {
|
|
1740
1741
|
default: n(() => [
|
|
1741
1742
|
b(D(e.title), 1)
|
|
1742
1743
|
]),
|
|
1743
1744
|
_: 1
|
|
1744
1745
|
}),
|
|
1745
|
-
l(
|
|
1746
|
+
l(I),
|
|
1746
1747
|
l(E, null, {
|
|
1747
1748
|
default: n(() => [
|
|
1748
1749
|
l(z, {
|
|
@@ -1868,11 +1869,11 @@ function Sa(e = {}) {
|
|
|
1868
1869
|
}), u = $({}), y = $({}), k = $([]), V = $(!1), v = $({}), p = pe(e), d = () => {
|
|
1869
1870
|
var Y;
|
|
1870
1871
|
v.value = se.get("user"), t.areaCode || (t.areaCode = (Y = v.value) == null ? void 0 : Y.areacode);
|
|
1871
|
-
const
|
|
1872
|
+
const I = Object.assign({}, t);
|
|
1872
1873
|
return {
|
|
1873
1874
|
pageno: c.pageno,
|
|
1874
1875
|
limit: c.limit,
|
|
1875
|
-
codex:
|
|
1876
|
+
codex: I
|
|
1876
1877
|
};
|
|
1877
1878
|
}, m = () => {
|
|
1878
1879
|
var E, Y;
|
|
@@ -1880,8 +1881,8 @@ function Sa(e = {}) {
|
|
|
1880
1881
|
G.toast("请先设置url.list属性", { color: "warning" });
|
|
1881
1882
|
return;
|
|
1882
1883
|
}
|
|
1883
|
-
const
|
|
1884
|
-
a.value = !0, (Y = (E = window.$vtk) == null ? void 0 : E.message) != null && Y.loading && window.$vtk.message.loading.show(), q.postJson(p.list,
|
|
1884
|
+
const I = d();
|
|
1885
|
+
a.value = !0, (Y = (E = window.$vtk) == null ? void 0 : E.message) != null && Y.loading && window.$vtk.message.loading.show(), q.postJson(p.list, I).then((M) => {
|
|
1885
1886
|
var J, W, H;
|
|
1886
1887
|
(W = (J = window.$vtk) == null ? void 0 : J.message) != null && W.loading && window.$vtk.message.loading.hide(), (M.meta.success || M.data) && (o.value = ((H = M.data) == null ? void 0 : H.rows) || [], u.value = M.data, y.value = M.data.sumup ? M.data.sumup : {}, k.value = M.data), a.value = !1;
|
|
1887
1888
|
}).catch((M) => {
|
|
@@ -1908,10 +1909,10 @@ function Sa(e = {}) {
|
|
|
1908
1909
|
searchQuery: () => {
|
|
1909
1910
|
c.pageno = 1, c.limit ?? (c.limit = 10), m();
|
|
1910
1911
|
},
|
|
1911
|
-
getListPage: (
|
|
1912
|
-
c.pageno =
|
|
1912
|
+
getListPage: (I) => {
|
|
1913
|
+
c.pageno = I.pageno, c.limit = I.limit, m();
|
|
1913
1914
|
},
|
|
1914
|
-
deleteItem: (
|
|
1915
|
+
deleteItem: (I, E) => {
|
|
1915
1916
|
if (!p.delete) {
|
|
1916
1917
|
G.toast("请设置url.delete属性!", { color: "warning" });
|
|
1917
1918
|
return;
|
|
@@ -1919,7 +1920,7 @@ function Sa(e = {}) {
|
|
|
1919
1920
|
G.confirm(
|
|
1920
1921
|
{ title: "确认删除", text: E || "是否删除?" },
|
|
1921
1922
|
(Y) => {
|
|
1922
|
-
Y && q.getForm(p.delete, { id:
|
|
1923
|
+
Y && q.getForm(p.delete, { id: I }).then((M) => {
|
|
1923
1924
|
M.meta.success ? (G.toast("删除成功", { color: "success" }), m()) : G.toast("删除失败", { color: "warning" });
|
|
1924
1925
|
}).catch((M) => {
|
|
1925
1926
|
console.error("删除失败:", M), G.toast("删除失败", { color: "warning" });
|
|
@@ -1927,7 +1928,7 @@ function Sa(e = {}) {
|
|
|
1927
1928
|
}
|
|
1928
1929
|
);
|
|
1929
1930
|
},
|
|
1930
|
-
copyItem: (
|
|
1931
|
+
copyItem: (I, E) => {
|
|
1931
1932
|
if (!p.copy) {
|
|
1932
1933
|
G.toast("请设置url.copy!", { color: "warning" });
|
|
1933
1934
|
return;
|
|
@@ -1935,7 +1936,7 @@ function Sa(e = {}) {
|
|
|
1935
1936
|
G.confirm(
|
|
1936
1937
|
{ title: "拷贝", text: E || "是否确认拷贝当前数据?" },
|
|
1937
1938
|
(Y) => {
|
|
1938
|
-
Y && q.getForm(p.copy, { id:
|
|
1939
|
+
Y && q.getForm(p.copy, { id: I }).then((M) => {
|
|
1939
1940
|
M.meta.success ? (G.toast("拷贝成功", { color: "success" }), m()) : G.toast("拷贝失败", { color: "warning" });
|
|
1940
1941
|
}).catch((M) => {
|
|
1941
1942
|
console.error("拷贝失败:", M), G.toast("拷贝失败", { color: "warning" });
|
|
@@ -1943,11 +1944,11 @@ function Sa(e = {}) {
|
|
|
1943
1944
|
}
|
|
1944
1945
|
);
|
|
1945
1946
|
},
|
|
1946
|
-
edit: (
|
|
1947
|
-
E != null && E.value && E.value.edit(
|
|
1947
|
+
edit: (I, E) => {
|
|
1948
|
+
E != null && E.value && E.value.edit(I);
|
|
1948
1949
|
},
|
|
1949
|
-
add: (
|
|
1950
|
-
|
|
1950
|
+
add: (I) => {
|
|
1951
|
+
I != null && I.value && I.value.add();
|
|
1951
1952
|
},
|
|
1952
1953
|
modalFormOk: () => {
|
|
1953
1954
|
m();
|
|
@@ -1955,8 +1956,8 @@ function Sa(e = {}) {
|
|
|
1955
1956
|
expData: () => {
|
|
1956
1957
|
var E, Y;
|
|
1957
1958
|
V.value = !0, (Y = (E = window.$vtk) == null ? void 0 : E.message) != null && Y.loading && window.$vtk.message.loading.show();
|
|
1958
|
-
const
|
|
1959
|
-
q.exp(p.exp,
|
|
1959
|
+
const I = d();
|
|
1960
|
+
q.exp(p.exp, I).then((M) => {
|
|
1960
1961
|
var J, W;
|
|
1961
1962
|
if ((W = (J = window.$vtk) == null ? void 0 : J.message) != null && W.loading && window.$vtk.message.loading.hide(), M) {
|
|
1962
1963
|
const H = M.headers["content-disposition"], de = decodeURI(
|
|
@@ -1981,15 +1982,15 @@ function Sa(e = {}) {
|
|
|
1981
1982
|
});
|
|
1982
1983
|
},
|
|
1983
1984
|
resetQueryParams: () => {
|
|
1984
|
-
Object.keys(t).forEach((
|
|
1985
|
-
delete t[
|
|
1985
|
+
Object.keys(t).forEach((I) => {
|
|
1986
|
+
delete t[I];
|
|
1986
1987
|
});
|
|
1987
1988
|
},
|
|
1988
1989
|
resetPage: () => {
|
|
1989
1990
|
c.pageno = 1, c.limit = 10;
|
|
1990
1991
|
},
|
|
1991
|
-
updateUrlConfig: (
|
|
1992
|
-
Object.assign(p,
|
|
1992
|
+
updateUrlConfig: (I) => {
|
|
1993
|
+
Object.assign(p, I);
|
|
1993
1994
|
}
|
|
1994
1995
|
};
|
|
1995
1996
|
}
|
|
@@ -2002,7 +2003,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
2002
2003
|
}, Aa = { key: 1 }, Pa = {
|
|
2003
2004
|
key: 0,
|
|
2004
2005
|
style: { width: "400px" }
|
|
2005
|
-
}, Da = ["onClick"],
|
|
2006
|
+
}, Da = ["onClick"], Ia = { class: "vtk-cursor-pointer text-body-1 font-weight-bold mb-2" }, ja = { class: "ml-3 text-grey" }, Ua = { class: "mb-0 mt-2 text-grey" }, Na = {
|
|
2006
2007
|
class: "d-inline-block",
|
|
2007
2008
|
style: { "min-width": "320px" }
|
|
2008
2009
|
}, Oa = { class: "text-blue" }, Fa = ["title"], Ba = ["title"], Ma = ["onClick"], za = {
|
|
@@ -2032,9 +2033,9 @@ const $a = { key: 0 }, Ca = {
|
|
|
2032
2033
|
const v = k, p = $({}), d = $(1), m = $([
|
|
2033
2034
|
{ title: "事项", key: "objsName", sortable: !1 },
|
|
2034
2035
|
{ title: "状态", key: "actions", sortable: !1, align: "end" }
|
|
2035
|
-
]), w = $([]), N = $(""), A = $(""), _ = $(""), f = $(!1), g = $(!1), S = $(!1), P = $([]), O = $([]), z = $(!1),
|
|
2036
|
+
]), w = $([]), N = $(""), A = $(""), _ = $(""), f = $(!1), g = $(!1), S = $(!1), P = $([]), O = $([]), z = $(!1), j = $([]), I = $(!1), E = $({}), Y = $(""), M = $(null);
|
|
2036
2037
|
ne(P, (T) => {
|
|
2037
|
-
T.length <
|
|
2038
|
+
T.length < j.value.length && (z.value = !1);
|
|
2038
2039
|
}, { deep: !0 }), Dt(() => {
|
|
2039
2040
|
alert("onActivated"), W(), window.addEventListener("storage", (T) => {
|
|
2040
2041
|
var r;
|
|
@@ -2042,7 +2043,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
2042
2043
|
});
|
|
2043
2044
|
});
|
|
2044
2045
|
const J = (T) => {
|
|
2045
|
-
P.value = T ?
|
|
2046
|
+
P.value = T ? j.value : [];
|
|
2046
2047
|
}, W = () => {
|
|
2047
2048
|
var T;
|
|
2048
2049
|
_.value = "", f.value = !1, p.value = H(), w.value = [], (T = p.value.permits) == null || T.forEach((r) => {
|
|
@@ -2076,16 +2077,16 @@ const $a = { key: 0 }, Ca = {
|
|
|
2076
2077
|
["text", "radio", "number", "time", "checkbox", "textarea", "select"].includes(r.type) && (r.value = {
|
|
2077
2078
|
name: r.name,
|
|
2078
2079
|
valu: `${r.label}${r.valu && r.valu.includes("/") && r.valu.includes(":") ? `(${r.valu})` : ""}`
|
|
2079
|
-
}, O.value.push(r),
|
|
2080
|
+
}, O.value.push(r), j.value.push(r.value));
|
|
2080
2081
|
}) : A.value = T.meta.message;
|
|
2081
2082
|
}));
|
|
2082
2083
|
}, nt = () => {
|
|
2083
2084
|
v.fields = P.value, c();
|
|
2084
2085
|
}, ot = (T) => {
|
|
2085
|
-
|
|
2086
|
+
I.value = !0, E.value = T, Y.value = "";
|
|
2086
2087
|
}, st = () => {
|
|
2087
2088
|
Y.value && q.postForm(V.delete, { id: E.value.id, note: Y.value }).then((T) => {
|
|
2088
|
-
T.meta.success && (
|
|
2089
|
+
T.meta.success && (I.value = !1, s());
|
|
2089
2090
|
});
|
|
2090
2091
|
}, he = () => {
|
|
2091
2092
|
}, rt = (T) => T ? T.replace(/^(.{6})(?:\d+)(.{4})$/, "$1********$2") : "", it = (T) => {
|
|
@@ -2316,8 +2317,8 @@ const $a = { key: 0 }, Ca = {
|
|
|
2316
2317
|
_: 1
|
|
2317
2318
|
}),
|
|
2318
2319
|
((C = O.value) == null ? void 0 : C.length) > 0 ? (h(), U("p", Ca, [
|
|
2319
|
-
(h(!0), U(ce, null, me(O.value, (X,
|
|
2320
|
-
key:
|
|
2320
|
+
(h(!0), U(ce, null, me(O.value, (X, Ie) => (h(), B(Te, {
|
|
2321
|
+
key: Ie,
|
|
2321
2322
|
modelValue: P.value,
|
|
2322
2323
|
"onUpdate:modelValue": r[3] || (r[3] = (Ct) => P.value = Ct),
|
|
2323
2324
|
label: X.label,
|
|
@@ -2396,7 +2397,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
2396
2397
|
l(ge),
|
|
2397
2398
|
l(bt, {
|
|
2398
2399
|
modelValue: L(v),
|
|
2399
|
-
"onUpdate:modelValue": r[17] || (r[17] = (C) =>
|
|
2400
|
+
"onUpdate:modelValue": r[17] || (r[17] = (C) => It(v) ? v.value = C : null),
|
|
2400
2401
|
onSearch: ve,
|
|
2401
2402
|
placeholder: "输入姓名/身份证查询",
|
|
2402
2403
|
styles: "width:320px"
|
|
@@ -2558,9 +2559,9 @@ const $a = { key: 0 }, Ca = {
|
|
|
2558
2559
|
class: "py-3",
|
|
2559
2560
|
onClick: (X) => ue(C)
|
|
2560
2561
|
}, [
|
|
2561
|
-
x("p",
|
|
2562
|
+
x("p", Ia, [
|
|
2562
2563
|
b(D(C.objsName), 1),
|
|
2563
|
-
x("span",
|
|
2564
|
+
x("span", ja, D(rt(C.objsCode)), 1),
|
|
2564
2565
|
l(Ve, {
|
|
2565
2566
|
class: K(["ml-2", ut(C.servState)]),
|
|
2566
2567
|
size: "small",
|
|
@@ -2646,7 +2647,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
2646
2647
|
return [
|
|
2647
2648
|
C.state != 0 && ((X = p.value.areacode) == null ? void 0 : X.length) == 6 && C.servState == "1" ? (h(), U("a", {
|
|
2648
2649
|
key: 0,
|
|
2649
|
-
onClick: (
|
|
2650
|
+
onClick: (Ie) => ot(C),
|
|
2650
2651
|
class: "text-error",
|
|
2651
2652
|
text: ""
|
|
2652
2653
|
}, "作废", 8, Ma)) : F("", !0),
|
|
@@ -2675,8 +2676,8 @@ const $a = { key: 0 }, Ca = {
|
|
|
2675
2676
|
onToPage: at
|
|
2676
2677
|
}, null, 512),
|
|
2677
2678
|
l(St, {
|
|
2678
|
-
modelValue:
|
|
2679
|
-
"onUpdate:modelValue": r[21] || (r[21] = (C) =>
|
|
2679
|
+
modelValue: I.value,
|
|
2680
|
+
"onUpdate:modelValue": r[21] || (r[21] = (C) => I.value = C),
|
|
2680
2681
|
persistent: "",
|
|
2681
2682
|
"max-width": "500"
|
|
2682
2683
|
}, {
|
|
@@ -2708,7 +2709,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
2708
2709
|
default: n(() => [
|
|
2709
2710
|
l(ge),
|
|
2710
2711
|
l(be, {
|
|
2711
|
-
onClick: r[19] || (r[19] = (C) =>
|
|
2712
|
+
onClick: r[19] || (r[19] = (C) => I.value = !1),
|
|
2712
2713
|
variant: "text"
|
|
2713
2714
|
}, {
|
|
2714
2715
|
default: n(() => [...r[47] || (r[47] = [
|
|
@@ -2834,17 +2835,17 @@ const $a = { key: 0 }, Ca = {
|
|
|
2834
2835
|
l(z, {
|
|
2835
2836
|
modelValue: c.value,
|
|
2836
2837
|
"onUpdate:modelValue": [
|
|
2837
|
-
m[2] || (m[2] = (
|
|
2838
|
+
m[2] || (m[2] = (j) => c.value = j),
|
|
2838
2839
|
k
|
|
2839
2840
|
],
|
|
2840
2841
|
location: "bottom",
|
|
2841
2842
|
offset: "12",
|
|
2842
2843
|
"close-on-content-click": !1
|
|
2843
2844
|
}, {
|
|
2844
|
-
activator: n(({ props:
|
|
2845
|
+
activator: n(({ props: j }) => [
|
|
2845
2846
|
l(N, {
|
|
2846
2847
|
modelValue: u.value.condition,
|
|
2847
|
-
"onUpdate:modelValue": m[0] || (m[0] = (
|
|
2848
|
+
"onUpdate:modelValue": m[0] || (m[0] = (I) => u.value.condition = I),
|
|
2848
2849
|
placeholder: d.$attrs.placeholder || "请输入查询内容",
|
|
2849
2850
|
style: ae(d.$attrs.styles),
|
|
2850
2851
|
class: "box",
|
|
@@ -2853,7 +2854,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
2853
2854
|
"hide-details": "",
|
|
2854
2855
|
"onClick:append": v,
|
|
2855
2856
|
onKeyup: Fe(v, ["enter"]),
|
|
2856
|
-
"onClick:clear": m[1] || (m[1] = (
|
|
2857
|
+
"onClick:clear": m[1] || (m[1] = (I) => (u.value.condition = "", v())),
|
|
2857
2858
|
clearable: ""
|
|
2858
2859
|
}, {
|
|
2859
2860
|
"append-inner": n(() => [
|
|
@@ -2865,7 +2866,7 @@ const $a = { key: 0 }, Ca = {
|
|
|
2865
2866
|
class: "advanced-badge"
|
|
2866
2867
|
}, {
|
|
2867
2868
|
default: n(() => [
|
|
2868
|
-
x("span", oe(
|
|
2869
|
+
x("span", oe(j, { class: "text-blue vtk-cursor-pointer d-inline-flex align-center text-body-2" }), " 高级 ", 16)
|
|
2869
2870
|
]),
|
|
2870
2871
|
_: 2
|
|
2871
2872
|
}, 1032, ["content", "model-value"])
|