xyvcard-itsm-flow 0.0.34 → 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-CV5gGhiY.mjs → FileSaver.min-ClNkVClN.mjs} +1 -1
  2. package/dist/{edit-BQq7pDBO.mjs → edit-BEdr_8PJ.mjs} +1 -1
  3. package/dist/{edit-CnIi9oiQ.mjs → edit-CKextQDx.mjs} +2 -2
  4. package/dist/{edit-Dp0AHqiA.mjs → edit-CM7ZEDiX.mjs} +2 -2
  5. package/dist/{edit-BokgyaAV.mjs → edit-DBbtD7fG.mjs} +2 -2
  6. package/dist/{edit-Bco90Vo8.mjs → edit-DdAC6cfV.mjs} +1 -1
  7. package/dist/{edit-Bdh3f9IW.mjs → edit-x5wciLgT.mjs} +1 -1
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-BcWZ83d2.mjs → edit.vue_vue_type_script_setup_true_lang-BAf8q7CN.mjs} +1 -1
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-Bnm28vWh.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-rj7mJg1P.mjs → edit.vue_vue_type_script_setup_true_lang-h8mpKFR4.mjs} +1 -1
  11. package/dist/{index-CC0ls8dC.mjs → index-0uHuIS0s.mjs} +2 -2
  12. package/dist/{index-zyfvR0Hp.mjs → index-8zrIyQWX.mjs} +2 -2
  13. package/dist/{index-Dyp3uaYC.mjs → index-BECzf4l_.mjs} +4 -4
  14. package/dist/{index-Cn4AX8DE.mjs → index-BIu8ak2p.mjs} +3 -3
  15. package/dist/{index-DixXhY6e.mjs → index-BKffbxRi.mjs} +2 -2
  16. package/dist/{index-CQPAhY_Y.mjs → index-BM5T4IKm.mjs} +2 -2
  17. package/dist/{index-nKBE_CZ5.mjs → index-BOgdU813.mjs} +2 -2
  18. package/dist/{index-DRD2J4jZ.mjs → index-BSGtDp12.mjs} +1 -1
  19. package/dist/{index-De5XVHA_.mjs → index-BplQVJ9-.mjs} +1 -1
  20. package/dist/{index-DZ-vBE1a.mjs → index-BvcE9kx0.mjs} +2 -2
  21. package/dist/{index-CKltsTd_.mjs → index-Bzv1T2rE.mjs} +2 -2
  22. package/dist/{index--f18teen.mjs → index-C1TIJpBX.mjs} +2 -2
  23. package/dist/{index-BDiLgGwI.mjs → index-C50GEcoN.mjs} +2 -2
  24. package/dist/{index-C512xSaN.mjs → index-C8VALc-x.mjs} +1 -1
  25. package/dist/{index-gGAZQCwv.mjs → index-CIIwH5CM.mjs} +3 -3
  26. package/dist/{index-DMkzv83F.mjs → index-CMO-1BoO.mjs} +2 -2
  27. package/dist/index-CTC_D8-A.mjs +353 -0
  28. package/dist/{index-CaHUk1EF.mjs → index-CVQgcLRH.mjs} +1396 -1414
  29. package/dist/{index-Ctb5zPSS.mjs → index-CakK31Rp.mjs} +2 -2
  30. package/dist/{index-Cy2NwIUU.mjs → index-CyInqmhb.mjs} +3 -3
  31. package/dist/{index-D1uH7YPm.mjs → index-D993kfeg.mjs} +2 -2
  32. package/dist/{index-DRC0FY47.mjs → index-D9Wi_j9h.mjs} +2 -2
  33. package/dist/{index-utpg2r3L.mjs → index-DGZ_lllw.mjs} +1 -1
  34. package/dist/{index-C8HxOxFC.mjs → index-DSftvy63.mjs} +3 -3
  35. package/dist/{index-H6PdMjkM.mjs → index-DZz2iF4d.mjs} +105 -103
  36. package/dist/{index-jxNgFvAY.mjs → index-DaFFNgmK.mjs} +2 -2
  37. package/dist/index-F9dxfOkY.mjs +356 -0
  38. package/dist/{index-BMf2ETM4.mjs → index-LxX80FPC.mjs} +2 -2
  39. package/dist/{index-TtHElv3p.mjs → index-S9BLyA2n.mjs} +98 -96
  40. package/dist/{index-BJYV4bsS.mjs → index-nW76ObDz.mjs} +3 -3
  41. package/dist/{index-pvhpxQ_z.mjs → index-qRMBTq3z.mjs} +2 -2
  42. package/dist/{index-DUQZTY6x.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-BUdN3GEf.mjs → info-B5VZK_Jj.mjs} +1 -1
  46. package/dist/{info-BdaXnlIh.mjs → info-BZbUpYKc.mjs} +1 -1
  47. package/dist/{info-Brf-YfyV.mjs → info-BeyeJ52O.mjs} +1 -1
  48. package/dist/{info-D5BT4hgL.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-BYXwXUTy.mjs → info.vue_vue_type_script_setup_true_lang-C6DieIN8.mjs} +1 -1
  56. package/dist/{info.vue_vue_type_script_setup_true_lang-DX34krs9.mjs → info.vue_vue_type_script_setup_true_lang-C9jHBNnr.mjs} +14 -13
  57. package/dist/{info.vue_vue_type_script_setup_true_lang-C0VKhOBY.mjs → info.vue_vue_type_script_setup_true_lang-CCFoSbcQ.mjs} +1 -1
  58. package/dist/{info.vue_vue_type_script_setup_true_lang-fUoe1UzT.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-DniSUQb9.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-CqGG6Bfv.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 +2 -2
  71. package/dist/info-Dl6R7pBX.mjs +0 -4
  72. package/dist/info-IIM66WvW.mjs +0 -4
@@ -0,0 +1,356 @@
1
+ import { defineComponent as G, getCurrentInstance as J, ref as _, reactive as X, onActivated as Z, resolveComponent as s, resolveDirective as ee, createElementBlock as V, openBlock as f, createElementVNode as p, createVNode as o, createBlock as O, createCommentVNode as h, withCtx as l, unref as a, withKeys as $, createTextVNode as b, toDisplayString as m, withDirectives as te, isRef as B } from "vue";
2
+ import { useTableHooks as le } from "jmash-core";
3
+ import { useI18n as oe } from "vue-i18n";
4
+ import { i as ae } from "./index-CVQgcLRH.mjs";
5
+ import { _ as re } from "./info.vue_vue_type_script_setup_true_lang-C9jHBNnr.mjs";
6
+ import { D as d, O as z, C } from "./index-BplQVJ9-.mjs";
7
+ import { rbacApi as ne } from "jmash-rbac";
8
+ const se = { class: "app-container" }, ie = { class: "search-container" }, me = { key: 0 }, ue = ["onClick"], Te = /* @__PURE__ */ G({
9
+ __name: "index",
10
+ setup(pe) {
11
+ const { proxy: P } = J();
12
+ d.itemBizLayDict.useValues(), d.userExtBizDict.useValues();
13
+ const w = new z({ orgType: C.orgType.hall });
14
+ w.useValues();
15
+ const k = new z({
16
+ orgType: C.orgType.outsource
17
+ });
18
+ k.useValues();
19
+ const { t: T } = oe(), n = _({
20
+ temporaryType: C.External
21
+ }), {
22
+ tableHooks: i,
23
+ multipleTableRef: N,
24
+ queryFormRef: R,
25
+ listLoading: U,
26
+ tableData: j,
27
+ total: v
28
+ } = le(T, ae, n);
29
+ let c = _([
30
+ {
31
+ label: "itsmFlowTemporary.govOrgId",
32
+ prop: "govOrgId",
33
+ slotName: "govOrgId",
34
+ columnType: "slot",
35
+ width: "150",
36
+ sortable: "custom",
37
+ isColumn: !0
38
+ },
39
+ {
40
+ label: "itsmFlowTemporary.itemId",
41
+ prop: "itemId",
42
+ slotName: "itemId",
43
+ columnType: "slot",
44
+ minWidth: "150",
45
+ sortable: "custom",
46
+ isColumn: !0
47
+ },
48
+ {
49
+ label: "itsmFlowTemporary.title",
50
+ prop: "title",
51
+ minWidth: "150",
52
+ sortable: "custom",
53
+ isColumn: !0
54
+ },
55
+ {
56
+ label: "itsmFlowTemporary.content",
57
+ prop: "content",
58
+ minWidth: "150",
59
+ sortable: "custom",
60
+ isColumn: !0
61
+ },
62
+ {
63
+ label: "itsmFlowTemporary.outOrgIdTemporary",
64
+ prop: "outOrgId",
65
+ slotName: "outOrgId",
66
+ columnType: "slot",
67
+ width: "150",
68
+ sortable: "custom",
69
+ isColumn: !0
70
+ },
71
+ {
72
+ label: "itsmFlowTemporary.userIdTemporary",
73
+ prop: "userId",
74
+ slotName: "userId",
75
+ columnType: "slot",
76
+ width: "150",
77
+ sortable: "custom",
78
+ isColumn: !0
79
+ },
80
+ {
81
+ label: "itsmFlowTemporary.handlingPeriod",
82
+ prop: "handlingPeriod",
83
+ width: "105",
84
+ sortable: "custom",
85
+ isColumn: !0
86
+ },
87
+ {
88
+ label: "itsmFlowTemporary.createBy",
89
+ prop: "createBy",
90
+ slotName: "createBy",
91
+ columnType: "slot",
92
+ width: "150",
93
+ sortable: "custom",
94
+ isColumn: !0
95
+ },
96
+ {
97
+ label: "itsmFlowTemporary.createTime",
98
+ prop: "createTime",
99
+ slotName: "createTime",
100
+ columnType: "slot",
101
+ width: "170",
102
+ sortable: "custom",
103
+ isColumn: !0
104
+ },
105
+ {
106
+ label: "common.operate",
107
+ width: "80",
108
+ slotName: "operation",
109
+ columnType: "slot",
110
+ fixed: "right",
111
+ isColumn: !0
112
+ }
113
+ ]);
114
+ const u = _({
115
+ title: T("common.view"),
116
+ visible: !1
117
+ });
118
+ let F = X({});
119
+ function L(r) {
120
+ F.temporaryId = r.temporaryId, u.value.title = T("common.view"), u.value.visible = !0;
121
+ }
122
+ function q(r) {
123
+ i.selectionRows.value = r;
124
+ }
125
+ function E(r) {
126
+ i.handleSort(r.prop, r.order);
127
+ }
128
+ function A(r) {
129
+ r && i.getList();
130
+ }
131
+ return Z(() => {
132
+ i.getList();
133
+ }), (r, t) => {
134
+ const I = s("jmash-select"), y = s("el-form-item"), g = s("el-col"), H = s("el-input"), S = s("el-row"), D = s("el-button"), K = s("el-form"), Q = s("jmash-column-select"), Y = s("jmash-table"), W = s("jmash-pagination"), M = s("el-card"), x = ee("hasPerm");
135
+ return f(), V("div", se, [
136
+ p("div", ie, [
137
+ o(K, {
138
+ ref_key: "queryFormRef",
139
+ ref: R,
140
+ model: n.value,
141
+ inline: !0
142
+ }, {
143
+ default: l(() => [
144
+ o(S, null, {
145
+ default: l(() => [
146
+ o(g, { span: 6 }, {
147
+ default: l(() => [
148
+ o(y, {
149
+ label: r.$t("itsmFlowSpareParts.govOrgId"),
150
+ prop: "govOrgId"
151
+ }, {
152
+ default: l(() => [
153
+ o(I, {
154
+ modelValue: n.value.govOrgId,
155
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => n.value.govOrgId = e),
156
+ placeholder: r.$t("itsmFlowSpareParts.govOrgIdRequired"),
157
+ data: a(w).values,
158
+ clearable: "",
159
+ filterable: ""
160
+ }, null, 8, ["modelValue", "placeholder", "data"])
161
+ ]),
162
+ _: 1
163
+ }, 8, ["label"])
164
+ ]),
165
+ _: 1
166
+ }),
167
+ o(g, { span: 6 }, {
168
+ default: l(() => [
169
+ o(y, {
170
+ label: r.$t("itsmFlowSpareParts.itsmFlowItemId"),
171
+ prop: "itemId"
172
+ }, {
173
+ default: l(() => [
174
+ o(I, {
175
+ modelValue: n.value.itemId,
176
+ "onUpdate:modelValue": t[1] || (t[1] = (e) => n.value.itemId = e),
177
+ placeholder: r.$t("itsmFlowSpareParts.itemIdRequired"),
178
+ data: a(d).itemBizLayDict.values,
179
+ clearable: "",
180
+ filterable: ""
181
+ }, null, 8, ["modelValue", "placeholder", "data"])
182
+ ]),
183
+ _: 1
184
+ }, 8, ["label"])
185
+ ]),
186
+ _: 1
187
+ }),
188
+ o(g, { span: 6 }, {
189
+ default: l(() => [
190
+ o(y, {
191
+ label: r.$t("itsmFlowTemporary.likeTitle"),
192
+ prop: "likeTitle"
193
+ }, {
194
+ default: l(() => [
195
+ o(H, {
196
+ modelValue: n.value.likeTitle,
197
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => n.value.likeTitle = e),
198
+ placeholder: r.$t("itsmFlowTemporary.likeTitleRequired"),
199
+ onKeyup: t[3] || (t[3] = $((e) => a(i).handleQuery(), ["enter"])),
200
+ class: "!w-[203px]"
201
+ }, null, 8, ["modelValue", "placeholder"])
202
+ ]),
203
+ _: 1
204
+ }, 8, ["label"])
205
+ ]),
206
+ _: 1
207
+ }),
208
+ o(g, { span: 6 }, {
209
+ default: l(() => [
210
+ o(y, {
211
+ label: r.$t("itsmFlowAcceptance.applyStatus"),
212
+ prop: "applyStatus"
213
+ }, {
214
+ default: l(() => [
215
+ o(I, {
216
+ modelValue: n.value.applyStatus,
217
+ "onUpdate:modelValue": t[4] || (t[4] = (e) => n.value.applyStatus = e),
218
+ placeholder: r.$t("itsmFlowAcceptance.applyStatusRequired"),
219
+ data: a(d).applyStatusEnum.values,
220
+ onKeyup: t[5] || (t[5] = $((e) => a(i).handleQuery(), ["enter"]))
221
+ }, null, 8, ["modelValue", "placeholder", "data"])
222
+ ]),
223
+ _: 1
224
+ }, 8, ["label"])
225
+ ]),
226
+ _: 1
227
+ })
228
+ ]),
229
+ _: 1
230
+ }),
231
+ o(y, { class: "search-btn" }, {
232
+ default: l(() => [
233
+ o(D, {
234
+ type: "primary",
235
+ onClick: t[6] || (t[6] = (e) => a(i).handleQuery())
236
+ }, {
237
+ default: l(() => [
238
+ b(m(r.$t("common.search")), 1)
239
+ ]),
240
+ _: 1
241
+ }),
242
+ o(D, {
243
+ onClick: t[7] || (t[7] = (e) => a(i).resetQuery())
244
+ }, {
245
+ default: l(() => [
246
+ b(m(r.$t("common.reset")), 1)
247
+ ]),
248
+ _: 1
249
+ })
250
+ ]),
251
+ _: 1
252
+ })
253
+ ]),
254
+ _: 1
255
+ }, 8, ["model"]),
256
+ t[14] || (t[14] = p("div", { class: "clear" }, null, -1))
257
+ ]),
258
+ o(M, {
259
+ shadow: "never",
260
+ class: "table-container"
261
+ }, {
262
+ header: l(() => [
263
+ o(S, null, {
264
+ default: l(() => [
265
+ o(g, {
266
+ span: 24,
267
+ class: "container-float"
268
+ }, {
269
+ default: l(() => [
270
+ o(Q, {
271
+ modelValue: a(c),
272
+ "onUpdate:modelValue": t[8] || (t[8] = (e) => B(c) ? c.value = e : c = e),
273
+ "label-name": "itsm-flow-temporary"
274
+ }, null, 8, ["modelValue"])
275
+ ]),
276
+ _: 1
277
+ })
278
+ ]),
279
+ _: 1
280
+ })
281
+ ]),
282
+ footer: l(() => [
283
+ a(v) > 0 ? (f(), O(W, {
284
+ key: 0,
285
+ total: a(v),
286
+ "onUpdate:total": t[9] || (t[9] = (e) => B(v) ? v.value = e : null),
287
+ "current-page": n.value.curPage,
288
+ "onUpdate:currentPage": t[10] || (t[10] = (e) => n.value.curPage = e),
289
+ "page-size": n.value.pageSize,
290
+ "onUpdate:pageSize": t[11] || (t[11] = (e) => n.value.pageSize = e),
291
+ onPagination: t[12] || (t[12] = (e) => a(i).getList())
292
+ }, null, 8, ["total", "current-page", "page-size"])) : h("", !0)
293
+ ]),
294
+ default: l(() => [
295
+ o(Y, {
296
+ ref_key: "multipleTableRef",
297
+ ref: N,
298
+ "row-key": "temporaryId",
299
+ "v-loading": a(U),
300
+ data: a(j),
301
+ "table-label": a(c),
302
+ onSelectionChange: q,
303
+ onSortChange: E
304
+ }, {
305
+ govOrgId: l((e) => [
306
+ p("span", null, m(a(w).getValue(e.data.row.govOrgId)), 1)
307
+ ]),
308
+ itemId: l((e) => [
309
+ p("span", null, m(a(d).itemBizLayDict.getValue(e.data.row.itemId)), 1)
310
+ ]),
311
+ outOrgId: l((e) => [
312
+ p("span", null, m(a(k).getValue(e.data.row.outOrgId)), 1)
313
+ ]),
314
+ userId: l((e) => [
315
+ p("span", null, m(a(d).userExtBizDict.getValue(e.data.row.userId)), 1)
316
+ ]),
317
+ createBy: l((e) => [
318
+ e.data.row.createBy ? (f(), V("span", me, m(a(ne).userInfo(e.data.row.createBy).realName), 1)) : h("", !0)
319
+ ]),
320
+ createTime: l((e) => [
321
+ b(m(a(P).$moment.formatDate(
322
+ e.data.row.createTime,
323
+ "YYYY-MM-DD HH:mm:ss"
324
+ )), 1)
325
+ ]),
326
+ operation: l((e) => [
327
+ te((f(), V("span", {
328
+ class: "el-button-color",
329
+ onClick: (de) => L(e.data.row)
330
+ }, [
331
+ b(m(r.$t("common.view")), 1)
332
+ ], 8, ue)), [
333
+ [x, ["itsmflow:itsm_flow_temporary:view"]]
334
+ ])
335
+ ]),
336
+ _: 1
337
+ }, 8, ["v-loading", "data", "table-label"])
338
+ ]),
339
+ _: 1
340
+ }),
341
+ u.value.visible ? (f(), O(re, {
342
+ key: 0,
343
+ modelValue: u.value.visible,
344
+ "onUpdate:modelValue": t[13] || (t[13] = (e) => u.value.visible = e),
345
+ title: u.value.title,
346
+ "entity-key": a(F),
347
+ onRefresh: A,
348
+ width: "800px"
349
+ }, null, 8, ["modelValue", "title", "entity-key"])) : h("", !0)
350
+ ]);
351
+ };
352
+ }
353
+ });
354
+ export {
355
+ Te as default
356
+ };
@@ -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-CaHUk1EF.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-De5XVHA_.mjs";
5
+ import { a as J } from "./index-CVQgcLRH.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-BplQVJ9-.mjs";
7
7
  import { E as Ue } from "./el-message-BJAl6Gwu.mjs";
8
8
  const De = /* @__PURE__ */ be({
9
9
  __name: "index",