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