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,7 +1,7 @@
1
- import { defineComponent as P, mergeModels as z, getCurrentInstance as R, ref as v, useModel as Y, nextTick as j, resolveComponent as b, createElementBlock as f, openBlock as d, Fragment as k, createVNode as l, withCtx as e, createElementVNode as F, createTextVNode as i, toDisplayString as u, renderList as T, unref as w, createBlock as M } from "vue";
1
+ import { defineComponent as P, mergeModels as z, getCurrentInstance as R, ref as v, useModel as Y, nextTick as j, resolveComponent as y, createElementBlock as p, openBlock as c, Fragment as k, createVNode as l, withCtx as e, createElementVNode as F, createTextVNode as r, toDisplayString as u, renderList as g, unref as w, createBlock as M } from "vue";
2
2
  import "element-plus";
3
- import { i as H } from "./index-BcVc6IOP.mjs";
4
- import { D as _, i as K, C as W } from "./index-CoORscq-.mjs";
3
+ import { i as H } from "./index-B5KQp7b0.mjs";
4
+ import { D as _, i as K, C as W } from "./index-DwxrOrrB.mjs";
5
5
  import { useUserStoreHook as q, fileApi as G } from "jmash-core";
6
6
  import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
7
  const Q = /* @__PURE__ */ P({
@@ -17,20 +17,20 @@ const Q = /* @__PURE__ */ P({
17
17
  modelModifiers: {}
18
18
  }),
19
19
  emits: ["update:modelValue"],
20
- setup(h, { expose: V }) {
21
- const { proxy: x } = R(), B = q();
20
+ setup(h, { expose: U }) {
21
+ const { proxy: V } = R(), x = q();
22
22
  _.userExtBizDict.useValues();
23
- const I = v(), m = Y(h, "modelValue"), O = v({}), g = v([]), L = v([]), C = v([]), n = v({}), $ = h;
24
- K.findFilesList({ actionId: $.task.businessKey }).then((t) => {
25
- var a, p;
26
- g.value = t.data.results;
27
- const s = ((a = _.fileTypeDict.values.slice(2, 3)[0]) == null ? void 0 : a.dictCode) || "", o = ((p = _.fileTypeDict.values.slice(3, 4)[0]) == null ? void 0 : p.dictCode) || "";
28
- L.value = g.value.filter(
29
- (r) => r.fileSort === s
30
- ), C.value = g.value.filter(
31
- (r) => r.fileSort === o
23
+ const L = v(), m = Y(h, "modelValue"), B = v({}), T = v([]), $ = v([]), C = v([]), n = v({}), I = h;
24
+ K.findFilesList({ actionId: I.task.businessKey }).then((t) => {
25
+ var a, f;
26
+ T.value = t.data.results;
27
+ const s = ((a = _.fileTypeDict.values.slice(2, 3)[0]) == null ? void 0 : a.dictCode) || "", o = ((f = _.fileTypeDict.values.slice(3, 4)[0]) == null ? void 0 : f.dictCode) || "";
28
+ $.value = T.value.filter(
29
+ (i) => i.fileSort === s
30
+ ), C.value = T.value.filter(
31
+ (i) => i.fileSort === o
32
32
  ), console.log(C.value, "=>filesList2 ");
33
- }), H.findById({ temporaryId: $.task.businessKey }).then(({ data: t }) => {
33
+ }), H.findById({ temporaryId: I.task.businessKey }).then(({ data: t }) => {
34
34
  n.value = t, n.value.outOrgId = t.outOrgId, j(() => {
35
35
  Object.assign(n.value, t);
36
36
  });
@@ -40,28 +40,28 @@ const Q = /* @__PURE__ */ P({
40
40
  console.log(t, "=> item");
41
41
  const s = G.fileUrl(t.fileSrc);
42
42
  console.log(s, "=> fileUrl");
43
- const a = await (await fetch(s)).blob(), p = window.URL.createObjectURL(a), r = document.createElement("a");
44
- r.href = p, r.download = t.fileName || "download", document.body.appendChild(r), r.click();
43
+ const a = await (await fetch(s)).blob(), f = window.URL.createObjectURL(a), i = document.createElement("a");
44
+ i.href = f, i.download = t.fileName || "download", document.body.appendChild(i), i.click();
45
45
  } catch {
46
46
  }
47
47
  }
48
- V({
49
- changeModel: () => S()
48
+ U({
49
+ changeModel: () => O()
50
50
  });
51
- function S() {
51
+ function O() {
52
52
  return m.value && (m.value.selectActions = [
53
53
  { key: "true", value: "同意" },
54
54
  { key: "false", value: "不同意" }
55
55
  ], m.value.varName = "approved", m.value.module = "", m.value.module = W.MODULE_ITSMFLOW), new Promise((t, s) => {
56
56
  var o;
57
- (o = I.value) == null || o.validate((a) => {
57
+ (o = L.value) == null || o.validate((a) => {
58
58
  a ? (m.value && (m.value.comment = ""), t(!0)) : s(!1);
59
59
  });
60
60
  });
61
61
  }
62
62
  return (t, s) => {
63
- const o = b("el-col"), a = b("el-form-item"), p = b("el-button"), r = b("el-row"), U = b("el-form");
64
- return d(), f(k, null, [
63
+ const o = y("el-col"), a = y("el-form-item"), f = y("el-button"), i = y("el-row"), S = y("el-form");
64
+ return c(), p(k, null, [
65
65
  l(o, { span: 24 }, {
66
66
  default: e(() => s[0] || (s[0] = [
67
67
  F("div", { class: "title" }, "内部临时工单", -1)
@@ -69,15 +69,15 @@ const Q = /* @__PURE__ */ P({
69
69
  _: 1,
70
70
  __: [0]
71
71
  }),
72
- l(U, {
72
+ l(S, {
73
73
  ref_key: "taskFormRef",
74
- ref: I,
75
- model: O.value,
74
+ ref: L,
75
+ model: B.value,
76
76
  "label-width": "150px",
77
77
  class: "custom-table-form custom-form"
78
78
  }, {
79
79
  default: e(() => [
80
- l(r, null, {
80
+ l(i, null, {
81
81
  default: e(() => [
82
82
  l(o, { span: 24 }, {
83
83
  default: e(() => [
@@ -86,7 +86,7 @@ const Q = /* @__PURE__ */ P({
86
86
  prop: "title"
87
87
  }, {
88
88
  default: e(() => [
89
- i(u(n.value.title), 1)
89
+ r(u(n.value.title), 1)
90
90
  ]),
91
91
  _: 1
92
92
  }, 8, ["label"])
@@ -100,7 +100,7 @@ const Q = /* @__PURE__ */ P({
100
100
  prop: "content"
101
101
  }, {
102
102
  default: e(() => [
103
- i(u(n.value.content), 1)
103
+ r(u(n.value.content), 1)
104
104
  ]),
105
105
  _: 1
106
106
  }, 8, ["label"])
@@ -109,25 +109,25 @@ const Q = /* @__PURE__ */ P({
109
109
  }),
110
110
  l(o, { span: 24 }, {
111
111
  default: e(() => [
112
- (d(!0), f(k, null, T(w(_).fileTypeDict.values.slice(2, 3), (c, E) => (d(), M(a, {
113
- key: c.dictCode,
114
- label: c.dictName
112
+ (c(!0), p(k, null, g(w(_).fileTypeDict.values.slice(2, 3), (d, E) => (c(), M(a, {
113
+ key: d.dictCode,
114
+ label: d.dictName
115
115
  }, {
116
116
  default: e(() => [
117
- (d(!0), f(k, null, T(L.value, (y, D) => (d(), f("div", {
117
+ (c(!0), p(k, null, g($.value, (b, D) => (c(), p("div", {
118
118
  key: D,
119
119
  class: "files-list"
120
120
  }, [
121
- F("span", null, u(y.fileName), 1),
122
- l(p, {
121
+ F("span", null, u(b.fileName), 1),
122
+ l(f, {
123
123
  type: "primary",
124
124
  link: "",
125
125
  size: "small",
126
126
  class: "icon-right",
127
- onClick: (A) => N(y)
127
+ onClick: (A) => N(b)
128
128
  }, {
129
129
  default: e(() => s[1] || (s[1] = [
130
- i(" 查看 ")
130
+ r(" 查看 ")
131
131
  ])),
132
132
  _: 2,
133
133
  __: [1]
@@ -145,7 +145,7 @@ const Q = /* @__PURE__ */ P({
145
145
  label: t.$t("itsmFlowTemporary.createBy")
146
146
  }, {
147
147
  default: e(() => [
148
- i(u(w(B).user.realName), 1)
148
+ r(u(w(x).user.realName), 1)
149
149
  ]),
150
150
  _: 1
151
151
  }, 8, ["label"])
@@ -159,10 +159,10 @@ const Q = /* @__PURE__ */ P({
159
159
  prop: "createTime"
160
160
  }, {
161
161
  default: e(() => {
162
- var c;
162
+ var d;
163
163
  return [
164
- i(u(w(x).$moment.formatDate(
165
- (c = n.value) == null ? void 0 : c.createTime,
164
+ r(u(w(V).$moment.formatDate(
165
+ (d = n.value) == null ? void 0 : d.createTime,
166
166
  "YYYY-MM-DD HH:mm:ss"
167
167
  )), 1)
168
168
  ];
@@ -175,11 +175,11 @@ const Q = /* @__PURE__ */ P({
175
175
  l(o, { span: 24 }, {
176
176
  default: e(() => [
177
177
  l(a, {
178
- label: t.$t("itsmFlowTemporary.userIdTemporary"),
178
+ label: t.$t("itsmFlowTemporary.assignUser"),
179
179
  prop: "userId"
180
180
  }, {
181
181
  default: e(() => [
182
- i(u(w(_).userExtBizDict.getValue(n.value.userId)), 1)
182
+ r(u(w(_).userExtBizDict.getValue(n.value.userId)), 1)
183
183
  ]),
184
184
  _: 1
185
185
  }, 8, ["label"])
@@ -193,7 +193,7 @@ const Q = /* @__PURE__ */ P({
193
193
  prop: "handlingPeriod"
194
194
  }, {
195
195
  default: e(() => [
196
- i(u(n.value.handlingPeriod), 1)
196
+ r(u(n.value.handlingPeriod), 1)
197
197
  ]),
198
198
  _: 1
199
199
  }, 8, ["label"])
@@ -207,7 +207,7 @@ const Q = /* @__PURE__ */ P({
207
207
  prop: "finishDate"
208
208
  }, {
209
209
  default: e(() => [
210
- i(u(n.value.finishDate), 1)
210
+ r(u(n.value.finishDate), 1)
211
211
  ]),
212
212
  _: 1
213
213
  }, 8, ["label"])
@@ -221,7 +221,7 @@ const Q = /* @__PURE__ */ P({
221
221
  prop: "completion"
222
222
  }, {
223
223
  default: e(() => [
224
- i(u(n.value.completion), 1)
224
+ r(u(n.value.completion), 1)
225
225
  ]),
226
226
  _: 1
227
227
  }, 8, ["label"])
@@ -230,25 +230,25 @@ const Q = /* @__PURE__ */ P({
230
230
  }),
231
231
  l(o, { span: 24 }, {
232
232
  default: e(() => [
233
- (d(!0), f(k, null, T(w(_).fileTypeDict.values.slice(3, 4), (c, E) => (d(), M(a, {
234
- key: c.dictCode,
235
- label: c.dictName
233
+ (c(!0), p(k, null, g(w(_).fileTypeDict.values.slice(3, 4), (d, E) => (c(), M(a, {
234
+ key: d.dictCode,
235
+ label: d.dictName
236
236
  }, {
237
237
  default: e(() => [
238
- (d(!0), f(k, null, T(C.value, (y, D) => (d(), f("div", {
238
+ (c(!0), p(k, null, g(C.value, (b, D) => (c(), p("div", {
239
239
  key: D,
240
240
  class: "files-list"
241
241
  }, [
242
- F("span", null, u(y.fileName), 1),
243
- l(p, {
242
+ F("span", null, u(b.fileName), 1),
243
+ l(f, {
244
244
  type: "primary",
245
245
  link: "",
246
246
  size: "small",
247
247
  class: "icon-right",
248
- onClick: (A) => N(y)
248
+ onClick: (A) => N(b)
249
249
  }, {
250
250
  default: e(() => s[2] || (s[2] = [
251
- i(" 查看 ")
251
+ r(" 查看 ")
252
252
  ])),
253
253
  _: 2,
254
254
  __: [2]
@@ -269,7 +269,7 @@ const Q = /* @__PURE__ */ P({
269
269
  ], 64);
270
270
  };
271
271
  }
272
- }), ae = /* @__PURE__ */ J(Q, [["__scopeId", "data-v-c6d4eacd"]]);
272
+ }), ae = /* @__PURE__ */ J(Q, [["__scopeId", "data-v-0b2c3fff"]]);
273
273
  export {
274
274
  ae as default
275
275
  };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as K, mergeModels as j, ref as _, useModel as q, watch as W, resolveComponent as b, createElementBlock as F, openBlock as m, Fragment as $, createVNode as t, withCtx as l, createElementVNode as f, createBlock as S, createCommentVNode as D, createTextVNode as n, toDisplayString as s, unref as v, renderList as C } from "vue";
2
2
  import "element-plus";
3
3
  import { useI18n as G } from "vue-i18n";
4
- import { D as d, C as H, i as J } from "./index-CoORscq-.mjs";
5
- import { i as Q, a as X } from "./index-Dn1b7GfK.mjs";
4
+ import { D as d, C as H, i as J } from "./index-DwxrOrrB.mjs";
5
+ import { i as Q, a as X } from "./index-DWAcpt7l.mjs";
6
6
  import { fileApi as Y } from "jmash-core";
7
7
  import { rbacApi as Z } from "jmash-rbac";
8
8
  import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
@@ -1,8 +1,8 @@
1
- import { defineComponent as ie, mergeModels as ue, ref as c, useModel as de, reactive as M, computed as N, watch as B, nextTick as ne, resolveComponent as d, createElementBlock as p, openBlock as n, Fragment as g, createVNode as o, withCtx as a, createElementVNode as me, unref as s, renderList as _, createBlock as h, createCommentVNode as pe, createTextVNode as A, toDisplayString as P } from "vue";
1
+ import { defineComponent as ie, mergeModels as ue, ref as c, useModel as de, reactive as N, computed as B, watch as A, nextTick as ne, resolveComponent as d, createElementBlock as p, openBlock as n, Fragment as g, createVNode as o, withCtx as a, createElementVNode as me, unref as s, renderList as _, createBlock as h, createCommentVNode as pe, createTextVNode as P, toDisplayString as V } from "vue";
2
2
  import "element-plus";
3
3
  import { useI18n as fe } from "vue-i18n";
4
- import { i as Y } from "./index-BcVc6IOP.mjs";
5
- import { D as I, O as z, C as F, i as ce } from "./index-CoORscq-.mjs";
4
+ import { i as Y } from "./index-B5KQp7b0.mjs";
5
+ import { D as I, O as z, C as F, i as ce } from "./index-DwxrOrrB.mjs";
6
6
  import { u as ge } from "./index-CvX2It1o.mjs";
7
7
  import { sysUserExtApi as ye } from "xyvcard-itsmsys";
8
8
  import { useUserStoreHook as Ie } from "jmash-core";
@@ -20,48 +20,48 @@ const be = /* @__PURE__ */ ie({
20
20
  modelModifiers: {}
21
21
  }),
22
22
  emits: ["update:modelValue"],
23
- setup(V, { expose: E }) {
24
- const j = Ie(), { t: f } = fe(), O = c();
23
+ setup(O, { expose: E }) {
24
+ const j = Ie(), { t: f } = fe(), k = c();
25
25
  I.itemBizLayDict.useValues();
26
- const m = de(V, "modelValue"), k = new z({ orgType: F.HALL });
27
- k.useValues();
28
- const q = new z({ orgType: F.OUTSOURCE });
29
- q.useValues(), I.userExtBizDict.useValues();
30
- const R = c((/* @__PURE__ */ new Date()).toISOString().split("T")[0]);
31
- let t = M({
26
+ const m = de(O, "modelValue"), q = new z({ orgType: F.HALL });
27
+ q.useValues();
28
+ const R = new z({ orgType: F.OUTSOURCE });
29
+ R.useValues(), I.userExtBizDict.useValues();
30
+ const $ = c((/* @__PURE__ */ new Date()).toISOString().split("T")[0]);
31
+ let l = N({
32
32
  requestId: Math.random() * 10 + "",
33
33
  files: [],
34
34
  temporaryType: F.External
35
35
  });
36
- const $ = N(() => t.govOrgId ? I.itemBizLayDict.values.filter(
37
- (l) => l.orgId === t.govOrgId
36
+ const C = B(() => l.govOrgId ? I.itemBizLayDict.values.filter(
37
+ (t) => t.orgId === l.govOrgId
38
38
  ) : []);
39
39
  function H(e) {
40
- t.itemId = void 0;
40
+ l.itemId = void 0;
41
41
  }
42
42
  const v = c([]), y = c([]);
43
43
  ye.findList().then((e) => {
44
44
  v.value = e.data.results;
45
- }), B(
46
- [v, () => t.userId],
47
- ([e, l]) => {
48
- e && l && t.outOrgId && (y.value = e.filter(
49
- (i) => i.orgId === t.outOrgId
45
+ }), A(
46
+ [v, () => l.userId],
47
+ ([e, t]) => {
48
+ e && t && l.outOrgId && (y.value = e.filter(
49
+ (i) => i.orgId === l.outOrgId
50
50
  ));
51
51
  },
52
52
  { immediate: !0 }
53
- ), B(
54
- () => t.outOrgId,
53
+ ), A(
54
+ () => l.outOrgId,
55
55
  (e) => {
56
56
  e && Array.isArray(v.value) ? (y.value = v.value.filter(
57
- (l) => l.orgId === e
58
- ), t.userId && !y.value.some(
59
- (l) => l.userId === t.userId
60
- ) && (t.userId = "")) : (y.value = [], t.userId = "");
57
+ (t) => t.orgId === e
58
+ ), l.userId && !y.value.some(
59
+ (t) => t.userId === l.userId
60
+ ) && (l.userId = "")) : (y.value = [], l.userId = "");
61
61
  },
62
62
  { immediate: !0 }
63
63
  );
64
- const T = c(!1), C = c(), K = M({
64
+ const T = c(!1), D = c(), K = N({
65
65
  govOrgId: [
66
66
  {
67
67
  required: !0,
@@ -104,38 +104,38 @@ const be = /* @__PURE__ */ ie({
104
104
  trigger: "change"
105
105
  }
106
106
  ]
107
- }), D = V, W = N(() => {
107
+ }), U = O, W = B(() => {
108
108
  const e = I.fileTypeDict.values.slice(2, 3)[0];
109
109
  return e ? e.dictCode : "temporary_file";
110
110
  });
111
111
  function G() {
112
- T.value = !0, C.value.clearFileList();
112
+ T.value = !0, D.value.clearFileList();
113
113
  }
114
114
  function J(e) {
115
- const l = {
115
+ const t = {
116
116
  fileName: e.name,
117
117
  fileId: e.response.fileId,
118
118
  fileSort: W.value,
119
119
  fileSrc: ""
120
120
  };
121
- t.files || (t.files = []), t.files.push(l), t.files = [...new Set(t.files)];
121
+ l.files || (l.files = []), l.files.push(t), l.files = [...new Set(l.files)];
122
122
  }
123
123
  function Q(e) {
124
- var l;
125
- (l = t.files) == null || l.splice(e, 1);
124
+ var t;
125
+ (t = l.files) == null || t.splice(e, 1);
126
126
  }
127
- Y.findById({ temporaryId: D.task.businessKey }).then(({ data: e }) => {
128
- t.outOrgId = e.outOrgId, ne(() => {
129
- Object.assign(t, e), X();
127
+ Y.findById({ temporaryId: U.task.businessKey }).then(({ data: e }) => {
128
+ l.outOrgId = e.outOrgId, ne(() => {
129
+ Object.assign(l, e), X();
130
130
  });
131
131
  });
132
132
  function X() {
133
- ce.findFilesList({ actionId: D.task.businessKey }).then(({ data: e }) => {
134
- e.results && Array.isArray(e.results) && (t.files = e.results.map((l) => {
133
+ ce.findFilesList({ actionId: U.task.businessKey }).then(({ data: e }) => {
134
+ console.log(e, "=> data22"), e.results && Array.isArray(e.results) && (l.files = e.results.map((t) => {
135
135
  let i = "";
136
- return l.fileName && (i = l.fileSort || l.type || ""), {
137
- fileName: l.fileName || "",
138
- fileId: l.fileId || "",
136
+ return t.fileName && (i = t.fileSort || t.type || ""), {
137
+ fileName: t.fileName || "",
138
+ fileId: t.fileId || "",
139
139
  fileSort: i
140
140
  };
141
141
  }));
@@ -148,29 +148,29 @@ const be = /* @__PURE__ */ ie({
148
148
  return m.value && (m.value.selectActions = [
149
149
  { key: "true", value: "同意" },
150
150
  { key: "false", value: "不同意" }
151
- ], m.value.varName = "approved", m.value.module = "", m.value.module = F.MODULE_ITSMFLOW), new Promise((e, l) => {
151
+ ], m.value.varName = "approved", m.value.module = "", m.value.module = F.MODULE_ITSMFLOW), new Promise((e, t) => {
152
152
  var i;
153
- (i = O.value) == null || i.validate((b) => {
154
- b ? (m.value && (m.value.comment = ""), t.requestId = Math.random() * 10 + "", Y.create(t).then((u) => {
155
- u.status === 200 ? e(!0) : l(!1);
156
- })) : l(!1);
153
+ (i = k.value) == null || i.validate((b) => {
154
+ b ? (m.value && (m.value.comment = ""), l.requestId = Math.random() * 10 + "", Y.create(l).then((u) => {
155
+ u.status === 200 ? e(!0) : t(!1);
156
+ })) : t(!1);
157
157
  });
158
158
  });
159
159
  }
160
- return (e, l) => {
161
- const i = d("el-col"), b = d("jmash-select"), u = d("el-form-item"), U = d("el-option"), S = d("el-select"), w = d("el-input"), x = d("el-date-picker"), ee = d("el-button"), le = d("CircleClose"), te = d("el-icon"), oe = d("el-row"), re = d("el-form"), ae = d("jmash-multi-upload");
160
+ return (e, t) => {
161
+ const i = d("el-col"), b = d("jmash-select"), u = d("el-form-item"), S = d("el-option"), L = d("el-select"), w = d("el-input"), x = d("el-date-picker"), ee = d("el-button"), le = d("CircleClose"), te = d("el-icon"), oe = d("el-row"), re = d("el-form"), ae = d("jmash-multi-upload");
162
162
  return n(), p(g, null, [
163
163
  o(i, { span: 24 }, {
164
- default: a(() => l[9] || (l[9] = [
165
- me("div", { class: "title" }, "外部临时工单临时工单", -1)
164
+ default: a(() => t[9] || (t[9] = [
165
+ me("div", { class: "title" }, "外部临时工单", -1)
166
166
  ])),
167
167
  _: 1,
168
168
  __: [9]
169
169
  }),
170
170
  o(re, {
171
171
  ref_key: "taskFormRef",
172
- ref: O,
173
- model: s(t),
172
+ ref: k,
173
+ model: s(l),
174
174
  "label-width": "150px",
175
175
  rules: K,
176
176
  class: "custom-table-form custom-form"
@@ -186,10 +186,10 @@ const be = /* @__PURE__ */ ie({
186
186
  }, {
187
187
  default: a(() => [
188
188
  o(b, {
189
- modelValue: s(t).govOrgId,
190
- "onUpdate:modelValue": l[0] || (l[0] = (r) => s(t).govOrgId = r),
189
+ modelValue: s(l).govOrgId,
190
+ "onUpdate:modelValue": t[0] || (t[0] = (r) => s(l).govOrgId = r),
191
191
  placeholder: e.$t("itsmFlowSpareParts.govOrgIdRequired"),
192
- data: s(k).values,
192
+ data: s(q).values,
193
193
  clearable: "",
194
194
  filterable: "",
195
195
  class: "w-full",
@@ -208,17 +208,17 @@ const be = /* @__PURE__ */ ie({
208
208
  prop: "itemId"
209
209
  }, {
210
210
  default: a(() => [
211
- o(S, {
212
- modelValue: s(t).itemId,
213
- "onUpdate:modelValue": l[1] || (l[1] = (r) => s(t).itemId = r),
211
+ o(L, {
212
+ modelValue: s(l).itemId,
213
+ "onUpdate:modelValue": t[1] || (t[1] = (r) => s(l).itemId = r),
214
214
  placeholder: e.$t("itsmFlowSpareParts.itemIdRequired"),
215
- data: $.value,
215
+ data: C.value,
216
216
  clearable: "",
217
217
  filterable: "",
218
- disabled: !s(t).govOrgId
218
+ disabled: !s(l).govOrgId
219
219
  }, {
220
220
  default: a(() => [
221
- (n(!0), p(g, null, _($.value, (r) => (n(), h(U, {
221
+ (n(!0), p(g, null, _(C.value, (r) => (n(), h(S, {
222
222
  key: r.key,
223
223
  value: r.key,
224
224
  label: r.value
@@ -259,8 +259,8 @@ const be = /* @__PURE__ */ ie({
259
259
  }, {
260
260
  default: a(() => [
261
261
  o(x, {
262
- modelValue: R.value,
263
- "onUpdate:modelValue": l[2] || (l[2] = (r) => R.value = r),
262
+ modelValue: $.value,
263
+ "onUpdate:modelValue": t[2] || (t[2] = (r) => $.value = r),
264
264
  type: "date",
265
265
  placeholder: e.$t("itsmFlowTemporary.createTimeRequired"),
266
266
  format: "YYYY-MM-DD",
@@ -283,8 +283,8 @@ const be = /* @__PURE__ */ ie({
283
283
  }, {
284
284
  default: a(() => [
285
285
  o(w, {
286
- modelValue: s(t).title,
287
- "onUpdate:modelValue": l[3] || (l[3] = (r) => s(t).title = r),
286
+ modelValue: s(l).title,
287
+ "onUpdate:modelValue": t[3] || (t[3] = (r) => s(l).title = r),
288
288
  placeholder: e.$t("itsmFlowTemporary.titleRequired"),
289
289
  "show-word-limit": "",
290
290
  clearable: ""
@@ -303,8 +303,8 @@ const be = /* @__PURE__ */ ie({
303
303
  }, {
304
304
  default: a(() => [
305
305
  o(w, {
306
- modelValue: s(t).content,
307
- "onUpdate:modelValue": l[4] || (l[4] = (r) => s(t).content = r),
306
+ modelValue: s(l).content,
307
+ "onUpdate:modelValue": t[4] || (t[4] = (r) => s(l).content = r),
308
308
  placeholder: e.$t("itsmFlowTemporary.contentRequired"),
309
309
  "show-word-limit": "",
310
310
  clearable: ""
@@ -330,24 +330,24 @@ const be = /* @__PURE__ */ ie({
330
330
  onClick: G
331
331
  }, {
332
332
  default: a(() => [
333
- A(P(e.$t("common.uploadFiles")), 1)
333
+ P(V(e.$t("common.uploadFiles")), 1)
334
334
  ]),
335
335
  _: 1
336
336
  }, 8, ["icon"])
337
337
  ]),
338
338
  _: 2
339
339
  }, 1032, ["label"]),
340
- s(t).files && s(t).files.length > 0 ? (n(), h(u, { key: 0 }, {
340
+ s(l).files && s(l).files.length > 0 ? (n(), h(u, { key: 0 }, {
341
341
  default: a(() => [
342
- (n(!0), p(g, null, _(s(t).files, (se, L) => (n(), p("div", {
343
- key: L,
342
+ (n(!0), p(g, null, _(s(l).files, (se, M) => (n(), p("div", {
343
+ key: M,
344
344
  class: "files-list"
345
345
  }, [
346
- A(P(se.fileName) + " ", 1),
346
+ P(V(s(l).files) + " " + V(se.fileName) + " ", 1),
347
347
  o(te, {
348
348
  size: "16",
349
349
  class: "icon-right",
350
- onClick: (_e) => Q(L)
350
+ onClick: (_e) => Q(M)
351
351
  }, {
352
352
  default: a(() => [
353
353
  o(le)
@@ -370,10 +370,10 @@ const be = /* @__PURE__ */ ie({
370
370
  }, {
371
371
  default: a(() => [
372
372
  o(b, {
373
- modelValue: s(t).outOrgId,
374
- "onUpdate:modelValue": l[5] || (l[5] = (r) => s(t).outOrgId = r),
373
+ modelValue: s(l).outOrgId,
374
+ "onUpdate:modelValue": t[5] || (t[5] = (r) => s(l).outOrgId = r),
375
375
  placeholder: e.$t("itsmFlowTemporary.outOrgIdRequired"),
376
- data: s(q).values,
376
+ data: s(R).values,
377
377
  clearable: "",
378
378
  filterable: "",
379
379
  class: "w-full"
@@ -391,16 +391,16 @@ const be = /* @__PURE__ */ ie({
391
391
  prop: "userId"
392
392
  }, {
393
393
  default: a(() => [
394
- o(S, {
395
- modelValue: s(t).userId,
396
- "onUpdate:modelValue": l[6] || (l[6] = (r) => s(t).userId = r),
394
+ o(L, {
395
+ modelValue: s(l).userId,
396
+ "onUpdate:modelValue": t[6] || (t[6] = (r) => s(l).userId = r),
397
397
  placeholder: e.$t("itsmFlowTemporary.userIdRequired"),
398
398
  "show-word-limit": "",
399
399
  clearable: "",
400
400
  class: "w-full"
401
401
  }, {
402
402
  default: a(() => [
403
- (n(!0), p(g, null, _(y.value, (r) => (n(), h(U, {
403
+ (n(!0), p(g, null, _(y.value, (r) => (n(), h(S, {
404
404
  key: r.userId,
405
405
  value: r.userId,
406
406
  label: r.realName
@@ -422,8 +422,8 @@ const be = /* @__PURE__ */ ie({
422
422
  }, {
423
423
  default: a(() => [
424
424
  o(w, {
425
- modelValue: s(t).handlingPeriod,
426
- "onUpdate:modelValue": l[7] || (l[7] = (r) => s(t).handlingPeriod = r),
425
+ modelValue: s(l).handlingPeriod,
426
+ "onUpdate:modelValue": t[7] || (t[7] = (r) => s(l).handlingPeriod = r),
427
427
  placeholder: e.$t("itsmFlowTemporary.handlingPeriodRequired"),
428
428
  "show-word-limit": "",
429
429
  clearable: ""
@@ -442,15 +442,15 @@ const be = /* @__PURE__ */ ie({
442
442
  }, 8, ["model", "rules"]),
443
443
  o(ae, {
444
444
  ref_key: "uploadRef",
445
- ref: C,
445
+ ref: D,
446
446
  modelValue: T.value,
447
- "onUpdate:modelValue": l[8] || (l[8] = (r) => T.value = r),
447
+ "onUpdate:modelValue": t[8] || (t[8] = (r) => T.value = r),
448
448
  onUploadFileList: J
449
449
  }, null, 8, ["modelValue"])
450
450
  ], 64);
451
451
  };
452
452
  }
453
- }), Ce = /* @__PURE__ */ ve(be, [["__scopeId", "data-v-c459c313"]]);
453
+ }), Ce = /* @__PURE__ */ ve(be, [["__scopeId", "data-v-54b42478"]]);
454
454
  export {
455
455
  Ce as default
456
456
  };