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,13 +1,13 @@
1
- import { defineComponent as ie, mergeModels as ue, ref as g, useModel as de, reactive as M, computed as N, watch as A, nextTick as ne, resolveComponent as d, createElementBlock as p, openBlock as n, Fragment as y, createVNode as o, withCtx as a, createElementVNode as me, unref as s, renderList as _, createBlock as h, createCommentVNode as pe, createTextVNode as B, toDisplayString as P } from "vue";
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";
2
2
  import "element-plus";
3
3
  import { useI18n as fe } from "vue-i18n";
4
- import { i as Y } from "./index-BzzIS37Q.mjs";
5
- import { D as I, O as z, C as T, i as ce } from "./index-CTX-1ZJN.mjs";
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";
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__ */ ie({
10
+ const be = /* @__PURE__ */ se({
11
11
  __name: "index",
12
12
  props: /* @__PURE__ */ ue({
13
13
  task: {
@@ -21,95 +21,95 @@ const be = /* @__PURE__ */ ie({
21
21
  }),
22
22
  emits: ["update:modelValue"],
23
23
  setup(V, { expose: E }) {
24
- const j = Ie(), { t: f } = fe(), O = g();
25
- I.itemBizLayDict.useValues();
26
- const m = de(V, "modelValue"), k = new z({ orgType: T.HALL });
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 });
27
27
  k.useValues();
28
- const q = new z({ orgType: T.OUTSOURCE });
29
- q.useValues(), I.userExtBizDict.useValues();
30
- const D = g((/* @__PURE__ */ new Date()).toISOString().split("T")[0]);
31
- let t = M({
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({
32
32
  requestId: Math.random() * 10 + "",
33
33
  files: [],
34
34
  temporaryType: T.External
35
35
  });
36
- const R = N(() => t.govOrgId ? I.itemBizLayDict.values.filter(
36
+ const R = M(() => t.govOrgId ? f.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 = g([]), c = g([]);
42
+ const v = y([]), g = y([]);
43
43
  ye.findList().then((e) => {
44
44
  v.value = e.data.results;
45
- }), A(
45
+ }), N(
46
46
  [v, () => t.userId],
47
47
  ([e, l]) => {
48
- e && l && t.outOrgId && (c.value = e.filter(
49
- (i) => i.orgId === t.outOrgId
48
+ e && l && t.outOrgId && (g.value = e.filter(
49
+ (s) => s.orgId === t.outOrgId
50
50
  ));
51
51
  },
52
52
  { immediate: !0 }
53
- ), A(
53
+ ), N(
54
54
  () => t.outOrgId,
55
55
  (e) => {
56
- e && Array.isArray(v.value) ? (c.value = v.value.filter(
56
+ e && Array.isArray(v.value) ? (g.value = v.value.filter(
57
57
  (l) => l.orgId === e
58
- ), console.log("filteredUserList:", c.value), t.userId && !c.value.some(
58
+ ), console.log("filteredUserList:", g.value), t.userId && !g.value.some(
59
59
  (l) => l.userId === t.userId
60
- ) && (t.userId = "")) : (c.value = [], t.userId = "");
60
+ ) && (t.userId = "")) : (g.value = [], t.userId = "");
61
61
  },
62
62
  { immediate: !0 }
63
63
  );
64
- const F = g(!1), U = g(), K = M({
64
+ const F = y(!1), $ = y(), K = B({
65
65
  govOrgId: [
66
66
  {
67
67
  required: !0,
68
- message: f("itsmFlowTemporary.govOrgIdRequired"),
68
+ message: c("itsmFlowTemporary.govOrgIdRequired"),
69
69
  trigger: "change"
70
70
  }
71
71
  ],
72
72
  itemId: [
73
73
  {
74
74
  required: !0,
75
- message: f("itsmFlowTemporary.itemIdRequired"),
75
+ message: c("itsmFlowTemporary.itemIdRequired"),
76
76
  trigger: "change"
77
77
  }
78
78
  ],
79
79
  title: [
80
80
  {
81
81
  required: !0,
82
- message: f("itsmFlowTemporary.titleRequired"),
82
+ message: c("itsmFlowTemporary.titleRequired"),
83
83
  trigger: "change"
84
84
  }
85
85
  ],
86
86
  temporaryType: [
87
87
  {
88
88
  required: !0,
89
- message: f("itsmFlowTemporary.temporaryTypeRequired"),
89
+ message: c("itsmFlowTemporary.temporaryTypeRequired"),
90
90
  trigger: "change"
91
91
  }
92
92
  ],
93
93
  outOrgId: [
94
94
  {
95
95
  required: !0,
96
- message: f("itsmFlowTemporary.outOrgIdRequired"),
96
+ message: c("itsmFlowTemporary.outOrgIdRequired"),
97
97
  trigger: "change"
98
98
  }
99
99
  ],
100
100
  userId: [
101
101
  {
102
102
  required: !0,
103
- message: f("itsmFlowTemporary.userIdRequired"),
103
+ message: c("itsmFlowTemporary.userIdRequired"),
104
104
  trigger: "change"
105
105
  }
106
106
  ]
107
- }), $ = V, W = N(() => {
108
- const e = I.fileTypeDict.values.slice(2, 3)[0];
107
+ }), C = V, W = M(() => {
108
+ const e = f.fileTypeDict.values.slice(2, 3)[0];
109
109
  return e ? e.dictCode : "temporary_file";
110
110
  });
111
111
  function G() {
112
- F.value = !0, U.value.clearFileList();
112
+ F.value = !0, $.value.clearFileList();
113
113
  }
114
114
  function J(e) {
115
115
  const l = {
@@ -120,24 +120,24 @@ const be = /* @__PURE__ */ ie({
120
120
  };
121
121
  t.files || (t.files = []), t.files.push(l), t.files = [...new Set(t.files)];
122
122
  }
123
- console.log(I.fileTypeDict.values.slice(2, 3)[0], "=>fileTypeDict ");
123
+ console.log(f.fileTypeDict.values.slice(2, 3)[0], "=>fileTypeDict ");
124
124
  function Q(e) {
125
125
  var l;
126
126
  (l = t.files) == null || l.splice(e, 1);
127
127
  }
128
- Y.findById({ temporaryId: $.task.businessKey }).then(({ data: e }) => {
128
+ z.findById({ temporaryId: C.task.businessKey }).then(({ data: e }) => {
129
129
  t.outOrgId = e.outOrgId, ne(() => {
130
130
  Object.assign(t, e), X();
131
131
  });
132
132
  });
133
133
  function X() {
134
- ce.findFilesList({ actionId: $.task.businessKey }).then(({ data: e }) => {
134
+ ce.findFilesList({ actionId: C.task.businessKey }).then(({ data: e }) => {
135
135
  console.log(e, "=>data "), e.results && Array.isArray(e.results) && (t.files = e.results.map((l) => {
136
- let i = "";
137
- return l.fileName && (i = l.fileSort || l.type || ""), {
136
+ let s = "";
137
+ return l.fileName && (s = l.fileSort || l.type || ""), {
138
138
  fileName: l.fileName || "",
139
139
  fileId: l.fileId || "",
140
- fileSort: i
140
+ fileSort: s
141
141
  };
142
142
  }));
143
143
  });
@@ -150,47 +150,47 @@ const be = /* @__PURE__ */ ie({
150
150
  { key: "true", value: "同意" },
151
151
  { key: "false", value: "不同意" }
152
152
  ], m.value.varName = "approved", m.value.module = "", m.value.module = T.MODULE_ITSMFLOW), new Promise((e, l) => {
153
- var i;
154
- (i = O.value) == null || i.validate((b) => {
155
- b ? (m.value && (m.value.comment = ""), t.requestId = Math.random() * 10 + "", Y.create(t).then((u) => {
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) => {
156
156
  u.status === 200 ? e(!0) : l(!1);
157
157
  })) : l(!1);
158
158
  });
159
159
  });
160
160
  }
161
161
  return (e, l) => {
162
- const i = d("el-col"), b = d("jmash-select"), u = d("el-form-item"), C = 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");
163
- return n(), p(y, null, [
164
- o(i, { span: 24 }, {
165
- default: a(() => l[9] || (l[9] = [
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] = [
166
166
  me("div", { class: "title" }, "外部临时工单临时工单", -1)
167
167
  ])),
168
168
  _: 1,
169
169
  __: [9]
170
170
  }),
171
- o(re, {
171
+ o(ae, {
172
172
  ref_key: "taskFormRef",
173
173
  ref: O,
174
- model: s(t),
174
+ model: i(t),
175
175
  "label-width": "150px",
176
176
  rules: K,
177
177
  class: "custom-table-form custom-form"
178
178
  }, {
179
- default: a(() => [
179
+ default: r(() => [
180
180
  o(oe, null, {
181
- default: a(() => [
182
- o(i, { span: 24 }, {
183
- default: a(() => [
181
+ default: r(() => [
182
+ o(s, { span: 24 }, {
183
+ default: r(() => [
184
184
  o(u, {
185
185
  label: e.$t("itsmFlowSpareParts.govOrgId"),
186
186
  prop: "govOrgId"
187
187
  }, {
188
- default: a(() => [
188
+ default: r(() => [
189
189
  o(b, {
190
- modelValue: s(t).govOrgId,
191
- "onUpdate:modelValue": l[0] || (l[0] = (r) => s(t).govOrgId = r),
190
+ modelValue: i(t).govOrgId,
191
+ "onUpdate:modelValue": l[0] || (l[0] = (a) => i(t).govOrgId = a),
192
192
  placeholder: e.$t("itsmFlowSpareParts.govOrgIdRequired"),
193
- data: s(k).values,
193
+ data: i(k).values,
194
194
  clearable: "",
195
195
  filterable: "",
196
196
  class: "w-full",
@@ -202,27 +202,27 @@ const be = /* @__PURE__ */ ie({
202
202
  ]),
203
203
  _: 1
204
204
  }),
205
- o(i, { span: 24 }, {
206
- default: a(() => [
205
+ o(s, { span: 24 }, {
206
+ default: r(() => [
207
207
  o(u, {
208
- label: e.$t("itsmFlowSpareParts.itemId"),
208
+ label: e.$t("itsmFlowSpareParts.itsmFlowItemId"),
209
209
  prop: "itemId"
210
210
  }, {
211
- default: a(() => [
212
- o(S, {
213
- modelValue: s(t).itemId,
214
- "onUpdate:modelValue": l[1] || (l[1] = (r) => s(t).itemId = r),
211
+ default: r(() => [
212
+ o(L, {
213
+ modelValue: i(t).itemId,
214
+ "onUpdate:modelValue": l[1] || (l[1] = (a) => i(t).itemId = a),
215
215
  placeholder: e.$t("itsmFlowSpareParts.itemIdRequired"),
216
216
  data: R.value,
217
217
  clearable: "",
218
218
  filterable: "",
219
- disabled: !s(t).govOrgId
219
+ disabled: !i(t).govOrgId
220
220
  }, {
221
- default: a(() => [
222
- (n(!0), p(y, null, _(R.value, (r) => (n(), h(C, {
223
- key: r.key,
224
- value: r.key,
225
- label: r.value
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
226
226
  }, null, 8, ["value", "label"]))), 128))
227
227
  ]),
228
228
  _: 1
@@ -233,14 +233,14 @@ const be = /* @__PURE__ */ ie({
233
233
  ]),
234
234
  _: 1
235
235
  }),
236
- o(i, { span: 12 }, {
237
- default: a(() => [
236
+ o(s, { span: 12 }, {
237
+ default: r(() => [
238
238
  o(u, {
239
- label: e.$t("itsmFlowTemporary.createUser")
239
+ label: e.$t("itsmFlowTemporary.createBy")
240
240
  }, {
241
- default: a(() => [
241
+ default: r(() => [
242
242
  o(w, {
243
- value: s(j).user.realName,
243
+ value: i(j).user.realName,
244
244
  placeholder: e.$t("itsmFlowTemporary.createUserRequired"),
245
245
  "show-word-limit": "",
246
246
  clearable: "",
@@ -252,16 +252,16 @@ const be = /* @__PURE__ */ ie({
252
252
  ]),
253
253
  _: 1
254
254
  }),
255
- o(i, { span: 12 }, {
256
- default: a(() => [
255
+ o(s, { span: 12 }, {
256
+ default: r(() => [
257
257
  o(u, {
258
258
  label: e.$t("itsmFlowTemporary.createTime"),
259
259
  prop: "createTime"
260
260
  }, {
261
- default: a(() => [
261
+ default: r(() => [
262
262
  o(x, {
263
263
  modelValue: D.value,
264
- "onUpdate:modelValue": l[2] || (l[2] = (r) => D.value = r),
264
+ "onUpdate:modelValue": l[2] || (l[2] = (a) => D.value = a),
265
265
  type: "date",
266
266
  placeholder: e.$t("itsmFlowTemporary.createTimeRequired"),
267
267
  format: "YYYY-MM-DD",
@@ -276,16 +276,16 @@ const be = /* @__PURE__ */ ie({
276
276
  ]),
277
277
  _: 1
278
278
  }),
279
- o(i, { span: 24 }, {
280
- default: a(() => [
279
+ o(s, { span: 24 }, {
280
+ default: r(() => [
281
281
  o(u, {
282
282
  label: e.$t("itsmFlowTemporary.title"),
283
283
  prop: "title"
284
284
  }, {
285
- default: a(() => [
285
+ default: r(() => [
286
286
  o(w, {
287
- modelValue: s(t).title,
288
- "onUpdate:modelValue": l[3] || (l[3] = (r) => s(t).title = r),
287
+ modelValue: i(t).title,
288
+ "onUpdate:modelValue": l[3] || (l[3] = (a) => i(t).title = a),
289
289
  placeholder: e.$t("itsmFlowTemporary.titleRequired"),
290
290
  "show-word-limit": "",
291
291
  clearable: ""
@@ -296,16 +296,16 @@ const be = /* @__PURE__ */ ie({
296
296
  ]),
297
297
  _: 1
298
298
  }),
299
- o(i, { span: 24 }, {
300
- default: a(() => [
299
+ o(s, { span: 24 }, {
300
+ default: r(() => [
301
301
  o(u, {
302
302
  label: e.$t("itsmFlowTemporary.content"),
303
303
  prop: "content"
304
304
  }, {
305
- default: a(() => [
305
+ default: r(() => [
306
306
  o(w, {
307
- modelValue: s(t).content,
308
- "onUpdate:modelValue": l[4] || (l[4] = (r) => s(t).content = r),
307
+ modelValue: i(t).content,
308
+ "onUpdate:modelValue": l[4] || (l[4] = (a) => i(t).content = a),
309
309
  placeholder: e.$t("itsmFlowTemporary.contentRequired"),
310
310
  "show-word-limit": "",
311
311
  clearable: ""
@@ -316,41 +316,41 @@ const be = /* @__PURE__ */ ie({
316
316
  ]),
317
317
  _: 1
318
318
  }),
319
- o(i, { span: 24 }, {
320
- default: a(() => [
321
- (n(!0), p(y, null, _(s(I).fileTypeDict.values.slice(2, 3), (r, we) => (n(), p(y, {
322
- key: r.dictCode
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
323
323
  }, [
324
324
  o(u, {
325
- label: r.dictName
325
+ label: a.dictName
326
326
  }, {
327
- default: a(() => [
327
+ default: r(() => [
328
328
  o(ee, {
329
329
  type: "primary",
330
- icon: s(ge),
330
+ icon: i(ge),
331
331
  onClick: G
332
332
  }, {
333
- default: a(() => [
334
- B(P(e.$t("common.uploadFiles")), 1)
333
+ default: r(() => [
334
+ A(P(e.$t("common.uploadFiles")), 1)
335
335
  ]),
336
336
  _: 1
337
337
  }, 8, ["icon"])
338
338
  ]),
339
339
  _: 2
340
340
  }, 1032, ["label"]),
341
- s(t).files && s(t).files.length > 0 ? (n(), h(u, { key: 0 }, {
342
- default: a(() => [
343
- (n(!0), p(y, null, _(s(t).files, (se, L) => (n(), p("div", {
344
- key: L,
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,
345
345
  class: "files-list"
346
346
  }, [
347
- B(P(se.fileName) + " ", 1),
347
+ A(P(ie.fileName) + " ", 1),
348
348
  o(te, {
349
349
  size: "16",
350
350
  class: "icon-right",
351
- onClick: (_e) => Q(L)
351
+ onClick: (_e) => Q(S)
352
352
  }, {
353
- default: a(() => [
353
+ default: r(() => [
354
354
  o(le)
355
355
  ]),
356
356
  _: 2
@@ -363,18 +363,18 @@ const be = /* @__PURE__ */ ie({
363
363
  ]),
364
364
  _: 1
365
365
  }),
366
- o(i, { span: 24 }, {
367
- default: a(() => [
366
+ o(s, { span: 24 }, {
367
+ default: r(() => [
368
368
  o(u, {
369
369
  label: e.$t("itsmFlowTemporary.outOrgIdTemporary"),
370
370
  prop: "outOrgId"
371
371
  }, {
372
- default: a(() => [
372
+ default: r(() => [
373
373
  o(b, {
374
- modelValue: s(t).outOrgId,
375
- "onUpdate:modelValue": l[5] || (l[5] = (r) => s(t).outOrgId = r),
374
+ modelValue: i(t).outOrgId,
375
+ "onUpdate:modelValue": l[5] || (l[5] = (a) => i(t).outOrgId = a),
376
376
  placeholder: e.$t("itsmFlowTemporary.outOrgIdRequired"),
377
- data: s(q).values,
377
+ data: i(q).values,
378
378
  clearable: "",
379
379
  filterable: "",
380
380
  class: "w-full"
@@ -385,26 +385,26 @@ const be = /* @__PURE__ */ ie({
385
385
  ]),
386
386
  _: 1
387
387
  }),
388
- o(i, { span: 24 }, {
389
- default: a(() => [
388
+ o(s, { span: 24 }, {
389
+ default: r(() => [
390
390
  o(u, {
391
391
  label: e.$t("itsmFlowTemporary.userIdTemporary"),
392
392
  prop: "userId"
393
393
  }, {
394
- default: a(() => [
395
- o(S, {
396
- modelValue: s(t).userId,
397
- "onUpdate:modelValue": l[6] || (l[6] = (r) => s(t).userId = r),
394
+ default: r(() => [
395
+ o(L, {
396
+ modelValue: i(t).userId,
397
+ "onUpdate:modelValue": l[6] || (l[6] = (a) => i(t).userId = a),
398
398
  placeholder: e.$t("itsmFlowTemporary.userIdRequired"),
399
399
  "show-word-limit": "",
400
400
  clearable: "",
401
401
  class: "w-full"
402
402
  }, {
403
- default: a(() => [
404
- (n(!0), p(y, null, _(c.value, (r) => (n(), h(C, {
405
- key: r.userId,
406
- value: r.userId,
407
- label: r.realName
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
408
408
  }, null, 8, ["value", "label"]))), 128))
409
409
  ]),
410
410
  _: 1
@@ -415,16 +415,16 @@ const be = /* @__PURE__ */ ie({
415
415
  ]),
416
416
  _: 1
417
417
  }),
418
- o(i, { span: 24 }, {
419
- default: a(() => [
418
+ o(s, { span: 24 }, {
419
+ default: r(() => [
420
420
  o(u, {
421
421
  label: e.$t("itsmFlowTemporary.handlingPeriod"),
422
422
  prop: "handlingPeriod"
423
423
  }, {
424
- default: a(() => [
424
+ default: r(() => [
425
425
  o(w, {
426
- modelValue: s(t).handlingPeriod,
427
- "onUpdate:modelValue": l[7] || (l[7] = (r) => s(t).handlingPeriod = r),
426
+ modelValue: i(t).handlingPeriod,
427
+ "onUpdate:modelValue": l[7] || (l[7] = (a) => i(t).handlingPeriod = a),
428
428
  placeholder: e.$t("itsmFlowTemporary.handlingPeriodRequired"),
429
429
  "show-word-limit": "",
430
430
  clearable: ""
@@ -441,17 +441,17 @@ const be = /* @__PURE__ */ ie({
441
441
  ]),
442
442
  _: 1
443
443
  }, 8, ["model", "rules"]),
444
- o(ae, {
444
+ o(re, {
445
445
  ref_key: "uploadRef",
446
- ref: U,
446
+ ref: $,
447
447
  modelValue: F.value,
448
- "onUpdate:modelValue": l[8] || (l[8] = (r) => F.value = r),
448
+ "onUpdate:modelValue": l[8] || (l[8] = (a) => F.value = a),
449
449
  onUploadFileList: J
450
450
  }, null, 8, ["modelValue"])
451
451
  ], 64);
452
452
  };
453
453
  }
454
- }), Ue = /* @__PURE__ */ ve(be, [["__scopeId", "data-v-395d9ba7"]]);
454
+ }), $e = /* @__PURE__ */ ve(be, [["__scopeId", "data-v-e6afe84e"]]);
455
455
  export {
456
- Ue as default
456
+ $e as default
457
457
  };
@@ -1,18 +1,18 @@
1
1
  import { defineComponent as Z, getCurrentInstance as ee, ref as _, reactive as P, onActivated as te, resolveComponent as s, resolveDirective as le, createElementBlock as I, openBlock as u, createElementVNode as b, createVNode as a, createBlock as V, createCommentVNode as C, withCtx as l, unref as r, withKeys as oe, createTextVNode as p, toDisplayString as n, withDirectives as D, isRef as R } from "vue";
2
2
  import { useTableHooks as ae } from "jmash-core";
3
3
  import { useI18n as re } from "vue-i18n";
4
- import { i as ie } from "./index-BzzIS37Q.mjs";
5
- import ne from "./edit-DGLeO86x.mjs";
6
- import { _ as se } from "./info.vue_vue_type_script_setup_true_lang-BupLtTsI.mjs";
7
- import { D as c, O as me, C as N } from "./index-CTX-1ZJN.mjs";
4
+ import { i as ie } from "./index-CXOeg2so.mjs";
5
+ import ne from "./edit-BpAjiLxu.mjs";
6
+ import { _ as se } from "./info.vue_vue_type_script_setup_true_lang-BeDGwXfi.mjs";
7
+ import { D as c, O as me, C as N } from "./index-DTY8LR57.mjs";
8
8
  import { rbacApi as ue } from "jmash-rbac";
9
9
  const de = { class: "app-container" }, pe = { class: "search-container" }, ce = { key: 0 }, ye = ["onClick"], fe = ["onClick"], ve = ["onClick"], Ce = /* @__PURE__ */ Z({
10
10
  __name: "index",
11
11
  setup(be) {
12
12
  const { proxy: U } = ee();
13
13
  c.itemBizLayDict.useValues(), c.orgIdBizDict.useValues(), c.userExtBizDict.useValues();
14
- const $ = new me({ orgType: "OUTSOURCE" });
15
- $.useValues();
14
+ const F = new me({ orgType: "OUTSOURCE" });
15
+ F.useValues();
16
16
  const { t: y } = re(), i = _({
17
17
  temporaryType: N.External,
18
18
  applyStatus: N.applyStatus.draft
@@ -139,7 +139,7 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
139
139
  return te(() => {
140
140
  m.getList();
141
141
  }), (o, t) => {
142
- const B = s("jmash-select"), h = s("el-form-item"), v = s("el-col"), W = s("el-input"), F = s("el-button"), S = s("el-row"), M = s("el-form"), x = s("jmash-column-select"), G = s("jmash-table"), J = s("jmash-pagination"), X = s("el-card"), k = le("hasPerm");
142
+ const B = s("jmash-select"), h = s("el-form-item"), v = s("el-col"), W = s("el-input"), $ = s("el-button"), S = s("el-row"), M = s("el-form"), x = s("jmash-column-select"), G = s("jmash-table"), J = s("jmash-pagination"), X = s("el-card"), k = le("hasPerm");
143
143
  return u(), I("div", de, [
144
144
  b("div", pe, [
145
145
  a(M, {
@@ -162,7 +162,7 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
162
162
  modelValue: i.value.govOrgId,
163
163
  "onUpdate:modelValue": t[0] || (t[0] = (e) => i.value.govOrgId = e),
164
164
  placeholder: o.$t("itsmFlowSpareParts.govOrgIdRequired"),
165
- data: r($).values,
165
+ data: r(F).values,
166
166
  clearable: "",
167
167
  filterable: ""
168
168
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -175,7 +175,7 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
175
175
  a(v, { span: 6 }, {
176
176
  default: l(() => [
177
177
  a(h, {
178
- label: o.$t("itsmFlowSpareParts.itemId"),
178
+ label: o.$t("itsmFlowSpareParts.itsmFlowItemId"),
179
179
  prop: "itemId"
180
180
  }, {
181
181
  default: l(() => [
@@ -217,7 +217,7 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
217
217
  default: l(() => [
218
218
  a(h, { class: "search-btn" }, {
219
219
  default: l(() => [
220
- a(F, {
220
+ a($, {
221
221
  type: "primary",
222
222
  onClick: t[4] || (t[4] = (e) => r(m).handleQuery())
223
223
  }, {
@@ -226,7 +226,7 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
226
226
  ]),
227
227
  _: 1
228
228
  }),
229
- a(F, {
229
+ a($, {
230
230
  onClick: t[5] || (t[5] = (e) => r(m).resetQuery())
231
231
  }, {
232
232
  default: l(() => [
@@ -257,7 +257,7 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
257
257
  default: l(() => [
258
258
  a(v, { span: 17 }, {
259
259
  default: l(() => [
260
- D((u(), V(F, {
260
+ D((u(), V($, {
261
261
  type: "primary",
262
262
  onClick: A
263
263
  }, {
@@ -318,7 +318,7 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
318
318
  b("span", null, n(r(c).itemBizLayDict.getValue(e.data.row.itemId)), 1)
319
319
  ]),
320
320
  outOrgId: l((e) => [
321
- b("span", null, n(r($).getValue(e.data.row.outOrgId)), 1)
321
+ b("span", null, n(r(F).getValue(e.data.row.outOrgId)), 1)
322
322
  ]),
323
323
  userId: l((e) => [
324
324
  b("span", null, n(r(c).userExtBizDict.getValue(e.data.row.userId)), 1)
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as H, ref as V, reactive as W, resolveComponent as u, resolveDirective as G, createElementBlock as h, openBlock as g, createElementVNode as y, createVNode as t, createBlock as S, createCommentVNode as D, withCtx as a, withKeys as c, unref as n, createTextVNode as k, toDisplayString as d, withDirectives as J, isRef as U } from "vue";
2
2
  import { useTableHooks as M } from "jmash-core";
3
3
  import { useI18n as X } from "vue-i18n";
4
- import { D as w, O as Y, C as Z, i as x } from "./index-CTX-1ZJN.mjs";
5
- import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-_Rd1Paqi.mjs";
4
+ import { D as w, O as Y, C as Z, i as x } from "./index-DTY8LR57.mjs";
5
+ import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-CzLGZ50z.mjs";
6
6
  const le = { class: "app-container" }, te = { class: "search-container" }, ae = ["onClick"], me = /* @__PURE__ */ H({
7
7
  __name: "index",
8
8
  setup(oe) {
@@ -2,8 +2,8 @@ import { defineComponent as be, mergeModels as ge, ref as f, useModel as Ie, rea
2
2
  import "element-plus";
3
3
  import { useI18n as we } from "vue-i18n";
4
4
  import { p as Ee } from "./index-CvX2It1o.mjs";
5
- import { a as J } from "./index-BzzIS37Q.mjs";
6
- import { b as Ve, C as v, c as _e, d as Ne, D as E, e as R, a as Fe } from "./index-CTX-1ZJN.mjs";
5
+ import { a as J } from "./index-CXOeg2so.mjs";
6
+ import { b as Ve, C as v, c as _e, d as Ne, D as E, e as R, a as Fe } from "./index-DTY8LR57.mjs";
7
7
  import { E as Ue } from "./el-message-BJAl6Gwu.mjs";
8
8
  const De = /* @__PURE__ */ be({
9
9
  __name: "index",
@@ -4,7 +4,7 @@ var r = (n, t, s) => E(n, typeof t != "symbol" ? t + "" : t, s);
4
4
  import { useUserStore as p, clearEmpty as o, request as l, BizDict as d, BizLayDict as N, CustomBizDict as g, EnumDict as m } from "jmash-core";
5
5
  import { contractApi as v, itemApi as _, contractUserApi as y } from "xyvcard-itsm";
6
6
  import { sysUserExtApi as A, sysOrgApi as h } from "xyvcard-itsmsys";
7
- import { a as T } from "./index-BzzIS37Q.mjs";
7
+ import { a as T } from "./index-CXOeg2so.mjs";
8
8
  import { ref as U } from "vue";
9
9
  import { EntryDict as I, EntryBizLayDict as L } from "jmash-dict";
10
10
  class O {