xyvcard-itsm-flow 0.0.35 → 0.0.36

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 (72) hide show
  1. package/dist/{FileSaver.min-4vO09IGA.mjs → FileSaver.min-ClNkVClN.mjs} +1 -1
  2. package/dist/{edit-Bg89-KlE.mjs → edit-BEdr_8PJ.mjs} +1 -1
  3. package/dist/{edit-QP4NsvOD.mjs → edit-CKextQDx.mjs} +2 -2
  4. package/dist/{edit-DEaQAIDY.mjs → edit-CM7ZEDiX.mjs} +2 -2
  5. package/dist/{edit-VVc_Bhvr.mjs → edit-DBbtD7fG.mjs} +2 -2
  6. package/dist/{edit-CNXgjYym.mjs → edit-DdAC6cfV.mjs} +1 -1
  7. package/dist/{edit-CW8XUPeb.mjs → edit-x5wciLgT.mjs} +1 -1
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-BzJWf6e0.mjs → edit.vue_vue_type_script_setup_true_lang-BAf8q7CN.mjs} +1 -1
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-CCbLxUHa.mjs → edit.vue_vue_type_script_setup_true_lang-BleGu-Ls.mjs} +2 -2
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-BaOmH_gU.mjs → edit.vue_vue_type_script_setup_true_lang-h8mpKFR4.mjs} +1 -1
  11. package/dist/{index-CRuin4P0.mjs → index-0uHuIS0s.mjs} +2 -2
  12. package/dist/{index-m8TK-swk.mjs → index-8zrIyQWX.mjs} +2 -2
  13. package/dist/{index-C-UNTZhw.mjs → index-BECzf4l_.mjs} +4 -4
  14. package/dist/{index-BBmJH5f9.mjs → index-BIu8ak2p.mjs} +3 -3
  15. package/dist/{index-BkzSt2Jz.mjs → index-BKffbxRi.mjs} +2 -2
  16. package/dist/{index-BaT5UWw4.mjs → index-BM5T4IKm.mjs} +2 -2
  17. package/dist/{index-Cm5aPyXv.mjs → index-BOgdU813.mjs} +2 -2
  18. package/dist/{index-IGQyX8F5.mjs → index-BSGtDp12.mjs} +1 -1
  19. package/dist/{index-D-qpeudM.mjs → index-BplQVJ9-.mjs} +1 -1
  20. package/dist/{index-ZhAyoJF1.mjs → index-BvcE9kx0.mjs} +2 -2
  21. package/dist/{index-C_qb669N.mjs → index-Bzv1T2rE.mjs} +2 -2
  22. package/dist/{index-CC2HfDRg.mjs → index-C1TIJpBX.mjs} +2 -2
  23. package/dist/{index-H7TSweB3.mjs → index-C50GEcoN.mjs} +2 -2
  24. package/dist/{index-CGu_vOzv.mjs → index-C8VALc-x.mjs} +1 -1
  25. package/dist/{index-CCX-7rXJ.mjs → index-CIIwH5CM.mjs} +3 -3
  26. package/dist/{index-COpXIBy3.mjs → index-CMO-1BoO.mjs} +2 -2
  27. package/dist/index-CTC_D8-A.mjs +353 -0
  28. package/dist/{index-kUJi2-aB.mjs → index-CVQgcLRH.mjs} +1396 -1414
  29. package/dist/{index-CbxewuPf.mjs → index-CakK31Rp.mjs} +2 -2
  30. package/dist/{index-BG__Z-WG.mjs → index-CyInqmhb.mjs} +3 -3
  31. package/dist/{index-CoINUex3.mjs → index-D993kfeg.mjs} +2 -2
  32. package/dist/{index-Bd40uPc5.mjs → index-D9Wi_j9h.mjs} +2 -2
  33. package/dist/{index-qURttReu.mjs → index-DGZ_lllw.mjs} +1 -1
  34. package/dist/{index-CXUFQimF.mjs → index-DSftvy63.mjs} +3 -3
  35. package/dist/{index-DizC4YYk.mjs → index-DZz2iF4d.mjs} +6 -6
  36. package/dist/{index-BgIkENXF.mjs → index-DaFFNgmK.mjs} +2 -2
  37. package/dist/index-F9dxfOkY.mjs +356 -0
  38. package/dist/{index-DcllZHeM.mjs → index-LxX80FPC.mjs} +2 -2
  39. package/dist/{index-C576vmsw.mjs → index-S9BLyA2n.mjs} +101 -99
  40. package/dist/{index-BvWFE24Y.mjs → index-nW76ObDz.mjs} +3 -3
  41. package/dist/{index-DjFt_ll5.mjs → index-qRMBTq3z.mjs} +2 -2
  42. package/dist/{index-kCrU79W0.mjs → index-tdS-iw08.mjs} +2 -2
  43. package/dist/index-yEXkk-Jd.mjs +298 -0
  44. package/dist/index.mjs +1 -1
  45. package/dist/{info-B0EHDvWh.mjs → info-B5VZK_Jj.mjs} +1 -1
  46. package/dist/{info-B1LFxl1W.mjs → info-BZbUpYKc.mjs} +1 -1
  47. package/dist/{info-BUQ_sHuH.mjs → info-BeyeJ52O.mjs} +1 -1
  48. package/dist/{info-CONR76qG.mjs → info-DBab8bvh.mjs} +1 -1
  49. package/dist/info-DD_FUSc5.mjs +4 -0
  50. package/dist/info-DIuxgoOh.mjs +4 -0
  51. package/dist/info-DixdvVdw.mjs +4 -0
  52. package/dist/info-DkYsYIN0.mjs +4 -0
  53. package/dist/info-iChisiU3.mjs +4 -0
  54. package/dist/info.vue_vue_type_script_setup_true_lang-4OIr_eeU.mjs +264 -0
  55. package/dist/{info.vue_vue_type_script_setup_true_lang-CT_sBVl0.mjs → info.vue_vue_type_script_setup_true_lang-C6DieIN8.mjs} +1 -1
  56. package/dist/{info.vue_vue_type_script_setup_true_lang-huSWNlrU.mjs → info.vue_vue_type_script_setup_true_lang-C9jHBNnr.mjs} +14 -13
  57. package/dist/{info.vue_vue_type_script_setup_true_lang-Cl1l4KtN.mjs → info.vue_vue_type_script_setup_true_lang-CCFoSbcQ.mjs} +1 -1
  58. package/dist/{info.vue_vue_type_script_setup_true_lang-DdNE20gn.mjs → info.vue_vue_type_script_setup_true_lang-CcoLQKWP.mjs} +2 -2
  59. package/dist/info.vue_vue_type_script_setup_true_lang-CdC1rr1N.mjs +209 -0
  60. package/dist/{info.vue_vue_type_script_setup_true_lang-B1aUqChJ.mjs → info.vue_vue_type_script_setup_true_lang-Cg4p0Ii9.mjs} +2 -2
  61. package/dist/info.vue_vue_type_script_setup_true_lang-DgCsBUKD.mjs +374 -0
  62. package/dist/{info.vue_vue_type_script_setup_true_lang-D9dHHPmV.mjs → info.vue_vue_type_script_setup_true_lang-e7laeTRw.mjs} +2 -2
  63. package/dist/style.css +1 -1
  64. package/dts/views/item-flow-orders-interior-info/index.vue.d.ts +2 -0
  65. package/dts/views/item-flow-orders-interior-info/info.vue.d.ts +26 -0
  66. package/dts/views/itsm-flow-spare-parts-info/index.vue.d.ts +2 -0
  67. package/dts/views/itsm-flow-spare-parts-info/info.vue.d.ts +26 -0
  68. package/dts/views/itsm-flow-temporary-info/index.vue.d.ts +2 -0
  69. package/dts/views/itsm-flow-temporary-info/info.vue.d.ts +26 -0
  70. package/package.json +1 -1
  71. package/dist/info-DvYnaTD4.mjs +0 -4
  72. package/dist/info-qjfRxxQ5.mjs +0 -4
