xyvcard-itsm-flow 0.0.27 → 0.0.29

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 (62) hide show
  1. package/dist/{FileSaver.min-DDqwfEMu.mjs → FileSaver.min-BJJnPj5_.mjs} +1 -1
  2. package/dist/{edit-BpAjiLxu.mjs → edit-7a3pU3gM.mjs} +32 -33
  3. package/dist/{edit-CkGTDSiH.mjs → edit-B766NO49.mjs} +1 -1
  4. package/dist/{edit-DIyC972n.mjs → edit-BlU9fwRY.mjs} +2 -2
  5. package/dist/{edit-BWaFYsWY.mjs → edit-Cr-eJzsu.mjs} +2 -2
  6. package/dist/{edit-BH_qEChy.mjs → edit-DoewXVPj.mjs} +1 -1
  7. package/dist/{edit-D0-xQV59.mjs → edit-OIcnLUiZ.mjs} +1 -1
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-CEHUWh-t.mjs → edit.vue_vue_type_script_setup_true_lang-B1O92nnS.mjs} +2 -2
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-DcDT5675.mjs → edit.vue_vue_type_script_setup_true_lang-BTZqpf-h.mjs} +1 -1
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-CxUe7kvR.mjs → edit.vue_vue_type_script_setup_true_lang-CTEuDDac.mjs} +1 -1
  11. package/dist/{index-Chh_9yED.mjs → index-B0EdAsac.mjs} +64 -64
  12. package/dist/{index-BkqkF7bW.mjs → index-BYjL5oUb.mjs} +1 -1
  13. package/dist/{index-Cd9CTAUb.mjs → index-BeiFftoz.mjs} +43 -43
  14. package/dist/{index-rHARbj0G.mjs → index-BokqyNKm.mjs} +3 -3
  15. package/dist/{index-Bjjyjlwd.mjs → index-BxTUhmxb.mjs} +1 -1
  16. package/dist/{index-n6pwVFlo.mjs → index-C-5DyRAf.mjs} +1 -1
  17. package/dist/{index-CillImY_.mjs → index-C0SUKE_b.mjs} +130 -131
  18. package/dist/{index-qvWMlGg9.mjs → index-CS4lbGVv.mjs} +2 -2
  19. package/dist/{index-CGDEQO2p.mjs → index-CTHETI78.mjs} +2 -2
  20. package/dist/{index-DfptoNZ3.mjs → index-ClSfPsAZ.mjs} +225 -234
  21. package/dist/{index-YBHgdjIk.mjs → index-CloP-imd.mjs} +77 -77
  22. package/dist/{index-WpTFFCXY.mjs → index-CvRKy1Zt.mjs} +3 -3
  23. package/dist/{index-DBRVK73O.mjs → index-DD73FsFR.mjs} +2 -2
  24. package/dist/{index-QPdQNctc.mjs → index-D_YsAUB5.mjs} +4 -4
  25. package/dist/{index-DjZysfQB.mjs → index-DdN_VfEA.mjs} +19 -20
  26. package/dist/{index-DY5EGkfi.mjs → index-DhIucH1l.mjs} +3 -3
  27. package/dist/{index-DxoX_XqQ.mjs → index-Dhi872WO.mjs} +54 -56
  28. package/dist/{index-D6Poyzq3.mjs → index-Dt4hyivI.mjs} +2 -2
  29. package/dist/index-FYXSfSRw.mjs +336 -0
  30. package/dist/{index-CXOeg2so.mjs → index-H9iJHz8H.mjs} +408 -378
  31. package/dist/{index-BKveaoi_.mjs → index-SHY9mfQ4.mjs} +15 -15
  32. package/dist/{index-CI9FMMKr.mjs → index-TwUCIPb2.mjs} +34 -35
  33. package/dist/{index-CjYlJigX.mjs → index-WI518CIo.mjs} +4 -4
  34. package/dist/{index-B20ya3NZ.mjs → index-ZWDwP27X.mjs} +93 -93
  35. package/dist/{index-CQ9elIv7.mjs → index-a9yfLGkF.mjs} +2 -2
  36. package/dist/{index-BKQGui3N.mjs → index-gz_fPNLU.mjs} +3 -3
  37. package/dist/{index-C3zQQDPa.mjs → index-nKA8vf-F.mjs} +3 -3
  38. package/dist/{index-DcDzU5zK.mjs → index-oOdJR6IJ.mjs} +61 -58
  39. package/dist/{index-CV6uWLV9.mjs → index-uxxOPESF.mjs} +33 -33
  40. package/dist/{index-DTY8LR57.mjs → index-yF5goVnK.mjs} +1 -1
  41. package/dist/index.mjs +1 -1
  42. package/dist/{info-BmfgBiif.mjs → info-B3IFH6JM.mjs} +1 -1
  43. package/dist/{info-C1J_4HDK.mjs → info-BPzoFpre.mjs} +1 -1
  44. package/dist/{info-DTZck-Y6.mjs → info-DDUOzO6P.mjs} +1 -1
  45. package/dist/{info-0Dcd8VrX.mjs → info-DeCyo-9t.mjs} +1 -1
  46. package/dist/info-DgdSwOpG.mjs +4 -0
  47. package/dist/info-mG4uiy17.mjs +4 -0
  48. package/dist/{info.vue_vue_type_script_setup_true_lang-CzLGZ50z.mjs → info.vue_vue_type_script_setup_true_lang-Bp7DYLNW.mjs} +1 -1
  49. package/dist/{info.vue_vue_type_script_setup_true_lang-CEoQybvz.mjs → info.vue_vue_type_script_setup_true_lang-BsVcXTOa.mjs} +2 -2
  50. package/dist/{info.vue_vue_type_script_setup_true_lang-0cRfUL0q.mjs → info.vue_vue_type_script_setup_true_lang-DRu-ikYO.mjs} +14 -14
  51. package/dist/{info.vue_vue_type_script_setup_true_lang-CdfnKI3-.mjs → info.vue_vue_type_script_setup_true_lang-DVV5aOiA.mjs} +10 -10
  52. package/dist/{info.vue_vue_type_script_setup_true_lang-CETcd2E0.mjs → info.vue_vue_type_script_setup_true_lang-DqrV1bD4.mjs} +1 -1
  53. package/dist/{info.vue_vue_type_script_setup_true_lang-BeDGwXfi.mjs → info.vue_vue_type_script_setup_true_lang-QbYDyzuO.mjs} +12 -12
  54. package/dist/style.css +1 -1
  55. package/dts/api/itsm-flow-spare-parts-demand-data/index.d.ts +8 -0
  56. package/dts/api/itsm-flow-spare-parts-demand-data/types.d.ts +44 -0
  57. package/dts/api/itsm-flow-temporary/types.d.ts +1 -1
  58. package/dts/lang/itsm-flow/zh-cn.d.ts +29 -0
  59. package/dts/views/itsm-flow-spare-parts-demand-data/index.vue.d.ts +2 -0
  60. package/package.json +1 -1
  61. package/dist/info-DjtHpeoT.mjs +0 -4
  62. package/dist/info-qIG0jebP.mjs +0 -4
