xyvcard-itsm-flow 0.0.24 → 0.0.26

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 (63) hide show
  1. package/dist/{FileSaver.min-X2_RihtX.mjs → FileSaver.min-FLjvLk81.mjs} +1 -1
  2. package/dist/{edit-fNZ8seSE.mjs → edit-Bj6O1CiV.mjs} +36 -36
  3. package/dist/{edit-Crp2NJw2.mjs → edit-BoyxGI-j.mjs} +1 -1
  4. package/dist/{edit-C4uQUyxR.mjs → edit-ChPw3-tf.mjs} +52 -50
  5. package/dist/{edit-Da4XYqIW.mjs → edit-D--QEJjt.mjs} +1 -1
  6. package/dist/{edit-B4N5cmbv.mjs → edit-DE30a8nF.mjs} +1 -1
  7. package/dist/{edit-DSzeVnep.mjs → edit-DVqIGzRC.mjs} +2 -2
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-ClkzOaAV.mjs → edit.vue_vue_type_script_setup_true_lang-D4j6dzcV.mjs} +1 -1
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-DZj5V6Mk.mjs → edit.vue_vue_type_script_setup_true_lang-DHCoPaGf.mjs} +2 -2
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-VfP4qMQI.mjs → edit.vue_vue_type_script_setup_true_lang-DiY4aiPm.mjs} +1 -1
  11. package/dist/{index-CPwNJkJK.mjs → index-8wrBAgqn.mjs} +5 -5
  12. package/dist/{index-B5OVt83d.mjs → index-BCm8GyNp.mjs} +1 -1
  13. package/dist/{index-C9LdNu0a.mjs → index-BGUJBf1b.mjs} +27 -27
  14. package/dist/{index-BePwvZ9m.mjs → index-BKReblQ-.mjs} +56 -56
  15. package/dist/{index-D5jF4kAT.mjs → index-BPbEgv_g.mjs} +114 -114
  16. package/dist/{index-DNFVieqg.mjs → index-BVKYrCIy.mjs} +1 -1
  17. package/dist/{index-B0J0xma8.mjs → index-BnpWxtwn.mjs} +3 -3
  18. package/dist/{index-COvZrTZl.mjs → index-C2_qB4RV.mjs} +1 -1
  19. package/dist/{index-Dxfj5xxz.mjs → index-C6lbS4Lo.mjs} +2 -2
  20. package/dist/{index-DnIYE76A.mjs → index-CBlDGIOm.mjs} +37 -37
  21. package/dist/{index-jzk2C9cj.mjs → index-Cbd9gMMJ.mjs} +21 -21
  22. package/dist/{index-Dx0mdENP.mjs → index-CcmelnG0.mjs} +32 -32
  23. package/dist/{index-tcsDF6U0.mjs → index-Cv9EtBjj.mjs} +153 -145
  24. package/dist/{index-Bmev8P7I.mjs → index-DCrOzptR.mjs} +3 -3
  25. package/dist/{index-CCnjfMtC.mjs → index-DLKaq1KT.mjs} +3 -3
  26. package/dist/{index-COT8mjWU.mjs → index-DUeJgFzy.mjs} +2 -2
  27. package/dist/{index-5rQmXXAD.mjs → index-DWJG5OHB.mjs} +1 -1
  28. package/dist/{index-sjkYgg27.mjs → index-DeWL7kiw.mjs} +2 -2
  29. package/dist/{index-CBowEKcR.mjs → index-DgMfinzm.mjs} +2 -2
  30. package/dist/{index-p1DDr7xl.mjs → index-DrUmzzLs.mjs} +13 -13
  31. package/dist/{index-k6cvISUf.mjs → index-DvfEpZEP.mjs} +44 -44
  32. package/dist/{index-CIG303fh.mjs → index-DwPAoK5U.mjs} +121 -118
  33. package/dist/{index-CWrb0ryZ.mjs → index-DyZhLpPq.mjs} +18 -18
  34. package/dist/{index-KUs-CZ9C.mjs → index-DyhFuDLH.mjs} +9 -9
  35. package/dist/{index-BYazmSpv.mjs → index-DymW6iPU.mjs} +3 -3
  36. package/dist/index-SilwoNEK.mjs +4487 -0
  37. package/dist/{index-D47Eql1L.mjs → index-jG64vmFA.mjs} +130 -130
  38. package/dist/{index-DPqaoK4-.mjs → index-r4Tg0GX2.mjs} +3 -3
  39. package/dist/{index-DVyAUAgy.mjs → index-xWvPJZ-m.mjs} +2 -2
  40. package/dist/index.mjs +23 -2921
  41. package/dist/{info-B6nfKr37.mjs → info-9EvTq-5p.mjs} +1 -1
  42. package/dist/{info-Cd4n1Hxk.mjs → info-BWhsB1Ap.mjs} +1 -1
  43. package/dist/{info-D90oJO1z.mjs → info-CGUYIYny.mjs} +1 -1
  44. package/dist/{info-6YpNb7VF.mjs → info-CbJJduEU.mjs} +1 -1
  45. package/dist/info-CtxVi70h.mjs +4 -0
  46. package/dist/info-ZeMWMgd3.mjs +4 -0
  47. package/dist/{info.vue_vue_type_script_setup_true_lang-BzNQmLMY.mjs → info.vue_vue_type_script_setup_true_lang-C0J9fiF3.mjs} +1 -1
  48. package/dist/{info.vue_vue_type_script_setup_true_lang-BWMDxwv-.mjs → info.vue_vue_type_script_setup_true_lang-CAfl8pgB.mjs} +13 -13
  49. package/dist/{info.vue_vue_type_script_setup_true_lang-BvcEV_aO.mjs → info.vue_vue_type_script_setup_true_lang-CY7c7Xmz.mjs} +2 -2
  50. package/dist/{info.vue_vue_type_script_setup_true_lang-BM-bddTj.mjs → info.vue_vue_type_script_setup_true_lang-CdiFub3m.mjs} +8 -8
  51. package/dist/{info.vue_vue_type_script_setup_true_lang-CZa5y_q9.mjs → info.vue_vue_type_script_setup_true_lang-DIXXp0TI.mjs} +2 -2
  52. package/dist/{info.vue_vue_type_script_setup_true_lang-DhuclI_H.mjs → info.vue_vue_type_script_setup_true_lang-Dm4Ld-wL.mjs} +1 -1
  53. package/dist/style.css +1 -1
  54. package/dts/api/itsm-flow-temporary/index.d.ts +2 -1
  55. package/dts/api/itsm-flow-temporary/types.d.ts +13 -0
  56. package/dts/index.d.ts +2 -0
  57. package/dts/lang/itsm-flow/zh-cn.d.ts +6 -6
  58. package/package.json +1 -1
  59. package/dist/_commonjsHelpers-BVfed4GL.mjs +0 -28
  60. package/dist/index-CYJvDaI_.mjs +0 -1371
  61. package/dist/index-o0oTSdUL.mjs +0 -149
  62. package/dist/info-XskyQapE.mjs +0 -4
  63. package/dist/info-a4HMapKP.mjs +0 -4
