xyvcard-itsm-flow 0.0.10 → 0.0.11

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 (37) hide show
  1. package/README.md +51 -51
  2. package/dist/{FileSaver.min-BeKvLuyk.mjs → FileSaver.min-5d27MsC6.mjs} +12 -12
  3. package/dist/{edit-BnJnxvY6.mjs → edit-B6eDlOpi.mjs} +1 -1
  4. package/dist/{edit-D8J1Znw_.mjs → edit-Cfo0JZSs.mjs} +1 -1
  5. package/dist/{edit-har-8Y54.mjs → edit-RoD8ie-7.mjs} +1 -1
  6. package/dist/{edit.vue_vue_type_script_setup_true_lang-BZ-prpPo.mjs → edit.vue_vue_type_script_setup_true_lang-IEXBlCBV.mjs} +26 -23
  7. package/dist/{edit.vue_vue_type_script_setup_true_lang-TXBAzoPS.mjs → edit.vue_vue_type_script_setup_true_lang-e_oZRaYA.mjs} +51 -47
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-QsTI3qOD.mjs → edit.vue_vue_type_script_setup_true_lang-iiu5w8LK.mjs} +222 -214
  9. package/dist/{el-message-CIdVBT5R.mjs → el-message-So7u3ZRi.mjs} +357 -366
  10. package/dist/{index-DugZK_BS.mjs → index-C7wI2ALv.mjs} +13 -13
  11. package/dist/{index-DBIF93AC.mjs → index-C96hiFIm.mjs} +22 -19
  12. package/dist/{index-Cp3csR1g.mjs → index-CC7B9YOg.mjs} +12 -12
  13. package/dist/{index-BjBTIknS.mjs → index-CMbZtOBo.mjs} +211 -203
  14. package/dist/{index-BAHlhmvh.mjs → index-CNIFtVcB.mjs} +95 -92
  15. package/dist/{index-bMREgnhp.mjs → index-CzSzBtpb.mjs} +15 -15
  16. package/dist/{index-CF0oM0UA.mjs → index-D5ZcRr4h.mjs} +26 -22
  17. package/dist/{index-DnFWLmFk.mjs → index-DWuCzfFj.mjs} +21 -18
  18. package/dist/{index-C6XFHtva.mjs → index-m-ohs_8-.mjs} +25 -22
  19. package/dist/{index-DKIrRXT5.mjs → index-nSm5Jecq.mjs} +12 -12
  20. package/dist/index.mjs +1 -1
  21. package/dist/style.css +1 -1
  22. package/dts/api/itsm-flow-entrust/types.d.ts +3 -1
  23. package/dts/api/itsm-flow-entrust-user/types.d.ts +3 -1
  24. package/dts/api/itsm-flow-reckoning/types.d.ts +1 -1
  25. package/dts/components/TaskItsmFlowAcceptance/index.vue.d.ts +2 -2
  26. package/dts/components/TaskItsmFlowAcceptanceEdit/index.vue.d.ts +2 -2
  27. package/dts/components/TaskItsmFlowEntrust/index.vue.d.ts +2 -2
  28. package/dts/components/TaskItsmFlowEntrustEdit/index.vue.d.ts +2 -2
  29. package/dts/components/TaskItsmFlowReckoning/index.vue.d.ts +2 -2
  30. package/dts/components/TaskItsmFlowReckoningEdit/index.vue.d.ts +2 -2
  31. package/dts/views/itsm-flow-acceptance/edit.vue.d.ts +2 -2
  32. package/dts/views/itsm-flow-acceptance/index.vue.d.ts +1 -1
  33. package/dts/views/itsm-flow-entrust/edit.vue.d.ts +2 -2
  34. package/dts/views/itsm-flow-entrust/index.vue.d.ts +1 -1
  35. package/dts/views/itsm-flow-reckoning/edit.vue.d.ts +2 -2
  36. package/dts/views/itsm-flow-reckoning/index.vue.d.ts +1 -1
  37. package/package.json +63 -63
