xyvcard-itsm-flow 0.0.8 → 0.0.10

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.
Files changed (27) hide show
  1. package/dist/{common--K4gGsNT.mjs → common-Cwl5jzlM.mjs} +1 -1
  2. package/dist/{edit-B621RtNS.mjs → edit-BnJnxvY6.mjs} +1 -1
  3. package/dist/{edit-CoRzQ2SK.mjs → edit-D8J1Znw_.mjs} +1 -1
  4. package/dist/{edit-Czk64Yon.mjs → edit-har-8Y54.mjs} +1 -1
  5. package/dist/{edit.vue_vue_type_script_setup_true_lang-D-UzvXtU.mjs → edit.vue_vue_type_script_setup_true_lang-BZ-prpPo.mjs} +94 -96
  6. package/dist/{edit.vue_vue_type_script_setup_true_lang-AhC28_ys.mjs → edit.vue_vue_type_script_setup_true_lang-QsTI3qOD.mjs} +1 -1
  7. package/dist/edit.vue_vue_type_script_setup_true_lang-TXBAzoPS.mjs +553 -0
  8. package/dist/{el-message-FfNjxLv_.mjs → el-message-CIdVBT5R.mjs} +1 -1
  9. package/dist/{index-BCP5cBN6.mjs → index-BAHlhmvh.mjs} +60 -61
  10. package/dist/{index-DX1PURJy.mjs → index-BjBTIknS.mjs} +115 -114
  11. package/dist/{index-B5vmtcUk.mjs → index-C6XFHtva.mjs} +92 -95
  12. package/dist/{index-CVbpEq7V.mjs → index-CF0oM0UA.mjs} +139 -100
  13. package/dist/{index-CdzhLCkX.mjs → index-Cp3csR1g.mjs} +3 -3
  14. package/dist/{index-Dld6YbIV.mjs → index-DBIF93AC.mjs} +177 -150
  15. package/dist/{index-BlBkHqXR.mjs → index-DKIrRXT5.mjs} +2 -2
  16. package/dist/{index-CRHpl0qA.mjs → index-DnFWLmFk.mjs} +58 -59
  17. package/dist/{index-DY7ZV5kq.mjs → index-DugZK_BS.mjs} +96 -78
  18. package/dist/{index-BJl7xHYx.mjs → index-bMREgnhp.mjs} +14 -14
  19. package/dist/index.mjs +63 -60
  20. package/dts/api/itsm-flow-acceptance/index.d.ts +3 -1
  21. package/dts/api/itsm-flow-acceptance/types.d.ts +24 -1
  22. package/dts/api/itsm-flow-entrust/index.d.ts +0 -3
  23. package/dts/constant.d.ts +3 -0
  24. package/dts/lang/itsm-flow/zh-cn.d.ts +3 -0
  25. package/dts/views/itsm-flow-acceptance/edit.vue.d.ts +4 -4
  26. package/package.json +1 -1
  27. package/dist/edit.vue_vue_type_script_setup_true_lang-BYz7O3Xi.mjs +0 -523
