xyvcard-itsm-flow 0.0.15 → 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/{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-BuNBRcBE.mjs +419 -0
- package/dist/{index-tRvxeQdk.mjs → index-C0CZrR-1.mjs} +2 -2
- package/dist/index-C3OfA9Me.mjs +355 -0
- package/dist/index-CW4AhrRD.mjs +359 -0
- package/dist/{index-DukVUjy5.mjs → index-CZw5m3rz.mjs} +17 -16
- package/dist/{index-VuC-5Jb_.mjs → index-Clc9EA6r.mjs} +5 -4
- 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.mjs +261 -251
- 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 +3 -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 +10 -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 +1 -1
- package/dist/index-CMpeLVvR.mjs +0 -593
|
@@ -0,0 +1,359 @@
|
|
|
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
|
+
import { useTableHooks as J } from "jmash-core";
|
|
3
|
+
import { useI18n as M } from "vue-i18n";
|
|
4
|
+
import { i as X } from "./common-Cwl5jzlM.mjs";
|
|
5
|
+
import { D as w } from "./index-DVDOqO_3.mjs";
|
|
6
|
+
import { _ as Y } from "./info.vue_vue_type_script_setup_true_lang-BFT23MNt.mjs";
|
|
7
|
+
const Z = { class: "app-container" }, x = { class: "search-container" }, ee = ["onClick"], se = /* @__PURE__ */ E({
|
|
8
|
+
__name: "index",
|
|
9
|
+
setup(le) {
|
|
10
|
+
const { t: N } = M(), a = b({}), {
|
|
11
|
+
tableHooks: i,
|
|
12
|
+
multipleTableRef: U,
|
|
13
|
+
queryFormRef: D,
|
|
14
|
+
listLoading: q,
|
|
15
|
+
tableData: O,
|
|
16
|
+
total: f
|
|
17
|
+
} = J(N, X, a);
|
|
18
|
+
w.orgIdBizDict.useValues();
|
|
19
|
+
let v = b([
|
|
20
|
+
{
|
|
21
|
+
label: "itsmFlowReckoning.contractName",
|
|
22
|
+
prop: "contractName",
|
|
23
|
+
width: "150",
|
|
24
|
+
isColumn: !0
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
label: "itsmFlowReckoning.contractNo",
|
|
28
|
+
prop: "contractNo",
|
|
29
|
+
width: "150",
|
|
30
|
+
isColumn: !0
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
label: "itsmFlowReckoning.entrustName",
|
|
34
|
+
prop: "entrustName",
|
|
35
|
+
isColumn: !0,
|
|
36
|
+
minWidth: "150",
|
|
37
|
+
slotName: "entrustName",
|
|
38
|
+
columnType: "slot"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
label: "itsmFlowReckoning.serviceOrg",
|
|
42
|
+
prop: "serviceOrg",
|
|
43
|
+
width: "150",
|
|
44
|
+
isColumn: !0,
|
|
45
|
+
slotName: "serviceOrg",
|
|
46
|
+
columnType: "slot"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
label: "itsmFlowReckoning.acceptanceNo",
|
|
50
|
+
prop: "acceptanceNo",
|
|
51
|
+
width: "150",
|
|
52
|
+
isColumn: !0
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
label: "itsmFlowReckoning.orderNo",
|
|
56
|
+
prop: "orderNo",
|
|
57
|
+
width: "150",
|
|
58
|
+
isColumn: !0
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
label: "itsmFlowReckoning.reckoningNo",
|
|
62
|
+
prop: "reckoningNo",
|
|
63
|
+
width: "150",
|
|
64
|
+
isColumn: !0
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
label: "common.operate",
|
|
68
|
+
width: "80",
|
|
69
|
+
slotName: "operation",
|
|
70
|
+
columnType: "slot",
|
|
71
|
+
fixed: "right",
|
|
72
|
+
isColumn: !0
|
|
73
|
+
}
|
|
74
|
+
]);
|
|
75
|
+
const d = b({
|
|
76
|
+
title: N("common.view"),
|
|
77
|
+
visible: !1
|
|
78
|
+
});
|
|
79
|
+
let R = H({});
|
|
80
|
+
function j(n) {
|
|
81
|
+
R = { ...n }, d.value.title = N("common.view"), d.value.visible = !0;
|
|
82
|
+
}
|
|
83
|
+
function K(n) {
|
|
84
|
+
i.selectionRows.value = n;
|
|
85
|
+
}
|
|
86
|
+
function Q(n) {
|
|
87
|
+
i.handleSort(n.prop, n.order);
|
|
88
|
+
}
|
|
89
|
+
return i.getList(), (n, e) => {
|
|
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
|
+
y("div", x, [
|
|
93
|
+
o(z, {
|
|
94
|
+
ref_key: "queryFormRef",
|
|
95
|
+
ref: D,
|
|
96
|
+
model: a.value,
|
|
97
|
+
inline: !0
|
|
98
|
+
}, {
|
|
99
|
+
default: t(() => [
|
|
100
|
+
o(C, null, {
|
|
101
|
+
default: t(() => [
|
|
102
|
+
o(s, { span: 6 }, {
|
|
103
|
+
default: t(() => [
|
|
104
|
+
o(p, {
|
|
105
|
+
label: n.$t("itsmFlowReckoning.contractName"),
|
|
106
|
+
prop: "likeContractName"
|
|
107
|
+
}, {
|
|
108
|
+
default: t(() => [
|
|
109
|
+
o(c, {
|
|
110
|
+
modelValue: a.value.likeContractName,
|
|
111
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => a.value.likeContractName = l),
|
|
112
|
+
placeholder: n.$t("itsmFlowReckoning.contractNameRequired"),
|
|
113
|
+
onKeyup: e[1] || (e[1] = m((l) => r(i).handleQuery(), ["enter"])),
|
|
114
|
+
class: "!w-[203px]"
|
|
115
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
}, 8, ["label"])
|
|
119
|
+
]),
|
|
120
|
+
_: 1
|
|
121
|
+
}),
|
|
122
|
+
o(s, { span: 6 }, {
|
|
123
|
+
default: t(() => [
|
|
124
|
+
o(p, {
|
|
125
|
+
label: n.$t("itsmFlowReckoning.contractNo"),
|
|
126
|
+
prop: "likeContractNo"
|
|
127
|
+
}, {
|
|
128
|
+
default: t(() => [
|
|
129
|
+
o(c, {
|
|
130
|
+
modelValue: a.value.likeContractNo,
|
|
131
|
+
"onUpdate:modelValue": e[2] || (e[2] = (l) => a.value.likeContractNo = l),
|
|
132
|
+
placeholder: n.$t("itsmFlowReckoning.contractNoRequired"),
|
|
133
|
+
onKeyup: e[3] || (e[3] = m((l) => r(i).handleQuery(), ["enter"])),
|
|
134
|
+
class: "!w-[203px]"
|
|
135
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
136
|
+
]),
|
|
137
|
+
_: 1
|
|
138
|
+
}, 8, ["label"])
|
|
139
|
+
]),
|
|
140
|
+
_: 1
|
|
141
|
+
}),
|
|
142
|
+
o(s, { span: 6 }, {
|
|
143
|
+
default: t(() => [
|
|
144
|
+
o(p, {
|
|
145
|
+
label: n.$t("itsmFlowReckoning.acceptanceNo"),
|
|
146
|
+
prop: "acceptanceNo"
|
|
147
|
+
}, {
|
|
148
|
+
default: t(() => [
|
|
149
|
+
o(c, {
|
|
150
|
+
modelValue: a.value.acceptanceNo,
|
|
151
|
+
"onUpdate:modelValue": e[4] || (e[4] = (l) => a.value.acceptanceNo = l),
|
|
152
|
+
placeholder: n.$t("itsmFlowReckoning.acceptanceNoRequireds"),
|
|
153
|
+
onKeyup: e[5] || (e[5] = m((l) => r(i).handleQuery(), ["enter"])),
|
|
154
|
+
class: "!w-[203px]"
|
|
155
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
156
|
+
]),
|
|
157
|
+
_: 1
|
|
158
|
+
}, 8, ["label"])
|
|
159
|
+
]),
|
|
160
|
+
_: 1
|
|
161
|
+
}),
|
|
162
|
+
o(s, { span: 6 }, {
|
|
163
|
+
default: t(() => [
|
|
164
|
+
o(p, {
|
|
165
|
+
label: n.$t("itsmFlowReckoning.orderNo"),
|
|
166
|
+
prop: "orderNo"
|
|
167
|
+
}, {
|
|
168
|
+
default: t(() => [
|
|
169
|
+
o(c, {
|
|
170
|
+
modelValue: a.value.orderNo,
|
|
171
|
+
"onUpdate:modelValue": e[6] || (e[6] = (l) => a.value.orderNo = l),
|
|
172
|
+
placeholder: n.$t("itsmFlowReckoning.orderNoRequireds"),
|
|
173
|
+
onKeyup: e[7] || (e[7] = m((l) => r(i).handleQuery(), ["enter"])),
|
|
174
|
+
class: "!w-[203px]"
|
|
175
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
176
|
+
]),
|
|
177
|
+
_: 1
|
|
178
|
+
}, 8, ["label"])
|
|
179
|
+
]),
|
|
180
|
+
_: 1
|
|
181
|
+
}),
|
|
182
|
+
o(s, { span: 6 }, {
|
|
183
|
+
default: t(() => [
|
|
184
|
+
o(p, {
|
|
185
|
+
label: n.$t("itsmFlowReckoning.reckoningNo"),
|
|
186
|
+
prop: "reckoningNo"
|
|
187
|
+
}, {
|
|
188
|
+
default: t(() => [
|
|
189
|
+
o(c, {
|
|
190
|
+
modelValue: a.value.reckoningNo,
|
|
191
|
+
"onUpdate:modelValue": e[8] || (e[8] = (l) => a.value.reckoningNo = l),
|
|
192
|
+
placeholder: n.$t("itsmFlowReckoning.reckoningNoRequireds"),
|
|
193
|
+
onKeyup: e[9] || (e[9] = m((l) => r(i).handleQuery(), ["enter"])),
|
|
194
|
+
class: "!w-[203px]"
|
|
195
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
196
|
+
]),
|
|
197
|
+
_: 1
|
|
198
|
+
}, 8, ["label"])
|
|
199
|
+
]),
|
|
200
|
+
_: 1
|
|
201
|
+
}),
|
|
202
|
+
o(s, { span: 6 }, {
|
|
203
|
+
default: t(() => [
|
|
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, {
|
|
225
|
+
label: n.$t("itsmFlowAcceptance.applyStatus"),
|
|
226
|
+
prop: "applyStatus"
|
|
227
|
+
}, {
|
|
228
|
+
default: t(() => [
|
|
229
|
+
o(P, {
|
|
230
|
+
modelValue: a.value.applyStatus,
|
|
231
|
+
"onUpdate:modelValue": e[12] || (e[12] = (l) => a.value.applyStatus = l),
|
|
232
|
+
placeholder: n.$t("itsmFlowAcceptance.applyStatusRequired"),
|
|
233
|
+
data: r(w).applyStatusEnum.values,
|
|
234
|
+
onKeyup: e[13] || (e[13] = m((l) => r(i).handleQuery(), ["enter"]))
|
|
235
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
236
|
+
]),
|
|
237
|
+
_: 1
|
|
238
|
+
}, 8, ["label"])
|
|
239
|
+
]),
|
|
240
|
+
_: 1
|
|
241
|
+
}),
|
|
242
|
+
o(s, { span: 6 }, {
|
|
243
|
+
default: t(() => [
|
|
244
|
+
o(p, { class: "search-btn" }, {
|
|
245
|
+
default: t(() => [
|
|
246
|
+
o($, {
|
|
247
|
+
type: "primary",
|
|
248
|
+
onClick: e[14] || (e[14] = (l) => r(i).handleQuery())
|
|
249
|
+
}, {
|
|
250
|
+
default: t(() => [
|
|
251
|
+
V(g(n.$t("common.search")), 1)
|
|
252
|
+
]),
|
|
253
|
+
_: 1
|
|
254
|
+
}),
|
|
255
|
+
o($, {
|
|
256
|
+
onClick: e[15] || (e[15] = (l) => r(i).resetQuery())
|
|
257
|
+
}, {
|
|
258
|
+
default: t(() => [
|
|
259
|
+
V(g(n.$t("common.reset")), 1)
|
|
260
|
+
]),
|
|
261
|
+
_: 1
|
|
262
|
+
})
|
|
263
|
+
]),
|
|
264
|
+
_: 1
|
|
265
|
+
})
|
|
266
|
+
]),
|
|
267
|
+
_: 1
|
|
268
|
+
})
|
|
269
|
+
]),
|
|
270
|
+
_: 1
|
|
271
|
+
})
|
|
272
|
+
]),
|
|
273
|
+
_: 1
|
|
274
|
+
}, 8, ["model"])
|
|
275
|
+
]),
|
|
276
|
+
o(L, {
|
|
277
|
+
shadow: "never",
|
|
278
|
+
class: "table-container"
|
|
279
|
+
}, {
|
|
280
|
+
header: t(() => [
|
|
281
|
+
o(C, null, {
|
|
282
|
+
default: t(() => [
|
|
283
|
+
o(s, { span: 17 }),
|
|
284
|
+
o(s, {
|
|
285
|
+
span: 7,
|
|
286
|
+
class: "container-float"
|
|
287
|
+
}, {
|
|
288
|
+
default: t(() => [
|
|
289
|
+
o(T, {
|
|
290
|
+
modelValue: r(v),
|
|
291
|
+
"onUpdate:modelValue": e[16] || (e[16] = (l) => h(v) ? v.value = l : v = l),
|
|
292
|
+
"label-name": "itsm-flow-reckoning"
|
|
293
|
+
}, null, 8, ["modelValue"])
|
|
294
|
+
]),
|
|
295
|
+
_: 1
|
|
296
|
+
})
|
|
297
|
+
]),
|
|
298
|
+
_: 1
|
|
299
|
+
})
|
|
300
|
+
]),
|
|
301
|
+
footer: t(() => [
|
|
302
|
+
r(f) > 0 ? (k(), _(I, {
|
|
303
|
+
key: 0,
|
|
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)
|
|
312
|
+
]),
|
|
313
|
+
default: t(() => [
|
|
314
|
+
o(B, {
|
|
315
|
+
ref_key: "multipleTableRef",
|
|
316
|
+
ref: U,
|
|
317
|
+
"row-key": "reckoningId",
|
|
318
|
+
"list-loading": r(q),
|
|
319
|
+
data: r(O),
|
|
320
|
+
"table-label": r(v),
|
|
321
|
+
onSelectionChange: K,
|
|
322
|
+
onSortChange: Q
|
|
323
|
+
}, {
|
|
324
|
+
entrustName: t((l) => [
|
|
325
|
+
y("span", null, g(r(w).projectNameDict.getDictValue(l.data.row.entrustName)), 1)
|
|
326
|
+
]),
|
|
327
|
+
serviceOrg: t((l) => [
|
|
328
|
+
y("span", null, g(r(w).orgIdBizDict.getValue(l.data.row.serviceOrg)), 1)
|
|
329
|
+
]),
|
|
330
|
+
operation: t((l) => [
|
|
331
|
+
G((k(), F("span", {
|
|
332
|
+
class: "el-button-color",
|
|
333
|
+
onClick: (oe) => j(l.data.row)
|
|
334
|
+
}, [
|
|
335
|
+
V(g(n.$t("common.view")), 1)
|
|
336
|
+
], 8, ee)), [
|
|
337
|
+
[A, ["itsmflow:itsm_flow_reckoning:view"]]
|
|
338
|
+
])
|
|
339
|
+
]),
|
|
340
|
+
_: 1
|
|
341
|
+
}, 8, ["list-loading", "data", "table-label"])
|
|
342
|
+
]),
|
|
343
|
+
_: 1
|
|
344
|
+
}),
|
|
345
|
+
d.value.visible ? (k(), _(Y, {
|
|
346
|
+
key: 0,
|
|
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),
|
|
351
|
+
width: "900px"
|
|
352
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : S("", !0)
|
|
353
|
+
]);
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
});
|
|
357
|
+
export {
|
|
358
|
+
se as default
|
|
359
|
+
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { defineComponent as ne, mergeModels as se, ref as g, useModel as de, reactive as C, computed as re, resolveComponent as u, createElementBlock as E, openBlock as k, Fragment as D, createVNode as t, withCtx as a, createElementVNode as r, unref as d, renderList as ue, createBlock as B, createTextVNode as N, toDisplayString as F, createCommentVNode as ie } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as ce } from "vue-i18n";
|
|
4
|
-
import {
|
|
5
|
-
import { i as
|
|
6
|
-
import {
|
|
7
|
-
|
|
4
|
+
import { p as me } from "./index-PafaMNgK.mjs";
|
|
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-DVDOqO_3.mjs";
|
|
7
|
+
import { E as ge } from "./el-message-DawVzOVQ.mjs";
|
|
8
|
+
const Re = /* @__PURE__ */ ne({
|
|
8
9
|
__name: "index",
|
|
9
10
|
props: /* @__PURE__ */ se({
|
|
10
11
|
task: {
|
|
@@ -18,8 +19,8 @@ const Ue = /* @__PURE__ */ ne({
|
|
|
18
19
|
}),
|
|
19
20
|
emits: ["update:modelValue"],
|
|
20
21
|
setup(U, { expose: A }) {
|
|
21
|
-
const { t: _ } = ce(), R = g([]), h = new
|
|
22
|
-
applyStatus:
|
|
22
|
+
const { t: _ } = ce(), R = g([]), h = new be({
|
|
23
|
+
applyStatus: M.applyStatus.finished
|
|
23
24
|
});
|
|
24
25
|
h.useValues(), I.orgIdBizDict.useValues();
|
|
25
26
|
const w = U, V = g({
|
|
@@ -75,7 +76,7 @@ const Ue = /* @__PURE__ */ ne({
|
|
|
75
76
|
changeModel: () => Q()
|
|
76
77
|
});
|
|
77
78
|
function T() {
|
|
78
|
-
|
|
79
|
+
ve.findList({ actionId: V.value.reckoningId }).then(({ data: l }) => {
|
|
79
80
|
const e = l.results.map(
|
|
80
81
|
(s) => ({
|
|
81
82
|
...s,
|
|
@@ -86,8 +87,8 @@ const Ue = /* @__PURE__ */ ne({
|
|
|
86
87
|
});
|
|
87
88
|
}
|
|
88
89
|
function K() {
|
|
89
|
-
|
|
90
|
-
Object.assign(n, l), b.value = new
|
|
90
|
+
O.findById({ reckoningId: V.value.reckoningId }).then(({ data: l }) => {
|
|
91
|
+
Object.assign(n, l), b.value = new z({
|
|
91
92
|
actionId: (l == null ? void 0 : l.entrustId) ?? ""
|
|
92
93
|
}), b.value.useValues();
|
|
93
94
|
}), T();
|
|
@@ -102,7 +103,7 @@ const Ue = /* @__PURE__ */ ne({
|
|
|
102
103
|
const e = h.values.find(
|
|
103
104
|
(s) => s.key === l
|
|
104
105
|
);
|
|
105
|
-
n.contractName = (e == null ? void 0 : e.contractName) ?? "", n.contractNo = (e == null ? void 0 : e.contractNo) ?? "", n.serviceOrg = (e == null ? void 0 : e.serviceOrg) ?? "", n.entrustName = (e == null ? void 0 : e.entrustName) ?? "", n.orderNo = (e == null ? void 0 : e.orderNo) ?? "", n.serviceContent = (e == null ? void 0 : e.serviceContent) ?? "", n.entrustId = (e == null ? void 0 : e.entrustId) ?? "", n.acceptanceId = (e == null ? void 0 : e.acceptanceId) ?? "", W(), b.value = new
|
|
106
|
+
n.contractName = (e == null ? void 0 : e.contractName) ?? "", n.contractNo = (e == null ? void 0 : e.contractNo) ?? "", n.serviceOrg = (e == null ? void 0 : e.serviceOrg) ?? "", n.entrustName = (e == null ? void 0 : e.entrustName) ?? "", n.orderNo = (e == null ? void 0 : e.orderNo) ?? "", n.serviceContent = (e == null ? void 0 : e.serviceContent) ?? "", n.entrustId = (e == null ? void 0 : e.entrustId) ?? "", n.acceptanceId = (e == null ? void 0 : e.acceptanceId) ?? "", W(), b.value = new z({
|
|
106
107
|
actionId: (e == null ? void 0 : e.entrustId) ?? ""
|
|
107
108
|
}), b.value.useValues();
|
|
108
109
|
}
|
|
@@ -122,10 +123,10 @@ const Ue = /* @__PURE__ */ ne({
|
|
|
122
123
|
return f.value && (f.value.selectActions = [
|
|
123
124
|
{ key: "true", value: "同意" },
|
|
124
125
|
{ key: "false", value: "不同意" }
|
|
125
|
-
], f.value.varName = "approved", f.value.module = "", f.value.module =
|
|
126
|
+
], f.value.varName = "approved", f.value.module = "", f.value.module = M.MODULE_ITSMFLOW), new Promise((l, e) => {
|
|
126
127
|
var s;
|
|
127
128
|
(s = $.value) == null || s.validate((c) => {
|
|
128
|
-
c ? f.value && (f.value.comment = "", J(), n.requestId = Math.random() * 10 + "",
|
|
129
|
+
c ? f.value && (f.value.comment = "", J(), n.requestId = Math.random() * 10 + "", O.save({
|
|
129
130
|
...n,
|
|
130
131
|
entrustUser: R.value
|
|
131
132
|
}).then((m) => {
|
|
@@ -416,7 +417,7 @@ const Ue = /* @__PURE__ */ ne({
|
|
|
416
417
|
"header-align": "center"
|
|
417
418
|
}, {
|
|
418
419
|
default: a(({ row: o }) => [
|
|
419
|
-
N(F(d(
|
|
420
|
+
N(F(d(pe)(o.cost, o.duration)) + "元 ", 1)
|
|
420
421
|
]),
|
|
421
422
|
_: 1
|
|
422
423
|
}, 8, ["label"]),
|
|
@@ -445,7 +446,7 @@ const Ue = /* @__PURE__ */ ne({
|
|
|
445
446
|
_: 1
|
|
446
447
|
}, 8, ["data"]),
|
|
447
448
|
t(oe, {
|
|
448
|
-
icon: d(
|
|
449
|
+
icon: d(me),
|
|
449
450
|
class: "addButton",
|
|
450
451
|
onClick: S
|
|
451
452
|
}, {
|
|
@@ -463,7 +464,7 @@ const Ue = /* @__PURE__ */ ne({
|
|
|
463
464
|
label: l.$t("itsmFlowReckoning.totalPrice")
|
|
464
465
|
}, {
|
|
465
466
|
default: a(() => [
|
|
466
|
-
N(F(d(
|
|
467
|
+
N(F(d(fe)(P.value)) + "元 ", 1)
|
|
467
468
|
]),
|
|
468
469
|
_: 1
|
|
469
470
|
}, 8, ["label"])
|
|
@@ -524,5 +525,5 @@ const Ue = /* @__PURE__ */ ne({
|
|
|
524
525
|
}
|
|
525
526
|
});
|
|
526
527
|
export {
|
|
527
|
-
|
|
528
|
+
Re as default
|
|
528
529
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
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
|
-
import {
|
|
3
|
+
import { u as se } from "./index-PafaMNgK.mjs";
|
|
4
|
+
import { D as y, a as h, C as $, b as ue } from "./index-DVDOqO_3.mjs";
|
|
4
5
|
import "jmash-core";
|
|
5
6
|
import { useI18n as re } from "vue-i18n";
|
|
6
7
|
import { F as ie } from "./FileSaver.min-5d27MsC6.mjs";
|
|
7
|
-
import { E as A } from "./el-message-
|
|
8
|
+
import { E as A } from "./el-message-DawVzOVQ.mjs";
|
|
8
9
|
const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
9
10
|
key: 2,
|
|
10
11
|
class: "distance-left"
|
|
11
|
-
},
|
|
12
|
+
}, Fe = /* @__PURE__ */ le({
|
|
12
13
|
__name: "index",
|
|
13
14
|
props: /* @__PURE__ */ oe({
|
|
14
15
|
task: {
|
|
@@ -484,5 +485,5 @@ const de = { key: 0 }, ce = { key: 1 }, pe = {
|
|
|
484
485
|
}
|
|
485
486
|
});
|
|
486
487
|
export {
|
|
487
|
-
|
|
488
|
+
Fe as default
|
|
488
489
|
};
|