@@ -1,10 +1,10 @@
1
- import { defineComponent as te, mergeModels as le, ref as f, useModel as oe, resolveComponent as p, openBlock as v, createElementBlock as w, Fragment as S, createVNode as e, withCtx as t, createElementVNode as n, createTextVNode as u, toDisplayString as r, unref as E, withDirectives as j, vShow as L, createCommentVNode as N, createBlock as q, renderList as ne } from "vue";
1
+ import { defineComponent as te, mergeModels as le, ref as f, useModel as ne, resolveComponent as p, createElementBlock as w, openBlock as _, Fragment as M, createVNode as e, withCtx as t, createElementVNode as o, createTextVNode as r, toDisplayString as s, unref as E, createCommentVNode as g, withDirectives as j, vShow as L, createBlock as q, renderList as oe } from "vue";
2
2
  import "element-plus";
3
- import { D as y, a as h, C as ae, u as se, e as ue } from "./index-DugZK_BS.mjs";
3
+ import { D as k, a as h, C as ae, u as se, e as ue } from "./index-C7wI2ALv.mjs";
4
4
  import "jmash-core";
5
5
  import { useI18n as re } from "vue-i18n";
6
- import { F as ie } from "./FileSaver.min-BeKvLuyk.mjs";
7
- import { E as z } from "./el-message-CIdVBT5R.mjs";
6
+ import { F as ie } from "./FileSaver.min-5d27MsC6.mjs";
7
+ import { E as z } from "./el-message-So7u3ZRi.mjs";
8
8
  const de = { key: 0 }, ce = { key: 1 }, pe = {
9
9
  key: 2,
10
10
  class: "distance-left"
@@ -22,32 +22,32 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
22
22
  }),
23
23
  emits: ["update:modelValue"],