package/dist/index.mjs CHANGED
@@ -56,6 +56,7 @@ const bs = {}, Ns = {
56
56
  stage: "验收阶段",
57
57
  stageRequired: "请输入验收阶段",
58
58
  headman: "验收组长",
59
+ headmanRequired: "自动带出验收组长",
59
60
  members: "验收成员",
60
61
  membersRequired: "请选择验收成员",
61
62
  serviceContent: "约定服务内容",
@@ -66,7 +67,9 @@ const bs = {}, Ns = {
66
67
  orderIdRequired: "请选择订单编号",
67
68
  orderIdRequireds: "根据订单编号自动带出",
68
69
  files: "验收资料",
69
- filesRequired: "请上传验收资料"
70
+ filesRequired: "请上传验收资料",
71
+ deleteSuccess: "删除成功",
72
+ deleteFail: "删除失败"
70
73
  },
71
74
  // 结算单流程表
72
75
  itsmFlowReckoning: {
@@ -94,7 +97,7 @@ const bs = {}, Ns = {
94
97
  totalPrice: "含税总计金额(元)"
95
98
  }
96
99
  };
97
- function xs(e) {
100
+ function Rs(e) {
98
101
  let t = e.global.getLocaleMessage("zh-cn");
99
102
  t = Yt(t, Ns);
100
103
  let s = e.global.getLocaleMessage("en");
@@ -109,7 +112,7 @@ var It;
109
112
  function l() {
110
113
  return It.apply(null, arguments);
111
114
  }
112
- function Rs(e) {
115
+ function xs(e) {
113
116
  It = e;
114
117
  }
115
118
  function P(e) {
@@ -215,7 +218,7 @@ function F(e) {
215
218
  function Lt(e) {
216
219
  l.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
217
220
  }
218
- function x(e, t) {
221
+ function R(e, t) {
219
222
  var s = !0;
220
223
  return X(function() {
221
224
  if (l.deprecationHandler != null && l.deprecationHandler(null, e), s) {
@@ -432,13 +435,13 @@ var bt = {
432
435
  years: "year",
433
436
  year: "year"
434
437
  };
435
- function R(e) {
438
+ function x(e) {
436
439
  return typeof e == "string" ? bt[e] || bt[e.toLowerCase()] : void 0;
437
440
  }
438
441
  function lt(e) {
439
442
  var t = {}, s, r;
440
443
  for (r in e)
441
- w(e, r) && (s = R(r), s && (t[s] = e[r]));
444
+ w(e, r) && (s = x(r), s && (t[s] = e[r]));
442
445
  return t;
443
446
  }
444
447
  var $s = {
@@ -467,15 +470,15 @@ function Bs(e) {
467
470
  return r.priority - a.priority;
468
471
  }), t;
469
472
  }
470
- var At = /\d/, b = /\d\d/, Ht = /\d{3}/, ut = /\d{4}/, Ce = /[+-]?\d{6}/, S = /\d\d?/, Vt = /\d\d\d\d?/, Gt = /\d\d\d\d\d\d?/, Le = /\d{1,3}/, dt = /\d{1,4}/, Ue = /[+-]?\d{1,6}/, he = /\d+/, Ee = /[+-]?\d+/, Js = /Z|[+-]\d\d:?\d\d/gi, Ae = /Z|[+-]\d\d(?::?\d\d)?/gi, Qs = /[+-]?\d+(\.\d{1,3})?/, De = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, fe = /^[1-9]\d?/, ht = /^([1-9]\d|\d)/, xe;
471
- xe = {};
473
+ var At = /\d/, b = /\d\d/, Ht = /\d{3}/, ut = /\d{4}/, Ce = /[+-]?\d{6}/, S = /\d\d?/, Vt = /\d\d\d\d?/, Gt = /\d\d\d\d\d\d?/, Le = /\d{1,3}/, dt = /\d{1,4}/, Ue = /[+-]?\d{1,6}/, he = /\d+/, Ee = /[+-]?\d+/, Js = /Z|[+-]\d\d:?\d\d/gi, Ae = /Z|[+-]\d\d(?::?\d\d)?/gi, Qs = /[+-]?\d+(\.\d{1,3})?/, De = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, fe = /^[1-9]\d?/, ht = /^([1-9]\d|\d)/, Re;
474
+ Re = {};
472
475
  function d(e, t, s) {
473
- xe[e] = E(t) ? t : function(r, a) {
476
+ Re[e] = E(t) ? t : function(r, a) {
474
477
  return r && s ? s : t;
475
478
  };
476
479
  }
477
480
  function Xs(e, t) {
478
- return w(xe, e) ? xe[e](t._strict, t._locale) : new RegExp(Ks(e));
481
+ return w(Re, e) ? Re[e](t._strict, t._locale) : new RegExp(Ks(e));
479
482
  }
480
483
  function Ks(e) {
481
484
  return z(
@@ -605,7 +608,7 @@ function qt(e, t, s) {
605
608
  }
606
609
  }
607
610
  function ar(e) {
608
- return e = R(e), E(this[e]) ? this[e]() : this;
611
+ return e = x(e), E(this[e]) ? this[e]() : this;
609
612
  }
610
613
  function nr(e, t) {
611
614
  if (typeof e == "object") {
@@ -613,7 +616,7 @@ function nr(e, t) {
613
616
  var s = Bs(e), r, a = s.length;
614
617
  for (r = 0; r < a; r++)
615
618
  this[s[r].unit](e[s[r].unit]);
616
- } else if (e = R(e), E(this[e]))
619
+ } else if (e = x(e), E(this[e]))
617
620
  return this[e](t);
618
621
  return this;
619
622
  }
@@ -743,26 +746,26 @@ function ke(e) {
743
746
  var t, s;
744
747
  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;
745
748
  }
746
- function Re(e, t, s) {
749
+ function xe(e, t, s) {
747
750
  var r = 7 + t - s, a = (7 + ke(e, 0, r).getUTCDay() - t) % 7;
748
751
  return -a + r - 1;
749
752
  }
750
753
  function Qt(e, t, s, r, a) {
751
- var n = (7 + s - r) % 7, i = Re(e, r, a), u = 1 + 7 * (t - 1) + n + i, f, _;
754
+ var n = (7 + s - r) % 7, i = xe(e, r, a), u = 1 + 7 * (t - 1) + n + i, f, _;
752
755
  return u <= 0 ? (f = e - 1, _ = ye(f) + u) : u > ye(e) ? (f = e + 1, _ = u - ye(e)) : (f = e, _ = u), {
753
756
  year: f,
754
757
  dayOfYear: _
755
758
  };
756
759
  }
757
760
  function ge(e, t, s) {
758
- var r = Re(e.year(), t, s), a = Math.floor((e.dayOfYear() - r - 1) / 7) + 1, n, i;
761
+ var r = xe(e.year(), t, s), a = Math.floor((e.dayOfYear() - r - 1) / 7) + 1, n, i;
759
762
  return a < 1 ? (i = e.year() - 1, n = a + Z(i, t, s)) : a > Z(e.year(), t, s) ? (n = a - Z(e.year(), t, s), i = e.year() + 1) : (i = e.year(), n = a), {
760
763
  week: n,
761
764
  year: i
762
765
  };
763
766
  }
764
767
  function Z(e, t, s) {
765
- var r = Re(e, t, s), a = Re(e + 1, t, s);
768
+ var r = xe(e, t, s), a = xe(e + 1, t, s);
766
769
  return (ye(e) - r + a) / 7;
767
770
  }
768
771
  h("w", ["ww", 2], "wo", "week");
@@ -840,8 +843,8 @@ function Yr(e, t) {
840
843
  function ct(e, t) {
841
844
  return e.slice(t, 7).concat(e.slice(0, t));
842
845
  }
843
- var Or = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Xt = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Tr = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), br = De, Nr = De, xr = De;
844
- function Rr(e, t) {
846
+ var Or = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Xt = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Tr = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), br = De, Nr = De, Rr = De;
847
+ function xr(e, t) {
845
848
  var s = P(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
846
849
  return e === !0 ? ct(s, this._week.dow) : e ? s[e.day()] : s;
847
850
  }
@@ -916,7 +919,7 @@ function Ar(e) {
916
919
  return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || mt.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (w(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Nr), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
917
920
  }
918
921
  function Hr(e) {
919
- return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || mt.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (w(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = xr), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
922
+ return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || mt.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (w(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Rr), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
920
923
  }
921
924
  function mt() {
922
925
  function e(O, A) {
@@ -1267,7 +1270,7 @@ function ua(e) {
1267
1270
  return;
1268
1271
  e._strict ? e._isValid = !1 : l.createFromInputFallback(e);
1269
1272
  }
1270
- l.createFromInputFallback = x(
1273
+ l.createFromInputFallback = R(
1271
1274
  "value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",
1272
1275
  function(e) {
1273
1276
  e._d = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
@@ -1376,13 +1379,13 @@ function ns(e, t, s, r, a) {
1376
1379
  function M(e, t, s, r) {
1377
1380
  return ns(e, t, s, r, !1);
1378
1381
  }
1379
- var wa = x(
1382
+ var wa = R(
1380
1383
  "moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
1381
1384
  function() {
1382
1385
  var e = M.apply(null, arguments);
1383
1386
  return this.isValid() && e.isValid() ? e < this ? this : e : Ie();
1384
1387
  }
1385
- ), ka = x(
1388
+ ), ka = R(
1386
1389
  "moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
1387
1390
  function() {
1388
1391
  var e = M.apply(null, arguments);
@@ -1506,10 +1509,10 @@ function ba(e, t) {
1506
1509
  function Na(e) {
1507
1510
  return this.utcOffset(0, e);
1508
1511
  }
1509
- function xa(e) {
1512
+ function Ra(e) {
1510
1513
  return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(tt(this), "m")), this;
1511
1514
  }
1512
- function Ra() {
1515
+ function xa() {
1513
1516
  if (this._tzm != null)
1514
1517
  this.utcOffset(this._tzm, !1, !0);
1515
1518
  else if (typeof this._i == "string") {
@@ -1573,13 +1576,13 @@ function te(e, t) {
1573
1576
  var s = e && parseFloat(e.replace(",", "."));
1574
1577
  return (isNaN(s) ? 0 : s) * t;
1575
1578
  }
1576
- function xt(e, t) {
1579
+ function Rt(e, t) {
1577
1580
  var s = {};
1578
1581
  return s.months = t.month() - e.month() + (t.year() - e.year()) * 12, e.clone().add(s.months, "M").isAfter(t) && --s.months, s.milliseconds = +t - +e.clone().add(s.months, "M"), s;
1579
1582
  }
1580
1583
  function Ea(e, t) {
1581
1584
  var s;
1582
- return e.isValid() && t.isValid() ? (t = St(t, e), e.isBefore(t) ? s = xt(e, t) : (s = xt(t, e), s.milliseconds = -s.milliseconds, s.months = -s.months), s) : { milliseconds: 0, months: 0 };
1585
+ return e.isValid() && t.isValid() ? (t = St(t, e), e.isBefore(t) ? s = Rt(e, t) : (s = Rt(t, e), s.milliseconds = -s.milliseconds, s.months = -s.months), s) : { milliseconds: 0, months: 0 };
1583
1586
  }
1584
1587
  function us(e, t) {
1585
1588
  return function(s, r) {
@@ -1667,11 +1670,11 @@ function $a() {
1667
1670
  }
1668
1671
  function Ba(e, t) {
1669
1672
  var s = F(e) ? e : M(e);
1670
- return this.isValid() && s.isValid() ? (t = R(t) || "millisecond", t === "millisecond" ? this.valueOf() > s.valueOf() : s.valueOf() < this.clone().startOf(t).valueOf()) : !1;
1673
+ return this.isValid() && s.isValid() ? (t = x(t) || "millisecond", t === "millisecond" ? this.valueOf() > s.valueOf() : s.valueOf() < this.clone().startOf(t).valueOf()) : !1;
1671
1674
  }
1672
1675
  function Ja(e, t) {
1673
1676
  var s = F(e) ? e : M(e);
1674
- return this.isValid() && s.isValid() ? (t = R(t) || "millisecond", t === "millisecond" ? this.valueOf() < s.valueOf() : this.clone().endOf(t).valueOf() < s.valueOf()) : !1;
1677
+ return this.isValid() && s.isValid() ? (t = x(t) || "millisecond", t === "millisecond" ? this.valueOf() < s.valueOf() : this.clone().endOf(t).valueOf() < s.valueOf()) : !1;
1675
1678
  }
1676
1679
  function Qa(e, t, s, r) {
1677
1680
  var a = F(e) ? e : M(e), n = F(t) ? t : M(t);
@@ -1679,7 +1682,7 @@ function Qa(e, t, s, r) {
1679
1682
  }
1680
1683
  function Xa(e, t) {
1681
1684
  var s = F(e) ? e : M(e), r;
1682
- return this.isValid() && s.isValid() ? (t = R(t) || "millisecond", t === "millisecond" ? this.valueOf() === s.valueOf() : (r = s.valueOf(), this.clone().startOf(t).valueOf() <= r && r <= this.clone().endOf(t).valueOf())) : !1;
1685
+ return this.isValid() && s.isValid() ? (t = x(t) || "millisecond", t === "millisecond" ? this.valueOf() === s.valueOf() : (r = s.valueOf(), this.clone().startOf(t).valueOf() <= r && r <= this.clone().endOf(t).valueOf())) : !1;
1683
1686
  }
1684
1687
  function Ka(e, t) {
1685
1688
  return this.isSame(e, t) || this.isAfter(e, t);
@@ -1693,7 +1696,7 @@ function tn(e, t, s) {
1693
1696
  return NaN;
1694
1697
  if (r = St(e, this), !r.isValid())
1695
1698
  return NaN;
1696
- switch (a = (r.utcOffset() - this.utcOffset()) * 6e4, t = R(t), t) {
1699
+ switch (a = (r.utcOffset() - this.utcOffset()) * 6e4, t = x(t), t) {
1697
1700
  case "year":
1698
1701
  n = Ne(this, r) / 12;
1699
1702
  break;
@@ -1773,7 +1776,7 @@ function fs(e) {
1773
1776
  var t;
1774
1777
  return e === void 0 ? this._locale._abbr : (t = B(e), t != null && (this._locale = t), this);
1775
1778
  }
1776
- var cs = x(
1779
+ var cs = R(
1777
1780
  "moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
1778
1781
  function(e) {
1779
1782
  return e === void 0 ? this.localeData() : this.locale(e);
@@ -1794,7 +1797,7 @@ function ws(e, t, s) {
1794
1797
  }
1795
1798
  function hn(e) {
1796
1799
  var t, s;
1797
- if (e = R(e), e === void 0 || e === "millisecond" || !this.isValid())
1800
+ if (e = x(e), e === void 0 || e === "millisecond" || !this.isValid())
1798
1801
  return this;
1799
1802
  switch (s = this._isUTC ? ws : ys, e) {
1800
1803
  case "year":
@@ -1845,7 +1848,7 @@ function hn(e) {
1845
1848
  }
1846
1849
  function fn(e) {
1847
1850
  var t, s;
1848
- if (e = R(e), e === void 0 || e === "millisecond" || !this.isValid())
1851
+ if (e = x(e), e === void 0 || e === "millisecond" || !this.isValid())
1849
1852
  return this;
1850
1853
  switch (s = this._isUTC ? ws : ys, e) {
1851
1854
  case "year":
@@ -2053,10 +2056,10 @@ function Nn() {
2053
2056
  return (this.year() - l(a[e].since).year()) * s + a[e].offset;
2054
2057
  return this.year();
2055
2058
  }
2056
- function xn(e) {
2059
+ function Rn(e) {
2057
2060
  return w(this, "_erasNameRegex") || Dt.call(this), e ? this._erasNameRegex : this._erasRegex;
2058
2061
  }
2059
- function Rn(e) {
2062
+ function xn(e) {
2060
2063
  return w(this, "_erasAbbrRegex") || Dt.call(this), e ? this._erasAbbrRegex : this._erasRegex;
2061
2064
  }
2062
2065
  function Wn(e) {
@@ -2311,8 +2314,8 @@ o.second = o.seconds = zn;
2311
2314
  o.millisecond = o.milliseconds = Ms;
2312
2315
  o.utcOffset = Ta;
2313
2316
  o.utc = Na;
2314
- o.local = xa;
2315
- o.parseZone = Ra;
2317
+ o.local = Ra;
2318
+ o.parseZone = xa;
2316
2319
  o.hasAlignedHourOffset = Wa;
2317
2320
  o.isDST = Pa;
2318
2321
  o.isLocal = Ia;
@@ -2321,23 +2324,23 @@ o.isUtc = ls;
2321
2324
  o.isUTC = ls;
2322
2325
  o.zoneAbbr = $n;
2323
2326
  o.zoneName = Bn;
2324
- o.dates = x(
2327
+ o.dates = R(
2325
2328
  "dates accessor is deprecated. Use date instead.",
2326
2329
  gs
2327
2330
  );
2328
- o.months = x(
2331
+ o.months = R(
2329
2332
  "months accessor is deprecated. Use month instead",
2330
2333
  Bt
2331
2334
  );
2332
- o.years = x(
2335
+ o.years = R(
2333
2336
  "years accessor is deprecated. Use year instead",
2334
2337
  jt
2335
2338
  );
2336
- o.zone = x(
2339
+ o.zone = R(
2337
2340
  "moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
2338
2341
  ba
2339
2342
  );
2340
- o.isDSTShifted = x(
2343
+ o.isDSTShifted = R(
2341
2344
  "isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
2342
2345
  Fa
2343
2346
  );
@@ -2363,8 +2366,8 @@ k.set = Ps;
2363
2366
  k.eras = Dn;
2364
2367
  k.erasParse = pn;
2365
2368
  k.erasConvertYear = Yn;
2366
- k.erasAbbrRegex = Rn;
2367
- k.erasNameRegex = xn;
2369
+ k.erasAbbrRegex = xn;
2370
+ k.erasNameRegex = Rn;
2368
2371
  k.erasNarrowRegex = Wn;
2369
2372
  k.months = dr;
2370
2373
  k.monthsShort = hr;
@@ -2374,7 +2377,7 @@ k.monthsShortRegex = _r;
2374
2377
  k.week = kr;
2375
2378
  k.firstDayOfYear = Sr;
2376
2379
  k.firstDayOfWeek = Mr;
2377
- k.weekdays = Rr;
2380
+ k.weekdays = xr;
2378
2381
  k.weekdaysMin = Pr;
2379
2382
  k.weekdaysShort = Wr;
2380
2383
  k.weekdaysParse = Ir;
@@ -2444,11 +2447,11 @@ ee("en", {
2444
2447
  return e + s;
2445
2448
  }
2446
2449
  });
2447
- l.lang = x(
2450
+ l.lang = R(
2448
2451
  "moment.lang is deprecated. Use moment.locale instead.",
2449
2452
  ee
2450
2453
  );
2451
- l.langData = x(
2454
+ l.langData = R(
2452
2455
  "moment.langData is deprecated. Use moment.localeData instead.",
2453
2456
  B
2454
2457
  );
@@ -2467,12 +2470,12 @@ function ai(e, t) {
2467
2470
  function ni(e, t) {
2468
2471
  return Ds(this, e, t, -1);
2469
2472
  }
2470
- function Rt(e) {
2473
+ function xt(e) {
2471
2474
  return e < 0 ? Math.floor(e) : Math.ceil(e);
2472
2475
  }
2473
2476
  function ii() {
2474
2477
  var e = this._milliseconds, t = this._days, s = this._months, r = this._data, a, n, i, u, f;
2475
- return e >= 0 && t >= 0 && s >= 0 || e <= 0 && t <= 0 && s <= 0 || (e += Rt(st(s) + t) * 864e5, t = 0, s = 0), r.milliseconds = e % 1e3, a = N(e / 1e3), r.seconds = a % 60, n = N(a / 60), r.minutes = n % 60, i = N(n / 60), r.hours = i % 24, t += N(i / 24), f = N(ps(t)), s += f, t -= Rt(st(f)), u = N(s / 12), s %= 12, r.days = t, r.months = s, r.years = u, this;
2478
+ return e >= 0 && t >= 0 && s >= 0 || e <= 0 && t <= 0 && s <= 0 || (e += xt(st(s) + t) * 864e5, t = 0, s = 0), r.milliseconds = e % 1e3, a = N(e / 1e3), r.seconds = a % 60, n = N(a / 60), r.minutes = n % 60, i = N(n / 60), r.hours = i % 24, t += N(i / 24), f = N(ps(t)), s += f, t -= xt(st(f)), u = N(s / 12), s %= 12, r.days = t, r.months = s, r.years = u, this;
2476
2479
  }
2477
2480
  function ps(e) {
2478
2481
  return e * 4800 / 146097;
@@ -2484,7 +2487,7 @@ function oi(e) {
2484
2487
  if (!this.isValid())
2485
2488
  return NaN;
2486
2489
  var t, s, r = this._milliseconds;
2487
- if (e = R(e), e === "month" || e === "quarter" || e === "year")
2490
+ if (e = x(e), e === "month" || e === "quarter" || e === "year")
2488
2491
  switch (t = this._days + r / 864e5, s = this._months + ps(t), e) {
2489
2492
  case "month":
2490
2493
  return s;
@@ -2521,7 +2524,7 @@ function wi() {
2521
2524
  return I(this);
2522
2525
  }
2523
2526
  function ki(e) {
2524
- return e = R(e), this.isValid() ? this[e + "s"]() : NaN;
2527
+ return e = x(e), this.isValid() ? this[e + "s"]() : NaN;
2525
2528
  }
2526
2529
  function ae(e) {
2527
2530
  return function() {
@@ -2558,10 +2561,10 @@ function bi(e, t, s, r) {
2558
2561
  function Ni(e) {
2559
2562
  return e === void 0 ? G : typeof e == "function" ? (G = e, !0) : !1;
2560
2563
  }
2561
- function xi(e, t) {
2564
+ function Ri(e, t) {
2562
2565
  return oe[e] === void 0 ? !1 : t === void 0 ? oe[e] : (oe[e] = t, e === "s" && (oe.ss = t - 1), !0);
2563
2566
  }
2564
- function Ri(e, t) {
2567
+ function xi(e, t) {
2565
2568
  if (!this.isValid())
2566
2569
  return this.localeData().invalidDate();
2567
2570
  var s = !1, r = oe, a, n;
@@ -2604,13 +2607,13 @@ y.days = Di;
2604
2607
  y.weeks = Oi;
2605
2608
  y.months = pi;
2606
2609
  y.years = Yi;
2607
- y.humanize = Ri;
2610
+ y.humanize = xi;
2608
2611
  y.toISOString = qe;
2609
2612
  y.toString = qe;
2610
2613
  y.toJSON = qe;
2611
2614
  y.locale = fs;
2612
2615
  y.localeData = ms;
2613
- y.toIsoString = x(
2616
+ y.toIsoString = R(
2614
2617
  "toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
2615
2618
  qe
2616
2619
  );
@@ -2627,7 +2630,7 @@ g("x", function(e, t, s) {
2627
2630
  });
2628
2631
  //! moment.js
2629
2632
  l.version = "2.30.1";
2630
- Rs(M);
2633
+ xs(M);
2631
2634
  l.fn = o;
2632
2635
  l.min = ga;
2633
2636
  l.max = Ma;
@@ -2650,9 +2653,9 @@ l.defineLocale = yt;
2650
2653
  l.updateLocale = Jr;
2651
2654
  l.locales = Qr;
2652
2655
  l.weekdaysShort = ti;
2653
- l.normalizeUnits = R;
2656
+ l.normalizeUnits = x;
2654
2657
  l.relativeTimeRounding = Ni;
2655
- l.relativeTimeThreshold = xi;
2658
+ l.relativeTimeThreshold = Ri;
2656
2659
  l.calendarFormat = za;
2657
2660
  l.prototype = o;
2658
2661
  l.HTML5_FMT = {
@@ -2684,9 +2687,9 @@ const Wi = {
2684
2687
  }
2685
2688
  };
2686
2689
  }
2687
- }, Pi = /* @__PURE__ */ Object.assign({ "./views/itsm-flow-acceptance/edit.vue": () => import("./edit-B621RtNS.mjs"), "./views/itsm-flow-acceptance/index.vue": () => import("./index-BJl7xHYx.mjs"), "./views/itsm-flow-entrust/edit.vue": () => import("./edit-CoRzQ2SK.mjs"), "./views/itsm-flow-entrust/index.vue": () => import("./index-BlBkHqXR.mjs"), "./views/itsm-flow-reckoning/edit.vue": () => import("./edit-Czk64Yon.mjs"), "./views/itsm-flow-reckoning/index.vue": () => import("./index-CdzhLCkX.mjs") }), Wt = () => import("./index-BCP5cBN6.mjs"), Fi = () => import("./index-DX1PURJy.mjs"), Pt = () => import("./index-CVbpEq7V.mjs"), Ii = () => import("./index-Dld6YbIV.mjs"), Ft = () => import("./index-CRHpl0qA.mjs"), Ci = () => import("./index-B5vmtcUk.mjs"), Ei = {
2690
+ }, Pi = /* @__PURE__ */ Object.assign({ "./views/itsm-flow-acceptance/edit.vue": () => import("./edit-har-8Y54.mjs"), "./views/itsm-flow-acceptance/index.vue": () => import("./index-bMREgnhp.mjs"), "./views/itsm-flow-entrust/edit.vue": () => import("./edit-BnJnxvY6.mjs"), "./views/itsm-flow-entrust/index.vue": () => import("./index-DKIrRXT5.mjs"), "./views/itsm-flow-reckoning/edit.vue": () => import("./edit-D8J1Znw_.mjs"), "./views/itsm-flow-reckoning/index.vue": () => import("./index-Cp3csR1g.mjs") }), Wt = () => import("./index-BAHlhmvh.mjs"), Fi = () => import("./index-BjBTIknS.mjs"), Pt = () => import("./index-CF0oM0UA.mjs"), Ii = () => import("./index-DBIF93AC.mjs"), Ft = () => import("./index-DnFWLmFk.mjs"), Ci = () => import("./index-C6XFHtva.mjs"), Ei = {
2688
2691
  install(e) {
2689
- Os(Pi, 7), xs(Ts), H("TaskItsmFlowEntrust", Wt), H("TaskItsmFlowEntrustEdit", Fi), H("TaskItsmFlowEntrustView", Wt), H("TaskItsmFlowAcceptance", Pt), H(
2692
+ Os(Pi, 7), Rs(Ts), H("TaskItsmFlowEntrust", Wt), H("TaskItsmFlowEntrustEdit", Fi), H("TaskItsmFlowEntrustView", Wt), H("TaskItsmFlowAcceptance", Pt), H(
2690
2693
  "TaskItsmFlowAcceptanceEdit",
2691
2694
  Ii
2692
2695
  ), H("TaskItsmFlowAcceptanceView", Pt), H("TaskItsmFlowReckoning", Ft), H(
@@ -1,5 +1,5 @@
1
1
  import type { AxiosPromise } from "axios";
2
- import type { ItsmFlowAcceptanceApi, ItsmFlowAcceptanceReq, ItsmFlowAcceptanceModel, ItsmFlowAcceptancePage, ItsmFlowAcceptanceList, ItsmFlowAcceptanceKey, ItsmFlowAcceptanceExportReq, ItsmFlowAcceptanceApplyReq } from "./types";
2
+ import type { ItsmFlowAcceptanceApi, ItsmFlowAcceptanceReq, ItsmFlowAcceptanceModel, ItsmFlowAcceptancePage, ItsmFlowAcceptanceList, ItsmFlowAcceptanceKey, ItsmFlowAcceptanceExportReq, ItsmFlowAcceptanceApplyReq, ItsmFlowAcceptanceFilesReq, ItsmFlowAcceptanceFilesList, ItsmFlowAcceptanceHeadmanReq, ItsmFlowAcceptanceHeadmanList } from "./types";
3
3
  declare class ItsmFlowAcceptanceApiImpl implements ItsmFlowAcceptanceApi {
4
4
  getKey(model: ItsmFlowAcceptanceModel): ItsmFlowAcceptanceKey;
5
5
  findPage(query?: ItsmFlowAcceptanceReq): AxiosPromise<ItsmFlowAcceptancePage>;
@@ -9,6 +9,8 @@ declare class ItsmFlowAcceptanceApiImpl implements ItsmFlowAcceptanceApi {
9
9
  submit(data: ItsmFlowAcceptanceApplyReq): AxiosPromise<ItsmFlowAcceptanceModel>;
10
10
  delete(query: ItsmFlowAcceptanceKey): AxiosPromise<ItsmFlowAcceptanceModel>;
11
11
  exportFilePdf(query: ItsmFlowAcceptanceExportReq): AxiosPromise;
12
+ findFilesList(query: ItsmFlowAcceptanceFilesReq): AxiosPromise<ItsmFlowAcceptanceFilesList>;
13
+ findHeadman(query: ItsmFlowAcceptanceHeadmanReq): AxiosPromise<ItsmFlowAcceptanceHeadmanList>;
12
14
  }
13
15
  declare const itsmFlowAcceptanceApi: ItsmFlowAcceptanceApiImpl;
14
16
  export { itsmFlowAcceptanceApi };
@@ -1,4 +1,4 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq } from "jmash-core";
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, FilesReq } from "jmash-core";
2
2
  export interface ItsmFlowAcceptanceApi extends EntityApi {
3
3
  }
4
4
  export interface ItsmFlowAcceptanceReq extends EntityReq {
@@ -27,6 +27,7 @@ export interface ItsmFlowAcceptanceModel extends EntityModel {
27
27
  headmanName?: string;
28
28
  membersName?: string;
29
29
  membersId?: string;
30
+ files?: Array<FilesReq>;
30
31
  }
31
32
  export interface ItsmFlowAcceptanceList extends EntityList {
32
33
  results: Array<ItsmFlowAcceptanceModel>;
@@ -81,3 +82,25 @@ export interface ItsmFlowFormFiles {
81
82
  fileName?: string;
82
83
  fileSort?: string;
83
84
  }
85
+ export interface ItsmFlowAcceptanceFilesReq {
86
+ actionId?: string;
87
+ }
88
+ export interface ItsmFlowAcceptanceFilesModel {
89
+ fileId?: string;
90
+ fileName?: string;
91
+ }
92
+ export interface ItsmFlowAcceptanceFilesList extends EntityList {
93
+ results: Array<ItsmFlowAcceptanceFilesModel>;
94
+ }
95
+ export interface ItsmFlowAcceptanceHeadmanReq {
96
+ tenant?: string;
97
+ deptId?: string;
98
+ jobCode?: string;
99
+ }
100
+ export interface ItsmFlowAcceptanceHeadmanModel {
101
+ key?: string;
102
+ value?: string;
103
+ }
104
+ export interface ItsmFlowAcceptanceHeadmanList extends EntityList {
105
+ results: Array<ItsmFlowAcceptanceHeadmanModel>;
106
+ }
@@ -1,9 +1,6 @@
1
1
  import type { AxiosPromise } from "axios";
2
2
  import type { ItsmFlowEntrustApi, ItsmFlowEntrustReq, ItsmFlowEntrustModel, ItsmFlowEntrustPage, ItsmFlowEntrustList, ItsmFlowEntrustKey, ItsmFlowEntrustExportReq, ItsmFlowEntrustApplyReq, FlowTaskAttachmentCreateReq } from "./types";
3
3
  declare class ItsmFlowEntrustApiImpl implements ItsmFlowEntrustApi {
4
- itsmFlowReckoningApi(arg0: {
5
- entrustId: string;
6
- }): void;
7
4
  getKey(model: ItsmFlowEntrustModel): ItsmFlowEntrustKey;
8
5
  findPage(query?: ItsmFlowEntrustReq): AxiosPromise<ItsmFlowEntrustPage>;
9
6
  findList(query?: ItsmFlowEntrustReq): AxiosPromise<ItsmFlowEntrustList>;
package/dts/constant.d.ts CHANGED
@@ -33,4 +33,7 @@ export declare class Constant {
33
33
  static readonly userType: {
34
34
  companyManager: string;
35
35
  };
36
+ static readonly jobCode: {
37
+ groupLeader: string;
38
+ };
36
39
  }
@@ -51,6 +51,7 @@ declare const _default: {
51
51
  stage: string;
52
52
  stageRequired: string;
53
53
  headman: string;
54
+ headmanRequired: string;
54
55
  members: string;
55
56
  membersRequired: string;
56
57
  serviceContent: string;
@@ -62,6 +63,8 @@ declare const _default: {
62
63
  orderIdRequireds: string;
63
64
  files: string;
64
65
  filesRequired: string;
66
+ deleteSuccess: string;
67
+ deleteFail: string;
65
68
  };
66
69
  itsmFlowReckoning: {
67
70
  name: string;
@@ -1,8 +1,8 @@
1
1
  import { type PropType } from "vue";
2
- import type { ItsmFlowAcceptanceKey } from "@/api/itsm-flow-acceptance/types";
2
+ import type { ItsmFlowAcceptanceModel } from "@/api/itsm-flow-acceptance/types";
3
3
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  entityKey: {
5
- type: PropType<ItsmFlowAcceptanceKey>;
5
+ type: PropType<ItsmFlowAcceptanceModel>;
6
6
  default: () => void;
7
7
  };
8
8
  modelValue: {
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
13
13
  "update:modelValue": (value: boolean) => void;
14
14
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
15
  entityKey: {
16
- type: PropType<ItsmFlowAcceptanceKey>;
16
+ type: PropType<ItsmFlowAcceptanceModel>;
17
17
  default: () => void;
18
18
  };
19
19
  modelValue: {
@@ -23,6 +23,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
23
23
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
24
24
  onRefresh?: ((...args: any[]) => any) | undefined;
25
25
  }>, {
26
- entityKey: ItsmFlowAcceptanceKey;
26
+ entityKey: ItsmFlowAcceptanceModel;
27
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
28
28
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-itsm-flow",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/index.d.ts",