xyvcard-itsm-flow 0.0.17 → 0.0.18

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 (31) hide show
  1. package/dist/{edit-BKYkA5db.mjs → edit-DIh0NEYf.mjs} +1 -1
  2. package/dist/{edit-BeFLJLv1.mjs → edit-DdzFTqhg.mjs} +1 -1
  3. package/dist/{edit-BrIptvPg.mjs → edit-Vw2XQ1u6.mjs} +1 -1
  4. package/dist/{edit.vue_vue_type_script_setup_true_lang-CjjtZ0-a.mjs → edit.vue_vue_type_script_setup_true_lang-BjhcvEHi.mjs} +1 -1
  5. package/dist/{edit.vue_vue_type_script_setup_true_lang-BiWjf5y2.mjs → edit.vue_vue_type_script_setup_true_lang-m73-ejk7.mjs} +1 -1
  6. package/dist/{edit.vue_vue_type_script_setup_true_lang-BhTKkYft.mjs → edit.vue_vue_type_script_setup_true_lang-prup6BHU.mjs} +1 -1
  7. package/dist/{index-CZw5m3rz.mjs → index-7_pEehBt.mjs} +4 -8
  8. package/dist/{index-B9enSHLF.mjs → index-BI1uXq1f.mjs} +1 -1
  9. package/dist/{index-BuNBRcBE.mjs → index-C54FcKfo.mjs} +75 -70
  10. package/dist/{index-DY017z-s.mjs → index-C7_kMdm5.mjs} +2 -2
  11. package/dist/{index-C3OfA9Me.mjs → index-C7nUkCbR.mjs} +71 -65
  12. package/dist/{index-B7xhs2Eg.mjs → index-CITy8Hqm.mjs} +1 -1
  13. package/dist/{index-DVDOqO_3.mjs → index-Cgbv4Ijf.mjs} +16 -13
  14. package/dist/{index-B7M3zSyM.mjs → index-CxyHtsq2.mjs} +2 -2
  15. package/dist/{index-C0CZrR-1.mjs → index-DaSMRndr.mjs} +2 -2
  16. package/dist/{index-CW4AhrRD.mjs → index-DcpiD-9M.mjs} +100 -95
  17. package/dist/{index-Clc9EA6r.mjs → index-Dooa5UH_.mjs} +1 -1
  18. package/dist/{index-IG9HKXxJ.mjs → index-g0KiWDPW.mjs} +35 -38
  19. package/dist/{index-d_oBTW1A.mjs → index-tnTugnqa.mjs} +51 -54
  20. package/dist/index.mjs +1 -1
  21. package/dist/{info-D6GMiIlG.mjs → info-8NydJYfB.mjs} +1 -1
  22. package/dist/{info-DxYNokk4.mjs → info-BbMCDfFR.mjs} +1 -1
  23. package/dist/{info-CFSSXb0f.mjs → info-l0eP5Tw1.mjs} +1 -1
  24. package/dist/{info.vue_vue_type_script_setup_true_lang-BFT23MNt.mjs → info.vue_vue_type_script_setup_true_lang-BnDpoavn.mjs} +17 -13
  25. package/dist/{info.vue_vue_type_script_setup_true_lang-CSn1JLZG.mjs → info.vue_vue_type_script_setup_true_lang-DMw-pPEW.mjs} +1 -1
  26. package/dist/{info.vue_vue_type_script_setup_true_lang-CYmFW8We.mjs → info.vue_vue_type_script_setup_true_lang-wuHB-S6l.mjs} +1 -1
  27. package/dts/api/itsm-flow-acceptance/types.d.ts +1 -1
  28. package/dts/api/itsm-flow-entrust/types.d.ts +1 -1
  29. package/dts/api/itsm-flow-reckoning/types.d.ts +1 -1
  30. package/dts/constant.d.ts +1 -0
  31. package/package.json +2 -2
