xyvcard-itsm-flow 0.0.14 → 0.0.16
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-C5EkvsBj.mjs → edit-BKYkA5db.mjs} +1 -1
- package/dist/{edit-CF3xSSyv.mjs → edit-BeFLJLv1.mjs} +1 -1
- package/dist/{edit-Rj9Uz_7E.mjs → edit-BrIptvPg.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CXXUyaL0.mjs → edit.vue_vue_type_script_setup_true_lang-BhTKkYft.mjs} +9 -8
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D1aLFtH6.mjs → edit.vue_vue_type_script_setup_true_lang-BiWjf5y2.mjs} +29 -28
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CMBByn6f.mjs → edit.vue_vue_type_script_setup_true_lang-CjjtZ0-a.mjs} +8 -7
- package/dist/{el-message-DweX1k3E.mjs → el-message-DawVzOVQ.mjs} +25 -25
- package/dist/{index-DkosMJpy.mjs → index-B7M3zSyM.mjs} +2 -2
- package/dist/{index-_KUj3xRY.mjs → index-B7xhs2Eg.mjs} +5 -4
- package/dist/{index-BvRC1w8b.mjs → index-B9enSHLF.mjs} +36 -35
- package/dist/index-BcD1DAF_.mjs +339 -0
- package/dist/{index-tRvxeQdk.mjs → index-C0CZrR-1.mjs} +2 -2
- package/dist/{index-DukVUjy5.mjs → index-CZw5m3rz.mjs} +17 -16
- package/dist/{index-VuC-5Jb_.mjs → index-Clc9EA6r.mjs} +5 -4
- package/dist/index-DTKFEGFs.mjs +339 -0
- package/dist/index-DVDOqO_3.mjs +491 -0
- package/dist/{index-D8N9GIjm.mjs → index-DY017z-s.mjs} +2 -2
- package/dist/{index-CWrGwJD5.mjs → index-IG9HKXxJ.mjs} +9 -8
- package/dist/index-PafaMNgK.mjs +110 -0
- package/dist/{index-ciUtLvg7.mjs → index-d_oBTW1A.mjs} +9 -8
- package/dist/index-rnfNatQ1.mjs +315 -0
- package/dist/index.mjs +232 -228
- package/dist/info-CFSSXb0f.mjs +4 -0
- package/dist/info-D6GMiIlG.mjs +4 -0
- package/dist/info-DxYNokk4.mjs +4 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-BFT23MNt.mjs +373 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-CSn1JLZG.mjs +363 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-CYmFW8We.mjs +393 -0
- package/dts/api/index.d.ts +1 -0
- package/dts/api/itsm-flow-acceptance/types.d.ts +1 -0
- package/dts/constant.d.ts +1 -0
- package/dts/lang/itsm-flow/zh-cn.d.ts +4 -0
- package/dts/views/itsm-flow-acceptance-info/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow-acceptance-info/info.vue.d.ts +26 -0
- package/dts/views/itsm-flow-entrust-info/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow-entrust-info/info.vue.d.ts +26 -0
- package/dts/views/itsm-flow-reckoning-info/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow-reckoning-info/info.vue.d.ts +26 -0
- package/package.json +2 -2
- package/dist/index-CMpeLVvR.mjs +0 -593
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { defineComponent as ge, mergeModels as Ie, ref as f, useModel as he, reactive as H, resolveComponent as d, createElementBlock as k, openBlock as w, Fragment as $, createVNode as l, withCtx as o, createElementVNode as u, unref as r, renderList as K, createBlock as q, toDisplayString as W, createCommentVNode as we, createTextVNode as O } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as Ee } from "vue-i18n";
|
|
4
|
-
import {
|
|
5
|
-
import { E as
|
|
6
|
-
|
|
4
|
+
import { p as Ve } from "./index-PafaMNgK.mjs";
|
|
5
|
+
import { c as _e, C as v, d as Ne, e as Fe, D as E, a as J, f as R, b as Ue } from "./index-DVDOqO_3.mjs";
|
|
6
|
+
import { E as G } from "./el-message-DawVzOVQ.mjs";
|
|
7
|
+
const Re = /* @__PURE__ */ ge({
|
|
7
8
|
__name: "index",
|
|
8
9
|
props: /* @__PURE__ */ Ie({
|
|
9
10
|
task: {
|
|
@@ -17,17 +18,17 @@ const Oe = /* @__PURE__ */ ge({
|
|
|
17
18
|
}),
|
|
18
19
|
emits: ["update:modelValue"],
|
|
19
20
|
setup(D, { expose: Q }) {
|
|
20
|
-
const { t: I } = Ee(), B = f([]), z = f([]), M = f([]), V = f([]), p = f({}), _ = f([]), U = new
|
|
21
|
+
const { t: I } = Ee(), B = f([]), z = f([]), M = f([]), V = f([]), p = f({}), _ = f([]), U = new _e({
|
|
21
22
|
contractSort: v.contractSort.manpower,
|
|
22
23
|
contractType: v.contractType.outsource
|
|
23
24
|
});
|
|
24
25
|
U.useValues();
|
|
25
|
-
const y = new
|
|
26
|
+
const y = new Ne({
|
|
26
27
|
contractSort: v.contractSort.manpower,
|
|
27
28
|
contractType: v.contractType.outsource
|
|
28
29
|
});
|
|
29
30
|
y.useValues();
|
|
30
|
-
const N = new
|
|
31
|
+
const N = new Fe({});
|
|
31
32
|
N.useValues(), E.parentIdBizDict.useValues(), E.orgIdBizDict.useValues();
|
|
32
33
|
const S = D, T = f({
|
|
33
34
|
curPage: 1,
|
|
@@ -563,7 +564,7 @@ const Oe = /* @__PURE__ */ ge({
|
|
|
563
564
|
_: 1
|
|
564
565
|
}, 8, ["data"]),
|
|
565
566
|
l(ve, {
|
|
566
|
-
icon: r(
|
|
567
|
+
icon: r(Ve),
|
|
567
568
|
class: "addButton",
|
|
568
569
|
onClick: X
|
|
569
570
|
}, {
|
|
@@ -629,5 +630,5 @@ const Oe = /* @__PURE__ */ ge({
|
|
|
629
630
|
}
|
|
630
631
|
});
|
|
631
632
|
export {
|
|
632
|
-
|
|
633
|
+
Re as default
|
|
633
634
|
};
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
import { defineComponent as E, ref as _, reactive as H, resolveComponent as s, resolveDirective as W, createElementBlock as F, openBlock as w, createElementVNode as b, createVNode as l, createBlock as A, createCommentVNode as $, withCtx as a, withKeys as y, unref as n, createTextVNode as V, toDisplayString as c, withDirectives as G, isRef as S } from "vue";
|
|
2
|
+
import { useTableHooks as J } from "jmash-core";
|
|
3
|
+
import { useI18n as M } from "vue-i18n";
|
|
4
|
+
import { D as v, i as X } from "./index-DVDOqO_3.mjs";
|
|
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"], ie = /* @__PURE__ */ E({
|
|
7
|
+
__name: "index",
|
|
8
|
+
setup(te) {
|
|
9
|
+
v.orgIdBizDict.useValues();
|
|
10
|
+
const { t: N } = M(), r = _({}), {
|
|
11
|
+
tableHooks: i,
|
|
12
|
+
multipleTableRef: D,
|
|
13
|
+
queryFormRef: R,
|
|
14
|
+
listLoading: j,
|
|
15
|
+
tableData: U,
|
|
16
|
+
total: f
|
|
17
|
+
} = J(N, X, r);
|
|
18
|
+
let m = _([
|
|
19
|
+
{
|
|
20
|
+
label: "itsmFlowAcceptance.contractName",
|
|
21
|
+
prop: "contractName",
|
|
22
|
+
width: "150",
|
|
23
|
+
isColumn: !0
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
label: "itsmFlowAcceptance.contractNo",
|
|
27
|
+
prop: "contractNo",
|
|
28
|
+
width: "120",
|
|
29
|
+
isColumn: !0
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
label: "itsmFlowAcceptance.entrustName",
|
|
33
|
+
prop: "entrustName",
|
|
34
|
+
minWidth: "150",
|
|
35
|
+
isColumn: !0,
|
|
36
|
+
slotName: "entrustName",
|
|
37
|
+
columnType: "slot"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
label: "itsmFlowAcceptance.serviceOrg",
|
|
41
|
+
prop: "serviceOrg",
|
|
42
|
+
width: "150",
|
|
43
|
+
isColumn: !0,
|
|
44
|
+
slotName: "serviceOrg",
|
|
45
|
+
columnType: "slot"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
label: "itsmFlowAcceptance.stage",
|
|
49
|
+
prop: "stage",
|
|
50
|
+
width: "85",
|
|
51
|
+
isColumn: !0
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
label: "itsmFlowAcceptance.headman",
|
|
55
|
+
prop: "headmanName",
|
|
56
|
+
width: "100",
|
|
57
|
+
isColumn: !0
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
label: "itsmFlowAcceptance.members",
|
|
61
|
+
prop: "membersName",
|
|
62
|
+
width: "100",
|
|
63
|
+
isColumn: !0
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
label: "itsmFlowAcceptance.acceptanceNo",
|
|
67
|
+
prop: "acceptanceNo",
|
|
68
|
+
width: "150",
|
|
69
|
+
isColumn: !0
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
label: "itsmFlowAcceptance.result",
|
|
73
|
+
prop: "result",
|
|
74
|
+
width: "85",
|
|
75
|
+
isColumn: !0,
|
|
76
|
+
slotName: "result",
|
|
77
|
+
columnType: "slot"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
label: "common.operate",
|
|
81
|
+
width: "80",
|
|
82
|
+
slotName: "operation",
|
|
83
|
+
columnType: "slot",
|
|
84
|
+
fixed: "right",
|
|
85
|
+
isColumn: !0
|
|
86
|
+
}
|
|
87
|
+
]);
|
|
88
|
+
const p = _({
|
|
89
|
+
title: N("common.view"),
|
|
90
|
+
visible: !1
|
|
91
|
+
});
|
|
92
|
+
let C = H({});
|
|
93
|
+
function P(o) {
|
|
94
|
+
C = { ...o }, p.value.title = N("common.view"), p.value.visible = !0;
|
|
95
|
+
}
|
|
96
|
+
function T(o) {
|
|
97
|
+
i.selectionRows.value = o;
|
|
98
|
+
}
|
|
99
|
+
function q(o) {
|
|
100
|
+
i.handleSort(o.prop, o.order);
|
|
101
|
+
}
|
|
102
|
+
return i.getList(), (o, t) => {
|
|
103
|
+
const g = s("el-input"), d = s("el-form-item"), u = s("el-col"), z = s("jmash-select"), h = s("el-button"), k = s("el-row"), K = s("el-form"), Q = s("jmash-column-select"), B = s("jmash-table"), O = s("jmash-pagination"), I = s("el-card"), L = W("hasPerm");
|
|
104
|
+
return w(), F("div", Z, [
|
|
105
|
+
b("div", x, [
|
|
106
|
+
l(K, {
|
|
107
|
+
ref_key: "queryFormRef",
|
|
108
|
+
ref: R,
|
|
109
|
+
model: r.value,
|
|
110
|
+
inline: !0
|
|
111
|
+
}, {
|
|
112
|
+
default: a(() => [
|
|
113
|
+
l(k, null, {
|
|
114
|
+
default: a(() => [
|
|
115
|
+
l(u, { span: 6 }, {
|
|
116
|
+
default: a(() => [
|
|
117
|
+
l(d, {
|
|
118
|
+
label: o.$t("itsmFlowAcceptance.contractName"),
|
|
119
|
+
prop: "likeContractName"
|
|
120
|
+
}, {
|
|
121
|
+
default: a(() => [
|
|
122
|
+
l(g, {
|
|
123
|
+
modelValue: r.value.likeContractName,
|
|
124
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.likeContractName = e),
|
|
125
|
+
placeholder: o.$t("itsmFlowAcceptance.contractNameRequired"),
|
|
126
|
+
onKeyup: t[1] || (t[1] = y((e) => n(i).handleQuery(), ["enter"])),
|
|
127
|
+
class: "!w-[203px]"
|
|
128
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
129
|
+
]),
|
|
130
|
+
_: 1
|
|
131
|
+
}, 8, ["label"])
|
|
132
|
+
]),
|
|
133
|
+
_: 1
|
|
134
|
+
}),
|
|
135
|
+
l(u, { span: 6 }, {
|
|
136
|
+
default: a(() => [
|
|
137
|
+
l(d, {
|
|
138
|
+
label: o.$t("itsmFlowAcceptance.contractNo"),
|
|
139
|
+
prop: "likeContractNo"
|
|
140
|
+
}, {
|
|
141
|
+
default: a(() => [
|
|
142
|
+
l(g, {
|
|
143
|
+
modelValue: r.value.likeContractNo,
|
|
144
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.likeContractNo = e),
|
|
145
|
+
placeholder: o.$t("itsmFlowAcceptance.contractNoRequired"),
|
|
146
|
+
onKeyup: t[3] || (t[3] = y((e) => n(i).handleQuery(), ["enter"])),
|
|
147
|
+
class: "!w-[203px]"
|
|
148
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
149
|
+
]),
|
|
150
|
+
_: 1
|
|
151
|
+
}, 8, ["label"])
|
|
152
|
+
]),
|
|
153
|
+
_: 1
|
|
154
|
+
}),
|
|
155
|
+
l(u, { span: 6 }, {
|
|
156
|
+
default: a(() => [
|
|
157
|
+
l(d, {
|
|
158
|
+
label: o.$t("itsmFlowAcceptance.acceptanceNo"),
|
|
159
|
+
prop: "acceptanceNo"
|
|
160
|
+
}, {
|
|
161
|
+
default: a(() => [
|
|
162
|
+
l(g, {
|
|
163
|
+
modelValue: r.value.acceptanceNo,
|
|
164
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.acceptanceNo = e),
|
|
165
|
+
placeholder: o.$t("itsmFlowAcceptance.acceptanceNoRequired"),
|
|
166
|
+
onKeyup: t[5] || (t[5] = y((e) => n(i).handleQuery(), ["enter"])),
|
|
167
|
+
class: "!w-[203px]"
|
|
168
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
169
|
+
]),
|
|
170
|
+
_: 1
|
|
171
|
+
}, 8, ["label"])
|
|
172
|
+
]),
|
|
173
|
+
_: 1
|
|
174
|
+
}),
|
|
175
|
+
l(u, { span: 6 }, {
|
|
176
|
+
default: a(() => [
|
|
177
|
+
l(d, {
|
|
178
|
+
label: o.$t("itsmFlowAcceptance.applyStatus"),
|
|
179
|
+
prop: "applyStatus"
|
|
180
|
+
}, {
|
|
181
|
+
default: a(() => [
|
|
182
|
+
l(z, {
|
|
183
|
+
modelValue: r.value.applyStatus,
|
|
184
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => r.value.applyStatus = e),
|
|
185
|
+
placeholder: o.$t("itsmFlowAcceptance.applyStatusRequired"),
|
|
186
|
+
data: n(v).applyStatusEnum.values,
|
|
187
|
+
onKeyup: t[7] || (t[7] = y((e) => n(i).handleQuery(), ["enter"]))
|
|
188
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
189
|
+
]),
|
|
190
|
+
_: 1
|
|
191
|
+
}, 8, ["label"])
|
|
192
|
+
]),
|
|
193
|
+
_: 1
|
|
194
|
+
}),
|
|
195
|
+
l(u, { span: 24 }, {
|
|
196
|
+
default: a(() => [
|
|
197
|
+
l(d, { class: "search-btn" }, {
|
|
198
|
+
default: a(() => [
|
|
199
|
+
l(h, {
|
|
200
|
+
type: "primary",
|
|
201
|
+
onClick: t[8] || (t[8] = (e) => n(i).handleQuery())
|
|
202
|
+
}, {
|
|
203
|
+
default: a(() => [
|
|
204
|
+
V(c(o.$t("common.search")), 1)
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
}),
|
|
208
|
+
l(h, {
|
|
209
|
+
onClick: t[9] || (t[9] = (e) => n(i).resetQuery())
|
|
210
|
+
}, {
|
|
211
|
+
default: a(() => [
|
|
212
|
+
V(c(o.$t("common.reset")), 1)
|
|
213
|
+
]),
|
|
214
|
+
_: 1
|
|
215
|
+
})
|
|
216
|
+
]),
|
|
217
|
+
_: 1
|
|
218
|
+
})
|
|
219
|
+
]),
|
|
220
|
+
_: 1
|
|
221
|
+
})
|
|
222
|
+
]),
|
|
223
|
+
_: 1
|
|
224
|
+
})
|
|
225
|
+
]),
|
|
226
|
+
_: 1
|
|
227
|
+
}, 8, ["model"])
|
|
228
|
+
]),
|
|
229
|
+
l(I, {
|
|
230
|
+
shadow: "never",
|
|
231
|
+
class: "table-container"
|
|
232
|
+
}, {
|
|
233
|
+
header: a(() => [
|
|
234
|
+
l(k, null, {
|
|
235
|
+
default: a(() => [
|
|
236
|
+
l(u, { span: 17 }),
|
|
237
|
+
l(u, {
|
|
238
|
+
span: 7,
|
|
239
|
+
class: "container-float"
|
|
240
|
+
}, {
|
|
241
|
+
default: a(() => [
|
|
242
|
+
l(Q, {
|
|
243
|
+
modelValue: n(m),
|
|
244
|
+
"onUpdate:modelValue": t[10] || (t[10] = (e) => S(m) ? m.value = e : m = e),
|
|
245
|
+
"label-name": "itsm-flow-acceptance"
|
|
246
|
+
}, null, 8, ["modelValue"])
|
|
247
|
+
]),
|
|
248
|
+
_: 1
|
|
249
|
+
})
|
|
250
|
+
]),
|
|
251
|
+
_: 1
|
|
252
|
+
})
|
|
253
|
+
]),
|
|
254
|
+
footer: a(() => [
|
|
255
|
+
n(f) > 0 ? (w(), A(O, {
|
|
256
|
+
key: 0,
|
|
257
|
+
total: n(f),
|
|
258
|
+
"onUpdate:total": t[11] || (t[11] = (e) => S(f) ? f.value = e : null),
|
|
259
|
+
"current-page": r.value.curPage,
|
|
260
|
+
"onUpdate:currentPage": t[12] || (t[12] = (e) => r.value.curPage = e),
|
|
261
|
+
"page-size": r.value.pageSize,
|
|
262
|
+
"onUpdate:pageSize": t[13] || (t[13] = (e) => r.value.pageSize = e),
|
|
263
|
+
onPagination: t[14] || (t[14] = (e) => n(i).getList())
|
|
264
|
+
}, null, 8, ["total", "current-page", "page-size"])) : $("", !0)
|
|
265
|
+
]),
|
|
266
|
+
default: a(() => [
|
|
267
|
+
l(B, {
|
|
268
|
+
ref_key: "multipleTableRef",
|
|
269
|
+
ref: D,
|
|
270
|
+
"row-key": "acceptanceId",
|
|
271
|
+
"list-loading": n(j),
|
|
272
|
+
data: n(U),
|
|
273
|
+
"table-label": n(m),
|
|
274
|
+
onSelectionChange: T,
|
|
275
|
+
onSortChange: q
|
|
276
|
+
}, {
|
|
277
|
+
entrustName: a((e) => [
|
|
278
|
+
b("span", null, c(n(v).projectNameDict.getDictValue(e.data.row.entrustName)), 1)
|
|
279
|
+
]),
|
|
280
|
+
serviceOrg: a((e) => [
|
|
281
|
+
b("span", null, c(n(v).orgIdBizDict.getValue(e.data.row.serviceOrg)), 1)
|
|
282
|
+
]),
|
|
283
|
+
result: a((e) => [
|
|
284
|
+
b("span", null, c(n(v).isValuesDict.getValue(e.data.row.result)), 1)
|
|
285
|
+
]),
|
|
286
|
+
operation: a((e) => [
|
|
287
|
+
G((w(), F("span", {
|
|
288
|
+
class: "el-button-color",
|
|
289
|
+
onClick: (le) => P(e.data.row)
|
|
290
|
+
}, [
|
|
291
|
+
V(c(o.$t("common.view")), 1)
|
|
292
|
+
], 8, ee)), [
|
|
293
|
+
[L, ["itsmflow:itsm_flow_acceptance:view"]]
|
|
294
|
+
])
|
|
295
|
+
]),
|
|
296
|
+
_: 1
|
|
297
|
+
}, 8, ["list-loading", "data", "table-label"])
|
|
298
|
+
]),
|
|
299
|
+
_: 1
|
|
300
|
+
}),
|
|
301
|
+
p.value.visible ? (w(), A(Y, {
|
|
302
|
+
key: 0,
|
|
303
|
+
modelValue: p.value.visible,
|
|
304
|
+
"onUpdate:modelValue": t[15] || (t[15] = (e) => p.value.visible = e),
|
|
305
|
+
title: p.value.title,
|
|
306
|
+
"entity-key": n(C),
|
|
307
|
+
width: "900px"
|
|
308
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : $("", !0)
|
|
309
|
+
]);
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
});
|
|
313
|
+
export {
|
|
314
|
+
ie as default
|
|
315
|
+
};
|