xyvcard-itsm-flow 0.0.6 → 0.0.7

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