@@ -1,12 +1,12 @@
1
- import { defineComponent as ge, mergeModels as Ie, ref as f, useModel as he, reactive as H, resolveComponent as d, createElementBlock as k, openBlock as w, Fragment as $, createVNode as l, withCtx as o, createElementVNode as u, unref as r, renderList as K, createBlock as q, toDisplayString as W, createCommentVNode as we, createTextVNode as O } from "vue";
1
+ import { defineComponent as be, mergeModels as ge, ref as f, useModel as Ie, reactive as H, resolveComponent as d, createElementBlock as k, openBlock as w, Fragment as $, createVNode as l, withCtx as o, createElementVNode as u, unref as r, renderList as K, createBlock as q, toDisplayString as W, createCommentVNode as he, createTextVNode as O } from "vue";
2
2
  import "element-plus";
3
- import { useI18n as Ee } from "vue-i18n";
4
- import { p as Ve } from "./index-PafaMNgK.mjs";
5
- import { c as _e, C as v, d as Ne, e as Fe, D as E, a as J, f as R, b as Ue } from "./index-DVDOqO_3.mjs";
6
- import { E as G } from "./el-message-DawVzOVQ.mjs";
7
- const Re = /* @__PURE__ */ ge({
3
+ import { useI18n as we } from "vue-i18n";
4
+ import { p as Ee } from "./index-PafaMNgK.mjs";
5
+ import { c as Ve, C as v, d as _e, e as Ne, D as E, a as J, f as R, b as Fe } from "./index-Cgbv4Ijf.mjs";
6
+ import { E as Ue } from "./el-message-DawVzOVQ.mjs";
7
+ const Re = /* @__PURE__ */ be({
8
8
  __name: "index",
9
- props: /* @__PURE__ */ Ie({
9
+ props: /* @__PURE__ */ ge({
10
10
  task: {
11
11
  type: Object,
12
12
  default: () => {
@@ -17,24 +17,24 @@ const Re = /* @__PURE__ */ ge({
17
17
  modelModifiers: {}
18
18
  }),
19
19
  emits: ["update:modelValue"],
20
- setup(D, { expose: Q }) {
21
- const { t: I } = Ee(), B = f([]), z = f([]), M = f([]), V = f([]), p = f({}), _ = f([]), U = new _e({
20
+ setup(D, { expose: G }) {
21
+ const { t: I } = we(), B = f([]), z = f([]), M = f([]), V = f([]), p = f({}), _ = f([]), U = new Ve({
22
22
  contractSort: v.contractSort.manpower,
23
23
  contractType: v.contractType.outsource
24
24
  });
25
25
  U.useValues();
26
- const y = new Ne({
26
+ const y = new _e({
27
27
  contractSort: v.contractSort.manpower,
28
28
  contractType: v.contractType.outsource
29
29
  });
30
30
  y.useValues();
31
- const N = new Fe({});
31
+ const N = new Ne({});
32
32
  N.useValues(), E.parentIdBizDict.useValues(), E.orgIdBizDict.useValues();
33
33
  const S = D, T = f({
34
34
  curPage: 1,
35
35
  pageSize: 10,
36
36
  entrustId: S.task.businessKey
37
- }), b = he(D, "modelValue"), A = f();
37
+ }), b = Ie(D, "modelValue"), A = f();
38
38
  let s = H({
39
39
  requestId: Math.random() * 10 + ""
40
40
  });
@@ -46,7 +46,7 @@ const Re = /* @__PURE__ */ ge({
46
46
  duration: []
47
47
  }
48
48
  ]);
49
- function X() {
49
+ function Q() {
50
50
  g.value.push({
51
51
  contractUserId: "",
52
52
  idNo: "",
@@ -54,11 +54,11 @@ const Re = /* @__PURE__ */ ge({
54
54
  duration: []
55
55
  });
56
56
  }
57
- function Y(e) {
57
+ function X(e) {
58
58
  const t = g.value.indexOf(e.row);
59
59
  t !== 0 && g.value.splice(t, 1);
60
60
  }
61
- const Z = H({
61
+ const Y = H({
62
62
  contractId: [
63
63
  {
64
64
  required: !0,
@@ -88,11 +88,11 @@ const Re = /* @__PURE__ */ ge({
88
88
  }
89
89
  ]
90
90
  });
91
- S.task.businessKey && ee(), Q({
92
- changeModel: () => ue()
91
+ S.task.businessKey && x(), G({
92
+ changeModel: () => se()
93
93
  });
94
- function x() {
95
- Ue.findList({ actionId: T.value.entrustId }).then(({ data: e }) => {
94
+ function Z() {
95
+ Fe.findList({ actionId: T.value.entrustId }).then(({ data: e }) => {
96
96
  const t = e.results.map((a) => ({
97
97
  ...a,
98
98
  contractUserId: a.userId,
@@ -101,9 +101,9 @@ const Re = /* @__PURE__ */ ge({
101
101
  g.value = t;
102
102
  });
103
103
  }
104
- function ee() {
104
+ function x() {
105
105
  J.findById({ entrustId: T.value.entrustId }).then(({ data: e }) => {
106
- Object.assign(s, e), x(), p.value = new R({
106
+ Object.assign(s, e), Z(), p.value = new R({
107
107
  contractId: e.contractId
108
108
  }), p.value.useValues(), _.value = typeof e.entrustItsmId == "string" ? e.entrustItsmId.split(",") || [] : [], V.value = typeof e.belongOrgId == "string" ? e.belongOrgId.split(",") || [] : [];
109
109
  });
@@ -113,7 +113,7 @@ const Re = /* @__PURE__ */ ge({
113
113
  e.contractUserId = "", e.idNo = "", e.cost = 0, e.duration = [];
114
114
  });
115
115
  }
116
- function te(e) {
116
+ function ee(e) {
117
117
  const t = U.values.find(
118
118
  (a) => a.key === e
119
119
  );
@@ -121,7 +121,7 @@ const Re = /* @__PURE__ */ ge({
121
121
  contractId: e
122
122
  }), p.value.useValues();
123
123
  }
124
- function le(e) {
124
+ function te(e) {
125
125
  const t = y.values.find(
126
126
  (a) => a.key === e
127
127
  );
@@ -129,13 +129,13 @@ const Re = /* @__PURE__ */ ge({
129
129
  contractId: t.contractId
130
130
  }), p.value.useValues();
131
131
  }
132
- function ae(e, t) {
132
+ function le(e, t) {
133
133
  const a = p.value.values.find(
134
134
  (m) => m.key === e
135
135
  );
136
136
  a ? (t.userName = a.value ?? "", t.idNo = a.idNo ?? "", t.cost = Number(a.cost) || 0) : (t.userName = "", t.idNo = "", t.cost = 0);
137
137
  }
138
- function ne(e) {
138
+ function ae(e) {
139
139
  const t = e.map((a) => {
140
140
  const m = N.values.find(
141
141
  (c) => c.key === a
@@ -144,7 +144,7 @@ const Re = /* @__PURE__ */ ge({
144
144
  }).filter((a) => a !== null);
145
145
  V.value = Array.from(new Set(t));
146
146
  }
147
- function oe() {
147
+ function ne() {
148
148
  z.value = _.value.map((e) => {
149
149
  const t = N.values.find(
150
150
  (a) => a.key === e
@@ -155,7 +155,7 @@ const Re = /* @__PURE__ */ ge({
155
155
  };
156
156
  });
157
157
  }
158
- function re() {
158
+ function oe() {
159
159
  M.value = V.value.map((e) => {
160
160
  const t = E.parentIdBizDict.values.find(
161
161
  (a) => a.value === e
@@ -166,7 +166,7 @@ const Re = /* @__PURE__ */ ge({
166
166
  };
167
167
  });
168
168
  }
169
- function se() {
169
+ function re() {
170
170
  B.value = g.value.map((e) => {
171
171
  console.log(e);
172
172
  const { duration: t, ...a } = e;
@@ -177,9 +177,9 @@ const Re = /* @__PURE__ */ ge({
177
177
  };
178
178
  }).filter(
179
179
  (e) => !(e.cost === 0 && !e.contractUserId)
180
- ), oe(), re();
180
+ ), ne(), oe();
181
181
  }
182
- function ue() {
182
+ function se() {
183
183
  return b.value && (b.value.selectActions = [
184
184
  { key: "true", value: "同意" },
185
185
  { key: "false", value: "不同意" }
@@ -188,18 +188,15 @@ const Re = /* @__PURE__ */ ge({
188
188
  (a = A.value) == null || a.validate((m) => {
189
189
  if (m) {
190
190
  if (b.value) {
191
- if (b.value.comment = "", se(), _.value.length === 0)
192
- return G.warning(I("itsmFlowEntrust.entrustItsmIdRequired")), t(!1);
191
+ if (b.value.comment = "", re(), _.value.length === 0)
192
+ return Ue.warning(I("itsmFlowEntrust.entrustItsmIdRequired")), t(!1);
193
193
  s.requestId = Math.random() * 10 + "", J.save({
194
194
  ...s,
195
195
  entrustUser: B.value,
196
196
  belongOrg: M.value,
197
197
  entrustItsm: z.value
198
198
  }).then((c) => {
199
- c.status === 200 ? e(!0) : (G({
200
- message: "保存失败,请联系管理员!",
201
- type: "error"
202
- }), t(!1));
199
+ c.status === 200 ? e(!0) : t(!1);
203
200
  });
204
201
  }
205
202
  } else
@@ -208,7 +205,7 @@ const Re = /* @__PURE__ */ ge({
208
205
  });
209
206
  }
210
207
  return (e, t) => {
211
- const a = d("el-col"), m = d("jmash-select"), c = d("el-form-item"), de = d("jmash-dict-select"), j = d("el-option"), P = d("el-select"), ie = d("el-tree-select"), C = d("el-row"), F = d("el-input"), h = d("el-table-column"), ce = d("el-date-picker"), me = d("DeleteFilled"), pe = d("el-icon"), fe = d("el-table"), ve = d("el-button"), be = d("el-form");
208
+ const a = d("el-col"), m = d("jmash-select"), c = d("el-form-item"), ue = d("jmash-dict-select"), j = d("el-option"), P = d("el-select"), de = d("el-tree-select"), C = d("el-row"), F = d("el-input"), h = d("el-table-column"), ie = d("el-date-picker"), ce = d("DeleteFilled"), me = d("el-icon"), pe = d("el-table"), fe = d("el-button"), ve = d("el-form");
212
209
  return w(), k($, null, [
213
210
  l(a, { span: 24 }, {
214
211
  default: o(() => t[9] || (t[9] = [
@@ -217,12 +214,12 @@ const Re = /* @__PURE__ */ ge({
217
214
  _: 1,
218
215
  __: [9]
219
216
  }),
220
- l(be, {
217
+ l(ve, {
221
218
  ref_key: "taskFormRef",
222
219
  ref: A,
223
220
  model: r(s),
224
221
  "label-width": "150px",
225
- rules: Z,
222
+ rules: Y,
226
223
  class: "custom-table-form custom-form"
227
224
  }, {
228
225
  default: o(() => [
@@ -241,7 +238,7 @@ const Re = /* @__PURE__ */ ge({
241
238
  clearable: "",
242
239
  filterable: "",
243
240
  class: "w-full",
244
- onChange: te
241
+ onChange: ee
245
242
  }, null, 8, ["modelValue", "placeholder", "data"])
246
243
  ]),
247
244
  _: 1
@@ -264,7 +261,7 @@ const Re = /* @__PURE__ */ ge({
264
261
  clearable: "",
265
262
  filterable: "",
266
263
  class: "w-full",
267
- onChange: le
264
+ onChange: te
268
265
  }, null, 8, ["modelValue", "placeholder", "data"])
269
266
  ]),
270
267
  _: 1
@@ -279,7 +276,7 @@ const Re = /* @__PURE__ */ ge({
279
276
  prop: "entrustName"
280
277
  }, {
281
278
  default: o(() => [
282
- l(de, {
279
+ l(ue, {
283
280
  modelValue: r(s).entrustName,
284
281
  "onUpdate:modelValue": t[2] || (t[2] = (n) => r(s).entrustName = n),
285
282
  placeholder: e.$t("itsmFlowEntrust.entrustNameRequired"),
@@ -309,7 +306,7 @@ const Re = /* @__PURE__ */ ge({
309
306
  filterable: "",
310
307
  clearable: "",
311
308
  multiple: "",
312
- onChange: ne
309
+ onChange: ae
313
310
  }, {
314
311
  default: o(() => [
315
312
  (w(!0), k($, null, K(r(N).values, (n) => (w(), q(j, {
@@ -334,7 +331,7 @@ const Re = /* @__PURE__ */ ge({
334
331
  prop: "belongOrg"
335
332
  }, {
336
333
  default: o(() => [
337
- l(ie, {
334
+ l(de, {
338
335
  modelValue: V.value,
339
336
  "onUpdate:modelValue": t[4] || (t[4] = (n) => V.value = n),
340
337
  data: r(E).parentIdBizDict.values,
@@ -445,7 +442,7 @@ const Re = /* @__PURE__ */ ge({
445
442
  }),
446
443
  l(C, null, {
447
444
  default: o(() => [
448
- l(fe, {
445
+ l(pe, {
449
446
  data: g.value,
450
447
  border: "",
451
448
  style: { width: "100%" }
@@ -471,7 +468,7 @@ const Re = /* @__PURE__ */ ge({
471
468
  class: "w-full",
472
469
  filterable: "",
473
470
  clearable: "",
474
- onChange: (i) => ae(i, n)
471
+ onChange: (i) => le(i, n)
475
472
  }, {
476
473
  default: o(() => [
477
474
  (w(!0), k($, null, K(p.value.values, (i) => (w(), q(j, {
@@ -526,7 +523,7 @@ const Re = /* @__PURE__ */ ge({
526
523
  u("span", null, W(e.$t("itsmFlowEntrustUser.duration")), 1)
527
524
  ]),
528
525
  default: o(({ row: n }) => [
529
- l(ce, {
526
+ l(ie, {
530
527
  modelValue: n.duration,
531
528
  "onUpdate:modelValue": (i) => n.duration = i,
532
529
  type: "monthrange",
@@ -545,28 +542,28 @@ const Re = /* @__PURE__ */ ge({
545
542
  align: "center"
546
543
  }, {
547
544
  default: o((n) => [
548
- n.$index !== 0 ? (w(), q(pe, {
545
+ n.$index !== 0 ? (w(), q(me, {
549
546
  key: 0,
550
- onClick: (i) => Y(n),
547
+ onClick: (i) => X(n),
551
548
  size: "18",
552
549
  style: { cursor: "pointer", color: "inherit" },
553
550
  class: "hover-blue"
554
551
  }, {
555
552
  default: o(() => [
556
- l(me)
553
+ l(ce)
557
554
  ]),
558
555
  _: 2
559
- }, 1032, ["onClick"])) : we("", !0)
556
+ }, 1032, ["onClick"])) : he("", !0)
560
557
  ]),
561
558
  _: 1
562
559
  }, 8, ["label"])
563
560
  ]),
564
561
  _: 1
565
562
  }, 8, ["data"]),
566
- l(ve, {
567
- icon: r(Ve),
563
+ l(fe, {
564
+ icon: r(Ee),
568
565
  class: "addButton",
569
- onClick: X
566
+ onClick: Q
570
567
  }, {
571
568
  default: o(() => [
572
569
  O(W(r(I)("common.add")), 1)
package/dist/index.mjs CHANGED
@@ -2697,7 +2697,7 @@ const Wi = {
2697
2697
  }
2698
2698
  };
2699
2699
  }
2700
- }, Pi = /* @__PURE__ */ Object.assign({ "./views/itsm-flow-acceptance-info/index.vue": () => import("./index-C3OfA9Me.mjs"), "./views/itsm-flow-acceptance-info/info.vue": () => import("./info-CFSSXb0f.mjs"), "./views/itsm-flow-acceptance/edit.vue": () => import("./edit-BeFLJLv1.mjs"), "./views/itsm-flow-acceptance/index.vue": () => import("./index-DY017z-s.mjs"), "./views/itsm-flow-entrust-info/index.vue": () => import("./index-BuNBRcBE.mjs"), "./views/itsm-flow-entrust-info/info.vue": () => import("./info-DxYNokk4.mjs"), "./views/itsm-flow-entrust/edit.vue": () => import("./edit-BrIptvPg.mjs"), "./views/itsm-flow-entrust/index.vue": () => import("./index-C0CZrR-1.mjs"), "./views/itsm-flow-reckoning-info/index.vue": () => import("./index-CW4AhrRD.mjs"), "./views/itsm-flow-reckoning-info/info.vue": () => import("./info-D6GMiIlG.mjs"), "./views/itsm-flow-reckoning/edit.vue": () => import("./edit-BKYkA5db.mjs"), "./views/itsm-flow-reckoning/index.vue": () => import("./index-B7M3zSyM.mjs") }), Wt = () => import("./index-Clc9EA6r.mjs"), Fi = () => import("./index-d_oBTW1A.mjs"), Pt = () => import("./index-B9enSHLF.mjs"), Ii = () => import("./index-IG9HKXxJ.mjs"), Ft = () => import("./index-B7xhs2Eg.mjs"), Ci = () => import("./index-CZw5m3rz.mjs"), Ei = {
2700
+ }, Pi = /* @__PURE__ */ Object.assign({ "./views/itsm-flow-acceptance-info/index.vue": () => import("./index-C7nUkCbR.mjs"), "./views/itsm-flow-acceptance-info/info.vue": () => import("./info-l0eP5Tw1.mjs"), "./views/itsm-flow-acceptance/edit.vue": () => import("./edit-Vw2XQ1u6.mjs"), "./views/itsm-flow-acceptance/index.vue": () => import("./index-C7_kMdm5.mjs"), "./views/itsm-flow-entrust-info/index.vue": () => import("./index-C54FcKfo.mjs"), "./views/itsm-flow-entrust-info/info.vue": () => import("./info-BbMCDfFR.mjs"), "./views/itsm-flow-entrust/edit.vue": () => import("./edit-DdzFTqhg.mjs"), "./views/itsm-flow-entrust/index.vue": () => import("./index-DaSMRndr.mjs"), "./views/itsm-flow-reckoning-info/index.vue": () => import("./index-DcpiD-9M.mjs"), "./views/itsm-flow-reckoning-info/info.vue": () => import("./info-8NydJYfB.mjs"), "./views/itsm-flow-reckoning/edit.vue": () => import("./edit-DIh0NEYf.mjs"), "./views/itsm-flow-reckoning/index.vue": () => import("./index-CxyHtsq2.mjs") }), Wt = () => import("./index-Dooa5UH_.mjs"), Fi = () => import("./index-tnTugnqa.mjs"), Pt = () => import("./index-BI1uXq1f.mjs"), Ii = () => import("./index-g0KiWDPW.mjs"), Ft = () => import("./index-CITy8Hqm.mjs"), Ci = () => import("./index-7_pEehBt.mjs"), Ei = {
2701
2701
  install(e) {
2702
2702
  Os(Pi, 7), Rs(Ts), H("TaskItsmFlowEntrust", Wt), H("TaskItsmFlowEntrustEdit", Fi), H("TaskItsmFlowEntrustView", Wt), H("TaskItsmFlowAcceptance", Pt), H(
2703
2703
  "TaskItsmFlowAcceptanceEdit",
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./info.vue_vue_type_script_setup_true_lang-BFT23MNt.mjs";
1
+ import { _ as f } from "./info.vue_vue_type_script_setup_true_lang-BnDpoavn.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./info.vue_vue_type_script_setup_true_lang-CSn1JLZG.mjs";
1
+ import { _ as f } from "./info.vue_vue_type_script_setup_true_lang-DMw-pPEW.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./info.vue_vue_type_script_setup_true_lang-CYmFW8We.mjs";
1
+ import { _ as f } from "./info.vue_vue_type_script_setup_true_lang-wuHB-S6l.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as K, mergeModels as O, ref as F, useModel as A, computed as P, resolveComponent as p, createBlock as j, openBlock as b, withCtx as t, createVNode as e, createElementVNode as n, createTextVNode as a, toDisplayString as s, unref as v, createElementBlock as w, createCommentVNode as M, withDirectives as $, vShow as E } from "vue";
1
+ import { defineComponent as K, mergeModels as O, ref as F, useModel as A, computed as P, resolveComponent as p, createBlock as j, openBlock as b, withCtx as t, createVNode as e, createElementVNode as n, createTextVNode as a, toDisplayString as s, unref as v, createElementBlock as g, createCommentVNode as M, withDirectives as I, vShow as $ } from "vue";
2
2
  import "element-plus";
3
3
  import { i as z, t as L, a as S } from "./common-Cwl5jzlM.mjs";
4
- import { D as g, b as q } from "./index-DVDOqO_3.mjs";
4
+ import { D as w, b as q } from "./index-Cgbv4Ijf.mjs";
5
5
  const T = { key: 0 }, G = { key: 1 }, H = {
6
6
  key: 2,
7
7
  class: "distance-left"
@@ -19,8 +19,10 @@ const T = { key: 0 }, G = { key: 1 }, H = {
19
19
  }),
20
20
  emits: ["update:modelValue"],
21
21
  setup(k) {
22
- const I = F(), f = A(k, "modelValue"), r = F({}), _ = k;
23
- g.orgIdBizDict.useValues();
22
+ const E = F(), f = A(k, "modelValue"), r = F(
23
+ {}
24
+ ), _ = k;
25
+ w.orgIdBizDict.useValues();
24
26
  const R = P(() => (r.value.entrustUser || []).map((l) => ({
25
27
  cost: typeof l.cost == "number" ? l.cost : 0,
26
28
  duration: typeof l.duration == "number" ? l.duration : 0
@@ -61,7 +63,7 @@ const T = { key: 0 }, G = { key: 1 }, H = {
61
63
  }),
62
64
  e(D, {
63
65
  ref_key: "itsmFlowReckoningFormRef",
64
- ref: I,
66
+ ref: E,
65
67
  "label-width": "150px",
66
68
  class: "custom-table-form custom-form"
67
69
  }, {
@@ -113,7 +115,9 @@ const T = { key: 0 }, G = { key: 1 }, H = {
113
115
  prop: "entrustName"
114
116
  }, {
115
117
  default: t(() => [
116
- a(s(v(g).projectNameDict.getDictValue(r.value.entrustName)), 1)
118
+ a(s(v(w).projectNameDict.getDictValue(
119
+ r.value.entrustName
120
+ )), 1)
117
121
  ]),
118
122
  _: 1
119
123
  }, 8, ["label"])
@@ -132,7 +136,7 @@ const T = { key: 0 }, G = { key: 1 }, H = {
132
136
  prop: "serviceOrg"
133
137
  }, {
134
138
  default: t(() => [
135
- a(s(v(g).orgIdBizDict.getValue(r.value.serviceOrg)), 1)
139
+ a(s(v(w).orgIdBizDict.getValue(r.value.serviceOrg)), 1)
136
140
  ]),
137
141
  _: 1
138
142
  }, 8, ["label"])
@@ -243,19 +247,19 @@ const T = { key: 0 }, G = { key: 1 }, H = {
243
247
  label: l.$t("itsmFlowEntrustUser.idNo")
244
248
  }, {
245
249
  default: t((o) => [
246
- o.row.mobileEncrypt ? (b(), w("span", G, s(o.row.idNo), 1)) : (b(), w("span", T, s(o.row.idNoIns), 1)),
247
- o.row.idNoIns ? (b(), w("span", H, [
248
- $(e(N, {
250
+ o.row.mobileEncrypt ? (b(), g("span", G, s(o.row.idNo), 1)) : (b(), g("span", T, s(o.row.idNoIns), 1)),
251
+ o.row.idNoIns ? (b(), g("span", H, [
252
+ I(e(N, {
249
253
  "icon-class": "close-eye",
250
254
  onClick: (B) => y(o.row)
251
255
  }, null, 8, ["onClick"]), [
252
- [E, !o.row.mobileEncrypt]
256
+ [$, !o.row.mobileEncrypt]
253
257
  ]),
254
- $(e(N, {
258
+ I(e(N, {
255
259
  "icon-class": "eye-open",
256
260
  onClick: (B) => y(o.row)
257
261
  }, null, 8, ["onClick"]), [
258
- [E, o.row.mobileEncrypt]
262
+ [$, o.row.mobileEncrypt]
259
263
  ])
260
264
  ])) : M("", !0)
261
265
  ]),
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as h, mergeModels as K, ref as F, useModel as j, resolveComponent as p, createBlock as z, openBlock as v, withCtx as t, createVNode as e, createElementVNode as o, createTextVNode as r, toDisplayString as a, unref as w, createElementBlock as y, createCommentVNode as M, withDirectives as C, vShow as V } from "vue";
2
2
  import "element-plus";
3
- import { D as c, a as S, b as A } from "./index-DVDOqO_3.mjs";
3
+ import { D as c, a as S, b as A } from "./index-Cgbv4Ijf.mjs";
4
4
  const R = { key: 0 }, q = { key: 1 }, L = {
5
5
  key: 2,
6
6
  class: "distance-left"
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as I, mergeModels as h, ref as N, useModel as B, resolveComponent as p, createBlock as O, openBlock as U, withCtx as e, createVNode as l, createElementVNode as a, createTextVNode as u, toDisplayString as i, unref as v } from "vue";
2
2
  import "element-plus";
3
- import { D as m, i as F } from "./index-DVDOqO_3.mjs";
3
+ import { D as m, i as F } from "./index-Cgbv4Ijf.mjs";
4
4
  import { fileApi as j } from "jmash-core";
5
5
  const M = /* @__PURE__ */ I({
6
6
  __name: "info",
@@ -10,7 +10,7 @@ export interface ItsmFlowAcceptanceReq extends EntityReq {
10
10
  acceptanceId?: string;
11
11
  orderNo?: string;
12
12
  likeUserName?: string;
13
- likeServiceOrg?: string;
13
+ serviceOrg?: string;
14
14
  }
15
15
  export interface ItsmFlowAcceptanceModel extends EntityModel {
16
16
  acceptanceId?: string;
@@ -11,7 +11,7 @@ export interface ItsmFlowEntrustReq extends EntityReq {
11
11
  orderNo?: string;
12
12
  entrustId?: string;
13
13
  likeUserName?: string;
14
- likeServiceOrg?: string;
14
+ serviceOrg?: string;
15
15
  likeBelongOrgName?: string;
16
16
  likeEntrustItsmName?: string;
17
17
  }
@@ -10,7 +10,7 @@ export interface ItsmFlowReckoningReq extends EntityReq {
10
10
  reckoningId?: string;
11
11
  hasApplyStatus?: boolean;
12
12
  applyStatus?: string;
13
- likeServiceOrg?: string;
13
+ serviceOrg?: string;
14
14
  }
15
15
  export interface ItsmFlowReckoningModel extends EntityModel {
16
16
  reckoningId?: string;
package/dts/constant.d.ts CHANGED
@@ -22,6 +22,7 @@ export declare class Constant {
22
22
  static readonly DICT_PROJECT_NAME = "projectName";
23
23
  static readonly orgType: {
24
24
  hall: string;
25
+ outsource: string;
25
26
  };
26
27
  static readonly status: {
27
28
  regular: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-itsm-flow",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  "jmash-dict": "^0.1.1",
30
30
  "jmash-rbac": "^0.1.11",
31
31
  "jmash-flow": "^0.0.21",
32
- "xyvcard-workflow": "^0.0.41",
32
+ "xyvcard-workflow": "^0.0.44",
33
33
  "xyvcard-itsmsys": "^0.0.20",
34
34
  "xyvcard-itsm": "^0.0.26"
35
35
  },