@@ -1,11 +1,11 @@
1
- import { defineComponent as L, mergeModels as P, useModel as z, getCurrentInstance as A, ref as T, resolveComponent as p, createBlock as V, openBlock as c, withCtx as l, createVNode as t, createTextVNode as i, toDisplayString as s, unref as m, createElementBlock as g, Fragment as B, renderList as D, createElementVNode as E } from "vue";
1
+ import { defineComponent as z, mergeModels as L, useModel as P, getCurrentInstance as A, ref as T, resolveComponent as p, createBlock as V, openBlock as f, withCtx as l, createVNode as t, createTextVNode as i, toDisplayString as s, unref as m, createElementBlock as g, Fragment as B, renderList as D, createElementVNode as E } from "vue";
2
2
  import { rbacApi as M } from "jmash-rbac";
3
- import { i as U, D as f } from "./index-D-qpeudM.mjs";
3
+ import { D as c, i as U } from "./index-BplQVJ9-.mjs";
4
4
  import { fileApi as K } from "jmash-core";
5
- import { i as S } from "./index-kUJi2-aB.mjs";
6
- const Q = /* @__PURE__ */ L({
5
+ import { i as S } from "./index-CVQgcLRH.mjs";
6
+ const Q = /* @__PURE__ */ z({
7
7
  __name: "info",
8
- props: /* @__PURE__ */ P({
8
+ props: /* @__PURE__ */ L({
9
9
  entityKey: {
10
10
  type: Object,
11
11
  default: () => {
@@ -18,7 +18,8 @@ const Q = /* @__PURE__ */ L({
18
18
  emits: ["update:modelValue"],
19
19
  setup(w) {
20
20
  var I;
21
- const y = z(w, "modelValue"), { proxy: $ } = A(), _ = w, n = T();
21
+ c.orgIdBizDict.useValues();
22
+ const y = P(w, "modelValue"), { proxy: $ } = A(), _ = w, n = T();
22
23
  (I = _.entityKey) != null && I.temporaryId && S.findById({ temporaryId: _.entityKey.temporaryId }).then((o) => {
23
24
  n.value = o.data;
24
25
  });
@@ -38,7 +39,7 @@ const Q = /* @__PURE__ */ L({
38
39
  }
39
40
  return (o, d) => {
40
41
  const r = p("el-form-item"), a = p("el-col"), b = p("el-button"), u = p("el-row"), C = p("el-form"), O = p("el-dialog");
41
- return c(), V(O, {
42
+ return f(), V(O, {
42
43
  modelValue: y.value,
43
44
  "onUpdate:modelValue": d[0] || (d[0] = (e) => y.value = e),
44
45
  onClose: k
@@ -61,7 +62,7 @@ const Q = /* @__PURE__ */ L({
61
62
  default: l(() => {
62
63
  var e;
63
64
  return [
64
- i(s(m(f).orgIdBizDict.getValue((e = n.value) == null ? void 0 : e.govOrgId)), 1)
65
+ i(s(m(c).orgIdBizDict.getValue((e = n.value) == null ? void 0 : e.govOrgId)), 1)
65
66
  ];
66
67
  }),
67
68
  _: 1
@@ -78,7 +79,7 @@ const Q = /* @__PURE__ */ L({
78
79
  default: l(() => {
79
80
  var e;
80
81
  return [
81
- i(s(m(f).itemBizLayDict.getValue((e = n.value) == null ? void 0 : e.itemId)), 1)
82
+ i(s(m(c).itemBizLayDict.getValue((e = n.value) == null ? void 0 : e.itemId)), 1)
82
83
  ];
83
84
  }),
84
85
  _: 1
@@ -162,12 +163,12 @@ const Q = /* @__PURE__ */ L({
162
163
  class: "bordered-row"
163
164
  }, {
164
165
  default: l(() => [
165
- (c(!0), g(B, null, D(m(f).fileTypeDict.values.slice(2, 3), (e, Y) => (c(), V(r, {
166
+ (f(!0), g(B, null, D(m(c).fileTypeDict.values.slice(2, 3), (e, Y) => (f(), V(r, {
166
167
  key: e.dictCode,
167
168
  label: e.dictName
168
169
  }, {
169
170
  default: l(() => [
170
- (c(!0), g(B, null, D(v.value, (F, N) => (c(), g("div", {
171
+ (f(!0), g(B, null, D(v.value, (F, N) => (f(), g("div", {
171
172
  key: N,
172
173
  class: "files-list"
173
174
  }, [
@@ -201,7 +202,7 @@ const Q = /* @__PURE__ */ L({
201
202
  default: l(() => {
202
203
  var e;
203
204
  return [
204
- i(s(m(f).orgIdBizDict.getValue((e = n.value) == null ? void 0 : e.outOrgId)), 1)
205
+ i(s(m(c).orgIdBizDict.getValue((e = n.value) == null ? void 0 : e.outOrgId)), 1)
205
206
  ];
206
207
  }),
207
208
  _: 1
@@ -218,7 +219,7 @@ const Q = /* @__PURE__ */ L({
218
219
  default: l(() => {
219
220
  var e;
220
221
  return [
221
- i(s(m(f).userExtBizDict.getValue((e = n.value) == null ? void 0 : e.userId)), 1)
222
+ i(s(m(c).userExtBizDict.getValue((e = n.value) == null ? void 0 : e.userId)), 1)
222
223
  ];
223
224
  }),
224
225
  _: 1
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as I, mergeModels as h, ref as N, useModel as B, resolveComponent as p, createBlock as O, openBlock as U, withCtx as e, createVNode as l, createElementVNode as a, createTextVNode as u, toDisplayString as i, unref as v } from "vue";
2
2
  import "element-plus";
3
- import { D as m, i as F } from "./index-D-qpeudM.mjs";
3
+ import { D as m, i as F } from "./index-BplQVJ9-.mjs";
4
4
  import { fileApi as j } from "jmash-core";
5
5
  const M = /* @__PURE__ */ I({
6
6
  __name: "info",
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as A, mergeModels as E, useModel as L, getCurrentInstance as M, ref as F, resolveComponent as u, createBlock as I, openBlock as c, withCtx as l, createVNode as t, createTextVNode as s, toDisplayString as m, createElementBlock as b, Fragment as h, renderList as k, unref as f, createElementVNode as K } from "vue";
2
2
  import { rbacApi as P } from "jmash-rbac";
3
- import { i as Y, D as V } from "./index-D-qpeudM.mjs";
3
+ import { i as Y, D as V } from "./index-BplQVJ9-.mjs";
4
4
  import { fileApi as R } from "jmash-core";
5
- import { i as j } from "./index-kUJi2-aB.mjs";
5
+ import { i as j } from "./index-CVQgcLRH.mjs";
6
6
  const J = /* @__PURE__ */ A({
7
7
  __name: "info",
8
8
  props: /* @__PURE__ */ E({
@@ -0,0 +1,209 @@
1
+ import { defineComponent as A, mergeModels as E, useModel as L, getCurrentInstance as M, ref as F, resolveComponent as u, createBlock as I, openBlock as c, withCtx as l, createVNode as t, createTextVNode as s, toDisplayString as m, createElementBlock as b, Fragment as h, renderList as k, unref as f, createElementVNode as K } from "vue";
2
+ import { rbacApi as P } from "jmash-rbac";
3
+ import { i as Y, D as V } from "./index-BplQVJ9-.mjs";
4
+ import { fileApi as R } from "jmash-core";
5
+ import { i as j } from "./index-CVQgcLRH.mjs";
6
+ const J = /* @__PURE__ */ A({
7
+ __name: "info",
8
+ props: /* @__PURE__ */ E({
9
+ entityKey: {
10
+ type: Object,
11
+ default: () => {
12
+ }
13
+ }
14
+ }, {
15
+ modelValue: { type: Boolean },
16
+ modelModifiers: {}
17
+ }),
18
+ emits: ["update:modelValue"],
19
+ setup(w) {
20
+ var g;
21
+ const p = L(w, "modelValue"), { proxy: C } = M(), y = w, n = F();
22
+ (g = y.entityKey) != null && g.temporaryId && j.findById({ temporaryId: y.entityKey.temporaryId }).then((o) => {
23
+ n.value = o.data;
24
+ });
25
+ const v = F([]);
26
+ Y.findFilesList({ actionId: y.entityKey.temporaryId }).then((o) => {
27
+ v.value = o.data.results, console.log(o.data.results, "=> files");
28
+ });
29
+ async function D(o) {
30
+ try {
31
+ const i = R.fileUrl(o.fileSrc), a = await (await fetch(i)).blob(), _ = window.URL.createObjectURL(a), d = document.createElement("a");
32
+ d.href = _, d.download = o.fileName || "download", document.body.appendChild(d), d.click();
33
+ } catch {
34
+ }
35
+ }
36
+ function B() {
37
+ p.value && (p.value = !1);
38
+ }
39
+ return (o, i) => {
40
+ const r = u("el-form-item"), a = u("el-col"), _ = u("el-button"), d = u("el-row"), $ = u("el-form"), N = u("el-dialog");
41
+ return c(), I(N, {
42
+ modelValue: p.value,
43
+ "onUpdate:modelValue": i[0] || (i[0] = (e) => p.value = e),
44
+ onClose: B
45
+ }, {
46
+ default: l(() => [
47
+ t($, {
48
+ ref: "itsmFlowEntrustFormRef",
49
+ "label-width": "150px",
50
+ class: "custom-table-form custom-form"
51
+ }, {
52
+ default: l(() => [
53
+ t(d, null, {
54
+ default: l(() => [
55
+ t(a, { span: 24 }, {
56
+ default: l(() => [
57
+ t(r, {
58
+ label: o.$t("itsmFlowTemporary.title"),
59
+ prop: "title"
60
+ }, {
61
+ default: l(() => {
62
+ var e;
63
+ return [
64
+ s(m((e = n.value) == null ? void 0 : e.title), 1)
65
+ ];
66
+ }),
67
+ _: 1
68
+ }, 8, ["label"])
69
+ ]),
70
+ _: 1
71
+ }),
72
+ t(a, { span: 24 }, {
73
+ default: l(() => [
74
+ t(r, {
75
+ label: o.$t("itsmFlowTemporary.content"),
76
+ prop: "content"
77
+ }, {
78
+ default: l(() => {
79
+ var e;
80
+ return [
81
+ s(m((e = n.value) == null ? void 0 : e.content), 1)
82
+ ];
83
+ }),
84
+ _: 1
85
+ }, 8, ["label"])
86
+ ]),
87
+ _: 1
88
+ }),
89
+ t(a, {
90
+ span: 24,
91
+ class: "bordered-row"
92
+ }, {
93
+ default: l(() => [
94
+ (c(!0), b(h, null, k(f(V).fileTypeDict.values.slice(2, 3), (e, x) => (c(), I(r, {
95
+ key: e.dictCode,
96
+ label: e.dictName
97
+ }, {
98
+ default: l(() => [
99
+ (c(!0), b(h, null, k(v.value, (T, U) => (c(), b("div", {
100
+ key: U,
101
+ class: "files-list"
102
+ }, [
103
+ K("span", null, m(T.fileName), 1),
104
+ t(_, {
105
+ type: "primary",
106
+ link: "",
107
+ size: "small",
108
+ class: "icon-right",
109
+ onClick: (z) => D(T)
110
+ }, {
111
+ default: l(() => i[1] || (i[1] = [
112
+ s(" 查看 ")
113
+ ])),
114
+ _: 2,
115
+ __: [1]
116
+ }, 1032, ["onClick"])
117
+ ]))), 128))
118
+ ]),
119
+ _: 2
120
+ }, 1032, ["label"]))), 128))
121
+ ]),
122
+ _: 1
123
+ }),
124
+ t(a, { span: 12 }, {
125
+ default: l(() => [
126
+ t(r, {
127
+ label: o.$t("itsmFlowTemporary.createUserTemporary"),
128
+ prop: "createBy"
129
+ }, {
130
+ default: l(() => {
131
+ var e;
132
+ return [
133
+ s(m(f(P).userInfo((e = n.value) == null ? void 0 : e.createBy).realName), 1)
134
+ ];
135
+ }),
136
+ _: 1
137
+ }, 8, ["label"])
138
+ ]),
139
+ _: 1
140
+ }),
141
+ t(a, { span: 12 }, {
142
+ default: l(() => [
143
+ t(r, {
144
+ label: o.$t("itsmFlowTemporary.createTime"),
145
+ prop: "createTime"
146
+ }, {
147
+ default: l(() => {
148
+ var e;
149
+ return [
150
+ s(m(f(C).$moment.formatDate(
151
+ (e = n.value) == null ? void 0 : e.createTime,
152
+ "YYYY-MM-DD HH:mm:ss"
153
+ )), 1)
154
+ ];
155
+ }),
156
+ _: 1
157
+ }, 8, ["label"])
158
+ ]),
159
+ _: 1
160
+ }),
161
+ t(a, { span: 24 }, {
162
+ default: l(() => [
163
+ t(r, {
164
+ label: o.$t("itsmFlowTemporary.userIdTemporary"),
165
+ prop: "userId"
166
+ }, {
167
+ default: l(() => {
168
+ var e;
169
+ return [
170
+ s(m(f(V).userExtBizDict.getValue((e = n.value) == null ? void 0 : e.userId)), 1)
171
+ ];
172
+ }),
173
+ _: 1
174
+ }, 8, ["label"])
175
+ ]),
176
+ _: 1
177
+ }),
178
+ t(a, { span: 24 }, {
179
+ default: l(() => [
180
+ t(r, {
181
+ label: o.$t("itsmFlowTemporary.handlingPeriod"),
182
+ prop: "handlingPeriod"
183
+ }, {
184
+ default: l(() => {
185
+ var e;
186
+ return [
187
+ s(m((e = n.value) == null ? void 0 : e.handlingPeriod), 1)
188
+ ];
189
+ }),
190
+ _: 1
191
+ }, 8, ["label"])
192
+ ]),
193
+ _: 1
194
+ })
195
+ ]),
196
+ _: 1
197
+ })
198
+ ]),
199
+ _: 1
200
+ }, 512)
201
+ ]),
202
+ _: 1
203
+ }, 8, ["modelValue"]);
204
+ };
205
+ }
206
+ });
207
+ export {
208
+ J as _
209
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as U, mergeModels as K, useModel as z, ref as P, resolveComponent as m, createBlock as _, openBlock as f, withCtx as e, createVNode as l, createElementVNode as $, createCommentVNode as B, createTextVNode as r, toDisplayString as n, unref as c, createElementBlock as I, Fragment as C, renderList as N } from "vue";
2
- import { D as b, i as R } from "./index-D-qpeudM.mjs";
3
- import { i as j, a as q } from "./index-IGQyX8F5.mjs";
2
+ import { D as b, i as R } from "./index-BplQVJ9-.mjs";
3
+ import { i as j, a as q } from "./index-BSGtDp12.mjs";
4
4
  import { fileApi as G } from "jmash-core";
5
5
  import { rbacApi as H } from "jmash-rbac";
6
6
  const Z = /* @__PURE__ */ U({