xyvcard-itsm-flow 0.0.28 → 0.0.30

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 (61) hide show
  1. package/dist/{FileSaver.min-Bst8M31G.mjs → FileSaver.min-D4GRR-qS.mjs} +1 -1
  2. package/dist/{edit-s6tpuJqi.mjs → edit-5Mzuf0P4.mjs} +2 -2
  3. package/dist/{edit-CtGnGMdI.mjs → edit-B0VLbgJ-.mjs} +2 -2
  4. package/dist/{edit-B5e6Z4D-.mjs → edit-C35Q-cqI.mjs} +1 -1
  5. package/dist/{edit-B6x5LnXs.mjs → edit-CJr7yTD7.mjs} +1 -1
  6. package/dist/{edit-CDrqDH14.mjs → edit-CeUTz3_o.mjs} +1 -1
  7. package/dist/{edit-Cdqv3LYF.mjs → edit-Drt62QCb.mjs} +2 -2
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-Dlt4h5rH.mjs → edit.vue_vue_type_script_setup_true_lang-6OzdYUkB.mjs} +2 -2
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-Z6oOT8ZZ.mjs → edit.vue_vue_type_script_setup_true_lang-DPZXVY4A.mjs} +1 -1
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-mfIQLtr7.mjs → edit.vue_vue_type_script_setup_true_lang-DbZXTwGY.mjs} +1 -1
  11. package/dist/{index-Cd1wffPr.mjs → index-B0U63KBN.mjs} +2 -2
  12. package/dist/{index-DL0G-1We.mjs → index-B7eCe55E.mjs} +3 -3
  13. package/dist/{index-DS5-j9pi.mjs → index-BQPhMGMJ.mjs} +75 -73
  14. package/dist/{index-CaCAQvu3.mjs → index-BWYQvPRq.mjs} +2 -2
  15. package/dist/{index-NEYEBifl.mjs → index-BXRPleAC.mjs} +4 -4
  16. package/dist/{index-ETbLgbz7.mjs → index-BeM6FWT-.mjs} +3 -3
  17. package/dist/{index-_lw11aC1.mjs → index-BqR-nLwY.mjs} +2 -2
  18. package/dist/{index-v6aOPnu6.mjs → index-C4dToZcD.mjs} +1 -1
  19. package/dist/{index-CYgdVX3-.mjs → index-C6Ggy2pd.mjs} +3 -3
  20. package/dist/{index-CVEflwbt.mjs → index-CE7IwvCl.mjs} +1 -1
  21. package/dist/{index-BRS1J0_N.mjs → index-CFGFHxDM.mjs} +1 -1
  22. package/dist/{index-CND3lY5T.mjs → index-CJN4nESL.mjs} +2 -2
  23. package/dist/{index-BryuNtvE.mjs → index-CNzUqO1U.mjs} +4 -4
  24. package/dist/index-CRkb476e.mjs +345 -0
  25. package/dist/{index-Bvl7uSjW.mjs → index-CrvXG37m.mjs} +48 -57
  26. package/dist/{index-CeYdPqBa.mjs → index-Cyqj4lz1.mjs} +2 -2
  27. package/dist/{index-j6FSzNWr.mjs → index-D41ysk0y.mjs} +2 -2
  28. package/dist/{index-DVTVgX1p.mjs → index-DCWIhuMs.mjs} +2 -2
  29. package/dist/{index-C9XYUxJJ.mjs → index-DCwNBkRP.mjs} +2 -2
  30. package/dist/{index-C3imt6Nt.mjs → index-DYN6lnQp.mjs} +2 -2
  31. package/dist/{index-Cp5FZJRb.mjs → index-DnoYbfMt.mjs} +2 -2
  32. package/dist/{index-BzNd3aeo.mjs → index-DrF-WJsT.mjs} +1519 -1470
  33. package/dist/{index-qXw5Aiao.mjs → index-DtZYXygp.mjs} +2 -2
  34. package/dist/{index-Bv6L7pj-.mjs → index-DuX8hWma.mjs} +2 -2
  35. package/dist/{index-MPqnkTdo.mjs → index-ELCTVQ7I.mjs} +1 -1
  36. package/dist/{index-BpTgZ8S6.mjs → index-N2KckDkH.mjs} +3 -3
  37. package/dist/{index-oYL4MO3G.mjs → index-UKQyCyvM.mjs} +2 -2
  38. package/dist/{index-B343YUBs.mjs → index-hhw57OWZ.mjs} +4 -4
  39. package/dist/{index-ChDJ7snw.mjs → index-jS9Fb8EP.mjs} +3 -3
  40. package/dist/{index-BHx7wTh8.mjs → index-jjRXOFp0.mjs} +2 -2
  41. package/dist/index.mjs +1 -1
  42. package/dist/{info-BBeI4Gu-.mjs → info-68Y1sAWl.mjs} +1 -1
  43. package/dist/{info-BMDpWXun.mjs → info-BGXf5d7Z.mjs} +1 -1
  44. package/dist/{info-D8JhIxGy.mjs → info-BVaz08nW.mjs} +1 -1
  45. package/dist/{info-Dcc0vKH3.mjs → info-Bds3reXl.mjs} +1 -1
  46. package/dist/info-C3lX1Zzm.mjs +4 -0
  47. package/dist/info-mqnu4NsE.mjs +4 -0
  48. package/dist/{info.vue_vue_type_script_setup_true_lang-B_xQV4zS.mjs → info.vue_vue_type_script_setup_true_lang-C6zP-9kn.mjs} +2 -2
  49. package/dist/{info.vue_vue_type_script_setup_true_lang-CdlYnhVI.mjs → info.vue_vue_type_script_setup_true_lang-Ceyvy80f.mjs} +1 -1
  50. package/dist/{info.vue_vue_type_script_setup_true_lang-DwW2WxUK.mjs → info.vue_vue_type_script_setup_true_lang-DUNKwofQ.mjs} +1 -1
  51. package/dist/{info.vue_vue_type_script_setup_true_lang-Comh2IyD.mjs → info.vue_vue_type_script_setup_true_lang-DnVaOWBT.mjs} +2 -2
  52. package/dist/{info.vue_vue_type_script_setup_true_lang-CcAaUZ-e.mjs → info.vue_vue_type_script_setup_true_lang-l3lgFElx.mjs} +2 -2
  53. package/dist/{info.vue_vue_type_script_setup_true_lang-DVu1OSso.mjs → info.vue_vue_type_script_setup_true_lang-uavO0r2g.mjs} +2 -2
  54. package/dist/style.css +1 -1
  55. package/dts/api/itsm-flow-spare-parts-demand-data/index.d.ts +10 -0
  56. package/dts/api/itsm-flow-spare-parts-demand-data/types.d.ts +44 -0
  57. package/dts/lang/itsm-flow/zh-cn.d.ts +30 -0
  58. package/dts/views/itsm-flow-spare-parts-demand-data/index.vue.d.ts +2 -0
  59. package/package.json +1 -1
  60. package/dist/info-Dmo9yYXs.mjs +0 -4
  61. package/dist/info-ghO6g5a7.mjs +0 -4
