xyvcard-asset 0.0.9 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{assign-BLa-fXcy.mjs → assign-DzQUNp-Y.mjs} +26 -26
- package/dist/{edit-DmRG7fo0.mjs → edit-O1D_xFra.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DSfByOkx.mjs → edit.vue_vue_type_script_setup_true_lang-sE0fN_pL.mjs} +127 -150
- package/dist/{index copy-Di49EjkG.mjs → index copy-CxTCJcvX.mjs } +21 -22
- package/dist/{index-DeBZxOsC.mjs → index-BpYjnXUI.mjs} +2 -1
- package/dist/{index-xyCxQquE.mjs → index-CSMEsPcN.mjs} +1 -1
- package/dist/{index-ByVysHgI.mjs → index-GhvyIwc3.mjs} +1 -1
- package/dist/{index-qQuyprvx.mjs → index-pfeu6d82.mjs} +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-BhVtd4iX.mjs +110 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs +54 -0
- package/dist/index/345/244/207/344/273/{275-CaiMDP8J.mjs → 275-BfKo5eBT.mjs} +84 -80
- package/dist/style.css +1 -1
- package/dts/App.vue.d.ts +2 -0
- package/dts/api/asset/asset-asset/index.d.ts +25 -0
- package/dts/api/asset/asset-asset/types.d.ts +109 -0
- package/dts/api/asset/asset-asset-detail/index.d.ts +12 -0
- package/dts/api/asset/asset-asset-detail/types.d.ts +56 -0
- package/dts/api/asset/asset-depreciation-record/index.d.ts +11 -0
- package/dts/api/asset/asset-depreciation-record/types.d.ts +38 -0
- package/dts/api/asset/asset-inventory-record/index.d.ts +10 -0
- package/dts/api/asset/asset-inventory-record/types.d.ts +62 -0
- package/dts/api/asset/asset-service-appt-member/index.d.ts +9 -0
- package/dts/api/asset/asset-service-appt-member/types.d.ts +28 -0
- package/dts/api/asset/asset-service-appt-record/index.d.ts +9 -0
- package/dts/api/asset/asset-service-appt-record/types.d.ts +37 -0
- package/dts/api/asset/asset-site/index.d.ts +14 -0
- package/dts/api/asset/asset-site/types.d.ts +71 -0
- package/dts/api/asset/asset-site-service/index.d.ts +13 -0
- package/dts/api/asset/asset-site-service/types.d.ts +81 -0
- package/dts/api/asset/text/index.d.ts +140 -0
- package/dts/api/asset/text/types.d.ts +179 -0
- package/dts/api/dict.d.ts +19 -0
- package/dts/api/index.d.ts +16 -0
- package/dts/components/PeopleSelectAsset/index.vue.d.ts +18 -0
- package/dts/components/Upload/ImageUpload.vue.d.ts +38 -0
- package/dts/components/Upload/MultiUpload.vue.d.ts +24 -0
- package/dts/components/deptPeopleSelectAsset/index.vue.d.ts +14 -0
- package/dts/constant.d.ts +19 -0
- package/dts/index.d.ts +6 -0
- package/dts/lang/asset/en.d.ts +2 -0
- package/dts/lang/asset/zh-cn.d.ts +150 -0
- package/dts/lang/index.d.ts +1 -0
- package/dts/main.d.ts +4 -0
- package/dts/permission.d.ts +1 -0
- package/dts/router/page.d.ts +8 -0
- package/dts/utils/common.d.ts +51 -0
- package/dts/utils/index.d.ts +24 -0
- package/dts/utils/momentPlugin.d.ts +5 -0
- package/dts/views/asset/asset-asset/assign.vue.d.ts +29 -0
- package/dts/views/asset/asset-asset/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-asset/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-asset/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-asset-detail/edit.vue.d.ts +20 -0
- package/dts/views/asset/asset-asset-detail/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-depreciation-record/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-depreciation-record/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
- package/dts/views/asset/asset-inventory-record/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/indexOld.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-site/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site-service/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-site-service/index.vue.d.ts +2 -0
- package/package.json +3 -3
- package/dist/index.vue_vue_type_script_setup_true_lang-05kzecXV.mjs +0 -274
- package/dist/index.vue_vue_type_script_setup_true_lang-Bl9nmo3f.mjs +0 -120
- package/dist/index.vue_vue_type_script_setup_true_lang-BtIlu38i.mjs +0 -105
@@ -1,4 +1,4 @@
|
|
1
|
-
import { unref as u, getCurrentScope as Tt, onScopeDispose as Et, ref as C, readonly as Pt, getCurrentInstance as K, onMounted as Ze, nextTick as zt, watch as te, defineComponent as $, openBlock as b, createElementBlock as
|
1
|
+
import { unref as u, getCurrentScope as Tt, onScopeDispose as Et, ref as C, readonly as Pt, getCurrentInstance as K, onMounted as Ze, nextTick as zt, watch as te, defineComponent as $, openBlock as b, createElementBlock as j, createElementVNode as I, warn as jt, inject as U, computed as f, isRef as Dt, provide as Mt, renderSlot as ce, mergeProps as Ft, normalizeClass as M, createVNode as v, Transition as qe, withCtx as p, withDirectives as Je, normalizeStyle as We, toDisplayString as z, vShow as Ye, shallowReactive as At, createBlock as A, createCommentVNode as ae, resolveDynamicComponent as Lt, Fragment as Qe, withModifiers as Xe, isVNode as et, render as Se, mergeModels as $e, useModel as Vt, resolveComponent as N, createTextVNode as R, renderList as Bt, pushScopeId as kt, popScopeId as Rt } from "vue";
|
2
2
|
import { D as Ne, s as Ut, a as Kt } from "./index-BK24yagy.mjs";
|
3
3
|
import { useI18n as Ht } from "vue-i18n";
|
4
4
|
import { _ as Gt } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
@@ -444,7 +444,7 @@ var Ao = /* @__PURE__ */ $({
|
|
444
444
|
name: "CircleCloseFilled",
|
445
445
|
__name: "circle-close-filled",
|
446
446
|
setup(e) {
|
447
|
-
return (t, n) => (b(),
|
447
|
+
return (t, n) => (b(), j("svg", {
|
448
448
|
xmlns: "http://www.w3.org/2000/svg",
|
449
449
|
viewBox: "0 0 1024 1024"
|
450
450
|
}, [
|
@@ -458,7 +458,7 @@ var Ao = /* @__PURE__ */ $({
|
|
458
458
|
name: "Close",
|
459
459
|
__name: "close",
|
460
460
|
setup(e) {
|
461
|
-
return (t, n) => (b(),
|
461
|
+
return (t, n) => (b(), j("svg", {
|
462
462
|
xmlns: "http://www.w3.org/2000/svg",
|
463
463
|
viewBox: "0 0 1024 1024"
|
464
464
|
}, [
|
@@ -472,7 +472,7 @@ var Ao = /* @__PURE__ */ $({
|
|
472
472
|
name: "InfoFilled",
|
473
473
|
__name: "info-filled",
|
474
474
|
setup(e) {
|
475
|
-
return (t, n) => (b(),
|
475
|
+
return (t, n) => (b(), j("svg", {
|
476
476
|
xmlns: "http://www.w3.org/2000/svg",
|
477
477
|
viewBox: "0 0 1024 1024"
|
478
478
|
}, [
|
@@ -486,7 +486,7 @@ var Ao = /* @__PURE__ */ $({
|
|
486
486
|
name: "SuccessFilled",
|
487
487
|
__name: "success-filled",
|
488
488
|
setup(e) {
|
489
|
-
return (t, n) => (b(),
|
489
|
+
return (t, n) => (b(), j("svg", {
|
490
490
|
xmlns: "http://www.w3.org/2000/svg",
|
491
491
|
viewBox: "0 0 1024 1024"
|
492
492
|
}, [
|
@@ -500,7 +500,7 @@ var Ao = /* @__PURE__ */ $({
|
|
500
500
|
name: "WarningFilled",
|
501
501
|
__name: "warning-filled",
|
502
502
|
setup(e) {
|
503
|
-
return (t, n) => (b(),
|
503
|
+
return (t, n) => (b(), j("svg", {
|
504
504
|
xmlns: "http://www.w3.org/2000/svg",
|
505
505
|
viewBox: "0 0 1024 1024"
|
506
506
|
}, [
|
@@ -938,7 +938,7 @@ const dr = oe({
|
|
938
938
|
"--color": a
|
939
939
|
};
|
940
940
|
});
|
941
|
-
return (r, a) => (b(),
|
941
|
+
return (r, a) => (b(), j("i", Ft({
|
942
942
|
class: u(n).b(),
|
943
943
|
style: u(o)
|
944
944
|
}, r.$attrs), [
|
@@ -1016,7 +1016,7 @@ const Ge = gt(mr), gr = oe({
|
|
1016
1016
|
ref: "https://element-plus.org/en-US/component/badge.html"
|
1017
1017
|
}, f(() => !!n.dotClass)), t({
|
1018
1018
|
content: r
|
1019
|
-
}), (s, i) => (b(),
|
1019
|
+
}), (s, i) => (b(), j("div", {
|
1020
1020
|
class: M(u(o).b())
|
1021
1021
|
}, [
|
1022
1022
|
ce(s.$slots, "default"),
|
@@ -1035,7 +1035,7 @@ const Ge = gt(mr), gr = oe({
|
|
1035
1035
|
s.badgeClass
|
1036
1036
|
]),
|
1037
1037
|
style: We(u(a)),
|
1038
|
-
textContent:
|
1038
|
+
textContent: z(u(r))
|
1039
1039
|
}, null, 14, vr), [
|
1040
1040
|
[Ye, !s.hidden && (u(r) || s.isDot)]
|
1041
1041
|
])
|
@@ -1218,16 +1218,16 @@ const br = gt(hr), Ot = ["success", "info", "warning", "error"], w = Jo({
|
|
1218
1218
|
_: 1
|
1219
1219
|
}, 8, ["class"])) : ae("v-if", !0),
|
1220
1220
|
ce(y.$slots, "default", {}, () => [
|
1221
|
-
y.dangerouslyUseHTMLString ? (b(),
|
1221
|
+
y.dangerouslyUseHTMLString ? (b(), j(Qe, { key: 1 }, [
|
1222
1222
|
ae(" Caution here, message could've been compromised, never use user's input as message "),
|
1223
1223
|
I("p", {
|
1224
1224
|
class: M(u(r).e("content")),
|
1225
1225
|
innerHTML: y.message
|
1226
1226
|
}, null, 10, Nr)
|
1227
|
-
], 2112)) : (b(),
|
1227
|
+
], 2112)) : (b(), j("p", {
|
1228
1228
|
key: 0,
|
1229
1229
|
class: M(u(r).e("content"))
|
1230
|
-
},
|
1230
|
+
}, z(y.message), 3))
|
1231
1231
|
]),
|
1232
1232
|
y.showClose ? (b(), A(u(Ge), {
|
1233
1233
|
key: 2,
|
@@ -1325,7 +1325,7 @@ function Dr(e) {
|
|
1325
1325
|
}
|
1326
1326
|
G.closeAll = Dr;
|
1327
1327
|
G._context = null;
|
1328
|
-
const Mr = Go(G, "$message"), St = (e) => (kt("data-v-
|
1328
|
+
const Mr = Go(G, "$message"), St = (e) => (kt("data-v-73f35db4"), e = e(), Rt(), e), Fr = { class: "total-num dis_bottom" }, Ar = /* @__PURE__ */ St(() => /* @__PURE__ */ I("span", { class: "required_red" }, "*", -1)), Lr = /* @__PURE__ */ St(() => /* @__PURE__ */ I("span", { class: "required_red" }, "*", -1)), Vr = { class: "dialog-footer" }, Br = /* @__PURE__ */ $({
|
1329
1329
|
__name: "assign",
|
1330
1330
|
props: /* @__PURE__ */ $e({
|
1331
1331
|
entityKey: {
|
@@ -1418,7 +1418,7 @@ const Mr = Go(G, "$message"), St = (e) => (kt("data-v-ad3389c0"), e = e(), Rt(),
|
|
1418
1418
|
I("div", Vr, [
|
1419
1419
|
v(W, { onClick: B }, {
|
1420
1420
|
default: p(() => [
|
1421
|
-
R(
|
1421
|
+
R(z(l.$t("common.cancel")), 1)
|
1422
1422
|
]),
|
1423
1423
|
_: 1
|
1424
1424
|
}),
|
@@ -1427,7 +1427,7 @@ const Mr = Go(G, "$message"), St = (e) => (kt("data-v-ad3389c0"), e = e(), Rt(),
|
|
1427
1427
|
onClick: x
|
1428
1428
|
}, {
|
1429
1429
|
default: p(() => [
|
1430
|
-
R(
|
1430
|
+
R(z(l.$t("common.confirm")), 1)
|
1431
1431
|
]),
|
1432
1432
|
_: 1
|
1433
1433
|
})
|
@@ -1449,7 +1449,7 @@ const Mr = Go(G, "$message"), St = (e) => (kt("data-v-ad3389c0"), e = e(), Rt(),
|
|
1449
1449
|
label: l.$t("asset.name")
|
1450
1450
|
}, {
|
1451
1451
|
default: p(() => [
|
1452
|
-
R(
|
1452
|
+
R(z(a.numberList.name), 1)
|
1453
1453
|
]),
|
1454
1454
|
_: 1
|
1455
1455
|
}, 8, ["label"])
|
@@ -1462,7 +1462,7 @@ const Mr = Go(G, "$message"), St = (e) => (kt("data-v-ad3389c0"), e = e(), Rt(),
|
|
1462
1462
|
label: l.$t("asset.nameNumber")
|
1463
1463
|
}, {
|
1464
1464
|
default: p(() => [
|
1465
|
-
R(
|
1465
|
+
R(z(a.numberList.number) + "/" + z(a.numberList.unit), 1)
|
1466
1466
|
]),
|
1467
1467
|
_: 1
|
1468
1468
|
}, 8, ["label"])
|
@@ -1490,7 +1490,7 @@ const Mr = Go(G, "$message"), St = (e) => (kt("data-v-ad3389c0"), e = e(), Rt(),
|
|
1490
1490
|
}, {
|
1491
1491
|
header: p(() => [
|
1492
1492
|
Ar,
|
1493
|
-
I("span", null,
|
1493
|
+
I("span", null, z(l.$t("asset.orgId")), 1)
|
1494
1494
|
]),
|
1495
1495
|
default: p((O) => [
|
1496
1496
|
v(_, {
|
@@ -1522,7 +1522,7 @@ const Mr = Go(G, "$message"), St = (e) => (kt("data-v-ad3389c0"), e = e(), Rt(),
|
|
1522
1522
|
}, {
|
1523
1523
|
header: p(() => [
|
1524
1524
|
Lr,
|
1525
|
-
I("span", null,
|
1525
|
+
I("span", null, z(l.$t("asset.siteId")), 1)
|
1526
1526
|
]),
|
1527
1527
|
default: p((O) => [
|
1528
1528
|
v(_, {
|
@@ -1537,7 +1537,7 @@ const Mr = Go(G, "$message"), St = (e) => (kt("data-v-ad3389c0"), e = e(), Rt(),
|
|
1537
1537
|
clearable: ""
|
1538
1538
|
}, {
|
1539
1539
|
default: p(() => [
|
1540
|
-
(b(!0),
|
1540
|
+
(b(!0), j(Qe, null, Bt(u(s), (P) => (b(), A(fe, {
|
1541
1541
|
key: P.siteId,
|
1542
1542
|
label: P.name,
|
1543
1543
|
value: P.siteId
|
@@ -1564,11 +1564,11 @@ const Mr = Go(G, "$message"), St = (e) => (kt("data-v-ad3389c0"), e = e(), Rt(),
|
|
1564
1564
|
modelValue: O.row.assignNumber,
|
1565
1565
|
"onUpdate:modelValue": (P) => O.row.assignNumber = P,
|
1566
1566
|
style: { width: "240px" },
|
1567
|
-
placeholder: "
|
1567
|
+
placeholder: l.$t("asset.assignNumberRequired"),
|
1568
1568
|
clearable: "",
|
1569
1569
|
type: "number",
|
1570
1570
|
min: "1"
|
1571
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
1571
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
1572
1572
|
]),
|
1573
1573
|
_: 2
|
1574
1574
|
}, 1032, ["rules"])
|
@@ -1577,7 +1577,7 @@ const Mr = Go(G, "$message"), St = (e) => (kt("data-v-ad3389c0"), e = e(), Rt(),
|
|
1577
1577
|
}, 8, ["label"]),
|
1578
1578
|
v(D, {
|
1579
1579
|
fixed: "right",
|
1580
|
-
label: "
|
1580
|
+
label: l.$t("common.operate")
|
1581
1581
|
}, {
|
1582
1582
|
default: p((O) => [
|
1583
1583
|
v(_, null, {
|
@@ -1589,7 +1589,7 @@ const Mr = Go(G, "$message"), St = (e) => (kt("data-v-ad3389c0"), e = e(), Rt(),
|
|
1589
1589
|
onClick: Xe((P) => d(O.$index), ["prevent"])
|
1590
1590
|
}, {
|
1591
1591
|
default: p(() => [
|
1592
|
-
R("
|
1592
|
+
R(z(l.$t("common.delete")), 1)
|
1593
1593
|
]),
|
1594
1594
|
_: 2
|
1595
1595
|
}, 1032, ["onClick"])
|
@@ -1598,7 +1598,7 @@ const Mr = Go(G, "$message"), St = (e) => (kt("data-v-ad3389c0"), e = e(), Rt(),
|
|
1598
1598
|
}, 1024)
|
1599
1599
|
]),
|
1600
1600
|
_: 1
|
1601
|
-
})
|
1601
|
+
}, 8, ["label"])
|
1602
1602
|
]),
|
1603
1603
|
_: 1
|
1604
1604
|
}, 8, ["data"]),
|
@@ -1620,7 +1620,7 @@ const Mr = Go(G, "$message"), St = (e) => (kt("data-v-ad3389c0"), e = e(), Rt(),
|
|
1620
1620
|
}, 8, ["modelValue"]);
|
1621
1621
|
};
|
1622
1622
|
}
|
1623
|
-
}), Hr = /* @__PURE__ */ Gt(Br, [["__scopeId", "data-v-
|
1623
|
+
}), Hr = /* @__PURE__ */ Gt(Br, [["__scopeId", "data-v-73f35db4"]]);
|
1624
1624
|
export {
|
1625
1625
|
Hr as default
|
1626
1626
|
};
|