xyvcard-asset 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{assign-DzQUNp-Y.mjs → assign-4SD6S-Fb.mjs} +1 -1
- package/dist/common-CshrwPyx.mjs +26 -0
- package/dist/{edit-O1D_xFra.mjs → edit-BWhOgMw-.mjs} +1 -1
- package/dist/{edit-FdqpKRgF.mjs → edit-C4aYV45m.mjs} +2 -2
- package/dist/{edit-CCrekeeb.mjs → edit-CZujIURb.mjs} +1 -1
- package/dist/{edit-Dn-QMuy6.mjs → edit-DPssVAky.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-IWUY0BmY.mjs → edit.vue_vue_type_script_setup_true_lang-6j8bVbef.mjs} +2 -3
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CkBAP9Bk.mjs → edit.vue_vue_type_script_setup_true_lang-CjH6sYw4.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-sE0fN_pL.mjs → edit.vue_vue_type_script_setup_true_lang-CrrY9V5d.mjs} +115 -106
- package/dist/{index-De4u-LEl.mjs → index-4vX1fgzo.mjs} +2 -2
- package/dist/{index-B4vUTwSW.mjs → index-8j66ouA1.mjs} +1 -1
- package/dist/{index-DElPNxc7.mjs → index-BxfpD3CM.mjs} +2 -2
- package/dist/{index-CSMEsPcN.mjs → index-Bz6eEggE.mjs} +3 -3
- package/dist/{index-BpYjnXUI.mjs → index-C1U7BVdL.mjs} +2 -2
- package/dist/{index-BWwU9hSp.mjs → index-CDYXKnyU.mjs} +2 -2
- package/dist/{index-BK24yagy.mjs → index-CGds22-2.mjs} +145 -136
- package/dist/{index-axEqTssj.mjs → index-CKF69gMl.mjs} +3 -3
- package/dist/{index-jOcS7tqC.mjs → index-Cz4CVX5Y.mjs} +2 -2
- package/dist/{index-BvKWLFdr.mjs → index-DIKzzLQ2.mjs} +2 -2
- package/dist/{index-CgAq70-p.mjs → index-DfOZUIkb.mjs} +1 -1
- package/dist/{index-C5_f5Lce.mjs → index-Ds5MwEwr.mjs} +1 -1
- package/dist/{index-BW-5IuVN.mjs → index-_uK0Hvab.mjs} +1 -1
- package/dist/{index-FUnFB7nG.mjs → index-rSyUfdXn.mjs} +1 -1
- package/dist/index.mjs +102 -102
- package/dts/api/asset/asset-site-service/index.d.ts +2 -1
- package/dts/api/asset/asset-site-service/types.d.ts +14 -1
- package/dts/components/Upload/ImageUpload.vue.d.ts +1 -1
- package/dts/utils/common.d.ts +4 -0
- package/package.json +1 -1
- package/dist/common-kbgEWG-E.mjs +0 -24
- package/dist/index copy-CxTCJcvX.mjs +0 -75
- package/dist/index-GhvyIwc3.mjs +0 -4
- package/dist/index-pfeu6d82.mjs +0 -4
- package/dist/index.vue_vue_type_script_setup_true_lang-BhVtd4iX.mjs +0 -110
- package/dist/index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs +0 -54
- package/dist/index/345/244/207/344/273/275-BfKo5eBT.mjs +0 -323
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as X, getCurrentInstance as Z, ref as v, reactive as ee, resolveComponent as r, resolveDirective as te, openBlock as p, createElementBlock as P, createElementVNode as d, createVNode as o, withCtx as l, unref as s, withKeys as _, toDisplayString as i, createBlock as N, createTextVNode as V, withDirectives as T, isRef as Q, createCommentVNode as z } from "vue";
|
2
2
|
import { useI18n as le } from "vue-i18n";
|
3
|
-
import { a as ae } from "./index-
|
3
|
+
import { a as ae } from "./index-rSyUfdXn.mjs";
|
4
4
|
import { useTableHooks as oe } from "jmash-core";
|
5
|
-
import { D as m, S as se } from "./index-
|
6
|
-
import ne from "./edit-
|
5
|
+
import { D as m, S as se } from "./index-CGds22-2.mjs";
|
6
|
+
import ne from "./edit-C4aYV45m.mjs";
|
7
7
|
const re = { class: "app-container" }, ue = { class: "search-container" }, ie = /* @__PURE__ */ d("div", { class: "clear" }, null, -1), de = ["onClick"], De = /* @__PURE__ */ X({
|
8
8
|
__name: "index",
|
9
9
|
setup(me) {
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as M, ref as v, onBeforeMount as j, resolveComponent as c, openBlock as f, createElementBlock as k, createVNode as o, withCtx as e, createTextVNode as i, toDisplayString as l, unref as t, createBlock as h, isRef as K, createCommentVNode as g, createElementVNode as s } from "vue";
|
2
2
|
import { useRouter as U, useRoute as O } from "vue-router";
|
3
|
-
import { D as p, a as A, C as H } from "./index-
|
3
|
+
import { D as p, a as A, C as H } from "./index-CGds22-2.mjs";
|
4
4
|
import { useTableHooks as Q, routerUtil as F } from "jmash-core";
|
5
5
|
import { useI18n as G } from "vue-i18n";
|
6
|
-
import { a as C } from "./index-
|
6
|
+
import { a as C } from "./index-rSyUfdXn.mjs";
|
7
7
|
const J = { class: "app-container" }, W = /* @__PURE__ */ s("div", { class: "title-content" }, "资产信息", -1), X = { class: "cell-item" }, Y = { class: "cell-item" }, Z = { class: "cell-item" }, x = { class: "cell-item" }, ee = { class: "cell-item" }, te = { class: "cell-item" }, le = { class: "cell-item" }, se = { class: "cell-item" }, ae = /* @__PURE__ */ s("div", { class: "title-content" }, "折旧信息", -1), oe = { class: "cell-item" }, ne = { class: "cell-item" }, ie = { class: "cell-item" }, ue = { class: "cell-item" }, de = { class: "cell-item" }, re = {
|
8
8
|
key: 1,
|
9
9
|
class: "title-content"
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { defineComponent as W, ref as b, resolveComponent as n, resolveDirective as X, openBlock as f, createElementBlock as y, createElementVNode as d, createVNode as l, withCtx as o, unref as s, withKeys as I, toDisplayString as p, Fragment as Z, renderList as x, createBlock as A, createTextVNode as R, isRef as k, createCommentVNode as ee, withDirectives as te } from "vue";
|
2
|
-
import { D as _, s as le } from "./index-
|
2
|
+
import { D as _, s as le } from "./index-CGds22-2.mjs";
|
3
3
|
import { useI18n as oe } from "vue-i18n";
|
4
4
|
import { s as ae } from "./index-BwbnYpa1.mjs";
|
5
5
|
import { useTableHooks as re } from "jmash-core";
|
6
6
|
import { useRouter as ne } from "vue-router";
|
7
|
-
import { c as C } from "./common-
|
7
|
+
import { c as C } from "./common-CshrwPyx.mjs";
|
8
8
|
const se = { class: "app-container" }, ie = { class: "search-container" }, pe = /* @__PURE__ */ d("div", { class: "clear" }, null, -1), de = ["onClick"], Ie = /* @__PURE__ */ W({
|
9
9
|
__name: "index",
|
10
10
|
setup(ue) {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as K, ref as S, resolveComponent as r, resolveDirective as F, openBlock as c, createElementBlock as k, createElementVNode as y, createVNode as a, withCtx as o, unref as l, withKeys as V, createTextVNode as d, toDisplayString as u, withDirectives as g, createBlock as w, isRef as $, createCommentVNode as H } from "vue";
|
2
2
|
import { useTableHooks as M } from "jmash-core";
|
3
3
|
import { useI18n as x } from "vue-i18n";
|
4
|
-
import { D as R, a as G } from "./index-
|
4
|
+
import { D as R, a as G } from "./index-CGds22-2.mjs";
|
5
5
|
import { useRouter as J } from "vue-router";
|
6
6
|
const O = { class: "app-container" }, W = { class: "search-container" }, X = ["onClick"], ne = /* @__PURE__ */ K({
|
7
7
|
__name: "index",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as U, ref as y, resolveComponent as u, openBlock as h, createElementBlock as j, createVNode as l, withCtx as e, createTextVNode as i, toDisplayString as o, unref as t, createBlock as M, isRef as K, createCommentVNode as O, createElementVNode as s } from "vue";
|
2
2
|
import { useRouter as q, useRoute as H } from "vue-router";
|
3
|
-
import { D as g } from "./index-
|
3
|
+
import { D as g } from "./index-CGds22-2.mjs";
|
4
4
|
import { useUserStore as A, clearEmpty as I, request as R, useTableHooks as F, routerUtil as G } from "jmash-core";
|
5
5
|
import { s as J } from "./index-BwbnYpa1.mjs";
|
6
6
|
import { useI18n as Q } from "vue-i18n";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as b, ref as v, resolveComponent as l, openBlock as D, createElementBlock as w, createVNode as t, withCtx as e, createTextVNode as s, toDisplayString as o, createElementVNode as r, unref as c } from "vue";
|
2
2
|
import { useRouter as B, useRoute as V } from "vue-router";
|
3
|
-
import { D as u, s as k } from "./index-
|
3
|
+
import { D as u, s as k } from "./index-CGds22-2.mjs";
|
4
4
|
import { routerUtil as q } from "jmash-core";
|
5
5
|
const C = { class: "app-container" }, I = /* @__PURE__ */ r("div", { class: "title-content" }, "场地信息", -1), O = { class: "cell-item" }, R = { class: "cell-item" }, $ = { class: "cell-item" }, j = /* @__PURE__ */ b({
|
6
6
|
__name: "index",
|
package/dist/index.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Layout as ce, addViteMenus as Ss, addDynamicRoute as Ms, i18n as Ds } from "jmash-core";
|
2
|
-
const Ys = () => import("./index-
|
2
|
+
const Ys = () => import("./index-_uK0Hvab.mjs"), Os = () => import("./index-Ds5MwEwr.mjs"), Ts = () => import("./index-Cz4CVX5Y.mjs"), bs = () => import("./index-8j66ouA1.mjs"), xs = () => import("./index-4vX1fgzo.mjs"), Rs = [
|
3
3
|
// 场地管理
|
4
4
|
{
|
5
5
|
path: "/asset/asset-site",
|
@@ -667,7 +667,7 @@ function m(e) {
|
|
667
667
|
return t !== 0 && isFinite(t) && (s = x(t)), s;
|
668
668
|
}
|
669
669
|
var Ke = {};
|
670
|
-
function
|
670
|
+
function v(e, t) {
|
671
671
|
var s, r = t, a;
|
672
672
|
for (typeof e == "string" && (e = [e]), Z(t) && (r = function(i, n) {
|
673
673
|
n[t] = m(i);
|
@@ -675,7 +675,7 @@ function g(e, t) {
|
|
675
675
|
Ke[e[s]] = r;
|
676
676
|
}
|
677
677
|
function De(e, t) {
|
678
|
-
|
678
|
+
v(e, function(s, r, a, i) {
|
679
679
|
a._w = a._w || {}, t(s, a._w, a, i);
|
680
680
|
});
|
681
681
|
}
|
@@ -701,14 +701,14 @@ d("YY", k, b);
|
|
701
701
|
d("YYYY", dt, ut);
|
702
702
|
d("YYYYY", Ue, Ce);
|
703
703
|
d("YYYYYY", Ue, Ce);
|
704
|
-
|
705
|
-
|
704
|
+
v(["YYYYY", "YYYYYY"], Y);
|
705
|
+
v("YYYY", function(e, t) {
|
706
706
|
t[Y] = e.length === 2 ? l.parseTwoDigitYear(e) : m(e);
|
707
707
|
});
|
708
|
-
|
708
|
+
v("YY", function(e, t) {
|
709
709
|
t[Y] = l.parseTwoDigitYear(e);
|
710
710
|
});
|
711
|
-
|
711
|
+
v("Y", function(e, t) {
|
712
712
|
t[Y] = parseInt(e, 10);
|
713
713
|
});
|
714
714
|
function ye(e) {
|
@@ -820,10 +820,10 @@ d("MMM", function(e, t) {
|
|
820
820
|
d("MMMM", function(e, t) {
|
821
821
|
return t.monthsRegex(e);
|
822
822
|
});
|
823
|
-
|
823
|
+
v(["M", "MM"], function(e, t) {
|
824
824
|
t[G] = m(e) - 1;
|
825
825
|
});
|
826
|
-
|
826
|
+
v(["MMM", "MMMM"], function(e, t, s, r) {
|
827
827
|
var a = s._locale.monthsParse(e, r, s._strict);
|
828
828
|
a != null ? t[G] = a : c(s).invalidMonth = e;
|
829
829
|
});
|
@@ -883,10 +883,10 @@ function qt(e) {
|
|
883
883
|
function wr() {
|
884
884
|
return ft(this.year(), this.month());
|
885
885
|
}
|
886
|
-
function
|
886
|
+
function gr(e) {
|
887
887
|
return this._monthsParseExact ? (w(this, "_monthsRegex") || zt.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (w(this, "_monthsShortRegex") || (this._monthsShortRegex = hr), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
888
888
|
}
|
889
|
-
function
|
889
|
+
function vr(e) {
|
890
890
|
return this._monthsParseExact ? (w(this, "_monthsRegex") || zt.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (w(this, "_monthsRegex") || (this._monthsRegex = fr), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
|
891
891
|
}
|
892
892
|
function zt() {
|
@@ -908,12 +908,12 @@ function pr(e, t, s, r, a, i, n) {
|
|
908
908
|
var u;
|
909
909
|
return e < 100 && e >= 0 ? (u = new Date(e + 400, t, s, r, a, i, n), isFinite(u.getFullYear()) && u.setFullYear(e)) : u = new Date(e, t, s, r, a, i, n), u;
|
910
910
|
}
|
911
|
-
function
|
911
|
+
function ge(e) {
|
912
912
|
var t, s;
|
913
913
|
return e < 100 && e >= 0 ? (s = Array.prototype.slice.call(arguments), s[0] = e + 400, t = new Date(Date.UTC.apply(null, s)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t;
|
914
914
|
}
|
915
915
|
function Ne(e, t, s) {
|
916
|
-
var r = 7 + t - s, a = (7 +
|
916
|
+
var r = 7 + t - s, a = (7 + ge(e, 0, r).getUTCDay() - t) % 7;
|
917
917
|
return -a + r - 1;
|
918
918
|
}
|
919
919
|
function Zt(e, t, s, r, a) {
|
@@ -923,7 +923,7 @@ function Zt(e, t, s, r, a) {
|
|
923
923
|
dayOfYear: _
|
924
924
|
};
|
925
925
|
}
|
926
|
-
function
|
926
|
+
function ve(e, t, s) {
|
927
927
|
var r = Ne(e.year(), t, s), a = Math.floor((e.dayOfYear() - r - 1) / 7) + 1, i, n;
|
928
928
|
return a < 1 ? (n = e.year() - 1, i = a + z(n, t, s)) : a > z(e.year(), t, s) ? (i = a - z(e.year(), t, s), n = e.year() + 1) : (n = e.year(), i = a), {
|
929
929
|
week: i,
|
@@ -947,7 +947,7 @@ De(
|
|
947
947
|
}
|
948
948
|
);
|
949
949
|
function kr(e) {
|
950
|
-
return
|
950
|
+
return ve(e, this._week.dow, this._week.doy).week;
|
951
951
|
}
|
952
952
|
var Sr = {
|
953
953
|
dow: 0,
|
@@ -966,7 +966,7 @@ function Yr(e) {
|
|
966
966
|
return e == null ? t : this.add((e - t) * 7, "d");
|
967
967
|
}
|
968
968
|
function Or(e) {
|
969
|
-
var t =
|
969
|
+
var t = ve(this, 1, 4).week;
|
970
970
|
return e == null ? t : this.add((e - t) * 7, "d");
|
971
971
|
}
|
972
972
|
h("d", 0, "do", "day");
|
@@ -1152,30 +1152,30 @@ d("hmm", Ut);
|
|
1152
1152
|
d("hmmss", At);
|
1153
1153
|
d("Hmm", Ut);
|
1154
1154
|
d("Hmmss", At);
|
1155
|
-
|
1156
|
-
|
1155
|
+
v(["H", "HH"], D);
|
1156
|
+
v(["k", "kk"], function(e, t, s) {
|
1157
1157
|
var r = m(e);
|
1158
1158
|
t[D] = r === 24 ? 0 : r;
|
1159
1159
|
});
|
1160
|
-
|
1160
|
+
v(["a", "A"], function(e, t, s) {
|
1161
1161
|
s._isPm = s._locale.isPM(e), s._meridiem = e;
|
1162
1162
|
});
|
1163
|
-
|
1163
|
+
v(["h", "hh"], function(e, t, s) {
|
1164
1164
|
t[D] = m(e), c(s).bigHour = !0;
|
1165
1165
|
});
|
1166
|
-
|
1166
|
+
v("hmm", function(e, t, s) {
|
1167
1167
|
var r = e.length - 2;
|
1168
1168
|
t[D] = m(e.substr(0, r)), t[P] = m(e.substr(r)), c(s).bigHour = !0;
|
1169
1169
|
});
|
1170
|
-
|
1170
|
+
v("hmmss", function(e, t, s) {
|
1171
1171
|
var r = e.length - 4, a = e.length - 2;
|
1172
1172
|
t[D] = m(e.substr(0, r)), t[P] = m(e.substr(r, 2)), t[j] = m(e.substr(a)), c(s).bigHour = !0;
|
1173
1173
|
});
|
1174
|
-
|
1174
|
+
v("Hmm", function(e, t, s) {
|
1175
1175
|
var r = e.length - 2;
|
1176
1176
|
t[D] = m(e.substr(0, r)), t[P] = m(e.substr(r));
|
1177
1177
|
});
|
1178
|
-
|
1178
|
+
v("Hmmss", function(e, t, s) {
|
1179
1179
|
var r = e.length - 4, a = e.length - 2;
|
1180
1180
|
t[D] = m(e.substr(0, r)), t[P] = m(e.substr(r, 2)), t[j] = m(e.substr(a));
|
1181
1181
|
});
|
@@ -1363,7 +1363,7 @@ function Xt(e) {
|
|
1363
1363
|
e._isValid = !1;
|
1364
1364
|
return;
|
1365
1365
|
}
|
1366
|
-
e._f = n + (u || "") + (f || ""),
|
1366
|
+
e._f = n + (u || "") + (f || ""), vt(e);
|
1367
1367
|
} else
|
1368
1368
|
e._isValid = !1;
|
1369
1369
|
}
|
@@ -1416,7 +1416,7 @@ function Kt(e) {
|
|
1416
1416
|
t[7]
|
1417
1417
|
), !da(t[1], s, e))
|
1418
1418
|
return;
|
1419
|
-
e._a = s, e._tzm = ha(t[8], t[9], t[10]), e._d =
|
1419
|
+
e._a = s, e._tzm = ha(t[8], t[9], t[10]), e._d = ge.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), c(e).rfc2822 = !0;
|
1420
1420
|
} else
|
1421
1421
|
e._isValid = !1;
|
1422
1422
|
}
|
@@ -1453,14 +1453,14 @@ function ca(e) {
|
|
1453
1453
|
t.getUTCDate()
|
1454
1454
|
] : [t.getFullYear(), t.getMonth(), t.getDate()];
|
1455
1455
|
}
|
1456
|
-
function
|
1456
|
+
function gt(e) {
|
1457
1457
|
var t, s, r = [], a, i, n;
|
1458
1458
|
if (!e._d) {
|
1459
|
-
for (a = ca(e), e._w && e._a[C] == null && e._a[G] == null && ma(e), e._dayOfYear != null && (n = ie(e._a[Y], a[Y]), (e._dayOfYear > ye(n) || e._dayOfYear === 0) && (c(e)._overflowDayOfYear = !0), s =
|
1459
|
+
for (a = ca(e), e._w && e._a[C] == null && e._a[G] == null && ma(e), e._dayOfYear != null && (n = ie(e._a[Y], a[Y]), (e._dayOfYear > ye(n) || e._dayOfYear === 0) && (c(e)._overflowDayOfYear = !0), s = ge(n, 0, e._dayOfYear), e._a[G] = s.getUTCMonth(), e._a[C] = s.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
1460
1460
|
e._a[t] = r[t] = a[t];
|
1461
1461
|
for (; t < 7; t++)
|
1462
1462
|
e._a[t] = r[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
1463
|
-
e._a[D] === 24 && e._a[P] === 0 && e._a[j] === 0 && e._a[te] === 0 && (e._nextDay = !0, e._a[D] = 0), e._d = (e._useUTC ?
|
1463
|
+
e._a[D] === 24 && e._a[P] === 0 && e._a[j] === 0 && e._a[te] === 0 && (e._nextDay = !0, e._a[D] = 0), e._d = (e._useUTC ? ge : pr).apply(
|
1464
1464
|
null,
|
1465
1465
|
r
|
1466
1466
|
), i = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[D] = 24), e._w && typeof e._w.d < "u" && e._w.d !== i && (c(e).weekdayMismatch = !0);
|
@@ -1471,14 +1471,14 @@ function ma(e) {
|
|
1471
1471
|
t = e._w, t.GG != null || t.W != null || t.E != null ? (i = 1, n = 4, s = ie(
|
1472
1472
|
t.GG,
|
1473
1473
|
e._a[Y],
|
1474
|
-
|
1475
|
-
), r = ie(t.W, 1), a = ie(t.E, 1), (a < 1 || a > 7) && (f = !0)) : (i = e._locale._week.dow, n = e._locale._week.doy, _ =
|
1474
|
+
ve(p(), 1, 4).year
|
1475
|
+
), r = ie(t.W, 1), a = ie(t.E, 1), (a < 1 || a > 7) && (f = !0)) : (i = e._locale._week.dow, n = e._locale._week.doy, _ = ve(p(), i, n), s = ie(t.gg, e._a[Y], _.year), r = ie(t.w, _.week), t.d != null ? (a = t.d, (a < 0 || a > 6) && (f = !0)) : t.e != null ? (a = t.e + i, (t.e < 0 || t.e > 6) && (f = !0)) : a = i), r < 1 || r > z(s, i, n) ? c(e)._overflowWeeks = !0 : f != null ? c(e)._overflowWeekday = !0 : (u = Zt(s, r, a, i, n), e._a[Y] = u.year, e._dayOfYear = u.dayOfYear);
|
1476
1476
|
}
|
1477
1477
|
l.ISO_8601 = function() {
|
1478
1478
|
};
|
1479
1479
|
l.RFC_2822 = function() {
|
1480
1480
|
};
|
1481
|
-
function
|
1481
|
+
function vt(e) {
|
1482
1482
|
if (e._f === l.ISO_8601) {
|
1483
1483
|
Xt(e);
|
1484
1484
|
return;
|
@@ -1497,7 +1497,7 @@ function gt(e) {
|
|
1497
1497
|
e._locale,
|
1498
1498
|
e._a[D],
|
1499
1499
|
e._meridiem
|
1500
|
-
), _ = c(e).era, _ !== null && (e._a[Y] = e._locale.erasConvertYear(_, e._a[Y])),
|
1500
|
+
), _ = c(e).era, _ !== null && (e._a[Y] = e._locale.erasConvertYear(_, e._a[Y])), gt(e), wt(e);
|
1501
1501
|
}
|
1502
1502
|
function _a(e, t, s) {
|
1503
1503
|
var r;
|
@@ -1510,7 +1510,7 @@ function ya(e) {
|
|
1510
1510
|
return;
|
1511
1511
|
}
|
1512
1512
|
for (a = 0; a < f; a++)
|
1513
|
-
i = 0, n = !1, t = it({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[a],
|
1513
|
+
i = 0, n = !1, t = it({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[a], vt(t), at(t) && (n = !0), i += c(t).charsLeftOver, i += c(t).unusedTokens.length * 10, c(t).score = i, u ? i < r && (r = i, s = t) : (r == null || i < r || n) && (r = i, s = t, n && (u = !0));
|
1514
1514
|
Q(e, s || t);
|
1515
1515
|
}
|
1516
1516
|
function wa(e) {
|
@@ -1521,26 +1521,26 @@ function wa(e) {
|
|
1521
1521
|
function(r) {
|
1522
1522
|
return r && parseInt(r, 10);
|
1523
1523
|
}
|
1524
|
-
),
|
1524
|
+
), gt(e);
|
1525
1525
|
}
|
1526
1526
|
}
|
1527
|
-
function
|
1527
|
+
function ga(e) {
|
1528
1528
|
var t = new Se(wt(es(e)));
|
1529
1529
|
return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
|
1530
1530
|
}
|
1531
1531
|
function es(e) {
|
1532
1532
|
var t = e._i, s = e._f;
|
1533
|
-
return e._locale = e._locale || $(e._l), t === null || s === void 0 && t === "" ? Fe({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), I(t) ? new Se(wt(t)) : (ke(t) ? e._d = t : W(s) ? ya(e) : s ?
|
1533
|
+
return e._locale = e._locale || $(e._l), t === null || s === void 0 && t === "" ? Fe({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), I(t) ? new Se(wt(t)) : (ke(t) ? e._d = t : W(s) ? ya(e) : s ? vt(e) : va(e), at(e) || (e._d = null), e));
|
1534
1534
|
}
|
1535
|
-
function
|
1535
|
+
function va(e) {
|
1536
1536
|
var t = e._i;
|
1537
1537
|
T(t) ? e._d = new Date(l.now()) : ke(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? fa(e) : W(t) ? (e._a = Pt(t.slice(0), function(s) {
|
1538
1538
|
return parseInt(s, 10);
|
1539
|
-
}),
|
1539
|
+
}), gt(e)) : se(t) ? wa(e) : Z(t) ? e._d = new Date(t) : l.createFromInputFallback(e);
|
1540
1540
|
}
|
1541
1541
|
function ts(e, t, s, r, a) {
|
1542
1542
|
var i = {};
|
1543
|
-
return (t === !0 || t === !1) && (r = t, t = void 0), (s === !0 || s === !1) && (r = s, s = void 0), (se(e) && rt(e) || W(e) && e.length === 0) && (e = void 0), i._isAMomentObject = !0, i._useUTC = i._isUTC = a, i._l = s, i._i = e, i._f = t, i._strict = r,
|
1543
|
+
return (t === !0 || t === !1) && (r = t, t = void 0), (s === !0 || s === !1) && (r = s, s = void 0), (se(e) && rt(e) || W(e) && e.length === 0) && (e = void 0), i._isAMomentObject = !0, i._useUTC = i._isUTC = a, i._l = s, i._i = e, i._f = t, i._strict = r, ga(i);
|
1544
1544
|
}
|
1545
1545
|
function p(e, t, s, r) {
|
1546
1546
|
return ts(e, t, s, r, !1);
|
@@ -1634,7 +1634,7 @@ rs("Z", ":");
|
|
1634
1634
|
rs("ZZ", "");
|
1635
1635
|
d("Z", He);
|
1636
1636
|
d("ZZ", He);
|
1637
|
-
|
1637
|
+
v(["Z", "ZZ"], function(e, t, s) {
|
1638
1638
|
s._useUTC = !0, s._tzm = pt(He, e);
|
1639
1639
|
});
|
1640
1640
|
var xa = /([\+\-]|\d\d)/gi;
|
@@ -2072,7 +2072,7 @@ function yi() {
|
|
2072
2072
|
function wi() {
|
2073
2073
|
return new Date(this.valueOf());
|
2074
2074
|
}
|
2075
|
-
function
|
2075
|
+
function gi() {
|
2076
2076
|
var e = this;
|
2077
2077
|
return [
|
2078
2078
|
e.year(),
|
@@ -2084,7 +2084,7 @@ function vi() {
|
|
2084
2084
|
e.millisecond()
|
2085
2085
|
];
|
2086
2086
|
}
|
2087
|
-
function
|
2087
|
+
function vi() {
|
2088
2088
|
var e = this;
|
2089
2089
|
return {
|
2090
2090
|
years: e.year(),
|
@@ -2131,7 +2131,7 @@ d("NN", St);
|
|
2131
2131
|
d("NNN", St);
|
2132
2132
|
d("NNNN", Fi);
|
2133
2133
|
d("NNNNN", Ci);
|
2134
|
-
|
2134
|
+
v(
|
2135
2135
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
2136
2136
|
function(e, t, s, r) {
|
2137
2137
|
var a = s._locale.erasParse(e, r, s._strict);
|
@@ -2143,8 +2143,8 @@ d("yy", de);
|
|
2143
2143
|
d("yyy", de);
|
2144
2144
|
d("yyyy", de);
|
2145
2145
|
d("yo", Li);
|
2146
|
-
|
2147
|
-
|
2146
|
+
v(["y", "yy", "yyy", "yyyy"], Y);
|
2147
|
+
v(["yo"], function(e, t, s, r) {
|
2148
2148
|
var a;
|
2149
2149
|
s._locale._eraYearOrdinalRegex && (a = e.match(s._locale._eraYearOrdinalRegex)), s._locale.eraYearOrdinalParse ? t[Y] = s._locale.eraYearOrdinalParse(e, a) : t[Y] = parseInt(e, 10);
|
2150
2150
|
});
|
@@ -2318,15 +2318,15 @@ function Gi() {
|
|
2318
2318
|
}
|
2319
2319
|
function ms(e, t, s, r, a) {
|
2320
2320
|
var i;
|
2321
|
-
return e == null ?
|
2321
|
+
return e == null ? ve(this, r, a).year : (i = z(e, r, a), t > i && (t = i), ji.call(this, e, t, s, r, a));
|
2322
2322
|
}
|
2323
2323
|
function ji(e, t, s, r, a) {
|
2324
|
-
var i = Zt(e, t, s, r, a), n =
|
2324
|
+
var i = Zt(e, t, s, r, a), n = ge(i.year, 0, i.dayOfYear);
|
2325
2325
|
return this.year(n.getUTCFullYear()), this.month(n.getUTCMonth()), this.date(n.getUTCDate()), this;
|
2326
2326
|
}
|
2327
2327
|
h("Q", 0, "Qo", "quarter");
|
2328
2328
|
d("Q", Ct);
|
2329
|
-
|
2329
|
+
v("Q", function(e, t) {
|
2330
2330
|
t[G] = (m(e) - 1) * 3;
|
2331
2331
|
});
|
2332
2332
|
function qi(e) {
|
@@ -2338,15 +2338,15 @@ d("DD", k, b);
|
|
2338
2338
|
d("Do", function(e, t) {
|
2339
2339
|
return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
|
2340
2340
|
});
|
2341
|
-
|
2342
|
-
|
2341
|
+
v(["D", "DD"], C);
|
2342
|
+
v("Do", function(e, t) {
|
2343
2343
|
t[C] = m(e.match(k)[0]);
|
2344
2344
|
});
|
2345
2345
|
var _s = fe("Date", !0);
|
2346
2346
|
h("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
2347
2347
|
d("DDD", Le);
|
2348
2348
|
d("DDDD", Lt);
|
2349
|
-
|
2349
|
+
v(["DDD", "DDDD"], function(e, t, s) {
|
2350
2350
|
s._dayOfYear = m(e);
|
2351
2351
|
});
|
2352
2352
|
function zi(e) {
|
@@ -2358,12 +2358,12 @@ function zi(e) {
|
|
2358
2358
|
h("m", ["mm", 2], 0, "minute");
|
2359
2359
|
d("m", k, ht);
|
2360
2360
|
d("mm", k, b);
|
2361
|
-
|
2361
|
+
v(["m", "mm"], P);
|
2362
2362
|
var Zi = fe("Minutes", !1);
|
2363
2363
|
h("s", ["ss", 2], 0, "second");
|
2364
2364
|
d("s", k, ht);
|
2365
2365
|
d("ss", k, b);
|
2366
|
-
|
2366
|
+
v(["s", "ss"], j);
|
2367
2367
|
var $i = fe("Seconds", !1);
|
2368
2368
|
h("S", 0, 0, function() {
|
2369
2369
|
return ~~(this.millisecond() / 100);
|
@@ -2400,7 +2400,7 @@ function Bi(e, t) {
|
|
2400
2400
|
t[te] = m(("0." + e) * 1e3);
|
2401
2401
|
}
|
2402
2402
|
for (X = "S"; X.length <= 9; X += "S")
|
2403
|
-
|
2403
|
+
v(X, Bi);
|
2404
2404
|
ys = fe("Milliseconds", !1);
|
2405
2405
|
h("z", 0, 0, "zoneAbbr");
|
2406
2406
|
h("zz", 0, 0, "zoneName");
|
@@ -2439,8 +2439,8 @@ o.parsingFlags = Si;
|
|
2439
2439
|
o.set = lr;
|
2440
2440
|
o.startOf = ci;
|
2441
2441
|
o.subtract = ja;
|
2442
|
-
o.toArray =
|
2443
|
-
o.toObject =
|
2442
|
+
o.toArray = gi;
|
2443
|
+
o.toObject = vi;
|
2444
2444
|
o.toDate = wi;
|
2445
2445
|
o.toISOString = ni;
|
2446
2446
|
o.inspect = oi;
|
@@ -2519,44 +2519,44 @@ function Ki() {
|
|
2519
2519
|
function ws(e) {
|
2520
2520
|
return e;
|
2521
2521
|
}
|
2522
|
-
var
|
2523
|
-
|
2524
|
-
|
2525
|
-
|
2526
|
-
|
2527
|
-
|
2528
|
-
|
2529
|
-
|
2530
|
-
|
2531
|
-
|
2532
|
-
|
2533
|
-
|
2534
|
-
|
2535
|
-
|
2536
|
-
|
2537
|
-
|
2538
|
-
|
2539
|
-
|
2540
|
-
|
2541
|
-
|
2542
|
-
|
2543
|
-
|
2544
|
-
|
2545
|
-
|
2546
|
-
|
2547
|
-
|
2548
|
-
|
2549
|
-
|
2550
|
-
|
2551
|
-
|
2552
|
-
|
2553
|
-
|
2554
|
-
|
2522
|
+
var g = nt.prototype;
|
2523
|
+
g.calendar = Us;
|
2524
|
+
g.longDateFormat = Vs;
|
2525
|
+
g.invalidDate = js;
|
2526
|
+
g.ordinal = Zs;
|
2527
|
+
g.preparse = ws;
|
2528
|
+
g.postformat = ws;
|
2529
|
+
g.relativeTime = Bs;
|
2530
|
+
g.pastFuture = Js;
|
2531
|
+
g.set = Cs;
|
2532
|
+
g.eras = Yi;
|
2533
|
+
g.erasParse = Oi;
|
2534
|
+
g.erasConvertYear = Ti;
|
2535
|
+
g.erasAbbrRegex = Wi;
|
2536
|
+
g.erasNameRegex = Pi;
|
2537
|
+
g.erasNarrowRegex = Ii;
|
2538
|
+
g.months = cr;
|
2539
|
+
g.monthsShort = mr;
|
2540
|
+
g.monthsParse = yr;
|
2541
|
+
g.monthsRegex = vr;
|
2542
|
+
g.monthsShortRegex = gr;
|
2543
|
+
g.week = kr;
|
2544
|
+
g.firstDayOfYear = Dr;
|
2545
|
+
g.firstDayOfWeek = Mr;
|
2546
|
+
g.weekdays = Ir;
|
2547
|
+
g.weekdaysMin = Cr;
|
2548
|
+
g.weekdaysShort = Fr;
|
2549
|
+
g.weekdaysParse = Ur;
|
2550
|
+
g.weekdaysRegex = Vr;
|
2551
|
+
g.weekdaysShortRegex = Gr;
|
2552
|
+
g.weekdaysMinRegex = jr;
|
2553
|
+
g.isPM = zr;
|
2554
|
+
g.meridiem = Br;
|
2555
2555
|
function Ie(e, t, s, r) {
|
2556
2556
|
var a = $(), i = U().set(r, t);
|
2557
2557
|
return a[s](i, e);
|
2558
2558
|
}
|
2559
|
-
function
|
2559
|
+
function gs(e, t, s) {
|
2560
2560
|
if (Z(e) && (t = e, e = void 0), e = e || "", t != null)
|
2561
2561
|
return Ie(e, t, s, "month");
|
2562
2562
|
var r, a = [];
|
@@ -2574,10 +2574,10 @@ function Dt(e, t, s, r) {
|
|
2574
2574
|
return u;
|
2575
2575
|
}
|
2576
2576
|
function en(e, t) {
|
2577
|
-
return
|
2577
|
+
return gs(e, t, "months");
|
2578
2578
|
}
|
2579
2579
|
function tn(e, t) {
|
2580
|
-
return
|
2580
|
+
return gs(e, t, "monthsShort");
|
2581
2581
|
}
|
2582
2582
|
function sn(e, t, s) {
|
2583
2583
|
return Dt(e, t, s, "weekdays");
|
@@ -2626,15 +2626,15 @@ function nn() {
|
|
2626
2626
|
var e = this._data;
|
2627
2627
|
return this._milliseconds = E(this._milliseconds), this._days = E(this._days), this._months = E(this._months), e.milliseconds = E(e.milliseconds), e.seconds = E(e.seconds), e.minutes = E(e.minutes), e.hours = E(e.hours), e.months = E(e.months), e.years = E(e.years), this;
|
2628
2628
|
}
|
2629
|
-
function
|
2629
|
+
function vs(e, t, s, r) {
|
2630
2630
|
var a = F(t, s);
|
2631
2631
|
return e._milliseconds += r * a._milliseconds, e._days += r * a._days, e._months += r * a._months, e._bubble();
|
2632
2632
|
}
|
2633
2633
|
function on(e, t) {
|
2634
|
-
return
|
2634
|
+
return vs(this, e, t, 1);
|
2635
2635
|
}
|
2636
2636
|
function ln(e, t) {
|
2637
|
-
return
|
2637
|
+
return vs(this, e, t, -1);
|
2638
2638
|
}
|
2639
2639
|
function Rt(e) {
|
2640
2640
|
return e < 0 ? Math.floor(e) : Math.ceil(e);
|
@@ -2685,7 +2685,7 @@ function B(e) {
|
|
2685
2685
|
return this.as(e);
|
2686
2686
|
};
|
2687
2687
|
}
|
2688
|
-
var ks = B("ms"), hn = B("s"), fn = B("m"), cn = B("h"), mn = B("d"), _n = B("w"), yn = B("M"), wn = B("Q"),
|
2688
|
+
var ks = B("ms"), hn = B("s"), fn = B("m"), cn = B("h"), mn = B("d"), _n = B("w"), yn = B("M"), wn = B("Q"), gn = B("y"), vn = ks;
|
2689
2689
|
function pn() {
|
2690
2690
|
return F(this);
|
2691
2691
|
}
|
@@ -2760,8 +2760,8 @@ y.asDays = mn;
|
|
2760
2760
|
y.asWeeks = _n;
|
2761
2761
|
y.asMonths = yn;
|
2762
2762
|
y.asQuarters = wn;
|
2763
|
-
y.asYears =
|
2764
|
-
y.valueOf =
|
2763
|
+
y.asYears = gn;
|
2764
|
+
y.valueOf = vn;
|
2765
2765
|
y._bubble = un;
|
2766
2766
|
y.clone = pn;
|
2767
2767
|
y.get = kn;
|
@@ -2788,10 +2788,10 @@ h("X", 0, 0, "unix");
|
|
2788
2788
|
h("x", 0, 0, "valueOf");
|
2789
2789
|
d("x", Ae);
|
2790
2790
|
d("X", er);
|
2791
|
-
|
2791
|
+
v("X", function(e, t, s) {
|
2792
2792
|
s._d = new Date(parseFloat(e) * 1e3);
|
2793
2793
|
});
|
2794
|
-
|
2794
|
+
v("x", function(e, t, s) {
|
2795
2795
|
s._d = new Date(m(e));
|
2796
2796
|
});
|
2797
2797
|
//! moment.js
|
@@ -2852,7 +2852,7 @@ const Fn = {
|
|
2852
2852
|
}
|
2853
2853
|
};
|
2854
2854
|
}
|
2855
|
-
}, Cn = /* @__PURE__ */ Object.assign({ "./views/asset/asset-asset-detail/edit.vue": () => import("./edit-
|
2855
|
+
}, Cn = /* @__PURE__ */ Object.assign({ "./views/asset/asset-asset-detail/edit.vue": () => import("./edit-C4aYV45m.mjs"), "./views/asset/asset-asset-detail/index.vue": () => import("./index-CKF69gMl.mjs"), "./views/asset/asset-asset/assign.vue": () => import("./assign-4SD6S-Fb.mjs"), "./views/asset/asset-asset/edit.vue": () => import("./edit-DPssVAky.mjs"), "./views/asset/asset-asset/index.vue": () => import("./index-Bz6eEggE.mjs"), "./views/asset/asset-asset/info/index.vue": () => import("./index-Cz4CVX5Y.mjs"), "./views/asset/asset-depreciation-record/index.vue": () => import("./index-DfOZUIkb.mjs"), "./views/asset/asset-depreciation-record/info/index.vue": () => import("./index-4vX1fgzo.mjs"), "./views/asset/asset-inventory-record/index.vue": () => import("./index-CDYXKnyU.mjs"), "./views/asset/asset-inventory-record/info/index.vue": () => import("./index-8j66ouA1.mjs"), "./views/asset/asset-service-appt-record/index.vue": () => import("./index-DIKzzLQ2.mjs"), "./views/asset/asset-service-appt-record/info/index.vue": () => import("./index-Ds5MwEwr.mjs"), "./views/asset/asset-site-service/edit.vue": () => import("./edit-BWhOgMw-.mjs"), "./views/asset/asset-site-service/index.vue": () => import("./index-C1U7BVdL.mjs"), "./views/asset/asset-site/edit.vue": () => import("./edit-CZujIURb.mjs"), "./views/asset/asset-site/index.vue": () => import("./index-BxfpD3CM.mjs"), "./views/asset/asset-site/info/index.vue": () => import("./index-_uK0Hvab.mjs") }), Un = {
|
2856
2856
|
install(e) {
|
2857
2857
|
e.use(Fn), Ss(Cn, 7), Ms(Rs), Ws(Ds);
|
2858
2858
|
}
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import type { AxiosPromise } from "axios";
|
2
|
-
import type { SiteServiceApi, SiteServiceReq, SiteServiceModel, SiteServicePage, SiteServiceList, SiteServiceKey, SiteServiceCreateReq, SiteServiceUpdateReq } from "./types";
|
2
|
+
import type { SiteServiceApi, SiteServiceReq, SiteServiceModel, SiteServicePage, SiteServiceList, SiteServiceKey, SiteServiceCreateReq, SiteServiceUpdateReq, SiteServiceAppointmentList, SiteServiceAppointmentReq } from "./types";
|
3
3
|
declare class SiteServiceApiImpl implements SiteServiceApi {
|
4
4
|
getKey(model: SiteServiceModel): SiteServiceKey;
|
5
5
|
findPage(query?: SiteServiceReq): AxiosPromise<SiteServicePage>;
|
6
6
|
findList(query?: SiteServiceReq): AxiosPromise<SiteServiceList>;
|
7
7
|
findById(query: SiteServiceKey): AxiosPromise<SiteServiceModel>;
|
8
|
+
findlimitInfoById(query: SiteServiceAppointmentReq): AxiosPromise<SiteServiceAppointmentList>;
|
8
9
|
create(data: SiteServiceCreateReq): AxiosPromise<SiteServiceModel>;
|
9
10
|
update(data: SiteServiceUpdateReq): AxiosPromise<SiteServiceModel>;
|
10
11
|
delete(query: SiteServiceKey): AxiosPromise<SiteServiceModel>;
|
@@ -56,7 +56,7 @@ export interface SiteServiceCreateReq extends EntityCreateReq {
|
|
56
56
|
serviceId?: string;
|
57
57
|
}
|
58
58
|
export interface LimitInfo {
|
59
|
-
time?:
|
59
|
+
time?: Date[];
|
60
60
|
startTime?: string;
|
61
61
|
endTime?: string;
|
62
62
|
limitPerson?: number;
|
@@ -78,4 +78,17 @@ export interface SiteServiceUpdateReq extends EntityUpdateReq {
|
|
78
78
|
orgId?: string;
|
79
79
|
limitInfo: Array<LimitInfo>;
|
80
80
|
}
|
81
|
+
export interface SiteServiceAppointmentModel {
|
82
|
+
limitId?: string;
|
83
|
+
serviceId?: string;
|
84
|
+
startTime?: string;
|
85
|
+
endTime?: string;
|
86
|
+
}
|
87
|
+
export interface SiteServiceAppointmentReq {
|
88
|
+
tenant?: string;
|
89
|
+
serviceId?: string;
|
90
|
+
}
|
91
|
+
export interface SiteServiceAppointmentList extends EntityList {
|
92
|
+
results: Array<SiteServiceAppointmentModel>;
|
93
|
+
}
|
81
94
|
export type SiteServiceFormReq = SiteServiceCreateReq | SiteServiceUpdateReq;
|