@@ -1,8 +1,8 @@
1
- import { defineComponent as R, mergeModels as K, ref as _, useModel as j, resolveComponent as c, createElementBlock as F, openBlock as m, Fragment as D, createVNode as t, withCtx as l, createElementVNode as v, createBlock as S, createCommentVNode as B, createTextVNode as s, toDisplayString as n, unref as b, renderList as N } from "vue";
1
+ import { defineComponent as R, mergeModels as K, ref as v, useModel as j, resolveComponent as b, createElementBlock as F, openBlock as m, Fragment as k, createVNode as t, withCtx as e, createElementVNode as f, createBlock as S, createCommentVNode as B, createTextVNode as n, toDisplayString as s, unref as y, renderList as L } from "vue";
2
2
  import "element-plus";
3
3
  import { useI18n as q } from "vue-i18n";
4
- import { D as d, C as W, i as G } from "./index-5rQmXXAD.mjs";
5
- import { i as H, a as J } from "./index-COvZrTZl.mjs";
4
+ import { D as d, C as W, i as G } from "./index-DWJG5OHB.mjs";
5
+ import { i as H, a as J } from "./index-C2_qB4RV.mjs";
6
6
  import { fileApi as Q } from "jmash-core";
7
7
  import { rbacApi as X } from "jmash-rbac";
8
8
  import { _ as Y } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
