xyvcard-itsm-flow 0.0.25 → 0.0.26

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 (57) hide show
  1. package/dist/{FileSaver.min-Dlb0564v.mjs → FileSaver.min-FLjvLk81.mjs} +1 -1
  2. package/dist/{edit-DGLeO86x.mjs → edit-Bj6O1CiV.mjs} +36 -36
  3. package/dist/{edit-b1Qpq27u.mjs → edit-BoyxGI-j.mjs} +1 -1
  4. package/dist/{edit-DYzjfcpe.mjs → edit-ChPw3-tf.mjs} +45 -43
  5. package/dist/{edit-Bb1ZMrgr.mjs → edit-D--QEJjt.mjs} +1 -1
  6. package/dist/{edit-DEz__zGH.mjs → edit-DE30a8nF.mjs} +1 -1
  7. package/dist/{edit-X4DuZAeC.mjs → edit-DVqIGzRC.mjs} +2 -2
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-COV7eZfh.mjs → edit.vue_vue_type_script_setup_true_lang-D4j6dzcV.mjs} +1 -1
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-DDFusQ6S.mjs → edit.vue_vue_type_script_setup_true_lang-DHCoPaGf.mjs} +2 -2
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-DK-kdI-u.mjs → edit.vue_vue_type_script_setup_true_lang-DiY4aiPm.mjs} +1 -1
  11. package/dist/{index-CUdCuMce.mjs → index-8wrBAgqn.mjs} +5 -5
  12. package/dist/{index-Dx_iePKi.mjs → index-BCm8GyNp.mjs} +1 -1
  13. package/dist/{index-CJmsWz8H.mjs → index-BGUJBf1b.mjs} +25 -25
  14. package/dist/{index-COlNrHOr.mjs → index-BKReblQ-.mjs} +56 -56
  15. package/dist/{index-D4hmXu0K.mjs → index-BPbEgv_g.mjs} +68 -68
  16. package/dist/{index-C6QayKyI.mjs → index-BVKYrCIy.mjs} +1 -1
  17. package/dist/{index-BnbyM6r8.mjs → index-BnpWxtwn.mjs} +3 -3
  18. package/dist/{index-Cc1yu7_y.mjs → index-C2_qB4RV.mjs} +1 -1
  19. package/dist/{index-BjIcvBcw.mjs → index-C6lbS4Lo.mjs} +2 -2
  20. package/dist/{index-DTmCekOe.mjs → index-CBlDGIOm.mjs} +26 -26
  21. package/dist/{index-Crv7Y3gz.mjs → index-Cbd9gMMJ.mjs} +21 -21
  22. package/dist/{index-ZQIeIrUc.mjs → index-CcmelnG0.mjs} +27 -27
  23. package/dist/{index-DB_7mB_B.mjs → index-Cv9EtBjj.mjs} +93 -85
  24. package/dist/{index-CK8x-scl.mjs → index-DCrOzptR.mjs} +3 -3
  25. package/dist/{index-B3Od63yb.mjs → index-DLKaq1KT.mjs} +3 -3
  26. package/dist/{index-DsEA0PWP.mjs → index-DUeJgFzy.mjs} +2 -2
  27. package/dist/{index-CTX-1ZJN.mjs → index-DWJG5OHB.mjs} +1 -1
  28. package/dist/{index-Dr2VSx72.mjs → index-DeWL7kiw.mjs} +2 -2
  29. package/dist/{index-CsRdrLdB.mjs → index-DgMfinzm.mjs} +2 -2
  30. package/dist/{index-41pGjG4z.mjs → index-DrUmzzLs.mjs} +13 -13
  31. package/dist/{index-Ddn-uP9d.mjs → index-DvfEpZEP.mjs} +44 -44
  32. package/dist/{index-M_tEOKq6.mjs → index-DwPAoK5U.mjs} +130 -127
  33. package/dist/{index-ChiSO5mf.mjs → index-DyZhLpPq.mjs} +18 -18
  34. package/dist/{index-XQliRAX-.mjs → index-DyhFuDLH.mjs} +9 -9
  35. package/dist/{index-BL1EL_Kk.mjs → index-DymW6iPU.mjs} +3 -3
  36. package/dist/{index-BzzIS37Q.mjs → index-SilwoNEK.mjs} +123 -123
  37. package/dist/{index-UIHGXuWX.mjs → index-jG64vmFA.mjs} +128 -128
  38. package/dist/{index-uhCfQAOU.mjs → index-r4Tg0GX2.mjs} +3 -3
  39. package/dist/{index-DReilvk8.mjs → index-xWvPJZ-m.mjs} +2 -2
  40. package/dist/index.mjs +1 -1
  41. package/dist/{info-ChOjJGUZ.mjs → info-9EvTq-5p.mjs} +1 -1
  42. package/dist/{info-CqJnfPyk.mjs → info-BWhsB1Ap.mjs} +1 -1
  43. package/dist/{info-Cu1I8L0Q.mjs → info-CGUYIYny.mjs} +1 -1
  44. package/dist/{info-C7BOFhdZ.mjs → info-CbJJduEU.mjs} +1 -1
  45. package/dist/info-CtxVi70h.mjs +4 -0
  46. package/dist/info-ZeMWMgd3.mjs +4 -0
  47. package/dist/{info.vue_vue_type_script_setup_true_lang-_Rd1Paqi.mjs → info.vue_vue_type_script_setup_true_lang-C0J9fiF3.mjs} +1 -1
  48. package/dist/{info.vue_vue_type_script_setup_true_lang-C9LpdXNC.mjs → info.vue_vue_type_script_setup_true_lang-CAfl8pgB.mjs} +10 -10
  49. package/dist/{info.vue_vue_type_script_setup_true_lang-CwpN4E5Y.mjs → info.vue_vue_type_script_setup_true_lang-CY7c7Xmz.mjs} +2 -2
  50. package/dist/{info.vue_vue_type_script_setup_true_lang-BupLtTsI.mjs → info.vue_vue_type_script_setup_true_lang-CdiFub3m.mjs} +8 -8
  51. package/dist/{info.vue_vue_type_script_setup_true_lang-D36lalXS.mjs → info.vue_vue_type_script_setup_true_lang-DIXXp0TI.mjs} +2 -2
  52. package/dist/{info.vue_vue_type_script_setup_true_lang-CxZBVr6Z.mjs → info.vue_vue_type_script_setup_true_lang-Dm4Ld-wL.mjs} +1 -1
  53. package/dist/style.css +1 -1
  54. package/dts/lang/itsm-flow/zh-cn.d.ts +2 -2
  55. package/package.json +1 -1
  56. package/dist/info-DDaeV1sJ.mjs +0 -4
  57. package/dist/info-DstAR0-a.mjs +0 -4
