xyvcard-itsm-flow 0.0.1

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.
package/README.md ADDED
@@ -0,0 +1,51 @@
1
+ # pnpm publish --no-git-checks
2
+ npm config set registry https://registry.npmjs.org/
3
+
4
+ # pnpm install
5
+ npm config set registry https://registry.npmmirror.com/
6
+
7
+
8
+ This template should help get you started developing with Vue 3 in Vite.
9
+
10
+ ## Recommended IDE Setup
11
+
12
+ [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
13
+
14
+ ## Type Support for `.vue` Imports in TS
15
+
16
+ TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
17
+
18
+ If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
19
+
20
+ 1. Disable the built-in TypeScript Extension
21
+ 1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
22
+ 2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
23
+ 2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
24
+
25
+ ## Customize configuration
26
+
27
+ See [Vite Configuration Reference](https://vitejs.dev/config/).
28
+
29
+ ## Project Setup
30
+
31
+ ```sh
32
+ pnpm install
33
+ ```
34
+
35
+ ### Compile and Hot-Reload for Development
36
+
37
+ ```sh
38
+ pnpm dev
39
+ ```
40
+
41
+ ### Type-Check, Compile and Minify for Production
42
+
43
+ ```sh
44
+ pnpm build
45
+ ```
46
+
47
+ ### Lint with [ESLint](https://eslint.org/)
48
+
49
+ ```sh
50
+ pnpm lint
51
+ ```
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-Dxn9JNKd.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,619 @@
1
+ import { defineComponent as W, openBlock as w, createElementBlock as T, createElementVNode as U, mergeModels as P, ref as y, useModel as me, reactive as J, resolveComponent as i, createBlock as k, withCtx as s, createVNode as l, createTextVNode as O, toDisplayString as C, unref as r, Fragment as G, renderList as Q, createCommentVNode as ce } from "vue";
2
+ import { ElMessage as R } from "element-plus";
3
+ import { useI18n as pe } from "vue-i18n";
4
+ import { I as fe, C as E, a as ve, D as _, i as M, b as be, c as ge } from "./index-DKtAcP6b.mjs";
5
+ import "xyvcard-itsm";
6
+ /*! Element Plus Icons Vue v2.3.1 */
7
+ var Ie = /* @__PURE__ */ W({
8
+ name: "Plus",
9
+ __name: "plus",
10
+ setup(q) {
11
+ return (A, v) => (w(), T("svg", {
12
+ xmlns: "http://www.w3.org/2000/svg",
13
+ viewBox: "0 0 1024 1024"
14
+ }, [
15
+ U("path", {
16
+ fill: "currentColor",
17
+ d: "M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"
18
+ })
19
+ ]));
20
+ }
21
+ }), _e = Ie;
22
+ const we = { class: "title" }, Ce = /* @__PURE__ */ W({
23
+ __name: "edit",
24
+ props: /* @__PURE__ */ P({
25
+ entityKey: {
26
+ type: Object,
27
+ default: () => {
28
+ }
29
+ }
30
+ }, {
31
+ modelValue: { type: Boolean },
32
+ modelModifiers: {}
33
+ }),
34
+ emits: /* @__PURE__ */ P(["refresh"], ["update:modelValue"]),
35
+ setup(q, { emit: A }) {
36
+ const { t: v } = pe(), D = y(), b = me(q, "modelValue"), j = A, h = y([]), F = y({}), I = y([]);
37
+ let u = J({
38
+ requestId: Math.random() * 10 + ""
39
+ });
40
+ const B = new fe({
41
+ contractSort: E.contractSort.manpower,
42
+ contractType: E.contractType.outsource
43
+ });
44
+ B.useValues();
45
+ const N = new ve({});
46
+ N.useValues(), _.orgIdBizDict.useValues(), _.parentIdBizDict.useValues();
47
+ const g = y([
48
+ {
49
+ userId: "",
50
+ idNo: "",
51
+ cost: 0,
52
+ duration: []
53
+ }
54
+ ]);
55
+ function X() {
56
+ g.value.push({
57
+ userId: "",
58
+ idNo: "",
59
+ cost: 0,
60
+ duration: []
61
+ });
62
+ }
63
+ function Y(e) {
64
+ const t = g.value.indexOf(e.row);
65
+ t !== 0 && g.value.splice(t, 1);
66
+ }
67
+ const Z = J({
68
+ contractId: [
69
+ {
70
+ required: !0,
71
+ message: v("itsmFlowEntrust.contractIdRequired"),
72
+ trigger: "change"
73
+ }
74
+ ],
75
+ entrustName: [
76
+ {
77
+ required: !0,
78
+ message: v("itsmFlowEntrust.entrustNameRequired"),
79
+ trigger: "change"
80
+ }
81
+ ],
82
+ serviceContent: [
83
+ {
84
+ required: !0,
85
+ message: v("itsmFlowEntrust.serviceContentRequired"),
86
+ trigger: "blur"
87
+ }
88
+ ]
89
+ }), z = q, x = Object.keys(z.entityKey);
90
+ y(x.length >= 1).value && M.findById(z.entityKey).then(({ data: e }) => {
91
+ Object.assign(u, e), be.findList({ actionId: z.entityKey.entrustId }).then(({ data: t }) => {
92
+ const n = t.results.map((m) => ({
93
+ ...m,
94
+ duration: typeof m.duration == "string" ? m.duration.split(",") || [] : []
95
+ }));
96
+ g.value = n;
97
+ }), H(e.contractId), I.value = typeof e.entrustItsmId == "string" ? e.entrustItsmId.split(",") || [] : [], h.value = typeof e.belongOrgId == "string" ? e.belongOrgId.split(",") || [] : [];
98
+ });
99
+ const ee = async () => {
100
+ var e;
101
+ await ((e = D.value) == null ? void 0 : e.validate((t) => {
102
+ if (t) {
103
+ if (I.value.length === 0) {
104
+ R.warning(v("itsmFlowEntrust.entrustItsmIdRequired"));
105
+ return;
106
+ }
107
+ const n = g.value.map((o) => ({
108
+ ...o,
109
+ duration: Array.isArray(o.duration) ? o.duration.join(",") : o.duration
110
+ })).filter(
111
+ (o) => !(o.cost === 0 && !o.userId)
112
+ ), m = I.value.map((o) => {
113
+ const d = N.values.find(
114
+ (f) => f.key === o
115
+ );
116
+ return {
117
+ itsmId: o,
118
+ itsmName: (d == null ? void 0 : d.value) ?? ""
119
+ };
120
+ }), c = h.value.map((o) => {
121
+ const d = _.parentIdBizDict.values.find(
122
+ (f) => f.value === o
123
+ );
124
+ return {
125
+ orgId: o,
126
+ orgName: (d == null ? void 0 : d.label) ?? ""
127
+ };
128
+ });
129
+ M.save({
130
+ ...u,
131
+ entrustUser: n,
132
+ belongOrg: c,
133
+ entrustItsm: m
134
+ }).then((o) => {
135
+ o.status === 200 && (R({
136
+ message: v("common.submitSuccess"),
137
+ type: "success"
138
+ }), b.value && (b.value = !1), j("refresh", o.status === 200));
139
+ });
140
+ }
141
+ }));
142
+ }, te = async () => {
143
+ var e;
144
+ await ((e = D.value) == null ? void 0 : e.validate((t) => {
145
+ if (t) {
146
+ if (I.value.length === 0) {
147
+ R.warning(v("itsmFlowEntrust.entrustItsmIdRequired"));
148
+ return;
149
+ }
150
+ const n = g.value.map((o) => ({
151
+ ...o,
152
+ duration: Array.isArray(o.duration) ? o.duration.join(",") : o.duration
153
+ })).filter(
154
+ (o) => !(o.cost === 0 && !o.userId)
155
+ ), m = I.value.map((o) => {
156
+ const d = N.values.find(
157
+ (f) => f.key === o
158
+ );
159
+ return {
160
+ itsmId: o,
161
+ itsmName: (d == null ? void 0 : d.value) ?? ""
162
+ };
163
+ }), c = h.value.map((o) => {
164
+ const d = _.parentIdBizDict.values.find(
165
+ (f) => f.value === o
166
+ );
167
+ return {
168
+ orgId: o,
169
+ orgName: (d == null ? void 0 : d.label) ?? ""
170
+ };
171
+ });
172
+ M.submit({
173
+ ...u,
174
+ entrustUser: n,
175
+ belongOrg: c,
176
+ entrustItsm: m
177
+ }).then((o) => {
178
+ o.status === 200 && (R({
179
+ message: v("common.submitSuccess"),
180
+ type: "success"
181
+ }), b.value && (b.value = !1), j("refresh", o.status === 200));
182
+ });
183
+ }
184
+ }));
185
+ };
186
+ function S() {
187
+ b.value && (b.value = !1);
188
+ }
189
+ function H(e) {
190
+ const t = B.values.find(
191
+ (n) => n.key === e
192
+ );
193
+ u.contractNo = (t == null ? void 0 : t.contractNumber) ?? "", u.serviceOrg = (t == null ? void 0 : t.orgId) ?? "", u.contractName = (t == null ? void 0 : t.value) ?? "", F.value = { values: [] }, g.value.forEach((n) => {
194
+ n.userId = "", n.idNo = "", n.cost = 0;
195
+ }), F.value = new ge({
196
+ contractId: e
197
+ }), F.value.useValues();
198
+ }
199
+ function le(e, t) {
200
+ const n = F.value.values.find(
201
+ (m) => m.key === e
202
+ );
203
+ n ? (t.userName = n.value ?? "", t.idNo = n.idNo ?? "", t.cost = Number(n.cost) || 0) : (t.userName = "", t.idNo = "", t.cost = 0);
204
+ }
205
+ function ae(e) {
206
+ const t = e.map((n) => {
207
+ const m = N.values.find(
208
+ (c) => c.key === n
209
+ );
210
+ return m ? m.orgId : null;
211
+ }).filter((n) => n !== null);
212
+ h.value = Array.from(new Set(t));
213
+ }
214
+ return (e, t) => {
215
+ const n = i("el-col"), m = i("jmash-select"), c = i("el-form-item"), o = i("el-input"), d = i("jmash-dict-select"), f = i("el-option"), K = i("el-select"), oe = i("el-tree-select"), L = i("el-row"), V = i("el-table-column"), se = i("el-date-picker"), ne = i("DeleteFilled"), re = i("el-icon"), ue = i("el-table"), $ = i("el-button"), de = i("el-form"), ie = i("el-dialog");
216
+ return w(), k(ie, {
217
+ modelValue: b.value,
218
+ "onUpdate:modelValue": t[9] || (t[9] = (a) => b.value = a),
219
+ onClose: S
220
+ }, {
221
+ footer: s(() => [
222
+ U("div", we, [
223
+ l($, { onClick: S }, {
224
+ default: s(() => [
225
+ O(C(e.$t("common.cancel")), 1)
226
+ ]),
227
+ _: 1
228
+ }),
229
+ l($, {
230
+ type: "primary",
231
+ onClick: ee
232
+ }, {
233
+ default: s(() => [
234
+ O(C(e.$t("itsmFlowEntrustUser.save")), 1)
235
+ ]),
236
+ _: 1
237
+ }),
238
+ l($, {
239
+ type: "primary",
240
+ onClick: te
241
+ }, {
242
+ default: s(() => [
243
+ O(C(e.$t("itsmFlowEntrustUser.submit")), 1)
244
+ ]),
245
+ _: 1
246
+ })
247
+ ])
248
+ ]),
249
+ default: s(() => [
250
+ l(de, {
251
+ ref_key: "itsmFlowEntrustFormRef",
252
+ ref: D,
253
+ model: r(u),
254
+ "label-width": "135px",
255
+ rules: Z
256
+ }, {
257
+ default: s(() => [
258
+ l(L, null, {
259
+ default: s(() => [
260
+ l(n, { span: 24 }, {
261
+ default: s(() => t[10] || (t[10] = [
262
+ U("div", { class: "title" }, "委托服务订单", -1)
263
+ ])),
264
+ _: 1
265
+ }),
266
+ l(n, { span: 24 }, {
267
+ default: s(() => [
268
+ l(c, {
269
+ label: e.$t("itsmFlowEntrust.contractId"),
270
+ prop: "contractId"
271
+ }, {
272
+ default: s(() => [
273
+ l(m, {
274
+ modelValue: r(u).contractId,
275
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => r(u).contractId = a),
276
+ placeholder: e.$t("itsmFlowEntrust.contractIdRequired"),
277
+ data: r(B).values,
278
+ clearable: "",
279
+ class: "w-full",
280
+ onChange: H
281
+ }, null, 8, ["modelValue", "placeholder", "data"])
282
+ ]),
283
+ _: 1
284
+ }, 8, ["label"])
285
+ ]),
286
+ _: 1
287
+ }),
288
+ l(n, { span: 24 }, {
289
+ default: s(() => [
290
+ l(c, {
291
+ label: e.$t("itsmFlowEntrust.contractNo"),
292
+ prop: "contractNo"
293
+ }, {
294
+ default: s(() => [
295
+ l(o, {
296
+ modelValue: r(u).contractNo,
297
+ "onUpdate:modelValue": t[1] || (t[1] = (a) => r(u).contractNo = a),
298
+ placeholder: e.$t("itsmFlowEntrust.contractIdRequireds"),
299
+ disabled: ""
300
+ }, null, 8, ["modelValue", "placeholder"])
301
+ ]),
302
+ _: 1
303
+ }, 8, ["label"])
304
+ ]),
305
+ _: 1
306
+ }),
307
+ l(n, { span: 24 }, {
308
+ default: s(() => [
309
+ l(c, {
310
+ label: e.$t("itsmFlowEntrust.entrustName"),
311
+ prop: "entrustName"
312
+ }, {
313
+ default: s(() => [
314
+ l(d, {
315
+ modelValue: r(u).entrustName,
316
+ "onUpdate:modelValue": t[2] || (t[2] = (a) => r(u).entrustName = a),
317
+ placeholder: e.$t("itsmFlowEntrust.entrustNameRequired"),
318
+ "type-code": r(E).DICT_PROJECT_NAME,
319
+ clearable: "",
320
+ filterable: "",
321
+ class: "w-full"
322
+ }, null, 8, ["modelValue", "placeholder", "type-code"])
323
+ ]),
324
+ _: 1
325
+ }, 8, ["label"])
326
+ ]),
327
+ _: 1
328
+ }),
329
+ l(n, { span: 24 }, {
330
+ default: s(() => [
331
+ l(c, {
332
+ label: e.$t("itsmFlowEntrust.entrustItsmId"),
333
+ prop: "entrustItsmId"
334
+ }, {
335
+ default: s(() => [
336
+ l(K, {
337
+ modelValue: I.value,
338
+ "onUpdate:modelValue": t[3] || (t[3] = (a) => I.value = a),
339
+ placeholder: e.$t("itsmFlowEntrust.entrustItsmIdRequired"),
340
+ class: "w-full",
341
+ filterable: "",
342
+ clearable: "",
343
+ multiple: "",
344
+ onChange: ae
345
+ }, {
346
+ default: s(() => [
347
+ (w(!0), T(G, null, Q(r(N).values, (a) => (w(), k(f, {
348
+ key: a.key,
349
+ label: a.value,
350
+ value: a.key,
351
+ disabled: ("status" in a && a.status) !== r(E).status.regular
352
+ }, null, 8, ["label", "value", "disabled"]))), 128))
353
+ ]),
354
+ _: 1
355
+ }, 8, ["modelValue", "placeholder"])
356
+ ]),
357
+ _: 1
358
+ }, 8, ["label"])
359
+ ]),
360
+ _: 1
361
+ }),
362
+ l(n, { span: 24 }, {
363
+ default: s(() => [
364
+ l(c, {
365
+ label: e.$t("itsmFlowEntrust.belongOrg"),
366
+ prop: "belongOrg"
367
+ }, {
368
+ default: s(() => [
369
+ l(oe, {
370
+ modelValue: h.value,
371
+ "onUpdate:modelValue": t[4] || (t[4] = (a) => h.value = a),
372
+ data: r(_).parentIdBizDict.values,
373
+ filterable: "",
374
+ clearable: "",
375
+ "check-strictly": "",
376
+ "render-after-expand": !1,
377
+ class: "w-full",
378
+ placeholder: e.$t("itsmFlowEntrust.belongOrgRequired"),
379
+ multiple: "",
380
+ disabled: ""
381
+ }, null, 8, ["modelValue", "data", "placeholder"])
382
+ ]),
383
+ _: 1
384
+ }, 8, ["label"])
385
+ ]),
386
+ _: 1
387
+ }),
388
+ l(n, { span: 12 }, {
389
+ default: s(() => [
390
+ l(c, {
391
+ label: e.$t("itsmFlowEntrust.serviceContent"),
392
+ prop: "serviceContent"
393
+ }, {
394
+ default: s(() => [
395
+ l(m, {
396
+ modelValue: r(u).serviceContent,
397
+ "onUpdate:modelValue": t[5] || (t[5] = (a) => r(u).serviceContent = a),
398
+ placeholder: e.$t("itsmFlowEntrust.serviceContentRequired"),
399
+ data: r(_).serviceContentEnum.values,
400
+ clearable: "",
401
+ class: "w-full"
402
+ }, null, 8, ["modelValue", "placeholder", "data"])
403
+ ]),
404
+ _: 1
405
+ }, 8, ["label"])
406
+ ]),
407
+ _: 1
408
+ }),
409
+ l(n, { span: 12 }, {
410
+ default: s(() => [
411
+ l(c, {
412
+ label: e.$t("itsmFlowEntrust.serviceOrg"),
413
+ prop: "serviceOrg"
414
+ }, {
415
+ default: s(() => [
416
+ l(m, {
417
+ modelValue: r(u).serviceOrg,
418
+ "onUpdate:modelValue": t[6] || (t[6] = (a) => r(u).serviceOrg = a),
419
+ placeholder: e.$t("itsmFlowEntrust.contractIdRequireds"),
420
+ data: r(_).orgIdBizDict.values,
421
+ disabled: "",
422
+ class: "w-full"
423
+ }, null, 8, ["modelValue", "placeholder", "data"])
424
+ ]),
425
+ _: 1
426
+ }, 8, ["label"])
427
+ ]),
428
+ _: 1
429
+ }),
430
+ l(n, { span: 24 }, {
431
+ default: s(() => [
432
+ l(c, {
433
+ label: e.$t("itsmFlowEntrust.orderNo"),
434
+ prop: "orderNo"
435
+ }, {
436
+ default: s(() => [
437
+ l(o, {
438
+ modelValue: r(u).orderNo,
439
+ "onUpdate:modelValue": t[7] || (t[7] = (a) => r(u).orderNo = a),
440
+ placeholder: e.$t("itsmFlowEntrust.orderNoRequired"),
441
+ disabled: ""
442
+ }, null, 8, ["modelValue", "placeholder"])
443
+ ]),
444
+ _: 1
445
+ }, 8, ["label"])
446
+ ]),
447
+ _: 1
448
+ }),
449
+ l(n, { span: 24 }, {
450
+ default: s(() => [
451
+ l(c, {
452
+ label: e.$t("itsmFlowEntrust.workContent"),
453
+ prop: "workContent"
454
+ }, {
455
+ default: s(() => [
456
+ l(o, {
457
+ modelValue: r(u).workContent,
458
+ "onUpdate:modelValue": t[8] || (t[8] = (a) => r(u).workContent = a),
459
+ placeholder: e.$t("itsmFlowEntrust.workContentRequired"),
460
+ maxlength: "500",
461
+ rows: 4,
462
+ type: "textarea",
463
+ "show-word-limit": "",
464
+ clearable: ""
465
+ }, null, 8, ["modelValue", "placeholder"])
466
+ ]),
467
+ _: 1
468
+ }, 8, ["label"])
469
+ ]),
470
+ _: 1
471
+ })
472
+ ]),
473
+ _: 1
474
+ }),
475
+ l(L, null, {
476
+ default: s(() => [
477
+ l(ue, {
478
+ data: g.value,
479
+ border: "",
480
+ style: { width: "100%" }
481
+ }, {
482
+ default: s(() => [
483
+ l(V, {
484
+ type: "index",
485
+ label: e.$t("itsmFlowEntrustUser.index"),
486
+ width: "60",
487
+ align: "center"
488
+ }, null, 8, ["label"]),
489
+ l(V, {
490
+ prop: "userId",
491
+ label: e.$t("itsmFlowEntrustUser.userId"),
492
+ "header-align": "center",
493
+ width: "150"
494
+ }, {
495
+ default: s(({ row: a }) => [
496
+ l(K, {
497
+ modelValue: a.userId,
498
+ "onUpdate:modelValue": (p) => a.userId = p,
499
+ placeholder: e.$t("itsmFlowEntrustUser.userIdRequired"),
500
+ class: "w-full",
501
+ filterable: "",
502
+ clearable: "",
503
+ onChange: (p) => le(p, a)
504
+ }, {
505
+ default: s(() => [
506
+ (w(!0), T(G, null, Q(F.value.values, (p) => (w(), k(f, {
507
+ key: p.key,
508
+ label: p.value,
509
+ value: p.key
510
+ }, null, 8, ["label", "value"]))), 128))
511
+ ]),
512
+ _: 2
513
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])
514
+ ]),
515
+ _: 1
516
+ }, 8, ["label"]),
517
+ l(V, {
518
+ prop: "idNo",
519
+ label: e.$t("itsmFlowEntrustUser.idNo"),
520
+ "header-align": "center",
521
+ width: "190"
522
+ }, {
523
+ default: s(({ row: a }) => [
524
+ l(o, {
525
+ modelValue: a.idNo,
526
+ "onUpdate:modelValue": (p) => a.idNo = p,
527
+ placeholder: e.$t("itsmFlowEntrustUser.userIdRequireds"),
528
+ disabled: ""
529
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
530
+ ]),
531
+ _: 1
532
+ }, 8, ["label"]),
533
+ l(V, {
534
+ prop: "cost",
535
+ label: e.$t("itsmFlowEntrustUser.cost"),
536
+ "header-align": "center",
537
+ width: "160"
538
+ }, {
539
+ default: s(({ row: a }) => [
540
+ l(o, {
541
+ modelValue: a.cost,
542
+ "onUpdate:modelValue": (p) => a.cost = p,
543
+ placeholder: e.$t("itsmFlowEntrustUser.userIdRequireds"),
544
+ disabled: ""
545
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
546
+ ]),
547
+ _: 1
548
+ }, 8, ["label"]),
549
+ l(V, {
550
+ prop: "duration",
551
+ "header-align": "center"
552
+ }, {
553
+ header: s(() => [
554
+ t[11] || (t[11] = U("span", { class: "required_red" }, "*", -1)),
555
+ U("span", null, C(e.$t("itsmFlowEntrustUser.duration")), 1)
556
+ ]),
557
+ default: s(({ row: a }) => [
558
+ l(se, {
559
+ modelValue: a.duration,
560
+ "onUpdate:modelValue": (p) => a.duration = p,
561
+ type: "monthrange",
562
+ "start-placeholder": e.$t("itsmFlowEntrustUser.startTime"),
563
+ "end-placeholder": e.$t("itsmFlowEntrustUser.endTime"),
564
+ format: r(E).FORMAT_MONTH,
565
+ "value-format": r(E).FORMAT_MONTH,
566
+ class: "w-full"
567
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "format", "value-format"])
568
+ ]),
569
+ _: 1
570
+ }),
571
+ l(V, {
572
+ label: e.$t("common.operate"),
573
+ width: "60",
574
+ align: "center"
575
+ }, {
576
+ default: s((a) => [
577
+ a.$index !== 0 ? (w(), k(re, {
578
+ key: 0,
579
+ onClick: (p) => Y(a),
580
+ size: "18",
581
+ style: { cursor: "pointer", color: "inherit" },
582
+ class: "hover-blue"
583
+ }, {
584
+ default: s(() => [
585
+ l(ne)
586
+ ]),
587
+ _: 2
588
+ }, 1032, ["onClick"])) : ce("", !0)
589
+ ]),
590
+ _: 1
591
+ }, 8, ["label"])
592
+ ]),
593
+ _: 1
594
+ }, 8, ["data"]),
595
+ l($, {
596
+ icon: r(_e),
597
+ class: "addButton",
598
+ onClick: X
599
+ }, {
600
+ default: s(() => [
601
+ O(C(r(v)("common.add")), 1)
602
+ ]),
603
+ _: 1
604
+ }, 8, ["icon"])
605
+ ]),
606
+ _: 1
607
+ })
608
+ ]),
609
+ _: 1
610
+ }, 8, ["model", "rules"])
611
+ ]),
612
+ _: 1
613
+ }, 8, ["modelValue"]);
614
+ };
615
+ }
616
+ });
617
+ export {
618
+ Ce as _
619
+ };