@@ -20,22 +20,24 @@ const Z = { class: "total-price" }, x = { id: "totalPrice" }, ee = /* @__PURE__
20
20
  }),
21
21
  emits: ["update:modelValue"],
22
22
  setup(I, { expose: h }) {
23
- d.fileTypeDict.useDictValues(), d.orgIdBizDict.useValues(), d.itemBizLayDict.useValues(), console.log(d.orgIdBizDict.values, "=> orgIdBizDict"), console.log(d.itemBizLayDict.values, "=>itemBizLayDict ");
24
- const { t: le } = q(), $ = _(), C = _({}), f = j(I, "modelValue"), V = _([]), P = I, u = _({});
25
- H.findById({ flowSpareId: P.task.businessKey }).then(({ data: e }) => {
26
- u.value = e, console.log(e, "=>data");
23
+ d.fileTypeDict.useDictValues(), d.orgIdBizDict.useValues(), d.itemBizLayDict.useValues(), d.budgetTypeDict.useValues(), console.log(d.orgIdBizDict.values, "=> orgIdBizDict"), console.log(d.itemBizLayDict.values, "=>itemBizLayDict ");
24
+ const { t: le } = q(), $ = v(), C = v({}), c = j(I, "modelValue"), V = v([]), D = I;
25
+ console.log(d.budgetTypeDict.values, "=>budgetTypeDict ");
26
+ const u = v({});
27
+ H.findById({ flowSpareId: D.task.businessKey }).then(({ data: l }) => {
28
+ u.value = l, console.log(l, "=>data");
27
29
  });
28
- const L = _([]);
29
- J.findList({ flowSpareId: P.task.businessKey }).then((e) => {
30
- L.value = e.data.results, console.log(e.data.results, "=>tableData ");
30
+ const N = v([]);
31
+ J.findList({ flowSpareId: D.task.businessKey }).then((l) => {
32
+ N.value = l.data.results, console.log(l.data.results, "=>tableData ");
31
33
  });
32
- const M = (e) => {
34
+ const M = (l) => {
33
35
  var a;
34
- return ((a = V.value) == null ? void 0 : a.filter((o) => o.fileSort === e)) || [];
36
+ return ((a = V.value) == null ? void 0 : a.filter((o) => o.fileSort === l)) || [];
35
37
  };
36
- function z() {
37
- G.findFilesList({ actionId: P.task.businessKey }).then(({ data: e }) => {
38
- console.log(e, "=> data"), e.results && Array.isArray(e.results) && (V.value = e.results.map((a) => {
38
+ function T() {
39
+ G.findFilesList({ actionId: D.task.businessKey }).then(({ data: l }) => {
40
+ console.log(l, "=> data"), l.results && Array.isArray(l.results) && (V.value = l.results.map((a) => {
39
41
  let o = "";
40
42
  return a.fileName && (o = a.fileSort || a.type || ""), {
41
43
  fileName: a.fileName || "",
@@ -45,34 +47,34 @@ const Z = { class: "total-price" }, x = { id: "totalPrice" }, ee = /* @__PURE__
45
47
  }));
46
48
  });
47
49
  }
48
- z();
49
- async function A(e) {
50
+ T();
51
+ async function z(l) {
50
52
  try {
51
- const a = Q.fileUrl(e.filePath), i = await (await fetch(a)).blob(), w = window.URL.createObjectURL(i), p = document.createElement("a");
52
- p.href = w, p.download = e.fileName || "download", document.body.appendChild(p), p.click();
53
+ const a = Q.fileUrl(l.filePath), i = await (await fetch(a)).blob(), w = window.URL.createObjectURL(i), p = document.createElement("a");
54
+ p.href = w, p.download = l.fileName || "download", document.body.appendChild(p), p.click();
53
55
  } catch {
54
56
  }
55
57
  }
56
58
  h({
57
- changeModel: () => O()
59
+ changeModel: () => A()
58
60
  });
59
- function O() {
60
- return f.value && (f.value.selectActions = [
61
+ function A() {
62
+ return c.value && (c.value.selectActions = [
61
63
  { key: "true", value: "同意" },
62
64
  { key: "false", value: "不同意" }
63
- ], f.value.varName = "approved", f.value.module = "", f.value.module = W.MODULE_ITSMFLOW), new Promise((e, a) => {
65
+ ], c.value.varName = "approved", c.value.module = "", c.value.module = W.MODULE_ITSMFLOW), new Promise((l, a) => {
64
66
  var o;
65
67
  (o = $.value) == null || o.validate((i) => {
66
- i ? (f.value && (f.value.comment = ""), e(!0)) : a(!1);
68
+ i ? (c.value && (c.value.comment = ""), l(!0)) : a(!1);
67
69
  });
68
70
  });
69
71
  }
70
- return (e, a) => {
71
- const o = c("el-col"), i = c("el-form-item"), w = c("el-row"), p = c("el-table-column"), T = c("el-table"), E = c("el-button"), U = c("el-form");
72
- return m(), F(D, null, [
72
+ return (l, a) => {
73
+ const o = b("el-col"), i = b("el-form-item"), w = b("el-row"), p = b("el-table-column"), O = b("el-table"), E = b("el-button"), U = b("el-form");
74
+ return m(), F(k, null, [
73
75
  t(o, { span: 24 }, {
74
- default: l(() => a[0] || (a[0] = [
75
- v("div", { class: "title" }, "备品备件申请领用表", -1)
76
+ default: e(() => a[0] || (a[0] = [
77
+ f("div", { class: "title" }, "备品备件申请领用表", -1)
76
78
  ])),
77
79
  _: 1,
78
80
  __: [0]
@@ -84,19 +86,19 @@ const Z = { class: "total-price" }, x = { id: "totalPrice" }, ee = /* @__PURE__
84
86
  "label-width": "150px",
85
87
  class: "custom-table-form"
86
88
  }, {
87
- default: l(() => [
89
+ default: e(() => [
88
90
  t(w, null, {
89
- default: l(() => {
90
- var r, k, y;
91
+ default: e(() => {
92
+ var r, P, _;
91
93
  return [
92
94
  t(o, { span: 12 }, {
93
- default: l(() => [
95
+ default: e(() => [
94
96
  t(i, {
95
- label: e.$t("itsmFlowSpareParts.govOrgId"),
97
+ label: l.$t("itsmFlowSpareParts.govOrgId"),
96
98
  prop: "govOrgId"
97
99
  }, {
98
- default: l(() => [
99
- s(n(b(d).orgIdBizDict.getValue(u.value.orgId)), 1)
100
+ default: e(() => [
101
+ n(s(y(d).orgIdBizDict.getValue(u.value.orgId)), 1)
100
102
  ]),
101
103
  _: 1
102
104
  }, 8, ["label"])
@@ -104,13 +106,13 @@ const Z = { class: "total-price" }, x = { id: "totalPrice" }, ee = /* @__PURE__
104
106
  _: 1
105
107
  }),
106
108
  t(o, { span: 12 }, {
107
- default: l(() => [
109
+ default: e(() => [
108
110
  t(i, {
109
- label: e.$t("itsmFlowSpareParts.type"),
111
+ label: l.$t("itsmFlowSpareParts.itsmtype"),
110
112
  prop: "type"
111
113
  }, {
112
- default: l(() => [
113
- s(n(b(d).purchaseTypeEnum.getEnumValue(u.value.type)), 1)
114
+ default: e(() => [
115
+ n(s(y(d).purchaseTypeEnum.getEnumValue(u.value.type)), 1)
114
116
  ]),
115
117
  _: 1
116
118
  }, 8, ["label"])
@@ -118,13 +120,13 @@ const Z = { class: "total-price" }, x = { id: "totalPrice" }, ee = /* @__PURE__
118
120
  _: 1
119
121
  }),
120
122
  t(o, { span: 12 }, {
121
- default: l(() => [
123
+ default: e(() => [
122
124
  t(i, {
123
- label: e.$t("itsmFlowSpareParts.applyPlace"),
125
+ label: l.$t("itsmFlowSpareParts.applyPlace"),
124
126
  prop: "applyPlace"
125
127
  }, {
126
- default: l(() => [
127
- s(n(u.value.applyPlace), 1)
128
+ default: e(() => [
129
+ n(s(u.value.applyPlace), 1)
128
130
  ]),
129
131
  _: 1
130
132
  }, 8, ["label"])
@@ -132,13 +134,13 @@ const Z = { class: "total-price" }, x = { id: "totalPrice" }, ee = /* @__PURE__
132
134
  _: 1
133
135
  }),
134
136
  t(o, { span: 12 }, {
135
- default: l(() => [
137
+ default: e(() => [
136
138
  t(i, {
137
- label: e.$t("itsmFlowSpareParts.annual"),
139
+ label: l.$t("itsmFlowSpareParts.annual"),
138
140
  prop: "annual"
139
141
  }, {
140
- default: l(() => [
141
- s(n(u.value.annual), 1)
142
+ default: e(() => [
143
+ n(s(u.value.annual), 1)
142
144
  ]),
143
145
  _: 1
144
146
  }, 8, ["label"])
@@ -149,47 +151,47 @@ const Z = { class: "total-price" }, x = { id: "totalPrice" }, ee = /* @__PURE__
149
151
  key: 0,
150
152
  span: 24
151
153
  }, {
152
- default: l(() => [
154
+ default: e(() => [
153
155
  t(i, {
154
- label: e.$t("itsmFlowSpareParts.itemId"),
156
+ label: l.$t("itsmFlowSpareParts.itsmFlowItemId"),
155
157
  prop: "itemId"
156
158
  }, {
157
- default: l(() => [
158
- s(n(b(d).itemBizLayDict.getValue(u.value.itemId)), 1)
159
+ default: e(() => [
160
+ n(s(y(d).itemBizLayDict.getValue(u.value.itemId)), 1)
159
161
  ]),
160
162
  _: 1
161
163
  }, 8, ["label"])
162
164
  ]),
163
165
  _: 1
164
166
  })) : B("", !0),
165
- ((k = u.value) == null ? void 0 : k.type) !== "BudgetOut" ? (m(), S(o, {
167
+ ((P = u.value) == null ? void 0 : P.type) !== "BudgetOut" ? (m(), S(o, {
166
168
  key: 1,
167
169
  span: 12
168
170
  }, {
169
- default: l(() => [
171
+ default: e(() => [
170
172
  t(i, {
171
- label: e.$t("itsmFlowSpareParts.budgetType"),
173
+ label: l.$t("itsmFlowSpareParts.itsmFlowBudgetType"),
172
174
  prop: "budgetType"
173
175
  }, {
174
- default: l(() => [
175
- s(n(b(d).budgetTypeDict.getValue(u.value.budgetType)), 1)
176
+ default: e(() => [
177
+ n(s(y(d).budgetTypeDict.getValue(u.value.budgetType)), 1)
176
178
  ]),
177
179
  _: 1
178
180
  }, 8, ["label"])
179
181
  ]),
180
182
  _: 1
181
183
  })) : B("", !0),
182
- ((y = u.value) == null ? void 0 : y.type) !== "BudgetOut" ? (m(), S(o, {
184
+ ((_ = u.value) == null ? void 0 : _.type) !== "BudgetOut" ? (m(), S(o, {
183
185
  key: 2,
184
186
  span: 12
185
187
  }, {
186
- default: l(() => [
188
+ default: e(() => [
187
189
  t(i, {
188
- label: e.$t("itsmFlowSpareParts.contractMoney"),
190
+ label: l.$t("itsmFlowSpareParts.contractMoney"),
189
191
  prop: "contractMoney"
190
192
  }, {
191
- default: l(() => [
192
- s(n(u.value.contractMoney), 1)
193
+ default: e(() => [
194
+ n(s(u.value.contractMoney), 1)
193
195
  ]),
194
196
  _: 1
195
197
  }, 8, ["label"])
@@ -197,15 +199,15 @@ const Z = { class: "total-price" }, x = { id: "totalPrice" }, ee = /* @__PURE__
197
199
  _: 1
198
200
  })) : B("", !0),
199
201
  t(o, { span: 12 }, {
200
- default: l(() => [
202
+ default: e(() => [
201
203
  t(i, {
202
- label: e.$t("itsmFlowSpareParts.createBy"),
204
+ label: l.$t("itsmFlowSpareParts.createBy"),
203
205
  prop: "createBy"
204
206
  }, {
205
- default: l(() => {
207
+ default: e(() => {
206
208
  var g;
207
209
  return [
208
- s(n(u.value.createBy ? (g = b(X).userInfo(u.value.createBy)) == null ? void 0 : g.realName : ""), 1)
210
+ n(s(u.value.createBy ? (g = y(X).userInfo(u.value.createBy)) == null ? void 0 : g.realName : ""), 1)
209
211
  ];
210
212
  }),
211
213
  _: 1
@@ -214,13 +216,13 @@ const Z = { class: "total-price" }, x = { id: "totalPrice" }, ee = /* @__PURE__
214
216
  _: 1
215
217
  }),
216
218
  t(o, { span: 12 }, {
217
- default: l(() => [
219
+ default: e(() => [
218
220
  t(i, {
219
- label: e.$t("itsmFlowSpareParts.applyDate"),
221
+ label: l.$t("itsmFlowSpareParts.applyDate"),
220
222
  prop: "applyDate"
221
223
  }, {
222
- default: l(() => [
223
- s(n(u.value.applyDate), 1)
224
+ default: e(() => [
225
+ n(s(u.value.applyDate), 1)
224
226
  ]),
225
227
  _: 1
226
228
  }, 8, ["label"])
@@ -232,117 +234,118 @@ const Z = { class: "total-price" }, x = { id: "totalPrice" }, ee = /* @__PURE__
232
234
  _: 1
233
235
  }),
234
236
  t(w, null, {
235
- default: l(() => [
237
+ default: e(() => [
236
238
  t(o, { span: 24 }, {
237
- default: l(() => a[1] || (a[1] = [
238
- v("div", { class: "title" }, "运维需求描述", -1)
239
+ default: e(() => a[1] || (a[1] = [
240
+ f("div", { class: "title" }, "运维需求描述", -1)
239
241
  ])),
240
242
  _: 1,
241
243
  __: [1]
242
244
  }),
243
- t(T, {
245
+ t(O, {
244
246
  stripe: "",
245
247
  style: { width: "100%" },
246
- data: L.value
248
+ data: N.value
247
249
  }, {
248
- default: l(() => [
250
+ default: e(() => [
249
251
  t(p, {
250
252
  prop: "type",
251
- label: e.$t("itsmFlowSpareParts.type")
253
+ label: l.$t("itsmFlowSpareParts.itsmtype")
252
254
  }, {
253
- default: l((r) => [
254
- s(n(r.row.type), 1)
255
+ default: e((r) => [
256
+ n(s(r.row.type), 1)
255
257
  ]),
256
258
  _: 1
257
259
  }, 8, ["label"]),
258
260
  t(p, {
259
261
  prop: "name",
260
- label: e.$t("itsmFlowSpareParts.name")
262
+ label: l.$t("itsmFlowSpareParts.itsmName")
261
263
  }, {
262
- default: l((r) => [
263
- s(n(r.row.name), 1)
264
+ default: e((r) => [
265
+ n(s(r.row.name), 1)
264
266
  ]),
265
267
  _: 1
266
268
  }, 8, ["label"]),
267
269
  t(p, {
268
270
  prop: "number",
269
- label: e.$t("itsmFlowSpareParts.number")
271
+ label: l.$t("itsmFlowSpareParts.number")
270
272
  }, {
271
- default: l((r) => [
272
- s(n(r.row.number), 1)
273
+ default: e((r) => [
274
+ n(s(r.row.number), 1)
273
275
  ]),
274
276
  _: 1
275
277
  }, 8, ["label"]),
276
- t(p, {
277
- prop: "unit",
278
- label: e.$t("itsmFlowSpareParts.unit")
279
- }, {
280
- default: l((r) => [
281
- s(n(r.row.unit), 1)
278
+ t(p, { prop: "unit" }, {
279
+ header: e(() => [
280
+ a[2] || (a[2] = f("span", { class: "required_red" }, "*", -1)),
281
+ f("span", null, s(l.$t("itsmFlowSpareParts.unit")) + "(计量单位)", 1)
282
+ ]),
283
+ default: e((r) => [
284
+ n(s(r.row.unit), 1)
282
285
  ]),
283
286
  _: 1
284
- }, 8, ["label"]),
287
+ }),
285
288
  t(p, {
286
289
  prop: "parameter",
287
- label: e.$t("itsmFlowSpareParts.parameter")
290
+ label: l.$t("itsmFlowSpareParts.parameter")
288
291
  }, {
289
- default: l((r) => [
290
- s(n(r.row.parameter), 1)
292
+ default: e((r) => [
293
+ n(s(r.row.parameter), 1)
291
294
  ]),
292
295
  _: 1
293
296
  }, 8, ["label"]),
294
- t(p, {
295
- prop: "valuation",
296
- label: e.$t("itsmFlowSpareParts.valuation")
297
- }, {
298
- default: l((r) => [
299
- s(n(r.row.valuation), 1)
297
+ t(p, { prop: "valuation" }, {
298
+ header: e(() => [
299
+ f("span", null, s(l.$t("itsmFlowSpareParts.valuation")) + "(万元)", 1)
300
+ ]),
301
+ default: e((r) => [
302
+ n(s(r.row.valuation), 1)
300
303
  ]),
301
304
  _: 1
302
- }, 8, ["label"]),
305
+ }),
303
306
  t(p, {
304
307
  prop: "range",
305
- label: e.$t("itsmFlowSpareParts.range")
308
+ label: l.$t("itsmFlowSpareParts.range")
306
309
  }, {
307
- default: l((r) => [
308
- s(n(r.row.range), 1)
310
+ default: e((r) => [
311
+ n(s(r.row.range), 1)
309
312
  ]),
310
313
  _: 1
311
314
  }, 8, ["label"])
312
315
  ]),
313
316
  _: 1
314
317
  }, 8, ["data"]),
315
- v("div", Z, [
316
- a[2] || (a[2] = s(" 预估总价(万元):")),
317
- v("span", x, n(), 1)
318
+ f("div", Z, [
319
+ a[3] || (a[3] = n(" 预估总价(万元):")),
320
+ f("span", x, s(), 1)
318
321
  ]),
319
322
  t(o, {
320
323
  span: 24,
321
324
  class: "bordered-row"
322
325
  }, {
323
- default: l(() => [
324
- (m(!0), F(D, null, N(b(d).fileTypeDict.values.slice(0, 2), (r, k) => (m(), S(i, {
326
+ default: e(() => [
327
+ (m(!0), F(k, null, L(y(d).fileTypeDict.values.slice(0, 2), (r, P) => (m(), S(i, {
325
328
  key: r.dictCode,
326
329
  label: r.dictName
327
330
  }, {
328
- default: l(() => [
329
- (m(!0), F(D, null, N(M(r.dictCode), (y, g) => (m(), F("div", {
331
+ default: e(() => [
332
+ (m(!0), F(k, null, L(M(r.dictCode), (_, g) => (m(), F("div", {
330
333
  key: g,
331
334
  class: "files-list"
332
335
  }, [
333
- v("span", null, n(y.fileName), 1),
336
+ f("span", null, s(_.fileName), 1),
334
337
  t(E, {
335
338
  type: "primary",
336
339
  link: "",
337
340
  size: "small",
338
341
  class: "icon-right",
339
- onClick: (te) => A(y)
342
+ onClick: (te) => z(_)
340
343
  }, {
341
- default: l(() => a[3] || (a[3] = [
342
- s(" 查看 ")
344
+ default: e(() => a[4] || (a[4] = [
345
+ n(" 查看 ")
343
346
  ])),
344
347
  _: 2,
345
- __: [3]
348
+ __: [4]
346
349
  }, 1032, ["onClick"])
347
350
  ]))), 128))
348
351
  ]),
@@ -360,7 +363,7 @@ const Z = { class: "total-price" }, x = { id: "totalPrice" }, ee = /* @__PURE__
360
363
  ], 64);
361
364
  };
362
365
  }
363
- }), de = /* @__PURE__ */ Y(ee, [["__scopeId", "data-v-96183488"]]);
366
+ }), de = /* @__PURE__ */ Y(ee, [["__scopeId", "data-v-30b9bfa8"]]);
364
367
  export {
365
368
  de as default
366
369
  };
@@ -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-5rQmXXAD.mjs";
3
+ import { i as R, C as Y, D } from "./index-DWJG5OHB.mjs";
4
4
  import { fileApi as j } from "jmash-core";
5
- import { i as z } from "./index-o0oTSdUL.mjs";
5
+ import { i as z } from "./index-SilwoNEK.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,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-o0oTSdUL.mjs";
5
- import { U as ae, C as v, D as T, i as ie } from "./index-5rQmXXAD.mjs";
4
+ import { i as M } from "./index-SilwoNEK.mjs";
5
+ import { U as ae, C as v, D as T, i as ie } from "./index-DWJG5OHB.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
  };