24
24
  setup($, { expose: A }) {
25
- const { t: g } = re(), K = () => {
25
+ const { t: C } = re(), K = () => {
26
26
  h.exportFilePdf({ entrustId: F.value.entrustId }).then((l) => {
27
- const s = new Blob([l.data], {
27
+ const u = new Blob([l.data], {
28
28
  type: "application/octet-stream"
29
29
  });
30
- ie.saveAs(s, g("itsmFlowEntrust.name") + ".pdf");
30
+ ie.saveAs(u, C("itsmFlowEntrust.name") + ".pdf");
31
31
  });
32
32
  };
33
- y.parentIdBizDict.useValues(), y.orgIdBizDict.useValues();
34
- const k = $, F = f({
35
- entrustId: k.task.businessKey
36
- }), i = f({}), _ = oe($, "modelValue"), V = f(), P = f({}), C = f(!1), U = f(), m = f([]), D = f();
33
+ k.parentIdBizDict.useValues(), k.orgIdBizDict.useValues();
34
+ const y = $, F = f({
35
+ entrustId: y.task.businessKey
36
+ }), i = f({}), v = ne($, "modelValue"), V = f(), P = f({}), N = f(!1), U = f(), m = f([]), D = f();
37
37
  function R() {
38
- C.value = !0, U.value.clearFileList();
38
+ N.value = !0, U.value.clearFileList();
39
39
  }
40
40
  function T(l) {
41
41
  m == null || m.value.splice(l, 1);
42
42
  }
43
43
  function W(l) {
44
- const s = {
44
+ const u = {
45
45
  fileName: l.name,
46
46
  fileId: l.response.fileId
47
47
  };
48
- m == null || m.value.push(s), m.value = [...new Set(m.value)], D.value = {
48
+ m == null || m.value.push(u), m.value = [...new Set(m.value)], D.value = {
49
49
  requestId: Math.random() * 10 + "",
50
- taskId: k.task.id,
50
+ taskId: y.task.id,
51
51
  name: l.name,
52
52
  type: l.response.contentType,
53
53
  url: l.response.fileSrc
@@ -55,22 +55,22 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
55
55
  }
56
56
  function x() {
57
57
  h.uploadFile(D.value).then(() => {
58
- z.success(g("common.uploadSuccess"));
58
+ z.success(C("common.uploadSuccess"));
59
59
  }).catch(() => {
60
- z.error(g("common.uploadError"));
60
+ z.error(C("common.uploadError"));
61
61
  });
62
62
  }
63
63
  function O(l) {
64
64
  l.mobileEncrypt = !l.mobileEncrypt;
65
65
  }
66
- k.task.businessKey && H(), A({
66
+ y.task.businessKey && H(), A({
67
67
  changeModel: () => J()
68
68
  });
69
69
  function G() {
70
70
  ue.findList({ actionId: F.value.entrustId }).then(({ data: l }) => {
71
- i.value.entrustUser = [], l.results.forEach((s) => {
72
- s.actionId == F.value.entrustId && i.value.entrustUser.push({
73
- ...s
71
+ i.value.entrustUser = [], l.results.forEach((u) => {
72
+ u.actionId == F.value.entrustId && i.value.entrustUser.push({
73
+ ...u
74
74
  });
75
75
  });
76
76
  });
@@ -81,24 +81,25 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
81
81
  });
82
82
  }
83
83
  function J() {
84
- return _.value && (_.value.selectActions = [
84
+ return v.value && (v.value.selectActions = [
85
85
  { key: "true", value: "同意" },
86
86
  { key: "false", value: "不同意" }
87
- ], _.value.varName = "approved", _.value.module = "", _.value.module = ae.MODULE_ITSMFLOW), new Promise((l, s) => {
87
+ ], v.value.varName = "approved", v.value.module = "", v.value.module = ae.MODULE_ITSMFLOW), new Promise((l, u) => {
88
88
  var a;
89
89
  (a = V.value) == null || a.validate((d) => {
90
- d ? (_.value && (_.value.comment = ""), l(!0)) : s(!1);
90
+ d ? (v.value && (v.value.comment = ""), l(!0)) : u(!1);
91
91
  });
92
92
  });
93
93
  }
94
- return (l, s) => {
95
- const a = p("el-col"), d = p("el-form-item"), c = p("el-row"), I = p("el-table-column"), B = p("svg-icon"), Q = p("el-table"), M = p("el-button"), X = p("CircleClose"), Y = p("el-icon"), Z = p("el-form"), ee = p("jmash-multi-upload");
96
- return v(), w(S, null, [
94
+ return (l, u) => {
95
+ const a = p("el-col"), d = p("el-form-item"), c = p("el-row"), I = p("el-table-column"), S = p("svg-icon"), Q = p("el-table"), B = p("el-button"), X = p("CircleClose"), Y = p("el-icon"), Z = p("el-form"), ee = p("jmash-multi-upload");
96
+ return _(), w(M, null, [
97
97
  e(a, { span: 24 }, {
98
- default: t(() => s[1] || (s[1] = [
99
- n("div", { class: "title" }, "委托服务订单", -1)
98
+ default: t(() => u[1] || (u[1] = [
99
+ o("div", { class: "title" }, "委托服务订单", -1)
100
100
  ])),
101
- _: 1
101
+ _: 1,
102
+ __: [1]
102
103
  }),
103
104
  e(Z, {
104
105
  ref_key: "taskFormRef",
@@ -117,7 +118,7 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
117
118
  prop: "contractName"
118
119
  }, {
119
120
  default: t(() => [
120
- u(r(i.value.contractName), 1)
121
+ r(s(i.value.contractName), 1)
121
122
  ]),
122
123
  _: 1
123
124
  }, 8, ["label"])
@@ -136,7 +137,7 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
136
137
  prop: "contractNo"
137
138
  }, {
138
139
  default: t(() => [
139
- u(r(i.value.contractNo), 1)
140
+ r(s(i.value.contractNo), 1)
140
141
  ]),
141
142
  _: 1
142
143
  }, 8, ["label"])
@@ -155,7 +156,7 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
155
156
  prop: "entrustName"
156
157
  }, {
157
158
  default: t(() => [
158
- u(r(E(y).projectNameDict.getDictValue(i.value.entrustName)), 1)
159
+ r(s(E(k).projectNameDict.getDictValue(i.value.entrustName)), 1)
159
160
  ]),
160
161
  _: 1
161
162
  }, 8, ["label"])
@@ -174,7 +175,7 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
174
175
  prop: "entrustItsmId"
175
176
  }, {
176
177
  default: t(() => [
177
- u(r(i.value.entrustItsmName), 1)
178
+ r(s(i.value.entrustItsmName), 1)
178
179
  ]),
179
180
  _: 1
180
181
  }, 8, ["label"])
@@ -193,9 +194,9 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
193
194
  prop: "belongOrg"
194
195
  }, {
195
196
  default: t(() => {
196
- var o;
197
+ var n;
197
198
  return [
198
- u(r((((o = i.value.belongOrgId) == null ? void 0 : o.split(",")) || []).map((b) => E(y).parentIdBizDict.getValue(b)).join(",")), 1)
199
+ r(s((((n = i.value.belongOrgId) == null ? void 0 : n.split(",")) || []).map((b) => E(k).parentIdBizDict.getValue(b)).join(",")), 1)
199
200
  ];
200
201
  }),
201
202
  _: 1
@@ -215,7 +216,7 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
215
216
  prop: "serviceContent"
216
217
  }, {
217
218
  default: t(() => [
218
- u(r(E(y).serviceContentEnum.getEnumValue(i.value.serviceContent)), 1)
219
+ r(s(E(k).serviceContentEnum.getEnumValue(i.value.serviceContent)), 1)
219
220
  ]),
220
221
  _: 1
221
222
  }, 8, ["label"])
@@ -229,7 +230,7 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
229
230
  prop: "serviceOrg"
230
231
  }, {
231
232
  default: t(() => [
232
- u(r(E(y).orgIdBizDict.getValue(i.value.serviceOrg)), 1)
233
+ r(s(E(k).orgIdBizDict.getValue(i.value.serviceOrg)), 1)
233
234
  ]),
234
235
  _: 1
235
236
  }, 8, ["label"])
@@ -248,7 +249,7 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
248
249
  prop: "orderNo"
249
250
  }, {
250
251
  default: t(() => [
251
- u(r(i.value.orderNo), 1)
252
+ r(s(i.value.orderNo), 1)
252
253
  ]),
253
254
  _: 1
254
255
  }, 8, ["label"])
@@ -267,7 +268,7 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
267
268
  prop: "workContent"
268
269
  }, {
269
270
  default: t(() => [
270
- u(r(i.value.workContent), 1)
271
+ r(s(i.value.workContent), 1)
271
272
  ]),
272
273
  _: 1
273
274
  }, 8, ["label"])
@@ -291,8 +292,8 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
291
292
  prop: "userId",
292
293
  label: l.$t("itsmFlowEntrustUser.userId")
293
294
  }, {
294
- default: t((o) => [
295
- u(r(o.row.userName), 1)
295
+ default: t((n) => [
296
+ r(s(n.row.userName), 1)
296
297
  ]),
297
298
  _: 1
298
299
  }, 8, ["label"]),
@@ -300,22 +301,22 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
300
301
  prop: "idNo",
301
302
  label: l.$t("itsmFlowEntrustUser.idNo")
302
303
  }, {
303
- default: t((o) => [
304
- o.row.mobileEncrypt ? (v(), w("span", ce, r(o.row.idNo), 1)) : (v(), w("span", de, r(o.row.idNoIns), 1)),
305
- o.row.idNoIns ? (v(), w("span", pe, [
306
- j(e(B, {
304
+ default: t((n) => [
305
+ n.row.mobileEncrypt ? (_(), w("span", ce, s(n.row.idNo), 1)) : (_(), w("span", de, s(n.row.idNoIns), 1)),
306
+ n.row.idNoIns ? (_(), w("span", pe, [
307
+ j(e(S, {
307
308
  "icon-class": "close-eye",
308
- onClick: (b) => O(o.row)
309
+ onClick: (b) => O(n.row)
309
310
  }, null, 8, ["onClick"]), [
310
- [L, !o.row.mobileEncrypt]
311
+ [L, !n.row.mobileEncrypt]
311
312
  ]),
312
- j(e(B, {
313
+ j(e(S, {
313
314
  "icon-class": "eye-open",
314
- onClick: (b) => O(o.row)
315
+ onClick: (b) => O(n.row)
315
316
  }, null, 8, ["onClick"]), [
316
- [L, o.row.mobileEncrypt]
317
+ [L, n.row.mobileEncrypt]
317
318
  ])
318
- ])) : N("", !0)
319
+ ])) : g("", !0)
319
320
  ]),
320
321
  _: 1
321
322
  }, 8, ["label"]),
@@ -323,8 +324,8 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
323
324
  prop: "cost",
324
325
  label: l.$t("itsmFlowEntrustUser.cost")
325
326
  }, {
326
- default: t((o) => [
327
- u(r(o.row.cost), 1)
327
+ default: t((n) => [
328
+ r(s(n.row.cost), 1)
328
329
  ]),
329
330
  _: 1
330
331
  }, 8, ["label"]),
@@ -332,8 +333,8 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
332
333
  prop: "duration",
333
334
  label: l.$t("itsmFlowEntrustUser.duration")
334
335
  }, {
335
- default: t((o) => [
336
- u(r(o.row.duration && typeof o.row.duration == "string" ? o.row.duration.split(",").join("~") : o.row.duration), 1)
336
+ default: t((n) => [
337
+ r(s(n.row.durationStart) + "~" + s(n.row.durationEnd), 1)
337
338
  ]),
338
339
  _: 1
339
340
  }, 8, ["label"])
@@ -349,50 +350,52 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
349
350
  e(c, { class: "bordered-row" }, {
350
351
  default: t(() => [
351
352
  e(a, { span: 12 }, {
352
- default: t(() => s[2] || (s[2] = [
353
- n("div", { class: "content-box" }, [
354
- n("div", { class: "content-box-top" }, [
355
- n("div", null, "甲方单位(盖章)"),
356
- n("div", null, "负责人(签字):"),
357
- n("div", null, "或授权代理人(签字):")
353
+ default: t(() => u[2] || (u[2] = [
354
+ o("div", { class: "content-box" }, [
355
+ o("div", { class: "content-box-top" }, [
356
+ o("div", null, "甲方单位(盖章)"),
357
+ o("div", null, "负责人(签字):"),
358
+ o("div", null, "或授权代理人(签字):")
358
359
  ]),
359
- n("div", { class: "content-box-bottom" }, [
360
- u(" 日期: "),
361
- n("span", null, "年"),
362
- n("span", null, "月"),
363
- n("span", null, "日")
360
+ o("div", { class: "content-box-bottom" }, [
361
+ r(" 日期: "),
362
+ o("span", null, "年"),
363
+ o("span", null, "月"),
364
+ o("span", null, "日")
364
365
  ])
365
366
  ], -1)
366
367
  ])),
367
- _: 1
368
+ _: 1,
369
+ __: [2]
368
370
  }),
369
371
  e(a, {
370
372
  span: 12,
371
373
  class: "with-divider"
372
374
  }, {
373
- default: t(() => s[3] || (s[3] = [
374
- n("div", { class: "content-box" }, [
375
- n("div", { class: "content-box-top" }, [
376
- n("div", null, "服务人员所属单位(盖章)"),
377
- n("div", null, "法定代表人(签字):"),
378
- n("div", null, "或授权代理人(签字):")
375
+ default: t(() => u[3] || (u[3] = [
376
+ o("div", { class: "content-box" }, [
377
+ o("div", { class: "content-box-top" }, [
378
+ o("div", null, "服务人员所属单位(盖章)"),
379
+ o("div", null, "法定代表人(签字):"),
380
+ o("div", null, "或授权代理人(签字):")
379
381
  ]),
380
- n("div", { class: "content-box-bottom" }, [
381
- u(" 日期: "),
382
- n("span", null, "年"),
383
- n("span", null, "月"),
384
- n("span", null, "日")
382
+ o("div", { class: "content-box-bottom" }, [
383
+ r(" 日期: "),
384
+ o("span", null, "年"),
385
+ o("span", null, "月"),
386
+ o("span", null, "日")
385
387
  ])
386
388
  ], -1)
387
389
  ])),
388
- _: 1
390
+ _: 1,
391
+ __: [3]
389
392
  })
390
393
  ]),
391
394
  _: 1
392
395
  }),
393
396
  e(c, null, {
394
397
  default: t(() => [
395
- k.task.taskDefinitionKey === "UploadScanFile" ? (v(), q(a, {
398
+ y.task.taskDefinitionKey === "UploadScanFile" ? (_(), q(a, {
396
399
  key: 0,
397
400
  span: 12
398
401
  }, {
@@ -401,13 +404,13 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
401
404
  label: l.$t("itsmFlowEntrust.scannedCopy")
402
405
  }, {
403
406
  default: t(() => [
404
- e(M, {
407
+ e(B, {
405
408
  type: "primary",
406
409
  icon: E(se),
407
410
  onClick: R
408
411
  }, {
409
412
  default: t(() => [
410
- u(r(l.$t("common.uploadFiles")), 1)
413
+ r(s(l.$t("common.uploadFiles")), 1)
411
414
  ]),
412
415
  _: 1
413
416
  }, 8, ["icon"])
@@ -416,11 +419,11 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
416
419
  }, 8, ["label"]),
417
420
  e(d, null, {
418
421
  default: t(() => [
419
- (v(!0), w(S, null, ne(m.value, (o, b) => (v(), w("div", {
422
+ (_(!0), w(M, null, oe(m.value, (n, b) => (_(), w("div", {
420
423
  key: b,
421
424
  class: "files-list"
422
425
  }, [
423
- u(r(o.fileName) + " ", 1),
426
+ r(s(n.fileName) + " ", 1),
424
427
  e(Y, {
425
428
  size: "16",
426
429
  class: "icon-right",
@@ -437,8 +440,8 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
437
440
  })
438
441
  ]),
439
442
  _: 1
440
- })) : N("", !0),
441
- k.task.taskDefinitionKey === "UploadScanFile" ? (v(), q(a, {
443
+ })) : g("", !0),
444
+ y.task.taskDefinitionKey === "UploadScanFile" ? (_(), q(a, {
442
445
  key: 1,
443
446
  span: 12
444
447
  }, {
@@ -447,13 +450,13 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
447
450
  label: l.$t("itsmFlowEntrust.export")
448
451
  }, {
449
452
  default: t(() => [
450
- e(M, {
453
+ e(B, {
451
454
  plain: "",
452
455
  type: "primary",
453
456
  onClick: K
454
457
  }, {
455
458
  default: t(() => [
456
- u(r(l.$t("itsmFlowEntrust.export")), 1)
459
+ r(s(l.$t("itsmFlowEntrust.export")), 1)
457
460
  ]),
458
461
  _: 1
459
462
  })
@@ -462,7 +465,7 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
462
465
  }, 8, ["label"])
463
466
  ]),
464
467
  _: 1
465
- })) : N("", !0)
468
+ })) : g("", !0)
466
469
  ]),
467
470
  _: 1
468
471
  })
@@ -472,8 +475,8 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
472
475
  e(ee, {
473
476
  ref_key: "uploadRef",
474
477
  ref: U,
475
- modelValue: C.value,
476
- "onUpdate:modelValue": s[0] || (s[0] = (o) => C.value = o),
478
+ modelValue: N.value,
479
+ "onUpdate:modelValue": u[0] || (u[0] = (n) => N.value = n),
477
480
  onUploadFileList: W
478
481
  }, null, 8, ["modelValue"])
479
482
  ], 64);
@@ -1,8 +1,8 @@
1
- import { defineComponent as M, ref as _, reactive as R, resolveComponent as s, resolveDirective as W, openBlock as p, createElementBlock as V, createElementVNode as N, createVNode as o, withCtx as l, withKeys as A, unref as n, createTextVNode as f, toDisplayString as u, withDirectives as F, createBlock as $, isRef as S, createCommentVNode as T } from "vue";
1
+ import { defineComponent as M, ref as _, reactive as R, resolveComponent as s, resolveDirective as W, createElementBlock as V, openBlock as p, createElementVNode as N, 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 g, C as Z, i as x } from "./index-DugZK_BS.mjs";
5
- import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-TXBAzoPS.mjs";
4
+ import { D as g, C as Z, i as x } from "./index-C7wI2ALv.mjs";
5
+ import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-e_oZRaYA.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) {
@@ -143,7 +143,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
143
143
  modelValue: r.value.likeContractName,
144
144
  "onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.likeContractName = e),
145
145
  placeholder: a.$t("itsmFlowAcceptance.contractNameRequired"),
146
- onKeyup: t[1] || (t[1] = A((e) => n(i).handleQuery(), ["enter"])),
146
+ onKeyup: t[1] || (t[1] = F((e) => n(i).handleQuery(), ["enter"])),
147
147
  class: "!w-[203px]"
148
148
  }, null, 8, ["modelValue", "placeholder"])
149
149
  ]),
@@ -163,7 +163,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
163
163
  modelValue: r.value.likeContractNo,
164
164
  "onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.likeContractNo = e),
165
165
  placeholder: a.$t("itsmFlowAcceptance.contractNoRequired"),
166
- onKeyup: t[3] || (t[3] = A((e) => n(i).handleQuery(), ["enter"])),
166
+ onKeyup: t[3] || (t[3] = F((e) => n(i).handleQuery(), ["enter"])),
167
167
  class: "!w-[203px]"
168
168
  }, null, 8, ["modelValue", "placeholder"])
169
169
  ]),
@@ -183,7 +183,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
183
183
  modelValue: r.value.acceptanceNo,
184
184
  "onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.acceptanceNo = e),
185
185
  placeholder: a.$t("itsmFlowAcceptance.acceptanceNoRequired"),
186
- onKeyup: t[5] || (t[5] = A((e) => n(i).handleQuery(), ["enter"])),
186
+ onKeyup: t[5] || (t[5] = F((e) => n(i).handleQuery(), ["enter"])),
187
187
  class: "!w-[203px]"
188
188
  }, null, 8, ["modelValue", "placeholder"])
189
189
  ]),
@@ -235,7 +235,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
235
235
  default: l(() => [
236
236
  o(m, { span: 17 }, {
237
237
  default: l(() => [
238
- F((p(), $(h, {
238
+ $((p(), A(h, {
239
239
  type: "primary",
240
240
  onClick: q
241
241
  }, {
@@ -256,7 +256,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
256
256
  default: l(() => [
257
257
  o(I, {
258
258
  modelValue: n(d),
259
- "onUpdate:modelValue": t[8] || (t[8] = (e) => S(d) ? d.value = e : d = e),
259
+ "onUpdate:modelValue": t[8] || (t[8] = (e) => T(d) ? d.value = e : d = e),
260
260
  "label-name": "itsm-flow-acceptance"
261
261
  }, null, 8, ["modelValue"])
262
262
  ]),
@@ -267,16 +267,16 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
267
267
  })
268
268
  ]),
269
269
  footer: l(() => [
270
- n(v) > 0 ? (p(), $(H, {
270
+ n(v) > 0 ? (p(), A(H, {
271
271
  key: 0,
272
272
  total: n(v),
273
- "onUpdate:total": t[9] || (t[9] = (e) => S(v) ? v.value = e : null),
273
+ "onUpdate:total": t[9] || (t[9] = (e) => T(v) ? v.value = e : null),
274
274
  "current-page": r.value.curPage,
275
275
  "onUpdate:currentPage": t[10] || (t[10] = (e) => r.value.curPage = e),
276
276
  "page-size": r.value.pageSize,
277
277
  "onUpdate:pageSize": t[11] || (t[11] = (e) => r.value.pageSize = e),
278
278
  onPagination: t[12] || (t[12] = (e) => n(i).getList())
279
- }, null, 8, ["total", "current-page", "page-size"])) : T("", !0)
279
+ }, null, 8, ["total", "current-page", "page-size"])) : S("", !0)
280
280
  ]),
281
281
  default: l(() => [
282
282
  o(E, {
@@ -299,7 +299,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
299
299
  N("span", null, u(n(g).isValuesDict.getValue(e.data.row.result)), 1)
300
300
  ]),
301
301
  operation: l((e) => [
302
- F((p(), V("span", {
302
+ $((p(), V("span", {
303
303
  class: "el-button-color",
304
304
  onClick: (J) => B(e.data.row)
305
305
  }, [
@@ -307,7 +307,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
307
307
  ], 8, oe)), [
308
308
  [k, ["itsmflow:itsm_flow_acceptance:update"]]
309
309
  ]),
310
- F((p(), V("span", {
310
+ $((p(), V("span", {
311
311
  class: "el-button-color dropdown-left",
312
312
  onClick: (J) => n(i).deleteRecord(e.data.row)
313
313
  }, [
@@ -321,7 +321,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
321
321
  ]),
322
322
  _: 1
323
323
  }),
324
- c.value.visible ? (p(), $(ee, {
324
+ c.value.visible ? (p(), A(ee, {
325
325
  key: 0,
326
326
  modelValue: c.value.visible,
327
327
  "onUpdate:modelValue": t[13] || (t[13] = (e) => c.value.visible = e),
@@ -329,7 +329,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
329
329
  "entity-key": n(C),
330
330
  onRefresh: O,
331
331
  width: "900px"
332
- }, null, 8, ["modelValue", "title", "entity-key"])) : T("", !0)
332
+ }, null, 8, ["modelValue", "title", "entity-key"])) : S("", !0)
333
333
  ]);
334
334
  };
335
335
  }