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
@@ -55,7 +55,7 @@ class l {
55
55
  params: t
56
56
  });
57
57
  }
58
- // 打印结算单流程表PDF文件
58
+ // 导出
59
59
  exportFilePdf(t) {
60
60
  const n = e().user.tenant;
61
61
  return o(t), r({
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-BYz7O3Xi.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-QsTI3qOD.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-AhC28_ys.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-BZ-prpPo.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-D-UzvXtU.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-TXBAzoPS.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,9 +1,9 @@
1
- import { defineComponent as ne, mergeModels as z, ref as h, useModel as se, reactive as A, computed as de, resolveComponent as r, openBlock as w, createBlock as V, withCtx as o, createElementVNode as i, createVNode as t, createTextVNode as b, toDisplayString as g, unref as d, createElementBlock as ie, Fragment as re, renderList as ue, createCommentVNode as ce } from "vue";
1
+ import { defineComponent as se, mergeModels as z, ref as k, useModel as de, reactive as A, computed as ie, resolveComponent as r, openBlock as w, createBlock as V, withCtx as o, createElementVNode as i, createVNode as t, createTextVNode as b, toDisplayString as g, unref as d, createElementBlock as re, Fragment as ue, renderList as ce, createCommentVNode as me } from "vue";
2
2
  import { ElMessage as S } from "element-plus";
3
- import { useI18n as me } from "vue-i18n";
4
- import { i as I, t as pe, a as fe } from "./common--K4gGsNT.mjs";
5
- import { g as be, C as ve, D as $, h as ge, e as Ne, p as ke } from "./index-DY7ZV5kq.mjs";
6
- const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
3
+ import { useI18n as pe } from "vue-i18n";
4
+ import { i as I, t as fe, a as be } from "./common-Cwl5jzlM.mjs";
5
+ import { g as ve, C as ge, D as $, h as Ne, p as ke, e as he } from "./index-DugZK_BS.mjs";
6
+ const Fe = { class: "title" }, Ie = /* @__PURE__ */ se({
7
7
  __name: "edit",
8
8
  props: /* @__PURE__ */ z({
9
9
  entityKey: {
@@ -17,17 +17,17 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
17
17
  }),
18
18
  emits: /* @__PURE__ */ z(["refresh"], ["update:modelValue"]),
19
19
  setup(C, { emit: M }) {
20
- const { t: N } = me(), _ = h(), p = se(C, "modelValue"), E = M, U = h([]), y = new be({
21
- applyStatus: ve.applyStatus.finished
20
+ const { t: N } = pe(), _ = k(), p = de(C, "modelValue"), E = M, U = k([]), h = k({}), y = C, R = new ve({
21
+ applyStatus: ge.applyStatus.finished
22
22
  });
23
- y.useValues(), $.orgIdBizDict.useValues();
24
- let n = A({
23
+ R.useValues(), $.orgIdBizDict.useValues();
24
+ let s = A({
25
25
  requestId: Math.random() * 10 + ""
26
26
  });
27
- const K = de(() => f.value.map((l) => ({
27
+ const K = ie(() => f.value.map((l) => ({
28
28
  cost: typeof l.cost == "number" ? l.cost : 0,
29
29
  duration: typeof l.duration == "number" ? l.duration : 0
30
- }))), f = h([
30
+ }))), f = k([
31
31
  {
32
32
  userId: "",
33
33
  idNo: "",
@@ -64,91 +64,89 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
64
64
  trigger: "change"
65
65
  }
66
66
  ]
67
- }), R = C, k = h({});
68
- k.value = new ge({
69
- actionId: R.entityKey.entrustId
70
- }), k.value.useValues();
71
- const G = Object.keys(R.entityKey);
72
- if (h(G.length >= 1).value) {
73
- const l = R.entityKey;
74
- I.findById({ reckoningId: l.reckoningId }).then(async ({ data: e }) => {
75
- Object.assign(n, e);
76
- }), B(l.acceptanceNo), Ne.findList({ actionId: l.entrustId }).then(({ data: e }) => {
77
- console.log(e.results);
78
- const s = e.results.map(
79
- (c) => ({
80
- ...c
81
- // duration:
82
- // typeof item.duration === "string"
83
- // ? ((item.duration.split(",") || []) as string[])
84
- // : [],
67
+ });
68
+ function G() {
69
+ he.findList({ actionId: y.entityKey.reckoningId }).then(({ data: l }) => {
70
+ const e = l.results.map(
71
+ (n) => ({
72
+ ...n,
73
+ duration: Number(n.duration)
85
74
  })
86
75
  );
87
- f.value = s;
76
+ f.value = e;
88
77
  });
89
78
  }
79
+ const H = Object.keys(y.entityKey);
80
+ if (k(H.length >= 1).value) {
81
+ const l = y.entityKey;
82
+ I.findById({ reckoningId: l.reckoningId }).then(async ({ data: e }) => {
83
+ Object.assign(s, e);
84
+ }), B(l.acceptanceNo), G();
85
+ }
90
86
  function q() {
91
87
  U.value = f.value.map((l) => ({
92
88
  entrustUserId: l.entrustUserId,
93
89
  duration: (l.duration ?? 0).toString()
94
90
  })).filter((l) => l.entrustUserId && l.duration !== "0");
95
91
  }
96
- const H = async () => {
92
+ const J = async () => {
97
93
  var l;
98
94
  await ((l = _.value) == null ? void 0 : l.validate((e) => {
99
95
  e && (q(), I.save({
100
- ...n,
96
+ ...s,
101
97
  entrustUser: U.value
102
- }).then((s) => {
103
- s.status === 200 && (S({
98
+ }).then((n) => {
99
+ n.status === 200 && (S({
104
100
  message: N("common.submitSuccess"),
105
101
  type: "success"
106
- }), p.value && (p.value = !1), E("refresh", s.status === 200));
102
+ }), p.value && (p.value = !1), E("refresh", n.status === 200));
107
103
  }));
108
104
  }));
109
- }, J = async () => {
105
+ }, Q = async () => {
110
106
  var l;
111
107
  await ((l = _.value) == null ? void 0 : l.validate((e) => {
112
108
  e && (q(), I.submit({
113
- ...n,
109
+ ...s,
114
110
  entrustUser: U.value
115
- }).then((s) => {
116
- s.status === 200 && (S({
111
+ }).then((n) => {
112
+ n.status === 200 && (S({
117
113
  message: N("common.submitSuccess"),
118
114
  type: "success"
119
- }), p.value && (p.value = !1), E("refresh", s.status === 200));
115
+ }), p.value && (p.value = !1), E("refresh", n.status === 200));
120
116
  }));
121
117
  }));
122
118
  };
123
119
  function D() {
124
120
  p.value && (p.value = !1);
125
121
  }
126
- function Q() {
127
- k.value = { values: [] }, f.value.forEach((l) => {
122
+ function W() {
123
+ f.value.forEach((l) => {
128
124
  l.userId = "", l.idNo = "", l.cost = 0, l.duration = 0;
129
125
  });
130
126
  }
131
127
  function B(l) {
132
- const e = y.values.find(
133
- (s) => s.key === l
128
+ const e = R.values.find(
129
+ (n) => n.key === l
134
130
  );
135
- n.contractName = (e == null ? void 0 : e.contractName) ?? "", n.contractNo = (e == null ? void 0 : e.contractNo) ?? "", n.serviceOrg = (e == null ? void 0 : e.serviceOrg) ?? "", n.entrustName = (e == null ? void 0 : e.entrustName) ?? "", n.orderNo = (e == null ? void 0 : e.orderNo) ?? "", n.serviceContent = (e == null ? void 0 : e.serviceContent) ?? "", n.entrustId = (e == null ? void 0 : e.entrustId) ?? "", n.acceptanceId = (e == null ? void 0 : e.acceptanceId) ?? "", Q();
131
+ s.contractName = (e == null ? void 0 : e.contractName) ?? "", s.contractNo = (e == null ? void 0 : e.contractNo) ?? "", s.serviceOrg = (e == null ? void 0 : e.serviceOrg) ?? "", s.entrustName = (e == null ? void 0 : e.entrustName) ?? "", s.orderNo = (e == null ? void 0 : e.orderNo) ?? "", s.serviceContent = (e == null ? void 0 : e.serviceContent) ?? "", s.entrustId = (e == null ? void 0 : e.entrustId) ?? "", s.acceptanceId = (e == null ? void 0 : e.acceptanceId) ?? "", W(), h.value = new Ne({
132
+ actionId: (e == null ? void 0 : e.entrustId) ?? ""
133
+ }), h.value.useValues();
136
134
  }
137
- function W(l, e) {
138
- const s = k.value.values.find(
135
+ function X(l, e) {
136
+ const n = h.value.values.find(
139
137
  (c) => c.key === l
140
138
  );
141
- s ? (e.userName = s.value ?? "", e.idNo = s.idNo ?? "", e.cost = Number(s.cost) || 0, e.entrustUserId = s.entrustUserId ?? "") : (e.userName = "", e.idNo = "", e.cost = 0, e.entrustUserId = "");
139
+ n ? (e.userName = n.value ?? "", e.idNo = n.idNo ?? "", e.cost = Number(n.cost) || 0, e.entrustUserId = n.entrustUserId ?? "") : (e.userName = "", e.idNo = "", e.cost = 0, e.entrustUserId = "");
142
140
  }
143
141
  return (l, e) => {
144
- const s = r("el-col"), c = r("el-input"), m = r("el-form-item"), X = r("jmash-dict-select"), O = r("jmash-select"), j = r("el-row"), v = r("el-table-column"), Y = r("el-option"), Z = r("el-select"), x = r("el-input-number"), ee = r("DeleteFilled"), le = r("el-icon"), te = r("el-table"), F = r("el-button"), oe = r("el-form"), ae = r("el-dialog");
145
- return w(), V(ae, {
142
+ const n = r("el-col"), c = r("el-input"), m = r("el-form-item"), Y = r("jmash-dict-select"), O = r("jmash-select"), j = r("el-row"), v = r("el-table-column"), Z = r("el-option"), x = r("el-select"), ee = r("el-input-number"), le = r("DeleteFilled"), te = r("el-icon"), oe = r("el-table"), F = r("el-button"), ae = r("el-form"), ne = r("el-dialog");
143
+ return w(), V(ne, {
146
144
  modelValue: p.value,
147
145
  "onUpdate:modelValue": e[8] || (e[8] = (a) => p.value = a),
148
146
  onClose: D
149
147
  }, {
150
148
  footer: o(() => [
151
- i("div", he, [
149
+ i("div", Fe, [
152
150
  t(F, { onClick: D }, {
153
151
  default: o(() => [
154
152
  b(g(l.$t("common.cancel")), 1)
@@ -157,7 +155,7 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
157
155
  }),
158
156
  t(F, {
159
157
  type: "primary",
160
- onClick: H
158
+ onClick: J
161
159
  }, {
162
160
  default: o(() => [
163
161
  b(g(l.$t("itsmFlowEntrustUser.save")), 1)
@@ -166,7 +164,7 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
166
164
  }),
167
165
  t(F, {
168
166
  type: "primary",
169
- onClick: J
167
+ onClick: Q
170
168
  }, {
171
169
  default: o(() => [
172
170
  b(g(l.$t("itsmFlowEntrustUser.submit")), 1)
@@ -176,16 +174,16 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
176
174
  ])
177
175
  ]),
178
176
  default: o(() => [
179
- t(s, { span: 24 }, {
177
+ t(n, { span: 24 }, {
180
178
  default: o(() => e[9] || (e[9] = [
181
179
  i("div", { class: "title" }, "委托服务合同结算清单", -1)
182
180
  ])),
183
181
  _: 1
184
182
  }),
185
- t(oe, {
183
+ t(ae, {
186
184
  ref_key: "itsmFlowReckoningFormRef",
187
185
  ref: _,
188
- model: d(n),
186
+ model: d(s),
189
187
  "label-width": "150px",
190
188
  rules: T,
191
189
  class: "custom-table-form custom-form"
@@ -193,7 +191,7 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
193
191
  default: o(() => [
194
192
  t(j, null, {
195
193
  default: o(() => [
196
- t(s, { span: 24 }, {
194
+ t(n, { span: 24 }, {
197
195
  default: o(() => [
198
196
  t(m, {
199
197
  label: l.$t("itsmFlowReckoning.contractName"),
@@ -201,8 +199,8 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
201
199
  }, {
202
200
  default: o(() => [
203
201
  t(c, {
204
- modelValue: d(n).contractName,
205
- "onUpdate:modelValue": e[0] || (e[0] = (a) => d(n).contractName = a),
202
+ modelValue: d(s).contractName,
203
+ "onUpdate:modelValue": e[0] || (e[0] = (a) => d(s).contractName = a),
206
204
  placeholder: l.$t("itsmFlowReckoning.acceptanceNoRequired"),
207
205
  disabled: ""
208
206
  }, null, 8, ["modelValue", "placeholder"])
@@ -212,7 +210,7 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
212
210
  ]),
213
211
  _: 1
214
212
  }),
215
- t(s, { span: 24 }, {
213
+ t(n, { span: 24 }, {
216
214
  default: o(() => [
217
215
  t(m, {
218
216
  label: l.$t("itsmFlowReckoning.contractNo"),
@@ -220,8 +218,8 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
220
218
  }, {
221
219
  default: o(() => [
222
220
  t(c, {
223
- modelValue: d(n).contractNo,
224
- "onUpdate:modelValue": e[1] || (e[1] = (a) => d(n).contractNo = a),
221
+ modelValue: d(s).contractNo,
222
+ "onUpdate:modelValue": e[1] || (e[1] = (a) => d(s).contractNo = a),
225
223
  placeholder: l.$t("itsmFlowReckoning.acceptanceNoRequired"),
226
224
  disabled: ""
227
225
  }, null, 8, ["modelValue", "placeholder"])
@@ -231,16 +229,16 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
231
229
  ]),
232
230
  _: 1
233
231
  }),
234
- t(s, { span: 24 }, {
232
+ t(n, { span: 24 }, {
235
233
  default: o(() => [
236
234
  t(m, {
237
235
  label: l.$t("itsmFlowReckoning.entrustName"),
238
236
  prop: "entrustName"
239
237
  }, {
240
238
  default: o(() => [
241
- t(X, {
242
- modelValue: d(n).entrustName,
243
- "onUpdate:modelValue": e[2] || (e[2] = (a) => d(n).entrustName = a),
239
+ t(Y, {
240
+ modelValue: d(s).entrustName,
241
+ "onUpdate:modelValue": e[2] || (e[2] = (a) => d(s).entrustName = a),
244
242
  placeholder: l.$t("itsmFlowReckoning.acceptanceNoRequired"),
245
243
  data: d($).projectNameDict.values,
246
244
  disabled: "",
@@ -252,7 +250,7 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
252
250
  ]),
253
251
  _: 1
254
252
  }),
255
- t(s, { span: 24 }, {
253
+ t(n, { span: 24 }, {
256
254
  default: o(() => [
257
255
  t(m, {
258
256
  label: l.$t("itsmFlowReckoning.serviceOrg"),
@@ -260,8 +258,8 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
260
258
  }, {
261
259
  default: o(() => [
262
260
  t(O, {
263
- modelValue: d(n).serviceOrg,
264
- "onUpdate:modelValue": e[3] || (e[3] = (a) => d(n).serviceOrg = a),
261
+ modelValue: d(s).serviceOrg,
262
+ "onUpdate:modelValue": e[3] || (e[3] = (a) => d(s).serviceOrg = a),
265
263
  placeholder: l.$t("itsmFlowReckoning.acceptanceNoRequired"),
266
264
  data: d($).orgIdBizDict.values,
267
265
  disabled: "",
@@ -273,7 +271,7 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
273
271
  ]),
274
272
  _: 1
275
273
  }),
276
- t(s, { span: 24 }, {
274
+ t(n, { span: 24 }, {
277
275
  default: o(() => [
278
276
  t(m, {
279
277
  label: l.$t("itsmFlowReckoning.acceptanceNo"),
@@ -281,10 +279,10 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
281
279
  }, {
282
280
  default: o(() => [
283
281
  t(O, {
284
- modelValue: d(n).acceptanceNo,
285
- "onUpdate:modelValue": e[4] || (e[4] = (a) => d(n).acceptanceNo = a),
282
+ modelValue: d(s).acceptanceNo,
283
+ "onUpdate:modelValue": e[4] || (e[4] = (a) => d(s).acceptanceNo = a),
286
284
  placeholder: l.$t("itsmFlowReckoning.acceptanceNoRequireds"),
287
- data: d(y).values,
285
+ data: d(R).values,
288
286
  clearable: "",
289
287
  filterable: "",
290
288
  class: "w-full",
@@ -296,7 +294,7 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
296
294
  ]),
297
295
  _: 1
298
296
  }),
299
- t(s, { span: 24 }, {
297
+ t(n, { span: 24 }, {
300
298
  default: o(() => [
301
299
  t(m, {
302
300
  label: l.$t("itsmFlowReckoning.orderNo"),
@@ -304,8 +302,8 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
304
302
  }, {
305
303
  default: o(() => [
306
304
  t(c, {
307
- modelValue: d(n).orderNo,
308
- "onUpdate:modelValue": e[5] || (e[5] = (a) => d(n).orderNo = a),
305
+ modelValue: d(s).orderNo,
306
+ "onUpdate:modelValue": e[5] || (e[5] = (a) => d(s).orderNo = a),
309
307
  placeholder: l.$t("itsmFlowReckoning.orderNoRequired"),
310
308
  disabled: ""
311
309
  }, null, 8, ["modelValue", "placeholder"])
@@ -315,7 +313,7 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
315
313
  ]),
316
314
  _: 1
317
315
  }),
318
- t(s, { span: 24 }, {
316
+ t(n, { span: 24 }, {
319
317
  default: o(() => [
320
318
  t(m, {
321
319
  label: l.$t("itsmFlowReckoning.reckoningNo"),
@@ -323,8 +321,8 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
323
321
  }, {
324
322
  default: o(() => [
325
323
  t(c, {
326
- modelValue: d(n).reckoningNo,
327
- "onUpdate:modelValue": e[6] || (e[6] = (a) => d(n).reckoningNo = a),
324
+ modelValue: d(s).reckoningNo,
325
+ "onUpdate:modelValue": e[6] || (e[6] = (a) => d(s).reckoningNo = a),
328
326
  placeholder: l.$t("itsmFlowReckoning.reckoningNoRequired"),
329
327
  disabled: ""
330
328
  }, null, 8, ["modelValue", "placeholder"])
@@ -334,7 +332,7 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
334
332
  ]),
335
333
  _: 1
336
334
  }),
337
- t(s, { span: 24 }, {
335
+ t(n, { span: 24 }, {
338
336
  default: o(() => [
339
337
  t(m, {
340
338
  label: l.$t("itsmFlowReckoning.serviceContent"),
@@ -342,8 +340,8 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
342
340
  }, {
343
341
  default: o(() => [
344
342
  t(c, {
345
- modelValue: d(n).serviceContent,
346
- "onUpdate:modelValue": e[7] || (e[7] = (a) => d(n).serviceContent = a),
343
+ modelValue: d(s).serviceContent,
344
+ "onUpdate:modelValue": e[7] || (e[7] = (a) => d(s).serviceContent = a),
347
345
  placeholder: l.$t("itsmFlowReckoning.acceptanceNoRequired"),
348
346
  maxlength: "500",
349
347
  rows: 4,
@@ -361,7 +359,7 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
361
359
  ]),
362
360
  _: 1
363
361
  }),
364
- t(te, {
362
+ t(oe, {
365
363
  data: f.value,
366
364
  border: "",
367
365
  style: { width: "100%" }
@@ -380,17 +378,17 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
380
378
  width: "150"
381
379
  }, {
382
380
  default: o(({ row: a }) => [
383
- t(Z, {
381
+ t(x, {
384
382
  modelValue: a.userId,
385
383
  "onUpdate:modelValue": (u) => a.userId = u,
386
384
  placeholder: l.$t("itsmFlowEntrustUser.userIdRequired"),
387
385
  class: "w-full",
388
386
  filterable: "",
389
387
  clearable: "",
390
- onChange: (u) => W(u, a)
388
+ onChange: (u) => X(u, a)
391
389
  }, {
392
390
  default: o(() => [
393
- (w(!0), ie(re, null, ue(k.value.values, (u) => (w(), V(Y, {
391
+ (w(!0), re(ue, null, ce(h.value.values, (u) => (w(), V(Z, {
394
392
  key: u.key,
395
393
  label: u.value,
396
394
  value: u.key
@@ -438,7 +436,7 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
438
436
  width: "140"
439
437
  }, {
440
438
  default: o(({ row: a }) => [
441
- t(x, {
439
+ t(ee, {
442
440
  modelValue: a.duration,
443
441
  "onUpdate:modelValue": (u) => a.duration = u,
444
442
  precision: 1,
@@ -455,7 +453,7 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
455
453
  "header-align": "center"
456
454
  }, {
457
455
  default: o(({ row: a }) => [
458
- b(g(d(pe)(a.cost, a.duration)), 1)
456
+ b(g(d(fe)(a.cost, a.duration)) + "元 ", 1)
459
457
  ]),
460
458
  _: 1
461
459
  }, 8, ["label"]),
@@ -465,7 +463,7 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
465
463
  align: "center"
466
464
  }, {
467
465
  default: o((a) => [
468
- a.$index !== 0 ? (w(), V(le, {
466
+ a.$index !== 0 ? (w(), V(te, {
469
467
  key: 0,
470
468
  onClick: (u) => L(a),
471
469
  size: "18",
@@ -473,10 +471,10 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
473
471
  class: "hover-blue"
474
472
  }, {
475
473
  default: o(() => [
476
- t(ee)
474
+ t(le)
477
475
  ]),
478
476
  _: 2
479
- }, 1032, ["onClick"])) : ce("", !0)
477
+ }, 1032, ["onClick"])) : me("", !0)
480
478
  ]),
481
479
  _: 1
482
480
  }, 8, ["label"])
@@ -493,7 +491,7 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
493
491
  ]),
494
492
  _: 1
495
493
  }, 8, ["icon"]),
496
- t(s, {
494
+ t(n, {
497
495
  span: 24,
498
496
  class: "bordered-row"
499
497
  }, {
@@ -502,7 +500,7 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
502
500
  label: l.$t("itsmFlowReckoning.totalPrice")
503
501
  }, {
504
502
  default: o(() => [
505
- b(g(d(fe)(K.value)), 1)
503
+ b(g(d(be)(K.value)) + "元 ", 1)
506
504
  ]),
507
505
  _: 1
508
506
  }, 8, ["label"])
@@ -511,7 +509,7 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
511
509
  }),
512
510
  t(j, { class: "bordered-row" }, {
513
511
  default: o(() => [
514
- t(s, { span: 12 }, {
512
+ t(n, { span: 12 }, {
515
513
  default: o(() => e[10] || (e[10] = [
516
514
  i("div", { class: "content-box" }, [
517
515
  i("div", { class: "content-box-top" }, [
@@ -529,7 +527,7 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
529
527
  ])),
530
528
  _: 1
531
529
  }),
532
- t(s, {
530
+ t(n, {
533
531
  span: 12,
534
532
  class: "with-divider"
535
533
  }, {
@@ -563,5 +561,5 @@ const he = { class: "title" }, Ve = /* @__PURE__ */ ne({
563
561
  }
564
562
  });
565
563
  export {
566
- Ve as _
564
+ Ie as _
567
565
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as Ee, mergeModels as Q, ref as f, useModel as Ve, reactive as W, resolveComponent as d, openBlock as E, createBlock as k, withCtx as n, createElementVNode as u, createVNode as l, createTextVNode as V, toDisplayString as _, unref as s, createElementBlock as X, Fragment as Y, renderList as Z, createCommentVNode as Fe } from "vue";
2
2
  import { ElMessage as O } from "element-plus";
3
3
  import { useI18n as Ue } from "vue-i18n";
4
- import { b as _e, C as g, c as Ne, d as Ce, D as F, a as K, e as $e, f as x, p as ke } from "./index-DY7ZV5kq.mjs";
4
+ import { b as _e, C as g, c as Ne, d as Ce, D as F, a as K, e as $e, f as x, p as ke } from "./index-DugZK_BS.mjs";
5
5
  import "xyvcard-itsm";
6
6
  const Oe = { class: "title" }, Me = /* @__PURE__ */ Ee({
7
7
  __name: "edit",