xyvcard-itsm-flow 0.0.16 → 0.0.17

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.
@@ -9,6 +9,8 @@ export interface ItsmFlowAcceptanceReq extends EntityReq {
9
9
  acceptanceNo?: string;
10
10
  acceptanceId?: string;
11
11
  orderNo?: string;
12
+ likeUserName?: string;
13
+ likeServiceOrg?: string;
12
14
  }
13
15
  export interface ItsmFlowAcceptanceModel extends EntityModel {
14
16
  acceptanceId?: string;
@@ -10,6 +10,10 @@ export interface ItsmFlowEntrustReq extends EntityReq {
10
10
  hasServiceContent?: boolean;
11
11
  orderNo?: string;
12
12
  entrustId?: string;
13
+ likeUserName?: string;
14
+ likeServiceOrg?: string;
15
+ likeBelongOrgName?: string;
16
+ likeEntrustItsmName?: string;
13
17
  }
14
18
  export interface ItsmFlowEntrustModel extends EntityModel {
15
19
  entrustId?: string;
@@ -10,6 +10,7 @@ export interface ItsmFlowReckoningReq extends EntityReq {
10
10
  reckoningId?: string;
11
11
  hasApplyStatus?: boolean;
12
12
  applyStatus?: string;
13
+ likeServiceOrg?: string;
13
14
  }
14
15
  export interface ItsmFlowReckoningModel extends EntityModel {
15
16
  reckoningId?: string;
@@ -11,7 +11,9 @@ declare const _default: {
11
11
  entrustNameRequired: string;
12
12
  entrustItsmId: string;
13
13
  entrustItsmIdRequired: string;
14
+ entrustItsmIdRequireds: string;
14
15
  belongOrg: string;
16
+ belongOrgRequireds: string;
15
17
  belongOrgRequired: string;
16
18
  serviceContent: string;
17
19
  serviceContentRequired: string;
@@ -48,6 +50,7 @@ declare const _default: {
48
50
  acceptanceNoRequired: string;
49
51
  entrustName: string;
50
52
  serviceOrg: string;
53
+ serviceOrgRequired: string;
51
54
  stage: string;
52
55
  stageRequired: string;
53
56
  headman: string;
@@ -69,6 +72,8 @@ declare const _default: {
69
72
  applyStatusRequired: string;
70
73
  orderNo: string;
71
74
  orderNoRequired: string;
75
+ userName: string;
76
+ userNameRequired: string;
72
77
  };
73
78
  itsmFlowReckoning: {
74
79
  name: string;
@@ -78,6 +83,7 @@ declare const _default: {
78
83
  contractNoRequired: string;
79
84
  entrustName: string;
80
85
  serviceOrg: string;
86
+ serviceOrgRequired: string;
81
87
  acceptanceNo: string;
82
88
  acceptanceNoRequired: string;
83
89
  acceptanceNoRequireds: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-itsm-flow",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/index.d.ts",
@@ -1,339 +0,0 @@
1
- import { defineComponent as H, ref as N, reactive as W, resolveComponent as u, resolveDirective as G, createElementBlock as h, openBlock as g, createElementVNode as f, createVNode as l, createBlock as I, createCommentVNode as S, withCtx as o, withKeys as w, unref as n, createTextVNode as V, toDisplayString as p, withDirectives as J, isRef as D } from "vue";
2
- import { useTableHooks as M } from "jmash-core";
3
- import { useI18n as X } from "vue-i18n";
4
- import { a as Y, D as m } from "./index-DVDOqO_3.mjs";
5
- import { _ as Z } from "./info.vue_vue_type_script_setup_true_lang-CSn1JLZG.mjs";
6
- const x = { class: "app-container" }, ee = { class: "search-container" }, te = ["onClick"], ue = /* @__PURE__ */ H({
7
- __name: "index",
8
- setup(le) {
9
- const { t: y } = X(), r = N({}), {
10
- tableHooks: s,
11
- multipleTableRef: R,
12
- queryFormRef: j,
13
- listLoading: O,
14
- tableData: U,
15
- total: b
16
- } = M(y, Y, r);
17
- m.orgIdBizDict.useValues(), m.parentIdBizDict.useValues();
18
- let v = N([
19
- {
20
- label: "itsmFlowEntrust.contractId",
21
- prop: "contractName",
22
- width: "150",
23
- isColumn: !0
24
- },
25
- {
26
- label: "itsmFlowEntrust.contractNo",
27
- prop: "contractNo",
28
- width: "120",
29
- isColumn: !0
30
- },
31
- {
32
- label: "itsmFlowEntrust.entrustName",
33
- prop: "entrustName",
34
- isColumn: !0,
35
- slotName: "entrustName",
36
- columnType: "slot",
37
- minWidth: "150"
38
- },
39
- {
40
- label: "itsmFlowEntrust.entrustItsmId",
41
- prop: "entrustItsmName",
42
- width: "150",
43
- isColumn: !0
44
- },
45
- {
46
- label: "itsmFlowEntrust.belongOrg",
47
- prop: "belongOrgId",
48
- width: "150",
49
- isColumn: !0,
50
- slotName: "belongOrgId",
51
- columnType: "slot"
52
- },
53
- {
54
- label: "itsmFlowEntrust.serviceContent",
55
- prop: "serviceContent",
56
- width: "85",
57
- isColumn: !0,
58
- slotName: "serviceContent",
59
- columnType: "slot"
60
- },
61
- {
62
- label: "itsmFlowEntrust.serviceOrg",
63
- prop: "serviceOrg",
64
- width: "150",
65
- isColumn: !0,
66
- slotName: "serviceOrg",
67
- columnType: "slot"
68
- },
69
- {
70
- label: "itsmFlowEntrust.orderNo",
71
- prop: "orderNo",
72
- width: "150",
73
- isColumn: !0
74
- },
75
- {
76
- label: "common.operate",
77
- width: "80",
78
- slotName: "operation",
79
- columnType: "slot",
80
- fixed: "right",
81
- isColumn: !0
82
- }
83
- ]);
84
- const d = N({
85
- title: y("common.view"),
86
- visible: !1
87
- });
88
- let _ = W({});
89
- function z(a) {
90
- _ = { ...a }, d.value.title = y("common.view"), d.value.visible = !0;
91
- }
92
- function T(a) {
93
- s.selectionRows.value = a;
94
- }
95
- function q(a) {
96
- s.handleSort(a.prop, a.order);
97
- }
98
- return s.getList(), (a, t) => {
99
- const C = u("el-input"), c = u("el-form-item"), i = u("el-col"), E = u("jmash-select"), k = u("el-button"), $ = u("el-row"), P = u("el-form"), B = u("jmash-column-select"), K = u("jmash-table"), Q = u("jmash-pagination"), L = u("el-card"), A = G("hasPerm");
100
- return g(), h("div", x, [
101
- f("div", ee, [
102
- l(P, {
103
- ref_key: "queryFormRef",
104
- ref: j,
105
- model: r.value,
106
- inline: !0
107
- }, {
108
- default: o(() => [
109
- l($, null, {
110
- default: o(() => [
111
- l(i, { span: 6 }, {
112
- default: o(() => [
113
- l(c, {
114
- label: a.$t("itsmFlowEntrust.contractId"),
115
- prop: "likeContractName"
116
- }, {
117
- default: o(() => [
118
- l(C, {
119
- modelValue: r.value.likeContractName,
120
- "onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.likeContractName = e),
121
- placeholder: a.$t("itsmFlowEntrust.contractNameRequired"),
122
- onKeyup: t[1] || (t[1] = w((e) => n(s).handleQuery(), ["enter"])),
123
- class: "!w-[203px]"
124
- }, null, 8, ["modelValue", "placeholder"])
125
- ]),
126
- _: 1
127
- }, 8, ["label"])
128
- ]),
129
- _: 1
130
- }),
131
- l(i, { span: 6 }, {
132
- default: o(() => [
133
- l(c, {
134
- label: a.$t("itsmFlowEntrust.contractNo"),
135
- prop: "likeContractNo"
136
- }, {
137
- default: o(() => [
138
- l(C, {
139
- modelValue: r.value.likeContractNo,
140
- "onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.likeContractNo = e),
141
- placeholder: a.$t("itsmFlowEntrust.contractNoRequired"),
142
- onKeyup: t[3] || (t[3] = w((e) => n(s).handleQuery(), ["enter"])),
143
- class: "!w-[203px]"
144
- }, null, 8, ["modelValue", "placeholder"])
145
- ]),
146
- _: 1
147
- }, 8, ["label"])
148
- ]),
149
- _: 1
150
- }),
151
- l(i, { span: 6 }, {
152
- default: o(() => [
153
- l(c, {
154
- label: a.$t("itsmFlowEntrust.serviceContent"),
155
- prop: "serviceContent"
156
- }, {
157
- default: o(() => [
158
- l(E, {
159
- modelValue: r.value.serviceContent,
160
- "onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.serviceContent = e),
161
- placeholder: a.$t("itsmFlowEntrust.serviceContentRequired"),
162
- data: n(m).serviceContentEnum.values,
163
- clearable: "",
164
- filterable: "",
165
- onKeyup: t[5] || (t[5] = w((e) => n(s).handleQuery(), ["enter"])),
166
- class: "!w-[203px]"
167
- }, null, 8, ["modelValue", "placeholder", "data"])
168
- ]),
169
- _: 1
170
- }, 8, ["label"])
171
- ]),
172
- _: 1
173
- }),
174
- l(i, { span: 6 }, {
175
- default: o(() => [
176
- l(c, {
177
- label: a.$t("itsmFlowEntrust.orderNo"),
178
- prop: "orderNo"
179
- }, {
180
- default: o(() => [
181
- l(C, {
182
- modelValue: r.value.orderNo,
183
- "onUpdate:modelValue": t[6] || (t[6] = (e) => r.value.orderNo = e),
184
- placeholder: a.$t("itsmFlowEntrust.orderNoRequireds"),
185
- onKeyup: t[7] || (t[7] = w((e) => n(s).handleQuery(), ["enter"])),
186
- class: "!w-[203px]"
187
- }, null, 8, ["modelValue", "placeholder"])
188
- ]),
189
- _: 1
190
- }, 8, ["label"])
191
- ]),
192
- _: 1
193
- }),
194
- l(i, { span: 6 }, {
195
- default: o(() => [
196
- l(c, {
197
- label: a.$t("itsmFlowAcceptance.applyStatus"),
198
- prop: "applyStatus"
199
- }, {
200
- default: o(() => [
201
- l(E, {
202
- modelValue: r.value.applyStatus,
203
- "onUpdate:modelValue": t[8] || (t[8] = (e) => r.value.applyStatus = e),
204
- placeholder: a.$t("itsmFlowAcceptance.applyStatusRequired"),
205
- data: n(m).applyStatusEnum.values,
206
- onKeyup: t[9] || (t[9] = w((e) => n(s).handleQuery(), ["enter"]))
207
- }, null, 8, ["modelValue", "placeholder", "data"])
208
- ]),
209
- _: 1
210
- }, 8, ["label"])
211
- ]),
212
- _: 1
213
- }),
214
- l(i, { span: 18 }, {
215
- default: o(() => [
216
- l(c, { class: "search-btn" }, {
217
- default: o(() => [
218
- l(k, {
219
- type: "primary",
220
- onClick: t[10] || (t[10] = (e) => n(s).handleQuery())
221
- }, {
222
- default: o(() => [
223
- V(p(a.$t("common.search")), 1)
224
- ]),
225
- _: 1
226
- }),
227
- l(k, {
228
- onClick: t[11] || (t[11] = (e) => n(s).resetQuery())
229
- }, {
230
- default: o(() => [
231
- V(p(a.$t("common.reset")), 1)
232
- ]),
233
- _: 1
234
- })
235
- ]),
236
- _: 1
237
- })
238
- ]),
239
- _: 1
240
- })
241
- ]),
242
- _: 1
243
- })
244
- ]),
245
- _: 1
246
- }, 8, ["model"])
247
- ]),
248
- l(L, {
249
- shadow: "never",
250
- class: "table-container"
251
- }, {
252
- header: o(() => [
253
- l($, null, {
254
- default: o(() => [
255
- l(i, { span: 17 }),
256
- l(i, {
257
- span: 7,
258
- class: "container-float"
259
- }, {
260
- default: o(() => [
261
- l(B, {
262
- modelValue: n(v),
263
- "onUpdate:modelValue": t[12] || (t[12] = (e) => D(v) ? v.value = e : v = e),
264
- "label-name": "itsm-flow-entrust"
265
- }, null, 8, ["modelValue"])
266
- ]),
267
- _: 1
268
- })
269
- ]),
270
- _: 1
271
- })
272
- ]),
273
- footer: o(() => [
274
- n(b) > 0 ? (g(), I(Q, {
275
- key: 0,
276
- total: n(b),
277
- "onUpdate:total": t[13] || (t[13] = (e) => D(b) ? b.value = e : null),
278
- "current-page": r.value.curPage,
279
- "onUpdate:currentPage": t[14] || (t[14] = (e) => r.value.curPage = e),
280
- "page-size": r.value.pageSize,
281
- "onUpdate:pageSize": t[15] || (t[15] = (e) => r.value.pageSize = e),
282
- onPagination: t[16] || (t[16] = (e) => n(s).getList())
283
- }, null, 8, ["total", "current-page", "page-size"])) : S("", !0)
284
- ]),
285
- default: o(() => [
286
- l(K, {
287
- ref_key: "multipleTableRef",
288
- ref: R,
289
- "row-key": "entrustId",
290
- "list-loading": n(O),
291
- data: n(U),
292
- "table-label": n(v),
293
- onSelectionChange: T,
294
- onSortChange: q
295
- }, {
296
- entrustName: o((e) => [
297
- f("span", null, p(n(m).projectNameDict.getDictValue(e.data.row.entrustName)), 1)
298
- ]),
299
- belongOrgId: o((e) => [
300
- f("span", null, p(e.data.row.belongOrgId.split(",").map((F) => n(m).parentIdBizDict.getValue(F)).join(",")), 1)
301
- ]),
302
- serviceContent: o((e) => [
303
- f("span", null, p(n(m).serviceContentEnum.getEnumValue(
304
- e.data.row.serviceContent
305
- )), 1)
306
- ]),
307
- serviceOrg: o((e) => [
308
- f("span", null, p(n(m).orgIdBizDict.getValue(e.data.row.serviceOrg)), 1)
309
- ]),
310
- operation: o((e) => [
311
- J((g(), h("span", {
312
- class: "el-button-color",
313
- onClick: (F) => z(e.data.row)
314
- }, [
315
- V(p(a.$t("common.view")), 1)
316
- ], 8, te)), [
317
- [A, ["itsmflow:itsm_flow_entrust:view"]]
318
- ])
319
- ]),
320
- _: 1
321
- }, 8, ["list-loading", "data", "table-label"])
322
- ]),
323
- _: 1
324
- }),
325
- d.value.visible ? (g(), I(Z, {
326
- key: 0,
327
- modelValue: d.value.visible,
328
- "onUpdate:modelValue": t[17] || (t[17] = (e) => d.value.visible = e),
329
- title: d.value.title,
330
- "entity-key": n(_),
331
- width: "900px"
332
- }, null, 8, ["modelValue", "title", "entity-key"])) : S("", !0)
333
- ]);
334
- };
335
- }
336
- });
337
- export {
338
- ue as default
339
- };