xyvcard-itsm-flow 0.0.17 → 0.0.19
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/{edit-BKYkA5db.mjs → edit-DIh0NEYf.mjs} +1 -1
- package/dist/{edit-BeFLJLv1.mjs → edit-DdzFTqhg.mjs} +1 -1
- package/dist/{edit-BrIptvPg.mjs → edit-Vw2XQ1u6.mjs} +1 -1
- 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
- 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
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BhTKkYft.mjs → edit.vue_vue_type_script_setup_true_lang-prup6BHU.mjs} +1 -1
- package/dist/{index-CZw5m3rz.mjs → index-7_pEehBt.mjs} +4 -8
- package/dist/{index-B9enSHLF.mjs → index-BI1uXq1f.mjs} +1 -1
- package/dist/{index-DY017z-s.mjs → index-C7_kMdm5.mjs} +2 -2
- package/dist/{index-B7xhs2Eg.mjs → index-CITy8Hqm.mjs} +1 -1
- package/dist/{index-DVDOqO_3.mjs → index-Cgbv4Ijf.mjs} +16 -13
- package/dist/{index-CW4AhrRD.mjs → index-Cqw8Rz4q.mjs} +100 -95
- package/dist/{index-B7M3zSyM.mjs → index-CxyHtsq2.mjs} +2 -2
- package/dist/{index-C3OfA9Me.mjs → index-DB-P0VX0.mjs} +66 -60
- package/dist/{index-C0CZrR-1.mjs → index-DaSMRndr.mjs} +2 -2
- package/dist/{index-BuNBRcBE.mjs → index-DeerMT0Q.mjs} +73 -68
- package/dist/{index-Clc9EA6r.mjs → index-Dooa5UH_.mjs} +1 -1
- package/dist/{index-IG9HKXxJ.mjs → index-g0KiWDPW.mjs} +35 -38
- package/dist/{index-d_oBTW1A.mjs → index-tnTugnqa.mjs} +51 -54
- package/dist/index.mjs +1 -1
- package/dist/{info-D6GMiIlG.mjs → info-8NydJYfB.mjs} +1 -1
- package/dist/{info-DxYNokk4.mjs → info-BbMCDfFR.mjs} +1 -1
- package/dist/{info-CFSSXb0f.mjs → info-l0eP5Tw1.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-BFT23MNt.mjs → info.vue_vue_type_script_setup_true_lang-BnDpoavn.mjs} +17 -13
- 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
- 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
- package/dts/constant.d.ts +1 -0
- package/package.json +5 -5
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useTableHooks as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import {
|
|
5
|
-
import { _ as
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as H, ref as V, reactive as W, resolveComponent as u, resolveDirective as G, createElementBlock as h, openBlock as b, createElementVNode as y, createVNode as t, createBlock as S, createCommentVNode as U, withCtx as a, withKeys as c, unref as n, createTextVNode as k, toDisplayString as d, 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 { O as Y, C as Z, i as x, D as g } from "./index-Cgbv4Ijf.mjs";
|
|
5
|
+
import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-wuHB-S6l.mjs";
|
|
6
|
+
const le = { class: "app-container" }, te = { class: "search-container" }, ae = ["onClick"], me = /* @__PURE__ */ H({
|
|
7
7
|
__name: "index",
|
|
8
|
-
setup(
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
setup(oe) {
|
|
9
|
+
const C = new Y({
|
|
10
|
+
orgType: Z.orgType.outsource
|
|
11
|
+
});
|
|
12
|
+
C.useValues();
|
|
13
|
+
const { t: N } = X(), r = V({}), {
|
|
11
14
|
tableHooks: s,
|
|
12
|
-
multipleTableRef:
|
|
13
|
-
queryFormRef:
|
|
14
|
-
listLoading:
|
|
15
|
-
tableData:
|
|
16
|
-
total:
|
|
17
|
-
} =
|
|
15
|
+
multipleTableRef: O,
|
|
16
|
+
queryFormRef: R,
|
|
17
|
+
listLoading: T,
|
|
18
|
+
tableData: j,
|
|
19
|
+
total: w
|
|
20
|
+
} = M(N, x, r);
|
|
18
21
|
let v = V([
|
|
19
22
|
{
|
|
20
23
|
label: "itsmFlowAcceptance.contractName",
|
|
@@ -86,31 +89,31 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
86
89
|
}
|
|
87
90
|
]);
|
|
88
91
|
const m = V({
|
|
89
|
-
title:
|
|
92
|
+
title: N("common.view"),
|
|
90
93
|
visible: !1
|
|
91
94
|
});
|
|
92
|
-
let
|
|
93
|
-
function j(o) {
|
|
94
|
-
C = { ...o }, m.value.title = g("common.view"), m.value.visible = !0;
|
|
95
|
-
}
|
|
95
|
+
let _ = W({});
|
|
96
96
|
function q(o) {
|
|
97
|
+
_ = { ...o }, m.value.title = N("common.view"), m.value.visible = !0;
|
|
98
|
+
}
|
|
99
|
+
function z(o) {
|
|
97
100
|
s.selectionRows.value = o;
|
|
98
101
|
}
|
|
99
102
|
function K(o) {
|
|
100
103
|
s.handleSort(o.prop, o.order);
|
|
101
104
|
}
|
|
102
105
|
return s.getList(), (o, e) => {
|
|
103
|
-
const
|
|
104
|
-
return
|
|
105
|
-
|
|
106
|
-
t(
|
|
106
|
+
const f = u("el-input"), p = u("el-form-item"), i = u("el-col"), $ = u("jmash-select"), F = u("el-button"), A = u("el-row"), P = u("el-form"), Q = u("jmash-column-select"), B = u("jmash-table"), I = u("jmash-pagination"), L = u("el-card"), E = G("hasPerm");
|
|
107
|
+
return b(), h("div", le, [
|
|
108
|
+
y("div", te, [
|
|
109
|
+
t(P, {
|
|
107
110
|
ref_key: "queryFormRef",
|
|
108
|
-
ref:
|
|
111
|
+
ref: R,
|
|
109
112
|
model: r.value,
|
|
110
113
|
inline: !0
|
|
111
114
|
}, {
|
|
112
115
|
default: a(() => [
|
|
113
|
-
t(
|
|
116
|
+
t(A, null, {
|
|
114
117
|
default: a(() => [
|
|
115
118
|
t(i, { span: 6 }, {
|
|
116
119
|
default: a(() => [
|
|
@@ -119,7 +122,7 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
119
122
|
prop: "likeContractName"
|
|
120
123
|
}, {
|
|
121
124
|
default: a(() => [
|
|
122
|
-
t(
|
|
125
|
+
t(f, {
|
|
123
126
|
modelValue: r.value.likeContractName,
|
|
124
127
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => r.value.likeContractName = l),
|
|
125
128
|
placeholder: o.$t("itsmFlowAcceptance.contractNameRequired"),
|
|
@@ -139,7 +142,7 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
139
142
|
prop: "likeContractNo"
|
|
140
143
|
}, {
|
|
141
144
|
default: a(() => [
|
|
142
|
-
t(
|
|
145
|
+
t(f, {
|
|
143
146
|
modelValue: r.value.likeContractNo,
|
|
144
147
|
"onUpdate:modelValue": e[2] || (e[2] = (l) => r.value.likeContractNo = l),
|
|
145
148
|
placeholder: o.$t("itsmFlowAcceptance.contractNoRequired"),
|
|
@@ -159,7 +162,7 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
159
162
|
prop: "acceptanceNo"
|
|
160
163
|
}, {
|
|
161
164
|
default: a(() => [
|
|
162
|
-
t(
|
|
165
|
+
t(f, {
|
|
163
166
|
modelValue: r.value.acceptanceNo,
|
|
164
167
|
"onUpdate:modelValue": e[4] || (e[4] = (l) => r.value.acceptanceNo = l),
|
|
165
168
|
placeholder: o.$t("itsmFlowAcceptance.acceptanceNoRequired"),
|
|
@@ -179,7 +182,7 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
179
182
|
prop: "likeUserName"
|
|
180
183
|
}, {
|
|
181
184
|
default: a(() => [
|
|
182
|
-
t(
|
|
185
|
+
t(f, {
|
|
183
186
|
modelValue: r.value.likeUserName,
|
|
184
187
|
"onUpdate:modelValue": e[6] || (e[6] = (l) => r.value.likeUserName = l),
|
|
185
188
|
placeholder: o.$t("itsmFlowAcceptance.userNameRequired"),
|
|
@@ -199,13 +202,16 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
199
202
|
prop: "likeServiceOrg"
|
|
200
203
|
}, {
|
|
201
204
|
default: a(() => [
|
|
202
|
-
t(
|
|
205
|
+
t($, {
|
|
203
206
|
modelValue: r.value.likeServiceOrg,
|
|
204
207
|
"onUpdate:modelValue": e[8] || (e[8] = (l) => r.value.likeServiceOrg = l),
|
|
205
208
|
placeholder: o.$t("itsmFlowAcceptance.serviceOrgRequired"),
|
|
209
|
+
data: n(C).values,
|
|
210
|
+
clearable: "",
|
|
211
|
+
filterable: "",
|
|
206
212
|
onKeyup: e[9] || (e[9] = c((l) => n(s).handleQuery(), ["enter"])),
|
|
207
213
|
class: "!w-[203px]"
|
|
208
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
214
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
209
215
|
]),
|
|
210
216
|
_: 1
|
|
211
217
|
}, 8, ["label"])
|
|
@@ -219,11 +225,11 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
219
225
|
prop: "applyStatus"
|
|
220
226
|
}, {
|
|
221
227
|
default: a(() => [
|
|
222
|
-
t(
|
|
228
|
+
t($, {
|
|
223
229
|
modelValue: r.value.applyStatus,
|
|
224
230
|
"onUpdate:modelValue": e[10] || (e[10] = (l) => r.value.applyStatus = l),
|
|
225
231
|
placeholder: o.$t("itsmFlowAcceptance.applyStatusRequired"),
|
|
226
|
-
data: n(
|
|
232
|
+
data: n(g).applyStatusEnum.values,
|
|
227
233
|
onKeyup: e[11] || (e[11] = c((l) => n(s).handleQuery(), ["enter"]))
|
|
228
234
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
229
235
|
]),
|
|
@@ -236,7 +242,7 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
236
242
|
default: a(() => [
|
|
237
243
|
t(p, { class: "search-btn" }, {
|
|
238
244
|
default: a(() => [
|
|
239
|
-
t(
|
|
245
|
+
t(F, {
|
|
240
246
|
type: "primary",
|
|
241
247
|
onClick: e[12] || (e[12] = (l) => n(s).handleQuery())
|
|
242
248
|
}, {
|
|
@@ -245,7 +251,7 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
245
251
|
]),
|
|
246
252
|
_: 1
|
|
247
253
|
}),
|
|
248
|
-
t(
|
|
254
|
+
t(F, {
|
|
249
255
|
onClick: e[13] || (e[13] = (l) => n(s).resetQuery())
|
|
250
256
|
}, {
|
|
251
257
|
default: a(() => [
|
|
@@ -266,12 +272,12 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
266
272
|
_: 1
|
|
267
273
|
}, 8, ["model"])
|
|
268
274
|
]),
|
|
269
|
-
t(
|
|
275
|
+
t(L, {
|
|
270
276
|
shadow: "never",
|
|
271
277
|
class: "table-container"
|
|
272
278
|
}, {
|
|
273
279
|
header: a(() => [
|
|
274
|
-
t(
|
|
280
|
+
t(A, null, {
|
|
275
281
|
default: a(() => [
|
|
276
282
|
t(i, { span: 17 }),
|
|
277
283
|
t(i, {
|
|
@@ -279,9 +285,9 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
279
285
|
class: "container-float"
|
|
280
286
|
}, {
|
|
281
287
|
default: a(() => [
|
|
282
|
-
t(
|
|
288
|
+
t(Q, {
|
|
283
289
|
modelValue: n(v),
|
|
284
|
-
"onUpdate:modelValue": e[14] || (e[14] = (l) =>
|
|
290
|
+
"onUpdate:modelValue": e[14] || (e[14] = (l) => D(v) ? v.value = l : v = l),
|
|
285
291
|
"label-name": "itsm-flow-acceptance"
|
|
286
292
|
}, null, 8, ["modelValue"])
|
|
287
293
|
]),
|
|
@@ -292,45 +298,45 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
292
298
|
})
|
|
293
299
|
]),
|
|
294
300
|
footer: a(() => [
|
|
295
|
-
n(
|
|
301
|
+
n(w) > 0 ? (b(), S(I, {
|
|
296
302
|
key: 0,
|
|
297
|
-
total: n(
|
|
298
|
-
"onUpdate:total": e[15] || (e[15] = (l) =>
|
|
303
|
+
total: n(w),
|
|
304
|
+
"onUpdate:total": e[15] || (e[15] = (l) => D(w) ? w.value = l : null),
|
|
299
305
|
"current-page": r.value.curPage,
|
|
300
306
|
"onUpdate:currentPage": e[16] || (e[16] = (l) => r.value.curPage = l),
|
|
301
307
|
"page-size": r.value.pageSize,
|
|
302
308
|
"onUpdate:pageSize": e[17] || (e[17] = (l) => r.value.pageSize = l),
|
|
303
309
|
onPagination: e[18] || (e[18] = (l) => n(s).getList())
|
|
304
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
310
|
+
}, null, 8, ["total", "current-page", "page-size"])) : U("", !0)
|
|
305
311
|
]),
|
|
306
312
|
default: a(() => [
|
|
307
|
-
t(
|
|
313
|
+
t(B, {
|
|
308
314
|
ref_key: "multipleTableRef",
|
|
309
|
-
ref:
|
|
315
|
+
ref: O,
|
|
310
316
|
"row-key": "acceptanceId",
|
|
311
|
-
"list-loading": n(
|
|
312
|
-
data: n(
|
|
317
|
+
"list-loading": n(T),
|
|
318
|
+
data: n(j),
|
|
313
319
|
"table-label": n(v),
|
|
314
|
-
onSelectionChange:
|
|
320
|
+
onSelectionChange: z,
|
|
315
321
|
onSortChange: K
|
|
316
322
|
}, {
|
|
317
323
|
entrustName: a((l) => [
|
|
318
|
-
|
|
324
|
+
y("span", null, d(n(g).projectNameDict.getDictValue(l.data.row.entrustName)), 1)
|
|
319
325
|
]),
|
|
320
326
|
serviceOrg: a((l) => [
|
|
321
|
-
|
|
327
|
+
y("span", null, d(n(g).orgIdBizDict.getValue(l.data.row.serviceOrg)), 1)
|
|
322
328
|
]),
|
|
323
329
|
result: a((l) => [
|
|
324
|
-
|
|
330
|
+
y("span", null, d(n(g).isValuesDict.getValue(l.data.row.result)), 1)
|
|
325
331
|
]),
|
|
326
332
|
operation: a((l) => [
|
|
327
|
-
|
|
333
|
+
J((b(), h("span", {
|
|
328
334
|
class: "el-button-color",
|
|
329
|
-
onClick: (
|
|
335
|
+
onClick: (ne) => q(l.data.row)
|
|
330
336
|
}, [
|
|
331
337
|
k(d(o.$t("common.view")), 1)
|
|
332
|
-
], 8,
|
|
333
|
-
[
|
|
338
|
+
], 8, ae)), [
|
|
339
|
+
[E, ["itsmflow:itsm_flow_acceptance:view"]]
|
|
334
340
|
])
|
|
335
341
|
]),
|
|
336
342
|
_: 1
|
|
@@ -338,18 +344,18 @@ const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["
|
|
|
338
344
|
]),
|
|
339
345
|
_: 1
|
|
340
346
|
}),
|
|
341
|
-
m.value.visible ? (
|
|
347
|
+
m.value.visible ? (b(), S(ee, {
|
|
342
348
|
key: 0,
|
|
343
349
|
modelValue: m.value.visible,
|
|
344
350
|
"onUpdate:modelValue": e[19] || (e[19] = (l) => m.value.visible = l),
|
|
345
351
|
title: m.value.title,
|
|
346
|
-
"entity-key": n(
|
|
352
|
+
"entity-key": n(_),
|
|
347
353
|
width: "900px"
|
|
348
|
-
}, null, 8, ["modelValue", "title", "entity-key"])) :
|
|
354
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : U("", !0)
|
|
349
355
|
]);
|
|
350
356
|
};
|
|
351
357
|
}
|
|
352
358
|
});
|
|
353
359
|
export {
|
|
354
|
-
|
|
360
|
+
me as default
|
|
355
361
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as W, ref as h, reactive as R, resolveComponent as i, resolveDirective as X, createElementBlock as $, openBlock as c, createElementVNode as w, createVNode as o, createBlock as F, createCommentVNode as S, withCtx as l, withKeys as _, unref as a, createTextVNode as b, toDisplayString as u, withDirectives as I, isRef as j } from "vue";
|
|
2
2
|
import { useTableHooks as Y } from "jmash-core";
|
|
3
3
|
import { useI18n as Z } from "vue-i18n";
|
|
4
|
-
import { C as x, a as ee, D as p } from "./index-
|
|
5
|
-
import { _ as te } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { C as x, a as ee, D as p } from "./index-Cgbv4Ijf.mjs";
|
|
5
|
+
import { _ as te } from "./edit.vue_vue_type_script_setup_true_lang-prup6BHU.mjs";
|
|
6
6
|
const le = { class: "app-container" }, oe = { class: "search-container" }, ne = ["onClick"], ae = ["onClick"], pe = /* @__PURE__ */ W({
|
|
7
7
|
__name: "index",
|
|
8
8
|
setup(re) {
|
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useTableHooks as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { a as
|
|
5
|
-
import { _ as
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as W, ref as C, reactive as G, resolveComponent as i, resolveDirective as J, createElementBlock as S, openBlock as y, createElementVNode as b, createVNode as t, createBlock as U, createCommentVNode as R, withCtx as o, withKeys as d, unref as n, createTextVNode as k, toDisplayString as p, withDirectives as M, isRef as h } from "vue";
|
|
2
|
+
import { useTableHooks as X } from "jmash-core";
|
|
3
|
+
import { useI18n as Y } from "vue-i18n";
|
|
4
|
+
import { a as Z, O as x, C as ee, D as v } from "./index-Cgbv4Ijf.mjs";
|
|
5
|
+
import { _ as le } from "./info.vue_vue_type_script_setup_true_lang-DMw-pPEW.mjs";
|
|
6
|
+
const te = { class: "app-container" }, oe = { class: "search-container" }, ae = ["onClick"], de = /* @__PURE__ */ W({
|
|
7
7
|
__name: "index",
|
|
8
|
-
setup(
|
|
9
|
-
const { t: N } =
|
|
8
|
+
setup(ne) {
|
|
9
|
+
const { t: N } = Y(), r = C({}), {
|
|
10
10
|
tableHooks: s,
|
|
11
|
-
multipleTableRef:
|
|
12
|
-
queryFormRef:
|
|
13
|
-
listLoading:
|
|
14
|
-
tableData:
|
|
11
|
+
multipleTableRef: D,
|
|
12
|
+
queryFormRef: _,
|
|
13
|
+
listLoading: q,
|
|
14
|
+
tableData: B,
|
|
15
15
|
total: g
|
|
16
|
-
} =
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
} = X(N, Z, r), $ = new x({
|
|
17
|
+
orgType: ee.orgType.outsource
|
|
18
|
+
});
|
|
19
|
+
$.useValues(), v.parentIdBizDict.useValues();
|
|
20
|
+
let f = C([
|
|
19
21
|
{
|
|
20
22
|
label: "itsmFlowEntrust.contractId",
|
|
21
23
|
prop: "contractName",
|
|
@@ -81,32 +83,32 @@ const x = { class: "app-container" }, ee = { class: "search-container" }, le = [
|
|
|
81
83
|
isColumn: !0
|
|
82
84
|
}
|
|
83
85
|
]);
|
|
84
|
-
const
|
|
86
|
+
const c = C({
|
|
85
87
|
title: N("common.view"),
|
|
86
88
|
visible: !1
|
|
87
89
|
});
|
|
88
|
-
let
|
|
90
|
+
let E = G({});
|
|
89
91
|
function K(a) {
|
|
90
|
-
|
|
92
|
+
E = { ...a }, c.value.title = N("common.view"), c.value.visible = !0;
|
|
91
93
|
}
|
|
92
94
|
function Q(a) {
|
|
93
95
|
s.selectionRows.value = a;
|
|
94
96
|
}
|
|
95
|
-
function
|
|
97
|
+
function T(a) {
|
|
96
98
|
s.handleSort(a.prop, a.order);
|
|
97
99
|
}
|
|
98
100
|
return s.getList(), (a, e) => {
|
|
99
|
-
const
|
|
100
|
-
return y(),
|
|
101
|
-
b("div",
|
|
102
|
-
t(
|
|
101
|
+
const w = i("el-input"), m = i("el-form-item"), u = i("el-col"), V = i("jmash-select"), F = i("el-button"), I = i("el-row"), j = i("el-form"), z = i("jmash-column-select"), P = i("jmash-table"), A = i("jmash-pagination"), L = i("el-card"), H = J("hasPerm");
|
|
102
|
+
return y(), S("div", te, [
|
|
103
|
+
b("div", oe, [
|
|
104
|
+
t(j, {
|
|
103
105
|
ref_key: "queryFormRef",
|
|
104
|
-
ref:
|
|
106
|
+
ref: _,
|
|
105
107
|
model: r.value,
|
|
106
108
|
inline: !0
|
|
107
109
|
}, {
|
|
108
110
|
default: o(() => [
|
|
109
|
-
t(
|
|
111
|
+
t(I, null, {
|
|
110
112
|
default: o(() => [
|
|
111
113
|
t(u, { span: 6 }, {
|
|
112
114
|
default: o(() => [
|
|
@@ -115,7 +117,7 @@ const x = { class: "app-container" }, ee = { class: "search-container" }, le = [
|
|
|
115
117
|
prop: "likeContractName"
|
|
116
118
|
}, {
|
|
117
119
|
default: o(() => [
|
|
118
|
-
t(
|
|
120
|
+
t(w, {
|
|
119
121
|
modelValue: r.value.likeContractName,
|
|
120
122
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => r.value.likeContractName = l),
|
|
121
123
|
placeholder: a.$t("itsmFlowEntrust.contractNameRequired"),
|
|
@@ -135,7 +137,7 @@ const x = { class: "app-container" }, ee = { class: "search-container" }, le = [
|
|
|
135
137
|
prop: "likeContractNo"
|
|
136
138
|
}, {
|
|
137
139
|
default: o(() => [
|
|
138
|
-
t(
|
|
140
|
+
t(w, {
|
|
139
141
|
modelValue: r.value.likeContractNo,
|
|
140
142
|
"onUpdate:modelValue": e[2] || (e[2] = (l) => r.value.likeContractNo = l),
|
|
141
143
|
placeholder: a.$t("itsmFlowEntrust.contractNoRequired"),
|
|
@@ -155,11 +157,11 @@ const x = { class: "app-container" }, ee = { class: "search-container" }, le = [
|
|
|
155
157
|
prop: "serviceContent"
|
|
156
158
|
}, {
|
|
157
159
|
default: o(() => [
|
|
158
|
-
t(
|
|
160
|
+
t(V, {
|
|
159
161
|
modelValue: r.value.serviceContent,
|
|
160
162
|
"onUpdate:modelValue": e[4] || (e[4] = (l) => r.value.serviceContent = l),
|
|
161
163
|
placeholder: a.$t("itsmFlowEntrust.serviceContentRequired"),
|
|
162
|
-
data: n(
|
|
164
|
+
data: n(v).serviceContentEnum.values,
|
|
163
165
|
clearable: "",
|
|
164
166
|
filterable: "",
|
|
165
167
|
onKeyup: e[5] || (e[5] = d((l) => n(s).handleQuery(), ["enter"])),
|
|
@@ -178,7 +180,7 @@ const x = { class: "app-container" }, ee = { class: "search-container" }, le = [
|
|
|
178
180
|
prop: "orderNo"
|
|
179
181
|
}, {
|
|
180
182
|
default: o(() => [
|
|
181
|
-
t(
|
|
183
|
+
t(w, {
|
|
182
184
|
modelValue: r.value.orderNo,
|
|
183
185
|
"onUpdate:modelValue": e[6] || (e[6] = (l) => r.value.orderNo = l),
|
|
184
186
|
placeholder: a.$t("itsmFlowEntrust.orderNoRequireds"),
|
|
@@ -198,7 +200,7 @@ const x = { class: "app-container" }, ee = { class: "search-container" }, le = [
|
|
|
198
200
|
prop: "likeUserName"
|
|
199
201
|
}, {
|
|
200
202
|
default: o(() => [
|
|
201
|
-
t(
|
|
203
|
+
t(w, {
|
|
202
204
|
modelValue: r.value.likeUserName,
|
|
203
205
|
"onUpdate:modelValue": e[8] || (e[8] = (l) => r.value.likeUserName = l),
|
|
204
206
|
placeholder: a.$t("itsmFlowAcceptance.userNameRequired"),
|
|
@@ -218,13 +220,16 @@ const x = { class: "app-container" }, ee = { class: "search-container" }, le = [
|
|
|
218
220
|
prop: "likeServiceOrg"
|
|
219
221
|
}, {
|
|
220
222
|
default: o(() => [
|
|
221
|
-
t(
|
|
223
|
+
t(V, {
|
|
222
224
|
modelValue: r.value.likeServiceOrg,
|
|
223
225
|
"onUpdate:modelValue": e[10] || (e[10] = (l) => r.value.likeServiceOrg = l),
|
|
224
226
|
placeholder: a.$t("itsmFlowAcceptance.serviceOrgRequired"),
|
|
227
|
+
data: n($).values,
|
|
228
|
+
clearable: "",
|
|
229
|
+
filterable: "",
|
|
225
230
|
onKeyup: e[11] || (e[11] = d((l) => n(s).handleQuery(), ["enter"])),
|
|
226
231
|
class: "!w-[203px]"
|
|
227
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
232
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
228
233
|
]),
|
|
229
234
|
_: 1
|
|
230
235
|
}, 8, ["label"])
|
|
@@ -238,7 +243,7 @@ const x = { class: "app-container" }, ee = { class: "search-container" }, le = [
|
|
|
238
243
|
prop: "likeBelongOrgName"
|
|
239
244
|
}, {
|
|
240
245
|
default: o(() => [
|
|
241
|
-
t(
|
|
246
|
+
t(w, {
|
|
242
247
|
modelValue: r.value.likeBelongOrgName,
|
|
243
248
|
"onUpdate:modelValue": e[12] || (e[12] = (l) => r.value.likeBelongOrgName = l),
|
|
244
249
|
placeholder: a.$t("itsmFlowEntrust.belongOrgRequireds"),
|
|
@@ -258,7 +263,7 @@ const x = { class: "app-container" }, ee = { class: "search-container" }, le = [
|
|
|
258
263
|
prop: "likeEntrustItsmName"
|
|
259
264
|
}, {
|
|
260
265
|
default: o(() => [
|
|
261
|
-
t(
|
|
266
|
+
t(w, {
|
|
262
267
|
modelValue: r.value.likeEntrustItsmName,
|
|
263
268
|
"onUpdate:modelValue": e[14] || (e[14] = (l) => r.value.likeEntrustItsmName = l),
|
|
264
269
|
placeholder: a.$t("itsmFlowEntrust.entrustItsmIdRequireds"),
|
|
@@ -278,11 +283,11 @@ const x = { class: "app-container" }, ee = { class: "search-container" }, le = [
|
|
|
278
283
|
prop: "applyStatus"
|
|
279
284
|
}, {
|
|
280
285
|
default: o(() => [
|
|
281
|
-
t(
|
|
286
|
+
t(V, {
|
|
282
287
|
modelValue: r.value.applyStatus,
|
|
283
288
|
"onUpdate:modelValue": e[16] || (e[16] = (l) => r.value.applyStatus = l),
|
|
284
289
|
placeholder: a.$t("itsmFlowAcceptance.applyStatusRequired"),
|
|
285
|
-
data: n(
|
|
290
|
+
data: n(v).applyStatusEnum.values,
|
|
286
291
|
onKeyup: e[17] || (e[17] = d((l) => n(s).handleQuery(), ["enter"]))
|
|
287
292
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
288
293
|
]),
|
|
@@ -295,20 +300,20 @@ const x = { class: "app-container" }, ee = { class: "search-container" }, le = [
|
|
|
295
300
|
default: o(() => [
|
|
296
301
|
t(m, { class: "search-btn" }, {
|
|
297
302
|
default: o(() => [
|
|
298
|
-
t(
|
|
303
|
+
t(F, {
|
|
299
304
|
type: "primary",
|
|
300
305
|
onClick: e[18] || (e[18] = (l) => n(s).handleQuery())
|
|
301
306
|
}, {
|
|
302
307
|
default: o(() => [
|
|
303
|
-
|
|
308
|
+
k(p(a.$t("common.search")), 1)
|
|
304
309
|
]),
|
|
305
310
|
_: 1
|
|
306
311
|
}),
|
|
307
|
-
t(
|
|
312
|
+
t(F, {
|
|
308
313
|
onClick: e[19] || (e[19] = (l) => n(s).resetQuery())
|
|
309
314
|
}, {
|
|
310
315
|
default: o(() => [
|
|
311
|
-
|
|
316
|
+
k(p(a.$t("common.reset")), 1)
|
|
312
317
|
]),
|
|
313
318
|
_: 1
|
|
314
319
|
})
|
|
@@ -325,12 +330,12 @@ const x = { class: "app-container" }, ee = { class: "search-container" }, le = [
|
|
|
325
330
|
_: 1
|
|
326
331
|
}, 8, ["model"])
|
|
327
332
|
]),
|
|
328
|
-
t(
|
|
333
|
+
t(L, {
|
|
329
334
|
shadow: "never",
|
|
330
335
|
class: "table-container"
|
|
331
336
|
}, {
|
|
332
337
|
header: o(() => [
|
|
333
|
-
t(
|
|
338
|
+
t(I, null, {
|
|
334
339
|
default: o(() => [
|
|
335
340
|
t(u, { span: 17 }),
|
|
336
341
|
t(u, {
|
|
@@ -340,7 +345,7 @@ const x = { class: "app-container" }, ee = { class: "search-container" }, le = [
|
|
|
340
345
|
default: o(() => [
|
|
341
346
|
t(z, {
|
|
342
347
|
modelValue: n(f),
|
|
343
|
-
"onUpdate:modelValue": e[20] || (e[20] = (l) =>
|
|
348
|
+
"onUpdate:modelValue": e[20] || (e[20] = (l) => h(f) ? f.value = l : f = l),
|
|
344
349
|
"label-name": "itsm-flow-entrust"
|
|
345
350
|
}, null, 8, ["modelValue"])
|
|
346
351
|
]),
|
|
@@ -351,50 +356,50 @@ const x = { class: "app-container" }, ee = { class: "search-container" }, le = [
|
|
|
351
356
|
})
|
|
352
357
|
]),
|
|
353
358
|
footer: o(() => [
|
|
354
|
-
n(g) > 0 ? (y(),
|
|
359
|
+
n(g) > 0 ? (y(), U(A, {
|
|
355
360
|
key: 0,
|
|
356
361
|
total: n(g),
|
|
357
|
-
"onUpdate:total": e[21] || (e[21] = (l) =>
|
|
362
|
+
"onUpdate:total": e[21] || (e[21] = (l) => h(g) ? g.value = l : null),
|
|
358
363
|
"current-page": r.value.curPage,
|
|
359
364
|
"onUpdate:currentPage": e[22] || (e[22] = (l) => r.value.curPage = l),
|
|
360
365
|
"page-size": r.value.pageSize,
|
|
361
366
|
"onUpdate:pageSize": e[23] || (e[23] = (l) => r.value.pageSize = l),
|
|
362
367
|
onPagination: e[24] || (e[24] = (l) => n(s).getList())
|
|
363
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
368
|
+
}, null, 8, ["total", "current-page", "page-size"])) : R("", !0)
|
|
364
369
|
]),
|
|
365
370
|
default: o(() => [
|
|
366
|
-
t(
|
|
371
|
+
t(P, {
|
|
367
372
|
ref_key: "multipleTableRef",
|
|
368
|
-
ref:
|
|
373
|
+
ref: D,
|
|
369
374
|
"row-key": "entrustId",
|
|
370
|
-
"list-loading": n(
|
|
371
|
-
data: n(
|
|
375
|
+
"list-loading": n(q),
|
|
376
|
+
data: n(B),
|
|
372
377
|
"table-label": n(f),
|
|
373
378
|
onSelectionChange: Q,
|
|
374
|
-
onSortChange:
|
|
379
|
+
onSortChange: T
|
|
375
380
|
}, {
|
|
376
381
|
entrustName: o((l) => [
|
|
377
|
-
b("span", null,
|
|
382
|
+
b("span", null, p(n(v).projectNameDict.getDictValue(l.data.row.entrustName)), 1)
|
|
378
383
|
]),
|
|
379
384
|
belongOrgId: o((l) => [
|
|
380
|
-
b("span", null,
|
|
385
|
+
b("span", null, p(l.data.row.belongOrgId.split(",").map((O) => n(v).parentIdBizDict.getValue(O)).join(",")), 1)
|
|
381
386
|
]),
|
|
382
387
|
serviceContent: o((l) => [
|
|
383
|
-
b("span", null,
|
|
388
|
+
b("span", null, p(n(v).serviceContentEnum.getEnumValue(
|
|
384
389
|
l.data.row.serviceContent
|
|
385
390
|
)), 1)
|
|
386
391
|
]),
|
|
387
392
|
serviceOrg: o((l) => [
|
|
388
|
-
b("span", null,
|
|
393
|
+
b("span", null, p(n(v).orgIdBizDict.getValue(l.data.row.serviceOrg)), 1)
|
|
389
394
|
]),
|
|
390
395
|
operation: o((l) => [
|
|
391
|
-
|
|
396
|
+
M((y(), S("span", {
|
|
392
397
|
class: "el-button-color",
|
|
393
|
-
onClick: (
|
|
398
|
+
onClick: (O) => K(l.data.row)
|
|
394
399
|
}, [
|
|
395
|
-
|
|
396
|
-
], 8,
|
|
397
|
-
[
|
|
400
|
+
k(p(a.$t("common.view")), 1)
|
|
401
|
+
], 8, ae)), [
|
|
402
|
+
[H, ["itsmflow:itsm_flow_entrust:view"]]
|
|
398
403
|
])
|
|
399
404
|
]),
|
|
400
405
|
_: 1
|
|
@@ -402,18 +407,18 @@ const x = { class: "app-container" }, ee = { class: "search-container" }, le = [
|
|
|
402
407
|
]),
|
|
403
408
|
_: 1
|
|
404
409
|
}),
|
|
405
|
-
|
|
410
|
+
c.value.visible ? (y(), U(le, {
|
|
406
411
|
key: 0,
|
|
407
|
-
modelValue:
|
|
408
|
-
"onUpdate:modelValue": e[25] || (e[25] = (l) =>
|
|
409
|
-
title:
|
|
410
|
-
"entity-key": n(
|
|
412
|
+
modelValue: c.value.visible,
|
|
413
|
+
"onUpdate:modelValue": e[25] || (e[25] = (l) => c.value.visible = l),
|
|
414
|
+
title: c.value.title,
|
|
415
|
+
"entity-key": n(E),
|
|
411
416
|
width: "900px"
|
|
412
|
-
}, null, 8, ["modelValue", "title", "entity-key"])) :
|
|
417
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : R("", !0)
|
|
413
418
|
]);
|
|
414
419
|
};
|
|
415
420
|
}
|
|
416
421
|
});
|
|
417
422
|
export {
|
|
418
|
-
|
|
423
|
+
de as default
|
|
419
424
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as le, mergeModels as oe, ref as f, useModel as ne, resolveComponent as p, createElementBlock as k, openBlock as _, Fragment as j, createVNode as e, withCtx as t, createElementVNode as n, createTextVNode as r, toDisplayString as s, unref as b, createCommentVNode as g, withDirectives as L, vShow as q, createBlock as z, renderList as ae } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { u as se } from "./index-PafaMNgK.mjs";
|
|
4
|
-
import { D as y, a as h, C as $, b as ue } from "./index-
|
|
4
|
+
import { D as y, a as h, C as $, b as ue } from "./index-Cgbv4Ijf.mjs";
|
|
5
5
|
import "jmash-core";
|
|
6
6
|
import { useI18n as re } from "vue-i18n";
|
|
7
7
|
import { F as ie } from "./FileSaver.min-5d27MsC6.mjs";
|