xyvcard-itsm-flow 0.0.25 → 0.0.27

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 (58) hide show
  1. package/dist/{FileSaver.min-Dlb0564v.mjs → FileSaver.min-DDqwfEMu.mjs} +1 -1
  2. package/dist/{edit-b1Qpq27u.mjs → edit-BH_qEChy.mjs} +1 -1
  3. package/dist/{edit-X4DuZAeC.mjs → edit-BWaFYsWY.mjs} +2 -2
  4. package/dist/{edit-DGLeO86x.mjs → edit-BpAjiLxu.mjs} +36 -36
  5. package/dist/{edit-Bb1ZMrgr.mjs → edit-CkGTDSiH.mjs} +1 -1
  6. package/dist/{edit-DEz__zGH.mjs → edit-D0-xQV59.mjs} +1 -1
  7. package/dist/{edit-DYzjfcpe.mjs → edit-DIyC972n.mjs} +45 -43
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-DDFusQ6S.mjs → edit.vue_vue_type_script_setup_true_lang-CEHUWh-t.mjs} +2 -2
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-DK-kdI-u.mjs → edit.vue_vue_type_script_setup_true_lang-CxUe7kvR.mjs} +1 -1
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-COV7eZfh.mjs → edit.vue_vue_type_script_setup_true_lang-DcDT5675.mjs} +1 -1
  11. package/dist/{index-COlNrHOr.mjs → index-B20ya3NZ.mjs} +56 -56
  12. package/dist/{index-B3Od63yb.mjs → index-BKQGui3N.mjs} +3 -3
  13. package/dist/{index-ChiSO5mf.mjs → index-BKveaoi_.mjs} +18 -18
  14. package/dist/{index-Cc1yu7_y.mjs → index-Bjjyjlwd.mjs} +1 -1
  15. package/dist/{index-C6QayKyI.mjs → index-BkqkF7bW.mjs} +1 -1
  16. package/dist/{index-uhCfQAOU.mjs → index-C3zQQDPa.mjs} +3 -3
  17. package/dist/{index-BjIcvBcw.mjs → index-CGDEQO2p.mjs} +2 -2
  18. package/dist/{index-XQliRAX-.mjs → index-CI9FMMKr.mjs} +9 -9
  19. package/dist/{index-DReilvk8.mjs → index-CQ9elIv7.mjs} +2 -2
  20. package/dist/{index-D4hmXu0K.mjs → index-CV6uWLV9.mjs} +68 -68
  21. package/dist/{index-BzzIS37Q.mjs → index-CXOeg2so.mjs} +1426 -1444
  22. package/dist/{index-ZQIeIrUc.mjs → index-Cd9CTAUb.mjs} +27 -27
  23. package/dist/{index-Crv7Y3gz.mjs → index-Chh_9yED.mjs} +21 -21
  24. package/dist/{index-UIHGXuWX.mjs → index-CillImY_.mjs} +128 -128
  25. package/dist/{index-41pGjG4z.mjs → index-CjYlJigX.mjs} +13 -13
  26. package/dist/{index-CsRdrLdB.mjs → index-D6Poyzq3.mjs} +2 -2
  27. package/dist/{index-Dr2VSx72.mjs → index-DBRVK73O.mjs} +2 -2
  28. package/dist/{index-CTX-1ZJN.mjs → index-DTY8LR57.mjs} +1 -1
  29. package/dist/{index-BnbyM6r8.mjs → index-DY5EGkfi.mjs} +3 -3
  30. package/dist/{index-Ddn-uP9d.mjs → index-DcDzU5zK.mjs} +44 -44
  31. package/dist/{index-DB_7mB_B.mjs → index-DfptoNZ3.mjs} +93 -85
  32. package/dist/{index-DTmCekOe.mjs → index-DjZysfQB.mjs} +26 -26
  33. package/dist/index-DxoX_XqQ.mjs +384 -0
  34. package/dist/{index-CUdCuMce.mjs → index-QPdQNctc.mjs} +5 -5
  35. package/dist/{index-CK8x-scl.mjs → index-WpTFFCXY.mjs} +3 -3
  36. package/dist/{index-CJmsWz8H.mjs → index-YBHgdjIk.mjs} +25 -25
  37. package/dist/{index-Dx_iePKi.mjs → index-n6pwVFlo.mjs} +1 -1
  38. package/dist/{index-DsEA0PWP.mjs → index-qvWMlGg9.mjs} +2 -2
  39. package/dist/{index-BL1EL_Kk.mjs → index-rHARbj0G.mjs} +3 -3
  40. package/dist/index.mjs +1 -1
  41. package/dist/{info-ChOjJGUZ.mjs → info-0Dcd8VrX.mjs} +1 -1
  42. package/dist/{info-CqJnfPyk.mjs → info-BmfgBiif.mjs} +1 -1
  43. package/dist/{info-Cu1I8L0Q.mjs → info-C1J_4HDK.mjs} +1 -1
  44. package/dist/{info-C7BOFhdZ.mjs → info-DTZck-Y6.mjs} +1 -1
  45. package/dist/info-DjtHpeoT.mjs +4 -0
  46. package/dist/info-qIG0jebP.mjs +4 -0
  47. package/dist/{info.vue_vue_type_script_setup_true_lang-C9LpdXNC.mjs → info.vue_vue_type_script_setup_true_lang-0cRfUL0q.mjs} +10 -10
  48. package/dist/{info.vue_vue_type_script_setup_true_lang-BupLtTsI.mjs → info.vue_vue_type_script_setup_true_lang-BeDGwXfi.mjs} +8 -8
  49. package/dist/{info.vue_vue_type_script_setup_true_lang-CxZBVr6Z.mjs → info.vue_vue_type_script_setup_true_lang-CETcd2E0.mjs} +1 -1
  50. package/dist/{info.vue_vue_type_script_setup_true_lang-CwpN4E5Y.mjs → info.vue_vue_type_script_setup_true_lang-CEoQybvz.mjs} +2 -2
  51. package/dist/{info.vue_vue_type_script_setup_true_lang-D36lalXS.mjs → info.vue_vue_type_script_setup_true_lang-CdfnKI3-.mjs} +2 -2
  52. package/dist/{info.vue_vue_type_script_setup_true_lang-_Rd1Paqi.mjs → info.vue_vue_type_script_setup_true_lang-CzLGZ50z.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/index-M_tEOKq6.mjs +0 -366
  57. package/dist/info-DDaeV1sJ.mjs +0 -4
  58. package/dist/info-DstAR0-a.mjs +0 -4
@@ -1,8 +1,8 @@
1
- import { defineComponent as K, mergeModels as q, ref as v, useModel as H, reactive as W, computed as O, nextTick as G, resolveComponent as m, createElementBlock as b, openBlock as _, Fragment as I, createVNode as l, withCtx as t, createElementVNode as $, unref as d, createTextVNode as s, toDisplayString as n, renderList as B, createBlock as J } from "vue";
2
- import { useUserStoreHook as Q, fileApi as T } from "jmash-core";
1
+ import { defineComponent as K, mergeModels as q, ref as v, useModel as H, reactive as W, computed as B, nextTick as G, resolveComponent as m, createElementBlock as y, openBlock as _, Fragment as I, createVNode as l, withCtx as t, createElementVNode as O, unref as d, createTextVNode as s, toDisplayString as n, renderList as $, createBlock as J } from "vue";
2
+ import { useUserStoreHook as Q, fileApi as k } from "jmash-core";
3
3
  import "element-plus";
4
- import { i as X } from "./index-BzzIS37Q.mjs";
5
- import { D as u, i as N, C as Y } from "./index-CTX-1ZJN.mjs";
4
+ import { i as X } from "./index-CXOeg2so.mjs";
5
+ import { D as u, i as N, C as Y } from "./index-DTY8LR57.mjs";
6
6
  const ae = /* @__PURE__ */ K({
7
7
  __name: "index",
8
8
  props: /* @__PURE__ */ q({
@@ -18,32 +18,32 @@ const ae = /* @__PURE__ */ K({
18
18
  emits: ["update:modelValue"],
19
19
  setup(h, { expose: L }) {
20
20
  u.orgIdBizDict.useValues();
21
- const D = v(), c = H(h, "modelValue"), P = Q();
21
+ const D = v(), p = H(h, "modelValue"), P = Q();
22
22
  u.itemBizLayDict.useValues(), u.userExtBizDict.useValues(), v([]);
23
- const r = v({}), y = v([]), U = v((/* @__PURE__ */ new Date()).toISOString().split("T")[0]), g = h;
23
+ const i = v({}), b = v([]), z = v((/* @__PURE__ */ new Date()).toISOString().split("T")[0]), g = h;
24
24
  let S = W({});
25
25
  N.findFilesList({ actionId: g.task.businessKey }).then((e) => {
26
- y.value = e.data.results, console.log(e.data.results, "=> files");
26
+ b.value = e.data.results, console.log(e.data.results, "=> files");
27
27
  });
28
- const C = O(() => {
28
+ const C = B(() => {
29
29
  var a;
30
30
  const o = ((a = u.fileTypeDict.values.slice(3, 4)[0]) == null ? void 0 : a.dictCode) || "";
31
- return y.value.filter((i) => i.fileSort === o);
32
- }), z = O(() => {
31
+ return b.value.filter((r) => r.fileSort === o);
32
+ }), U = B(() => {
33
33
  var o;
34
34
  const e = (o = u.fileTypeDict.values[2]) == null ? void 0 : o.dictCode;
35
- return y.value.filter((a) => a.fileSort === e);
35
+ return b.value.filter((a) => a.fileSort === e);
36
36
  });
37
37
  async function A(e) {
38
38
  try {
39
- const o = T.fileUrl(e.filePath), i = await (await fetch(o)).blob(), w = window.URL.createObjectURL(i), p = document.createElement("a");
40
- p.href = w, p.download = e.fileName || "download", document.body.appendChild(p), p.click();
39
+ const o = k.fileUrl(e.filePath), r = await (await fetch(o)).blob(), w = window.URL.createObjectURL(r), c = document.createElement("a");
40
+ c.href = w, c.download = e.fileName || "download", document.body.appendChild(c), c.click();
41
41
  } catch {
42
42
  }
43
43
  }
44
44
  X.findById({ temporaryId: g.task.businessKey }).then(({ data: e }) => {
45
- r.value = { ...e }, G(() => {
46
- r.value ? Object.assign(r.value, e) : r.value = { ...e }, M();
45
+ i.value = { ...e }, G(() => {
46
+ i.value ? Object.assign(i.value, e) : i.value = { ...e }, M();
47
47
  });
48
48
  });
49
49
  function M() {
@@ -63,22 +63,22 @@ const ae = /* @__PURE__ */ K({
63
63
  changeModel: () => E()
64
64
  });
65
65
  function E() {
66
- return c.value && (c.value.selectActions = [
66
+ return p.value && (p.value.selectActions = [
67
67
  { key: "true", value: "同意" },
68
68
  { key: "false", value: "不同意" }
69
- ], c.value.varName = "approved", c.value.module = "", c.value.module = Y.MODULE_ITSMFLOW), new Promise((e, o) => {
69
+ ], p.value.varName = "approved", p.value.module = "", p.value.module = Y.MODULE_ITSMFLOW), new Promise((e, o) => {
70
70
  var a;
71
- (a = D.value) == null || a.validate((i) => {
72
- i ? (c.value && (c.value.comment = ""), e(!0)) : o(!1);
71
+ (a = D.value) == null || a.validate((r) => {
72
+ r ? (p.value && (p.value.comment = ""), e(!0)) : o(!1);
73
73
  });
74
74
  });
75
75
  }
76
76
  return (e, o) => {
77
- const a = m("el-col"), i = m("el-form-item"), w = m("el-button"), p = m("el-image"), R = m("el-row"), j = m("el-form");
78
- return _(), b(I, null, [
77
+ const a = m("el-col"), r = m("el-form-item"), w = m("el-button"), c = m("el-image"), R = m("el-row"), j = m("el-form");
78
+ return _(), y(I, null, [
79
79
  l(a, { span: 24 }, {
80
80
  default: t(() => o[0] || (o[0] = [
81
- $("div", { class: "title" }, "外部临时工单", -1)
81
+ O("div", { class: "title" }, "外部临时工单", -1)
82
82
  ])),
83
83
  _: 1,
84
84
  __: [0]
@@ -95,12 +95,12 @@ const ae = /* @__PURE__ */ K({
95
95
  default: t(() => [
96
96
  l(a, { span: 24 }, {
97
97
  default: t(() => [
98
- l(i, {
98
+ l(r, {
99
99
  label: e.$t("itsmFlowSpareParts.govOrgId"),
100
100
  prop: "govOrgId"
101
101
  }, {
102
102
  default: t(() => [
103
- s(n(d(u).orgIdBizDict.getValue(r.value.govOrgId)), 1)
103
+ s(n(d(u).orgIdBizDict.getValue(i.value.govOrgId)), 1)
104
104
  ]),
105
105
  _: 1
106
106
  }, 8, ["label"])
@@ -109,12 +109,12 @@ const ae = /* @__PURE__ */ K({
109
109
  }),
110
110
  l(a, { span: 24 }, {
111
111
  default: t(() => [
112
- l(i, {
113
- label: e.$t("itsmFlowSpareParts.itemId"),
112
+ l(r, {
113
+ label: e.$t("itsmFlowSpareParts.itsmFlowItemId"),
114
114
  prop: "itemId"
115
115
  }, {
116
116
  default: t(() => [
117
- s(n(d(u).itemBizLayDict.getValue(r.value.itemId)), 1)
117
+ s(n(d(u).itemBizLayDict.getValue(i.value.itemId)), 1)
118
118
  ]),
119
119
  _: 1
120
120
  }, 8, ["label"])
@@ -123,8 +123,8 @@ const ae = /* @__PURE__ */ K({
123
123
  }),
124
124
  l(a, { span: 12 }, {
125
125
  default: t(() => [
126
- l(i, {
127
- label: e.$t("itsmFlowTemporary.createUser")
126
+ l(r, {
127
+ label: e.$t("itsmFlowTemporary.createBy")
128
128
  }, {
129
129
  default: t(() => [
130
130
  s(n(d(P).user.realName), 1)
@@ -136,12 +136,12 @@ const ae = /* @__PURE__ */ K({
136
136
  }),
137
137
  l(a, { span: 12 }, {
138
138
  default: t(() => [
139
- l(i, {
139
+ l(r, {
140
140
  label: e.$t("itsmFlowTemporary.createTime"),
141
141
  prop: "createTime"
142
142
  }, {
143
143
  default: t(() => [
144
- s(n(U.value), 1)
144
+ s(n(z.value), 1)
145
145
  ]),
146
146
  _: 1
147
147
  }, 8, ["label"])
@@ -150,12 +150,12 @@ const ae = /* @__PURE__ */ K({
150
150
  }),
151
151
  l(a, { span: 24 }, {
152
152
  default: t(() => [
153
- l(i, {
153
+ l(r, {
154
154
  label: e.$t("itsmFlowTemporary.title"),
155
155
  prop: "title"
156
156
  }, {
157
157
  default: t(() => [
158
- s(n(r.value.title), 1)
158
+ s(n(i.value.title), 1)
159
159
  ]),
160
160
  _: 1
161
161
  }, 8, ["label"])
@@ -164,12 +164,12 @@ const ae = /* @__PURE__ */ K({
164
164
  }),
165
165
  l(a, { span: 24 }, {
166
166
  default: t(() => [
167
- l(i, {
167
+ l(r, {
168
168
  label: e.$t("itsmFlowTemporary.content"),
169
169
  prop: "content"
170
170
  }, {
171
171
  default: t(() => [
172
- s(n(r.value.content), 1)
172
+ s(n(i.value.content), 1)
173
173
  ]),
174
174
  _: 1
175
175
  }, 8, ["label"])
@@ -178,19 +178,19 @@ const ae = /* @__PURE__ */ K({
178
178
  }),
179
179
  l(a, { span: 24 }, {
180
180
  default: t(() => [
181
- l(i, { label: "附件" }, {
181
+ l(r, { label: "附件" }, {
182
182
  default: t(() => [
183
- (_(!0), b(I, null, B(z.value, (f, F) => (_(), b("div", {
183
+ (_(!0), y(I, null, $(U.value, (f, F) => (_(), y("div", {
184
184
  key: F,
185
185
  class: "files-list"
186
186
  }, [
187
- $("span", null, n(f.fileName), 1),
187
+ O("span", null, n(f.fileName), 1),
188
188
  l(w, {
189
189
  type: "primary",
190
190
  link: "",
191
191
  size: "small",
192
192
  class: "icon-right",
193
- onClick: (k) => A(f)
193
+ onClick: (T) => A(f)
194
194
  }, {
195
195
  default: t(() => o[1] || (o[1] = [
196
196
  s(" 查看 ")
@@ -207,12 +207,12 @@ const ae = /* @__PURE__ */ K({
207
207
  }),
208
208
  l(a, { span: 24 }, {
209
209
  default: t(() => [
210
- l(i, {
211
- label: e.$t("itsmFlowTemporary.outOrgId"),
210
+ l(r, {
211
+ label: e.$t("itsmFlowTemporary.outOrgIdTemporary"),
212
212
  prop: "outOrgId"
213
213
  }, {
214
214
  default: t(() => [
215
- s(n(d(u).orgIdBizDict.getValue(r.value.outOrgId)), 1)
215
+ s(n(d(u).orgIdBizDict.getValue(i.value.outOrgId)), 1)
216
216
  ]),
217
217
  _: 1
218
218
  }, 8, ["label"])
@@ -221,12 +221,12 @@ const ae = /* @__PURE__ */ K({
221
221
  }),
222
222
  l(a, { span: 24 }, {
223
223
  default: t(() => [
224
- l(i, {
225
- label: e.$t("itsmFlowTemporary.userId"),
224
+ l(r, {
225
+ label: e.$t("itsmFlowTemporary.userIdTemporary"),
226
226
  prop: "userId"
227
227
  }, {
228
228
  default: t(() => [
229
- s(n(d(u).userExtBizDict.getValue(r.value.userId)), 1)
229
+ s(n(d(u).userExtBizDict.getValue(i.value.userId)), 1)
230
230
  ]),
231
231
  _: 1
232
232
  }, 8, ["label"])
@@ -235,12 +235,12 @@ const ae = /* @__PURE__ */ K({
235
235
  }),
236
236
  l(a, { span: 12 }, {
237
237
  default: t(() => [
238
- l(i, {
238
+ l(r, {
239
239
  label: e.$t("itsmFlowTemporary.handlingPeriod"),
240
240
  prop: "handlingPeriod"
241
241
  }, {
242
242
  default: t(() => [
243
- s(n(r.value.handlingPeriod), 1)
243
+ s(n(i.value.handlingPeriod), 1)
244
244
  ]),
245
245
  _: 1
246
246
  }, 8, ["label"])
@@ -249,12 +249,12 @@ const ae = /* @__PURE__ */ K({
249
249
  }),
250
250
  l(a, { span: 12 }, {
251
251
  default: t(() => [
252
- l(i, {
252
+ l(r, {
253
253
  label: e.$t("itsmFlowTemporary.finishDate"),
254
254
  prop: "finishDate"
255
255
  }, {
256
256
  default: t(() => [
257
- s(n(r.value.finishDate), 1)
257
+ s(n(i.value.finishDate), 1)
258
258
  ]),
259
259
  _: 1
260
260
  }, 8, ["label"])
@@ -263,12 +263,12 @@ const ae = /* @__PURE__ */ K({
263
263
  }),
264
264
  l(a, { span: 24 }, {
265
265
  default: t(() => [
266
- l(i, {
266
+ l(r, {
267
267
  label: e.$t("itsmFlowTemporary.completion"),
268
268
  prop: "completion"
269
269
  }, {
270
270
  default: t(() => [
271
- s(n(r.value.completion), 1)
271
+ s(n(i.value.completion), 1)
272
272
  ]),
273
273
  _: 1
274
274
  }, 8, ["label"])
@@ -277,18 +277,18 @@ const ae = /* @__PURE__ */ K({
277
277
  }),
278
278
  l(a, { span: 24 }, {
279
279
  default: t(() => [
280
- (_(!0), b(I, null, B(d(u).fileTypeDict.values.slice(3, 4), (f, F) => (_(), J(i, {
280
+ (_(!0), y(I, null, $(d(u).fileTypeDict.values.slice(3, 4), (f, F) => (_(), J(r, {
281
281
  key: f.dictCode,
282
282
  label: f.dictName,
283
283
  prop: "files." + F + ".fileSrc"
284
284
  }, {
285
285
  default: t(() => {
286
- var k, V;
286
+ var T, V;
287
287
  return [
288
- l(p, {
289
- src: d(T).imageUrl((k = C.value[0]) == null ? void 0 : k.fileSrc, 100, 100),
288
+ l(c, {
289
+ src: d(k).imageUrl((T = C.value[0]) == null ? void 0 : T.fileSrc, 100, 100),
290
290
  "preview-src-list": [
291
- d(T).imageUrl((V = C.value[0]) == null ? void 0 : V.fileSrc)
291
+ d(k).imageUrl((V = C.value[0]) == null ? void 0 : V.fileSrc)
292
292
  ],
293
293
  "preview-teleported": "",
294
294
  "hide-on-click-modal": "",
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as le, mergeModels as oe, ref as f, useModel as ne, resolveComponent as c, createElementBlock as k, openBlock as _, Fragment as j, createVNode as e, withCtx as t, createElementVNode as n, createTextVNode as r, toDisplayString as s, unref as b, createCommentVNode as g, withDirectives as L, vShow as q, createBlock as z, renderList as ae } from "vue";
2
2
  import "element-plus";
3
3
  import { u as se } from "./index-CvX2It1o.mjs";
4
- import { a as h } from "./index-BzzIS37Q.mjs";
5
- import { D as y, C as $, a as ue } from "./index-CTX-1ZJN.mjs";
4
+ import { a as h } from "./index-CXOeg2so.mjs";
5
+ import { D as y, C as $, a as ue } from "./index-DTY8LR57.mjs";
6
6
  import "jmash-core";
7
7
  import { useI18n as re } from "vue-i18n";
8
- import { F as ie } from "./FileSaver.min-Dlb0564v.mjs";
8
+ import { F as ie } from "./FileSaver.min-DDqwfEMu.mjs";
9
9
  import { E as A } from "./el-message-BJAl6Gwu.mjs";
10
10
  const de = { key: 0 }, pe = { key: 1 }, ce = {
11
11
  key: 2,
@@ -1,8 +1,8 @@
1
- import { defineComponent as A, mergeModels as P, getCurrentInstance as E, 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 T, createTextVNode as u, toDisplayString as d, renderList as C, unref as b, createBlock as x } from "vue";
1
+ import { defineComponent as A, mergeModels as P, getCurrentInstance as E, 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 g, 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-CTX-1ZJN.mjs";
3
+ import { i as R, C as Y, D } from "./index-DTY8LR57.mjs";
4
4
  import { fileApi as j } from "jmash-core";
5
- import { i as z } from "./index-BzzIS37Q.mjs";
5
+ import { i as z } from "./index-CXOeg2so.mjs";
6
6
  const Q = /* @__PURE__ */ A({
7
7
  __name: "index",
8
8
  props: /* @__PURE__ */ P({
@@ -27,8 +27,8 @@ const Q = /* @__PURE__ */ A({
27
27
  });
28
28
  async function N(a) {
29
29
  try {
30
- const n = j.fileUrl(a.filePath), r = await (await fetch(n)).blob(), v = window.URL.createObjectURL(r), m = document.createElement("a");
31
- m.href = v, m.download = a.fileName || "download", document.body.appendChild(m), m.click();
30
+ const n = j.fileUrl(a.filePath), r = await (await fetch(n)).blob(), v = window.URL.createObjectURL(r), d = document.createElement("a");
31
+ d.href = v, d.download = a.fileName || "download", document.body.appendChild(d), d.click();
32
32
  } catch {
33
33
  }
34
34
  }
@@ -47,11 +47,11 @@ const Q = /* @__PURE__ */ A({
47
47
  });
48
48
  }
49
49
  return (a, n) => {
50
- const o = c("el-col"), r = c("el-form-item"), v = c("el-button"), m = c("el-row"), L = c("el-form");
50
+ const o = c("el-col"), r = c("el-form-item"), v = c("el-button"), d = c("el-row"), L = c("el-form");
51
51
  return p(), _(y, null, [
52
52
  t(o, { span: 24 }, {
53
53
  default: l(() => n[0] || (n[0] = [
54
- T("div", { class: "title" }, "内部临时工单", -1)
54
+ g("div", { class: "title" }, "内部临时工单", -1)
55
55
  ])),
56
56
  _: 1,
57
57
  __: [0]
@@ -64,7 +64,7 @@ const Q = /* @__PURE__ */ A({
64
64
  class: "custom-table-form custom-form"
65
65
  }, {
66
66
  default: l(() => [
67
- t(m, null, {
67
+ t(d, null, {
68
68
  default: l(() => [
69
69
  t(o, { span: 24 }, {
70
70
  default: l(() => [
@@ -75,7 +75,7 @@ const Q = /* @__PURE__ */ A({
75
75
  default: l(() => {
76
76
  var e;
77
77
  return [
78
- u(d((e = i.value) == null ? void 0 : e.title), 1)
78
+ u(m((e = i.value) == null ? void 0 : e.title), 1)
79
79
  ];
80
80
  }),
81
81
  _: 1
@@ -92,7 +92,7 @@ const Q = /* @__PURE__ */ A({
92
92
  default: l(() => {
93
93
  var e;
94
94
  return [
95
- u(d((e = i.value) == null ? void 0 : e.content), 1)
95
+ u(m((e = i.value) == null ? void 0 : e.content), 1)
96
96
  ];
97
97
  }),
98
98
  _: 1
@@ -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(h.value, (g, V) => (p(), _("div", {
113
+ (p(!0), _(y, null, C(h.value, (T, V) => (p(), _("div", {
114
114
  key: V,
115
115
  class: "files-list"
116
116
  }, [
117
- T("span", null, d(g.fileName), 1),
117
+ g("span", null, m(T.fileName), 1),
118
118
  t(v, {
119
119
  type: "primary",
120
120
  link: "",
121
121
  size: "small",
122
122
  class: "icon-right",
123
- onClick: (K) => N(g)
123
+ onClick: (K) => N(T)
124
124
  }, {
125
125
  default: l(() => n[1] || (n[1] = [
126
126
  u(" 查看 ")
@@ -144,7 +144,7 @@ const Q = /* @__PURE__ */ A({
144
144
  default: l(() => {
145
145
  var e;
146
146
  return [
147
- u(d(b(O).userInfo((e = i.value) == null ? void 0 : e.createBy).realName), 1)
147
+ u(m(b(O).userInfo((e = i.value) == null ? void 0 : e.createBy).realName), 1)
148
148
  ];
149
149
  }),
150
150
  _: 1
@@ -161,7 +161,7 @@ const Q = /* @__PURE__ */ A({
161
161
  default: l(() => {
162
162
  var e;
163
163
  return [
164
- u(d(b(M).$moment.formatDate(
164
+ u(m(b(M).$moment.formatDate(
165
165
  (e = i.value) == null ? void 0 : e.createTime,
166
166
  "YYYY-MM-DD HH:mm:ss"
167
167
  )), 1)
@@ -175,13 +175,13 @@ const Q = /* @__PURE__ */ A({
175
175
  t(o, { span: 24 }, {
176
176
  default: l(() => [
177
177
  t(r, {
178
- label: a.$t("itsmFlowTemporary.userId"),
178
+ label: a.$t("itsmFlowTemporary.userIdTemporary"),
179
179
  prop: "userId"
180
180
  }, {
181
181
  default: l(() => {
182
182
  var e;
183
183
  return [
184
- u(d(b(D).userExtBizDict.getValue((e = i.value) == null ? void 0 : e.userId)), 1)
184
+ u(m(b(D).userExtBizDict.getValue((e = i.value) == null ? void 0 : e.userId)), 1)
185
185
  ];
186
186
  }),
187
187
  _: 1
@@ -198,7 +198,7 @@ const Q = /* @__PURE__ */ A({
198
198
  default: l(() => {
199
199
  var e;
200
200
  return [
201
- u(d((e = i.value) == null ? void 0 : e.handlingPeriod), 1)
201
+ u(m((e = i.value) == null ? void 0 : e.handlingPeriod), 1)
202
202
  ];
203
203
  }),
204
204
  _: 1
@@ -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-CXOeg2so.mjs";
3
3
  class _ {
4
4
  getKey(t) {
5
5
  return {
@@ -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-DTY8LR57.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,11 +1,11 @@
1
1
  import { defineComponent as Z, mergeModels as ee, ref as m, useModel as le, resolveComponent as d, createElementBlock as A, openBlock as k, Fragment as O, createVNode as e, withCtx as l, createElementVNode as s, createTextVNode as u, toDisplayString as r, unref as b, createBlock as $, createCommentVNode as V, renderList as te } from "vue";
2
2
  import "element-plus";
3
3
  import { u as ae } from "./index-CvX2It1o.mjs";
4
- import { a as oe } from "./index-BzzIS37Q.mjs";
5
- import { D as F, i as I, C as y } from "./index-CTX-1ZJN.mjs";
4
+ import { a as oe } from "./index-CXOeg2so.mjs";
5
+ import { D as F, i as I, C as y } from "./index-DTY8LR57.mjs";
6
6
  import { fileApi as ne } from "jmash-core";
7
7
  import { useI18n as se } from "vue-i18n";
8
- import { F as ue } from "./FileSaver.min-Dlb0564v.mjs";
8
+ import { F as ue } from "./FileSaver.min-DDqwfEMu.mjs";
9
9
  import { E as j } from "./el-message-BJAl6Gwu.mjs";
10
10
  const ke = /* @__PURE__ */ Z({
11
11
  __name: "index",
@@ -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-DTY8LR57.mjs";
5
+ import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-DcDT5675.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,8 +1,8 @@
1
1
  import { defineComponent as Q, mergeModels as X, ref as y, useModel as Z, reactive as q, computed as x, nextTick as ee, resolveComponent as n, createElementBlock as f, openBlock as c, Fragment as g, createVNode as t, withCtx as r, createElementVNode as le, unref as a, renderList as C, createBlock as te, createCommentVNode as oe, createTextVNode as R, toDisplayString as D } from "vue";
2
2
  import "element-plus";
3
3
  import { useI18n as re } from "vue-i18n";
4
- import { i as M } from "./index-BzzIS37Q.mjs";
5
- import { U as ae, C as v, D as T, i as ie } from "./index-CTX-1ZJN.mjs";
4
+ import { i as M } from "./index-CXOeg2so.mjs";
5
+ import { U as ae, C as v, D as T, i as ie } from "./index-DTY8LR57.mjs";
6
6
  import { u as se } from "./index-CvX2It1o.mjs";
7
7
  import { useUserStoreHook as ne } from "jmash-core";
8
8
  import { _ as ue } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
@@ -20,7 +20,7 @@ const de = /* @__PURE__ */ Q({
20
20
  }),
21
21
  emits: ["update:modelValue"],
22
22
  setup(F, { expose: N }) {
23
- const U = ne(), { t: m } = re(), _ = new ae({ userType: v.COMPANY_MANAGER });
23
+ const $ = ne(), { t: m } = re(), _ = new ae({ userType: v.COMPANY_MANAGER });
24
24
  _.useValues(), console.log("userIdList values:", _.values);
25
25
  const b = y(), d = Z(F, "modelValue"), h = F, I = y((/* @__PURE__ */ new Date()).toISOString().split("T")[0]);
26
26
  let o = q({
@@ -28,7 +28,7 @@ const de = /* @__PURE__ */ Q({
28
28
  files: [],
29
29
  temporaryType: v.Internal
30
30
  });
31
- const w = y(!1), V = y(), $ = q({
31
+ const w = y(!1), V = y(), U = q({
32
32
  govOrgId: [
33
33
  {
34
34
  required: !0,
@@ -139,7 +139,7 @@ const de = /* @__PURE__ */ Q({
139
139
  ref: b,
140
140
  model: a(o),
141
141
  "label-width": "150px",
142
- rules: $,
142
+ rules: U,
143
143
  class: "custom-table-form custom-form"
144
144
  }, {
145
145
  default: r(() => [
@@ -235,11 +235,11 @@ const de = /* @__PURE__ */ Q({
235
235
  t(i, { span: 12 }, {
236
236
  default: r(() => [
237
237
  t(u, {
238
- label: e.$t("itsmFlowTemporary.createUser")
238
+ label: e.$t("itsmFlowTemporary.createBy")
239
239
  }, {
240
240
  default: r(() => [
241
241
  t(p, {
242
- value: a(U).user.realName,
242
+ value: a($).user.realName,
243
243
  placeholder: e.$t("itsmFlowTemporary.createUserRequired"),
244
244
  "show-word-limit": "",
245
245
  clearable: "",
@@ -278,7 +278,7 @@ const de = /* @__PURE__ */ Q({
278
278
  t(i, { span: 24 }, {
279
279
  default: r(() => [
280
280
  t(u, {
281
- label: e.$t("itsmFlowTemporary.userId"),
281
+ label: e.$t("itsmFlowTemporary.userIdTemporary"),
282
282
  prop: "userId"
283
283
  }, {
284
284
  default: r(() => [
@@ -333,7 +333,7 @@ const de = /* @__PURE__ */ Q({
333
333
  ], 64);
334
334
  };
335
335
  }
336
- }), Fe = /* @__PURE__ */ ue(de, [["__scopeId", "data-v-08ce6876"]]);
336
+ }), Fe = /* @__PURE__ */ ue(de, [["__scopeId", "data-v-d8ed4053"]]);
337
337
  export {
338
338
  Fe as default
339
339
  };
@@ -2,8 +2,8 @@ import { defineComponent as M, ref as R, reactive as S, resolveComponent as s, r
2
2
  import { useTableHooks as X } from "jmash-core";
3
3
  import { useI18n as Y } from "vue-i18n";
4
4
  import { i as Z } from "./common-Cwl5jzlM.mjs";
5
- import { _ as x } from "./edit.vue_vue_type_script_setup_true_lang-DK-kdI-u.mjs";
6
- import { C as ee, D as h } from "./index-CTX-1ZJN.mjs";
5
+ import { _ as x } from "./edit.vue_vue_type_script_setup_true_lang-CxUe7kvR.mjs";
6
+ import { C as ee, D as h } from "./index-DTY8LR57.mjs";
7
7
  const oe = { class: "app-container" }, le = { class: "search-container" }, te = ["onClick"], ne = ["onClick"], pe = /* @__PURE__ */ M({
8
8
  __name: "index",
9
9
  setup(ae) {