xyvcard-itsm-flow 0.0.19 → 0.0.21

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 (90) hide show
  1. package/dist/{FileSaver.min-5d27MsC6.mjs → FileSaver.min-X2_RihtX.mjs} +29 -28
  2. package/dist/_commonjsHelpers-BVfed4GL.mjs +28 -0
  3. package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  4. package/dist/{edit-DIh0NEYf.mjs → edit-AAIDp3Ys.mjs} +1 -1
  5. package/dist/edit-BC3HBHna.mjs +378 -0
  6. package/dist/{edit-DdzFTqhg.mjs → edit-CWx9fJF7.mjs} +1 -1
  7. package/dist/edit-CuL-MqiW.mjs +794 -0
  8. package/dist/{edit-Vw2XQ1u6.mjs → edit-XWSh98dW.mjs} +1 -1
  9. package/dist/edit-zRQs9w8y.mjs +492 -0
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-BjhcvEHi.mjs → edit.vue_vue_type_script_setup_true_lang-BCVm7-Ex.mjs} +2 -2
  11. package/dist/{edit.vue_vue_type_script_setup_true_lang-m73-ejk7.mjs → edit.vue_vue_type_script_setup_true_lang-BHgx58mh.mjs} +2 -2
  12. package/dist/{edit.vue_vue_type_script_setup_true_lang-prup6BHU.mjs → edit.vue_vue_type_script_setup_true_lang-Rs79eFoT.mjs} +2 -2
  13. package/dist/{el-message-DawVzOVQ.mjs → el-message-BJAl6Gwu.mjs} +1 -1
  14. package/dist/{index-g0KiWDPW.mjs → index--gw38QeR.mjs} +3 -3
  15. package/dist/index-3BgV8fss.mjs +396 -0
  16. package/dist/index-BDh2WCIf.mjs +316 -0
  17. package/dist/{index-CxyHtsq2.mjs → index-BFtKB0qe.mjs} +2 -2
  18. package/dist/{index-DaSMRndr.mjs → index-BLHnAUcn.mjs} +2 -2
  19. package/dist/index-BSRU0wyQ.mjs +479 -0
  20. package/dist/{index-DeerMT0Q.mjs → index-BYbmB9DD.mjs} +31 -29
  21. package/dist/{index-BI1uXq1f.mjs → index-Bom-5z91.mjs} +4 -4
  22. package/dist/index-BtiMpwj2.mjs +457 -0
  23. package/dist/{index-tnTugnqa.mjs → index-C-HQUPPS.mjs} +3 -3
  24. package/dist/{index-DB-P0VX0.mjs → index-C5pj6umx.mjs} +23 -22
  25. package/dist/{index-C7_kMdm5.mjs → index-CDKSx5IH.mjs} +2 -2
  26. package/dist/{index-Dooa5UH_.mjs → index-CLZfBnlo.mjs} +4 -4
  27. package/dist/index-COvZrTZl.mjs +278 -0
  28. package/dist/index-CXAtR6Vv.mjs +366 -0
  29. package/dist/index-CYJvDaI_.mjs +1371 -0
  30. package/dist/{index-PafaMNgK.mjs → index-CvX2It1o.mjs} +64 -30
  31. package/dist/index-D2AIn13F.mjs +339 -0
  32. package/dist/{index-Cgbv4Ijf.mjs → index-D7TvdZ0W.mjs} +180 -160
  33. package/dist/{index-7_pEehBt.mjs → index-DBRvKb1w.mjs} +2 -2
  34. package/dist/{index-CITy8Hqm.mjs → index-DFj2i4Kf.mjs} +4 -4
  35. package/dist/index-DNsy9Enp.mjs +272 -0
  36. package/dist/index-DQOGU1Vs.mjs +402 -0
  37. package/dist/index-D_PiZ_6x.mjs +749 -0
  38. package/dist/index-DesY4um_.mjs +330 -0
  39. package/dist/{index-Cqw8Rz4q.mjs → index-DkPqpjkA.mjs} +26 -24
  40. package/dist/index-Sm592CoC.mjs +273 -0
  41. package/dist/index-cjJjrvPP.mjs +390 -0
  42. package/dist/index-enjFe_Qb.mjs +400 -0
  43. package/dist/index-gWMTJ0gB.mjs +221 -0
  44. package/dist/index-o0oTSdUL.mjs +149 -0
  45. package/dist/index.mjs +1357 -1229
  46. package/dist/{info-8NydJYfB.mjs → info-06y0zz8D.mjs} +1 -1
  47. package/dist/{info-BbMCDfFR.mjs → info-BQh86EaI.mjs} +1 -1
  48. package/dist/{info-l0eP5Tw1.mjs → info-CYY7U06K.mjs} +1 -1
  49. package/dist/info-ClUXgnK1.mjs +4 -0
  50. package/dist/info-DJvahDDF.mjs +4 -0
  51. package/dist/info-nzbmqI2A.mjs +4 -0
  52. package/dist/{info.vue_vue_type_script_setup_true_lang-wuHB-S6l.mjs → info.vue_vue_type_script_setup_true_lang-7L5RJMrf.mjs} +1 -1
  53. package/dist/{info.vue_vue_type_script_setup_true_lang-DMw-pPEW.mjs → info.vue_vue_type_script_setup_true_lang-BHjv3DSd.mjs} +1 -1
  54. package/dist/{info.vue_vue_type_script_setup_true_lang-BnDpoavn.mjs → info.vue_vue_type_script_setup_true_lang-D5eF48hb.mjs} +1 -1
  55. package/dist/info.vue_vue_type_script_setup_true_lang-DxArle2x.mjs +260 -0
  56. package/dist/info.vue_vue_type_script_setup_true_lang-hwan7iwm.mjs +209 -0
  57. package/dist/info.vue_vue_type_script_setup_true_lang-y8F2Xg5z.mjs +374 -0
  58. package/dist/style.css +1 -1
  59. package/dts/api/index.d.ts +5 -1
  60. package/dts/api/itsm-flow-spare-parts/index.d.ts +20 -0
  61. package/dts/api/itsm-flow-spare-parts/types.d.ts +113 -0
  62. package/dts/api/itsm-flow-spare-parts-details/index.d.ts +20 -0
  63. package/dts/api/itsm-flow-spare-parts-details/types.d.ts +77 -0
  64. package/dts/api/itsm-flow-temporary/index.d.ts +21 -0
  65. package/dts/api/itsm-flow-temporary/types.d.ts +115 -0
  66. package/dts/components/ImageUpload/ImageUpload.vue.d.ts +36 -0
  67. package/dts/components/TaskItsmFlowImOrderInterior/index.vue.d.ts +28 -0
  68. package/dts/components/TaskItsmFlowImOrderInteriorEdit/index.vue.d.ts +28 -0
  69. package/dts/components/TaskItsmFlowImOrderInteriorImplement/index.vue.d.ts +28 -0
  70. package/dts/components/TaskItsmFlowImOrderInteriorView/index.vue.d.ts +28 -0
  71. package/dts/components/TaskItsmFlowImSpareParts/index.vue.d.ts +28 -0
  72. package/dts/components/TaskItsmFlowImSparePartsEdit/index.vue.d.ts +28 -0
  73. package/dts/components/TaskItsmFlowImSparePartsUse/index.vue.d.ts +28 -0
  74. package/dts/components/TaskItsmFlowImSpareTemporary/index.vue.d.ts +28 -0
  75. package/dts/components/TaskItsmFlowImSpareTemporaryEdit/index.vue.d.ts +28 -0
  76. package/dts/components/TaskItsmFlowImSpareTemporaryImplement/index.vue.d.ts +28 -0
  77. package/dts/components/TaskItsmFlowImSpareTemporaryView/index.vue.d.ts +28 -0
  78. package/dts/constant.d.ts +8 -0
  79. package/dts/index.d.ts +11 -0
  80. package/dts/lang/itsm-flow/zh-cn.d.ts +81 -0
  81. package/dts/views/item-flow-orders-interior/edit.vue.d.ts +28 -0
  82. package/dts/views/item-flow-orders-interior/index.vue.d.ts +2 -0
  83. package/dts/views/item-flow-orders-interior/info.vue.d.ts +26 -0
  84. package/dts/views/itsm-flow-spare-parts/edit.vue.d.ts +28 -0
  85. package/dts/views/itsm-flow-spare-parts/index.vue.d.ts +2 -0
  86. package/dts/views/itsm-flow-spare-parts/info.vue.d.ts +26 -0
  87. package/dts/views/itsm-flow-temporary/edit.vue.d.ts +28 -0
  88. package/dts/views/itsm-flow-temporary/index.vue.d.ts +2 -0
  89. package/dts/views/itsm-flow-temporary/info.vue.d.ts +26 -0
  90. package/package.json +63 -63
