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.
- package/dist/index-BuNBRcBE.mjs +419 -0
- package/dist/{index-rnfNatQ1.mjs → index-C3OfA9Me.mjs} +135 -95
- package/dist/{index-BcD1DAF_.mjs → index-CW4AhrRD.mjs} +109 -89
- package/dist/index.mjs +193 -187
- package/dts/api/itsm-flow-acceptance/types.d.ts +2 -0
- package/dts/api/itsm-flow-entrust/types.d.ts +4 -0
- package/dts/api/itsm-flow-reckoning/types.d.ts +1 -0
- package/dts/lang/itsm-flow/zh-cn.d.ts +6 -0
- package/package.json +1 -1
- package/dist/index-DTKFEGFs.mjs +0 -339
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as E, ref as b, reactive as H, resolveComponent as u, resolveDirective as W, createElementBlock as
|
|
1
|
+
import { defineComponent as E, ref as b, reactive as H, resolveComponent as u, resolveDirective as W, createElementBlock as F, openBlock as k, createElementVNode as y, createVNode as o, createBlock as _, createCommentVNode as S, withCtx as t, withKeys as m, unref as r, createTextVNode as V, toDisplayString as g, withDirectives as G, isRef as h } from "vue";
|
|
2
2
|
import { useTableHooks as J } from "jmash-core";
|
|
3
3
|
import { useI18n as M } from "vue-i18n";
|
|
4
4
|
import { i as X } from "./common-Cwl5jzlM.mjs";
|
|
5
|
-
import { D as
|
|
5
|
+
import { D as w } from "./index-DVDOqO_3.mjs";
|
|
6
6
|
import { _ as Y } from "./info.vue_vue_type_script_setup_true_lang-BFT23MNt.mjs";
|
|
7
7
|
const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["onClick"], se = /* @__PURE__ */ E({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(le) {
|
|
10
|
-
const { t: N } = M(),
|
|
10
|
+
const { t: N } = M(), a = b({}), {
|
|
11
11
|
tableHooks: i,
|
|
12
|
-
multipleTableRef:
|
|
13
|
-
queryFormRef:
|
|
14
|
-
listLoading:
|
|
15
|
-
tableData:
|
|
12
|
+
multipleTableRef: U,
|
|
13
|
+
queryFormRef: D,
|
|
14
|
+
listLoading: q,
|
|
15
|
+
tableData: O,
|
|
16
16
|
total: f
|
|
17
|
-
} = J(N, X,
|
|
18
|
-
|
|
19
|
-
let
|
|
17
|
+
} = J(N, X, a);
|
|
18
|
+
w.orgIdBizDict.useValues();
|
|
19
|
+
let v = b([
|
|
20
20
|
{
|
|
21
21
|
label: "itsmFlowReckoning.contractName",
|
|
22
22
|
prop: "contractName",
|
|
@@ -72,45 +72,45 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
72
72
|
isColumn: !0
|
|
73
73
|
}
|
|
74
74
|
]);
|
|
75
|
-
const
|
|
75
|
+
const d = b({
|
|
76
76
|
title: N("common.view"),
|
|
77
77
|
visible: !1
|
|
78
78
|
});
|
|
79
79
|
let R = H({});
|
|
80
|
-
function
|
|
81
|
-
R = { ...n },
|
|
80
|
+
function j(n) {
|
|
81
|
+
R = { ...n }, d.value.title = N("common.view"), d.value.visible = !0;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function K(n) {
|
|
84
84
|
i.selectionRows.value = n;
|
|
85
85
|
}
|
|
86
86
|
function Q(n) {
|
|
87
87
|
i.handleSort(n.prop, n.order);
|
|
88
88
|
}
|
|
89
89
|
return i.getList(), (n, e) => {
|
|
90
|
-
const
|
|
91
|
-
return
|
|
90
|
+
const c = u("el-input"), p = u("el-form-item"), s = u("el-col"), P = u("jmash-select"), $ = u("el-button"), C = u("el-row"), z = u("el-form"), T = u("jmash-column-select"), B = u("jmash-table"), I = u("jmash-pagination"), L = u("el-card"), A = W("hasPerm");
|
|
91
|
+
return k(), F("div", Z, [
|
|
92
92
|
y("div", x, [
|
|
93
|
-
o(
|
|
93
|
+
o(z, {
|
|
94
94
|
ref_key: "queryFormRef",
|
|
95
|
-
ref:
|
|
96
|
-
model:
|
|
95
|
+
ref: D,
|
|
96
|
+
model: a.value,
|
|
97
97
|
inline: !0
|
|
98
98
|
}, {
|
|
99
99
|
default: t(() => [
|
|
100
|
-
o(
|
|
100
|
+
o(C, null, {
|
|
101
101
|
default: t(() => [
|
|
102
102
|
o(s, { span: 6 }, {
|
|
103
103
|
default: t(() => [
|
|
104
|
-
o(
|
|
104
|
+
o(p, {
|
|
105
105
|
label: n.$t("itsmFlowReckoning.contractName"),
|
|
106
106
|
prop: "likeContractName"
|
|
107
107
|
}, {
|
|
108
108
|
default: t(() => [
|
|
109
|
-
o(
|
|
110
|
-
modelValue:
|
|
111
|
-
"onUpdate:modelValue": e[0] || (e[0] = (l) =>
|
|
109
|
+
o(c, {
|
|
110
|
+
modelValue: a.value.likeContractName,
|
|
111
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => a.value.likeContractName = l),
|
|
112
112
|
placeholder: n.$t("itsmFlowReckoning.contractNameRequired"),
|
|
113
|
-
onKeyup: e[1] || (e[1] =
|
|
113
|
+
onKeyup: e[1] || (e[1] = m((l) => r(i).handleQuery(), ["enter"])),
|
|
114
114
|
class: "!w-[203px]"
|
|
115
115
|
}, null, 8, ["modelValue", "placeholder"])
|
|
116
116
|
]),
|
|
@@ -121,16 +121,16 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
121
121
|
}),
|
|
122
122
|
o(s, { span: 6 }, {
|
|
123
123
|
default: t(() => [
|
|
124
|
-
o(
|
|
124
|
+
o(p, {
|
|
125
125
|
label: n.$t("itsmFlowReckoning.contractNo"),
|
|
126
126
|
prop: "likeContractNo"
|
|
127
127
|
}, {
|
|
128
128
|
default: t(() => [
|
|
129
|
-
o(
|
|
130
|
-
modelValue:
|
|
131
|
-
"onUpdate:modelValue": e[2] || (e[2] = (l) =>
|
|
129
|
+
o(c, {
|
|
130
|
+
modelValue: a.value.likeContractNo,
|
|
131
|
+
"onUpdate:modelValue": e[2] || (e[2] = (l) => a.value.likeContractNo = l),
|
|
132
132
|
placeholder: n.$t("itsmFlowReckoning.contractNoRequired"),
|
|
133
|
-
onKeyup: e[3] || (e[3] =
|
|
133
|
+
onKeyup: e[3] || (e[3] = m((l) => r(i).handleQuery(), ["enter"])),
|
|
134
134
|
class: "!w-[203px]"
|
|
135
135
|
}, null, 8, ["modelValue", "placeholder"])
|
|
136
136
|
]),
|
|
@@ -141,16 +141,16 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
141
141
|
}),
|
|
142
142
|
o(s, { span: 6 }, {
|
|
143
143
|
default: t(() => [
|
|
144
|
-
o(
|
|
144
|
+
o(p, {
|
|
145
145
|
label: n.$t("itsmFlowReckoning.acceptanceNo"),
|
|
146
146
|
prop: "acceptanceNo"
|
|
147
147
|
}, {
|
|
148
148
|
default: t(() => [
|
|
149
|
-
o(
|
|
150
|
-
modelValue:
|
|
151
|
-
"onUpdate:modelValue": e[4] || (e[4] = (l) =>
|
|
149
|
+
o(c, {
|
|
150
|
+
modelValue: a.value.acceptanceNo,
|
|
151
|
+
"onUpdate:modelValue": e[4] || (e[4] = (l) => a.value.acceptanceNo = l),
|
|
152
152
|
placeholder: n.$t("itsmFlowReckoning.acceptanceNoRequireds"),
|
|
153
|
-
onKeyup: e[5] || (e[5] =
|
|
153
|
+
onKeyup: e[5] || (e[5] = m((l) => r(i).handleQuery(), ["enter"])),
|
|
154
154
|
class: "!w-[203px]"
|
|
155
155
|
}, null, 8, ["modelValue", "placeholder"])
|
|
156
156
|
]),
|
|
@@ -161,16 +161,16 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
161
161
|
}),
|
|
162
162
|
o(s, { span: 6 }, {
|
|
163
163
|
default: t(() => [
|
|
164
|
-
o(
|
|
164
|
+
o(p, {
|
|
165
165
|
label: n.$t("itsmFlowReckoning.orderNo"),
|
|
166
166
|
prop: "orderNo"
|
|
167
167
|
}, {
|
|
168
168
|
default: t(() => [
|
|
169
|
-
o(
|
|
170
|
-
modelValue:
|
|
171
|
-
"onUpdate:modelValue": e[6] || (e[6] = (l) =>
|
|
169
|
+
o(c, {
|
|
170
|
+
modelValue: a.value.orderNo,
|
|
171
|
+
"onUpdate:modelValue": e[6] || (e[6] = (l) => a.value.orderNo = l),
|
|
172
172
|
placeholder: n.$t("itsmFlowReckoning.orderNoRequireds"),
|
|
173
|
-
onKeyup: e[7] || (e[7] =
|
|
173
|
+
onKeyup: e[7] || (e[7] = m((l) => r(i).handleQuery(), ["enter"])),
|
|
174
174
|
class: "!w-[203px]"
|
|
175
175
|
}, null, 8, ["modelValue", "placeholder"])
|
|
176
176
|
]),
|
|
@@ -181,16 +181,16 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
181
181
|
}),
|
|
182
182
|
o(s, { span: 6 }, {
|
|
183
183
|
default: t(() => [
|
|
184
|
-
o(
|
|
184
|
+
o(p, {
|
|
185
185
|
label: n.$t("itsmFlowReckoning.reckoningNo"),
|
|
186
186
|
prop: "reckoningNo"
|
|
187
187
|
}, {
|
|
188
188
|
default: t(() => [
|
|
189
|
-
o(
|
|
190
|
-
modelValue:
|
|
191
|
-
"onUpdate:modelValue": e[8] || (e[8] = (l) =>
|
|
189
|
+
o(c, {
|
|
190
|
+
modelValue: a.value.reckoningNo,
|
|
191
|
+
"onUpdate:modelValue": e[8] || (e[8] = (l) => a.value.reckoningNo = l),
|
|
192
192
|
placeholder: n.$t("itsmFlowReckoning.reckoningNoRequireds"),
|
|
193
|
-
onKeyup: e[9] || (e[9] =
|
|
193
|
+
onKeyup: e[9] || (e[9] = m((l) => r(i).handleQuery(), ["enter"])),
|
|
194
194
|
class: "!w-[203px]"
|
|
195
195
|
}, null, 8, ["modelValue", "placeholder"])
|
|
196
196
|
]),
|
|
@@ -201,17 +201,37 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
201
201
|
}),
|
|
202
202
|
o(s, { span: 6 }, {
|
|
203
203
|
default: t(() => [
|
|
204
|
-
o(
|
|
204
|
+
o(p, {
|
|
205
|
+
label: n.$t("itsmFlowReckoning.serviceOrg"),
|
|
206
|
+
prop: "likeServiceOrg"
|
|
207
|
+
}, {
|
|
208
|
+
default: t(() => [
|
|
209
|
+
o(c, {
|
|
210
|
+
modelValue: a.value.likeServiceOrg,
|
|
211
|
+
"onUpdate:modelValue": e[10] || (e[10] = (l) => a.value.likeServiceOrg = l),
|
|
212
|
+
placeholder: n.$t("itsmFlowReckoning.serviceOrgRequired"),
|
|
213
|
+
onKeyup: e[11] || (e[11] = m((l) => r(i).handleQuery(), ["enter"])),
|
|
214
|
+
class: "!w-[203px]"
|
|
215
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
216
|
+
]),
|
|
217
|
+
_: 1
|
|
218
|
+
}, 8, ["label"])
|
|
219
|
+
]),
|
|
220
|
+
_: 1
|
|
221
|
+
}),
|
|
222
|
+
o(s, { span: 6 }, {
|
|
223
|
+
default: t(() => [
|
|
224
|
+
o(p, {
|
|
205
225
|
label: n.$t("itsmFlowAcceptance.applyStatus"),
|
|
206
226
|
prop: "applyStatus"
|
|
207
227
|
}, {
|
|
208
228
|
default: t(() => [
|
|
209
|
-
o(
|
|
210
|
-
modelValue:
|
|
211
|
-
"onUpdate:modelValue": e[
|
|
229
|
+
o(P, {
|
|
230
|
+
modelValue: a.value.applyStatus,
|
|
231
|
+
"onUpdate:modelValue": e[12] || (e[12] = (l) => a.value.applyStatus = l),
|
|
212
232
|
placeholder: n.$t("itsmFlowAcceptance.applyStatusRequired"),
|
|
213
|
-
data:
|
|
214
|
-
onKeyup: e[
|
|
233
|
+
data: r(w).applyStatusEnum.values,
|
|
234
|
+
onKeyup: e[13] || (e[13] = m((l) => r(i).handleQuery(), ["enter"]))
|
|
215
235
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
216
236
|
]),
|
|
217
237
|
_: 1
|
|
@@ -219,24 +239,24 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
219
239
|
]),
|
|
220
240
|
_: 1
|
|
221
241
|
}),
|
|
222
|
-
o(s, { span:
|
|
242
|
+
o(s, { span: 6 }, {
|
|
223
243
|
default: t(() => [
|
|
224
|
-
o(
|
|
244
|
+
o(p, { class: "search-btn" }, {
|
|
225
245
|
default: t(() => [
|
|
226
|
-
o(
|
|
246
|
+
o($, {
|
|
227
247
|
type: "primary",
|
|
228
|
-
onClick: e[
|
|
248
|
+
onClick: e[14] || (e[14] = (l) => r(i).handleQuery())
|
|
229
249
|
}, {
|
|
230
250
|
default: t(() => [
|
|
231
|
-
V(
|
|
251
|
+
V(g(n.$t("common.search")), 1)
|
|
232
252
|
]),
|
|
233
253
|
_: 1
|
|
234
254
|
}),
|
|
235
|
-
o(
|
|
236
|
-
onClick: e[
|
|
255
|
+
o($, {
|
|
256
|
+
onClick: e[15] || (e[15] = (l) => r(i).resetQuery())
|
|
237
257
|
}, {
|
|
238
258
|
default: t(() => [
|
|
239
|
-
V(
|
|
259
|
+
V(g(n.$t("common.reset")), 1)
|
|
240
260
|
]),
|
|
241
261
|
_: 1
|
|
242
262
|
})
|
|
@@ -258,7 +278,7 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
258
278
|
class: "table-container"
|
|
259
279
|
}, {
|
|
260
280
|
header: t(() => [
|
|
261
|
-
o(
|
|
281
|
+
o(C, null, {
|
|
262
282
|
default: t(() => [
|
|
263
283
|
o(s, { span: 17 }),
|
|
264
284
|
o(s, {
|
|
@@ -266,9 +286,9 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
266
286
|
class: "container-float"
|
|
267
287
|
}, {
|
|
268
288
|
default: t(() => [
|
|
269
|
-
o(
|
|
270
|
-
modelValue:
|
|
271
|
-
"onUpdate:modelValue": e[
|
|
289
|
+
o(T, {
|
|
290
|
+
modelValue: r(v),
|
|
291
|
+
"onUpdate:modelValue": e[16] || (e[16] = (l) => h(v) ? v.value = l : v = l),
|
|
272
292
|
"label-name": "itsm-flow-reckoning"
|
|
273
293
|
}, null, 8, ["modelValue"])
|
|
274
294
|
]),
|
|
@@ -279,40 +299,40 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
279
299
|
})
|
|
280
300
|
]),
|
|
281
301
|
footer: t(() => [
|
|
282
|
-
|
|
302
|
+
r(f) > 0 ? (k(), _(I, {
|
|
283
303
|
key: 0,
|
|
284
|
-
total:
|
|
285
|
-
"onUpdate:total": e[
|
|
286
|
-
"current-page":
|
|
287
|
-
"onUpdate:currentPage": e[
|
|
288
|
-
"page-size":
|
|
289
|
-
"onUpdate:pageSize": e[
|
|
290
|
-
onPagination: e[
|
|
291
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
304
|
+
total: r(f),
|
|
305
|
+
"onUpdate:total": e[17] || (e[17] = (l) => h(f) ? f.value = l : null),
|
|
306
|
+
"current-page": a.value.curPage,
|
|
307
|
+
"onUpdate:currentPage": e[18] || (e[18] = (l) => a.value.curPage = l),
|
|
308
|
+
"page-size": a.value.pageSize,
|
|
309
|
+
"onUpdate:pageSize": e[19] || (e[19] = (l) => a.value.pageSize = l),
|
|
310
|
+
onPagination: e[20] || (e[20] = (l) => r(i).getList())
|
|
311
|
+
}, null, 8, ["total", "current-page", "page-size"])) : S("", !0)
|
|
292
312
|
]),
|
|
293
313
|
default: t(() => [
|
|
294
|
-
o(
|
|
314
|
+
o(B, {
|
|
295
315
|
ref_key: "multipleTableRef",
|
|
296
|
-
ref:
|
|
316
|
+
ref: U,
|
|
297
317
|
"row-key": "reckoningId",
|
|
298
|
-
"list-loading":
|
|
299
|
-
data:
|
|
300
|
-
"table-label":
|
|
301
|
-
onSelectionChange:
|
|
318
|
+
"list-loading": r(q),
|
|
319
|
+
data: r(O),
|
|
320
|
+
"table-label": r(v),
|
|
321
|
+
onSelectionChange: K,
|
|
302
322
|
onSortChange: Q
|
|
303
323
|
}, {
|
|
304
324
|
entrustName: t((l) => [
|
|
305
|
-
y("span", null,
|
|
325
|
+
y("span", null, g(r(w).projectNameDict.getDictValue(l.data.row.entrustName)), 1)
|
|
306
326
|
]),
|
|
307
327
|
serviceOrg: t((l) => [
|
|
308
|
-
y("span", null,
|
|
328
|
+
y("span", null, g(r(w).orgIdBizDict.getValue(l.data.row.serviceOrg)), 1)
|
|
309
329
|
]),
|
|
310
330
|
operation: t((l) => [
|
|
311
|
-
G((
|
|
331
|
+
G((k(), F("span", {
|
|
312
332
|
class: "el-button-color",
|
|
313
|
-
onClick: (oe) =>
|
|
333
|
+
onClick: (oe) => j(l.data.row)
|
|
314
334
|
}, [
|
|
315
|
-
V(
|
|
335
|
+
V(g(n.$t("common.view")), 1)
|
|
316
336
|
], 8, ee)), [
|
|
317
337
|
[A, ["itsmflow:itsm_flow_reckoning:view"]]
|
|
318
338
|
])
|
|
@@ -322,14 +342,14 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
322
342
|
]),
|
|
323
343
|
_: 1
|
|
324
344
|
}),
|
|
325
|
-
|
|
345
|
+
d.value.visible ? (k(), _(Y, {
|
|
326
346
|
key: 0,
|
|
327
|
-
modelValue:
|
|
328
|
-
"onUpdate:modelValue": e[
|
|
329
|
-
title:
|
|
330
|
-
"entity-key":
|
|
347
|
+
modelValue: d.value.visible,
|
|
348
|
+
"onUpdate:modelValue": e[21] || (e[21] = (l) => d.value.visible = l),
|
|
349
|
+
title: d.value.title,
|
|
350
|
+
"entity-key": r(R),
|
|
331
351
|
width: "900px"
|
|
332
|
-
}, null, 8, ["modelValue", "title", "entity-key"])) :
|
|
352
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : S("", !0)
|
|
333
353
|
]);
|
|
334
354
|
};
|
|
335
355
|
}
|