xyvcard-itsm-flow 0.0.16 → 0.0.18

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 (34) hide show
  1. package/dist/{edit-BKYkA5db.mjs → edit-DIh0NEYf.mjs} +1 -1
  2. package/dist/{edit-BeFLJLv1.mjs → edit-DdzFTqhg.mjs} +1 -1
  3. package/dist/{edit-BrIptvPg.mjs → edit-Vw2XQ1u6.mjs} +1 -1
  4. package/dist/{edit.vue_vue_type_script_setup_true_lang-CjjtZ0-a.mjs → edit.vue_vue_type_script_setup_true_lang-BjhcvEHi.mjs} +1 -1
  5. package/dist/{edit.vue_vue_type_script_setup_true_lang-BiWjf5y2.mjs → edit.vue_vue_type_script_setup_true_lang-m73-ejk7.mjs} +1 -1
  6. package/dist/{edit.vue_vue_type_script_setup_true_lang-BhTKkYft.mjs → edit.vue_vue_type_script_setup_true_lang-prup6BHU.mjs} +1 -1
  7. package/dist/{index-CZw5m3rz.mjs → index-7_pEehBt.mjs} +4 -8
  8. package/dist/{index-B9enSHLF.mjs → index-BI1uXq1f.mjs} +1 -1
  9. package/dist/index-C54FcKfo.mjs +424 -0
  10. package/dist/{index-DY017z-s.mjs → index-C7_kMdm5.mjs} +2 -2
  11. package/dist/index-C7nUkCbR.mjs +361 -0
  12. package/dist/{index-B7xhs2Eg.mjs → index-CITy8Hqm.mjs} +1 -1
  13. package/dist/{index-DVDOqO_3.mjs → index-Cgbv4Ijf.mjs} +16 -13
  14. package/dist/{index-B7M3zSyM.mjs → index-CxyHtsq2.mjs} +2 -2
  15. package/dist/{index-C0CZrR-1.mjs → index-DaSMRndr.mjs} +2 -2
  16. package/dist/{index-BcD1DAF_.mjs → index-DcpiD-9M.mjs} +102 -77
  17. package/dist/{index-Clc9EA6r.mjs → index-Dooa5UH_.mjs} +1 -1
  18. package/dist/{index-IG9HKXxJ.mjs → index-g0KiWDPW.mjs} +35 -38
  19. package/dist/{index-d_oBTW1A.mjs → index-tnTugnqa.mjs} +51 -54
  20. package/dist/index.mjs +193 -187
  21. package/dist/{info-D6GMiIlG.mjs → info-8NydJYfB.mjs} +1 -1
  22. package/dist/{info-DxYNokk4.mjs → info-BbMCDfFR.mjs} +1 -1
  23. package/dist/{info-CFSSXb0f.mjs → info-l0eP5Tw1.mjs} +1 -1
  24. package/dist/{info.vue_vue_type_script_setup_true_lang-BFT23MNt.mjs → info.vue_vue_type_script_setup_true_lang-BnDpoavn.mjs} +17 -13
  25. package/dist/{info.vue_vue_type_script_setup_true_lang-CSn1JLZG.mjs → info.vue_vue_type_script_setup_true_lang-DMw-pPEW.mjs} +1 -1
  26. package/dist/{info.vue_vue_type_script_setup_true_lang-CYmFW8We.mjs → info.vue_vue_type_script_setup_true_lang-wuHB-S6l.mjs} +1 -1
  27. package/dts/api/itsm-flow-acceptance/types.d.ts +2 -0
  28. package/dts/api/itsm-flow-entrust/types.d.ts +4 -0
  29. package/dts/api/itsm-flow-reckoning/types.d.ts +1 -0
  30. package/dts/constant.d.ts +1 -0
  31. package/dts/lang/itsm-flow/zh-cn.d.ts +6 -0
  32. package/package.json +2 -2
  33. package/dist/index-DTKFEGFs.mjs +0 -339
  34. package/dist/index-rnfNatQ1.mjs +0 -315
