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.
- 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-C54FcKfo.mjs +424 -0
- package/dist/{index-DY017z-s.mjs → index-C7_kMdm5.mjs} +2 -2
- package/dist/index-C7nUkCbR.mjs +361 -0
- package/dist/{index-B7xhs2Eg.mjs → index-CITy8Hqm.mjs} +1 -1
- package/dist/{index-DVDOqO_3.mjs → index-Cgbv4Ijf.mjs} +16 -13
- package/dist/{index-B7M3zSyM.mjs → index-CxyHtsq2.mjs} +2 -2
- package/dist/{index-C0CZrR-1.mjs → index-DaSMRndr.mjs} +2 -2
- package/dist/{index-BcD1DAF_.mjs → index-DcpiD-9M.mjs} +102 -77
- 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 +193 -187
- 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/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/constant.d.ts +1 -0
- package/dts/lang/itsm-flow/zh-cn.d.ts +6 -0
- package/package.json +2 -2
- package/dist/index-DTKFEGFs.mjs +0 -339
- package/dist/index-rnfNatQ1.mjs +0 -315
|
@@ -3,7 +3,7 @@ import { ElMessage as S } from "element-plus";
|
|
|
3
3
|
import { useI18n as pe } from "vue-i18n";
|
|
4
4
|
import { i as I, t as fe, a as be } from "./common-Cwl5jzlM.mjs";
|
|
5
5
|
import { p as ve } from "./index-PafaMNgK.mjs";
|
|
6
|
-
import { g as ge, C as Ne, D as $, h as ke, b as _e } from "./index-
|
|
6
|
+
import { g as ge, C as Ne, D as $, h as ke, b as _e } from "./index-Cgbv4Ijf.mjs";
|
|
7
7
|
const he = { class: "title" }, $e = /* @__PURE__ */ se({
|
|
8
8
|
__name: "edit",
|
|
9
9
|
props: /* @__PURE__ */ z({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as ve, mergeModels as L, ref as f, useModel as be, reactive as T, resolveComponent as u, createBlock as H, openBlock as y, withCtx as o, createVNode as t, createElementVNode as r, unref as d, createElementBlock as R, Fragment as G, renderList as J, createTextVNode as b, toDisplayString as F } from "vue";
|
|
2
2
|
import { ElMessage as N } from "element-plus";
|
|
3
3
|
import { useI18n as we } from "vue-i18n";
|
|
4
|
-
import { I as ge, C as j, U as he, D as A, i as V } from "./index-
|
|
4
|
+
import { I as ge, C as j, U as he, D as A, i as V } from "./index-Cgbv4Ijf.mjs";
|
|
5
5
|
import { u as ye } from "./index-PafaMNgK.mjs";
|
|
6
6
|
import { useUserStore as Fe } from "jmash-core";
|
|
7
7
|
const Ne = { class: "title" }, qe = /* @__PURE__ */ ve({
|
|
@@ -2,7 +2,7 @@ import { defineComponent as Ee, mergeModels as Q, ref as f, useModel as _e, reac
|
|
|
2
2
|
import { ElMessage as O } from "element-plus";
|
|
3
3
|
import { useI18n as Fe } from "vue-i18n";
|
|
4
4
|
import { p as Ue } from "./index-PafaMNgK.mjs";
|
|
5
|
-
import { c as Ne, C as g, d as Ce, e as $e, D as V, a as A, b as ke, f as x } from "./index-
|
|
5
|
+
import { c as Ne, C as g, d as Ce, e as $e, D as V, a as A, b as ke, f as x } from "./index-Cgbv4Ijf.mjs";
|
|
6
6
|
import "xyvcard-itsm";
|
|
7
7
|
const Oe = { class: "title" }, Ae = /* @__PURE__ */ Ee({
|
|
8
8
|
__name: "edit",
|
|
@@ -3,9 +3,8 @@ import "element-plus";
|
|
|
3
3
|
import { useI18n as ce } from "vue-i18n";
|
|
4
4
|
import { p as me } from "./index-PafaMNgK.mjs";
|
|
5
5
|
import { i as O, t as pe, a as fe } from "./common-Cwl5jzlM.mjs";
|
|
6
|
-
import { g as be, C as M, D as I, h as z, b as ve } from "./index-
|
|
7
|
-
|
|
8
|
-
const Re = /* @__PURE__ */ ne({
|
|
6
|
+
import { g as be, C as M, D as I, h as z, b as ve } from "./index-Cgbv4Ijf.mjs";
|
|
7
|
+
const Ie = /* @__PURE__ */ ne({
|
|
9
8
|
__name: "index",
|
|
10
9
|
props: /* @__PURE__ */ se({
|
|
11
10
|
task: {
|
|
@@ -130,10 +129,7 @@ const Re = /* @__PURE__ */ ne({
|
|
|
130
129
|
...n,
|
|
131
130
|
entrustUser: R.value
|
|
132
131
|
}).then((m) => {
|
|
133
|
-
m.status === 200 ? l(!0) : (
|
|
134
|
-
message: "保存失败,请联系管理员!",
|
|
135
|
-
type: "error"
|
|
136
|
-
}), e(!1));
|
|
132
|
+
m.status === 200 ? l(!0) : e(!1);
|
|
137
133
|
})) : e(!1);
|
|
138
134
|
});
|
|
139
135
|
});
|
|
@@ -525,5 +521,5 @@ const Re = /* @__PURE__ */ ne({
|
|
|
525
521
|
}
|
|
526
522
|
});
|
|
527
523
|
export {
|
|
528
|
-
|
|
524
|
+
Ie as default
|
|
529
525
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as Z, mergeModels as ee, ref as m, useModel as le, resolveComponent as d, createElementBlock as A, openBlock as k, Fragment as O, createVNode as e, withCtx as l, createElementVNode as s, createTextVNode as u, toDisplayString as r, unref as b, createBlock as $, createCommentVNode as V, renderList as te } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { u as ae } from "./index-PafaMNgK.mjs";
|
|
4
|
-
import { D as F, i as I, C as y, a as oe } from "./index-
|
|
4
|
+
import { D as F, i as I, C as y, a as oe } from "./index-Cgbv4Ijf.mjs";
|
|
5
5
|
import { fileApi as ne } from "jmash-core";
|
|
6
6
|
import { useI18n as se } from "vue-i18n";
|
|
7
7
|
import { F as ue } from "./FileSaver.min-5d27MsC6.mjs";
|
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
import { defineComponent as W, ref as C, reactive as G, resolveComponent as i, resolveDirective as J, createElementBlock as U, openBlock as y, createElementVNode as b, createVNode as t, createBlock as S, createCommentVNode as R, withCtx as o, withKeys as d, unref as n, createTextVNode as $, 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
|
+
__name: "index",
|
|
8
|
+
setup(ne) {
|
|
9
|
+
const { t: N } = Y(), r = C({}), {
|
|
10
|
+
tableHooks: s,
|
|
11
|
+
multipleTableRef: D,
|
|
12
|
+
queryFormRef: _,
|
|
13
|
+
listLoading: q,
|
|
14
|
+
tableData: B,
|
|
15
|
+
total: g
|
|
16
|
+
} = X(N, Z, r), k = new x({
|
|
17
|
+
orgType: ee.orgType.outsource
|
|
18
|
+
});
|
|
19
|
+
k.useValues(), v.parentIdBizDict.useValues();
|
|
20
|
+
let f = C([
|
|
21
|
+
{
|
|
22
|
+
label: "itsmFlowEntrust.contractId",
|
|
23
|
+
prop: "contractName",
|
|
24
|
+
width: "150",
|
|
25
|
+
isColumn: !0
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
label: "itsmFlowEntrust.contractNo",
|
|
29
|
+
prop: "contractNo",
|
|
30
|
+
width: "120",
|
|
31
|
+
isColumn: !0
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
label: "itsmFlowEntrust.entrustName",
|
|
35
|
+
prop: "entrustName",
|
|
36
|
+
isColumn: !0,
|
|
37
|
+
slotName: "entrustName",
|
|
38
|
+
columnType: "slot",
|
|
39
|
+
minWidth: "150"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
label: "itsmFlowEntrust.entrustItsmId",
|
|
43
|
+
prop: "entrustItsmName",
|
|
44
|
+
width: "150",
|
|
45
|
+
isColumn: !0
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
label: "itsmFlowEntrust.belongOrg",
|
|
49
|
+
prop: "belongOrgId",
|
|
50
|
+
width: "150",
|
|
51
|
+
isColumn: !0,
|
|
52
|
+
slotName: "belongOrgId",
|
|
53
|
+
columnType: "slot"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
label: "itsmFlowEntrust.serviceContent",
|
|
57
|
+
prop: "serviceContent",
|
|
58
|
+
width: "85",
|
|
59
|
+
isColumn: !0,
|
|
60
|
+
slotName: "serviceContent",
|
|
61
|
+
columnType: "slot"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
label: "itsmFlowEntrust.serviceOrg",
|
|
65
|
+
prop: "serviceOrg",
|
|
66
|
+
width: "150",
|
|
67
|
+
isColumn: !0,
|
|
68
|
+
slotName: "serviceOrg",
|
|
69
|
+
columnType: "slot"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
label: "itsmFlowEntrust.orderNo",
|
|
73
|
+
prop: "orderNo",
|
|
74
|
+
width: "150",
|
|
75
|
+
isColumn: !0
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
label: "common.operate",
|
|
79
|
+
width: "80",
|
|
80
|
+
slotName: "operation",
|
|
81
|
+
columnType: "slot",
|
|
82
|
+
fixed: "right",
|
|
83
|
+
isColumn: !0
|
|
84
|
+
}
|
|
85
|
+
]);
|
|
86
|
+
const c = C({
|
|
87
|
+
title: N("common.view"),
|
|
88
|
+
visible: !1
|
|
89
|
+
});
|
|
90
|
+
let E = G({});
|
|
91
|
+
function K(a) {
|
|
92
|
+
E = { ...a }, c.value.title = N("common.view"), c.value.visible = !0;
|
|
93
|
+
}
|
|
94
|
+
function Q(a) {
|
|
95
|
+
s.selectionRows.value = a;
|
|
96
|
+
}
|
|
97
|
+
function T(a) {
|
|
98
|
+
s.handleSort(a.prop, a.order);
|
|
99
|
+
}
|
|
100
|
+
return s.getList(), (a, e) => {
|
|
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(), U("div", te, [
|
|
103
|
+
b("div", oe, [
|
|
104
|
+
t(j, {
|
|
105
|
+
ref_key: "queryFormRef",
|
|
106
|
+
ref: _,
|
|
107
|
+
model: r.value,
|
|
108
|
+
inline: !0
|
|
109
|
+
}, {
|
|
110
|
+
default: o(() => [
|
|
111
|
+
t(I, null, {
|
|
112
|
+
default: o(() => [
|
|
113
|
+
t(u, { span: 6 }, {
|
|
114
|
+
default: o(() => [
|
|
115
|
+
t(m, {
|
|
116
|
+
label: a.$t("itsmFlowEntrust.contractId"),
|
|
117
|
+
prop: "likeContractName"
|
|
118
|
+
}, {
|
|
119
|
+
default: o(() => [
|
|
120
|
+
t(w, {
|
|
121
|
+
modelValue: r.value.likeContractName,
|
|
122
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => r.value.likeContractName = l),
|
|
123
|
+
placeholder: a.$t("itsmFlowEntrust.contractNameRequired"),
|
|
124
|
+
onKeyup: e[1] || (e[1] = d((l) => n(s).handleQuery(), ["enter"])),
|
|
125
|
+
class: "!w-[203px]"
|
|
126
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
127
|
+
]),
|
|
128
|
+
_: 1
|
|
129
|
+
}, 8, ["label"])
|
|
130
|
+
]),
|
|
131
|
+
_: 1
|
|
132
|
+
}),
|
|
133
|
+
t(u, { span: 6 }, {
|
|
134
|
+
default: o(() => [
|
|
135
|
+
t(m, {
|
|
136
|
+
label: a.$t("itsmFlowEntrust.contractNo"),
|
|
137
|
+
prop: "likeContractNo"
|
|
138
|
+
}, {
|
|
139
|
+
default: o(() => [
|
|
140
|
+
t(w, {
|
|
141
|
+
modelValue: r.value.likeContractNo,
|
|
142
|
+
"onUpdate:modelValue": e[2] || (e[2] = (l) => r.value.likeContractNo = l),
|
|
143
|
+
placeholder: a.$t("itsmFlowEntrust.contractNoRequired"),
|
|
144
|
+
onKeyup: e[3] || (e[3] = d((l) => n(s).handleQuery(), ["enter"])),
|
|
145
|
+
class: "!w-[203px]"
|
|
146
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
147
|
+
]),
|
|
148
|
+
_: 1
|
|
149
|
+
}, 8, ["label"])
|
|
150
|
+
]),
|
|
151
|
+
_: 1
|
|
152
|
+
}),
|
|
153
|
+
t(u, { span: 6 }, {
|
|
154
|
+
default: o(() => [
|
|
155
|
+
t(m, {
|
|
156
|
+
label: a.$t("itsmFlowEntrust.serviceContent"),
|
|
157
|
+
prop: "serviceContent"
|
|
158
|
+
}, {
|
|
159
|
+
default: o(() => [
|
|
160
|
+
t(V, {
|
|
161
|
+
modelValue: r.value.serviceContent,
|
|
162
|
+
"onUpdate:modelValue": e[4] || (e[4] = (l) => r.value.serviceContent = l),
|
|
163
|
+
placeholder: a.$t("itsmFlowEntrust.serviceContentRequired"),
|
|
164
|
+
data: n(v).serviceContentEnum.values,
|
|
165
|
+
clearable: "",
|
|
166
|
+
filterable: "",
|
|
167
|
+
onKeyup: e[5] || (e[5] = d((l) => n(s).handleQuery(), ["enter"])),
|
|
168
|
+
class: "!w-[203px]"
|
|
169
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
170
|
+
]),
|
|
171
|
+
_: 1
|
|
172
|
+
}, 8, ["label"])
|
|
173
|
+
]),
|
|
174
|
+
_: 1
|
|
175
|
+
}),
|
|
176
|
+
t(u, { span: 6 }, {
|
|
177
|
+
default: o(() => [
|
|
178
|
+
t(m, {
|
|
179
|
+
label: a.$t("itsmFlowEntrust.orderNo"),
|
|
180
|
+
prop: "orderNo"
|
|
181
|
+
}, {
|
|
182
|
+
default: o(() => [
|
|
183
|
+
t(w, {
|
|
184
|
+
modelValue: r.value.orderNo,
|
|
185
|
+
"onUpdate:modelValue": e[6] || (e[6] = (l) => r.value.orderNo = l),
|
|
186
|
+
placeholder: a.$t("itsmFlowEntrust.orderNoRequireds"),
|
|
187
|
+
onKeyup: e[7] || (e[7] = d((l) => n(s).handleQuery(), ["enter"])),
|
|
188
|
+
class: "!w-[203px]"
|
|
189
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
190
|
+
]),
|
|
191
|
+
_: 1
|
|
192
|
+
}, 8, ["label"])
|
|
193
|
+
]),
|
|
194
|
+
_: 1
|
|
195
|
+
}),
|
|
196
|
+
t(u, { span: 6 }, {
|
|
197
|
+
default: o(() => [
|
|
198
|
+
t(m, {
|
|
199
|
+
label: a.$t("itsmFlowAcceptance.userName"),
|
|
200
|
+
prop: "likeUserName"
|
|
201
|
+
}, {
|
|
202
|
+
default: o(() => [
|
|
203
|
+
t(w, {
|
|
204
|
+
modelValue: r.value.likeUserName,
|
|
205
|
+
"onUpdate:modelValue": e[8] || (e[8] = (l) => r.value.likeUserName = l),
|
|
206
|
+
placeholder: a.$t("itsmFlowAcceptance.userNameRequired"),
|
|
207
|
+
onKeyup: e[9] || (e[9] = d((l) => n(s).handleQuery(), ["enter"])),
|
|
208
|
+
class: "!w-[203px]"
|
|
209
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
210
|
+
]),
|
|
211
|
+
_: 1
|
|
212
|
+
}, 8, ["label"])
|
|
213
|
+
]),
|
|
214
|
+
_: 1
|
|
215
|
+
}),
|
|
216
|
+
t(u, { span: 6 }, {
|
|
217
|
+
default: o(() => [
|
|
218
|
+
t(m, {
|
|
219
|
+
label: a.$t("itsmFlowAcceptance.serviceOrg"),
|
|
220
|
+
prop: "likeServiceOrg"
|
|
221
|
+
}, {
|
|
222
|
+
default: o(() => [
|
|
223
|
+
t(V, {
|
|
224
|
+
modelValue: r.value.serviceOrg,
|
|
225
|
+
"onUpdate:modelValue": e[10] || (e[10] = (l) => r.value.serviceOrg = l),
|
|
226
|
+
placeholder: a.$t("itsmFlowAcceptance.serviceOrgRequired"),
|
|
227
|
+
data: n(k).values,
|
|
228
|
+
clearable: "",
|
|
229
|
+
filterable: "",
|
|
230
|
+
onKeyup: e[11] || (e[11] = d((l) => n(s).handleQuery(), ["enter"])),
|
|
231
|
+
class: "!w-[203px]"
|
|
232
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
233
|
+
]),
|
|
234
|
+
_: 1
|
|
235
|
+
}, 8, ["label"])
|
|
236
|
+
]),
|
|
237
|
+
_: 1
|
|
238
|
+
}),
|
|
239
|
+
t(u, { span: 6 }, {
|
|
240
|
+
default: o(() => [
|
|
241
|
+
t(m, {
|
|
242
|
+
label: a.$t("itsmFlowEntrust.belongOrg"),
|
|
243
|
+
prop: "likeBelongOrgName"
|
|
244
|
+
}, {
|
|
245
|
+
default: o(() => [
|
|
246
|
+
t(w, {
|
|
247
|
+
modelValue: r.value.likeBelongOrgName,
|
|
248
|
+
"onUpdate:modelValue": e[12] || (e[12] = (l) => r.value.likeBelongOrgName = l),
|
|
249
|
+
placeholder: a.$t("itsmFlowEntrust.belongOrgRequireds"),
|
|
250
|
+
onKeyup: e[13] || (e[13] = d((l) => n(s).handleQuery(), ["enter"])),
|
|
251
|
+
class: "!w-[203px]"
|
|
252
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
253
|
+
]),
|
|
254
|
+
_: 1
|
|
255
|
+
}, 8, ["label"])
|
|
256
|
+
]),
|
|
257
|
+
_: 1
|
|
258
|
+
}),
|
|
259
|
+
t(u, { span: 6 }, {
|
|
260
|
+
default: o(() => [
|
|
261
|
+
t(m, {
|
|
262
|
+
label: a.$t("itsmFlowEntrust.entrustItsmId"),
|
|
263
|
+
prop: "likeEntrustItsmName"
|
|
264
|
+
}, {
|
|
265
|
+
default: o(() => [
|
|
266
|
+
t(w, {
|
|
267
|
+
modelValue: r.value.likeEntrustItsmName,
|
|
268
|
+
"onUpdate:modelValue": e[14] || (e[14] = (l) => r.value.likeEntrustItsmName = l),
|
|
269
|
+
placeholder: a.$t("itsmFlowEntrust.entrustItsmIdRequireds"),
|
|
270
|
+
onKeyup: e[15] || (e[15] = d((l) => n(s).handleQuery(), ["enter"])),
|
|
271
|
+
class: "!w-[203px]"
|
|
272
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
273
|
+
]),
|
|
274
|
+
_: 1
|
|
275
|
+
}, 8, ["label"])
|
|
276
|
+
]),
|
|
277
|
+
_: 1
|
|
278
|
+
}),
|
|
279
|
+
t(u, { span: 6 }, {
|
|
280
|
+
default: o(() => [
|
|
281
|
+
t(m, {
|
|
282
|
+
label: a.$t("itsmFlowAcceptance.applyStatus"),
|
|
283
|
+
prop: "applyStatus"
|
|
284
|
+
}, {
|
|
285
|
+
default: o(() => [
|
|
286
|
+
t(V, {
|
|
287
|
+
modelValue: r.value.applyStatus,
|
|
288
|
+
"onUpdate:modelValue": e[16] || (e[16] = (l) => r.value.applyStatus = l),
|
|
289
|
+
placeholder: a.$t("itsmFlowAcceptance.applyStatusRequired"),
|
|
290
|
+
data: n(v).applyStatusEnum.values,
|
|
291
|
+
onKeyup: e[17] || (e[17] = d((l) => n(s).handleQuery(), ["enter"]))
|
|
292
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
293
|
+
]),
|
|
294
|
+
_: 1
|
|
295
|
+
}, 8, ["label"])
|
|
296
|
+
]),
|
|
297
|
+
_: 1
|
|
298
|
+
}),
|
|
299
|
+
t(u, { span: 18 }, {
|
|
300
|
+
default: o(() => [
|
|
301
|
+
t(m, { class: "search-btn" }, {
|
|
302
|
+
default: o(() => [
|
|
303
|
+
t(F, {
|
|
304
|
+
type: "primary",
|
|
305
|
+
onClick: e[18] || (e[18] = (l) => n(s).handleQuery())
|
|
306
|
+
}, {
|
|
307
|
+
default: o(() => [
|
|
308
|
+
$(p(a.$t("common.search")), 1)
|
|
309
|
+
]),
|
|
310
|
+
_: 1
|
|
311
|
+
}),
|
|
312
|
+
t(F, {
|
|
313
|
+
onClick: e[19] || (e[19] = (l) => n(s).resetQuery())
|
|
314
|
+
}, {
|
|
315
|
+
default: o(() => [
|
|
316
|
+
$(p(a.$t("common.reset")), 1)
|
|
317
|
+
]),
|
|
318
|
+
_: 1
|
|
319
|
+
})
|
|
320
|
+
]),
|
|
321
|
+
_: 1
|
|
322
|
+
})
|
|
323
|
+
]),
|
|
324
|
+
_: 1
|
|
325
|
+
})
|
|
326
|
+
]),
|
|
327
|
+
_: 1
|
|
328
|
+
})
|
|
329
|
+
]),
|
|
330
|
+
_: 1
|
|
331
|
+
}, 8, ["model"])
|
|
332
|
+
]),
|
|
333
|
+
t(L, {
|
|
334
|
+
shadow: "never",
|
|
335
|
+
class: "table-container"
|
|
336
|
+
}, {
|
|
337
|
+
header: o(() => [
|
|
338
|
+
t(I, null, {
|
|
339
|
+
default: o(() => [
|
|
340
|
+
t(u, { span: 17 }),
|
|
341
|
+
t(u, {
|
|
342
|
+
span: 7,
|
|
343
|
+
class: "container-float"
|
|
344
|
+
}, {
|
|
345
|
+
default: o(() => [
|
|
346
|
+
t(z, {
|
|
347
|
+
modelValue: n(f),
|
|
348
|
+
"onUpdate:modelValue": e[20] || (e[20] = (l) => h(f) ? f.value = l : f = l),
|
|
349
|
+
"label-name": "itsm-flow-entrust"
|
|
350
|
+
}, null, 8, ["modelValue"])
|
|
351
|
+
]),
|
|
352
|
+
_: 1
|
|
353
|
+
})
|
|
354
|
+
]),
|
|
355
|
+
_: 1
|
|
356
|
+
})
|
|
357
|
+
]),
|
|
358
|
+
footer: o(() => [
|
|
359
|
+
n(g) > 0 ? (y(), S(A, {
|
|
360
|
+
key: 0,
|
|
361
|
+
total: n(g),
|
|
362
|
+
"onUpdate:total": e[21] || (e[21] = (l) => h(g) ? g.value = l : null),
|
|
363
|
+
"current-page": r.value.curPage,
|
|
364
|
+
"onUpdate:currentPage": e[22] || (e[22] = (l) => r.value.curPage = l),
|
|
365
|
+
"page-size": r.value.pageSize,
|
|
366
|
+
"onUpdate:pageSize": e[23] || (e[23] = (l) => r.value.pageSize = l),
|
|
367
|
+
onPagination: e[24] || (e[24] = (l) => n(s).getList())
|
|
368
|
+
}, null, 8, ["total", "current-page", "page-size"])) : R("", !0)
|
|
369
|
+
]),
|
|
370
|
+
default: o(() => [
|
|
371
|
+
t(P, {
|
|
372
|
+
ref_key: "multipleTableRef",
|
|
373
|
+
ref: D,
|
|
374
|
+
"row-key": "entrustId",
|
|
375
|
+
"list-loading": n(q),
|
|
376
|
+
data: n(B),
|
|
377
|
+
"table-label": n(f),
|
|
378
|
+
onSelectionChange: Q,
|
|
379
|
+
onSortChange: T
|
|
380
|
+
}, {
|
|
381
|
+
entrustName: o((l) => [
|
|
382
|
+
b("span", null, p(n(v).projectNameDict.getDictValue(l.data.row.entrustName)), 1)
|
|
383
|
+
]),
|
|
384
|
+
belongOrgId: o((l) => [
|
|
385
|
+
b("span", null, p(l.data.row.belongOrgId.split(",").map((O) => n(v).parentIdBizDict.getValue(O)).join(",")), 1)
|
|
386
|
+
]),
|
|
387
|
+
serviceContent: o((l) => [
|
|
388
|
+
b("span", null, p(n(v).serviceContentEnum.getEnumValue(
|
|
389
|
+
l.data.row.serviceContent
|
|
390
|
+
)), 1)
|
|
391
|
+
]),
|
|
392
|
+
serviceOrg: o((l) => [
|
|
393
|
+
b("span", null, p(n(v).orgIdBizDict.getValue(l.data.row.serviceOrg)), 1)
|
|
394
|
+
]),
|
|
395
|
+
operation: o((l) => [
|
|
396
|
+
M((y(), U("span", {
|
|
397
|
+
class: "el-button-color",
|
|
398
|
+
onClick: (O) => K(l.data.row)
|
|
399
|
+
}, [
|
|
400
|
+
$(p(a.$t("common.view")), 1)
|
|
401
|
+
], 8, ae)), [
|
|
402
|
+
[H, ["itsmflow:itsm_flow_entrust:view"]]
|
|
403
|
+
])
|
|
404
|
+
]),
|
|
405
|
+
_: 1
|
|
406
|
+
}, 8, ["list-loading", "data", "table-label"])
|
|
407
|
+
]),
|
|
408
|
+
_: 1
|
|
409
|
+
}),
|
|
410
|
+
c.value.visible ? (y(), S(le, {
|
|
411
|
+
key: 0,
|
|
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),
|
|
416
|
+
width: "900px"
|
|
417
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : R("", !0)
|
|
418
|
+
]);
|
|
419
|
+
};
|
|
420
|
+
}
|
|
421
|
+
});
|
|
422
|
+
export {
|
|
423
|
+
de as default
|
|
424
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as M, ref as k, reactive as R, resolveComponent as s, resolveDirective as W, createElementBlock as V, openBlock as p, createElementVNode as _, createVNode as o, createBlock as A, createCommentVNode as S, withCtx as l, withKeys as F, unref as n, createTextVNode as f, toDisplayString as u, withDirectives as $, isRef as T } from "vue";
|
|
2
2
|
import { useTableHooks as X } from "jmash-core";
|
|
3
3
|
import { useI18n as Y } from "vue-i18n";
|
|
4
|
-
import { D as N, C as Z, i as x } from "./index-
|
|
5
|
-
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { D as N, C as Z, i as x } from "./index-Cgbv4Ijf.mjs";
|
|
5
|
+
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-m73-ejk7.mjs";
|
|
6
6
|
const te = { class: "app-container" }, le = { class: "search-container" }, oe = ["onClick"], ae = ["onClick"], me = /* @__PURE__ */ M({
|
|
7
7
|
__name: "index",
|
|
8
8
|
setup(ne) {
|