@@ -0,0 +1,457 @@
1
+ import { defineComponent as ie, mergeModels as ue, ref as g, useModel as de, reactive as M, computed as N, watch as A, nextTick as ne, resolveComponent as d, createElementBlock as p, openBlock as n, Fragment as y, createVNode as o, withCtx as a, createElementVNode as me, unref as s, renderList as _, createBlock as h, createCommentVNode as pe, createTextVNode as B, toDisplayString as P } from "vue";
2
+ import "element-plus";
3
+ import { useI18n as fe } from "vue-i18n";
4
+ import { i as Y } from "./index-o0oTSdUL.mjs";
5
+ import { D as I, O as z, C as T, i as ce } from "./index-D7TvdZ0W.mjs";
6
+ import { u as ge } from "./index-CvX2It1o.mjs";
7
+ import { sysUserExtApi as ye } from "xyvcard-itsmsys";
8
+ import { useUserStoreHook as Ie } from "jmash-core";
9
+ import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
10
+ const be = /* @__PURE__ */ ie({
11
+ __name: "index",
12
+ props: /* @__PURE__ */ ue({
13
+ task: {
14
+ type: Object,
15
+ default: () => {
16
+ }
17
+ }
18
+ }, {
19
+ modelValue: {},
20
+ modelModifiers: {}
21
+ }),
22
+ emits: ["update:modelValue"],
23
+ setup(V, { expose: E }) {
24
+ const j = Ie(), { t: f } = fe(), O = g();
25
+ I.itemBizLayDict.useValues();
26
+ const m = de(V, "modelValue"), k = new z({ orgType: T.HALL });
27
+ k.useValues();
28
+ const q = new z({ orgType: T.OUTSOURCE });
29
+ q.useValues(), I.userExtBizDict.useValues();
30
+ const D = g((/* @__PURE__ */ new Date()).toISOString().split("T")[0]);
31
+ let t = M({
32
+ requestId: Math.random() * 10 + "",
33
+ files: [],
34
+ temporaryType: T.External
35
+ });
36
+ const R = N(() => t.govOrgId ? I.itemBizLayDict.values.filter(
37
+ (l) => l.orgId === t.govOrgId
38
+ ) : []);
39
+ function H(e) {
40
+ t.itemId = void 0;
41
+ }
42
+ const v = g([]), c = g([]);
43
+ ye.findList().then((e) => {
44
+ v.value = e.data.results;
45
+ }), A(
46
+ [v, () => t.userId],
47
+ ([e, l]) => {
48
+ e && l && t.outOrgId && (c.value = e.filter(
49
+ (i) => i.orgId === t.outOrgId
50
+ ));
51
+ },
52
+ { immediate: !0 }
53
+ ), A(
54
+ () => t.outOrgId,
55
+ (e) => {
56
+ e && Array.isArray(v.value) ? (c.value = v.value.filter(
57
+ (l) => l.orgId === e
58
+ ), console.log("filteredUserList:", c.value), t.userId && !c.value.some(
59
+ (l) => l.userId === t.userId
60
+ ) && (t.userId = "")) : (c.value = [], t.userId = "");
61
+ },
62
+ { immediate: !0 }
63
+ );
64
+ const F = g(!1), U = g(), K = M({
65
+ govOrgId: [
66
+ {
67
+ required: !0,
68
+ message: f("itsmFlowTemporary.govOrgIdRequired"),
69
+ trigger: "change"
70
+ }
71
+ ],
72
+ itemId: [
73
+ {
74
+ required: !0,
75
+ message: f("itsmFlowTemporary.itemIdRequired"),
76
+ trigger: "change"
77
+ }
78
+ ],
79
+ title: [
80
+ {
81
+ required: !0,
82
+ message: f("itsmFlowTemporary.titleRequired"),
83
+ trigger: "change"
84
+ }
85
+ ],
86
+ temporaryType: [
87
+ {
88
+ required: !0,
89
+ message: f("itsmFlowTemporary.temporaryTypeRequired"),
90
+ trigger: "change"
91
+ }
92
+ ],
93
+ outOrgId: [
94
+ {
95
+ required: !0,
96
+ message: f("itsmFlowTemporary.outOrgIdRequired"),
97
+ trigger: "change"
98
+ }
99
+ ],
100
+ userId: [
101
+ {
102
+ required: !0,
103
+ message: f("itsmFlowTemporary.userIdRequired"),
104
+ trigger: "change"
105
+ }
106
+ ]
107
+ }), $ = V, W = N(() => {
108
+ const e = I.fileTypeDict.values.slice(2, 3)[0];
109
+ return e ? e.dictCode : "temporary_file";
110
+ });
111
+ function G() {
112
+ F.value = !0, U.value.clearFileList();
113
+ }
114
+ function J(e) {
115
+ const l = {
116
+ fileName: e.name,
117
+ fileId: e.response.fileId,
118
+ fileSort: W.value,
119
+ fileSrc: ""
120
+ };
121
+ t.files || (t.files = []), t.files.push(l), t.files = [...new Set(t.files)];
122
+ }
123
+ console.log(I.fileTypeDict.values.slice(2, 3)[0], "=>fileTypeDict ");
124
+ function Q(e) {
125
+ var l;
126
+ (l = t.files) == null || l.splice(e, 1);
127
+ }
128
+ Y.findById({ temporaryId: $.task.businessKey }).then(({ data: e }) => {
129
+ t.outOrgId = e.outOrgId, ne(() => {
130
+ Object.assign(t, e), X();
131
+ });
132
+ });
133
+ function X() {
134
+ ce.findFilesList({ actionId: $.task.businessKey }).then(({ data: e }) => {
135
+ console.log(e, "=>data "), e.results && Array.isArray(e.results) && (t.files = e.results.map((l) => {
136
+ let i = "";
137
+ return l.fileName && (i = l.fileSort || l.type || ""), {
138
+ fileName: l.fileName || "",
139
+ fileId: l.fileId || "",
140
+ fileSort: i
141
+ };
142
+ }));
143
+ });
144
+ }
145
+ E({
146
+ changeModel: () => Z()
147
+ });
148
+ function Z() {
149
+ return m.value && (m.value.selectActions = [
150
+ { key: "true", value: "同意" },
151
+ { key: "false", value: "不同意" }
152
+ ], m.value.varName = "approved", m.value.module = "", m.value.module = T.MODULE_ITSMFLOW), new Promise((e, l) => {
153
+ var i;
154
+ (i = O.value) == null || i.validate((b) => {
155
+ b ? (m.value && (m.value.comment = ""), t.requestId = Math.random() * 10 + "", Y.create(t).then((u) => {
156
+ u.status === 200 ? e(!0) : l(!1);
157
+ })) : l(!1);
158
+ });
159
+ });
160
+ }
161
+ return (e, l) => {
162
+ const i = d("el-col"), b = d("jmash-select"), u = d("el-form-item"), C = d("el-option"), S = d("el-select"), w = d("el-input"), x = d("el-date-picker"), ee = d("el-button"), le = d("CircleClose"), te = d("el-icon"), oe = d("el-row"), re = d("el-form"), ae = d("jmash-multi-upload");
163
+ return n(), p(y, null, [
164
+ o(i, { span: 24 }, {
165
+ default: a(() => l[9] || (l[9] = [
166
+ me("div", { class: "title" }, "外部临时工单临时工单", -1)
167
+ ])),
168
+ _: 1,
169
+ __: [9]
170
+ }),
171
+ o(re, {
172
+ ref_key: "taskFormRef",
173
+ ref: O,
174
+ model: s(t),
175
+ "label-width": "150px",
176
+ rules: K,
177
+ class: "custom-table-form custom-form"
178
+ }, {
179
+ default: a(() => [
180
+ o(oe, null, {
181
+ default: a(() => [
182
+ o(i, { span: 24 }, {
183
+ default: a(() => [
184
+ o(u, {
185
+ label: e.$t("itsmFlowSpareParts.govOrgId"),
186
+ prop: "govOrgId"
187
+ }, {
188
+ default: a(() => [
189
+ o(b, {
190
+ modelValue: s(t).govOrgId,
191
+ "onUpdate:modelValue": l[0] || (l[0] = (r) => s(t).govOrgId = r),
192
+ placeholder: e.$t("itsmFlowSpareParts.govOrgIdRequired"),
193
+ data: s(k).values,
194
+ clearable: "",
195
+ filterable: "",
196
+ class: "w-full",
197
+ onChange: H
198
+ }, null, 8, ["modelValue", "placeholder", "data"])
199
+ ]),
200
+ _: 1
201
+ }, 8, ["label"])
202
+ ]),
203
+ _: 1
204
+ }),
205
+ o(i, { span: 24 }, {
206
+ default: a(() => [
207
+ o(u, {
208
+ label: e.$t("itsmFlowSpareParts.itemId"),
209
+ prop: "itemId"
210
+ }, {
211
+ default: a(() => [
212
+ o(S, {
213
+ modelValue: s(t).itemId,
214
+ "onUpdate:modelValue": l[1] || (l[1] = (r) => s(t).itemId = r),
215
+ placeholder: e.$t("itsmFlowSpareParts.itemIdRequired"),
216
+ data: R.value,
217
+ clearable: "",
218
+ filterable: "",
219
+ disabled: !s(t).govOrgId
220
+ }, {
221
+ default: a(() => [
222
+ (n(!0), p(y, null, _(R.value, (r) => (n(), h(C, {
223
+ key: r.key,
224
+ value: r.key,
225
+ label: r.value
226
+ }, null, 8, ["value", "label"]))), 128))
227
+ ]),
228
+ _: 1
229
+ }, 8, ["modelValue", "placeholder", "data", "disabled"])
230
+ ]),
231
+ _: 1
232
+ }, 8, ["label"])
233
+ ]),
234
+ _: 1
235
+ }),
236
+ o(i, { span: 12 }, {
237
+ default: a(() => [
238
+ o(u, {
239
+ label: e.$t("itsmFlowTemporary.createUser")
240
+ }, {
241
+ default: a(() => [
242
+ o(w, {
243
+ value: s(j).user.realName,
244
+ placeholder: e.$t("itsmFlowTemporary.createUserRequired"),
245
+ "show-word-limit": "",
246
+ clearable: "",
247
+ disabled: !0
248
+ }, null, 8, ["value", "placeholder"])
249
+ ]),
250
+ _: 1
251
+ }, 8, ["label"])
252
+ ]),
253
+ _: 1
254
+ }),
255
+ o(i, { span: 12 }, {
256
+ default: a(() => [
257
+ o(u, {
258
+ label: e.$t("itsmFlowTemporary.createTime"),
259
+ prop: "createTime"
260
+ }, {
261
+ default: a(() => [
262
+ o(x, {
263
+ modelValue: D.value,
264
+ "onUpdate:modelValue": l[2] || (l[2] = (r) => D.value = r),
265
+ type: "date",
266
+ placeholder: e.$t("itsmFlowTemporary.createTimeRequired"),
267
+ format: "YYYY-MM-DD",
268
+ "value-format": "YYYY-MM-DD",
269
+ clearable: !1,
270
+ class: "w-full",
271
+ disabled: !0
272
+ }, null, 8, ["modelValue", "placeholder"])
273
+ ]),
274
+ _: 1
275
+ }, 8, ["label"])
276
+ ]),
277
+ _: 1
278
+ }),
279
+ o(i, { span: 24 }, {
280
+ default: a(() => [
281
+ o(u, {
282
+ label: e.$t("itsmFlowTemporary.title"),
283
+ prop: "title"
284
+ }, {
285
+ default: a(() => [
286
+ o(w, {
287
+ modelValue: s(t).title,
288
+ "onUpdate:modelValue": l[3] || (l[3] = (r) => s(t).title = r),
289
+ placeholder: e.$t("itsmFlowTemporary.titleRequired"),
290
+ "show-word-limit": "",
291
+ clearable: ""
292
+ }, null, 8, ["modelValue", "placeholder"])
293
+ ]),
294
+ _: 1
295
+ }, 8, ["label"])
296
+ ]),
297
+ _: 1
298
+ }),
299
+ o(i, { span: 24 }, {
300
+ default: a(() => [
301
+ o(u, {
302
+ label: e.$t("itsmFlowTemporary.content"),
303
+ prop: "content"
304
+ }, {
305
+ default: a(() => [
306
+ o(w, {
307
+ modelValue: s(t).content,
308
+ "onUpdate:modelValue": l[4] || (l[4] = (r) => s(t).content = r),
309
+ placeholder: e.$t("itsmFlowTemporary.contentRequired"),
310
+ "show-word-limit": "",
311
+ clearable: ""
312
+ }, null, 8, ["modelValue", "placeholder"])
313
+ ]),
314
+ _: 1
315
+ }, 8, ["label"])
316
+ ]),
317
+ _: 1
318
+ }),
319
+ o(i, { span: 24 }, {
320
+ default: a(() => [
321
+ (n(!0), p(y, null, _(s(I).fileTypeDict.values.slice(2, 3), (r, we) => (n(), p(y, {
322
+ key: r.dictCode
323
+ }, [
324
+ o(u, {
325
+ label: r.dictName
326
+ }, {
327
+ default: a(() => [
328
+ o(ee, {
329
+ type: "primary",
330
+ icon: s(ge),
331
+ onClick: G
332
+ }, {
333
+ default: a(() => [
334
+ B(P(e.$t("common.uploadFiles")), 1)
335
+ ]),
336
+ _: 1
337
+ }, 8, ["icon"])
338
+ ]),
339
+ _: 2
340
+ }, 1032, ["label"]),
341
+ s(t).files && s(t).files.length > 0 ? (n(), h(u, { key: 0 }, {
342
+ default: a(() => [
343
+ (n(!0), p(y, null, _(s(t).files, (se, L) => (n(), p("div", {
344
+ key: L,
345
+ class: "files-list"
346
+ }, [
347
+ B(P(se.fileName) + " ", 1),
348
+ o(te, {
349
+ size: "16",
350
+ class: "icon-right",
351
+ onClick: (_e) => Q(L)
352
+ }, {
353
+ default: a(() => [
354
+ o(le)
355
+ ]),
356
+ _: 2
357
+ }, 1032, ["onClick"])
358
+ ]))), 128))
359
+ ]),
360
+ _: 2
361
+ }, 1024)) : pe("", !0)
362
+ ], 64))), 128))
363
+ ]),
364
+ _: 1
365
+ }),
366
+ o(i, { span: 24 }, {
367
+ default: a(() => [
368
+ o(u, {
369
+ label: e.$t("itsmFlowTemporary.outOrgId"),
370
+ prop: "outOrgId"
371
+ }, {
372
+ default: a(() => [
373
+ o(b, {
374
+ modelValue: s(t).outOrgId,
375
+ "onUpdate:modelValue": l[5] || (l[5] = (r) => s(t).outOrgId = r),
376
+ placeholder: e.$t("itsmFlowTemporary.outOrgIdRequired"),
377
+ data: s(q).values,
378
+ clearable: "",
379
+ filterable: "",
380
+ class: "w-full"
381
+ }, null, 8, ["modelValue", "placeholder", "data"])
382
+ ]),
383
+ _: 1
384
+ }, 8, ["label"])
385
+ ]),
386
+ _: 1
387
+ }),
388
+ o(i, { span: 24 }, {
389
+ default: a(() => [
390
+ o(u, {
391
+ label: e.$t("itsmFlowTemporary.userId"),
392
+ prop: "userId"
393
+ }, {
394
+ default: a(() => [
395
+ o(S, {
396
+ modelValue: s(t).userId,
397
+ "onUpdate:modelValue": l[6] || (l[6] = (r) => s(t).userId = r),
398
+ placeholder: e.$t("itsmFlowTemporary.userIdRequired"),
399
+ "show-word-limit": "",
400
+ clearable: "",
401
+ class: "w-full"
402
+ }, {
403
+ default: a(() => [
404
+ (n(!0), p(y, null, _(c.value, (r) => (n(), h(C, {
405
+ key: r.userId,
406
+ value: r.userId,
407
+ label: r.realName
408
+ }, null, 8, ["value", "label"]))), 128))
409
+ ]),
410
+ _: 1
411
+ }, 8, ["modelValue", "placeholder"])
412
+ ]),
413
+ _: 1
414
+ }, 8, ["label"])
415
+ ]),
416
+ _: 1
417
+ }),
418
+ o(i, { span: 24 }, {
419
+ default: a(() => [
420
+ o(u, {
421
+ label: e.$t("itsmFlowTemporary.handlingPeriod"),
422
+ prop: "handlingPeriod"
423
+ }, {
424
+ default: a(() => [
425
+ o(w, {
426
+ modelValue: s(t).handlingPeriod,
427
+ "onUpdate:modelValue": l[7] || (l[7] = (r) => s(t).handlingPeriod = r),
428
+ placeholder: e.$t("itsmFlowTemporary.handlingPeriodRequired"),
429
+ "show-word-limit": "",
430
+ clearable: ""
431
+ }, null, 8, ["modelValue", "placeholder"])
432
+ ]),
433
+ _: 1
434
+ }, 8, ["label"])
435
+ ]),
436
+ _: 1
437
+ })
438
+ ]),
439
+ _: 1
440
+ })
441
+ ]),
442
+ _: 1
443
+ }, 8, ["model", "rules"]),
444
+ o(ae, {
445
+ ref_key: "uploadRef",
446
+ ref: U,
447
+ modelValue: F.value,
448
+ "onUpdate:modelValue": l[8] || (l[8] = (r) => F.value = r),
449
+ onUploadFileList: J
450
+ }, null, 8, ["modelValue"])
451
+ ], 64);
452
+ };
453
+ }
454
+ }), Ue = /* @__PURE__ */ ve(be, [["__scopeId", "data-v-b2279e8e"]]);
455
+ export {
456
+ Ue as default
457
+ };
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as be, mergeModels as ge, ref as f, useModel as Ie, reactive as H, resolveComponent as d, createElementBlock as k, openBlock as w, Fragment as $, createVNode as l, withCtx as o, createElementVNode as u, unref as r, renderList as K, createBlock as q, toDisplayString as W, createCommentVNode as he, createTextVNode as O } from "vue";
2
2
  import "element-plus";
