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