xyvcard-itsm-flow 0.0.37 → 0.0.39

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 (71) hide show
  1. package/dist/{FileSaver.min-CcRexVWs.mjs → FileSaver.min-BMRKyFh3.mjs} +1 -1
  2. package/dist/{edit-CYO8KzcD.mjs → edit-BFj-cJFf.mjs} +2 -2
  3. package/dist/{edit-mhTHPQB-.mjs → edit-BvUjc7UO.mjs} +1 -1
  4. package/dist/{edit-tabydyPH.mjs → edit-C0Cq_jUX.mjs} +29 -29
  5. package/dist/{edit-ndrtIw5g.mjs → edit-D5gwJVQO.mjs} +1 -1
  6. package/dist/{edit-BrYSwWm8.mjs → edit-DdqzI_Iq.mjs} +1 -1
  7. package/dist/{edit-B8FY8M6x.mjs → edit-_XNRhIfe.mjs} +2 -2
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-BztTRMJP.mjs → edit.vue_vue_type_script_setup_true_lang--_knO1G4.mjs} +1 -1
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-9PY1bpNe.mjs → edit.vue_vue_type_script_setup_true_lang-7II7oUb_.mjs} +1 -1
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-bjVhQ_PJ.mjs → edit.vue_vue_type_script_setup_true_lang-BYIOm05z.mjs} +74 -70
  11. package/dist/{index-CKbI3tpx.mjs → index-B1x_AsUO.mjs} +4 -4
  12. package/dist/{index-DcgRM3T_.mjs → index-B59VK1az.mjs} +1 -1
  13. package/dist/{index-BcVc6IOP.mjs → index-B5KQp7b0.mjs} +1397 -1414
  14. package/dist/{index-BZCrZ2NM.mjs → index-BK3NeBLn.mjs} +3 -3
  15. package/dist/{index-seo1ROVp.mjs → index-BXVGgaak.mjs} +3 -3
  16. package/dist/{index-DqA8Hu3s.mjs → index-BYasxdX5.mjs} +96 -95
  17. package/dist/{index-DYF5Sb7s.mjs → index-B_TzXrea.mjs} +3 -3
  18. package/dist/{index-DDDjPU_6.mjs → index-CPHJcvoG.mjs} +1 -1
  19. package/dist/{index-hXWnm8E3.mjs → index-CPODIJ6K.mjs} +3 -3
  20. package/dist/{index-Ba5u8NXB.mjs → index-CQL-UkUY.mjs} +3 -3
  21. package/dist/{index-BAKUoBpo.mjs → index-CTvPaVzG.mjs} +72 -71
  22. package/dist/{index-DrQ7FvTu.mjs → index-CVonkny_.mjs} +3 -3
  23. package/dist/{index-BGtM6tx9.mjs → index-Cja8t3fR.mjs} +16 -16
  24. package/dist/{index-DO1JH6jO.mjs → index-CkGX7IFU.mjs} +2 -2
  25. package/dist/{index-Qnybzvhx.mjs → index-CoNeIE2w.mjs} +2 -2
  26. package/dist/{index-y58uESmU.mjs → index-CqIW6atk.mjs} +2 -2
  27. package/dist/{index-BbwdlA0W.mjs → index-CtUgoV4T.mjs} +4 -4
  28. package/dist/{index-Cm4MxGFZ.mjs → index-DK9cXze_.mjs} +4 -4
  29. package/dist/{index-BAnj1Koq.mjs → index-DLEEV11K.mjs} +55 -55
  30. package/dist/{index-BvoGbtCI.mjs → index-DNeSW0zf.mjs} +2 -2
  31. package/dist/{index-XHwUs18-.mjs → index-DOM5SeKc.mjs} +84 -84
  32. package/dist/{index-CzBjNiWz.mjs → index-DQjv9iQi.mjs} +12 -12
  33. package/dist/{index-Dn1b7GfK.mjs → index-DWAcpt7l.mjs} +1 -1
  34. package/dist/{index-Bmh2A5D0.mjs → index-DYbwtCeL.mjs} +2 -2
  35. package/dist/{index-C3a-IeXB.mjs → index-DaoE55n4.mjs} +3 -3
  36. package/dist/{index-CDYf1Lun.mjs → index-DjhLqSYC.mjs} +3 -3
  37. package/dist/{index-BBbYRQLd.mjs → index-Dp5NTPRt.mjs} +3 -3
  38. package/dist/{index-CoORscq-.mjs → index-DwxrOrrB.mjs} +20 -19
  39. package/dist/{index-FqOQHZLY.mjs → index-clGn5YjC.mjs} +2 -2
  40. package/dist/{index-60w9n0dT.mjs → index-m1fbkwSk.mjs} +2 -2
  41. package/dist/{index-BHufDvTp.mjs → index-soCKhzqO.mjs} +2 -2
  42. package/dist/{index-CIn70URA.mjs → index-wW4PUujK.mjs} +17 -17
  43. package/dist/{index-ByTfXvfu.mjs → index-yJ9WXclc.mjs} +2 -2
  44. package/dist/index.mjs +1 -1
  45. package/dist/{info-CHxS6e-5.mjs → info-B5uBfnYf.mjs} +1 -1
  46. package/dist/{info-CQu4kti_.mjs → info-BEWZzCVW.mjs} +1 -1
  47. package/dist/{info-CRbFsX7X.mjs → info-BULR864o.mjs} +1 -1
  48. package/dist/{info-B1nuQXGG.mjs → info-BaZXP7TI.mjs} +1 -1
  49. package/dist/info-CY0Une2D.mjs +4 -0
  50. package/dist/info-CsRGF3xk.mjs +4 -0
  51. package/dist/info-CxVGph6R.mjs +4 -0
  52. package/dist/info-D9nurmGm.mjs +4 -0
  53. package/dist/info-F4ootkog.mjs +4 -0
  54. package/dist/{info.vue_vue_type_script_setup_true_lang-JgJStqvz.mjs → info.vue_vue_type_script_setup_true_lang-B5uTH_2O.mjs} +28 -27
  55. package/dist/{info.vue_vue_type_script_setup_true_lang-BSPpLDkD.mjs → info.vue_vue_type_script_setup_true_lang-BIXF9GEE.mjs} +1 -1
  56. package/dist/{info.vue_vue_type_script_setup_true_lang-DnfgKcgP.mjs → info.vue_vue_type_script_setup_true_lang-Bi1mHnjh.mjs} +2 -2
  57. package/dist/{info.vue_vue_type_script_setup_true_lang-CIRdXvCE.mjs → info.vue_vue_type_script_setup_true_lang-CAwX89Kj.mjs} +2 -2
  58. package/dist/{info.vue_vue_type_script_setup_true_lang-B6I27uus.mjs → info.vue_vue_type_script_setup_true_lang-CCZjqFA6.mjs} +2 -2
  59. package/dist/{info.vue_vue_type_script_setup_true_lang-Ca_011gq.mjs → info.vue_vue_type_script_setup_true_lang-CE8Yg9AD.mjs} +2 -2
  60. package/dist/{info.vue_vue_type_script_setup_true_lang-DA3rqMgU.mjs → info.vue_vue_type_script_setup_true_lang-CFUnSMzb.mjs} +11 -11
  61. package/dist/{info.vue_vue_type_script_setup_true_lang-CJKMJgJT.mjs → info.vue_vue_type_script_setup_true_lang-EUowm_f8.mjs} +51 -50
  62. package/dist/{info.vue_vue_type_script_setup_true_lang-CEuLYRI4.mjs → info.vue_vue_type_script_setup_true_lang-F83TFtID.mjs} +1 -1
  63. package/dist/style.css +1 -1
  64. package/dts/constant.d.ts +1 -0
  65. package/dts/lang/itsm-flow/zh-cn.d.ts +1 -0
  66. package/package.json +2 -2
  67. package/dist/info-D2SRN11N.mjs +0 -4
  68. package/dist/info-Dp-hn9ce.mjs +0 -4
  69. package/dist/info-M92gprUH.mjs +0 -4
  70. package/dist/info-XOKKyoyw.mjs +0 -4
  71. package/dist/info-mSFJ4xKX.mjs +0 -4
