xyvcard-itsm-flow 0.0.7 → 0.0.8

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 (50) hide show
  1. package/dist/FileSaver.min-BeKvLuyk.mjs +73 -0
  2. package/dist/common--K4gGsNT.mjs +85 -0
  3. package/dist/{edit-BZbho2xr.mjs → edit-B621RtNS.mjs} +1 -1
  4. package/dist/{edit-DA920KWc.mjs → edit-CoRzQ2SK.mjs} +1 -1
  5. package/dist/{edit-DxK8SrUd.mjs → edit-Czk64Yon.mjs} +1 -1
  6. package/dist/edit.vue_vue_type_script_setup_true_lang-AhC28_ys.mjs +670 -0
  7. package/dist/edit.vue_vue_type_script_setup_true_lang-BYz7O3Xi.mjs +523 -0
  8. package/dist/edit.vue_vue_type_script_setup_true_lang-D-UzvXtU.mjs +567 -0
  9. package/dist/{el-message-D28AReoi.mjs → el-message-FfNjxLv_.mjs} +26 -26
  10. package/dist/index-B5vmtcUk.mjs +528 -0
  11. package/dist/index-BCP5cBN6.mjs +486 -0
  12. package/dist/{index-Dimzx0Lh.mjs → index-BJl7xHYx.mjs} +119 -124
  13. package/dist/{index-BwhWFAEK.mjs → index-BlBkHqXR.mjs} +75 -89
  14. package/dist/index-CRHpl0qA.mjs +501 -0
  15. package/dist/index-CVbpEq7V.mjs +442 -0
  16. package/dist/{index-CXarOLFt.mjs → index-CdzhLCkX.mjs} +119 -124
  17. package/dist/index-DX1PURJy.mjs +624 -0
  18. package/dist/index-DY7ZV5kq.mjs +567 -0
  19. package/dist/index-Dld6YbIV.mjs +484 -0
  20. package/dist/index.mjs +764 -771
  21. package/dist/style.css +1 -1
  22. package/dts/api/dict.d.ts +9 -0
  23. package/dts/api/index.d.ts +4 -1
  24. package/dts/api/itsm-flow-acceptance/index.d.ts +4 -10
  25. package/dts/api/itsm-flow-acceptance/types.d.ts +17 -38
  26. package/dts/api/itsm-flow-entrust/index.d.ts +3 -0
  27. package/dts/api/itsm-flow-entrust/types.d.ts +2 -2
  28. package/dts/api/itsm-flow-entrust-user/types.d.ts +1 -3
  29. package/dts/api/itsm-flow-reckoning/index.d.ts +4 -10
  30. package/dts/api/itsm-flow-reckoning/types.d.ts +19 -31
  31. package/dts/components/TaskItsmFlowAcceptance/index.vue.d.ts +28 -0
  32. package/dts/components/TaskItsmFlowAcceptanceEdit/index.vue.d.ts +28 -0
  33. package/dts/components/TaskItsmFlowReckoning/index.vue.d.ts +28 -0
  34. package/dts/components/TaskItsmFlowReckoningEdit/index.vue.d.ts +28 -0
  35. package/dts/index.d.ts +4 -0
  36. package/dts/lang/itsm-flow/zh-cn.d.ts +1 -17
  37. package/dts/utils/common.d.ts +2 -2
  38. package/dts/views/itsm-flow-entrust/edit.vue.d.ts +4 -4
  39. package/dts/views/itsm-flow-reckoning/edit.vue.d.ts +4 -4
  40. package/package.json +1 -1
  41. package/dist/_commonjsHelpers-BVfed4GL.mjs +0 -28
  42. package/dist/edit.vue_vue_type_script_setup_true_lang-CApSv9W3.mjs +0 -589
  43. package/dist/edit.vue_vue_type_script_setup_true_lang-CVKTwRZs.mjs +0 -688
  44. package/dist/edit.vue_vue_type_script_setup_true_lang-DlKz97iK.mjs +0 -656
  45. package/dist/index-BZGkoyv9.mjs +0 -68
  46. package/dist/index-CMOEnYG7.mjs +0 -21
  47. package/dist/index-Clg5YSzX.mjs +0 -598
  48. package/dist/index-CwnMo6nD.mjs +0 -1651
  49. package/dist/index-DDwNGNtf.mjs +0 -558
  50. package/dist/index-qOQQkVw8.mjs +0 -345