3
3
  import { useI18n as we } from "vue-i18n";
4
- import { p as Ee } from "./index-PafaMNgK.mjs";
5
- import { c as Ve, C as v, d as _e, e as Ne, D as E, a as J, f as R, b as Fe } from "./index-Cgbv4Ijf.mjs";
6
- import { E as Ue } from "./el-message-DawVzOVQ.mjs";
4
+ import { p as Ee } from "./index-CvX2It1o.mjs";
5
+ import { c as Ve, C as v, d as _e, e as Ne, D as E, a as J, f as R, b as Fe } from "./index-D7TvdZ0W.mjs";
6
+ import { E as Ue } from "./el-message-BJAl6Gwu.mjs";
7
7
  const Re = /* @__PURE__ */ be({
8
8
  __name: "index",
9
9
  props: /* @__PURE__ */ ge({
@@ -1,11 +1,12 @@
1
- import { defineComponent as H, ref as V, reactive as W, resolveComponent as u, resolveDirective as G, createElementBlock as h, openBlock as b, createElementVNode as y, createVNode as t, createBlock as S, createCommentVNode as U, withCtx as a, withKeys as c, unref as n, createTextVNode as k, toDisplayString as d, withDirectives as J, isRef as D } from "vue";
1
+ import { defineComponent as H, ref as V, reactive as W, resolveComponent as u, resolveDirective as G, createElementBlock as h, openBlock as g, createElementVNode as y, createVNode as t, createBlock as S, createCommentVNode as D, withCtx as a, withKeys as c, unref as n, createTextVNode as k, toDisplayString as d, withDirectives as J, isRef as U } from "vue";
2
2
  import { useTableHooks as M } from "jmash-core";
3
3
  import { useI18n as X } from "vue-i18n";
4
- import { O as Y, C as Z, i as x, D as g } from "./index-Cgbv4Ijf.mjs";
5
- import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-wuHB-S6l.mjs";
4
+ import { D as w, O as Y, C as Z, i as x } from "./index-D7TvdZ0W.mjs";
5
+ import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-7L5RJMrf.mjs";
6
6
  const le = { class: "app-container" }, te = { class: "search-container" }, ae = ["onClick"], me = /* @__PURE__ */ H({
7
7
  __name: "index",
8
8
  setup(oe) {
9
+ w.orgIdBizDict.useValues();
9
10
  const C = new Y({
10
11
  orgType: Z.orgType.outsource
11
12
  });
@@ -16,7 +17,7 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
16
17
  queryFormRef: R,
17
18
  listLoading: T,
18
19
  tableData: j,
19
- total: w
20
+ total: f
20
21
  } = M(N, x, r);
21
22
  let v = V([
22
23
  {
@@ -103,8 +104,8 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
103
104
  s.handleSort(o.prop, o.order);
104
105
  }
105
106
  return s.getList(), (o, e) => {
106
- const f = u("el-input"), p = u("el-form-item"), i = u("el-col"), $ = u("jmash-select"), F = u("el-button"), A = u("el-row"), P = u("el-form"), Q = u("jmash-column-select"), B = u("jmash-table"), I = u("jmash-pagination"), L = u("el-card"), E = G("hasPerm");
107
- return b(), h("div", le, [
107
+ const b = u("el-input"), p = u("el-form-item"), i = u("el-col"), $ = u("jmash-select"), F = u("el-button"), A = u("el-row"), P = u("el-form"), Q = u("jmash-column-select"), B = u("jmash-table"), I = u("jmash-pagination"), L = u("el-card"), E = G("hasPerm");
108
+ return g(), h("div", le, [
108
109
  y("div", te, [
109
110
  t(P, {
110
111
  ref_key: "queryFormRef",
@@ -122,7 +123,7 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
122
123
  prop: "likeContractName"
123
124
  }, {
124
125
  default: a(() => [
125
- t(f, {
126
+ t(b, {
126
127
  modelValue: r.value.likeContractName,
127
128
  "onUpdate:modelValue": e[0] || (e[0] = (l) => r.value.likeContractName = l),
128
129
  placeholder: o.$t("itsmFlowAcceptance.contractNameRequired"),
@@ -142,7 +143,7 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
142
143
  prop: "likeContractNo"
143
144
  }, {
144
145
  default: a(() => [
145
- t(f, {
146
+ t(b, {
146
147
  modelValue: r.value.likeContractNo,
147
148
  "onUpdate:modelValue": e[2] || (e[2] = (l) => r.value.likeContractNo = l),
148
149
  placeholder: o.$t("itsmFlowAcceptance.contractNoRequired"),
@@ -162,7 +163,7 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
162
163
  prop: "acceptanceNo"
163
164
  }, {
164
165
  default: a(() => [
165
- t(f, {
166
+ t(b, {
166
167
  modelValue: r.value.acceptanceNo,
167
168
  "onUpdate:modelValue": e[4] || (e[4] = (l) => r.value.acceptanceNo = l),
168
169
  placeholder: o.$t("itsmFlowAcceptance.acceptanceNoRequired"),
@@ -182,7 +183,7 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
182
183
  prop: "likeUserName"
183
184
  }, {
184
185
  default: a(() => [
185
- t(f, {
186
+ t(b, {
186
187
  modelValue: r.value.likeUserName,
187
188
  "onUpdate:modelValue": e[6] || (e[6] = (l) => r.value.likeUserName = l),
188
189
  placeholder: o.$t("itsmFlowAcceptance.userNameRequired"),
@@ -229,7 +230,7 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
229
230
  modelValue: r.value.applyStatus,
230
231
  "onUpdate:modelValue": e[10] || (e[10] = (l) => r.value.applyStatus = l),
231
232
  placeholder: o.$t("itsmFlowAcceptance.applyStatusRequired"),
232
- data: n(g).applyStatusEnum.values,
233
+ data: n(w).applyStatusEnum.values,
233
234
  onKeyup: e[11] || (e[11] = c((l) => n(s).handleQuery(), ["enter"]))
234
235
  }, null, 8, ["modelValue", "placeholder", "data"])
235
236
  ]),
@@ -287,7 +288,7 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
287
288
  default: a(() => [
288
289
  t(Q, {
289
290
  modelValue: n(v),
290
- "onUpdate:modelValue": e[14] || (e[14] = (l) => D(v) ? v.value = l : v = l),
291
+ "onUpdate:modelValue": e[14] || (e[14] = (l) => U(v) ? v.value = l : v = l),
291
292
  "label-name": "itsm-flow-acceptance"
292
293
  }, null, 8, ["modelValue"])
293
294
  ]),
@@ -298,16 +299,16 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
298
299
  })
299
300
  ]),
300
301
  footer: a(() => [
301
- n(w) > 0 ? (b(), S(I, {
302
+ n(f) > 0 ? (g(), S(I, {
302
303
  key: 0,
303
- total: n(w),
304
- "onUpdate:total": e[15] || (e[15] = (l) => D(w) ? w.value = l : null),
304
+ total: n(f),
305
+ "onUpdate:total": e[15] || (e[15] = (l) => U(f) ? f.value = l : null),
305
306
  "current-page": r.value.curPage,
306
307
  "onUpdate:currentPage": e[16] || (e[16] = (l) => r.value.curPage = l),
307
308
  "page-size": r.value.pageSize,
308
309
  "onUpdate:pageSize": e[17] || (e[17] = (l) => r.value.pageSize = l),
309
310
  onPagination: e[18] || (e[18] = (l) => n(s).getList())
310
- }, null, 8, ["total", "current-page", "page-size"])) : U("", !0)
311
+ }, null, 8, ["total", "current-page", "page-size"])) : D("", !0)
311
312
  ]),
312
313
  default: a(() => [
313
314
  t(B, {
@@ -321,16 +322,16 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
321
322
  onSortChange: K
322
323
  }, {
323
324
  entrustName: a((l) => [
324
- y("span", null, d(n(g).projectNameDict.getDictValue(l.data.row.entrustName)), 1)
325
+ y("span", null, d(n(w).projectNameDict.getDictValue(l.data.row.entrustName)), 1)
325
326
  ]),
326
327
  serviceOrg: a((l) => [
327
- y("span", null, d(n(g).orgIdBizDict.getValue(l.data.row.serviceOrg)), 1)
328
+ y("span", null, d(n(w).orgIdBizDict.getValue(l.data.row.serviceOrg)), 1)
328
329
  ]),
329
330
  result: a((l) => [
330
- y("span", null, d(n(g).isValuesDict.getValue(l.data.row.result)), 1)
331
+ y("span", null, d(n(w).isValuesDict.getValue(l.data.row.result)), 1)
331
332
  ]),
332
333
  operation: a((l) => [
333
- J((b(), h("span", {
334
+ J((g(), h("span", {
334
335
  class: "el-button-color",
335
336
  onClick: (ne) => q(l.data.row)
336
337
  }, [
@@ -344,14 +345,14 @@ const le = { class: "app-container" }, te = { class: "search-container" }, ae =
344
345
  ]),
345
346
  _: 1
346
347
  }),
347
- m.value.visible ? (b(), S(ee, {
348
+ m.value.visible ? (g(), S(ee, {
348
349
  key: 0,
349
350
  modelValue: m.value.visible,
350
351
  "onUpdate:modelValue": e[19] || (e[19] = (l) => m.value.visible = l),
351
352
  title: m.value.title,
352
353
  "entity-key": n(_),
353
354
  width: "900px"
354
- }, null, 8, ["modelValue", "title", "entity-key"])) : U("", !0)
355
+ }, null, 8, ["modelValue", "title", "entity-key"])) : D("", !0)
355
356
  ]);
356
357
  };
357
358
  }
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as M, ref as k, reactive as R, resolveComponent as s, resolveDirective as W, createElementBlock as V, openBlock as p, createElementVNode as _, createVNode as o, createBlock as A, createCommentVNode as S, withCtx as l, withKeys as F, unref as n, createTextVNode as f, toDisplayString as u, withDirectives as $, isRef as T } from "vue";
2
2
  import { useTableHooks as X } from "jmash-core";
3
3
  import { useI18n as Y } from "vue-i18n";
4
- import { D as N, C as Z, i as x } from "./index-Cgbv4Ijf.mjs";
5
- import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-m73-ejk7.mjs";
4
+ import { D as N, C as Z, i as x } from "./index-D7TvdZ0W.mjs";
5
+ import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-BHgx58mh.mjs";
6
6
  const te = { class: "app-container" }, le = { class: "search-container" }, oe = ["onClick"], ae = ["onClick"], me = /* @__PURE__ */ M({
7
7
  __name: "index",
8
8
  setup(ne) {
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as le, mergeModels as oe, ref as f, useModel as ne, resolveComponent as p, createElementBlock as k, openBlock as _, Fragment as j, createVNode as e, withCtx as t, createElementVNode as n, createTextVNode as r, toDisplayString as s, unref as b, createCommentVNode as g, withDirectives as L, vShow as q, createBlock as z, renderList as ae } from "vue";
2
2
  import "element-plus";
3
- import { u as se } from "./index-PafaMNgK.mjs";
4
- import { D as y, a as h, C as $, b as ue } from "./index-Cgbv4Ijf.mjs";
3
+ import { u as se } from "./index-CvX2It1o.mjs";
4
+ import { D as y, a as h, C as $, b as ue } from "./index-D7TvdZ0W.mjs";
5
5
  import "jmash-core";
6
6
  import { useI18n as re } from "vue-i18n";
7
- import { F as ie } from "./FileSaver.min-5d27MsC6.mjs";
8
- import { E as A } from "./el-message-DawVzOVQ.mjs";
7
+ import { F as ie } from "./FileSaver.min-X2_RihtX.mjs";
8
+ import { E as A } from "./el-message-BJAl6Gwu.mjs";
9
9
  const de = { key: 0 }, ce = { key: 1 }, pe = {
10
10
  key: 2,
11
11
  class: "distance-left"