xyvcard-itsm-flow 0.0.30 → 0.0.31

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 (57) hide show
  1. package/dist/{FileSaver.min-D4GRR-qS.mjs → FileSaver.min-CDjEMtwC.mjs} +1 -1
  2. package/dist/{edit-5Mzuf0P4.mjs → edit-C1E-qfa5.mjs} +2 -2
  3. package/dist/{edit-CJr7yTD7.mjs → edit-ChvtQKDN.mjs} +1 -1
  4. package/dist/{edit-Drt62QCb.mjs → edit-CrcAdKdK.mjs} +2 -2
  5. package/dist/{edit-CeUTz3_o.mjs → edit-D4s5wvF5.mjs} +1 -1
  6. package/dist/{edit-C35Q-cqI.mjs → edit-MTXauNsc.mjs} +1 -1
  7. package/dist/{edit-B0VLbgJ-.mjs → edit-XBmphOon.mjs} +2 -2
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-DPZXVY4A.mjs → edit.vue_vue_type_script_setup_true_lang-5BzbhqiV.mjs} +1 -1
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-6OzdYUkB.mjs → edit.vue_vue_type_script_setup_true_lang-BFexYSnf.mjs} +2 -2
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-DbZXTwGY.mjs → edit.vue_vue_type_script_setup_true_lang-CuMNdBF0.mjs} +1 -1
  11. package/dist/{index-CJN4nESL.mjs → index-2s0wkS05.mjs} +2 -2
  12. package/dist/{index-DCWIhuMs.mjs → index-4m6uu36F.mjs} +2 -2
  13. package/dist/{index-CFGFHxDM.mjs → index-B1qpvpzm.mjs} +1 -1
  14. package/dist/{index-DuX8hWma.mjs → index-B9wDdsy0.mjs} +2 -2
  15. package/dist/{index-C4dToZcD.mjs → index-BZSdHlNo.mjs} +1 -1
  16. package/dist/{index-DYN6lnQp.mjs → index-BgvM1CFo.mjs} +2 -2
  17. package/dist/{index-DCwNBkRP.mjs → index-BkH2t7Yo.mjs} +2 -2
  18. package/dist/{index-DnoYbfMt.mjs → index-C6mX3DsW.mjs} +2 -2
  19. package/dist/{index-CE7IwvCl.mjs → index-CXTUV-M7.mjs} +1 -1
  20. package/dist/{index-Cyqj4lz1.mjs → index-CZnh37-K.mjs} +2 -2
  21. package/dist/{index-jjRXOFp0.mjs → index-ChoIE8BT.mjs} +2 -2
  22. package/dist/{index-ELCTVQ7I.mjs → index-CrB5yZtO.mjs} +1 -1
  23. package/dist/{index-CrvXG37m.mjs → index-CuztXu3y.mjs} +2 -2
  24. package/dist/{index-DrF-WJsT.mjs → index-D00Ve-AT.mjs} +1396 -1414
  25. package/dist/{index-BWYQvPRq.mjs → index-D7-89F44.mjs} +2 -2
  26. package/dist/{index-BXRPleAC.mjs → index-DAYAMIMc.mjs} +4 -4
  27. package/dist/{index-D41ysk0y.mjs → index-DFM8JCKv.mjs} +2 -2
  28. package/dist/{index-B7eCe55E.mjs → index-DULyLxdF.mjs} +3 -3
  29. package/dist/{index-DtZYXygp.mjs → index-DcTVaVO4.mjs} +2 -2
  30. package/dist/{index-BqR-nLwY.mjs → index-DdjqdTwY.mjs} +2 -2
  31. package/dist/{index-N2KckDkH.mjs → index-DqY2mMQf.mjs} +3 -3
  32. package/dist/{index-BeM6FWT-.mjs → index-EzrIQVdr.mjs} +3 -3
  33. package/dist/{index-BQPhMGMJ.mjs → index-UiXiWX1N.mjs} +2 -2
  34. package/dist/index-VVa_4lxn.mjs +368 -0
  35. package/dist/{index-hhw57OWZ.mjs → index-XHxFd50l.mjs} +4 -4
  36. package/dist/{index-B0U63KBN.mjs → index-ggPfkHed.mjs} +2 -2
  37. package/dist/{index-CNzUqO1U.mjs → index-mcNzGq2i.mjs} +4 -4
  38. package/dist/{index-UKQyCyvM.mjs → index-tTe8p-n3.mjs} +2 -2
  39. package/dist/{index-C6Ggy2pd.mjs → index-unjceRa9.mjs} +3 -3
  40. package/dist/{index-jS9Fb8EP.mjs → index-ykAU3bNf.mjs} +3 -3
  41. package/dist/index.mjs +1 -1
  42. package/dist/{info-BGXf5d7Z.mjs → info-Bivvg5Xb.mjs} +1 -1
  43. package/dist/{info-BVaz08nW.mjs → info-C8mu6jj9.mjs} +1 -1
  44. package/dist/{info-68Y1sAWl.mjs → info-CO_rn0O5.mjs} +1 -1
  45. package/dist/{info-Bds3reXl.mjs → info-Dp9jVwt5.mjs} +1 -1
  46. package/dist/info-Pq3uOpDr.mjs +4 -0
  47. package/dist/info-pb-u78Pf.mjs +4 -0
  48. package/dist/{info.vue_vue_type_script_setup_true_lang-l3lgFElx.mjs → info.vue_vue_type_script_setup_true_lang-BS1ysX5p.mjs} +2 -2
  49. package/dist/{info.vue_vue_type_script_setup_true_lang-Ceyvy80f.mjs → info.vue_vue_type_script_setup_true_lang-CZESsvws.mjs} +1 -1
  50. package/dist/{info.vue_vue_type_script_setup_true_lang-uavO0r2g.mjs → info.vue_vue_type_script_setup_true_lang-DnJ5iO3c.mjs} +2 -2
  51. package/dist/{info.vue_vue_type_script_setup_true_lang-DUNKwofQ.mjs → info.vue_vue_type_script_setup_true_lang-GRXQ200F.mjs} +1 -1
  52. package/dist/{info.vue_vue_type_script_setup_true_lang-C6zP-9kn.mjs → info.vue_vue_type_script_setup_true_lang-QAf-SOVD.mjs} +2 -2
  53. package/dist/{info.vue_vue_type_script_setup_true_lang-DnVaOWBT.mjs → info.vue_vue_type_script_setup_true_lang-d0eLlThg.mjs} +2 -2
  54. package/package.json +1 -1
  55. package/dist/index-CRkb476e.mjs +0 -345
  56. package/dist/info-C3lX1Zzm.mjs +0 -4
  57. package/dist/info-mqnu4NsE.mjs +0 -4
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as K, mergeModels as O, ref as F, useModel as A, computed as P, resolveComponent as p, createBlock as j, openBlock as b, withCtx as t, createVNode as e, createElementVNode as n, createTextVNode as a, toDisplayString as s, unref as v, createElementBlock as g, createCommentVNode as M, withDirectives as I, vShow as $ } from "vue";
2
2
  import "element-plus";
