xyvcard-itsm-flow 0.0.27 → 0.0.28

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-DDqwfEMu.mjs → FileSaver.min-Bst8M31G.mjs} +1 -1
  2. package/dist/{edit-CkGTDSiH.mjs → edit-B5e6Z4D-.mjs} +1 -1
  3. package/dist/{edit-BH_qEChy.mjs → edit-B6x5LnXs.mjs} +1 -1
  4. package/dist/{edit-D0-xQV59.mjs → edit-CDrqDH14.mjs} +1 -1
  5. package/dist/{edit-BWaFYsWY.mjs → edit-Cdqv3LYF.mjs} +2 -2
  6. package/dist/{edit-DIyC972n.mjs → edit-CtGnGMdI.mjs} +2 -2
  7. package/dist/{edit-BpAjiLxu.mjs → edit-s6tpuJqi.mjs} +32 -33
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-CEHUWh-t.mjs → edit.vue_vue_type_script_setup_true_lang-Dlt4h5rH.mjs} +2 -2
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-DcDT5675.mjs → edit.vue_vue_type_script_setup_true_lang-Z6oOT8ZZ.mjs} +1 -1
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-CxUe7kvR.mjs → edit.vue_vue_type_script_setup_true_lang-mfIQLtr7.mjs} +1 -1
  11. package/dist/{index-QPdQNctc.mjs → index-B343YUBs.mjs} +4 -4
  12. package/dist/{index-D6Poyzq3.mjs → index-BHx7wTh8.mjs} +2 -2
  13. package/dist/{index-Bjjyjlwd.mjs → index-BRS1J0_N.mjs} +1 -1
  14. package/dist/{index-BKQGui3N.mjs → index-BpTgZ8S6.mjs} +3 -3
  15. package/dist/{index-CjYlJigX.mjs → index-BryuNtvE.mjs} +4 -4
  16. package/dist/{index-DfptoNZ3.mjs → index-Bv6L7pj-.mjs} +225 -234
  17. package/dist/{index-CV6uWLV9.mjs → index-Bvl7uSjW.mjs} +33 -33
  18. package/dist/{index-CXOeg2so.mjs → index-BzNd3aeo.mjs} +1 -1
  19. package/dist/{index-Cd9CTAUb.mjs → index-C3imt6Nt.mjs} +43 -43
  20. package/dist/{index-Chh_9yED.mjs → index-C9XYUxJJ.mjs} +64 -64
  21. package/dist/{index-CillImY_.mjs → index-CND3lY5T.mjs} +130 -131
  22. package/dist/{index-n6pwVFlo.mjs → index-CVEflwbt.mjs} +1 -1
  23. package/dist/{index-rHARbj0G.mjs → index-CYgdVX3-.mjs} +3 -3
  24. package/dist/{index-CI9FMMKr.mjs → index-CaCAQvu3.mjs} +34 -35
  25. package/dist/{index-DcDzU5zK.mjs → index-Cd1wffPr.mjs} +61 -58
  26. package/dist/{index-qvWMlGg9.mjs → index-CeYdPqBa.mjs} +2 -2
  27. package/dist/{index-WpTFFCXY.mjs → index-ChDJ7snw.mjs} +3 -3
  28. package/dist/{index-DBRVK73O.mjs → index-Cp5FZJRb.mjs} +2 -2
  29. package/dist/{index-DY5EGkfi.mjs → index-DL0G-1We.mjs} +3 -3
  30. package/dist/{index-DxoX_XqQ.mjs → index-DS5-j9pi.mjs} +54 -56
  31. package/dist/{index-B20ya3NZ.mjs → index-DVTVgX1p.mjs} +93 -93
  32. package/dist/{index-C3zQQDPa.mjs → index-ETbLgbz7.mjs} +3 -3
  33. package/dist/{index-DTY8LR57.mjs → index-MPqnkTdo.mjs} +1 -1
  34. package/dist/{index-DjZysfQB.mjs → index-NEYEBifl.mjs} +19 -20
  35. package/dist/{index-CQ9elIv7.mjs → index-_lw11aC1.mjs} +2 -2
  36. package/dist/{index-BKveaoi_.mjs → index-j6FSzNWr.mjs} +15 -15
  37. package/dist/{index-CGDEQO2p.mjs → index-oYL4MO3G.mjs} +2 -2
  38. package/dist/{index-YBHgdjIk.mjs → index-qXw5Aiao.mjs} +77 -77
  39. package/dist/{index-BkqkF7bW.mjs → index-v6aOPnu6.mjs} +1 -1
  40. package/dist/index.mjs +1 -1
  41. package/dist/{info-BmfgBiif.mjs → info-BBeI4Gu-.mjs} +1 -1
  42. package/dist/{info-C1J_4HDK.mjs → info-BMDpWXun.mjs} +1 -1
  43. package/dist/{info-DTZck-Y6.mjs → info-D8JhIxGy.mjs} +1 -1
  44. package/dist/{info-0Dcd8VrX.mjs → info-Dcc0vKH3.mjs} +1 -1
  45. package/dist/info-Dmo9yYXs.mjs +4 -0
  46. package/dist/info-ghO6g5a7.mjs +4 -0
  47. package/dist/{info.vue_vue_type_script_setup_true_lang-CEoQybvz.mjs → info.vue_vue_type_script_setup_true_lang-B_xQV4zS.mjs} +2 -2
  48. package/dist/{info.vue_vue_type_script_setup_true_lang-0cRfUL0q.mjs → info.vue_vue_type_script_setup_true_lang-CcAaUZ-e.mjs} +14 -14
  49. package/dist/{info.vue_vue_type_script_setup_true_lang-CETcd2E0.mjs → info.vue_vue_type_script_setup_true_lang-CdlYnhVI.mjs} +1 -1
  50. package/dist/{info.vue_vue_type_script_setup_true_lang-BeDGwXfi.mjs → info.vue_vue_type_script_setup_true_lang-Comh2IyD.mjs} +12 -12
  51. package/dist/{info.vue_vue_type_script_setup_true_lang-CdfnKI3-.mjs → info.vue_vue_type_script_setup_true_lang-DVu1OSso.mjs} +10 -10
  52. package/dist/{info.vue_vue_type_script_setup_true_lang-CzLGZ50z.mjs → info.vue_vue_type_script_setup_true_lang-DwW2WxUK.mjs} +1 -1
  53. package/dist/style.css +1 -1
  54. package/dts/api/itsm-flow-temporary/types.d.ts +1 -1
  55. package/package.json +1 -1
  56. package/dist/info-DjtHpeoT.mjs +0 -4
  57. package/dist/info-qIG0jebP.mjs +0 -4