@@ -1,8 +1,8 @@
1
- import { defineComponent as K, mergeModels as j, ref as w, useModel as W, resolveComponent as c, createElementBlock as v, openBlock as m, Fragment as h, createVNode as t, withCtx as e, createElementVNode as B, createBlock as g, createCommentVNode as F, createTextVNode as s, toDisplayString as n, unref as b, renderList as L } from "vue";
1
+ import { defineComponent as K, mergeModels as j, ref as w, useModel as W, resolveComponent as b, createElementBlock as v, openBlock as m, Fragment as B, createVNode as t, withCtx as e, createElementVNode as F, createBlock as g, createCommentVNode as P, createTextVNode as n, toDisplayString as s, unref as y, renderList as N } from "vue";
2
2
  import "element-plus";
3
3
  import { useI18n as q } from "vue-i18n";
4
- import { C as D, D as y, i as G } from "./index-CTX-1ZJN.mjs";
5
- import { i as H, a as J } from "./index-Cc1yu7_y.mjs";
4
+ import { C as D, D as f, i as G } from "./index-DWJG5OHB.mjs";
5
+ import { i as H, a as J } from "./index-C2_qB4RV.mjs";
6
6
  import { fileApi as Q } from "jmash-core";
7
7
  import { rbacApi as X } from "jmash-rbac";
8
8
  const Y = { key: 0 }, se = /* @__PURE__ */ K({
@@ -19,23 +19,23 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
19
19
  }),
20
20
  emits: ["update:modelValue"],