@@ -0,0 +1,345 @@
1
+ import { defineComponent as O, getCurrentInstance as X, ref as S, onMounted as Z, resolveComponent as s, resolveDirective as ee, createElementBlock as h, openBlock as g, createElementVNode as F, createVNode as l, withCtx as o, withKeys as k, unref as n, createTextVNode as f, toDisplayString as i, createCommentVNode as C, createBlock as Y, isRef as V, withDirectives as te } from "vue";
2
+ import { useUserStore as $, clearEmpty as M, request as N, useTableHooks as ae } from "jmash-core";
3
+ import { useI18n as oe } from "vue-i18n";
4
+ import { q as le } from "./index-DrF-WJsT.mjs";
5
+ import { rbacApi as re } from "jmash-rbac";
6
+ import { D as T } from "./index-ELCTVQ7I.mjs";
7
+ class ne {
8
+ getKey(m) {
9
+ return {};
10
+ }
11
+ // 查询翻页信息备品备件明细表
12
+ findPage(m) {
13
+ const p = $().user.tenant;
14
+ return M(m), N({
15
+ url: "/v1/itsmflow/spare_parts_demand_date/page/" + p,
16
+ method: "get",
17
+ params: m
18
+ });
19
+ }
20
+ // 导出备品备件明细表Excel文件
21
+ exportExcel(m) {
22
+ const p = $().user.tenant;
23
+ M(m);
24
+ const r = le.stringify(m, {
25
+ arrayFormat: "brackets",
26
+ allowDots: !0
27
+ });
28
+ return N({
29
+ url: "/v1/itsmflow/itsm_flow_spare_parts_details/" + p + "/itsm_flow_spare_parts_details.xlsx?" + r,
30
+ method: "get",
31
+ responseType: "blob"
32
+ });
33
+ }
34
+ }
35
+ const se = new ne(), me = { class: "app-container" }, de = { class: "search-container" }, pe = { key: 0 }, be = /* @__PURE__ */ O({
36
+ __name: "index",
37
+ setup(I) {
38
+ const { t: m } = oe(), { proxy: p } = X(), r = S({});
39
+ T.orgIdBizDict.useValues();
40
+ const {
41
+ tableHooks: d,
42
+ multipleTableRef: B,
43
+ queryFormRef: R,
44
+ listLoading: E,
45
+ tableData: U,
46
+ total: D
47
+ } = ae(m, se, r), _ = S([]), q = () => {
48
+ const t = /* @__PURE__ */ new Date(), e = new Date(t.getFullYear(), t.getMonth(), 1), w = new Date(t.getFullYear(), t.getMonth() + 1, 0);
49
+ return [
50
+ p.$moment.formatDate(e, "YYYY-MM-DD"),
51
+ p.$moment.formatDate(w, "YYYY-MM-DD")
52
+ ];
53
+ }, v = () => {
54
+ const [t, e] = q();
55
+ _.value = [t, e], r.value.demandDateStart = t, r.value.demandDateEnd = e;
56
+ };
57
+ function z(t) {
58
+ r.value.demandDateStart = (t == null ? void 0 : t[0]) || "", r.value.demandDateEnd = (t == null ? void 0 : t[1]) || "";
59
+ }
60
+ function j() {
61
+ v(), d.resetQuery();
62
+ }
63
+ Z(() => {
64
+ v();
65
+ });
66
+ let u = S([
67
+ {
68
+ label: "itsmFlowSparePartsDemand.type",
69
+ prop: "type",
70
+ width: "100",
71
+ sortable: "custom",
72
+ isColumn: !0
73
+ },
74
+ {
75
+ label: "itsmFlowSparePartsDemand.name",
76
+ prop: "name",
77
+ minWidth: "150",
78
+ sortable: "custom",
79
+ isColumn: !0
80
+ },
81
+ {
82
+ label: "itsmFlowSparePartsDemand.number",
83
+ prop: "number",
84
+ width: "80",
85
+ sortable: "custom",
86
+ isColumn: !0
87
+ },
88
+ {
89
+ label: "itsmFlowSparePartsDemand.unit",
90
+ prop: "unit",
91
+ width: "105",
92
+ sortable: "custom",
93
+ isColumn: !0
94
+ },
95
+ {
96
+ label: "itsmFlowSparePartsDemand.parameter",
97
+ prop: "parameter",
98
+ minWidth: "150",
99
+ sortable: "custom",
100
+ isColumn: !0
101
+ },
102
+ {
103
+ label: "itsmFlowSparePartsDemand.valuation",
104
+ prop: "valuation",
105
+ width: "150",
106
+ sortable: "custom",
107
+ isColumn: !0
108
+ },
109
+ {
110
+ label: "itsmFlowSparePartsDemand.range",
111
+ prop: "range",
112
+ width: "150",
113
+ sortable: "custom",
114
+ isColumn: !0
115
+ },
116
+ {
117
+ label: "itsmFlowSparePartsDemand.orgId",
118
+ prop: "orgId",
119
+ slotName: "orgId",
120
+ columnType: "slot",
121
+ width: "150",
122
+ sortable: "custom",
123
+ isColumn: !0
124
+ },
125
+ {
126
+ label: "itsmFlowSparePartsDemand.createBy",
127
+ prop: "createBy",
128
+ slotName: "createBy",
129
+ columnType: "slot",
130
+ width: "150",
131
+ sortable: "custom",
132
+ isColumn: !0
133
+ },
134
+ {
135
+ label: "itsmFlowSparePartsDemand.createTime",
136
+ prop: "createTime",
137
+ slotName: "createTime",
138
+ columnType: "slot",
139
+ width: "170",
140
+ sortable: "custom",
141
+ isColumn: !0
142
+ }
143
+ ]);
144
+ function x(t) {
145
+ d.selectionRows.value = t;
146
+ }
147
+ function A(t) {
148
+ d.handleSort(t.prop, t.order);
149
+ }
150
+ return d.getList(), (t, e) => {
151
+ const w = s("el-input"), b = s("el-form-item"), c = s("el-col"), H = s("el-date-picker"), y = s("el-button"), P = s("el-row"), K = s("el-form"), L = s("jmash-column-select"), Q = s("jmash-table"), W = s("jmash-pagination"), G = s("el-card"), J = ee("hasPerm");
152
+ return g(), h("div", me, [
153
+ F("div", de, [
154
+ l(K, {
155
+ ref_key: "queryFormRef",
156
+ ref: R,
157
+ model: r.value,
158
+ inline: !0
159
+ }, {
160
+ default: o(() => [
161
+ l(P, null, {
162
+ default: o(() => [
163
+ l(c, { span: 6 }, {
164
+ default: o(() => [
165
+ l(b, {
166
+ label: t.$t("itsmFlowSparePartsDemand.type"),
167
+ prop: "type"
168
+ }, {
169
+ default: o(() => [
170
+ l(w, {
171
+ modelValue: r.value.type,
172
+ "onUpdate:modelValue": e[0] || (e[0] = (a) => r.value.type = a),
173
+ placeholder: t.$t("itsmFlowSparePartsDemand.likeTypeRequired"),
174
+ onKeyup: e[1] || (e[1] = k((a) => n(d).handleQuery(), ["enter"])),
175
+ class: "!w-[203px]"
176
+ }, null, 8, ["modelValue", "placeholder"])
177
+ ]),
178
+ _: 1
179
+ }, 8, ["label"])
180
+ ]),
181
+ _: 1
182
+ }),
183
+ l(c, { span: 6 }, {
184
+ default: o(() => [
185
+ l(b, {
186
+ label: t.$t("itsmFlowSparePartsDemand.likeName"),
187
+ prop: "likeName"
188
+ }, {
189
+ default: o(() => [
190
+ l(w, {
191
+ modelValue: r.value.likeName,
192
+ "onUpdate:modelValue": e[2] || (e[2] = (a) => r.value.likeName = a),
193
+ placeholder: t.$t("itsmFlowSparePartsDemand.likeNameRequired"),
194
+ onKeyup: e[3] || (e[3] = k((a) => n(d).handleQuery(), ["enter"])),
195
+ class: "!w-[203px]"
196
+ }, null, 8, ["modelValue", "placeholder"])
197
+ ]),
198
+ _: 1
199
+ }, 8, ["label"])
200
+ ]),
201
+ _: 1
202
+ }),
203
+ l(c, { span: 6 }, {
204
+ default: o(() => [
205
+ l(b, {
206
+ label: t.$t("itsmFlowSparePartsDemand.demandDateStart"),
207
+ prop: "demandDateStart"
208
+ }, {
209
+ default: o(() => [
210
+ l(H, {
211
+ modelValue: _.value,
212
+ "onUpdate:modelValue": e[4] || (e[4] = (a) => _.value = a),
213
+ type: "daterange",
214
+ "start-placeholder": t.$t("itsmFlowSparePartsDemand.demandDateStart"),
215
+ "end-placeholder": t.$t("itsmFlowSparePartsDemand.demandDateEnd"),
216
+ format: "YYYY-MM-DD",
217
+ "value-format": "YYYY-MM-DD",
218
+ onChange: z
219
+ }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
220
+ ]),
221
+ _: 1
222
+ }, 8, ["label"])
223
+ ]),
224
+ _: 1
225
+ }),
226
+ l(c, { span: 6 }, {
227
+ default: o(() => [
228
+ l(b, { class: "search-btn" }, {
229
+ default: o(() => [
230
+ l(y, {
231
+ type: "primary",
232
+ onClick: e[5] || (e[5] = (a) => n(d).handleQuery())
233
+ }, {
234
+ default: o(() => [
235
+ f(i(t.$t("common.search")), 1)
236
+ ]),
237
+ _: 1
238
+ }),
239
+ l(y, {
240
+ onClick: e[6] || (e[6] = (a) => j())
241
+ }, {
242
+ default: o(() => [
243
+ f(i(t.$t("common.reset")), 1)
244
+ ]),
245
+ _: 1
246
+ })
247
+ ]),
248
+ _: 1
249
+ })
250
+ ]),
251
+ _: 1
252
+ })
253
+ ]),
254
+ _: 1
255
+ })
256
+ ]),
257
+ _: 1
258
+ }, 8, ["model"]),
259
+ e[13] || (e[13] = F("div", { class: "clear" }, null, -1))
260
+ ]),
261
+ l(G, {
262
+ shadow: "never",
263
+ class: "table-container"
264
+ }, {
265
+ header: o(() => [
266
+ l(P, null, {
267
+ default: o(() => [
268
+ l(c, {
269
+ span: 24,
270
+ class: "container-float"
271
+ }, {
272
+ default: o(() => [
273
+ te((g(), Y(y, {
274
+ plain: "",
275
+ type: "primary",
276
+ onClick: e[7] || (e[7] = (a) => n(d).handleExport(
277
+ n(m)("itsmFlowSparePartsDemand.exportName")
278
+ ))
279
+ }, {
280
+ default: o(() => [
281
+ f(i(t.$t("common.export")), 1)
282
+ ]),
283
+ _: 1
284
+ })), [
285
+ [J, ["itsmflow:itsm_flow_spare_parts:import"]]
286
+ ]),
287
+ l(L, {
288
+ modelValue: n(u),
289
+ "onUpdate:modelValue": e[8] || (e[8] = (a) => V(u) ? u.value = a : u = a),
290
+ "label-name": "reports/itsm-flow-spare-parts-details"
291
+ }, null, 8, ["modelValue"])
292
+ ]),
293
+ _: 1
294
+ })
295
+ ]),
296
+ _: 1
297
+ })
298
+ ]),
299
+ footer: o(() => [
300
+ n(D) > 0 ? (g(), Y(W, {
301
+ key: 0,
302
+ total: n(D),
303
+ "onUpdate:total": e[9] || (e[9] = (a) => V(D) ? D.value = a : null),
304
+ "current-page": r.value.curPage,
305
+ "onUpdate:currentPage": e[10] || (e[10] = (a) => r.value.curPage = a),
306
+ "page-size": r.value.pageSize,
307
+ "onUpdate:pageSize": e[11] || (e[11] = (a) => r.value.pageSize = a),
308
+ onPagination: e[12] || (e[12] = (a) => n(d).getList())
309
+ }, null, 8, ["total", "current-page", "page-size"])) : C("", !0)
310
+ ]),
311
+ default: o(() => [
312
+ l(Q, {
313
+ ref_key: "multipleTableRef",
314
+ ref: B,
315
+ "row-key": "detailsId",
316
+ "list-loading": n(E),
317
+ data: n(U),
318
+ "table-label": n(u),
319
+ onSelectionChange: x,
320
+ onSortChange: A
321
+ }, {
322
+ orgId: o((a) => [
323
+ f(i(n(T).orgIdBizDict.getValue(a.data.row.orgId)), 1)
324
+ ]),
325
+ createBy: o((a) => [
326
+ a.data.row.createBy ? (g(), h("span", pe, i(n(re).userInfo(a.data.row.createBy).realName), 1)) : C("", !0)
327
+ ]),
328
+ createTime: o((a) => [
329
+ f(i(n(p).$moment.formatDate(
330
+ a.data.row.createTime,
331
+ "YYYY-MM-DD HH:mm:ss"
332
+ )), 1)
333
+ ]),
334
+ _: 1
335
+ }, 8, ["list-loading", "data", "table-label"])
336
+ ]),
337
+ _: 1
338
+ })
339
+ ]);
340
+ };
341
+ }
342
+ });
343
+ export {
344
+ be as default
345
+ };
@@ -1,13 +1,13 @@
1
- import { defineComponent as K, mergeModels as j, ref as w, useModel as W, resolveComponent as b, createElementBlock as v, openBlock as m, Fragment as D, createVNode as t, withCtx as e, createElementVNode as F, createBlock as g, createCommentVNode as k, createTextVNode as n, toDisplayString as s, unref as y, renderList as M } from "vue";
1
+ import { defineComponent as U, mergeModels as K, ref as w, useModel as j, resolveComponent as b, createElementBlock as g, openBlock as m, Fragment as $, createVNode as t, withCtx as e, createElementVNode as v, createBlock as S, createCommentVNode as D, createTextVNode as n, toDisplayString as s, unref as y, renderList as M } from "vue";
2
2
  import "element-plus";
3
- import { useI18n as q } from "vue-i18n";
4
- import { D as f, i as G, C as N } from "./index-MPqnkTdo.mjs";
5
- import { i as H, a as J } from "./index-BRS1J0_N.mjs";
3
+ import { useI18n as W } from "vue-i18n";
4
+ import { D as f, i as q, C as G } from "./index-ELCTVQ7I.mjs";
5
+ import { i as H, a as J } from "./index-CFGFHxDM.mjs";
6
6
  import { fileApi as Q } from "jmash-core";
7
7
  import { rbacApi as X } from "jmash-rbac";
8
- const Y = { key: 0 }, se = /* @__PURE__ */ K({
8
+ const re = /* @__PURE__ */ U({
9
9
  __name: "index",
10
- props: /* @__PURE__ */ j({
10
+ props: /* @__PURE__ */ K({
11
11
  task: {
12
12
  type: Object,
13
13
  default: () => {
@@ -18,60 +18,60 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
18
18
  modelModifiers: {}
19
19
  }),
20
20
  emits: ["update:modelValue"],
21
- setup(I, { expose: O }) {
22
- const { t: Z } = q(), h = w(), A = w({}), c = W(I, "modelValue");
21
+ setup(I, { expose: N }) {
22
+ const { t: Y } = W(), V = w(), O = w({}), c = j(I, "modelValue");
23
23
  f.orgIdBizDict.useValues(), f.budgetTypeDict.useValues(), f.itemBizLayDict.useValues();
24
- const P = I, u = w();
25
- H.findById({ flowSpareId: P.task.businessKey }).then(({ data: a }) => {
24
+ const k = I, u = w();
25
+ H.findById({ flowSpareId: k.task.businessKey }).then(({ data: a }) => {
26
26
  u.value = a;
27
27
  });
28
- const V = w([]);
29
- J.findList({ flowSpareId: P.task.businessKey }).then((a) => {
30
- V.value = a.data.results;
28
+ const h = w([]);
29
+ J.findList({ flowSpareId: k.task.businessKey }).then((a) => {
30
+ h.value = a.data.results;
31
31
  });
32
32
  const C = w([]);
33
- G.findFilesList({ actionId: P.task.businessKey }).then((a) => {
33
+ q.findFilesList({ actionId: k.task.businessKey }).then((a) => {
34
34
  C.value = a.data.results;
35
35
  });
36
- const E = (a) => {
36
+ const A = (a) => {
37
37
  var p;
38
38
  return ((p = C.value) == null ? void 0 : p.filter((r) => r.fileSort === a)) || [];
39
39
  };
40
- async function T(a) {
40
+ async function E(a) {
41
41
  try {
42
- const p = Q.fileUrl(a.fileSrc), i = await (await fetch(p)).blob(), S = window.URL.createObjectURL(i), d = document.createElement("a");
43
- d.href = S, d.download = a.fileName || "download", document.body.appendChild(d), d.click();
42
+ const p = Q.fileUrl(a.fileSrc), i = await (await fetch(p)).blob(), F = window.URL.createObjectURL(i), d = document.createElement("a");
43
+ d.href = F, d.download = a.fileName || "download", document.body.appendChild(d), d.click();
44
44
  } catch {
45
45
  }
46
46
  }
47
- O({
48
- changeModel: () => z()
47
+ N({
48
+ changeModel: () => T()
49
49
  });
50
- function z() {
50
+ function T() {
51
51
  return c.value && (c.value.selectActions = [
52
52
  { key: "true", value: "同意" },
53
53
  { key: "false", value: "不同意" }
54
- ], c.value.varName = "approved", c.value.module = "", c.value.module = N.MODULE_ITSMFLOW), new Promise((a, p) => {
54
+ ], c.value.varName = "approved", c.value.module = "", c.value.module = G.MODULE_ITSMFLOW), new Promise((a, p) => {
55
55
  var r;
56
- (r = h.value) == null || r.validate((i) => {
56
+ (r = V.value) == null || r.validate((i) => {
57
57
  i ? (c.value && (c.value.comment = ""), a(!0)) : p(!1);
58
58
  });
59
59
  });
60
60
  }
61
61
  return (a, p) => {
62
- const r = b("el-col"), i = b("el-form-item"), S = b("el-row"), d = b("el-table-column"), R = b("el-table"), U = b("el-button"), L = b("el-form");
63
- return m(), v(D, null, [
62
+ const r = b("el-col"), i = b("el-form-item"), F = b("el-row"), d = b("el-table-column"), z = b("el-table"), R = b("el-button"), L = b("el-form");
63
+ return m(), g($, null, [
64
64
  t(r, { span: 24 }, {
65
65
  default: e(() => p[0] || (p[0] = [
66
- F("div", { class: "title" }, "备品备件申请领用确认单", -1)
66
+ v("div", { class: "title" }, "备品备件申请领用确认单", -1)
67
67
  ])),
68
68
  _: 1,
69
69
  __: [0]
70
70
  }),
71
71
  t(L, {
72
72
  ref_key: "taskFormRef",
73
- ref: h,
74
- model: A.value,
73
+ ref: V,
74
+ model: O.value,
75
75
  "label-width": "150px",
76
76
  class: "custom-table-form"
77
77
  }, {
@@ -82,9 +82,9 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
82
82
  class: "custom-table-form custom-form"
83
83
  }, {
84
84
  default: e(() => [
85
- t(S, null, {
85
+ t(F, null, {
86
86
  default: e(() => {
87
- var o, $, _;
87
+ var o, P, _;
88
88
  return [
89
89
  t(r, { span: 12 }, {
90
90
  default: e(() => [
@@ -154,7 +154,7 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
154
154
  ]),
155
155
  _: 1
156
156
  }),
157
- ((o = u.value) == null ? void 0 : o.type) !== "BudgetOut" ? (m(), g(r, {
157
+ ((o = u.value) == null ? void 0 : o.type) !== "BudgetOut" ? (m(), S(r, {
158
158
  key: 0,
159
159
  span: 24
160
160
  }, {
@@ -173,8 +173,8 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
173
173
  }, 8, ["label"])
174
174
  ]),
175
175
  _: 1
176
- })) : k("", !0),
177
- (($ = u.value) == null ? void 0 : $.type) !== "BudgetOut" ? (m(), g(r, {
176
+ })) : D("", !0),
177
+ ((P = u.value) == null ? void 0 : P.type) !== "BudgetOut" ? (m(), S(r, {
178
178
  key: 1,
179
179
  span: 12
180
180
  }, {
@@ -193,8 +193,8 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
193
193
  }, 8, ["label"])
194
194
  ]),
195
195
  _: 1
196
- })) : k("", !0),
197
- ((_ = u.value) == null ? void 0 : _.type) !== "BudgetOut" ? (m(), g(r, {
196
+ })) : D("", !0),
197
+ ((_ = u.value) == null ? void 0 : _.type) !== "BudgetOut" ? (m(), S(r, {
198
198
  key: 2,
199
199
  span: 12
200
200
  }, {
@@ -213,7 +213,7 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
213
213
  }, 8, ["label"])
214
214
  ]),
215
215
  _: 1
216
- })) : k("", !0),
216
+ })) : D("", !0),
217
217
  t(r, { span: 12 }, {
218
218
  default: e(() => [
219
219
  t(i, {
@@ -252,21 +252,21 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
252
252
  }),
253
253
  _: 1
254
254
  }),
255
- t(S, null, {
255
+ t(F, null, {
256
256
  default: e(() => [
257
257
  t(r, { span: 24 }, {
258
258
  default: e(() => p[1] || (p[1] = [
259
- F("div", { class: "title" }, "运维需求描述", -1)
259
+ v("div", { class: "title" }, "运维需求描述", -1)
260
260
  ])),
261
261
  _: 1,
262
262
  __: [1]
263
263
  }),
264
264
  t(r, { span: 24 }, {
265
265
  default: e(() => [
266
- t(R, {
266
+ t(z, {
267
267
  stripe: "",
268
268
  style: { width: "100%" },
269
- data: V.value
269
+ data: h.value
270
270
  }, {
271
271
  default: e(() => [
272
272
  t(d, {
@@ -298,7 +298,7 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
298
298
  }, 8, ["label"]),
299
299
  t(d, { prop: "unit" }, {
300
300
  header: e(() => [
301
- F("span", null, s(a.$t("itsmFlowSpareParts.unit")), 1)
301
+ v("span", null, s(a.$t("itsmFlowSpareParts.unit")), 1)
302
302
  ]),
303
303
  default: e((o) => [
304
304
  n(s(o.row.unit), 1)
@@ -316,7 +316,7 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
316
316
  }, 8, ["label"]),
317
317
  t(d, { prop: "valuation" }, {
318
318
  header: e(() => [
319
- F("span", null, s(a.$t("itsmFlowSpareParts.valuation")) + "(万元)", 1)
319
+ v("span", null, s(a.$t("itsmFlowSpareParts.valuation")) + "(万元)", 1)
320
320
  ]),
321
321
  default: e((o) => [
322
322
  n(s(o.row.valuation), 1)
@@ -331,15 +331,6 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
331
331
  n(s(o.row.range), 1)
332
332
  ]),
333
333
  _: 1
334
- }, 8, ["label"]),
335
- t(d, {
336
- prop: "applyStatus ",
337
- label: a.$t("itsmFlowSpareParts.applyStatus ")
338
- }, {
339
- default: e((o) => [
340
- o.row.applyStatus === y(N).applyStatus.finished ? (m(), v("span", Y, "已领用 ")) : k("", !0)
341
- ]),
342
- _: 1
343
334
  }, 8, ["label"])
344
335
  ]),
345
336
  _: 1
@@ -352,22 +343,22 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
352
343
  class: "bordered-row"
353
344
  }, {
354
345
  default: e(() => [
355
- (m(!0), v(D, null, M(y(f).fileTypeDict.values.slice(0, 2), (o, $) => (m(), g(i, {
346
+ (m(!0), g($, null, M(y(f).fileTypeDict.values.slice(0, 2), (o, P) => (m(), S(i, {
356
347
  key: o.dictCode,
357
348
  label: o.dictName
358
349
  }, {
359
350
  default: e(() => [
360
- (m(!0), v(D, null, M(E(o.dictCode), (_, l) => (m(), v("div", {
351
+ (m(!0), g($, null, M(A(o.dictCode), (_, l) => (m(), g("div", {
361
352
  key: l,
362
353
  class: "files-list"
363
354
  }, [
364
- F("span", null, s(_.fileName), 1),
365
- t(U, {
355
+ v("span", null, s(_.fileName), 1),
356
+ t(R, {
366
357
  type: "primary",
367
358
  link: "",
368
359
  size: "small",
369
360
  class: "icon-right",
370
- onClick: (B) => T(_)
361
+ onClick: (B) => E(_)
371
362
  }, {
372
363
  default: e(() => p[2] || (p[2] = [
373
364
  n(" 查看 ")
@@ -396,5 +387,5 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
396
387
  }
397
388
  });
398
389
  export {
399
- se as default
390
+ re as default
400
391
  };
@@ -2,8 +2,8 @@ import { defineComponent as H, ref as N, reactive as W, resolveComponent as u, r
2
2
  import { useTableHooks as M } from "jmash-core";
3
3
  import { useI18n as X } from "vue-i18n";
4
4
  import { i as Y } from "./common-Cwl5jzlM.mjs";
5
- import { D as k, O as Z, C as x } from "./index-MPqnkTdo.mjs";
6
- import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-CdlYnhVI.mjs";
5
+ import { D as k, O as Z, C as x } from "./index-ELCTVQ7I.mjs";
6
+ import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-Ceyvy80f.mjs";
7
7
  const le = { class: "app-container" }, oe = { class: "search-container" }, te = ["onClick"], de = /* @__PURE__ */ H({
8
8
  __name: "index",
9
9
  setup(ne) {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as A, mergeModels as E, getCurrentInstance as P, 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 h, 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-MPqnkTdo.mjs";
3
+ import { i as R, C as Y, D } from "./index-ELCTVQ7I.mjs";
4
4
  import { fileApi as S } from "jmash-core";
5
- import { i as j } from "./index-BzNd3aeo.mjs";
5
+ import { i as j } from "./index-DrF-WJsT.mjs";
6
6
  const Q = /* @__PURE__ */ A({
7
7
  __name: "index",
8
8
  props: /* @__PURE__ */ E({
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as K, mergeModels as q, ref as v, useModel as H, reactive as W, computed as B, nextTick as G, resolveComponent as m, createElementBlock as y, openBlock as _, Fragment as I, createVNode as e, withCtx as l, createElementVNode as O, unref as d, createTextVNode as s, toDisplayString as n, renderList as $, createBlock as J } from "vue";
2
2
  import { useUserStoreHook as Q, fileApi as k } from "jmash-core";
3
3
  import "element-plus";
4
- import { i as X } from "./index-BzNd3aeo.mjs";
5
- import { D as u, i as N, C as Y } from "./index-MPqnkTdo.mjs";
4
+ import { i as X } from "./index-DrF-WJsT.mjs";
5
+ import { D as u, i as N, C as Y } from "./index-ELCTVQ7I.mjs";
6
6
  const ae = /* @__PURE__ */ K({
7
7
  __name: "index",
8
8
  props: /* @__PURE__ */ q({
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as le, mergeModels as oe, ref as w, useModel as te, reactive as ae, computed as Y, nextTick as ie, resolveComponent as p, createElementBlock as y, openBlock as f, Fragment as _, createVNode as l, withCtx as t, createElementVNode as q, unref as d, renderList as k, createBlock as A, toDisplayString as I, createTextVNode as S, createCommentVNode as re } from "vue";
2
2
  import "element-plus";
3
3
  import { useI18n as se } from "vue-i18n";
4
- import { i as L } from "./index-BzNd3aeo.mjs";
5
- import { U as ne, C as O, D as h, i as de } from "./index-MPqnkTdo.mjs";
4
+ import { i as L } from "./index-DrF-WJsT.mjs";
5
+ import { U as ne, C as O, D as h, i as de } from "./index-ELCTVQ7I.mjs";
6
6
  import { u as ue } from "./index-CvX2It1o.mjs";
7
7
  import { useUserStoreHook as me, fileApi as pe } from "jmash-core";
8
8
  import { _ as fe } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
@@ -1,8 +1,8 @@
1
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
2
  import { rbacApi as S } from "jmash-rbac";
3
- import { D as d, i as U, C as R } from "./index-MPqnkTdo.mjs";
3
+ import { D as d, i as U, C as R } from "./index-ELCTVQ7I.mjs";
4
4
  import { fileApi as Y } from "jmash-core";
5
- import { i as j } from "./index-BzNd3aeo.mjs";
5
+ import { i as j } from "./index-DrF-WJsT.mjs";
6
6
  const Q = /* @__PURE__ */ z({
7
7
  __name: "index",
8
8
  props: /* @__PURE__ */ N({
@@ -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-BzNd3aeo.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-MPqnkTdo.mjs";
5
+ import { a as J } from "./index-DrF-WJsT.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-ELCTVQ7I.mjs";
7
7
  import { E as Ue } from "./el-message-BJAl6Gwu.mjs";
8
8
  const De = /* @__PURE__ */ be({
9
9
  __name: "index",