@@ -1,12 +1,11 @@
1
- import { defineComponent as re, mergeModels as ie, ref as b, useModel as se, reactive as A, computed as ue, watch as E, nextTick as de, resolveComponent as n, createElementBlock as f, openBlock as u, Fragment as y, createVNode as a, withCtx as o, createElementVNode as D, unref as m, renderList as g, createBlock as k, toDisplayString as ne, createTextVNode as me } from "vue";
1
+ import { defineComponent as re, mergeModels as ie, ref as y, useModel as se, reactive as A, computed as ue, watch as z, nextTick as de, resolveComponent as n, createElementBlock as f, openBlock as d, Fragment as w, createVNode as a, withCtx as o, createElementVNode as S, unref as p, renderList as g, createBlock as k, toDisplayString as ne, createTextVNode as me } from "vue";
2
2
  import { useI18n as pe } from "vue-i18n";
3
3
  import { useUserStoreHook as fe, fileApi as ce } from "jmash-core";
4
4
  import "element-plus";
5
- import { i as z } from "./index-BcVc6IOP.mjs";
6
- import { D as w, O as j, C as S, i as K } from "./index-CoORscq-.mjs";
5
+ import { i as E } from "./index-B5KQp7b0.mjs";
6
+ import { D as c, O as j, C as D, i as K } from "./index-DwxrOrrB.mjs";
7
7
  import { sysUserExtApi as ve } from "xyvcard-itsmsys";