@@ -0,0 +1,670 @@
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
+ import { ElMessage as O } from "element-plus";
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";
5
+ import "xyvcard-itsm";
6
+ const Oe = { class: "title" }, Me = /* @__PURE__ */ Ee({
7
+ __name: "edit",
8
+ props: /* @__PURE__ */ Q({
9
+ entityKey: {
10
+ type: Object,
11
+ default: () => {
12
+ }
13
+ }
14
+ }, {
15
+ modelValue: { type: Boolean },
16
+ modelModifiers: {}
17
+ }),
18
+ emits: /* @__PURE__ */ Q(["refresh"], ["update:modelValue"]),
19
+ setup(S, { emit: ee }) {
20
+ const { t: m } = Ue(), q = f(), v = Ve(S, "modelValue"), j = ee, U = f([]), I = f({}), y = f([]), R = f([]), D = f([]), B = f([]);
21
+ let r = W({
22
+ requestId: Math.random() * 10 + ""
23
+ });
24
+ const z = new _e({
25
+ contractSort: g.contractSort.manpower,
26
+ contractType: g.contractType.outsource
27
+ });
28
+ z.useValues();
29
+ const T = new Ne({
30
+ contractSort: g.contractSort.manpower,
31
+ contractType: g.contractType.outsource
32
+ });
33
+ T.useValues();
34
+ const N = new Ce({});
35
+ N.useValues(), F.orgIdBizDict.useValues(), F.parentIdBizDict.useValues();
36
+ const w = f([
37
+ {
38
+ contractUserId: "",
39
+ idNo: "",
40
+ cost: 0,
41
+ duration: []
42
+ }
43
+ ]);
44
+ function te() {
45
+ w.value.push({
46
+ contractUserId: "",
47
+ idNo: "",
48
+ cost: 0,
49
+ duration: []
50
+ });
51
+ }
52
+ function le(t) {
53
+ const e = w.value.indexOf(t.row);
54
+ e !== 0 && w.value.splice(e, 1);
55
+ }
56
+ const ae = W({
57
+ contractId: [
58
+ {
59
+ required: !0,
60
+ message: m("itsmFlowEntrust.contractIdRequired"),
61
+ trigger: "change"
62
+ }
63
+ ],
64
+ contractNo: [
65
+ {
66
+ required: !0,
67
+ message: m("itsmFlowEntrust.contractNoRequired"),
68
+ trigger: "change"
69
+ }
70
+ ],
71
+ entrustName: [
72
+ {
73
+ required: !0,
74
+ message: m("itsmFlowEntrust.entrustNameRequired"),
75
+ trigger: "change"
76
+ }
77
+ ],
78
+ serviceContent: [
79
+ {
80
+ required: !0,
81
+ message: m("itsmFlowEntrust.serviceContentRequired"),
82
+ trigger: "blur"
83
+ }
84
+ ]
85
+ }), b = S, ne = Object.keys(b.entityKey);
86
+ f(ne.length >= 1).value && (K.findById({ entrustId: b.entityKey.entrustId }).then(({ data: t }) => {
87
+ Object.assign(r, t);
88
+ }), oe(), se(), J(b.entityKey.contractId));
89
+ function oe() {
90
+ y.value = typeof b.entityKey.entrustItsmId == "string" ? b.entityKey.entrustItsmId.split(",") || [] : [], U.value = typeof b.entityKey.belongOrgId == "string" ? b.entityKey.belongOrgId.split(",") || [] : [];
91
+ }
92
+ function se() {
93
+ $e.findList({ actionId: b.entityKey.entrustId }).then(({ data: t }) => {
94
+ const e = t.results.map((o) => ({
95
+ ...o,
96
+ contractUserId: o.userId,
97
+ duration: typeof o.duration == "string" ? o.duration.split(",") || [] : []
98
+ }));
99
+ w.value = e;
100
+ });
101
+ }
102
+ function re() {
103
+ D.value = y.value.map((t) => {
104
+ const e = N.values.find(
105
+ (o) => o.key === t
106
+ );
107
+ return {
108
+ itsmId: t,
109
+ itsmName: (e == null ? void 0 : e.value) ?? ""
110
+ };
111
+ });
112
+ }
113
+ function ue() {
114
+ B.value = U.value.map((t) => {
115
+ const e = F.parentIdBizDict.values.find(
116
+ (o) => o.value === t
117
+ );
118
+ return {
119
+ orgId: t,
120
+ orgName: (e == null ? void 0 : e.label) ?? ""
121
+ };
122
+ });
123
+ }
124
+ function A() {
125
+ R.value = w.value.map((t) => ({
126
+ ...t,
127
+ duration: Array.isArray(t.duration) ? t.duration.join(",") : t.duration
128
+ })).filter(
129
+ (t) => !(t.cost === 0 && !t.contractUserId)
130
+ ), re(), ue();
131
+ }
132
+ const de = async () => {
133
+ var t;
134
+ await ((t = q.value) == null ? void 0 : t.validate((e) => {
135
+ if (e) {
136
+ if (y.value.length === 0) {
137
+ O.warning(m("itsmFlowEntrust.entrustItsmIdRequired"));
138
+ return;
139
+ }
140
+ A(), K.save({
141
+ ...r,
142
+ entrustUser: R.value,
143
+ belongOrg: B.value,
144
+ entrustItsm: D.value
145
+ }).then((o) => {
146
+ o.status === 200 && (O({
147
+ message: m("common.submitSuccess"),
148
+ type: "success"
149
+ }), v.value && (v.value = !1), j("refresh", o.status === 200));
150
+ });
151
+ }
152
+ }));
153
+ }, ie = async () => {
154
+ var t;
155
+ await ((t = q.value) == null ? void 0 : t.validate((e) => {
156
+ if (e) {
157
+ if (y.value.length === 0) {
158
+ O.warning(m("itsmFlowEntrust.entrustItsmIdRequired"));
159
+ return;
160
+ }
161
+ A(), K.submit({
162
+ ...r,
163
+ entrustUser: R.value,
164
+ belongOrg: B.value,
165
+ entrustItsm: D.value
166
+ }).then((o) => {
167
+ o.status === 200 && (O({
168
+ message: m("common.submitSuccess"),
169
+ type: "success"
170
+ }), v.value && (v.value = !1), j("refresh", o.status === 200));
171
+ });
172
+ }
173
+ }));
174
+ };
175
+ function L() {
176
+ v.value && (v.value = !1);
177
+ }
178
+ function H() {
179
+ I.value = { values: [] }, w.value.forEach((t) => {
180
+ t.contractUserId = "", t.idNo = "", t.cost = 0, t.duration = "";
181
+ });
182
+ }
183
+ function J(t) {
184
+ const e = z.values.find(
185
+ (o) => o.key === t
186
+ );
187
+ r.contractNo = (e == null ? void 0 : e.contractNumber) ?? "", r.serviceOrg = (e == null ? void 0 : e.orgId) ?? "", r.contractName = (e == null ? void 0 : e.value) ?? "", H(), I.value = new x({
188
+ contractId: t
189
+ }), I.value.useValues();
190
+ }
191
+ function ce(t) {
192
+ const e = T.values.find(
193
+ (o) => o.key === t
194
+ );
195
+ r.contractId = (e == null ? void 0 : e.contractId) ?? "", r.serviceOrg = (e == null ? void 0 : e.orgId) ?? "", r.contractName = (e == null ? void 0 : e.value) ?? "", H(), I.value = new x({
196
+ contractId: e.contractId
197
+ }), I.value.useValues();
198
+ }
199
+ function me(t, e) {
200
+ const o = I.value.values.find(
201
+ (p) => p.key === t
202
+ );
203
+ o ? (e.userName = o.value ?? "", e.idNo = o.idNo ?? "", e.cost = Number(o.cost) || 0) : (e.userName = "", e.idNo = "", e.cost = 0);
204
+ }
205
+ function pe(t) {
206
+ const e = t.map((o) => {
207
+ const p = N.values.find(
208
+ (c) => c.key === o
209
+ );
210
+ return p ? p.orgId : null;
211
+ }).filter((o) => o !== null);
212
+ U.value = Array.from(new Set(e));
213
+ }
214
+ return (t, e) => {
215
+ const o = d("el-col"), p = d("jmash-select"), c = d("el-form-item"), fe = d("jmash-dict-select"), P = d("el-option"), G = d("el-select"), ve = d("el-tree-select"), M = d("el-row"), C = d("el-input"), h = d("el-table-column"), be = d("el-date-picker"), ge = d("DeleteFilled"), Ie = d("el-icon"), we = d("el-table"), $ = d("el-button"), ye = d("el-form"), he = d("el-dialog");
216
+ return E(), k(he, {
217
+ modelValue: v.value,
218
+ "onUpdate:modelValue": e[9] || (e[9] = (a) => v.value = a),
219
+ onClose: L
220
+ }, {
221
+ footer: n(() => [
222
+ u("div", Oe, [
223
+ l($, { onClick: L }, {
224
+ default: n(() => [
225
+ V(_(t.$t("common.cancel")), 1)
226
+ ]),
227
+ _: 1
228
+ }),
229
+ l($, {
230
+ type: "primary",
231
+ onClick: de
232
+ }, {
233
+ default: n(() => [
234
+ V(_(t.$t("itsmFlowEntrustUser.save")), 1)
235
+ ]),
236
+ _: 1
237
+ }),
238
+ l($, {
239
+ type: "primary",
240
+ onClick: ie
241
+ }, {
242
+ default: n(() => [
243
+ V(_(t.$t("itsmFlowEntrustUser.submit")), 1)
244
+ ]),
245
+ _: 1
246
+ })
247
+ ])
248
+ ]),
249
+ default: n(() => [
250
+ l(o, { span: 24 }, {
251
+ default: n(() => e[10] || (e[10] = [
252
+ u("div", { class: "title" }, "委托服务订单", -1)
253
+ ])),
254
+ _: 1
255
+ }),
256
+ l(ye, {
257
+ ref_key: "itsmFlowEntrustFormRef",
258
+ ref: q,
259
+ model: s(r),
260
+ "label-width": "150px",
261
+ rules: ae,
262
+ class: "custom-table-form custom-form"
263
+ }, {
264
+ default: n(() => [
265
+ l(o, { span: 24 }, {
266
+ default: n(() => [
267
+ l(c, {
268
+ label: t.$t("itsmFlowEntrust.contractId"),
269
+ prop: "contractId"
270
+ }, {
271
+ default: n(() => [
272
+ l(p, {
273
+ modelValue: s(r).contractId,
274
+ "onUpdate:modelValue": e[0] || (e[0] = (a) => s(r).contractId = a),
275
+ placeholder: t.$t("itsmFlowEntrust.contractIdRequired"),
276
+ data: s(z).values,
277
+ clearable: "",
278
+ filterable: "",
279
+ class: "w-full",
280
+ onChange: J
281
+ }, null, 8, ["modelValue", "placeholder", "data"])
282
+ ]),
283
+ _: 1
284
+ }, 8, ["label"])
285
+ ]),
286
+ _: 1
287
+ }),
288
+ l(o, { span: 24 }, {
289
+ default: n(() => [
290
+ l(c, {
291
+ label: t.$t("itsmFlowEntrust.contractNo"),
292
+ prop: "contractNo"
293
+ }, {
294
+ default: n(() => [
295
+ l(p, {
296
+ modelValue: s(r).contractNo,
297
+ "onUpdate:modelValue": e[1] || (e[1] = (a) => s(r).contractNo = a),
298
+ placeholder: t.$t("itsmFlowEntrust.contractIdRequireds"),
299
+ data: s(T).values,
300
+ clearable: "",
301
+ filterable: "",
302
+ class: "w-full",
303
+ onChange: ce
304
+ }, null, 8, ["modelValue", "placeholder", "data"])
305
+ ]),
306
+ _: 1
307
+ }, 8, ["label"])
308
+ ]),
309
+ _: 1
310
+ }),
311
+ l(o, { span: 24 }, {
312
+ default: n(() => [
313
+ l(c, {
314
+ label: t.$t("itsmFlowEntrust.entrustName"),
315
+ prop: "entrustName"
316
+ }, {
317
+ default: n(() => [
318
+ l(fe, {
319
+ modelValue: s(r).entrustName,
320
+ "onUpdate:modelValue": e[2] || (e[2] = (a) => s(r).entrustName = a),
321
+ placeholder: t.$t("itsmFlowEntrust.entrustNameRequired"),
322
+ "type-code": s(g).DICT_PROJECT_NAME,
323
+ clearable: "",
324
+ filterable: "",
325
+ class: "w-full"
326
+ }, null, 8, ["modelValue", "placeholder", "type-code"])
327
+ ]),
328
+ _: 1
329
+ }, 8, ["label"])
330
+ ]),
331
+ _: 1
332
+ }),
333
+ l(o, { span: 24 }, {
334
+ default: n(() => [
335
+ l(c, {
336
+ label: t.$t("itsmFlowEntrust.entrustItsmId"),
337
+ prop: "entrustItsmId"
338
+ }, {
339
+ default: n(() => [
340
+ l(G, {
341
+ modelValue: y.value,
342
+ "onUpdate:modelValue": e[3] || (e[3] = (a) => y.value = a),
343
+ placeholder: t.$t("itsmFlowEntrust.entrustItsmIdRequired"),
344
+ class: "w-full",
345
+ filterable: "",
346
+ clearable: "",
347
+ multiple: "",
348
+ onChange: pe
349
+ }, {
350
+ default: n(() => [
351
+ (E(!0), X(Y, null, Z(s(N).values, (a) => (E(), k(P, {
352
+ key: a.key,
353
+ label: a.value,
354
+ value: a.key,
355
+ disabled: ("status" in a && a.status) !== s(g).status.regular
356
+ }, null, 8, ["label", "value", "disabled"]))), 128))
357
+ ]),
358
+ _: 1
359
+ }, 8, ["modelValue", "placeholder"])
360
+ ]),
361
+ _: 1
362
+ }, 8, ["label"])
363
+ ]),
364
+ _: 1
365
+ }),
366
+ l(o, { span: 24 }, {
367
+ default: n(() => [
368
+ l(c, {
369
+ label: t.$t("itsmFlowEntrust.belongOrg"),
370
+ prop: "belongOrg"
371
+ }, {
372
+ default: n(() => [
373
+ l(ve, {
374
+ modelValue: U.value,
375
+ "onUpdate:modelValue": e[4] || (e[4] = (a) => U.value = a),
376
+ data: s(F).parentIdBizDict.values,
377
+ filterable: "",
378
+ clearable: "",
379
+ "check-strictly": "",
380
+ "render-after-expand": !1,
381
+ class: "w-full",
382
+ placeholder: t.$t("itsmFlowEntrust.belongOrgRequired"),
383
+ multiple: "",
384
+ disabled: ""
385
+ }, null, 8, ["modelValue", "data", "placeholder"])
386
+ ]),
387
+ _: 1
388
+ }, 8, ["label"])
389
+ ]),
390
+ _: 1
391
+ }),
392
+ l(M, null, {
393
+ default: n(() => [
394
+ l(o, { span: 12 }, {
395
+ default: n(() => [
396
+ l(c, {
397
+ label: t.$t("itsmFlowEntrust.serviceContent"),
398
+ prop: "serviceContent"
399
+ }, {
400
+ default: n(() => [
401
+ l(p, {
402
+ modelValue: s(r).serviceContent,
403
+ "onUpdate:modelValue": e[5] || (e[5] = (a) => s(r).serviceContent = a),
404
+ placeholder: t.$t("itsmFlowEntrust.serviceContentRequired"),
405
+ data: s(F).serviceContentEnum.values,
406
+ clearable: "",
407
+ filterable: "",
408
+ class: "w-full"
409
+ }, null, 8, ["modelValue", "placeholder", "data"])
410
+ ]),
411
+ _: 1
412
+ }, 8, ["label"])
413
+ ]),
414
+ _: 1
415
+ }),
416
+ l(o, { span: 12 }, {
417
+ default: n(() => [
418
+ l(c, {
419
+ label: t.$t("itsmFlowEntrust.serviceOrg"),
420
+ prop: "serviceOrg"
421
+ }, {
422
+ default: n(() => [
423
+ l(p, {
424
+ modelValue: s(r).serviceOrg,
425
+ "onUpdate:modelValue": e[6] || (e[6] = (a) => s(r).serviceOrg = a),
426
+ placeholder: t.$t("itsmFlowEntrust.contractIdRequireds"),
427
+ data: s(F).orgIdBizDict.values,
428
+ disabled: "",
429
+ class: "w-full"
430
+ }, null, 8, ["modelValue", "placeholder", "data"])
431
+ ]),
432
+ _: 1
433
+ }, 8, ["label"])
434
+ ]),
435
+ _: 1
436
+ })
437
+ ]),
438
+ _: 1
439
+ }),
440
+ l(o, { span: 24 }, {
441
+ default: n(() => [
442
+ l(c, {
443
+ label: t.$t("itsmFlowEntrust.orderNo"),
444
+ prop: "orderNo"
445
+ }, {
446
+ default: n(() => [
447
+ l(C, {
448
+ modelValue: s(r).orderNo,
449
+ "onUpdate:modelValue": e[7] || (e[7] = (a) => s(r).orderNo = a),
450
+ placeholder: t.$t("itsmFlowEntrust.orderNoRequired"),
451
+ disabled: ""
452
+ }, null, 8, ["modelValue", "placeholder"])
453
+ ]),
454
+ _: 1
455
+ }, 8, ["label"])
456
+ ]),
457
+ _: 1
458
+ }),
459
+ l(o, { span: 24 }, {
460
+ default: n(() => [
461
+ l(c, {
462
+ label: t.$t("itsmFlowEntrust.workContent"),
463
+ prop: "workContent"
464
+ }, {
465
+ default: n(() => [
466
+ l(C, {
467
+ modelValue: s(r).workContent,
468
+ "onUpdate:modelValue": e[8] || (e[8] = (a) => s(r).workContent = a),
469
+ placeholder: t.$t("itsmFlowEntrust.workContentRequired"),
470
+ maxlength: "500",
471
+ rows: 4,
472
+ type: "textarea",
473
+ "show-word-limit": "",
474
+ clearable: ""
475
+ }, null, 8, ["modelValue", "placeholder"])
476
+ ]),
477
+ _: 1
478
+ }, 8, ["label"])
479
+ ]),
480
+ _: 1
481
+ }),
482
+ l(M, null, {
483
+ default: n(() => [
484
+ l(we, {
485
+ data: w.value,
486
+ border: "",
487
+ style: { width: "100%" }
488
+ }, {
489
+ default: n(() => [
490
+ l(h, {
491
+ type: "index",
492
+ label: t.$t("itsmFlowEntrustUser.index"),
493
+ width: "60",
494
+ align: "center"
495
+ }, null, 8, ["label"]),
496
+ l(h, {
497
+ prop: "contractUserId",
498
+ label: t.$t("itsmFlowEntrustUser.userId"),
499
+ "header-align": "center",
500
+ width: "150"
501
+ }, {
502
+ default: n(({ row: a }) => [
503
+ l(G, {
504
+ modelValue: a.contractUserId,
505
+ "onUpdate:modelValue": (i) => a.contractUserId = i,
506
+ placeholder: t.$t("itsmFlowEntrustUser.userIdRequired"),
507
+ class: "w-full",
508
+ filterable: "",
509
+ clearable: "",
510
+ onChange: (i) => me(i, a)
511
+ }, {
512
+ default: n(() => [
513
+ (E(!0), X(Y, null, Z(I.value.values, (i) => (E(), k(P, {
514
+ key: i.key,
515
+ label: i.value,
516
+ value: i.key
517
+ }, null, 8, ["label", "value"]))), 128))
518
+ ]),
519
+ _: 2
520
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])
521
+ ]),
522
+ _: 1
523
+ }, 8, ["label"]),
524
+ l(h, {
525
+ prop: "idNo",
526
+ label: t.$t("itsmFlowEntrustUser.idNo"),
527
+ "header-align": "center",
528
+ width: "190"
529
+ }, {
530
+ default: n(({ row: a }) => [
531
+ l(C, {
532
+ modelValue: a.idNo,
533
+ "onUpdate:modelValue": (i) => a.idNo = i,
534
+ placeholder: t.$t("itsmFlowEntrustUser.userIdRequireds"),
535
+ disabled: ""
536
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
537
+ ]),
538
+ _: 1
539
+ }, 8, ["label"]),
540
+ l(h, {
541
+ prop: "cost",
542
+ label: t.$t("itsmFlowEntrustUser.cost"),
543
+ "header-align": "center",
544
+ width: "160"
545
+ }, {
546
+ default: n(({ row: a }) => [
547
+ l(C, {
548
+ modelValue: a.cost,
549
+ "onUpdate:modelValue": (i) => a.cost = i,
550
+ placeholder: t.$t("itsmFlowEntrustUser.userIdRequireds"),
551
+ disabled: ""
552
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
553
+ ]),
554
+ _: 1
555
+ }, 8, ["label"]),
556
+ l(h, {
557
+ prop: "duration",
558
+ "header-align": "center"
559
+ }, {
560
+ header: n(() => [
561
+ e[11] || (e[11] = u("span", { class: "required_red" }, "*", -1)),
562
+ u("span", null, _(t.$t("itsmFlowEntrustUser.duration")), 1)
563
+ ]),
564
+ default: n(({ row: a }) => [
565
+ l(be, {
566
+ modelValue: a.duration,
567
+ "onUpdate:modelValue": (i) => a.duration = i,
568
+ type: "monthrange",
569
+ "start-placeholder": t.$t("itsmFlowEntrustUser.startTime"),
570
+ "end-placeholder": t.$t("itsmFlowEntrustUser.endTime"),
571
+ format: s(g).FORMAT_MONTH,
572
+ "value-format": s(g).FORMAT_MONTH,
573
+ class: "w-full"
574
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "format", "value-format"])
575
+ ]),
576
+ _: 1
577
+ }),
578
+ l(h, {
579
+ label: t.$t("common.operate"),
580
+ width: "60",
581
+ align: "center"
582
+ }, {
583
+ default: n((a) => [
584
+ a.$index !== 0 ? (E(), k(Ie, {
585
+ key: 0,
586
+ onClick: (i) => le(a),
587
+ size: "18",
588
+ style: { cursor: "pointer", color: "inherit" },
589
+ class: "hover-blue"
590
+ }, {
591
+ default: n(() => [
592
+ l(ge)
593
+ ]),
594
+ _: 2
595
+ }, 1032, ["onClick"])) : Fe("", !0)
596
+ ]),
597
+ _: 1
598
+ }, 8, ["label"])
599
+ ]),
600
+ _: 1
601
+ }, 8, ["data"]),
602
+ l($, {
603
+ icon: s(ke),
604
+ class: "addButton",
605
+ onClick: te
606
+ }, {
607
+ default: n(() => [
608
+ V(_(s(m)("common.add")), 1)
609
+ ]),
610
+ _: 1
611
+ }, 8, ["icon"])
612
+ ]),
613
+ _: 1
614
+ }),
615
+ l(M, { class: "bordered-row" }, {
616
+ default: n(() => [
617
+ l(o, { span: 12 }, {
618
+ default: n(() => e[12] || (e[12] = [
619
+ u("div", { class: "content-box" }, [
620
+ u("div", { class: "content-box-top" }, [
621
+ u("div", null, "甲方单位(盖章)"),
622
+ u("div", null, "负责人(签字):"),
623
+ u("div", null, "或授权代理人(签字):")
624
+ ]),
625
+ u("div", { class: "content-box-bottom" }, [
626
+ V(" 日期: "),
627
+ u("span", null, "年"),
628
+ u("span", null, "月"),
629
+ u("span", null, "日")
630
+ ])
631
+ ], -1)
632
+ ])),
633
+ _: 1
634
+ }),
635
+ l(o, {
636
+ span: 12,
637
+ class: "with-divider"
638
+ }, {
639
+ default: n(() => e[13] || (e[13] = [
640
+ u("div", { class: "content-box" }, [
641
+ u("div", { class: "content-box-top" }, [
642
+ u("div", null, "服务人员所属单位(盖章)"),
643
+ u("div", null, "法定代表人(签字):"),
644
+ u("div", null, "或授权代理人(签字):")
645
+ ]),
646
+ u("div", { class: "content-box-bottom" }, [
647
+ V(" 日期: "),
648
+ u("span", null, "年"),
649
+ u("span", null, "月"),
650
+ u("span", null, "日")
651
+ ])
652
+ ], -1)
653
+ ])),
654
+ _: 1
655
+ })
656
+ ]),
657
+ _: 1
658
+ })
659
+ ]),
660
+ _: 1
661
+ }, 8, ["model", "rules"])
662
+ ]),
663
+ _: 1
664
+ }, 8, ["modelValue"]);
665
+ };
666
+ }
667
+ });
668
+ export {
669
+ Me as _
670
+ };