@@ -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-DTY8LR57.mjs";
5
+ import { I as pe, C as w, U as fe, d as ve, D as F, i as N } from "./index-yF5goVnK.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,9 +1,9 @@
1
- import { defineComponent as M, mergeModels as N, ref as _, useModel as P, getCurrentInstance as A, resolveComponent as f, createElementBlock as b, openBlock as v, Fragment as g, createVNode as t, withCtx as l, createElementVNode as F, createTextVNode as i, toDisplayString as n, unref as c, renderList as T, createBlock as E } from "vue";
2
- import { rbacApi as U } from "jmash-rbac";
3
- import { D as u, i as R, C as S } from "./index-DTY8LR57.mjs";
1
+ import { defineComponent as z, mergeModels as N, ref as b, useModel as P, getCurrentInstance as A, resolveComponent as f, createElementBlock as v, openBlock as _, Fragment as g, createVNode as t, withCtx as l, createElementVNode as T, createTextVNode as n, toDisplayString as i, unref as p, renderList as B, createBlock as E } from "vue";
2
+ import { rbacApi as S } from "jmash-rbac";
3
+ import { D as d, i as U, C as R } from "./index-yF5goVnK.mjs";
4
4
  import { fileApi as Y } from "jmash-core";
5
- import { i as j } from "./index-CXOeg2so.mjs";
6
- const Q = /* @__PURE__ */ M({
5
+ import { i as j } from "./index-H9iJHz8H.mjs";
6
+ const Q = /* @__PURE__ */ z({
7
7
  __name: "index",
8
8
  props: /* @__PURE__ */ N({
9
9
  task: {
@@ -16,56 +16,56 @@ const Q = /* @__PURE__ */ M({
16
16
  modelModifiers: {}
17
17
  }),
18
18
  emits: ["update:modelValue"],
19
- setup(w, { expose: h }) {
20
- u.itemBizLayDict.useValues(), u.orgIdBizDict.useValues(), u.userExtBizDict.useValues(), console.log(u.itemBizLayDict.values, "=> itemBizLayDict"), console.log(u.orgIdBizDict.values, "=> itemBizLayDict");
21
- const I = _(), V = _({}), m = P(w, "modelValue"), { proxy: z } = A(), k = w, s = _();
19
+ setup(w, { expose: V }) {
20
+ d.itemBizLayDict.useValues(), d.orgIdBizDict.useValues(), d.userExtBizDict.useValues();
21
+ const I = b(), h = b({}), m = P(w, "modelValue"), { proxy: $ } = A(), k = w, s = b();
22
22
  j.findById({ temporaryId: k.task.businessKey }).then((a) => {
23
23
  s.value = a.data;
24
24
  });
25
- const D = _([]);
26
- R.findFilesList({ actionId: k.task.businessKey }).then((a) => {
27
- D.value = a.data.results, console.log(a.data.results, "=> files");
25
+ const F = b([]);
26
+ U.findFilesList({ actionId: k.task.businessKey }).then((a) => {
27
+ F.value = a.data.results;
28
28
  });
29
- async function L(a) {
29
+ async function C(a) {
30
30
  try {
31
- const d = Y.fileUrl(a.filePath), r = await (await fetch(d)).blob(), y = window.URL.createObjectURL(r), p = document.createElement("a");
32
- p.href = y, p.download = a.fileName || "download", document.body.appendChild(p), p.click();
31
+ const u = Y.fileUrl(a.fileSrc), r = await (await fetch(u)).blob(), y = window.URL.createObjectURL(r), c = document.createElement("a");
32
+ c.href = y, c.download = a.fileName || "download", document.body.appendChild(c), c.click();
33
33
  } catch {
34
34
  }
35
35
  }
36
- h({
37
- changeModel: () => $()
36
+ V({
37
+ changeModel: () => O()
38
38
  });
39
- function $() {
39
+ function O() {
40
40
  return m.value && (m.value.selectActions = [
41
41
  { key: "true", value: "同意" },
42
42
  { key: "false", value: "不同意" }
43
- ], m.value.varName = "approved", m.value.module = "", m.value.module = S.MODULE_ITSMFLOW), new Promise((a, d) => {
43
+ ], m.value.varName = "approved", m.value.module = "", m.value.module = R.MODULE_ITSMFLOW), new Promise((a, u) => {
44
44
  var o;
45
45
  (o = I.value) == null || o.validate((r) => {
46
- r ? (m.value && (m.value.comment = ""), a(!0)) : d(!1);
46
+ r ? (m.value && (m.value.comment = ""), a(!0)) : u(!1);
47
47
  });
48
48
  });
49
49
  }
50
- return (a, d) => {
51
- const o = f("el-col"), r = f("el-form-item"), y = f("el-button"), p = f("el-row"), C = f("el-form");
52
- return v(), b(g, null, [
50
+ return (a, u) => {
51
+ const o = f("el-col"), r = f("el-form-item"), y = f("el-button"), c = f("el-row"), L = f("el-form");
52
+ return _(), v(g, null, [
53
53
  t(o, { span: 24 }, {
54
- default: l(() => d[0] || (d[0] = [
55
- F("div", { class: "title" }, "外部临时工单临时工单", -1)
54
+ default: l(() => u[0] || (u[0] = [
55
+ T("div", { class: "title" }, "外部临时工单临时工单", -1)
56
56
  ])),
57
57
  _: 1,
58
58
  __: [0]
59
59
  }),
60
- t(C, {
60
+ t(L, {
61
61
  ref_key: "taskFormRef",
62
62
  ref: I,
63
- model: V.value,
63
+ model: h.value,
64
64
  "label-width": "150px",
65
65
  class: "custom-table-form custom-form"
66
66
  }, {
67
67
  default: l(() => [
68
- t(p, null, {
68
+ t(c, null, {
69
69
  default: l(() => [
70
70
  t(o, { span: 24 }, {
71
71
  default: l(() => [
@@ -76,7 +76,7 @@ const Q = /* @__PURE__ */ M({
76
76
  default: l(() => {
77
77
  var e;
78
78
  return [
79
- i(n(c(u).orgIdBizDict.getValue((e = s.value) == null ? void 0 : e.govOrgId)), 1)
79
+ n(i(p(d).orgIdBizDict.getValue((e = s.value) == null ? void 0 : e.govOrgId)), 1)
80
80
  ];
81
81
  }),
82
82
  _: 1
@@ -93,7 +93,7 @@ const Q = /* @__PURE__ */ M({
93
93
  default: l(() => {
94
94
  var e;
95
95
  return [
96
- i(n(c(u).itemBizLayDict.getValue((e = s.value) == null ? void 0 : e.itemId)), 1)
96
+ n(i(p(d).itemBizLayDict.getValue((e = s.value) == null ? void 0 : e.itemId)), 1)
97
97
  ];
98
98
  }),
99
99
  _: 1
@@ -110,7 +110,7 @@ const Q = /* @__PURE__ */ M({
110
110
  default: l(() => {
111
111
  var e;
112
112
  return [
113
- i(n(c(U).userInfo((e = s.value) == null ? void 0 : e.createBy).realName), 1)
113
+ n(i(p(S).userInfo((e = s.value) == null ? void 0 : e.createBy).realName), 1)
114
114
  ];
115
115
  }),
116
116
  _: 1
@@ -127,7 +127,7 @@ const Q = /* @__PURE__ */ M({
127
127
  default: l(() => {
128
128
  var e;
129
129
  return [
130
- i(n(c(z).$moment.formatDate(
130
+ n(i(p($).$moment.formatDate(
131
131
  (e = s.value) == null ? void 0 : e.createTime,
132
132
  "YYYY-MM-DD HH:mm:ss"
133
133
  )), 1)
@@ -147,7 +147,7 @@ const Q = /* @__PURE__ */ M({
147
147
  default: l(() => {
148
148
  var e;
149
149
  return [
150
- i(n((e = s.value) == null ? void 0 : e.title), 1)
150
+ n(i((e = s.value) == null ? void 0 : e.title), 1)
151
151
  ];
152
152
  }),
153
153
  _: 1
@@ -164,7 +164,7 @@ const Q = /* @__PURE__ */ M({
164
164
  default: l(() => {
165
165
  var e;
166
166
  return [
167
- i(n((e = s.value) == null ? void 0 : e.content), 1)
167
+ n(i((e = s.value) == null ? void 0 : e.content), 1)
168
168
  ];
169
169
  }),
170
170
  _: 1
@@ -177,25 +177,25 @@ const Q = /* @__PURE__ */ M({
177
177
  class: "bordered-row"
178
178
  }, {
179
179
  default: l(() => [
180
- (v(!0), b(g, null, T(c(u).fileTypeDict.values.slice(2, 3), (e, x) => (v(), E(r, {
180
+ (_(!0), v(g, null, B(p(d).fileTypeDict.values.slice(2, 3), (e, x) => (_(), E(r, {
181
181
  key: e.dictCode,
182
182
  label: e.dictName
183
183
  }, {
184
184
  default: l(() => [
185
- (v(!0), b(g, null, T(D.value, (B, O) => (v(), b("div", {
186
- key: O,
185
+ (_(!0), v(g, null, B(F.value, (D, M) => (_(), v("div", {
186
+ key: M,
187
187
  class: "files-list"
188
188
  }, [
189
- F("span", null, n(B.fileName), 1),
189
+ T("span", null, i(D.fileName), 1),
190
190
  t(y, {
191
191
  type: "primary",
192
192
  link: "",
193
193
  size: "small",
194
194
  class: "icon-right",
195
- onClick: (H) => L(B)
195
+ onClick: (H) => C(D)
196
196
  }, {
197
- default: l(() => d[1] || (d[1] = [
198
- i(" 查看 ")
197
+ default: l(() => u[1] || (u[1] = [
198
+ n(" 查看 ")
199
199
  ])),
200
200
  _: 2,
201
201
  __: [1]
@@ -216,7 +216,7 @@ const Q = /* @__PURE__ */ M({
216
216
  default: l(() => {
217
217
  var e;
218
218
  return [
219
- i(n(c(u).orgIdBizDict.getValue((e = s.value) == null ? void 0 : e.outOrgId)), 1)
219
+ n(i(p(d).orgIdBizDict.getValue((e = s.value) == null ? void 0 : e.outOrgId)), 1)
220
220
  ];
221
221
  }),
222
222
  _: 1
@@ -233,7 +233,7 @@ const Q = /* @__PURE__ */ M({
233
233
  default: l(() => {
234
234
  var e;
235
235
  return [
236
- i(n(c(u).userExtBizDict.getValue((e = s.value) == null ? void 0 : e.userId)), 1)
236
+ n(i(p(d).userExtBizDict.getValue((e = s.value) == null ? void 0 : e.userId)), 1)
237
237
  ];
238
238
  }),
239
239
  _: 1
@@ -250,7 +250,7 @@ const Q = /* @__PURE__ */ M({
250
250
  default: l(() => {
251
251
  var e;
252
252
  return [
253
- i(n((e = s.value) == null ? void 0 : e.handlingPeriod), 1)
253
+ n(i((e = s.value) == null ? void 0 : e.handlingPeriod), 1)
254
254
  ];
255
255
  }),
256
256
  _: 1
@@ -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-H9iJHz8H.mjs";
5
+ import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-B1O92nnS.mjs";
6
+ import { C as te, D as p } from "./index-yF5goVnK.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) {
@@ -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-CXOeg2so.mjs";
2
+ import { q as o } from "./index-H9iJHz8H.mjs";
3
3
  class _ {
4
4
  getKey(t) {
5
5
  return {
@@ -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-yF5goVnK.mjs";
7
7
  const Ie = /* @__PURE__ */ ne({
8
8
  __name: "index",
9
9
  props: /* @__PURE__ */ se({