3
3
  import { i as z, t as L, a as S } from "./common-Cwl5jzlM.mjs";
4
- import { D as w, a as q } from "./index-ELCTVQ7I.mjs";
4
+ import { D as w, a as q } from "./index-CrB5yZtO.mjs";
5
5
  const T = { key: 0 }, G = { key: 1 }, H = {
6
6
  key: 2,
7
7
  class: "distance-left"
@@ -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-ELCTVQ7I.mjs";
3
+ import { i as Y, D as V } from "./index-CrB5yZtO.mjs";
4
4
  import { fileApi as R } from "jmash-core";
5
- import { i as j } from "./index-DrF-WJsT.mjs";
5
+ import { i as j } from "./index-D00Ve-AT.mjs";
6
6
  const J = /* @__PURE__ */ A({
7
7
  __name: "info",
8
8
  props: /* @__PURE__ */ E({
@@ -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-ELCTVQ7I.mjs";
3
+ import { D as m, i as F } from "./index-CrB5yZtO.mjs";
4
4
  import { fileApi as j } from "jmash-core";
5
5
  const M = /* @__PURE__ */ I({
6
6
  __name: "info",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as h, mergeModels as K, ref as F, useModel as j, resolveComponent as p, createBlock as z, openBlock as v, withCtx as e, createVNode as t, createElementVNode as n, createTextVNode as r, toDisplayString as a, unref as w, createElementBlock as y, createCommentVNode as M, withDirectives as C, vShow as V } from "vue";
2
2
  import "element-plus";
3
- import { a as S } from "./index-DrF-WJsT.mjs";
4
- import { D as c, a as A } from "./index-ELCTVQ7I.mjs";
3
+ import { a as S } from "./index-D00Ve-AT.mjs";
4
+ import { D as c, a as A } from "./index-CrB5yZtO.mjs";
5
5
  const R = { key: 0 }, q = { key: 1 }, L = {
6
6
  key: 2,
7
7
  class: "distance-left"
@@ -1,8 +1,8 @@
1
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";
2
2
  import { rbacApi as M } from "jmash-rbac";
3
- import { i as U, D as f } from "./index-ELCTVQ7I.mjs";
3
+ import { i as U, D as f } from "./index-CrB5yZtO.mjs";
4
4
  import { fileApi as K } from "jmash-core";
5
- import { i as S } from "./index-DrF-WJsT.mjs";
5
+ import { i as S } from "./index-D00Ve-AT.mjs";
6
6
  const Q = /* @__PURE__ */ L({
7
7
  __name: "info",
8
8
  props: /* @__PURE__ */ P({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-itsm-flow",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/index.d.ts",
@@ -1,345 +0,0 @@
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,4 +0,0 @@
1
- import { _ as f } from "./info.vue_vue_type_script_setup_true_lang-Ceyvy80f.mjs";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./info.vue_vue_type_script_setup_true_lang-l3lgFElx.mjs";
2
- export {
3
- f as default
4
- };