xyvcard-asset 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. package/dist/{assign-BLa-fXcy.mjs → assign-DzQUNp-Y.mjs} +26 -26
  2. package/dist/{edit-DmRG7fo0.mjs → edit-DdzPtYyH.mjs} +1 -1
  3. package/dist/{edit.vue_vue_type_script_setup_true_lang-DSfByOkx.mjs → edit.vue_vue_type_script_setup_true_lang-BP4-GiBE.mjs} +33 -33
  4. package/dist/{index copy-Di49EjkG.mjs → index copy-CxTCJcvX.mjs } +21 -22
  5. package/dist/{index-xyCxQquE.mjs → index-CSMEsPcN.mjs} +1 -1
  6. package/dist/{index-DeBZxOsC.mjs → index-CugJCeed.mjs} +2 -1
  7. package/dist/{index-ByVysHgI.mjs → index-GhvyIwc3.mjs} +1 -1
  8. package/dist/{index-qQuyprvx.mjs → index-pfeu6d82.mjs} +1 -1
  9. package/dist/index.mjs +2 -1
  10. package/dist/index.vue_vue_type_script_setup_true_lang-BhVtd4iX.mjs +110 -0
  11. package/dist/index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs +54 -0
  12. package/dist/index/345/244/207/344/273/{275-CaiMDP8J.mjs → 275-BfKo5eBT.mjs} +84 -80
  13. package/dist/style.css +1 -1
  14. package/dts/App.vue.d.ts +2 -0
  15. package/dts/api/asset/asset-asset/index.d.ts +25 -0
  16. package/dts/api/asset/asset-asset/types.d.ts +109 -0
  17. package/dts/api/asset/asset-asset-detail/index.d.ts +12 -0
  18. package/dts/api/asset/asset-asset-detail/types.d.ts +56 -0
  19. package/dts/api/asset/asset-depreciation-record/index.d.ts +11 -0
  20. package/dts/api/asset/asset-depreciation-record/types.d.ts +38 -0
  21. package/dts/api/asset/asset-inventory-record/index.d.ts +10 -0
  22. package/dts/api/asset/asset-inventory-record/types.d.ts +62 -0
  23. package/dts/api/asset/asset-service-appt-member/index.d.ts +9 -0
  24. package/dts/api/asset/asset-service-appt-member/types.d.ts +28 -0
  25. package/dts/api/asset/asset-service-appt-record/index.d.ts +9 -0
  26. package/dts/api/asset/asset-service-appt-record/types.d.ts +37 -0
  27. package/dts/api/asset/asset-site/index.d.ts +14 -0
  28. package/dts/api/asset/asset-site/types.d.ts +71 -0
  29. package/dts/api/asset/asset-site-service/index.d.ts +13 -0
  30. package/dts/api/asset/asset-site-service/types.d.ts +81 -0
  31. package/dts/api/asset/text/index.d.ts +140 -0
  32. package/dts/api/asset/text/types.d.ts +179 -0
  33. package/dts/api/dict.d.ts +19 -0
  34. package/dts/api/index.d.ts +16 -0
  35. package/dts/components/PeopleSelectAsset/index.vue.d.ts +18 -0
  36. package/dts/components/Upload/ImageUpload.vue.d.ts +38 -0
  37. package/dts/components/Upload/MultiUpload.vue.d.ts +24 -0
  38. package/dts/components/deptPeopleSelectAsset/index.vue.d.ts +14 -0
  39. package/dts/constant.d.ts +19 -0
  40. package/dts/index.d.ts +6 -0
  41. package/dts/lang/asset/en.d.ts +2 -0
  42. package/dts/lang/asset/zh-cn.d.ts +150 -0
  43. package/dts/lang/index.d.ts +1 -0
  44. package/dts/main.d.ts +4 -0
  45. package/dts/permission.d.ts +1 -0
  46. package/dts/router/page.d.ts +8 -0
  47. package/dts/utils/common.d.ts +51 -0
  48. package/dts/utils/index.d.ts +24 -0
  49. package/dts/utils/momentPlugin.d.ts +5 -0
  50. package/dts/views/asset/asset-asset/assign.vue.d.ts +29 -0
  51. package/dts/views/asset/asset-asset/edit.vue.d.ts +22 -0
  52. package/dts/views/asset/asset-asset/index.vue.d.ts +2 -0
  53. package/dts/views/asset/asset-asset/info/index.vue.d.ts +2 -0
  54. package/dts/views/asset/asset-asset-detail/edit.vue.d.ts +20 -0
  55. package/dts/views/asset/asset-asset-detail/index.vue.d.ts +2 -0
  56. package/dts/views/asset/asset-depreciation-record/index.vue.d.ts +2 -0
  57. package/dts/views/asset/asset-depreciation-record/info/index.vue.d.ts +2 -0
  58. package/dts/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
  59. package/dts/views/asset/asset-inventory-record/index.vue.d.ts +2 -0
  60. package/dts/views/asset/asset-inventory-record/indexOld.vue.d.ts +2 -0
  61. package/dts/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +2 -0
  62. package/dts/views/asset/asset-inventory-record/info/index.vue.d.ts +2 -0
  63. package/dts/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
  64. package/dts/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
  65. package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
  66. package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
  67. package/dts/views/asset/asset-site/edit.vue.d.ts +22 -0
  68. package/dts/views/asset/asset-site/index.vue.d.ts +2 -0
  69. package/dts/views/asset/asset-site/info/index.vue.d.ts +2 -0
  70. package/dts/views/asset/asset-site-service/edit.vue.d.ts +22 -0
  71. package/dts/views/asset/asset-site-service/index.vue.d.ts +2 -0
  72. package/package.json +3 -3
  73. package/dist/index.vue_vue_type_script_setup_true_lang-05kzecXV.mjs +0 -274
  74. package/dist/index.vue_vue_type_script_setup_true_lang-Bl9nmo3f.mjs +0 -120
  75. 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 z, 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 j, 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";
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(), z("svg", {
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(), z("svg", {
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(), z("svg", {
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(), z("svg", {
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(), z("svg", {
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(), z("i", Ft({
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(), z("div", {
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: j(u(r))
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(), z(Qe, { key: 1 }, [
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(), z("p", {
1227
+ ], 2112)) : (b(), j("p", {
1228
1228
  key: 0,
1229
1229
  class: M(u(r).e("content"))
1230
- }, j(y.message), 3))
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-ad3389c0"), 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__ */ $({
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(j(l.$t("common.cancel")), 1)
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(j(l.$t("common.confirm")), 1)
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(j(a.numberList.name), 1)
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(j(a.numberList.number) + "/" + j(a.numberList.unit), 1)
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, j(l.$t("asset.orgId")), 1)
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, j(l.$t("asset.siteId")), 1)
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), z(Qe, null, Bt(u(s), (P) => (b(), A(fe, {
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-ad3389c0"]]);
1623
+ }), Hr = /* @__PURE__ */ Gt(Br, [["__scopeId", "data-v-73f35db4"]]);
1624
1624
  export {
1625
1625
  Hr as default
1626
1626
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-DSfByOkx.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-BP4-GiBE.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,11 +1,11 @@
1
- import { defineComponent as ee, mergeModels as T, ref as y, reactive as U, useModel as le, resolveComponent as s, openBlock as f, createBlock as P, withCtx as i, createElementVNode as te, createVNode as l, createTextVNode as g, toDisplayString as B, unref as r, createElementBlock as _, Fragment as z, renderList as M } from "vue";
2
- import { D as p, b as S, S as ae } from "./index-BK24yagy.mjs";
3
- import { ElMessage as h } from "element-plus";
1
+ import { defineComponent as ee, mergeModels as U, ref as y, reactive as P, useModel as le, resolveComponent as s, openBlock as f, createBlock as B, withCtx as i, createElementVNode as te, createVNode as l, createTextVNode as g, toDisplayString as _, unref as r, createElementBlock as S, Fragment as z, renderList as M } from "vue";
2
+ import { D as p, b as h, S as ae } from "./index-BK24yagy.mjs";
3
+ import { ElMessage as I } from "element-plus";
4
4
  import { useI18n as ie } from "vue-i18n";
5
5
  import { r as O } from "./common-kbgEWG-E.mjs";
6
6
  const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
7
7
  __name: "edit",
8
- props: /* @__PURE__ */ T({
8
+ props: /* @__PURE__ */ U({
9
9
  entityKey: {
10
10
  type: Object,
11
11
  default: () => {
@@ -15,11 +15,11 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
15
15
  modelValue: { type: Boolean },
16
16
  modelModifiers: {}
17
17
  }),
18
- emits: /* @__PURE__ */ T(["refresh"], ["update:modelValue"]),
19
- setup(I, { emit: j }) {
18
+ emits: /* @__PURE__ */ U(["refresh"], ["update:modelValue"]),
19
+ setup($, { emit: j }) {
20
20
  p.unionOrgBizLayDict.useValues(), p.managerDict.useValues(), p.serviceNameDict.useValues(), p.siteDict.useValues();
21
21
  const { t: m } = ie(), k = y();
22
- let t = U({
22
+ let t = P({
23
23
  requestId: Math.random() * 10 + "",
24
24
  updateMask: "siteId,serviceName,minDay,maxDay,limitPerson,status,note",
25
25
  limitInfo: [
@@ -30,7 +30,7 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
30
30
  }
31
31
  ]
32
32
  });
33
- const L = U({
33
+ const L = P({
34
34
  // 所属工会
35
35
  orgId: [
36
36
  {
@@ -77,29 +77,29 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
77
77
  trigger: "blur"
78
78
  }
79
79
  ]
80
- }), $ = y();
80
+ }), D = y();
81
81
  function E(e) {
82
82
  t.siteId = "";
83
83
  const a = new ae({ orgId: e });
84
- a.useValues(), $.value = a.values;
84
+ a.useValues(), D.value = a.values;
85
85
  }
86
- const c = le(I, "modelValue"), D = I, q = j, F = Object.keys(D.entityKey), R = y(F.length >= 1);
87
- R.value && S.findById(D.entityKey).then(({ data: e }) => {
86
+ const c = le($, "modelValue"), q = $, R = j, F = Object.keys(q.entityKey), N = y(F.length >= 1);
87
+ N.value && h.findById(q.entityKey).then(({ data: e }) => {
88
88
  e.siteId = e.serviceName, Object.assign(t, e);
89
89
  });
90
90
  const K = async () => {
91
91
  var e;
92
92
  await ((e = k.value) == null ? void 0 : e.validate((a) => {
93
- a && (R.value ? S.update(t).then((n) => {
94
- n.status === 200 && (h({
93
+ a && (N.value ? h.update(t).then((n) => {
94
+ n.status === 200 && (I({
95
95
  message: m("common.submitSuccess"),
96
96
  type: "success"
97
- }), c.value && (c.value = !1), q("refresh", n.status === 200));
98
- }) : S.create(t).then((n) => {
99
- n.status === 200 && (h({
97
+ }), c.value && (c.value = !1), R("refresh", n.status === 200));
98
+ }) : h.create(t).then((n) => {
99
+ n.status === 200 && (I({
100
100
  message: m("common.submitSuccess"),
101
101
  type: "success"
102
- }), c.value && (c.value = !1), q("refresh", n.status === 200));
102
+ }), c.value && (c.value = !1), R("refresh", n.status === 200));
103
103
  }));
104
104
  }));
105
105
  };
@@ -115,7 +115,7 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
115
115
  }
116
116
  function H(e) {
117
117
  if (t.limitInfo.length === 1) {
118
- h({
118
+ I({
119
119
  message: "最少保留一个时间段",
120
120
  type: "error"
121
121
  });
@@ -123,21 +123,21 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
123
123
  }
124
124
  t.limitInfo.splice(e, 1);
125
125
  }
126
- function N() {
126
+ function w() {
127
127
  c.value && (c.value = !1);
128
128
  }
129
129
  return (e, a) => {
130
- const n = s("el-tree-select"), d = s("el-form-item"), u = s("el-col"), J = s("el-option"), Q = s("el-select"), w = s("el-input-number"), C = s("el-input"), W = s("jmash-select"), X = s("el-time-picker"), v = s("el-button"), Y = s("el-row"), Z = s("el-form"), x = s("el-dialog");
131
- return f(), P(x, {
130
+ const n = s("el-tree-select"), d = s("el-form-item"), u = s("el-col"), J = s("el-option"), Q = s("el-select"), C = s("el-input-number"), T = s("el-input"), W = s("jmash-select"), X = s("el-time-picker"), v = s("el-button"), Y = s("el-row"), Z = s("el-form"), x = s("el-dialog");
131
+ return f(), B(x, {
132
132
  modelValue: c.value,
133
133
  "onUpdate:modelValue": a[9] || (a[9] = (o) => c.value = o),
134
- onClose: N
134
+ onClose: w
135
135
  }, {
136
136
  footer: i(() => [
137
137
  te("div", oe, [
138
- l(v, { onClick: N }, {
138
+ l(v, { onClick: w }, {
139
139
  default: i(() => [
140
- g(B(e.$t("common.cancel")), 1)
140
+ g(_(e.$t("common.cancel")), 1)
141
141
  ]),
142
142
  _: 1
143
143
  }),
@@ -146,7 +146,7 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
146
146
  onClick: K
147
147
  }, {
148
148
  default: i(() => [
149
- g(B(e.$t("common.confirm")), 1)
149
+ g(_(e.$t("common.confirm")), 1)
150
150
  ]),
151
151
  _: 1
152
152
  })
@@ -202,7 +202,7 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
202
202
  clearable: ""
203
203
  }, {
204
204
  default: i(() => [
205
- (f(!0), _(z, null, M($.value, (o) => (f(), P(J, {
205
+ (f(!0), S(z, null, M(D.value, (o) => (f(), B(J, {
206
206
  key: o.key,
207
207
  label: o.value,
208
208
  value: o.key
@@ -245,14 +245,14 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
245
245
  prop: "day"
246
246
  }, {
247
247
  default: i(() => [
248
- l(w, {
248
+ l(C, {
249
249
  modelValue: r(t).minDay,
250
250
  "onUpdate:modelValue": a[3] || (a[3] = (o) => r(t).minDay = o),
251
251
  size: "small",
252
252
  min: 0
253
253
  }, null, 8, ["modelValue"]),
254
254
  g("~ "),
255
- l(w, {
255
+ l(C, {
256
256
  modelValue: r(t).maxDay,
257
257
  "onUpdate:modelValue": a[4] || (a[4] = (o) => r(t).maxDay = o),
258
258
  size: "small",
@@ -271,7 +271,7 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
271
271
  prop: "limitPerson"
272
272
  }, {
273
273
  default: i(() => [
274
- l(C, {
274
+ l(T, {
275
275
  modelValue: r(t).limitPerson,
276
276
  "onUpdate:modelValue": a[5] || (a[5] = (o) => r(t).limitPerson = o),
277
277
  placeholder: e.$t("siteService.limitPersonRequired"),
@@ -336,7 +336,7 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
336
336
  prop: "note"
337
337
  }, {
338
338
  default: i(() => [
339
- l(C, {
339
+ l(T, {
340
340
  modelValue: r(t).note,
341
341
  "onUpdate:modelValue": a[8] || (a[8] = (o) => r(t).note = o),
342
342
  autosize: "",
@@ -358,7 +358,7 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
358
358
  prop: "time"
359
359
  }, {
360
360
  default: i(() => [
361
- (f(!0), _(z, null, M(r(t).limitInfo, (o, b) => (f(), _("div", { key: b }, [
361
+ (f(!0), S(z, null, M(r(t).limitInfo, (o, b) => (f(), S("div", { key: b }, [
362
362
  l(X, {
363
363
  modelValue: o.time,
364
364
  "onUpdate:modelValue": (V) => o.time = V,
@@ -374,7 +374,7 @@ const oe = { class: "dialog-footer" }, me = /* @__PURE__ */ ee({
374
374
  onClick: (V) => H(b)
375
375
  }, {
376
376
  default: i(() => [
377
- g("删除")
377
+ g(_(e.$t("common.delete")), 1)
378
378
  ]),
379
379
  _: 2
380
380
  }, 1032, ["onClick"]),
@@ -1,9 +1,8 @@
1
- import { defineComponent as v, ref as t, reactive as n, resolveComponent as p, openBlock as g, createBlock as C, unref as e, isRef as x, withCtx as s, createVNode as u, createElementVNode as V } from "vue";
2
- import { _ as k } from "./index.vue_vue_type_script_setup_true_lang-Bl9nmo3f.mjs";
3
- const B = /* @__PURE__ */ v({
1
+ import { defineComponent as g, ref as t, reactive as r, resolveComponent as a, openBlock as C, createBlock as x, unref as e, isRef as V, withCtx as u, createVNode as s, createElementVNode as k } from "vue";
2
+ const h = /* @__PURE__ */ g({
4
3
  __name: "index copy",
5
4
  setup(D) {
6
- const m = t(), c = t(), a = n({
5
+ const c = t(), m = t(), n = r({
7
6
  people: [
8
7
  {
9
8
  required: !0,
@@ -11,7 +10,7 @@ const B = /* @__PURE__ */ v({
11
10
  trigger: "blur"
12
11
  }
13
12
  ]
14
- }), o = n({
13
+ }), o = r({
15
14
  label: "选择人员",
16
15
  prop: "people",
17
16
  // 模糊查询人员
@@ -33,38 +32,38 @@ const B = /* @__PURE__ */ v({
33
32
  // },
34
33
  ]
35
34
  });
36
- function f() {
37
- c.value.saveCommitteeChange(), l.value = !1;
35
+ function d() {
36
+ m.value.saveCommitteeChange(), l.value = !1;
38
37
  }
39
38
  const l = t(!0);
40
- function d() {
39
+ function f() {
41
40
  l.value && (l.value = !1);
42
41
  }
43
- return (R, r) => {
44
- const i = p("el-form"), _ = p("el-dialog");
45
- return g(), C(_, {
42
+ return (P, p) => {
43
+ const i = a("PeopleSelect"), _ = a("el-form"), b = a("el-dialog");
44
+ return C(), x(b, {
46
45
  modelValue: e(l),
47
- "onUpdate:modelValue": r[0] || (r[0] = (b) => x(l) ? l.value = b : null),
48
- onClose: d
46
+ "onUpdate:modelValue": p[0] || (p[0] = (v) => V(l) ? l.value = v : null),
47
+ onClose: f
49
48
  }, {
50
- default: s(() => [
51
- u(i, {
49
+ default: u(() => [
50
+ s(_, {
52
51
  ref: "FormRef",
53
- model: e(m),
52
+ model: e(c),
54
53
  "label-width": "120px",
55
- rules: e(a)
54
+ rules: e(n)
56
55
  }, {
57
- default: s(() => [
58
- u(k, {
56
+ default: u(() => [
57
+ s(i, {
59
58
  label: e(o).label,
60
59
  prop: e(o).prop,
61
- rules: e(a),
60
+ rules: e(n),
62
61
  "people-table-data": e(o).peopleTableData
63
62
  }, null, 8, ["label", "prop", "rules", "people-table-data"])
64
63
  ]),
65
64
  _: 1
66
65
  }, 8, ["model", "rules"]),
67
- V("button", { onClick: f }, "弹框按钮触发组件提交事件")
66
+ k("button", { onClick: d }, "弹框按钮触发组件提交事件")
68
67
  ]),
69
68
  _: 1
70
69
  }, 8, ["modelValue"]);
@@ -72,5 +71,5 @@ const B = /* @__PURE__ */ v({
72
71
  }
73
72
  });
74
73
  export {
75
- B as default
74
+ h as default
76
75
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as ne, ref as f, reactive as z, resolveComponent as d, resolveDirective as ue, openBlock as r, createElementBlock as $, createElementVNode as h, createVNode as s, withCtx as l, withKeys as N, unref as o, createTextVNode as m, toDisplayString as u, withDirectives as c, createBlock as b, isRef as A, createCommentVNode as k } from "vue";
2
2
  import { useI18n as re } from "vue-i18n";
3
3
  import { _ as ie } from "./edit.vue_vue_type_script_setup_true_lang-CkBAP9Bk.mjs";
4
- import de from "./assign-BLa-fXcy.mjs";
4
+ import de from "./assign-DzQUNp-Y.mjs";
5
5
  import { a as me, D as V } from "./index-BK24yagy.mjs";
6
6
  import { useTableHooks as pe } from "jmash-core";
7
7
  import { useRouter as fe } from "vue-router";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as le, ref as b, reactive as R, resolveComponent as i, resolveDirective as ae, openBlock as d, createElementBlock as S, createElementVNode as m, createVNode as o, withCtx as l, unref as s, toDisplayString as r, Fragment as oe, renderList as se, createBlock as I, withKeys as L, createTextVNode as g, withDirectives as $, isRef as z, createCommentVNode as j } from "vue";
2
2
  import { D as c, b as ne, S as ie } from "./index-BK24yagy.mjs";
3
3
  import { useI18n as re } from "vue-i18n";
4
- import { _ as ue } from "./edit.vue_vue_type_script_setup_true_lang-DSfByOkx.mjs";
4
+ import { _ as ue } from "./edit.vue_vue_type_script_setup_true_lang-BP4-GiBE.mjs";
5
5
  import { useTableHooks as de } from "jmash-core";
6
6
  const me = { class: "app-container" }, ce = { class: "search-container" }, pe = /* @__PURE__ */ m("div", { class: "clear" }, null, -1), ve = ["onClick"], fe = ["onClick"], Ve = /* @__PURE__ */ le({
7
7
  __name: "index",
@@ -61,6 +61,7 @@ const me = { class: "app-container" }, ce = { class: "search-container" }, pe =
61
61
  isColumn: !0,
62
62
  width: "180"
63
63
  },
64
+ // 状态
64
65
  {
65
66
  label: "siteService.status",
66
67
  prop: "status",
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-05kzecXV.mjs";
1
+ import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-BtIlu38i.mjs";
1
+ import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-BhVtd4iX.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
package/dist/index.mjs CHANGED
@@ -168,6 +168,7 @@ const Ys = () => import("./index-BW-5IuVN.mjs"), Os = () => import("./index-C5_f
168
168
  siteId: "使用场地",
169
169
  siteIdRequired: "请选择使用场地",
170
170
  assignNumber: "分配数量",
171
+ assignNumberRequired: "请输入分配数量",
171
172
  name: "资产名称",
172
173
  nameRequired: "请输入资产名称",
173
174
  // 用于分配展示总的资产数量
@@ -2851,7 +2852,7 @@ const Fn = {
2851
2852
  }
2852
2853
  };
2853
2854
  }
2854
- }, Cn = /* @__PURE__ */ Object.assign({ "./views/asset/asset-asset-detail/edit.vue": () => import("./edit-FdqpKRgF.mjs"), "./views/asset/asset-asset-detail/index.vue": () => import("./index-axEqTssj.mjs"), "./views/asset/asset-asset/assign.vue": () => import("./assign-BLa-fXcy.mjs"), "./views/asset/asset-asset/edit.vue": () => import("./edit-Dn-QMuy6.mjs"), "./views/asset/asset-asset/index.vue": () => import("./index-xyCxQquE.mjs"), "./views/asset/asset-asset/info/index.vue": () => import("./index-jOcS7tqC.mjs"), "./views/asset/asset-depreciation-record/index.vue": () => import("./index-CgAq70-p.mjs"), "./views/asset/asset-depreciation-record/info/index.vue": () => import("./index-De4u-LEl.mjs"), "./views/asset/asset-inventory-record/dialogSelect/index.vue": () => import("./index-ByVysHgI.mjs"), "./views/asset/asset-inventory-record/index.vue": () => import("./index-BWwU9hSp.mjs"), "./views/asset/asset-inventory-record/index备份.vue": () => import("./index备份-CaiMDP8J.mjs"), "./views/asset/asset-inventory-record/info/index.vue": () => import("./index-B4vUTwSW.mjs"), "./views/asset/asset-inventory-record/text/index copy.vue": () => import("./index copy-Di49EjkG.mjs"), "./views/asset/asset-inventory-record/text/index.vue": () => import("./index-qQuyprvx.mjs"), "./views/asset/asset-service-appt-record/index.vue": () => import("./index-BvKWLFdr.mjs"), "./views/asset/asset-service-appt-record/info/index.vue": () => import("./index-C5_f5Lce.mjs"), "./views/asset/asset-site-service/edit.vue": () => import("./edit-DmRG7fo0.mjs"), "./views/asset/asset-site-service/index.vue": () => import("./index-DeBZxOsC.mjs"), "./views/asset/asset-site/edit.vue": () => import("./edit-CCrekeeb.mjs"), "./views/asset/asset-site/index.vue": () => import("./index-DElPNxc7.mjs"), "./views/asset/asset-site/info/index.vue": () => import("./index-BW-5IuVN.mjs") }), Un = {
2855
+ }, Cn = /* @__PURE__ */ Object.assign({ "./views/asset/asset-asset-detail/edit.vue": () => import("./edit-FdqpKRgF.mjs"), "./views/asset/asset-asset-detail/index.vue": () => import("./index-axEqTssj.mjs"), "./views/asset/asset-asset/assign.vue": () => import("./assign-DzQUNp-Y.mjs"), "./views/asset/asset-asset/edit.vue": () => import("./edit-Dn-QMuy6.mjs"), "./views/asset/asset-asset/index.vue": () => import("./index-CSMEsPcN.mjs"), "./views/asset/asset-asset/info/index.vue": () => import("./index-jOcS7tqC.mjs"), "./views/asset/asset-depreciation-record/index.vue": () => import("./index-CgAq70-p.mjs"), "./views/asset/asset-depreciation-record/info/index.vue": () => import("./index-De4u-LEl.mjs"), "./views/asset/asset-inventory-record/dialogSelect/index.vue": () => import("./index-GhvyIwc3.mjs"), "./views/asset/asset-inventory-record/index.vue": () => import("./index-BWwU9hSp.mjs"), "./views/asset/asset-inventory-record/index备份.vue": () => import("./index备份-BfKo5eBT.mjs"), "./views/asset/asset-inventory-record/info/index.vue": () => import("./index-B4vUTwSW.mjs"), "./views/asset/asset-inventory-record/text/index copy.vue": () => import("./index copy-CxTCJcvX.mjs"), "./views/asset/asset-inventory-record/text/index.vue": () => import("./index-pfeu6d82.mjs"), "./views/asset/asset-service-appt-record/index.vue": () => import("./index-BvKWLFdr.mjs"), "./views/asset/asset-service-appt-record/info/index.vue": () => import("./index-C5_f5Lce.mjs"), "./views/asset/asset-site-service/edit.vue": () => import("./edit-DdzPtYyH.mjs"), "./views/asset/asset-site-service/index.vue": () => import("./index-CugJCeed.mjs"), "./views/asset/asset-site/edit.vue": () => import("./edit-CCrekeeb.mjs"), "./views/asset/asset-site/index.vue": () => import("./index-DElPNxc7.mjs"), "./views/asset/asset-site/info/index.vue": () => import("./index-BW-5IuVN.mjs") }), Un = {
2855
2856
  install(e) {
2856
2857
  e.use(Fn), Ss(Cn, 7), Ms(Rs), Ws(Ds);
2857
2858
  }