@@ -1,13 +1,13 @@
1
- import { defineComponent as se, mergeModels as ue, ref as y, useModel as de, reactive as B, computed as M, watch as N, nextTick as ne, resolveComponent as d, createElementBlock as p, openBlock as n, Fragment as I, createVNode as o, withCtx as r, createElementVNode as me, unref as i, 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 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";
2
2
  import "element-plus";
3
3
  import { useI18n as fe } from "vue-i18n";
4
- import { i as z } from "./index-CXOeg2so.mjs";
5
- import { D as f, O as Y, C as T, i as ce } from "./index-DTY8LR57.mjs";
4
+ import { i as Y } from "./index-BzNd3aeo.mjs";
5
+ import { D as I, O as z, C as F, i as ce } from "./index-MPqnkTdo.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";
9
9
  import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
10
- const be = /* @__PURE__ */ se({
10
+ const be = /* @__PURE__ */ ie({
11
11
  __name: "index",
12
12
  props: /* @__PURE__ */ ue({
13
13
  task: {
@@ -21,95 +21,95 @@ const be = /* @__PURE__ */ se({
21
21
  }),
22
22
  emits: ["update:modelValue"],
23
23
  setup(V, { expose: E }) {
24
- const j = Ie(), { t: c } = fe(), O = y();
25
- f.itemBizLayDict.useValues(), console.log(f.itemBizLayDict.values, "=>Dict.itemBizLayDict ");
26
- const m = de(V, "modelValue"), k = new Y({ orgType: T.HALL });
24
+ const j = Ie(), { t: f } = fe(), O = c();
25
+ I.itemBizLayDict.useValues();
26
+ const m = de(V, "modelValue"), k = new z({ orgType: F.HALL });
27
27
  k.useValues();
28
- const q = new Y({ orgType: T.OUTSOURCE });
29
- q.useValues(), f.userExtBizDict.useValues();
30
- const D = y((/* @__PURE__ */ new Date()).toISOString().split("T")[0]);
31
- let t = B({
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({
32
32
  requestId: Math.random() * 10 + "",
33
33
  files: [],
34
- temporaryType: T.External
34
+ temporaryType: F.External
35
35
  });
36
- const R = M(() => t.govOrgId ? f.itemBizLayDict.values.filter(
36
+ const $ = N(() => t.govOrgId ? I.itemBizLayDict.values.filter(
37
37
  (l) => l.orgId === t.govOrgId
38
38
  ) : []);
39
39
  function H(e) {
40
40
  t.itemId = void 0;
41
41
  }
42
- const v = y([]), g = y([]);
42
+ const v = c([]), y = c([]);
43
43
  ye.findList().then((e) => {
44
44
  v.value = e.data.results;
45
- }), N(
45
+ }), B(
46
46
  [v, () => t.userId],
47
47
  ([e, l]) => {
48
- e && l && t.outOrgId && (g.value = e.filter(
49
- (s) => s.orgId === t.outOrgId
48
+ e && l && t.outOrgId && (y.value = e.filter(
49
+ (i) => i.orgId === t.outOrgId
50
50
  ));
51
51
  },
52
52
  { immediate: !0 }
53
- ), N(
53
+ ), B(
54
54
  () => t.outOrgId,
55
55
  (e) => {
56
- e && Array.isArray(v.value) ? (g.value = v.value.filter(
56
+ e && Array.isArray(v.value) ? (y.value = v.value.filter(
57
57
  (l) => l.orgId === e
58
- ), console.log("filteredUserList:", g.value), t.userId && !g.value.some(
58
+ ), t.userId && !y.value.some(
59
59
  (l) => l.userId === t.userId
60
- ) && (t.userId = "")) : (g.value = [], t.userId = "");
60
+ ) && (t.userId = "")) : (y.value = [], t.userId = "");
61
61
  },
62
62
  { immediate: !0 }
63
63
  );
64
- const F = y(!1), $ = y(), K = B({
64
+ const T = c(!1), C = c(), K = M({
65
65
  govOrgId: [
66
66
  {
67
67
  required: !0,
68
- message: c("itsmFlowTemporary.govOrgIdRequired"),
68
+ message: f("itsmFlowTemporary.govOrgIdRequired"),
69
69
  trigger: "change"
70
70
  }
71
71
  ],
72
72
  itemId: [
73
73
  {
74
74
  required: !0,
75
- message: c("itsmFlowTemporary.itemIdRequired"),
75
+ message: f("itsmFlowTemporary.itemIdRequired"),
76
76
  trigger: "change"
77
77
  }
78
78
  ],
79
79
  title: [
80
80
  {
81
81
  required: !0,
82
- message: c("itsmFlowTemporary.titleRequired"),
82
+ message: f("itsmFlowTemporary.titleRequired"),
83
83
  trigger: "change"
84
84
  }
85
85
  ],
86
86
  temporaryType: [
87
87
  {
88
88
  required: !0,
89
- message: c("itsmFlowTemporary.temporaryTypeRequired"),
89
+ message: f("itsmFlowTemporary.temporaryTypeRequired"),
90
90
  trigger: "change"
91
91
  }
92
92
  ],
93
93
  outOrgId: [
94
94
  {
95
95
  required: !0,
96
- message: c("itsmFlowTemporary.outOrgIdRequired"),
96
+ message: f("itsmFlowTemporary.outOrgIdRequired"),
97
97
  trigger: "change"
98
98
  }
99
99
  ],
100
100
  userId: [
101
101
  {
102
102
  required: !0,
103
- message: c("itsmFlowTemporary.userIdRequired"),
103
+ message: f("itsmFlowTemporary.userIdRequired"),
104
104
  trigger: "change"
105
105
  }
106
106
  ]
107
- }), C = V, W = M(() => {
108
- const e = f.fileTypeDict.values.slice(2, 3)[0];
107
+ }), D = V, W = N(() => {
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
- F.value = !0, $.value.clearFileList();
112
+ T.value = !0, C.value.clearFileList();
113
113
  }
114
114
  function J(e) {
115
115
  const l = {
@@ -120,24 +120,23 @@ const be = /* @__PURE__ */ se({
120
120
  };
121
121
  t.files || (t.files = []), t.files.push(l), t.files = [...new Set(t.files)];
122
122
  }
123
- console.log(f.fileTypeDict.values.slice(2, 3)[0], "=>fileTypeDict ");
124
123
  function Q(e) {
125
124
  var l;
126
125
  (l = t.files) == null || l.splice(e, 1);
127
126
  }
128
- z.findById({ temporaryId: C.task.businessKey }).then(({ data: e }) => {
127
+ Y.findById({ temporaryId: D.task.businessKey }).then(({ data: e }) => {
129
128
  t.outOrgId = e.outOrgId, ne(() => {
130
129
  Object.assign(t, e), X();
131
130
  });
132
131
  });
133
132
  function X() {
134
- ce.findFilesList({ actionId: C.task.businessKey }).then(({ data: e }) => {
135
- console.log(e, "=>data "), e.results && Array.isArray(e.results) && (t.files = e.results.map((l) => {
136
- let s = "";
137
- return l.fileName && (s = l.fileSort || l.type || ""), {
133
+ ce.findFilesList({ actionId: D.task.businessKey }).then(({ data: e }) => {
134
+ e.results && Array.isArray(e.results) && (t.files = e.results.map((l) => {
135
+ let i = "";
136
+ return l.fileName && (i = l.fileSort || l.type || ""), {
138
137
  fileName: l.fileName || "",
139
138
  fileId: l.fileId || "",
140
- fileSort: s
139
+ fileSort: i
141
140
  };
142
141
  }));
143
142
  });
@@ -149,48 +148,48 @@ const be = /* @__PURE__ */ se({
149
148
  return m.value && (m.value.selectActions = [
150
149
  { key: "true", value: "同意" },
151
150
  { key: "false", value: "不同意" }
152
- ], m.value.varName = "approved", m.value.module = "", m.value.module = T.MODULE_ITSMFLOW), new Promise((e, l) => {
153
- var s;
154
- (s = O.value) == null || s.validate((b) => {
155
- b ? (m.value && (m.value.comment = ""), t.requestId = Math.random() * 10 + "", z.create(t).then((u) => {
151
+ ], m.value.varName = "approved", m.value.module = "", m.value.module = F.MODULE_ITSMFLOW), new Promise((e, l) => {
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) => {
156
155
  u.status === 200 ? e(!0) : l(!1);
157
156
  })) : l(!1);
158
157
  });
159
158
  });
160
159
  }
161
160
  return (e, l) => {
162
- const s = d("el-col"), b = d("jmash-select"), u = d("el-form-item"), U = 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"), ae = d("el-form"), re = d("jmash-multi-upload");
163
- return n(), p(I, null, [
164
- o(s, { span: 24 }, {
165
- default: r(() => l[9] || (l[9] = [
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");
162
+ return n(), p(g, null, [
163
+ o(i, { span: 24 }, {
164
+ default: a(() => l[9] || (l[9] = [
166
165
  me("div", { class: "title" }, "外部临时工单临时工单", -1)
167
166
  ])),
168
167
  _: 1,
169
168
  __: [9]
170
169
  }),
171
- o(ae, {
170
+ o(re, {
172
171
  ref_key: "taskFormRef",
173
172
  ref: O,
174
- model: i(t),
173
+ model: s(t),
175
174
  "label-width": "150px",
176
175
  rules: K,
177
176
  class: "custom-table-form custom-form"
178
177
  }, {
179
- default: r(() => [
178
+ default: a(() => [
180
179
  o(oe, null, {
181
- default: r(() => [
182
- o(s, { span: 24 }, {
183
- default: r(() => [
180
+ default: a(() => [
181
+ o(i, { span: 24 }, {
182
+ default: a(() => [
184
183
  o(u, {
185
184
  label: e.$t("itsmFlowSpareParts.govOrgId"),
186
185
  prop: "govOrgId"
187
186
  }, {
188
- default: r(() => [
187
+ default: a(() => [
189
188
  o(b, {
190
- modelValue: i(t).govOrgId,
191
- "onUpdate:modelValue": l[0] || (l[0] = (a) => i(t).govOrgId = a),
189
+ modelValue: s(t).govOrgId,
190
+ "onUpdate:modelValue": l[0] || (l[0] = (r) => s(t).govOrgId = r),
192
191
  placeholder: e.$t("itsmFlowSpareParts.govOrgIdRequired"),
193
- data: i(k).values,
192
+ data: s(k).values,
194
193
  clearable: "",
195
194
  filterable: "",
196
195
  class: "w-full",
@@ -202,27 +201,27 @@ const be = /* @__PURE__ */ se({
202
201
  ]),
203
202
  _: 1
204
203
  }),
205
- o(s, { span: 24 }, {
206
- default: r(() => [
204
+ o(i, { span: 24 }, {
205
+ default: a(() => [
207
206
  o(u, {
208
207
  label: e.$t("itsmFlowSpareParts.itsmFlowItemId"),
209
208
  prop: "itemId"
210
209
  }, {
211
- default: r(() => [
212
- o(L, {
213
- modelValue: i(t).itemId,
214
- "onUpdate:modelValue": l[1] || (l[1] = (a) => i(t).itemId = a),
210
+ default: a(() => [
211
+ o(S, {
212
+ modelValue: s(t).itemId,
213
+ "onUpdate:modelValue": l[1] || (l[1] = (r) => s(t).itemId = r),
215
214
  placeholder: e.$t("itsmFlowSpareParts.itemIdRequired"),
216
- data: R.value,
215
+ data: $.value,
217
216
  clearable: "",
218
217
  filterable: "",
219
- disabled: !i(t).govOrgId
218
+ disabled: !s(t).govOrgId
220
219
  }, {
221
- default: r(() => [
222
- (n(!0), p(I, null, _(R.value, (a) => (n(), h(U, {
223
- key: a.key,
224
- value: a.key,
225
- label: a.value
220
+ default: a(() => [
221
+ (n(!0), p(g, null, _($.value, (r) => (n(), h(U, {
222
+ key: r.key,
223
+ value: r.key,
224
+ label: r.value
226
225
  }, null, 8, ["value", "label"]))), 128))
227
226
  ]),
228
227
  _: 1
@@ -233,14 +232,14 @@ const be = /* @__PURE__ */ se({
233
232
  ]),
234
233
  _: 1
235
234
  }),
236
- o(s, { span: 12 }, {
237
- default: r(() => [
235
+ o(i, { span: 12 }, {
236
+ default: a(() => [
238
237
  o(u, {
239
238
  label: e.$t("itsmFlowTemporary.createBy")
240
239
  }, {
241
- default: r(() => [
240
+ default: a(() => [
242
241
  o(w, {
243
- value: i(j).user.realName,
242
+ value: s(j).user.realName,
244
243
  placeholder: e.$t("itsmFlowTemporary.createUserRequired"),
245
244
  "show-word-limit": "",
246
245
  clearable: "",
@@ -252,16 +251,16 @@ const be = /* @__PURE__ */ se({
252
251
  ]),
253
252
  _: 1
254
253
  }),
255
- o(s, { span: 12 }, {
256
- default: r(() => [
254
+ o(i, { span: 12 }, {
255
+ default: a(() => [
257
256
  o(u, {
258
257
  label: e.$t("itsmFlowTemporary.createTime"),
259
258
  prop: "createTime"
260
259
  }, {
261
- default: r(() => [
260
+ default: a(() => [
262
261
  o(x, {
263
- modelValue: D.value,
264
- "onUpdate:modelValue": l[2] || (l[2] = (a) => D.value = a),
262
+ modelValue: R.value,
263
+ "onUpdate:modelValue": l[2] || (l[2] = (r) => R.value = r),
265
264
  type: "date",
266
265
  placeholder: e.$t("itsmFlowTemporary.createTimeRequired"),
267
266
  format: "YYYY-MM-DD",
@@ -276,16 +275,16 @@ const be = /* @__PURE__ */ se({
276
275
  ]),
277
276
  _: 1
278
277
  }),
279
- o(s, { span: 24 }, {
280
- default: r(() => [
278
+ o(i, { span: 24 }, {
279
+ default: a(() => [
281
280
  o(u, {
282
281
  label: e.$t("itsmFlowTemporary.title"),
283
282
  prop: "title"
284
283
  }, {
285
- default: r(() => [
284
+ default: a(() => [
286
285
  o(w, {
287
- modelValue: i(t).title,
288
- "onUpdate:modelValue": l[3] || (l[3] = (a) => i(t).title = a),
286
+ modelValue: s(t).title,
287
+ "onUpdate:modelValue": l[3] || (l[3] = (r) => s(t).title = r),
289
288
  placeholder: e.$t("itsmFlowTemporary.titleRequired"),
290
289
  "show-word-limit": "",
291
290
  clearable: ""
@@ -296,16 +295,16 @@ const be = /* @__PURE__ */ se({
296
295
  ]),
297
296
  _: 1
298
297
  }),
299
- o(s, { span: 24 }, {
300
- default: r(() => [
298
+ o(i, { span: 24 }, {
299
+ default: a(() => [
301
300
  o(u, {
302
301
  label: e.$t("itsmFlowTemporary.content"),
303
302
  prop: "content"
304
303
  }, {
305
- default: r(() => [
304
+ default: a(() => [
306
305
  o(w, {
307
- modelValue: i(t).content,
308
- "onUpdate:modelValue": l[4] || (l[4] = (a) => i(t).content = a),
306
+ modelValue: s(t).content,
307
+ "onUpdate:modelValue": l[4] || (l[4] = (r) => s(t).content = r),
309
308
  placeholder: e.$t("itsmFlowTemporary.contentRequired"),
310
309
  "show-word-limit": "",
311
310
  clearable: ""
@@ -316,21 +315,21 @@ const be = /* @__PURE__ */ se({
316
315
  ]),
317
316
  _: 1
318
317
  }),
319
- o(s, { span: 24 }, {
320
- default: r(() => [
321
- (n(!0), p(I, null, _(i(f).fileTypeDict.values.slice(2, 3), (a, we) => (n(), p(I, {
322
- key: a.dictCode
318
+ o(i, { span: 24 }, {
319
+ default: a(() => [
320
+ (n(!0), p(g, null, _(s(I).fileTypeDict.values.slice(2, 3), (r, we) => (n(), p(g, {
321
+ key: r.dictCode
323
322
  }, [
324
323
  o(u, {
325
- label: a.dictName
324
+ label: r.dictName
326
325
  }, {
327
- default: r(() => [
326
+ default: a(() => [
328
327
  o(ee, {
329
328
  type: "primary",
330
- icon: i(ge),
329
+ icon: s(ge),
331
330
  onClick: G
332
331
  }, {
333
- default: r(() => [
332
+ default: a(() => [
334
333
  A(P(e.$t("common.uploadFiles")), 1)
335
334
  ]),
336
335
  _: 1
@@ -338,19 +337,19 @@ const be = /* @__PURE__ */ se({
338
337
  ]),
339
338
  _: 2
340
339
  }, 1032, ["label"]),
341
- i(t).files && i(t).files.length > 0 ? (n(), h(u, { key: 0 }, {
342
- default: r(() => [
343
- (n(!0), p(I, null, _(i(t).files, (ie, S) => (n(), p("div", {
344
- key: S,
340
+ s(t).files && s(t).files.length > 0 ? (n(), h(u, { key: 0 }, {
341
+ default: a(() => [
342
+ (n(!0), p(g, null, _(s(t).files, (se, L) => (n(), p("div", {
343
+ key: L,
345
344
  class: "files-list"
346
345
  }, [
347
- A(P(ie.fileName) + " ", 1),
346
+ A(P(se.fileName) + " ", 1),
348
347
  o(te, {
349
348
  size: "16",
350
349
  class: "icon-right",
351
- onClick: (_e) => Q(S)
350
+ onClick: (_e) => Q(L)
352
351
  }, {
353
- default: r(() => [
352
+ default: a(() => [
354
353
  o(le)
355
354
  ]),
356
355
  _: 2
@@ -363,18 +362,18 @@ const be = /* @__PURE__ */ se({
363
362
  ]),
364
363
  _: 1
365
364
  }),
366
- o(s, { span: 24 }, {
367
- default: r(() => [
365
+ o(i, { span: 24 }, {
366
+ default: a(() => [
368
367
  o(u, {
369
368
  label: e.$t("itsmFlowTemporary.outOrgIdTemporary"),
370
369
  prop: "outOrgId"
371
370
  }, {
372
- default: r(() => [
371
+ default: a(() => [
373
372
  o(b, {
374
- modelValue: i(t).outOrgId,
375
- "onUpdate:modelValue": l[5] || (l[5] = (a) => i(t).outOrgId = a),
373
+ modelValue: s(t).outOrgId,
374
+ "onUpdate:modelValue": l[5] || (l[5] = (r) => s(t).outOrgId = r),
376
375
  placeholder: e.$t("itsmFlowTemporary.outOrgIdRequired"),
377
- data: i(q).values,
376
+ data: s(q).values,
378
377
  clearable: "",
379
378
  filterable: "",
380
379
  class: "w-full"
@@ -385,26 +384,26 @@ const be = /* @__PURE__ */ se({
385
384
  ]),
386
385
  _: 1
387
386
  }),
388
- o(s, { span: 24 }, {
389
- default: r(() => [
387
+ o(i, { span: 24 }, {
388
+ default: a(() => [
390
389
  o(u, {
391
390
  label: e.$t("itsmFlowTemporary.userIdTemporary"),
392
391
  prop: "userId"
393
392
  }, {
394
- default: r(() => [
395
- o(L, {
396
- modelValue: i(t).userId,
397
- "onUpdate:modelValue": l[6] || (l[6] = (a) => i(t).userId = a),
393
+ default: a(() => [
394
+ o(S, {
395
+ modelValue: s(t).userId,
396
+ "onUpdate:modelValue": l[6] || (l[6] = (r) => s(t).userId = r),
398
397
  placeholder: e.$t("itsmFlowTemporary.userIdRequired"),
399
398
  "show-word-limit": "",
400
399
  clearable: "",
401
400
  class: "w-full"
402
401
  }, {
403
- default: r(() => [
404
- (n(!0), p(I, null, _(g.value, (a) => (n(), h(U, {
405
- key: a.userId,
406
- value: a.userId,
407
- label: a.realName
402
+ default: a(() => [
403
+ (n(!0), p(g, null, _(y.value, (r) => (n(), h(U, {
404
+ key: r.userId,
405
+ value: r.userId,
406
+ label: r.realName
408
407
  }, null, 8, ["value", "label"]))), 128))
409
408
  ]),
410
409
  _: 1
@@ -415,16 +414,16 @@ const be = /* @__PURE__ */ se({
415
414
  ]),
416
415
  _: 1
417
416
  }),
418
- o(s, { span: 24 }, {
419
- default: r(() => [
417
+ o(i, { span: 24 }, {
418
+ default: a(() => [
420
419
  o(u, {
421
420
  label: e.$t("itsmFlowTemporary.handlingPeriod"),
422
421
  prop: "handlingPeriod"
423
422
  }, {
424
- default: r(() => [
423
+ default: a(() => [
425
424
  o(w, {
426
- modelValue: i(t).handlingPeriod,
427
- "onUpdate:modelValue": l[7] || (l[7] = (a) => i(t).handlingPeriod = a),
425
+ modelValue: s(t).handlingPeriod,
426
+ "onUpdate:modelValue": l[7] || (l[7] = (r) => s(t).handlingPeriod = r),
428
427
  placeholder: e.$t("itsmFlowTemporary.handlingPeriodRequired"),
429
428
  "show-word-limit": "",
430
429
  clearable: ""
@@ -441,17 +440,17 @@ const be = /* @__PURE__ */ se({
441
440
  ]),
442
441
  _: 1
443
442
  }, 8, ["model", "rules"]),
444
- o(re, {
443
+ o(ae, {
445
444
  ref_key: "uploadRef",
446
- ref: $,
447
- modelValue: F.value,
448
- "onUpdate:modelValue": l[8] || (l[8] = (a) => F.value = a),
445
+ ref: C,
446
+ modelValue: T.value,
447
+ "onUpdate:modelValue": l[8] || (l[8] = (r) => T.value = r),
449
448
  onUploadFileList: J
450
449
  }, null, 8, ["modelValue"])
451
450
  ], 64);
452
451
  };
453
452
  }
454
- }), $e = /* @__PURE__ */ ve(be, [["__scopeId", "data-v-e6afe84e"]]);
453
+ }), Ce = /* @__PURE__ */ ve(be, [["__scopeId", "data-v-c459c313"]]);
455
454
  export {
456
- $e as default
455
+ Ce as default
457
456
  };
@@ -3,7 +3,7 @@ import "element-plus";
3
3
  import { useI18n as ce } from "vue-i18n";
4
4
  import { p as me } from "./index-CvX2It1o.mjs";
5
5
  import { i as O, t as pe, a as fe } from "./common-Cwl5jzlM.mjs";
6
- import { f as be, C as M, D as I, g as z, a as ve } from "./index-DTY8LR57.mjs";
6
+ import { f as be, C as M, D as I, g as z, a as ve } from "./index-MPqnkTdo.mjs";
7
7
  const Ie = /* @__PURE__ */ ne({
8
8
  __name: "index",
9
9
  props: /* @__PURE__ */ se({
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as W, ref as h, reactive as R, resolveComponent as i, resolveDirective as X, createElementBlock as $, openBlock as c, createElementVNode as w, createVNode as o, createBlock as F, createCommentVNode as S, withCtx as l, withKeys as _, unref as a, createTextVNode as b, toDisplayString as u, withDirectives as I, isRef as j } from "vue";
2
2
  import { useTableHooks as Y } from "jmash-core";
3
3
  import { useI18n as Z } from "vue-i18n";
4
- import { a as x } from "./index-CXOeg2so.mjs";
5
- import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-CEHUWh-t.mjs";
6
- import { C as te, D as p } from "./index-DTY8LR57.mjs";
4
+ import { a as x } from "./index-BzNd3aeo.mjs";
5
+ import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-Dlt4h5rH.mjs";
6
+ import { C as te, D as p } from "./index-MPqnkTdo.mjs";
7
7
  const le = { class: "app-container" }, oe = { class: "search-container" }, ne = ["onClick"], ae = ["onClick"], ce = /* @__PURE__ */ W({
8
8
  __name: "index",
9
9
  setup(re) {