@@ -1,315 +0,0 @@
1
- import { defineComponent as E, ref as _, reactive as H, resolveComponent as s, resolveDirective as W, createElementBlock as F, openBlock as w, createElementVNode as b, createVNode as l, createBlock as A, createCommentVNode as $, withCtx as a, withKeys as y, unref as n, createTextVNode as V, toDisplayString as c, withDirectives as G, isRef as S } from "vue";
2
- import { useTableHooks as J } from "jmash-core";
3
- import { useI18n as M } from "vue-i18n";
4
- import { D as v, i as X } from "./index-DVDOqO_3.mjs";
5
- import { _ as Y } from "./info.vue_vue_type_script_setup_true_lang-CYmFW8We.mjs";
6
- const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["onClick"], ie = /* @__PURE__ */ E({
7
- __name: "index",
8
- setup(te) {
9
- v.orgIdBizDict.useValues();
10
- const { t: N } = M(), r = _({}), {
11
- tableHooks: i,
12
- multipleTableRef: D,
13
- queryFormRef: R,
14
- listLoading: j,
15
- tableData: U,
16
- total: f
17
- } = J(N, X, r);
18
- let m = _([
19
- {
20
- label: "itsmFlowAcceptance.contractName",
21
- prop: "contractName",
22
- width: "150",
23
- isColumn: !0
24
- },
25
- {
26
- label: "itsmFlowAcceptance.contractNo",
27
- prop: "contractNo",
28
- width: "120",
29
- isColumn: !0
30
- },
31
- {
32
- label: "itsmFlowAcceptance.entrustName",
33
- prop: "entrustName",
34
- minWidth: "150",
35
- isColumn: !0,
36
- slotName: "entrustName",
37
- columnType: "slot"
38
- },
39
- {
40
- label: "itsmFlowAcceptance.serviceOrg",
41
- prop: "serviceOrg",
42
- width: "150",
43
- isColumn: !0,
44
- slotName: "serviceOrg",
45
- columnType: "slot"
46
- },
47
- {
48
- label: "itsmFlowAcceptance.stage",
49
- prop: "stage",
50
- width: "85",
51
- isColumn: !0
52
- },
53
- {
54
- label: "itsmFlowAcceptance.headman",
55
- prop: "headmanName",
56
- width: "100",
57
- isColumn: !0
58
- },
59
- {
60
- label: "itsmFlowAcceptance.members",
61
- prop: "membersName",
62
- width: "100",
63
- isColumn: !0
64
- },
65
- {
66
- label: "itsmFlowAcceptance.acceptanceNo",
67
- prop: "acceptanceNo",
68
- width: "150",
69
- isColumn: !0
70
- },
71
- {
72
- label: "itsmFlowAcceptance.result",
73
- prop: "result",
74
- width: "85",
75
- isColumn: !0,
76
- slotName: "result",
77
- columnType: "slot"
78
- },
79
- {
80
- label: "common.operate",
81
- width: "80",
82
- slotName: "operation",
83
- columnType: "slot",
84
- fixed: "right",
85
- isColumn: !0
86
- }
87
- ]);
88
- const p = _({
89
- title: N("common.view"),
90
- visible: !1
91
- });
92
- let C = H({});
93
- function P(o) {
94
- C = { ...o }, p.value.title = N("common.view"), p.value.visible = !0;
95
- }
96
- function T(o) {
97
- i.selectionRows.value = o;
98
- }
99
- function q(o) {
100
- i.handleSort(o.prop, o.order);
101
- }
102
- return i.getList(), (o, t) => {
103
- const g = s("el-input"), d = s("el-form-item"), u = s("el-col"), z = s("jmash-select"), h = s("el-button"), k = s("el-row"), K = s("el-form"), Q = s("jmash-column-select"), B = s("jmash-table"), O = s("jmash-pagination"), I = s("el-card"), L = W("hasPerm");
104
- return w(), F("div", Z, [
105
- b("div", x, [
106
- l(K, {
107
- ref_key: "queryFormRef",
108
- ref: R,
109
- model: r.value,
110
- inline: !0
111
- }, {
112
- default: a(() => [
113
- l(k, null, {
114
- default: a(() => [
115
- l(u, { span: 6 }, {
116
- default: a(() => [
117
- l(d, {
118
- label: o.$t("itsmFlowAcceptance.contractName"),
119
- prop: "likeContractName"
120
- }, {
121
- default: a(() => [
122
- l(g, {
123
- modelValue: r.value.likeContractName,
124
- "onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.likeContractName = e),
125
- placeholder: o.$t("itsmFlowAcceptance.contractNameRequired"),
126
- onKeyup: t[1] || (t[1] = y((e) => n(i).handleQuery(), ["enter"])),
127
- class: "!w-[203px]"
128
- }, null, 8, ["modelValue", "placeholder"])
129
- ]),
130
- _: 1
131
- }, 8, ["label"])
132
- ]),
133
- _: 1
134
- }),
135
- l(u, { span: 6 }, {
136
- default: a(() => [
137
- l(d, {
138
- label: o.$t("itsmFlowAcceptance.contractNo"),
139
- prop: "likeContractNo"
140
- }, {
141
- default: a(() => [
142
- l(g, {
143
- modelValue: r.value.likeContractNo,
144
- "onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.likeContractNo = e),
145
- placeholder: o.$t("itsmFlowAcceptance.contractNoRequired"),
146
- onKeyup: t[3] || (t[3] = y((e) => n(i).handleQuery(), ["enter"])),
147
- class: "!w-[203px]"
148
- }, null, 8, ["modelValue", "placeholder"])
149
- ]),
150
- _: 1
151
- }, 8, ["label"])
152
- ]),
153
- _: 1
154
- }),
155
- l(u, { span: 6 }, {
156
- default: a(() => [
157
- l(d, {
158
- label: o.$t("itsmFlowAcceptance.acceptanceNo"),
159
- prop: "acceptanceNo"
160
- }, {
161
- default: a(() => [
162
- l(g, {
163
- modelValue: r.value.acceptanceNo,
164
- "onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.acceptanceNo = e),
165
- placeholder: o.$t("itsmFlowAcceptance.acceptanceNoRequired"),
166
- onKeyup: t[5] || (t[5] = y((e) => n(i).handleQuery(), ["enter"])),
167
- class: "!w-[203px]"
168
- }, null, 8, ["modelValue", "placeholder"])
169
- ]),
170
- _: 1
171
- }, 8, ["label"])
172
- ]),
173
- _: 1
174
- }),
175
- l(u, { span: 6 }, {
176
- default: a(() => [
177
- l(d, {
178
- label: o.$t("itsmFlowAcceptance.applyStatus"),
179
- prop: "applyStatus"
180
- }, {
181
- default: a(() => [
182
- l(z, {
183
- modelValue: r.value.applyStatus,
184
- "onUpdate:modelValue": t[6] || (t[6] = (e) => r.value.applyStatus = e),
185
- placeholder: o.$t("itsmFlowAcceptance.applyStatusRequired"),
186
- data: n(v).applyStatusEnum.values,
187
- onKeyup: t[7] || (t[7] = y((e) => n(i).handleQuery(), ["enter"]))
188
- }, null, 8, ["modelValue", "placeholder", "data"])
189
- ]),
190
- _: 1
191
- }, 8, ["label"])
192
- ]),
193
- _: 1
194
- }),
195
- l(u, { span: 24 }, {
196
- default: a(() => [
197
- l(d, { class: "search-btn" }, {
198
- default: a(() => [
199
- l(h, {
200
- type: "primary",
201
- onClick: t[8] || (t[8] = (e) => n(i).handleQuery())
202
- }, {
203
- default: a(() => [
204
- V(c(o.$t("common.search")), 1)
205
- ]),
206
- _: 1
207
- }),
208
- l(h, {
209
- onClick: t[9] || (t[9] = (e) => n(i).resetQuery())
210
- }, {
211
- default: a(() => [
212
- V(c(o.$t("common.reset")), 1)
213
- ]),
214
- _: 1
215
- })
216
- ]),
217
- _: 1
218
- })
219
- ]),
220
- _: 1
221
- })
222
- ]),
223
- _: 1
224
- })
225
- ]),
226
- _: 1
227
- }, 8, ["model"])
228
- ]),
229
- l(I, {
230
- shadow: "never",
231
- class: "table-container"
232
- }, {
233
- header: a(() => [
234
- l(k, null, {
235
- default: a(() => [
236
- l(u, { span: 17 }),
237
- l(u, {
238
- span: 7,
239
- class: "container-float"
240
- }, {
241
- default: a(() => [
242
- l(Q, {
243
- modelValue: n(m),
244
- "onUpdate:modelValue": t[10] || (t[10] = (e) => S(m) ? m.value = e : m = e),
245
- "label-name": "itsm-flow-acceptance"
246
- }, null, 8, ["modelValue"])
247
- ]),
248
- _: 1
249
- })
250
- ]),
251
- _: 1
252
- })
253
- ]),
254
- footer: a(() => [
255
- n(f) > 0 ? (w(), A(O, {
256
- key: 0,
257
- total: n(f),
258
- "onUpdate:total": t[11] || (t[11] = (e) => S(f) ? f.value = e : null),
259
- "current-page": r.value.curPage,
260
- "onUpdate:currentPage": t[12] || (t[12] = (e) => r.value.curPage = e),
261
- "page-size": r.value.pageSize,
262
- "onUpdate:pageSize": t[13] || (t[13] = (e) => r.value.pageSize = e),
263
- onPagination: t[14] || (t[14] = (e) => n(i).getList())
264
- }, null, 8, ["total", "current-page", "page-size"])) : $("", !0)
265
- ]),
266
- default: a(() => [
267
- l(B, {
268
- ref_key: "multipleTableRef",
269
- ref: D,
270
- "row-key": "acceptanceId",
271
- "list-loading": n(j),
272
- data: n(U),
273
- "table-label": n(m),
274
- onSelectionChange: T,
275
- onSortChange: q
276
- }, {
277
- entrustName: a((e) => [
278
- b("span", null, c(n(v).projectNameDict.getDictValue(e.data.row.entrustName)), 1)
279
- ]),
280
- serviceOrg: a((e) => [
281
- b("span", null, c(n(v).orgIdBizDict.getValue(e.data.row.serviceOrg)), 1)
282
- ]),
283
- result: a((e) => [
284
- b("span", null, c(n(v).isValuesDict.getValue(e.data.row.result)), 1)
285
- ]),
286
- operation: a((e) => [
287
- G((w(), F("span", {
288
- class: "el-button-color",
289
- onClick: (le) => P(e.data.row)
290
- }, [
291
- V(c(o.$t("common.view")), 1)
292
- ], 8, ee)), [
293
- [L, ["itsmflow:itsm_flow_acceptance:view"]]
294
- ])
295
- ]),
296
- _: 1
297
- }, 8, ["list-loading", "data", "table-label"])
298
- ]),
299
- _: 1
300
- }),
301
- p.value.visible ? (w(), A(Y, {
302
- key: 0,
303
- modelValue: p.value.visible,
304
- "onUpdate:modelValue": t[15] || (t[15] = (e) => p.value.visible = e),
305
- title: p.value.title,
306
- "entity-key": n(C),
307
- width: "900px"
308
- }, null, 8, ["modelValue", "title", "entity-key"])) : $("", !0)
309
- ]);
310
- };
311
- }
312
- });
313
- export {
314
- ie as default
315
- };