21
21
  setup(I, { expose: O }) {
22
- const { t: Z } = q(), C = w(), A = w({}), f = W(I, "modelValue");
23
- console.log(D.applyStatus.finished, "=>Constant.applyStatus.finished "), y.budgetTypeDict.useValues();
24
- const P = I, u = w();
25
- H.findById({ flowSpareId: P.task.businessKey }).then(({ data: a }) => {
22
+ const { t: Z } = q(), V = w(), A = w({}), c = W(I, "modelValue");
23
+ console.log(D.applyStatus.finished, "=>Constant.applyStatus.finished "), f.orgIdBizDict.useValues(), f.budgetTypeDict.useValues(), f.itemBizLayDict.useValues();
24
+ const k = I, u = w();
25
+ H.findById({ flowSpareId: k.task.businessKey }).then(({ data: a }) => {
26
26
  u.value = a;
27
27
  });
28
- const V = w([]);
29
- J.findList({ flowSpareId: P.task.businessKey }).then((a) => {
30
- V.value = a.data.results;
28
+ const C = w([]);
29
+ J.findList({ flowSpareId: k.task.businessKey }).then((a) => {
30
+ C.value = a.data.results;
31
31
  });
32
- const M = w([]);
33
- G.findFilesList({ actionId: P.task.businessKey }).then((a) => {
34
- M.value = a.data.results;
32
+ const L = w([]);
33
+ G.findFilesList({ actionId: k.task.businessKey }).then((a) => {
34
+ L.value = a.data.results;
35
35
  });
36
36
  const E = (a) => {
37
37
  var p;
38
- return ((p = M.value) == null ? void 0 : p.filter((r) => r.fileSort === a)) || [];
38
+ return ((p = L.value) == null ? void 0 : p.filter((r) => r.fileSort === a)) || [];
39
39
  };
40
40
  async function T(a) {
41
41
  try {
@@ -45,38 +45,38 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
45
45
  }
46
46
  }
47
47
  O({
48
- changeModel: () => R()
48
+ changeModel: () => z()
49
49
  });
50
- function R() {
51
- return f.value && (f.value.selectActions = [
50
+ function z() {
51
+ return c.value && (c.value.selectActions = [
52
52
  { key: "true", value: "同意" },
53
53
  { key: "false", value: "不同意" }
54
- ], f.value.varName = "approved", f.value.module = "", f.value.module = D.MODULE_ITSMFLOW), new Promise((a, p) => {
54
+ ], c.value.varName = "approved", c.value.module = "", c.value.module = D.MODULE_ITSMFLOW), new Promise((a, p) => {
55
55
  var r;
56
- (r = C.value) == null || r.validate((i) => {
57
- i ? (f.value && (f.value.comment = ""), a(!0)) : p(!1);
56
+ (r = V.value) == null || r.validate((i) => {
57
+ i ? (c.value && (c.value.comment = ""), a(!0)) : p(!1);
58
58
  });
59
59
  });
60
60
  }
61
61
  return (a, p) => {
62
- const r = c("el-col"), i = c("el-form-item"), S = c("el-row"), d = c("el-table-column"), U = c("el-table"), z = c("el-button"), N = c("el-form");
63
- return m(), v(h, null, [
62
+ const r = b("el-col"), i = b("el-form-item"), S = b("el-row"), d = b("el-table-column"), R = b("el-table"), U = b("el-button"), M = b("el-form");
63
+ return m(), v(B, null, [
64
64
  t(r, { span: 24 }, {
65
65
  default: e(() => p[0] || (p[0] = [
66
- B("div", { class: "title" }, "备品备件申请领用确认单", -1)
66
+ F("div", { class: "title" }, "备品备件申请领用确认单", -1)
67
67
  ])),
68
68
  _: 1,
69
69
  __: [0]
70
70
  }),
71
- t(N, {
71
+ t(M, {
72
72
  ref_key: "taskFormRef",
73
- ref: C,
73
+ ref: V,
74
74
  model: A.value,
75
75
  "label-width": "150px",
76
76
  class: "custom-table-form"
77
77
  }, {
78
78
  default: e(() => [
79
- t(N, {
79
+ t(M, {
80
80
  ref: "itsmFlowEntrustFormRef",
81
81
  "label-width": "150px",
82
82
  class: "custom-table-form custom-form"
@@ -84,7 +84,7 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
84
84
  default: e(() => [
85
85
  t(S, null, {
86
86
  default: e(() => {
87
- var o, k, _;
87
+ var o, h, _;
88
88
  return [
89
89
  t(r, { span: 12 }, {
90
90
  default: e(() => [
@@ -95,7 +95,7 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
95
95
  default: e(() => {
96
96
  var l;
97
97
  return [
98
- s(n(b(y).orgIdBizDict.getValue((l = u.value) == null ? void 0 : l.orgId)), 1)
98
+ n(s(y(f).orgIdBizDict.getValue((l = u.value) == null ? void 0 : l.orgId)), 1)
99
99
  ];
100
100
  }),
101
101
  _: 1
@@ -112,7 +112,7 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
112
112
  default: e(() => {
113
113
  var l;
114
114
  return [
115
- s(n(b(y).purchaseTypeEnum.getEnumValue((l = u.value) == null ? void 0 : l.type)), 1)
115
+ n(s(y(f).purchaseTypeEnum.getEnumValue((l = u.value) == null ? void 0 : l.type)), 1)
116
116
  ];
117
117
  }),
118
118
  _: 1
@@ -129,7 +129,7 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
129
129
  default: e(() => {
130
130
  var l;
131
131
  return [
132
- s(n((l = u.value) == null ? void 0 : l.applyPlace), 1)
132
+ n(s((l = u.value) == null ? void 0 : l.applyPlace), 1)
133
133
  ];
134
134
  }),
135
135
  _: 1
@@ -146,7 +146,7 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
146
146
  default: e(() => {
147
147
  var l;
148
148
  return [
149
- s(n((l = u.value) == null ? void 0 : l.annual), 1)
149
+ n(s((l = u.value) == null ? void 0 : l.annual), 1)
150
150
  ];
151
151
  }),
152
152
  _: 1
@@ -160,40 +160,40 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
160
160
  }, {
161
161
  default: e(() => [
162
162
  t(i, {
163
- label: a.$t("itsmFlowSpareParts.itemId"),
163
+ label: a.$t("itsmFlowSpareParts.itsmFlowItemId"),
164
164
  prop: "itemId"
165
165
  }, {
166
166
  default: e(() => {
167
167
  var l;
168
168
  return [
169
- s(n(b(y).itemBizLayDict.getValue((l = u.value) == null ? void 0 : l.itemId)), 1)
169
+ n(s(y(f).itemBizLayDict.getValue((l = u.value) == null ? void 0 : l.itemId)), 1)
170
170
  ];
171
171
  }),
172
172
  _: 1
173
173
  }, 8, ["label"])
174
174
  ]),
175
175
  _: 1
176
- })) : F("", !0),
177
- ((k = u.value) == null ? void 0 : k.type) !== "BudgetOut" ? (m(), g(r, {
176
+ })) : P("", !0),
177
+ ((h = u.value) == null ? void 0 : h.type) !== "BudgetOut" ? (m(), g(r, {
178
178
  key: 1,
179
179
  span: 12
180
180
  }, {
181
181
  default: e(() => [
182
182
  t(i, {
183
- label: a.$t("itsmFlowSpareParts.budgetType"),
183
+ label: a.$t("itsmFlowSpareParts.itsmFlowBudgetType"),
184
184
  prop: "budgetType"
185
185
  }, {
186
186
  default: e(() => {
187
187
  var l;
188
188
  return [
189
- s(n(b(y).budgetTypeDict.getValue((l = u.value) == null ? void 0 : l.budgetType)), 1)
189
+ n(s(y(f).budgetTypeDict.getValue((l = u.value) == null ? void 0 : l.budgetType)), 1)
190
190
  ];
191
191
  }),
192
192
  _: 1
193
193
  }, 8, ["label"])
194
194
  ]),
195
195
  _: 1
196
- })) : F("", !0),
196
+ })) : P("", !0),
197
197
  ((_ = u.value) == null ? void 0 : _.type) !== "BudgetOut" ? (m(), g(r, {
198
198
  key: 2,
199
199
  span: 12
@@ -206,14 +206,14 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
206
206
  default: e(() => {
207
207
  var l;
208
208
  return [
209
- s(n((l = u.value) == null ? void 0 : l.contractMoney), 1)
209
+ n(s((l = u.value) == null ? void 0 : l.contractMoney), 1)
210
210
  ];
211
211
  }),
212
212
  _: 1
213
213
  }, 8, ["label"])
214
214
  ]),
215
215
  _: 1
216
- })) : F("", !0),
216
+ })) : P("", !0),
217
217
  t(r, { span: 12 }, {
218
218
  default: e(() => [
219
219
  t(i, {
@@ -223,7 +223,7 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
223
223
  default: e(() => {
224
224
  var l, $;
225
225
  return [
226
- s(n((l = u.value) != null && l.createBy ? ($ = b(X).userInfo(u.value.createBy)) == null ? void 0 : $.realName : ""), 1)
226
+ n(s((l = u.value) != null && l.createBy ? ($ = y(X).userInfo(u.value.createBy)) == null ? void 0 : $.realName : ""), 1)
227
227
  ];
228
228
  }),
229
229
  _: 1
@@ -240,7 +240,7 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
240
240
  default: e(() => {
241
241
  var l;
242
242
  return [
243
- s(n((l = u.value) == null ? void 0 : l.applyDate), 1)
243
+ n(s((l = u.value) == null ? void 0 : l.applyDate), 1)
244
244
  ];
245
245
  }),
246
246
  _: 1
@@ -256,17 +256,17 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
256
256
  default: e(() => [
257
257
  t(r, { span: 24 }, {
258
258
  default: e(() => p[1] || (p[1] = [
259
- B("div", { class: "title" }, "运维需求描述", -1)
259
+ F("div", { class: "title" }, "运维需求描述", -1)
260
260
  ])),
261
261
  _: 1,
262
262
  __: [1]
263
263
  }),
264
264
  t(r, { span: 24 }, {
265
265
  default: e(() => [
266
- t(U, {
266
+ t(R, {
267
267
  stripe: "",
268
268
  style: { width: "100%" },
269
- data: V.value
269
+ data: C.value
270
270
  }, {
271
271
  default: e(() => [
272
272
  t(d, {
@@ -274,7 +274,7 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
274
274
  label: a.$t("itsmFlowSpareParts.itsmtype")
275
275
  }, {
276
276
  default: e((o) => [
277
- s(n(o.row.type), 1)
277
+ n(s(o.row.type), 1)
278
278
  ]),
279
279
  _: 1
280
280
  }, 8, ["label"]),
@@ -283,7 +283,7 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
283
283
  label: a.$t("itsmFlowSpareParts.itsmName")
284
284
  }, {
285
285
  default: e((o) => [
286
- s(n(o.row.name), 1)
286
+ n(s(o.row.name), 1)
287
287
  ]),
288
288
  _: 1
289
289
  }, 8, ["label"]),
@@ -292,43 +292,43 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
292
292
  label: a.$t("itsmFlowSpareParts.number")
293
293
  }, {
294
294
  default: e((o) => [
295
- s(n(o.row.number), 1)
295
+ n(s(o.row.number), 1)
296
296
  ]),
297
297
  _: 1
298
298
  }, 8, ["label"]),
299
- t(d, {
300
- prop: "unit",
301
- label: a.$t("itsmFlowSpareParts.unit")
302
- }, {
299
+ t(d, { prop: "unit" }, {
300
+ header: e(() => [
301
+ F("span", null, s(a.$t("itsmFlowSpareParts.unit")) + "(计量单位)", 1)
302
+ ]),
303
303
  default: e((o) => [
304
- s(n(o.row.unit), 1)
304
+ n(s(o.row.unit), 1)
305
305
  ]),
306
306
  _: 1
307
- }, 8, ["label"]),
307
+ }),
308
308
  t(d, {
309
309
  prop: "parameter",
310
310
  label: a.$t("itsmFlowSpareParts.parameter")
311
311
  }, {
312
312
  default: e((o) => [
313
- s(n(o.row.parameter), 1)
313
+ n(s(o.row.parameter), 1)
314
314
  ]),
315
315
  _: 1
316
316
  }, 8, ["label"]),
317
- t(d, {
318
- prop: "valuation",
319
- label: a.$t("itsmFlowSpareParts.valuation")
320
- }, {
317
+ t(d, { prop: "valuation" }, {
318
+ header: e(() => [
319
+ F("span", null, s(a.$t("itsmFlowSpareParts.valuation")) + "(万元)", 1)
320
+ ]),
321
321
  default: e((o) => [
322
- s(n(o.row.valuation), 1)
322
+ n(s(o.row.valuation), 1)
323
323
  ]),
324
324
  _: 1
325
- }, 8, ["label"]),
325
+ }),
326
326
  t(d, {
327
327
  prop: "range",
328
328
  label: a.$t("itsmFlowSpareParts.range")
329
329
  }, {
330
330
  default: e((o) => [
331
- s(n(o.row.range), 1)
331
+ n(s(o.row.range), 1)
332
332
  ]),
333
333
  _: 1
334
334
  }, 8, ["label"]),
@@ -337,7 +337,7 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
337
337
  label: a.$t("itsmFlowSpareParts.applyStatus ")
338
338
  }, {
339
339
  default: e((o) => [
340
- o.row.applyStatus === b(D).applyStatus.finished ? (m(), v("span", Y, "已领用 ")) : F("", !0)
340
+ o.row.applyStatus === y(D).applyStatus.finished ? (m(), v("span", Y, "已领用 ")) : P("", !0)
341
341
  ]),
342
342
  _: 1
343
343
  }, 8, ["label"])
@@ -352,17 +352,17 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
352
352
  class: "bordered-row"
353
353
  }, {
354
354
  default: e(() => [
355
- (m(!0), v(h, null, L(b(y).fileTypeDict.values.slice(0, 2), (o, k) => (m(), g(i, {
355
+ (m(!0), v(B, null, N(y(f).fileTypeDict.values.slice(0, 2), (o, h) => (m(), g(i, {
356
356
  key: o.dictCode,
357
357
  label: o.dictName
358
358
  }, {
359
359
  default: e(() => [
360
- (m(!0), v(h, null, L(E(o.dictCode), (_, l) => (m(), v("div", {
360
+ (m(!0), v(B, null, N(E(o.dictCode), (_, l) => (m(), v("div", {
361
361
  key: l,
362
362
  class: "files-list"
363
363
  }, [
364
- B("span", null, n(_.fileName), 1),
365
- t(z, {
364
+ F("span", null, s(_.fileName), 1),
365
+ t(U, {
366
366
  type: "primary",
367
367
  link: "",
368
368
  size: "small",
@@ -370,7 +370,7 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
370
370
  onClick: ($) => T(_)
371
371
  }, {
372
372
  default: e(() => p[2] || (p[2] = [
373
- s(" 查看 ")
373
+ n(" 查看 ")
374
374
  ])),
375
375
  _: 2,
376
376
  __: [2]
@@ -2,7 +2,7 @@ import { defineComponent as ne, mergeModels as se, ref as p, useModel as de, rea
2
2
  import "element-plus";
3
3
  import { useI18n as me } from "vue-i18n";
4
4
  import { u as ce } from "./index-CvX2It1o.mjs";
5
- import { I as pe, C as w, U as fe, d as ve, D as F, i as N } from "./index-CTX-1ZJN.mjs";
5
+ import { I as pe, C as w, U as fe, d as ve, D as F, i as N } from "./index-DWJG5OHB.mjs";
6
6
  import { useUserStore as be } from "jmash-core";
7
7
  import { E as S } from "./el-message-BJAl6Gwu.mjs";
8
8
  const Ae = /* @__PURE__ */ ne({
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as oe, mergeModels as ne, computed as ae, ref as f, useModel as se, resolveComponent as p, createElementBlock as k, openBlock as _, Fragment as P, createVNode as e, withCtx as l, createElementVNode as a, createTextVNode as r, toDisplayString as u, unref as b, createCommentVNode as I, withDirectives as A, vShow as B, createBlock as O, renderList as re } from "vue";
2
2
  import "element-plus";
3
3
  import { u as ue } from "./index-CvX2It1o.mjs";
4
- import { a as ie } from "./index-BzzIS37Q.mjs";
5
- import { D as C, C as $, a as de } from "./index-CTX-1ZJN.mjs";
4
+ import { a as ie } from "./index-SilwoNEK.mjs";
5
+ import { D as C, C as $, a as de } from "./index-DWJG5OHB.mjs";
6
6
  import { i as S, t as ce, a as pe } from "./common-Cwl5jzlM.mjs";
7
7
  import "jmash-core";
8
8
  import { useI18n as me } from "vue-i18n";
9
- import { F as fe } from "./FileSaver.min-Dlb0564v.mjs";
9
+ import { F as fe } from "./FileSaver.min-FLjvLk81.mjs";
10
10
  import { E as j } from "./el-message-BJAl6Gwu.mjs";
11
11
  const _e = { key: 0 }, ve = { key: 1 }, be = {
12
12
  key: 2,
@@ -1,5 +1,5 @@
1
1
  import { useUserStore as s, clearEmpty as n, request as a } from "jmash-core";
2
- import { q as o } from "./index-BzzIS37Q.mjs";
2
+ import { q as o } from "./index-SilwoNEK.mjs";
3
3
  class _ {
4
4
  getKey(t) {
5
5
  return {
@@ -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-CTX-1ZJN.mjs";
5
- import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-COV7eZfh.mjs";
4
+ import { D as N, C as Z, i as x } from "./index-DWJG5OHB.mjs";
5
+ import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-D4j6dzcV.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,10 +1,10 @@
1
- import { defineComponent as J, ref as S, reactive as R, onActivated as X, resolveComponent as s, resolveDirective as Z, createElementBlock as h, openBlock as d, createElementVNode as b, createVNode as o, createBlock as I, createCommentVNode as D, withCtx as l, unref as r, withKeys as x, createTextVNode as y, toDisplayString as i, withDirectives as C, isRef as z } from "vue";
1
+ import { defineComponent as J, ref as S, reactive as R, onActivated as X, resolveComponent as s, resolveDirective as Z, createElementBlock as P, openBlock as d, createElementVNode as b, createVNode as o, createBlock as h, createCommentVNode as D, withCtx as l, unref as r, withKeys as x, createTextVNode as y, toDisplayString as i, withDirectives as C, isRef as z } from "vue";
2
2
  import { useTableHooks as ee } from "jmash-core";
3
3
  import { useI18n as te } from "vue-i18n";
4
- import { i as le } from "./index-Cc1yu7_y.mjs";
5
- import ae from "./edit-DYzjfcpe.mjs";
6
- import { _ as oe } from "./info.vue_vue_type_script_setup_true_lang-C9LpdXNC.mjs";
7
- import { D as p, C as re } from "./index-CTX-1ZJN.mjs";
4
+ import { i as le } from "./index-C2_qB4RV.mjs";
5
+ import ae from "./edit-ChPw3-tf.mjs";
6
+ import { _ as oe } from "./info.vue_vue_type_script_setup_true_lang-CAfl8pgB.mjs";
7
+ import { D as p, C as re } from "./index-DWJG5OHB.mjs";
8
8
  import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
9
9
  const se = { class: "app-container" }, ie = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], me = ["onClick"], de = /* @__PURE__ */ J({
10
10
  __name: "index",
@@ -14,8 +14,8 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
14
14
  applyStatus: re.applyStatus.draft
15
15
  }), {
16
16
  tableHooks: u,
17
- multipleTableRef: U,
18
- queryFormRef: B,
17
+ multipleTableRef: B,
18
+ queryFormRef: U,
19
19
  listLoading: E,
20
20
  tableData: N,
21
21
  total: V
@@ -40,7 +40,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
40
40
  isColumn: !0
41
41
  },
42
42
  {
43
- label: "itsmFlowSpareParts.itemId",
43
+ label: "itsmFlowSpareParts.itsmFlowItemId",
44
44
  prop: "itemId",
45
45
  width: "150",
46
46
  sortable: "custom",
@@ -72,7 +72,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
72
72
  isColumn: !0
73
73
  },
74
74
  {
75
- label: "itsmFlowSpareParts.budgetType",
75
+ label: "itsmFlowSpareParts.itsmFlowBudgetType",
76
76
  prop: "budgetType",
77
77
  width: "105",
78
78
  sortable: "custom",
@@ -132,12 +132,12 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
132
132
  return X(() => {
133
133
  u.getList();
134
134
  }), (a, t) => {
135
- const k = s("jmash-select"), g = s("el-form-item"), c = s("el-col"), K = s("el-date-picker"), F = s("el-row"), $ = s("el-button"), Q = s("el-form"), H = s("jmash-column-select"), M = s("jmash-table"), W = s("jmash-pagination"), G = s("el-card"), P = Z("hasPerm");
136
- return d(), h("div", se, [
135
+ const k = s("jmash-select"), g = s("el-form-item"), c = s("el-col"), K = s("el-date-picker"), F = s("el-row"), $ = s("el-button"), Q = s("el-form"), H = s("jmash-column-select"), M = s("jmash-table"), W = s("jmash-pagination"), G = s("el-card"), I = Z("hasPerm");
136
+ return d(), P("div", se, [
137
137
  b("div", ie, [
138
138
  o(Q, {
139
139
  ref_key: "queryFormRef",
140
- ref: B,
140
+ ref: U,
141
141
  model: n.value,
142
142
  inline: !0
143
143
  }, {
@@ -168,7 +168,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
168
168
  o(c, { span: 6 }, {
169
169
  default: l(() => [
170
170
  o(g, {
171
- label: a.$t("itsmFlowSpareParts.itemId"),
171
+ label: a.$t("itsmFlowSpareParts.itsmFlowItemId"),
172
172
  prop: "itemId"
173
173
  }, {
174
174
  default: l(() => [
@@ -279,7 +279,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
279
279
  default: l(() => [
280
280
  o(c, { span: 17 }, {
281
281
  default: l(() => [
282
- C((d(), I($, {
282
+ C((d(), h($, {
283
283
  type: "primary",
284
284
  onClick: j
285
285
  }, {
@@ -288,7 +288,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
288
288
  ]),
289
289
  _: 1
290
290
  })), [
291
- [P, ["reports:itsm_flow_spare_parts:add"]]
291
+ [I, ["reports:itsm_flow_spare_parts:add"]]
292
292
  ])
293
293
  ]),
294
294
  _: 1
@@ -311,7 +311,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
311
311
  })
312
312
  ]),
313
313
  footer: l(() => [
314
- r(V) > 0 ? (d(), I(W, {
314
+ r(V) > 0 ? (d(), h(W, {
315
315
  key: 0,
316
316
  total: r(V),
317
317
  "onUpdate:total": t[8] || (t[8] = (e) => z(V) ? V.value = e : null),
@@ -325,7 +325,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
325
325
  default: l(() => [
326
326
  o(M, {
327
327
  ref_key: "multipleTableRef",
328
- ref: U,
328
+ ref: B,
329
329
  "row-key": "flowSpareId",
330
330
  "v-loading": r(E),
331
331
  data: r(N),
@@ -346,29 +346,29 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
346
346
  b("span", null, i(r(p).itemBizLayDict.getValue(e.data.row.itemId)), 1)
347
347
  ]),
348
348
  operation: l((e) => [
349
- C((d(), h("span", {
349
+ C((d(), P("span", {
350
350
  class: "el-button-color",
351
351
  onClick: (T) => L(e.data.row)
352
352
  }, [
353
353
  y(i(a.$t("common.edit")), 1)
354
354
  ], 8, ue)), [
355
- [P, ["reports:itsm_flow_spare_parts:update"]]
355
+ [I, ["reports:itsm_flow_spare_parts:update"]]
356
356
  ]),
357
- C((d(), h("span", {
357
+ C((d(), P("span", {
358
358
  class: "el-button-color dropdown-left",
359
359
  onClick: (T) => r(u).deleteRecord(e.data.row)
360
360
  }, [
361
361
  y(i(a.$t("common.delete")), 1)
362
362
  ], 8, pe)), [
363
- [P, ["reports:itsm_flow_spare_parts:delete"]]
363
+ [I, ["reports:itsm_flow_spare_parts:delete"]]
364
364
  ]),
365
- C((d(), h("span", {
365
+ C((d(), P("span", {
366
366
  class: "el-button-color dropdown-left",
367
367
  onClick: (T) => Y(e.data.row)
368
368
  }, [
369
369
  y(i(a.$t("common.view")), 1)
370
370
  ], 8, me)), [
371
- [P, ["itsmflow:itsm_flow_entrust:view"]]
371
+ [I, ["itsmflow:itsm_flow_entrust:view"]]
372
372
  ])
373
373
  ]),
374
374
  _: 1
@@ -376,7 +376,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
376
376
  ]),
377
377
  _: 1
378
378
  }),
379
- m.value.visible ? (d(), I(ae, {
379
+ m.value.visible ? (d(), h(ae, {
380
380
  key: 0,
381
381
  modelValue: m.value.visible,
382
382
  "onUpdate:modelValue": t[12] || (t[12] = (e) => m.value.visible = e),
@@ -385,7 +385,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
385
385
  onRefresh: A,
386
386
  width: "1200px"
387
387
  }, null, 8, ["modelValue", "title", "entity-key"])) : D("", !0),
388
- v.value.visible ? (d(), I(oe, {
388
+ v.value.visible ? (d(), h(oe, {
389
389
  key: 1,
390
390
  modelValue: v.value.visible,
391
391
  "onUpdate:modelValue": t[13] || (t[13] = (e) => v.value.visible = e),
@@ -396,7 +396,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
396
396
  ]);
397
397
  };
398
398
  }
399
- }), Ve = /* @__PURE__ */ ne(de, [["__scopeId", "data-v-22fea36b"]]);
399
+ }), Ve = /* @__PURE__ */ ne(de, [["__scopeId", "data-v-2ee5a7d4"]]);
400
400
  export {
401
401
  Ve as default
402
402
  };