xyvcard-itsm-flow 0.0.13 → 0.0.15

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.
@@ -1,13 +1,13 @@
1
- import { defineComponent as Y, mergeModels as Z, ref as m, useModel as ee, resolveComponent as d, createElementBlock as A, openBlock as b, Fragment as O, createVNode as e, withCtx as l, createElementVNode as n, createTextVNode as u, toDisplayString as r, unref as f, createBlock as $, createCommentVNode as h, renderList as le } from "vue";
1
+ import { defineComponent as Z, mergeModels as ee, ref as m, useModel as le, resolveComponent as d, createElementBlock as A, openBlock as k, Fragment as O, createVNode as e, withCtx as l, createElementVNode as s, createTextVNode as u, toDisplayString as i, unref as b, createBlock as $, createCommentVNode as V, renderList as te } from "vue";
2
2
  import "element-plus";
3
- import { D as k, i as V, C as w, u as ae, a as te } from "./index-CMpeLVvR.mjs";
4
- import { handlePreview as oe } from "jmash-core";
5
- import { useI18n as ne } from "vue-i18n";
6
- import { F as se } from "./FileSaver.min-5d27MsC6.mjs";
7
- import { E as S } from "./el-message-DweX1k3E.mjs";
8
- const _e = /* @__PURE__ */ Y({
3
+ import { D as F, i as I, C as y, u as ae, a as oe } from "./index-CMpeLVvR.mjs";
4
+ import { fileApi as ne } from "jmash-core";
5
+ import { useI18n as se } from "vue-i18n";
6
+ import { F as ue } from "./FileSaver.min-5d27MsC6.mjs";
7
+ import { E as j } from "./el-message-DweX1k3E.mjs";
8
+ const ve = /* @__PURE__ */ Z({
9
9
  __name: "index",
10
- props: /* @__PURE__ */ Z({
10
+ props: /* @__PURE__ */ ee({
11
11
  task: {
12
12
  type: Object,
13
13
  default: () => {
@@ -18,99 +18,107 @@ const _e = /* @__PURE__ */ Y({
18
18
  modelModifiers: {}
19
19
  }),
20
20
  emits: ["update:modelValue"],
21
- setup(I, { expose: j }) {
22
- const { t: y } = ne(), K = () => {
23
- V.exportFilePdf({ acceptanceId: D.value.acceptanceId }).then((a) => {
24
- const o = new Blob([a.data], {
21
+ setup(E, { expose: B }) {
22
+ const { t: N } = se();
23
+ async function P(t) {
24
+ try {
25
+ const a = ne.fileUrl(t.filePath), n = await (await fetch(a)).blob(), r = window.URL.createObjectURL(n), v = document.createElement("a");
26
+ v.href = r, v.download = t.fileName || "download", document.body.appendChild(v), v.click();
27
+ } catch {
28
+ }
29
+ }
30
+ const S = () => {
31
+ I.exportFilePdf({ acceptanceId: D.value.acceptanceId }).then((t) => {
32
+ const a = new Blob([t.data], {
25
33
  type: "application/octet-stream"
26
34
  });
27
- se.saveAs(o, y("itsmFlowAcceptance.name") + ".pdf");
35
+ ue.saveAs(a, N("itsmFlowAcceptance.name") + ".pdf");
28
36
  });
29
37
  };
30
- k.orgIdBizDict.useValues();
31
- const _ = I, D = m({
32
- acceptanceId: _.task.businessKey
33
- }), c = m({}), v = ee(I, "modelValue"), E = m(), P = m({}), N = m(!1), M = m(), p = m([]), B = m();
34
- function q() {
35
- N.value = !0, M.value.clearFileList();
38
+ F.orgIdBizDict.useValues();
39
+ const f = E, D = m({
40
+ acceptanceId: f.task.businessKey
41
+ }), c = m({}), _ = le(E, "modelValue"), L = m(), K = m({}), h = m(!1), M = m(), p = m([]), U = m();
42
+ function R() {
43
+ h.value = !0, M.value.clearFileList();
36
44
  }
37
- function U(a) {
38
- p == null || p.value.splice(a, 1);
45
+ function q(t) {
46
+ p == null || p.value.splice(t, 1);
39
47
  }
40
- function z(a) {
41
- const o = {
42
- fileName: a.name,
43
- fileId: a.response.fileId
48
+ function z(t) {
49
+ const a = {
50
+ fileName: t.name,
51
+ fileId: t.response.fileId
44
52
  };
45
- p == null || p.value.push(o), p.value = [...new Set(p.value)], B.value = {
53
+ p == null || p.value.push(a), p.value = [...new Set(p.value)], U.value = {
46
54
  requestId: Math.random() * 10 + "",
47
- taskId: _.task.id,
48
- name: a.name,
49
- type: a.response.contentType,
50
- url: a.response.fileSrc
51
- }, R();
55
+ taskId: f.task.id,
56
+ name: t.name,
57
+ type: t.response.contentType,
58
+ url: t.response.fileSrc
59
+ }, T();
52
60
  }
53
- function R() {
54
- te.uploadFile(B.value).then(() => {
55
- S.success(y("common.uploadSuccess"));
61
+ function T() {
62
+ oe.uploadFile(U.value).then(() => {
63
+ j.success(N("common.uploadSuccess"));
56
64
  }).catch(() => {
57
- S.error(y("common.uploadError"));
65
+ j.error(N("common.uploadError"));
58
66
  });
59
67
  }
60
- function T() {
61
- V.findFilesList({ actionId: _.task.businessKey }).then(({ data: a }) => {
62
- a.results.forEach((o) => {
63
- o.filePath = o.fileSrc;
64
- }), c.value.files = a.results;
68
+ function W() {
69
+ I.findFilesList({ actionId: f.task.businessKey }).then(({ data: t }) => {
70
+ t.results.forEach((a) => {
71
+ a.filePath = a.fileSrc;
72
+ }), c.value.files = t.results;
65
73
  });
66
74
  }
67
- _.task.businessKey && W(), j({
68
- changeModel: () => x()
75
+ f.task.businessKey && x(), B({
76
+ changeModel: () => G()
69
77
  });
70
- function W() {
71
- V.findById({ acceptanceId: D.value.acceptanceId }).then(({ data: a }) => {
72
- c.value = Object.assign(c.value, a);
73
- }), T();
74
- }
75
78
  function x() {
76
- return v.value && (v.value.selectActions = [
79
+ I.findById({ acceptanceId: D.value.acceptanceId }).then(({ data: t }) => {
80
+ c.value = Object.assign(c.value, t);
81
+ }), W();
82
+ }
83
+ function G() {
84
+ return _.value && (_.value.selectActions = [
77
85
  { key: "true", value: "同意" },
78
86
  { key: "false", value: "不同意" }
79
- ], v.value.varName = "approved", v.value.module = "", v.value.module = w.MODULE_ITSMFLOW), new Promise((a, o) => {
80
- var t;
81
- (t = E.value) == null || t.validate((s) => {
82
- s ? (v.value && (v.value.comment = ""), a(!0)) : o(!1);
87
+ ], _.value.varName = "approved", _.value.module = "", _.value.module = y.MODULE_ITSMFLOW), new Promise((t, a) => {
88
+ var o;
89
+ (o = L.value) == null || o.validate((n) => {
90
+ n ? (_.value && (_.value.comment = ""), t(!0)) : a(!1);
83
91
  });
84
92
  });
85
93
  }
86
- return (a, o) => {
87
- const t = d("el-col"), s = d("el-form-item"), i = d("el-row"), L = d("el-table-column"), g = d("el-button"), G = d("el-table"), H = d("CircleClose"), J = d("el-icon"), Q = d("el-form"), X = d("jmash-multi-upload");
88
- return b(), A(O, null, [
89
- e(t, { span: 24 }, {
90
- default: l(() => o[1] || (o[1] = [
91
- n("div", { class: "title" }, "山西云时代技术有限公司大数据中心分公司项目验收书", -1)
94
+ return (t, a) => {
95
+ const o = d("el-col"), n = d("el-form-item"), r = d("el-row"), v = d("el-table-column"), C = d("el-button"), H = d("el-table"), J = d("CircleClose"), Q = d("el-icon"), X = d("el-form"), Y = d("jmash-multi-upload");
96
+ return k(), A(O, null, [
97
+ e(o, { span: 24 }, {
98
+ default: l(() => a[1] || (a[1] = [
99
+ s("div", { class: "title" }, "山西云时代技术有限公司大数据中心分公司项目验收书", -1)
92
100
  ])),
93
101
  _: 1,
94
102
  __: [1]
95
103
  }),
96
- e(Q, {
104
+ e(X, {
97
105
  ref_key: "taskFormRef",
98
- ref: E,
99
- model: P.value,
106
+ ref: L,
107
+ model: K.value,
100
108
  "label-width": "150px",
101
109
  class: "custom-table-form"
102
110
  }, {
103
111
  default: l(() => [
104
- e(i, null, {
112
+ e(r, null, {
105
113
  default: l(() => [
106
- e(t, { span: 24 }, {
114
+ e(o, { span: 24 }, {
107
115
  default: l(() => [
108
- e(s, {
109
- label: a.$t("itsmFlowAcceptance.contractName"),
116
+ e(n, {
117
+ label: t.$t("itsmFlowAcceptance.contractName"),
110
118
  prop: "contractName"
111
119
  }, {
112
120
  default: l(() => [
113
- u(r(c.value.contractName), 1)
121
+ u(i(c.value.contractName), 1)
114
122
  ]),
115
123
  _: 1
116
124
  }, 8, ["label"])
@@ -120,16 +128,16 @@ const _e = /* @__PURE__ */ Y({
120
128
  ]),
121
129
  _: 1
122
130
  }),
123
- e(i, null, {
131
+ e(r, null, {
124
132
  default: l(() => [
125
- e(t, { span: 24 }, {
133
+ e(o, { span: 24 }, {
126
134
  default: l(() => [
127
- e(s, {
128
- label: a.$t("itsmFlowAcceptance.contractNo"),
135
+ e(n, {
136
+ label: t.$t("itsmFlowAcceptance.contractNo"),
129
137
  prop: "contractNo"
130
138
  }, {
131
139
  default: l(() => [
132
- u(r(c.value.contractNo), 1)
140
+ u(i(c.value.contractNo), 1)
133
141
  ]),
134
142
  _: 1
135
143
  }, 8, ["label"])
@@ -139,16 +147,16 @@ const _e = /* @__PURE__ */ Y({
139
147
  ]),
140
148
  _: 1
141
149
  }),
142
- e(i, null, {
150
+ e(r, null, {
143
151
  default: l(() => [
144
- e(t, { span: 24 }, {
152
+ e(o, { span: 24 }, {
145
153
  default: l(() => [
146
- e(s, {
147
- label: a.$t("itsmFlowAcceptance.orderId"),
154
+ e(n, {
155
+ label: t.$t("itsmFlowAcceptance.orderId"),
148
156
  prop: "orderNo"
149
157
  }, {
150
158
  default: l(() => [
151
- u(r(c.value.orderNo), 1)
159
+ u(i(c.value.orderNo), 1)
152
160
  ]),
153
161
  _: 1
154
162
  }, 8, ["label"])
@@ -158,16 +166,16 @@ const _e = /* @__PURE__ */ Y({
158
166
  ]),
159
167
  _: 1
160
168
  }),
161
- e(i, null, {
169
+ e(r, null, {
162
170
  default: l(() => [
163
- e(t, { span: 24 }, {
171
+ e(o, { span: 24 }, {
164
172
  default: l(() => [
165
- e(s, {
166
- label: a.$t("itsmFlowAcceptance.entrustName"),
173
+ e(n, {
174
+ label: t.$t("itsmFlowAcceptance.entrustName"),
167
175
  prop: "entrustName"
168
176
  }, {
169
177
  default: l(() => [
170
- u(r(f(k).projectNameDict.getDictValue(c.value.entrustName)), 1)
178
+ u(i(b(F).projectNameDict.getDictValue(c.value.entrustName)), 1)
171
179
  ]),
172
180
  _: 1
173
181
  }, 8, ["label"])
@@ -177,58 +185,58 @@ const _e = /* @__PURE__ */ Y({
177
185
  ]),
178
186
  _: 1
179
187
  }),
180
- e(i, null, {
188
+ e(r, null, {
181
189
  default: l(() => [
182
- e(t, { span: 12 }, {
190
+ e(o, { span: 12 }, {
183
191
  default: l(() => [
184
- e(s, {
185
- label: a.$t("itsmFlowAcceptance.serviceOrg"),
192
+ e(n, {
193
+ label: t.$t("itsmFlowAcceptance.serviceOrg"),
186
194
  prop: "serviceOrg"
187
195
  }, {
188
196
  default: l(() => [
189
- u(r(f(k).orgIdBizDict.getValue(c.value.serviceOrg)), 1)
197
+ u(i(b(F).orgIdBizDict.getValue(c.value.serviceOrg)), 1)
190
198
  ]),
191
199
  _: 1
192
200
  }, 8, ["label"])
193
201
  ]),
194
202
  _: 1
195
203
  }),
196
- e(t, { span: 12 }, {
204
+ e(o, { span: 12 }, {
197
205
  default: l(() => [
198
- e(s, {
199
- label: a.$t("itsmFlowAcceptance.stage"),
206
+ e(n, {
207
+ label: t.$t("itsmFlowAcceptance.stage"),
200
208
  prop: "stage"
201
209
  }, {
202
210
  default: l(() => [
203
- u(r(c.value.stage), 1)
211
+ u(i(c.value.stage), 1)
204
212
  ]),
205
213
  _: 1
206
214
  }, 8, ["label"])
207
215
  ]),
208
216
  _: 1
209
217
  }),
210
- e(t, { span: 12 }, {
218
+ e(o, { span: 12 }, {
211
219
  default: l(() => [
212
- e(s, {
213
- label: a.$t("itsmFlowAcceptance.headman"),
220
+ e(n, {
221
+ label: t.$t("itsmFlowAcceptance.headman"),
214
222
  prop: "headmanName"
215
223
  }, {
216
224
  default: l(() => [
217
- u(r(c.value.headmanName), 1)
225
+ u(i(c.value.headmanName), 1)
218
226
  ]),
219
227
  _: 1
220
228
  }, 8, ["label"])
221
229
  ]),
222
230
  _: 1
223
231
  }),
224
- e(t, { span: 12 }, {
232
+ e(o, { span: 12 }, {
225
233
  default: l(() => [
226
- e(s, {
227
- label: a.$t("itsmFlowAcceptance.members"),
234
+ e(n, {
235
+ label: t.$t("itsmFlowAcceptance.members"),
228
236
  prop: "membersName"
229
237
  }, {
230
238
  default: l(() => [
231
- u(r(c.value.membersName), 1)
239
+ u(i(c.value.membersName), 1)
232
240
  ]),
233
241
  _: 1
234
242
  }, 8, ["label"])
@@ -238,37 +246,37 @@ const _e = /* @__PURE__ */ Y({
238
246
  ]),
239
247
  _: 1
240
248
  }),
241
- e(i, null, {
249
+ e(r, null, {
242
250
  default: l(() => [
243
- e(t, { span: 24 }, {
251
+ e(o, { span: 24 }, {
244
252
  default: l(() => [
245
- e(s, {
246
- label: a.$t("itsmFlowAcceptance.files"),
253
+ e(n, {
254
+ label: t.$t("itsmFlowAcceptance.files"),
247
255
  prop: "files"
248
256
  }, {
249
257
  default: l(() => [
250
- e(G, {
258
+ e(H, {
251
259
  data: c.value.files,
252
260
  border: ""
253
261
  }, {
254
262
  default: l(() => [
255
- e(L, {
263
+ e(v, {
256
264
  prop: "fileName",
257
265
  label: "附件名称"
258
266
  }),
259
- e(L, {
267
+ e(v, {
260
268
  prop: "",
261
269
  label: "操作",
262
270
  width: "100"
263
271
  }, {
264
- default: l((F) => [
265
- e(g, {
272
+ default: l((w) => [
273
+ e(C, {
266
274
  type: "primary",
267
275
  link: "",
268
276
  size: "small",
269
- onClick: (C) => f(oe)(F.row)
277
+ onClick: (g) => P(w.row)
270
278
  }, {
271
- default: l(() => o[2] || (o[2] = [
279
+ default: l(() => a[2] || (a[2] = [
272
280
  u(" 查看 ")
273
281
  ])),
274
282
  _: 2,
@@ -289,16 +297,16 @@ const _e = /* @__PURE__ */ Y({
289
297
  ]),
290
298
  _: 1
291
299
  }),
292
- e(i, null, {
300
+ e(r, null, {
293
301
  default: l(() => [
294
- e(t, { span: 24 }, {
302
+ e(o, { span: 24 }, {
295
303
  default: l(() => [
296
- e(s, {
297
- label: a.$t("itsmFlowAcceptance.serviceContent"),
304
+ e(n, {
305
+ label: t.$t("itsmFlowAcceptance.serviceContent"),
298
306
  prop: "serviceContent"
299
307
  }, {
300
308
  default: l(() => [
301
- u(r(c.value.serviceContent), 1)
309
+ u(i(c.value.serviceContent), 1)
302
310
  ]),
303
311
  _: 1
304
312
  }, 8, ["label"])
@@ -308,38 +316,38 @@ const _e = /* @__PURE__ */ Y({
308
316
  ]),
309
317
  _: 1
310
318
  }),
311
- e(i, null, {
319
+ e(r, null, {
312
320
  default: l(() => [
313
- _.task.taskDefinitionKey !== f(w).node.sign ? (b(), $(t, {
321
+ f.task.taskDefinitionKey !== b(y).node.sign ? (k(), $(o, {
314
322
  key: 0,
315
323
  span: 24
316
324
  }, {
317
325
  default: l(() => [
318
- e(s, {
319
- label: a.$t("itsmFlowAcceptance.result"),
326
+ e(n, {
327
+ label: t.$t("itsmFlowAcceptance.result"),
320
328
  prop: "result"
321
329
  }, {
322
330
  default: l(() => [
323
- u(r(f(k).isValuesDict.getValue(c.value.result)), 1)
331
+ u(i(b(F).isValuesDict.getValue(c.value.result)), 1)
324
332
  ]),
325
333
  _: 1
326
334
  }, 8, ["label"])
327
335
  ]),
328
336
  _: 1
329
- })) : h("", !0)
337
+ })) : V("", !0)
330
338
  ]),
331
339
  _: 1
332
340
  }),
333
- e(i, null, {
341
+ e(r, null, {
334
342
  default: l(() => [
335
- e(t, { span: 24 }, {
343
+ e(o, { span: 24 }, {
336
344
  default: l(() => [
337
- e(s, {
338
- label: a.$t("itsmFlowAcceptance.acceptanceNo"),
345
+ e(n, {
346
+ label: t.$t("itsmFlowAcceptance.acceptanceNo"),
339
347
  prop: "acceptanceNo"
340
348
  }, {
341
349
  default: l(() => [
342
- u(r(c.value.acceptanceNo), 1)
350
+ u(i(c.value.acceptanceNo), 1)
343
351
  ]),
344
352
  _: 1
345
353
  }, 8, ["label"])
@@ -349,16 +357,16 @@ const _e = /* @__PURE__ */ Y({
349
357
  ]),
350
358
  _: 1
351
359
  }),
352
- e(i, null, {
360
+ e(r, null, {
353
361
  default: l(() => [
354
- e(t, { span: 24 }, {
362
+ e(o, { span: 24 }, {
355
363
  default: l(() => [
356
- e(s, {
357
- label: a.$t("itsmFlowAcceptance.evaluate"),
364
+ e(n, {
365
+ label: t.$t("itsmFlowAcceptance.evaluate"),
358
366
  prop: "evaluate"
359
367
  }, {
360
368
  default: l(() => [
361
- u(r(c.value.evaluate), 1)
369
+ u(i(c.value.evaluate), 1)
362
370
  ]),
363
371
  _: 1
364
372
  }, 8, ["label"])
@@ -368,43 +376,43 @@ const _e = /* @__PURE__ */ Y({
368
376
  ]),
369
377
  _: 1
370
378
  }),
371
- e(i, { class: "bordered-row" }, {
379
+ e(r, { class: "bordered-row" }, {
372
380
  default: l(() => [
373
- e(t, { span: 12 }, {
374
- default: l(() => o[3] || (o[3] = [
375
- n("div", { class: "content-box" }, [
376
- n("div", { class: "content-box-top" }, [
377
- n("div", null, "甲方单位(盖章)"),
378
- n("div", null, "负责人(签字):"),
379
- n("div", null, "或授权代理人(签字):")
381
+ e(o, { span: 12 }, {
382
+ default: l(() => a[3] || (a[3] = [
383
+ s("div", { class: "content-box" }, [
384
+ s("div", { class: "content-box-top" }, [
385
+ s("div", null, "甲方单位(盖章)"),
386
+ s("div", null, "负责人(签字):"),
387
+ s("div", null, "或授权代理人(签字):")
380
388
  ]),
381
- n("div", { class: "content-box-bottom" }, [
389
+ s("div", { class: "content-box-bottom" }, [
382
390
  u(" 日期: "),
383
- n("span", null, "年"),
384
- n("span", null, "月"),
385
- n("span", null, "日")
391
+ s("span", null, "年"),
392
+ s("span", null, "月"),
393
+ s("span", null, "日")
386
394
  ])
387
395
  ], -1)
388
396
  ])),
389
397
  _: 1,
390
398
  __: [3]
391
399
  }),
392
- e(t, {
400
+ e(o, {
393
401
  span: 12,
394
402
  class: "with-divider"
395
403
  }, {
396
- default: l(() => o[4] || (o[4] = [
397
- n("div", { class: "content-box" }, [
398
- n("div", { class: "content-box-top" }, [
399
- n("div", null, "服务人员所属单位(盖章)"),
400
- n("div", null, "法定代表人(签字):"),
401
- n("div", null, "或授权代理人(签字):")
404
+ default: l(() => a[4] || (a[4] = [
405
+ s("div", { class: "content-box" }, [
406
+ s("div", { class: "content-box-top" }, [
407
+ s("div", null, "服务人员所属单位(盖章)"),
408
+ s("div", null, "法定代表人(签字):"),
409
+ s("div", null, "或授权代理人(签字):")
402
410
  ]),
403
- n("div", { class: "content-box-bottom" }, [
411
+ s("div", { class: "content-box-bottom" }, [
404
412
  u(" 日期: "),
405
- n("span", null, "年"),
406
- n("span", null, "月"),
407
- n("span", null, "日")
413
+ s("span", null, "年"),
414
+ s("span", null, "月"),
415
+ s("span", null, "日")
408
416
  ])
409
417
  ], -1)
410
418
  ])),
@@ -414,44 +422,44 @@ const _e = /* @__PURE__ */ Y({
414
422
  ]),
415
423
  _: 1
416
424
  }),
417
- e(i, null, {
425
+ e(r, null, {
418
426
  default: l(() => [
419
- _.task.taskDefinitionKey === f(w).node.upload ? (b(), $(t, {
427
+ f.task.taskDefinitionKey === b(y).node.upload ? (k(), $(o, {
420
428
  key: 0,
421
429
  span: 12
422
430
  }, {
423
431
  default: l(() => [
424
- e(s, {
425
- label: a.$t("itsmFlowEntrust.scannedCopy")
432
+ e(n, {
433
+ label: t.$t("itsmFlowEntrust.scannedCopy")
426
434
  }, {
427
435
  default: l(() => [
428
- e(g, {
436
+ e(C, {
429
437
  type: "primary",
430
- icon: f(ae),
431
- onClick: q
438
+ icon: b(ae),
439
+ onClick: R
432
440
  }, {
433
441
  default: l(() => [
434
- u(r(a.$t("common.uploadFiles")), 1)
442
+ u(i(t.$t("common.uploadFiles")), 1)
435
443
  ]),
436
444
  _: 1
437
445
  }, 8, ["icon"])
438
446
  ]),
439
447
  _: 1
440
448
  }, 8, ["label"]),
441
- e(s, null, {
449
+ e(n, null, {
442
450
  default: l(() => [
443
- (b(!0), A(O, null, le(p.value, (F, C) => (b(), A("div", {
444
- key: C,
451
+ (k(!0), A(O, null, te(p.value, (w, g) => (k(), A("div", {
452
+ key: g,
445
453
  class: "files-list"
446
454
  }, [
447
- u(r(F.fileName) + " ", 1),
448
- e(J, {
455
+ u(i(w.fileName) + " ", 1),
456
+ e(Q, {
449
457
  size: "16",
450
458
  class: "icon-right",
451
- onClick: (ue) => U(C)
459
+ onClick: (ce) => q(g)
452
460
  }, {
453
461
  default: l(() => [
454
- e(H)
462
+ e(J)
455
463
  ]),
456
464
  _: 2
457
465
  }, 1032, ["onClick"])
@@ -461,23 +469,23 @@ const _e = /* @__PURE__ */ Y({
461
469
  })
462
470
  ]),
463
471
  _: 1
464
- })) : h("", !0),
465
- _.task.taskDefinitionKey === f(w).node.upload ? (b(), $(t, {
472
+ })) : V("", !0),
473
+ f.task.taskDefinitionKey === b(y).node.upload ? (k(), $(o, {
466
474
  key: 1,
467
475
  span: 12
468
476
  }, {
469
477
  default: l(() => [
470
- e(s, {
471
- label: a.$t("itsmFlowEntrust.export")
478
+ e(n, {
479
+ label: t.$t("itsmFlowEntrust.export")
472
480
  }, {
473
481
  default: l(() => [
474
- e(g, {
482
+ e(C, {
475
483
  plain: "",
476
484
  type: "primary",
477
- onClick: K
485
+ onClick: S
478
486
  }, {
479
487
  default: l(() => [
480
- u(r(a.$t("itsmFlowEntrust.export")), 1)
488
+ u(i(t.$t("itsmFlowEntrust.export")), 1)
481
489
  ]),
482
490
  _: 1
483
491
  })
@@ -486,18 +494,18 @@ const _e = /* @__PURE__ */ Y({
486
494
  }, 8, ["label"])
487
495
  ]),
488
496
  _: 1
489
- })) : h("", !0)
497
+ })) : V("", !0)
490
498
  ]),
491
499
  _: 1
492
500
  })
493
501
  ]),
494
502
  _: 1
495
503
  }, 8, ["model"]),
496
- e(X, {
504
+ e(Y, {
497
505
  ref_key: "uploadRef",
498
506
  ref: M,
499
- modelValue: N.value,
500
- "onUpdate:modelValue": o[0] || (o[0] = (F) => N.value = F),
507
+ modelValue: h.value,
508
+ "onUpdate:modelValue": a[0] || (a[0] = (w) => h.value = w),
501
509
  onUploadFileList: z
502
510
  }, null, 8, ["modelValue"])
503
511
  ], 64);
@@ -505,5 +513,5 @@ const _e = /* @__PURE__ */ Y({
505
513
  }
506
514
  });
507
515
  export {
508
- _e as default
516
+ ve as default
509
517
  };
package/dist/index.mjs CHANGED
@@ -2687,7 +2687,7 @@ const Wi = {
2687
2687
  }
2688
2688
  };
2689
2689
  }
2690
- }, Pi = /* @__PURE__ */ Object.assign({ "./views/itsm-flow-acceptance/edit.vue": () => import("./edit-Rj9Uz_7E.mjs"), "./views/itsm-flow-acceptance/index.vue": () => import("./index-D8N9GIjm.mjs"), "./views/itsm-flow-entrust/edit.vue": () => import("./edit-C5EkvsBj.mjs"), "./views/itsm-flow-entrust/index.vue": () => import("./index-tRvxeQdk.mjs"), "./views/itsm-flow-reckoning/edit.vue": () => import("./edit-CF3xSSyv.mjs"), "./views/itsm-flow-reckoning/index.vue": () => import("./index-DkosMJpy.mjs") }), Wt = () => import("./index-VuC-5Jb_.mjs"), Fi = () => import("./index-ciUtLvg7.mjs"), Pt = () => import("./index-1bFZ2FEX.mjs"), Ii = () => import("./index-CWrGwJD5.mjs"), Ft = () => import("./index-_KUj3xRY.mjs"), Ci = () => import("./index-DukVUjy5.mjs"), Ei = {
2690
+ }, Pi = /* @__PURE__ */ Object.assign({ "./views/itsm-flow-acceptance/edit.vue": () => import("./edit-Rj9Uz_7E.mjs"), "./views/itsm-flow-acceptance/index.vue": () => import("./index-D8N9GIjm.mjs"), "./views/itsm-flow-entrust/edit.vue": () => import("./edit-C5EkvsBj.mjs"), "./views/itsm-flow-entrust/index.vue": () => import("./index-tRvxeQdk.mjs"), "./views/itsm-flow-reckoning/edit.vue": () => import("./edit-CF3xSSyv.mjs"), "./views/itsm-flow-reckoning/index.vue": () => import("./index-DkosMJpy.mjs") }), Wt = () => import("./index-VuC-5Jb_.mjs"), Fi = () => import("./index-ciUtLvg7.mjs"), Pt = () => import("./index-BvRC1w8b.mjs"), Ii = () => import("./index-CWrGwJD5.mjs"), Ft = () => import("./index-_KUj3xRY.mjs"), Ci = () => import("./index-DukVUjy5.mjs"), Ei = {
2691
2691
  install(e) {
2692
2692
  Os(Pi, 7), Rs(Ts), H("TaskItsmFlowEntrust", Wt), H("TaskItsmFlowEntrustEdit", Fi), H("TaskItsmFlowEntrustView", Wt), H("TaskItsmFlowAcceptance", Pt), H(
2693
2693
  "TaskItsmFlowAcceptanceEdit",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-itsm-flow",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/index.d.ts",
@@ -25,12 +25,12 @@
25
25
  "vue": "^3.5.13",
26
26
  "vue-i18n": "^9.14.4",
27
27
  "vue-router": "^4.5.1",
28
- "jmash-core": "^0.1.0",
28
+ "jmash-core": "^0.1.4",
29
29
  "jmash-dict": "^0.1.1",
30
- "jmash-rbac": "^0.1.7",
30
+ "jmash-rbac": "^0.1.11",
31
31
  "jmash-flow": "^0.0.21",
32
- "xyvcard-workflow": "^0.0.39",
33
- "xyvcard-itsmsys": "^0.0.19",
32
+ "xyvcard-workflow": "^0.0.41",
33
+ "xyvcard-itsmsys": "^0.0.20",
34
34
  "xyvcard-itsm": "^0.0.26"
35
35
  },
36
36
  "devDependencies": {