8
- import { E as be } from "./el-message-BJAl6Gwu.mjs";
9
- const ke = /* @__PURE__ */ re({
8
+ const Fe = /* @__PURE__ */ re({
10
9
  __name: "index",
11
10
  props: /* @__PURE__ */ ie({
12
11
  task: {
@@ -20,27 +19,27 @@ const ke = /* @__PURE__ */ re({
20
19
  }),
21
20
  emits: ["update:modelValue"],
22
21
  setup(O, { expose: H }) {
23
- w.itemBizLayDict.useValues();
24
- const { t: W } = pe(), U = b(), c = se(O, "modelValue"), G = fe(), $ = new j({ orgType: S.HALL });
22
+ c.itemBizLayDict.useValues();
23
+ const { t: W } = pe(), U = y(), v = se(O, "modelValue"), G = fe(), $ = new j({ orgType: D.HALL });
25
24
  $.useValues();
26
- const M = new j({ orgType: S.OUTSOURCE });
27
- M.useValues(), w.userExtBizDict.useValues();
28
- const V = b([]), i = b({}), R = b([]), F = b([]), q = b((/* @__PURE__ */ new Date()).toISOString().split("T")[0]), T = O;
29
- let p = A({
25
+ const R = new j({ orgType: D.OUTSOURCE });
26
+ R.useValues(), c.userExtBizDict.useValues();
27
+ const I = y([]), i = y({}), q = y([]), F = y([]), C = y((/* @__PURE__ */ new Date()).toISOString().split("T")[0]), T = O;
28
+ let m = A({
30
29
  requestId: Math.random() * 10 + "",
31
30
  files: [],
32
31
  finishDate: (/* @__PURE__ */ new Date()).toISOString().split("T")[0],
33
32
  temporaryId: T.task.businessKey
34
33
  });
35
- const L = ue(() => i.value.govOrgId ? w.itemBizLayDict.values.filter(
34
+ const L = ue(() => i.value.govOrgId ? c.itemBizLayDict.values.filter(
36
35
  (e) => e.orgId === i.value.govOrgId
37
- ) : []), N = b([]);
36
+ ) : []), M = y([]);
38
37
  ve.findList().then((l) => {
39
- R.value = l.data.results;
40
- }), E(
41
- [R, () => i.value.userId],
38
+ q.value = l.data.results;
39
+ }), z(
40
+ [q, () => i.value.userId],
42
41
  ([l, e]) => {
43
- l && e && i.value.outOrgId && (N.value = l.filter(
42
+ l && e && i.value.outOrgId && (M.value = l.filter(
44
43
  (r) => r.orgId === i.value.outOrgId
45
44
  ));
46
45
  },
@@ -59,50 +58,52 @@ const ke = /* @__PURE__ */ re({
59
58
  F.value = l.data.results;
60
59
  });
61
60
  function Q() {
62
- var d;
63
- const e = ((d = w.fileTypeDict.values.slice(3, 4)[0]) == null ? void 0 : d.dictCode) || "";
61
+ var u;
62
+ const e = ((u = c.fileTypeDict.values.slice(3, 4)[0]) == null ? void 0 : u.dictCode) || "";
64
63
  let r = F.value.filter(
65
64
  (s) => s.fileSort === e
66
65
  );
67
66
  r.length === 0 && r.push({
68
67
  fileSrc: "",
69
68
  fileSort: e
70
- }), V.value = r;
69
+ }), I.value = r;
71
70
  }
72
- E(F, () => {
71
+ z(F, () => {
73
72
  Q();
74
73
  });
75
74
  function X(l) {
75
+ var r;
76
76
  if (!l || l.length === 0) {
77
- be.warning("请选择要上传的图片");
77
+ const u = ((r = c.fileTypeDict.values.slice(3, 4)[0]) == null ? void 0 : r.dictCode) || "";
78
+ I.value = [{ fileSrc: "", fileSort: u }], m.files = [];
78
79
  return;
79
80
  }
80
- const e = l.map((r) => {
81
- var d;
81
+ const e = l.map((u) => {
82
+ var s;
82
83
  return {
83
- fileId: r.fileId,
84
- fileName: r.fileName,
85
- fileSrc: r.fileSrc,
86
- fileSort: ((d = V.value[0]) == null ? void 0 : d.fileSort) || w.fileTypeDict.values.slice(3, 4)[0].dictCode
84
+ fileId: u.fileId,
85
+ fileName: u.fileName,
86
+ fileSrc: u.fileSrc,
87
+ fileSort: ((s = I.value[0]) == null ? void 0 : s.fileSort) || c.fileTypeDict.values.slice(3, 4)[0].dictCode
87
88
  };
88
89
  });
89
- V.value = [...e], p.files = [...e];
90
+ I.value = [...e], m.files = [...e];
90
91
  }
91
92
  async function Z(l) {
92
93
  try {
93
- const e = ce.fileUrl(l.fileSrc), d = await (await fetch(e)).blob(), s = window.URL.createObjectURL(d), v = document.createElement("a");
94
- v.href = s, v.download = l.fileName || "download", document.body.appendChild(v), v.click();
94
+ const e = ce.fileUrl(l.fileSrc), u = await (await fetch(e)).blob(), s = window.URL.createObjectURL(u), b = document.createElement("a");
95
+ b.href = s, b.download = l.fileName || "download", document.body.appendChild(b), b.click();
95
96
  } catch {
96
97
  }
97
98
  }
98
- z.findById({ temporaryId: T.task.businessKey }).then(({ data: l }) => {
99
+ E.findById({ temporaryId: T.task.businessKey }).then(({ data: l }) => {
99
100
  i.value = { ...l }, de(() => {
100
101
  i.value ? Object.assign(i.value, l) : i.value = { ...l }, x();
101
102
  });
102
103
  });
103
104
  function x() {
104
105
  K.findFilesList({ actionId: T.task.businessKey }).then(({ data: l }) => {
105
- l.results && Array.isArray(l.results) && (p.files = l.results.map((e) => {
106
+ l.results && Array.isArray(l.results) && (m.files = l.results.map((e) => {
106
107
  let r = "";
107
108
  return e.fileName && (r = e.fileSort || e.type || ""), {
108
109
  fileName: e.fileName || "",
@@ -117,24 +118,24 @@ const ke = /* @__PURE__ */ re({
117
118
  changeModel: () => ee()
118
119
  });
119
120
  function ee() {
120
- return c.value && (c.value.selectActions = [
121
+ return v.value && (v.value.selectActions = [
121
122
  { key: "true", value: "同意" },
122
123
  { key: "false", value: "不同意" }
123
- ], c.value.varName = "approved", c.value.module = "", c.value.module = S.MODULE_ITSMFLOW), new Promise((l, e) => {
124
+ ], v.value.varName = "approved", v.value.module = "", v.value.module = D.MODULE_ITSMFLOW), new Promise((l, e) => {
124
125
  var r;
125
- (r = U.value) == null || r.validate((d) => {
126
- d ? (c.value && (c.value.comment = ""), p.requestId = Math.random() * 10 + "", z.finish(p).then((s) => {
126
+ (r = U.value) == null || r.validate((u) => {
127
+ u ? (v.value && (v.value.comment = ""), m.requestId = Math.random() * 10 + "", E.finish(m).then((s) => {
127
128
  s.status === 200 ? l(!0) : e(!1);
128
129
  })) : e(!1);
129
130
  });
130
131
  });
131
132
  }
132
133
  return (l, e) => {
133
- const r = n("el-col"), d = n("jmash-select"), s = n("el-form-item"), v = n("el-option"), C = n("el-select"), I = n("el-input"), B = n("el-date-picker"), le = n("el-button"), ae = n("jmash-multi-image-upload"), te = n("el-row"), oe = n("el-form");
134
- return u(), f(y, null, [
134
+ const r = n("el-col"), u = n("jmash-select"), s = n("el-form-item"), b = n("el-option"), N = n("el-select"), h = n("el-input"), B = n("el-date-picker"), le = n("el-button"), ae = n("jmash-multi-image-upload"), te = n("el-row"), oe = n("el-form");
135
+ return d(), f(w, null, [
135
136
  a(r, { span: 24 }, {
136
137
  default: o(() => e[10] || (e[10] = [
137
- D("div", { class: "title" }, "外部临时工单", -1)
138
+ S("div", { class: "title" }, "外部临时工单", -1)
138
139
  ])),
139
140
  _: 1,
140
141
  __: [10]
@@ -142,7 +143,7 @@ const ke = /* @__PURE__ */ re({
142
143
  a(oe, {
143
144
  ref_key: "taskFormRef",
144
145
  ref: U,
145
- model: m(p),
146
+ model: p(m),
146
147
  "label-width": "150px",
147
148
  rules: J,
148
149
  class: "custom-table-form"
@@ -157,11 +158,11 @@ const ke = /* @__PURE__ */ re({
157
158
  prop: "govOrgId"
158
159
  }, {
159
160
  default: o(() => [
160
- a(d, {
161
+ a(u, {
161
162
  modelValue: i.value.govOrgId,
162
163
  "onUpdate:modelValue": e[0] || (e[0] = (t) => i.value.govOrgId = t),
163
164
  placeholder: l.$t("itsmFlowSpareParts.govOrgIdRequired"),
164
- data: m($).values,
165
+ data: p($).values,
165
166
  clearable: "",
166
167
  filterable: "",
167
168
  class: "w-full",
@@ -180,7 +181,7 @@ const ke = /* @__PURE__ */ re({
180
181
  prop: "itemId"
181
182
  }, {
182
183
  default: o(() => [
183
- a(C, {
184
+ a(N, {
184
185
  modelValue: i.value.itemId,
185
186
  "onUpdate:modelValue": e[1] || (e[1] = (t) => i.value.itemId = t),
186
187
  placeholder: l.$t("itsmFlowSpareParts.itemIdRequired"),
@@ -190,7 +191,7 @@ const ke = /* @__PURE__ */ re({
190
191
  disabled: !0
191
192
  }, {
192
193
  default: o(() => [
193
- (u(!0), f(y, null, g(L.value, (t) => (u(), k(v, {
194
+ (d(!0), f(w, null, g(L.value, (t) => (d(), k(b, {
194
195
  key: t.key,
195
196
  value: t.key,
196
197
  label: t.value
@@ -210,8 +211,8 @@ const ke = /* @__PURE__ */ re({
210
211
  label: l.$t("itsmFlowTemporary.createBy")
211
212
  }, {
212
213
  default: o(() => [
213
- a(I, {
214
- value: m(G).user.realName,
214
+ a(h, {
215
+ value: p(G).user.realName,
215
216
  placeholder: l.$t("itsmFlowTemporary.createUserRequired"),
216
217
  "show-word-limit": "",
217
218
  clearable: "",
@@ -231,8 +232,8 @@ const ke = /* @__PURE__ */ re({
231
232
  }, {
232
233
  default: o(() => [
233
234
  a(B, {
234
- modelValue: q.value,
235
- "onUpdate:modelValue": e[2] || (e[2] = (t) => q.value = t),
235
+ modelValue: C.value,
236
+ "onUpdate:modelValue": e[2] || (e[2] = (t) => C.value = t),
236
237
  type: "date",
237
238
  placeholder: l.$t("itsmFlowTemporary.createTimeRequired"),
238
239
  format: "YYYY-MM-DD",
@@ -254,7 +255,7 @@ const ke = /* @__PURE__ */ re({
254
255
  prop: "title"
255
256
  }, {
256
257
  default: o(() => [
257
- a(I, {
258
+ a(h, {
258
259
  modelValue: i.value.title,
259
260
  "onUpdate:modelValue": e[3] || (e[3] = (t) => i.value.title = t),
260
261
  placeholder: l.$t("itsmFlowTemporary.titleRequired"),
@@ -275,7 +276,7 @@ const ke = /* @__PURE__ */ re({
275
276
  prop: "content"
276
277
  }, {
277
278
  default: o(() => [
278
- a(I, {
279
+ a(h, {
279
280
  modelValue: i.value.content,
280
281
  "onUpdate:modelValue": e[4] || (e[4] = (t) => i.value.content = t),
281
282
  placeholder: l.$t("itsmFlowTemporary.contentRequired"),
@@ -291,22 +292,22 @@ const ke = /* @__PURE__ */ re({
291
292
  }),
292
293
  a(r, { span: 24 }, {
293
294
  default: o(() => [
294
- (u(!0), f(y, null, g(m(w).fileTypeDict.values.slice(2, 3), (t, P) => (u(), k(s, {
295
+ (d(!0), f(w, null, g(p(c).fileTypeDict.values.slice(2, 3), (t, P) => (d(), k(s, {
295
296
  key: t.dictCode,
296
297
  label: t.dictName
297
298
  }, {
298
299
  default: o(() => [
299
- (u(!0), f(y, null, g(F.value, (h, _) => (u(), f("div", {
300
+ (d(!0), f(w, null, g(F.value, (V, _) => (d(), f("div", {
300
301
  key: _,
301
302
  class: "files-list"
302
303
  }, [
303
- D("span", null, ne(h.fileName), 1),
304
+ S("span", null, ne(V.fileName), 1),
304
305
  a(le, {
305
306
  type: "primary",
306
307
  link: "",
307
308
  size: "small",
308
309
  class: "icon-right",
309
- onClick: (Y) => Z(h)
310
+ onClick: (Y) => Z(V)
310
311
  }, {
311
312
  default: o(() => e[11] || (e[11] = [
312
313
  me(" 查看 ")
@@ -328,11 +329,11 @@ const ke = /* @__PURE__ */ re({
328
329
  prop: "outOrgId"
329
330
  }, {
330
331
  default: o(() => [
331
- a(d, {
332
+ a(u, {
332
333
  modelValue: i.value.outOrgId,
333
334
  "onUpdate:modelValue": e[5] || (e[5] = (t) => i.value.outOrgId = t),
334
335
  placeholder: l.$t("itsmFlowTemporary.outOrgIdRequired"),
335
- data: m(M).values,
336
+ data: p(R).values,
336
337
  clearable: "",
337
338
  filterable: "",
338
339
  class: "w-full",
@@ -351,7 +352,7 @@ const ke = /* @__PURE__ */ re({
351
352
  prop: "userId"
352
353
  }, {
353
354
  default: o(() => [
354
- a(C, {
355
+ a(N, {
355
356
  modelValue: i.value.userId,
356
357
  "onUpdate:modelValue": e[6] || (e[6] = (t) => i.value.userId = t),
357
358
  placeholder: l.$t("itsmFlowTemporary.userIdRequired"),
@@ -361,7 +362,7 @@ const ke = /* @__PURE__ */ re({
361
362
  disabled: !0
362
363
  }, {
363
364
  default: o(() => [
364
- (u(!0), f(y, null, g(N.value, (t) => (u(), k(v, {
365
+ (d(!0), f(w, null, g(M.value, (t) => (d(), k(b, {
365
366
  key: t.userId,
366
367
  value: t.userId,
367
368
  label: t.realName
@@ -382,7 +383,7 @@ const ke = /* @__PURE__ */ re({
382
383
  prop: "handlingPeriod"
383
384
  }, {
384
385
  default: o(() => [
385
- a(I, {
386
+ a(h, {
386
387
  modelValue: i.value.handlingPeriod,
387
388
  "onUpdate:modelValue": e[7] || (e[7] = (t) => i.value.handlingPeriod = t),
388
389
  placeholder: l.$t("itsmFlowTemporary.handlingPeriodRequired"),
@@ -404,8 +405,8 @@ const ke = /* @__PURE__ */ re({
404
405
  }, {
405
406
  default: o(() => [
406
407
  a(B, {
407
- modelValue: m(p).finishDate,
408
- "onUpdate:modelValue": e[8] || (e[8] = (t) => m(p).finishDate = t),
408
+ modelValue: p(m).finishDate,
409
+ "onUpdate:modelValue": e[8] || (e[8] = (t) => p(m).finishDate = t),
409
410
  type: "date",
410
411
  placeholder: l.$t("itsmFlowTemporary.finishDateRequired"),
411
412
  format: "YYYY-MM-DD",
@@ -424,9 +425,9 @@ const ke = /* @__PURE__ */ re({
424
425
  prop: "completion"
425
426
  }, {
426
427
  default: o(() => [
427
- a(I, {
428
- modelValue: m(p).completion,
429
- "onUpdate:modelValue": e[9] || (e[9] = (t) => m(p).completion = t),
428
+ a(h, {
429
+ modelValue: p(m).completion,
430
+ "onUpdate:modelValue": e[9] || (e[9] = (t) => p(m).completion = t),
430
431
  placeholder: l.$t("itsmFlowTemporary.completionRequired"),
431
432
  "show-word-limit": "",
432
433
  clearable: ""
@@ -439,24 +440,24 @@ const ke = /* @__PURE__ */ re({
439
440
  }),
440
441
  a(r, { span: 24 }, {
441
442
  default: o(() => [
442
- (u(!0), f(y, null, g(m(w).fileTypeDict.values.slice(3, 4), (t, P) => (u(), k(s, {
443
+ (d(!0), f(w, null, g(p(c).fileTypeDict.values.slice(3, 4), (t, P) => (d(), k(s, {
443
444
  key: t.dictCode,
444
445
  label: t.dictName,
445
446
  prop: "files." + P + ".fileSrc"
446
447
  }, {
447
448
  default: o(() => [
448
- (u(!0), f(y, null, g(V.value, (h, _) => (u(), f("div", {
449
+ (d(!0), f(w, null, g(I.value, (V, _) => (d(), f("div", {
449
450
  key: _,
450
451
  class: "files-list"
451
452
  }, [
452
453
  a(ae, {
453
- modelValue: h.fileSrc,
454
- "onUpdate:modelValue": (Y) => h.fileSrc = Y,
454
+ modelValue: V.fileSrc,
455
+ "onUpdate:modelValue": (Y) => V.fileSrc = Y,
455
456
  limit: 6,
456
457
  "list-type": "picture-card",
457
458
  onUploadFileList: X
458
459
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
459
- e[12] || (e[12] = D("div", { class: "red-color" }, " 推荐尺寸:100 * 100或同比例图片,最大2MB ", -1))
460
+ e[12] || (e[12] = S("div", { class: "red-color" }, " 推荐尺寸:100 * 100或同比例图片,最大2MB ", -1))
460
461
  ]))), 128))
461
462
  ]),
462
463
  _: 2
@@ -475,5 +476,5 @@ const ke = /* @__PURE__ */ re({
475
476
  }
476
477
  });
477
478
  export {
478
- ke as default
479
+ Fe as default
479
480
  };
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as Y, getCurrentInstance as x, ref as _, reactive as M, onActivated as W, resolveComponent as i, resolveDirective as G, createElementBlock as g, openBlock as y, createElementVNode as T, createVNode as o, createBlock as D, createCommentVNode as V, withCtx as l, unref as r, withKeys as S, createTextVNode as b, toDisplayString as u, withDirectives as J, isRef as B } from "vue";
2
2
  import { useTableHooks as X } from "jmash-core";
3
3
  import { useI18n as Z } from "vue-i18n";
4
- import { i as ee } from "./index-BcVc6IOP.mjs";
5
- import { _ as te } from "./info.vue_vue_type_script_setup_true_lang-CJKMJgJT.mjs";
6
- import { D as p, O as le, C as oe } from "./index-CoORscq-.mjs";
4
+ import { i as ee } from "./index-B5KQp7b0.mjs";
5
+ import { _ as te } from "./info.vue_vue_type_script_setup_true_lang-EUowm_f8.mjs";
6
+ import { D as p, O as le, C as oe } from "./index-DwxrOrrB.mjs";
7
7
  import { rbacApi as ae } from "jmash-rbac";
8
8
  const re = { class: "app-container" }, ne = { class: "search-container" }, ie = { key: 0 }, se = ["onClick"], _e = /* @__PURE__ */ Y({
9
9
  __name: "index",
@@ -1,11 +1,11 @@
1
- import { defineComponent as A, mergeModels as E, getCurrentInstance as P, ref as f, useModel as U, resolveComponent as c, createElementBlock as _, openBlock as p, Fragment as y, createVNode as t, withCtx as l, createElementVNode as h, createTextVNode as u, toDisplayString as m, renderList as C, unref as b, createBlock as x } from "vue";
1
+ import { defineComponent as A, mergeModels as U, getCurrentInstance as E, ref as f, useModel as P, resolveComponent as c, createElementBlock as _, openBlock as p, Fragment as y, createVNode as t, withCtx as l, createElementVNode as T, createTextVNode as u, toDisplayString as m, renderList as C, unref as b, createBlock as x } from "vue";
2
2
  import { rbacApi as O } from "jmash-rbac";
3
- import { i as R, C as Y, D } from "./index-CoORscq-.mjs";
3
+ import { i as R, C as Y, D } from "./index-DwxrOrrB.mjs";
4
4
  import { fileApi as S } from "jmash-core";
5
- import { i as j } from "./index-BcVc6IOP.mjs";
5
+ import { i as j } from "./index-B5KQp7b0.mjs";
6
6
  const Q = /* @__PURE__ */ A({
7
7
  __name: "index",
8
- props: /* @__PURE__ */ E({
8
+ props: /* @__PURE__ */ U({
9
9
  task: {
10
10
  type: Object,
11
11
  default: () => {
@@ -16,14 +16,14 @@ const Q = /* @__PURE__ */ A({
16
16
  modelModifiers: {}
17
17
  }),
18
18
  emits: ["update:modelValue"],
19
- setup(w, { expose: I }) {
20
- const { proxy: M } = P(), k = f(), B = f({}), s = U(w, "modelValue"), F = w, i = f();
19
+ setup(w, { expose: M }) {
20
+ const { proxy: B } = E(), k = f(), I = f({}), s = P(w, "modelValue"), F = w, i = f();
21
21
  j.findById({ temporaryId: F.task.businessKey }).then((a) => {
22
22
  i.value = a.data;
23
23
  });
24
- const T = f([]);
24
+ const g = f([]);
25
25
  R.findFilesList({ actionId: F.task.businessKey }).then((a) => {
26
- T.value = a.data.results, console.log(a.data.results, "=> files");
26
+ g.value = a.data.results, console.log(a.data.results, "=> files");
27
27
  });
28
28
  async function N(a) {
29
29
  try {
@@ -32,7 +32,7 @@ const Q = /* @__PURE__ */ A({
32
32
  } catch {
33
33
  }
34
34
  }
35
- I({
35
+ M({
36
36
  changeModel: () => $()
37
37
  });
38
38
  function $() {
@@ -51,7 +51,7 @@ const Q = /* @__PURE__ */ A({
51
51
  return p(), _(y, null, [
52
52
  t(o, { span: 24 }, {
53
53
  default: l(() => n[0] || (n[0] = [
54
- h("div", { class: "title" }, "内部临时工单", -1)
54
+ T("div", { class: "title" }, "内部临时工单", -1)
55
55
  ])),
56
56
  _: 1,
57
57
  __: [0]
@@ -59,7 +59,7 @@ const Q = /* @__PURE__ */ A({
59
59
  t(L, {
60
60
  ref_key: "taskFormRef",
61
61
  ref: k,
62
- model: B.value,
62
+ model: I.value,
63
63
  "label-width": "150px",
64
64
  class: "custom-table-form custom-form"
65
65
  }, {
@@ -110,17 +110,17 @@ const Q = /* @__PURE__ */ A({
110
110
  label: e.dictName
111
111
  }, {
112
112
  default: l(() => [
113
- (p(!0), _(y, null, C(T.value, (g, V) => (p(), _("div", {
113
+ (p(!0), _(y, null, C(g.value, (h, V) => (p(), _("div", {
114
114
  key: V,
115
115
  class: "files-list"
116
116
  }, [
117
- h("span", null, m(g.fileName), 1),
117
+ T("span", null, m(h.fileName), 1),
118
118
  t(v, {
119
119
  type: "primary",
120
120
  link: "",
121
121
  size: "small",
122
122
  class: "icon-right",
123
- onClick: (H) => N(g)
123
+ onClick: (H) => N(h)
124
124
  }, {
125
125
  default: l(() => n[1] || (n[1] = [
126
126
  u(" 查看 ")
@@ -161,7 +161,7 @@ const Q = /* @__PURE__ */ A({
161
161
  default: l(() => {
162
162
  var e;
163
163
  return [
164
- u(m(b(M).$moment.formatDate(
164
+ u(m(b(B).$moment.formatDate(
165
165
  (e = i.value) == null ? void 0 : e.createTime,
166
166
  "YYYY-MM-DD HH:mm:ss"
167
167
  )), 1)
@@ -175,7 +175,7 @@ const Q = /* @__PURE__ */ A({
175
175
  t(o, { span: 24 }, {
176
176
  default: l(() => [
177
177
  t(r, {
178
- label: a.$t("itsmFlowTemporary.userIdTemporary"),
178
+ label: a.$t("itsmFlowTemporary.assignUser"),
179
179
  prop: "userId"
180
180
  }, {
181
181
  default: l(() => {
@@ -3,8 +3,8 @@ import { ElMessage as q } from "element-plus";
3
3
  import { d as Ve, p as Se, u as _e, c as Pe } from "./index-CvX2It1o.mjs";
4
4
  import "jmash-rbac";
5
5
  import { useI18n as Ie } from "vue-i18n";
6
- import { i as G, a as $e } from "./index-Dn1b7GfK.mjs";
7
- import { D as h, i as qe, C as ke } from "./index-CoORscq-.mjs";
6
+ import { i as G, a as $e } from "./index-DWAcpt7l.mjs";
7
+ import { D as h, i as qe, C as ke } from "./index-DwxrOrrB.mjs";
8
8
  import { itemBudgetApi as J } from "xyvcard-itsm";
9
9
  import { useUserStoreHook as Me } from "jmash-core";
10
10
  import { _ as Be } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
@@ -2,8 +2,8 @@ import { defineComponent as H, ref as N, reactive as W, resolveComponent as u, r
2
2
  import { useTableHooks as M } from "jmash-core";
3
3
  import { useI18n as X } from "vue-i18n";
4
4
  import { i as Y } from "./common-Cwl5jzlM.mjs";
5
- import { D as k, O as Z, C as x } from "./index-CoORscq-.mjs";
6
- import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-CEuLYRI4.mjs";
5
+ import { D as k, O as Z, C as x } from "./index-DwxrOrrB.mjs";
6
+ import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-F83TFtID.mjs";
7
7
  const le = { class: "app-container" }, oe = { class: "search-container" }, te = ["onClick"], de = /* @__PURE__ */ H({
8
8
  __name: "index",
9
9
  setup(ne) {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as X, getCurrentInstance as Z, ref as h, onMounted as ee, resolveComponent as s, resolveDirective as te, createElementBlock as C, openBlock as _, createElementVNode as k, createVNode as r, withCtx as l, withKeys as $, unref as n, createTextVNode as c, toDisplayString as p, createCommentVNode as V, createBlock as M, isRef as N, withDirectives as ae } from "vue";
2
2
  import { useUserStore as T, clearEmpty as I, request as B, useTableHooks as le } from "jmash-core";
3
3
  import { useI18n as oe } from "vue-i18n";
4
- import { q as re } from "./index-BcVc6IOP.mjs";
4
+ import { q as re } from "./index-B5KQp7b0.mjs";
5
5
  import { rbacApi as ne } from "jmash-rbac";
6
- import { D as R } from "./index-CoORscq-.mjs";
6
+ import { D as R } from "./index-DwxrOrrB.mjs";
7
7
  class se {
8
8
  getKey(m) {
9
9
  return {};
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as te, getCurrentInstance as le, ref as w, reactive as R, onActivated as oe, resolveComponent as s, resolveDirective as ae, createElementBlock as _, openBlock as u, createElementVNode as v, createVNode as a, createBlock as V, createCommentVNode as C, withCtx as l, unref as r, withKeys as re, createTextVNode as p, toDisplayString as n, withDirectives as F, isRef as U } from "vue";
2
2
  import { useTableHooks as ie } from "jmash-core";
3
3
  import { useI18n as ne } from "vue-i18n";
4
- import { i as se } from "./index-BcVc6IOP.mjs";
5
- import me from "./edit-B8FY8M6x.mjs";
6
- import { _ as ue } from "./info.vue_vue_type_script_setup_true_lang-Ca_011gq.mjs";
7
- import { D as T, O as j, C as $ } from "./index-CoORscq-.mjs";
4
+ import { i as se } from "./index-B5KQp7b0.mjs";
5
+ import me from "./edit-_XNRhIfe.mjs";
6
+ import { _ as ue } from "./info.vue_vue_type_script_setup_true_lang-CE8Yg9AD.mjs";
7
+ import { D as T, O as j, C as $ } from "./index-DwxrOrrB.mjs";
8
8
  import { rbacApi as de } from "jmash-rbac";
9
9
  const pe = { class: "app-container" }, ce = { class: "search-container" }, ye = { key: 0 }, fe = ["onClick"], ve = ["onClick"], ge = ["onClick"], Fe = /* @__PURE__ */ te({
10
10
  __name: "index",
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as X, getCurrentInstance as Z, ref as k, reactive as z, onActivated as ee, resolveComponent as i, resolveDirective as te, createElementBlock as w, openBlock as m, createElementVNode as $, createVNode as a, createBlock as h, createCommentVNode as C, withCtx as o, unref as r, withKeys as le, createTextVNode as p, toDisplayString as u, withDirectives as V, isRef as R } from "vue";
2
2
  import { useTableHooks as oe } from "jmash-core";
3
3
  import { useI18n as ae } from "vue-i18n";
4
- import { i as re } from "./index-BcVc6IOP.mjs";
5
- import ie from "./edit-tabydyPH.mjs";
6
- import { _ as ne } from "./info.vue_vue_type_script_setup_true_lang-DA3rqMgU.mjs";
7
- import { D as _, O as se, C as P } from "./index-CoORscq-.mjs";
4
+ import { i as re } from "./index-B5KQp7b0.mjs";
5
+ import ie from "./edit-C0Cq_jUX.mjs";
6
+ import { _ as ne } from "./info.vue_vue_type_script_setup_true_lang-CFUnSMzb.mjs";
7
+ import { D as _, O as se, C as P } from "./index-DwxrOrrB.mjs";
8
8
  import { rbacApi as me } from "jmash-rbac";
9
9
  const ue = { class: "app-container" }, de = { class: "search-container" }, pe = { key: 0 }, ce = ["onClick"], fe = ["onClick"], ye = ["onClick"], Ie = /* @__PURE__ */ X({
10
10
  __name: "index",