xyvcard-itsm-flow 0.0.8 → 0.0.9
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/{common--K4gGsNT.mjs → common-Cwl5jzlM.mjs} +1 -1
- package/dist/{edit-B621RtNS.mjs → edit-BatVtQjM.mjs} +1 -1
- package/dist/{edit-CoRzQ2SK.mjs → edit-CJKi69Ya.mjs} +1 -1
- package/dist/{edit-Czk64Yon.mjs → edit-RNcc8UYn.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BYz7O3Xi.mjs → edit.vue_vue_type_script_setup_true_lang-4mAArGdW.mjs} +239 -212
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D-UzvXtU.mjs → edit.vue_vue_type_script_setup_true_lang-D9fa466K.mjs} +95 -96
- package/dist/{edit.vue_vue_type_script_setup_true_lang-AhC28_ys.mjs → edit.vue_vue_type_script_setup_true_lang-DlfhAjvW.mjs} +1 -1
- package/dist/{el-message-FfNjxLv_.mjs → el-message-9Nit-6wb.mjs} +1 -1
- package/dist/{index-CdzhLCkX.mjs → index-2vkMhoSW.mjs} +3 -3
- package/dist/{index-CVbpEq7V.mjs → index-BkB6hpAN.mjs} +174 -134
- package/dist/{index-BlBkHqXR.mjs → index-BqZwYXr_.mjs} +2 -2
- package/dist/{index-DY7ZV5kq.mjs → index-CitJdS-N.mjs} +107 -85
- package/dist/index-Ckl3mXfI.mjs +493 -0
- package/dist/{index-BCP5cBN6.mjs → index-CpSpS_gR.mjs} +2 -2
- package/dist/{index-CRHpl0qA.mjs → index-DmttwKtY.mjs} +3 -3
- package/dist/{index-BJl7xHYx.mjs → index-ay0TMqjH.mjs} +14 -14
- package/dist/{index-DX1PURJy.mjs → index-tnwVLRVb.mjs} +2 -2
- package/dist/{index-B5vmtcUk.mjs → index-w_RSrZed.mjs} +58 -57
- package/dist/index.mjs +4 -2
- package/dts/api/itsm-flow-acceptance/index.d.ts +5 -1
- package/dts/api/itsm-flow-acceptance/types.d.ts +29 -1
- package/dts/api/itsm-flow-entrust/index.d.ts +0 -3
- package/dts/lang/itsm-flow/zh-cn.d.ts +2 -0
- package/dts/views/itsm-flow-acceptance/edit.vue.d.ts +4 -4
- package/package.json +1 -1
- package/dist/index-Dld6YbIV.mjs +0 -484
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
import { defineComponent as te, mergeModels as oe, ref as p, useModel as ne, reactive as M, resolveComponent as i, openBlock as A, createElementBlock as $, Fragment as O, createVNode as l, withCtx as t, createElementVNode as u, unref as s, createTextVNode as w, toDisplayString as E, renderList as se } from "vue";
|
|
2
|
+
import "element-plus";
|
|
3
|
+
import { useRoute as de } from "vue-router";
|
|
4
|
+
import { useI18n as ue } from "vue-i18n";
|
|
5
|
+
import { I as re, C as q, U as ie, d as me, D as _, i as k, u as ce } from "./index-CitJdS-N.mjs";
|
|
6
|
+
import "jmash-core";
|
|
7
|
+
import { E as L } from "./el-message-9Nit-6wb.mjs";
|
|
8
|
+
const Ne = /* @__PURE__ */ te({
|
|
9
|
+
__name: "index",
|
|
10
|
+
props: /* @__PURE__ */ oe({
|
|
11
|
+
task: {
|
|
12
|
+
type: Object,
|
|
13
|
+
default: () => {
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}, {
|
|
17
|
+
modelValue: {},
|
|
18
|
+
modelModifiers: {}
|
|
19
|
+
}),
|
|
20
|
+
emits: ["update:modelValue"],
|
|
21
|
+
setup(C, { expose: j }) {
|
|
22
|
+
const { t: g } = ue(), F = p(!1), R = p(), U = p([]), b = p([]), m = p([]), v = p([]), V = new re({
|
|
23
|
+
applyStatus: q.applyStatus.finished
|
|
24
|
+
});
|
|
25
|
+
V.useValues();
|
|
26
|
+
const I = new ie({
|
|
27
|
+
userType: q.userType.companyManager
|
|
28
|
+
});
|
|
29
|
+
I.useValues(), new me({}).useValues(), _.orgIdBizDict.useValues();
|
|
30
|
+
const S = de(), D = C, N = p({
|
|
31
|
+
curPage: 1,
|
|
32
|
+
pageSize: 10,
|
|
33
|
+
acceptanceId: S.query.applyId
|
|
34
|
+
}), f = ne(C, "modelValue"), B = p();
|
|
35
|
+
let o = M({
|
|
36
|
+
requestId: Math.random() * 10 + ""
|
|
37
|
+
});
|
|
38
|
+
function T() {
|
|
39
|
+
F.value = !0, R.value.clearFileList();
|
|
40
|
+
}
|
|
41
|
+
function P(a, e) {
|
|
42
|
+
m == null || m.value.splice(a, 1), v.value = v.value.filter(
|
|
43
|
+
(d) => d.fileId !== e.fileId
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
function K(a) {
|
|
47
|
+
const e = {
|
|
48
|
+
fileName: a.name,
|
|
49
|
+
fileId: a.response.fileId
|
|
50
|
+
};
|
|
51
|
+
m == null || m.value.push(e), m.value = [...new Set(m.value)], v.value.push(e);
|
|
52
|
+
}
|
|
53
|
+
const W = M({
|
|
54
|
+
orderNo: [
|
|
55
|
+
{
|
|
56
|
+
required: !0,
|
|
57
|
+
message: g("itsmFlowAcceptance.orderIdRequired"),
|
|
58
|
+
trigger: "change"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
stage: [
|
|
62
|
+
{
|
|
63
|
+
required: !0,
|
|
64
|
+
message: g("itsmFlowAcceptance.stageRequired"),
|
|
65
|
+
trigger: "blur"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
});
|
|
69
|
+
D.task.businessKey && J(), j({
|
|
70
|
+
changeModel: () => X()
|
|
71
|
+
});
|
|
72
|
+
function G(a) {
|
|
73
|
+
const e = V.values.find(
|
|
74
|
+
(d) => d.key === a
|
|
75
|
+
);
|
|
76
|
+
o.contractName = (e == null ? void 0 : e.contractName) ?? "", o.contractNo = (e == null ? void 0 : e.contractNo) ?? "", o.serviceOrg = (e == null ? void 0 : e.serviceOrg) ?? "", o.entrustName = (e == null ? void 0 : e.entrustName) ?? "", o.serviceContent = (e == null ? void 0 : e.workContent) ?? "";
|
|
77
|
+
}
|
|
78
|
+
function H() {
|
|
79
|
+
k.findFilesList({ actionId: N.value.acceptanceId }).then(({ data: a }) => {
|
|
80
|
+
m.value = a.results, v.value = (a.results || []).map((e) => ({
|
|
81
|
+
fileName: e.fileName,
|
|
82
|
+
fileId: e.fileId,
|
|
83
|
+
fileSort: "itsm"
|
|
84
|
+
}));
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
function J() {
|
|
88
|
+
N.value.acceptanceId = D.task.businessKey, k.findById({ acceptanceId: N.value.acceptanceId }).then(({ data: a }) => {
|
|
89
|
+
Object.assign(o, a);
|
|
90
|
+
}), H();
|
|
91
|
+
}
|
|
92
|
+
function Q() {
|
|
93
|
+
U.value = b.value.map((a) => {
|
|
94
|
+
const e = I.values.find(
|
|
95
|
+
(d) => d.key === a
|
|
96
|
+
);
|
|
97
|
+
return {
|
|
98
|
+
memberId: a,
|
|
99
|
+
memberName: (e == null ? void 0 : e.value) ?? ""
|
|
100
|
+
};
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
function X() {
|
|
104
|
+
return f.value && (f.value.selectActions = [
|
|
105
|
+
{ key: "true", value: "同意" },
|
|
106
|
+
{ key: "false", value: "不同意" }
|
|
107
|
+
], f.value.varName = "approved", f.value.module = "", f.value.module = q.MODULE_ITSMFLOW), new Promise((a, e) => {
|
|
108
|
+
var d;
|
|
109
|
+
(d = B.value) == null || d.validate((c) => {
|
|
110
|
+
if (c) {
|
|
111
|
+
if (f.value) {
|
|
112
|
+
if (f.value.comment = "", Q(), b.value.length === 0) {
|
|
113
|
+
L.warning(g("itsmFlowAcceptance.membersRequired"));
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
o.requestId = Math.random() * 10 + "", k.save({
|
|
117
|
+
...o,
|
|
118
|
+
members: U.value,
|
|
119
|
+
files: v.value
|
|
120
|
+
}).then((r) => {
|
|
121
|
+
r.status === 200 ? a(!0) : (L({
|
|
122
|
+
message: "保存失败,请联系管理员!",
|
|
123
|
+
type: "error"
|
|
124
|
+
}), e(!1));
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
} else
|
|
128
|
+
e(!1);
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
return (a, e) => {
|
|
133
|
+
const d = i("el-col"), c = i("el-input"), r = i("el-form-item"), y = i("jmash-select"), h = i("el-row"), Y = i("el-button"), Z = i("CircleClose"), x = i("el-icon"), ee = i("jmash-enum-radio"), le = i("el-form"), ae = i("jmash-multi-upload");
|
|
134
|
+
return A(), $(O, null, [
|
|
135
|
+
l(d, { span: 24 }, {
|
|
136
|
+
default: t(() => e[12] || (e[12] = [
|
|
137
|
+
u("div", { class: "title" }, "山西云时代技术有限公司大数据中心分公司项目验收书", -1)
|
|
138
|
+
])),
|
|
139
|
+
_: 1
|
|
140
|
+
}),
|
|
141
|
+
l(le, {
|
|
142
|
+
ref_key: "taskFormRef",
|
|
143
|
+
ref: B,
|
|
144
|
+
model: s(o),
|
|
145
|
+
"label-width": "150px",
|
|
146
|
+
rules: W,
|
|
147
|
+
class: "custom-table-form custom-form"
|
|
148
|
+
}, {
|
|
149
|
+
default: t(() => [
|
|
150
|
+
l(d, { span: 24 }, {
|
|
151
|
+
default: t(() => [
|
|
152
|
+
l(r, {
|
|
153
|
+
label: a.$t("itsmFlowAcceptance.contractName"),
|
|
154
|
+
prop: "contractName"
|
|
155
|
+
}, {
|
|
156
|
+
default: t(() => [
|
|
157
|
+
l(c, {
|
|
158
|
+
modelValue: s(o).contractName,
|
|
159
|
+
"onUpdate:modelValue": e[0] || (e[0] = (n) => s(o).contractName = n),
|
|
160
|
+
placeholder: a.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
161
|
+
disabled: ""
|
|
162
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
163
|
+
]),
|
|
164
|
+
_: 1
|
|
165
|
+
}, 8, ["label"])
|
|
166
|
+
]),
|
|
167
|
+
_: 1
|
|
168
|
+
}),
|
|
169
|
+
l(d, { span: 24 }, {
|
|
170
|
+
default: t(() => [
|
|
171
|
+
l(r, {
|
|
172
|
+
label: a.$t("itsmFlowAcceptance.contractNo"),
|
|
173
|
+
prop: "contractNo"
|
|
174
|
+
}, {
|
|
175
|
+
default: t(() => [
|
|
176
|
+
l(c, {
|
|
177
|
+
modelValue: s(o).contractNo,
|
|
178
|
+
"onUpdate:modelValue": e[1] || (e[1] = (n) => s(o).contractNo = n),
|
|
179
|
+
placeholder: a.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
180
|
+
disabled: ""
|
|
181
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
182
|
+
]),
|
|
183
|
+
_: 1
|
|
184
|
+
}, 8, ["label"])
|
|
185
|
+
]),
|
|
186
|
+
_: 1
|
|
187
|
+
}),
|
|
188
|
+
l(d, { span: 24 }, {
|
|
189
|
+
default: t(() => [
|
|
190
|
+
l(r, {
|
|
191
|
+
label: a.$t("itsmFlowAcceptance.orderId"),
|
|
192
|
+
prop: "orderNo"
|
|
193
|
+
}, {
|
|
194
|
+
default: t(() => [
|
|
195
|
+
l(y, {
|
|
196
|
+
modelValue: s(o).orderNo,
|
|
197
|
+
"onUpdate:modelValue": e[2] || (e[2] = (n) => s(o).orderNo = n),
|
|
198
|
+
placeholder: a.$t("itsmFlowAcceptance.orderIdRequired"),
|
|
199
|
+
data: s(V).values,
|
|
200
|
+
clearable: "",
|
|
201
|
+
filterable: "",
|
|
202
|
+
class: "w-full",
|
|
203
|
+
onChange: G
|
|
204
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
}, 8, ["label"])
|
|
208
|
+
]),
|
|
209
|
+
_: 1
|
|
210
|
+
}),
|
|
211
|
+
l(d, { span: 24 }, {
|
|
212
|
+
default: t(() => [
|
|
213
|
+
l(r, {
|
|
214
|
+
label: a.$t("itsmFlowAcceptance.entrustName"),
|
|
215
|
+
prop: "entrustName"
|
|
216
|
+
}, {
|
|
217
|
+
default: t(() => [
|
|
218
|
+
l(c, {
|
|
219
|
+
modelValue: s(o).entrustName,
|
|
220
|
+
"onUpdate:modelValue": e[3] || (e[3] = (n) => s(o).entrustName = n),
|
|
221
|
+
placeholder: a.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
222
|
+
disabled: ""
|
|
223
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
224
|
+
]),
|
|
225
|
+
_: 1
|
|
226
|
+
}, 8, ["label"])
|
|
227
|
+
]),
|
|
228
|
+
_: 1
|
|
229
|
+
}),
|
|
230
|
+
l(h, null, {
|
|
231
|
+
default: t(() => [
|
|
232
|
+
l(d, { span: 12 }, {
|
|
233
|
+
default: t(() => [
|
|
234
|
+
l(r, {
|
|
235
|
+
label: a.$t("itsmFlowAcceptance.serviceOrg"),
|
|
236
|
+
prop: "serviceOrg"
|
|
237
|
+
}, {
|
|
238
|
+
default: t(() => [
|
|
239
|
+
l(y, {
|
|
240
|
+
modelValue: s(o).serviceOrg,
|
|
241
|
+
"onUpdate:modelValue": e[4] || (e[4] = (n) => s(o).serviceOrg = n),
|
|
242
|
+
placeholder: a.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
243
|
+
data: s(_).orgIdBizDict.values,
|
|
244
|
+
disabled: "",
|
|
245
|
+
class: "w-full"
|
|
246
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
247
|
+
]),
|
|
248
|
+
_: 1
|
|
249
|
+
}, 8, ["label"])
|
|
250
|
+
]),
|
|
251
|
+
_: 1
|
|
252
|
+
}),
|
|
253
|
+
l(d, { span: 12 }, {
|
|
254
|
+
default: t(() => [
|
|
255
|
+
l(r, {
|
|
256
|
+
label: a.$t("itsmFlowAcceptance.stage"),
|
|
257
|
+
prop: "stage"
|
|
258
|
+
}, {
|
|
259
|
+
default: t(() => [
|
|
260
|
+
l(c, {
|
|
261
|
+
modelValue: s(o).stage,
|
|
262
|
+
"onUpdate:modelValue": e[5] || (e[5] = (n) => s(o).stage = n),
|
|
263
|
+
placeholder: a.$t("itsmFlowAcceptance.stageRequired"),
|
|
264
|
+
maxlength: "15",
|
|
265
|
+
"show-word-limit": "",
|
|
266
|
+
clearable: ""
|
|
267
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
268
|
+
]),
|
|
269
|
+
_: 1
|
|
270
|
+
}, 8, ["label"])
|
|
271
|
+
]),
|
|
272
|
+
_: 1
|
|
273
|
+
})
|
|
274
|
+
]),
|
|
275
|
+
_: 1
|
|
276
|
+
}),
|
|
277
|
+
l(h, null, {
|
|
278
|
+
default: t(() => [
|
|
279
|
+
l(d, { span: 12 }, {
|
|
280
|
+
default: t(() => [
|
|
281
|
+
l(r, {
|
|
282
|
+
label: a.$t("itsmFlowAcceptance.headman"),
|
|
283
|
+
prop: "headman"
|
|
284
|
+
}, {
|
|
285
|
+
default: t(() => [
|
|
286
|
+
l(c, {
|
|
287
|
+
modelValue: s(o).headmanId,
|
|
288
|
+
"onUpdate:modelValue": e[6] || (e[6] = (n) => s(o).headmanId = n),
|
|
289
|
+
placeholder: a.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
290
|
+
disabled: ""
|
|
291
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
292
|
+
]),
|
|
293
|
+
_: 1
|
|
294
|
+
}, 8, ["label"])
|
|
295
|
+
]),
|
|
296
|
+
_: 1
|
|
297
|
+
}),
|
|
298
|
+
l(d, { span: 12 }, {
|
|
299
|
+
default: t(() => [
|
|
300
|
+
l(r, {
|
|
301
|
+
label: a.$t("itsmFlowAcceptance.members")
|
|
302
|
+
}, {
|
|
303
|
+
default: t(() => [
|
|
304
|
+
l(y, {
|
|
305
|
+
modelValue: b.value,
|
|
306
|
+
"onUpdate:modelValue": e[7] || (e[7] = (n) => b.value = n),
|
|
307
|
+
placeholder: a.$t("itsmFlowAcceptance.membersRequired"),
|
|
308
|
+
data: s(I).values,
|
|
309
|
+
clearable: "",
|
|
310
|
+
multiple: "",
|
|
311
|
+
filterable: "",
|
|
312
|
+
class: "w-full"
|
|
313
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
314
|
+
]),
|
|
315
|
+
_: 1
|
|
316
|
+
}, 8, ["label"])
|
|
317
|
+
]),
|
|
318
|
+
_: 1
|
|
319
|
+
})
|
|
320
|
+
]),
|
|
321
|
+
_: 1
|
|
322
|
+
}),
|
|
323
|
+
l(d, { span: 24 }, {
|
|
324
|
+
default: t(() => [
|
|
325
|
+
l(r, {
|
|
326
|
+
label: a.$t("itsmFlowAcceptance.files"),
|
|
327
|
+
prop: "files"
|
|
328
|
+
}, {
|
|
329
|
+
default: t(() => [
|
|
330
|
+
l(Y, {
|
|
331
|
+
type: "primary",
|
|
332
|
+
icon: s(ce),
|
|
333
|
+
onClick: T
|
|
334
|
+
}, {
|
|
335
|
+
default: t(() => [
|
|
336
|
+
w(E(a.$t("common.uploadFiles")), 1)
|
|
337
|
+
]),
|
|
338
|
+
_: 1
|
|
339
|
+
}, 8, ["icon"])
|
|
340
|
+
]),
|
|
341
|
+
_: 1
|
|
342
|
+
}, 8, ["label"]),
|
|
343
|
+
l(r, null, {
|
|
344
|
+
default: t(() => [
|
|
345
|
+
(A(!0), $(O, null, se(m.value, (n, z) => (A(), $("div", {
|
|
346
|
+
key: z,
|
|
347
|
+
class: "files-list"
|
|
348
|
+
}, [
|
|
349
|
+
w(E(n.fileName) + " ", 1),
|
|
350
|
+
l(x, {
|
|
351
|
+
size: "16",
|
|
352
|
+
class: "icon-right",
|
|
353
|
+
onClick: (fe) => P(z, n)
|
|
354
|
+
}, {
|
|
355
|
+
default: t(() => [
|
|
356
|
+
l(Z)
|
|
357
|
+
]),
|
|
358
|
+
_: 2
|
|
359
|
+
}, 1032, ["onClick"])
|
|
360
|
+
]))), 128))
|
|
361
|
+
]),
|
|
362
|
+
_: 1
|
|
363
|
+
})
|
|
364
|
+
]),
|
|
365
|
+
_: 1
|
|
366
|
+
}),
|
|
367
|
+
l(d, { span: 24 }, {
|
|
368
|
+
default: t(() => [
|
|
369
|
+
l(r, {
|
|
370
|
+
label: a.$t("itsmFlowAcceptance.serviceContent"),
|
|
371
|
+
prop: "serviceContent"
|
|
372
|
+
}, {
|
|
373
|
+
default: t(() => [
|
|
374
|
+
l(c, {
|
|
375
|
+
modelValue: s(o).serviceContent,
|
|
376
|
+
"onUpdate:modelValue": e[8] || (e[8] = (n) => s(o).serviceContent = n),
|
|
377
|
+
placeholder: a.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
378
|
+
maxlength: "500",
|
|
379
|
+
rows: 4,
|
|
380
|
+
type: "textarea",
|
|
381
|
+
"show-word-limit": "",
|
|
382
|
+
clearable: ""
|
|
383
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
384
|
+
]),
|
|
385
|
+
_: 1
|
|
386
|
+
}, 8, ["label"])
|
|
387
|
+
]),
|
|
388
|
+
_: 1
|
|
389
|
+
}),
|
|
390
|
+
l(d, { span: 12 }, {
|
|
391
|
+
default: t(() => [
|
|
392
|
+
l(r, {
|
|
393
|
+
label: a.$t("itsmFlowAcceptance.result"),
|
|
394
|
+
prop: "result"
|
|
395
|
+
}, {
|
|
396
|
+
default: t(() => [
|
|
397
|
+
l(ee, {
|
|
398
|
+
modelValue: s(o).result,
|
|
399
|
+
"onUpdate:modelValue": e[9] || (e[9] = (n) => s(o).result = n),
|
|
400
|
+
data: s(_).isValuesDict.values,
|
|
401
|
+
disabled: ""
|
|
402
|
+
}, null, 8, ["modelValue", "data"])
|
|
403
|
+
]),
|
|
404
|
+
_: 1
|
|
405
|
+
}, 8, ["label"])
|
|
406
|
+
]),
|
|
407
|
+
_: 1
|
|
408
|
+
}),
|
|
409
|
+
l(d, { span: 24 }, {
|
|
410
|
+
default: t(() => [
|
|
411
|
+
l(r, {
|
|
412
|
+
label: a.$t("itsmFlowAcceptance.evaluate"),
|
|
413
|
+
prop: "evaluate"
|
|
414
|
+
}, {
|
|
415
|
+
default: t(() => [
|
|
416
|
+
l(c, {
|
|
417
|
+
modelValue: s(o).evaluate,
|
|
418
|
+
"onUpdate:modelValue": e[10] || (e[10] = (n) => s(o).evaluate = n),
|
|
419
|
+
placeholder: a.$t("itsmFlowAcceptance.evaluateRequired"),
|
|
420
|
+
maxlength: "500",
|
|
421
|
+
rows: 4,
|
|
422
|
+
type: "textarea",
|
|
423
|
+
"show-word-limit": "",
|
|
424
|
+
clearable: ""
|
|
425
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
426
|
+
]),
|
|
427
|
+
_: 1
|
|
428
|
+
}, 8, ["label"])
|
|
429
|
+
]),
|
|
430
|
+
_: 1
|
|
431
|
+
}),
|
|
432
|
+
l(h, { class: "bordered-row" }, {
|
|
433
|
+
default: t(() => [
|
|
434
|
+
l(d, { span: 12 }, {
|
|
435
|
+
default: t(() => e[13] || (e[13] = [
|
|
436
|
+
u("div", { class: "content-box" }, [
|
|
437
|
+
u("div", { class: "content-box-top" }, [
|
|
438
|
+
u("div", null, "甲方单位(盖章)"),
|
|
439
|
+
u("div", null, "负责人(签字):"),
|
|
440
|
+
u("div", null, "或授权代理人(签字):")
|
|
441
|
+
]),
|
|
442
|
+
u("div", { class: "content-box-bottom" }, [
|
|
443
|
+
w(" 日期: "),
|
|
444
|
+
u("span", null, "年"),
|
|
445
|
+
u("span", null, "月"),
|
|
446
|
+
u("span", null, "日")
|
|
447
|
+
])
|
|
448
|
+
], -1)
|
|
449
|
+
])),
|
|
450
|
+
_: 1
|
|
451
|
+
}),
|
|
452
|
+
l(d, {
|
|
453
|
+
span: 12,
|
|
454
|
+
class: "with-divider"
|
|
455
|
+
}, {
|
|
456
|
+
default: t(() => e[14] || (e[14] = [
|
|
457
|
+
u("div", { class: "content-box" }, [
|
|
458
|
+
u("div", { class: "content-box-top" }, [
|
|
459
|
+
u("div", null, "服务人员所属单位(盖章)"),
|
|
460
|
+
u("div", null, "法定代表人(签字):"),
|
|
461
|
+
u("div", null, "或授权代理人(签字):")
|
|
462
|
+
]),
|
|
463
|
+
u("div", { class: "content-box-bottom" }, [
|
|
464
|
+
w(" 日期: "),
|
|
465
|
+
u("span", null, "年"),
|
|
466
|
+
u("span", null, "月"),
|
|
467
|
+
u("span", null, "日")
|
|
468
|
+
])
|
|
469
|
+
], -1)
|
|
470
|
+
])),
|
|
471
|
+
_: 1
|
|
472
|
+
})
|
|
473
|
+
]),
|
|
474
|
+
_: 1
|
|
475
|
+
})
|
|
476
|
+
]),
|
|
477
|
+
_: 1
|
|
478
|
+
}, 8, ["model", "rules"]),
|
|
479
|
+
e[15] || (e[15] = u("div", { class: "with-end" }, "注:验收书编号在验收通过后自动生成。", -1)),
|
|
480
|
+
l(ae, {
|
|
481
|
+
ref_key: "uploadRef",
|
|
482
|
+
ref: R,
|
|
483
|
+
modelValue: F.value,
|
|
484
|
+
"onUpdate:modelValue": e[11] || (e[11] = (n) => F.value = n),
|
|
485
|
+
onUploadFileList: K
|
|
486
|
+
}, null, 8, ["modelValue"])
|
|
487
|
+
], 64);
|
|
488
|
+
};
|
|
489
|
+
}
|
|
490
|
+
});
|
|
491
|
+
export {
|
|
492
|
+
Ne as default
|
|
493
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as le, mergeModels as oe, ref as f, useModel as ne, resolveComponent as c, openBlock as v, createElementBlock as w, Fragment as S, createVNode as e, withCtx as t, createElementVNode as n, createTextVNode as u, toDisplayString as r, unref as F, withDirectives as j, vShow as L, createCommentVNode as N, createBlock as q, renderList as ae } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useRoute as se } from "vue-router";
|
|
4
|
-
import { D as y, a as h, C as ue, u as re, e as ie } from "./index-
|
|
4
|
+
import { D as y, a as h, C as ue, u as re, e as ie } from "./index-CitJdS-N.mjs";
|
|
5
5
|
import "jmash-core";
|
|
6
6
|
import { useI18n as de } from "vue-i18n";
|
|
7
7
|
import { F as pe } from "./FileSaver.min-BeKvLuyk.mjs";
|
|
8
|
-
import { E as z } from "./el-message-
|
|
8
|
+
import { E as z } from "./el-message-9Nit-6wb.mjs";
|
|
9
9
|
const ce = { key: 0 }, me = { key: 1 }, fe = {
|
|
10
10
|
key: 2,
|
|
11
11
|
class: "distance-left"
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as oe, mergeModels as ne, computed as ae, ref as f, useModel as se, resolveComponent as p, openBlock as v, createElementBlock as b, Fragment as S, createVNode as e, withCtx as l, createElementVNode as a, createTextVNode as u, toDisplayString as r, unref as g, withDirectives as L, vShow as P, createCommentVNode as I, createBlock as A, renderList as ue } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useRoute as re } from "vue-router";
|
|
4
|
-
import { D as C, C as ie, u as ce, a as de, e as pe } from "./index-
|
|
5
|
-
import { i as B, t as me, a as fe } from "./common
|
|
4
|
+
import { D as C, C as ie, u as ce, a as de, e as pe } from "./index-CitJdS-N.mjs";
|
|
5
|
+
import { i as B, t as me, a as fe } from "./common-Cwl5jzlM.mjs";
|
|
6
6
|
import "jmash-core";
|
|
7
7
|
import { useI18n as ve } from "vue-i18n";
|
|
8
8
|
import { F as _e } from "./FileSaver.min-BeKvLuyk.mjs";
|
|
9
|
-
import { E as O } from "./el-message-
|
|
9
|
+
import { E as O } from "./el-message-9Nit-6wb.mjs";
|
|
10
10
|
const be = { key: 0 }, ke = { key: 1 }, we = {
|
|
11
11
|
key: 2,
|
|
12
12
|
class: "distance-left"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as M, ref as _, reactive as R, resolveComponent as s, resolveDirective as W, openBlock as p, createElementBlock as V, createElementVNode as N, createVNode as o, withCtx as l, withKeys as A, unref as n, createTextVNode as f, toDisplayString as u, withDirectives as F, createBlock as $, isRef as S, createCommentVNode 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 g, 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 g, C as Z, i as x } from "./index-CitJdS-N.mjs";
|
|
5
|
+
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-4mAArGdW.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) {
|
|
@@ -107,23 +107,23 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
107
107
|
function q() {
|
|
108
108
|
C = R({}), c.value.title = w("common.add"), c.value.visible = !0;
|
|
109
109
|
}
|
|
110
|
-
function I(a) {
|
|
111
|
-
C.acceptanceId = a.acceptanceId, c.value.title = w("common.edit"), c.value.visible = !0;
|
|
112
|
-
}
|
|
113
110
|
function B(a) {
|
|
114
|
-
|
|
111
|
+
C = { ...a }, c.value.title = w("common.edit"), c.value.visible = !0;
|
|
115
112
|
}
|
|
116
113
|
function K(a) {
|
|
117
|
-
i.
|
|
114
|
+
i.selectionRows.value = a;
|
|
118
115
|
}
|
|
119
116
|
function L(a) {
|
|
117
|
+
i.handleSort(a.prop, a.order);
|
|
118
|
+
}
|
|
119
|
+
function O(a) {
|
|
120
120
|
a && i.getList();
|
|
121
121
|
}
|
|
122
122
|
return i.getList(), (a, t) => {
|
|
123
|
-
const y = s("el-input"), b = s("el-form-item"), m = s("el-col"), h = s("el-button"), D = s("el-row"),
|
|
123
|
+
const y = s("el-input"), b = s("el-form-item"), m = s("el-col"), h = s("el-button"), D = s("el-row"), Q = s("el-form"), I = s("jmash-column-select"), E = s("jmash-table"), H = s("jmash-pagination"), G = s("el-card"), k = W("hasPerm");
|
|
124
124
|
return p(), V("div", te, [
|
|
125
125
|
N("div", le, [
|
|
126
|
-
o(
|
|
126
|
+
o(Q, {
|
|
127
127
|
ref_key: "queryFormRef",
|
|
128
128
|
ref: j,
|
|
129
129
|
model: r.value,
|
|
@@ -254,7 +254,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
254
254
|
class: "container-float"
|
|
255
255
|
}, {
|
|
256
256
|
default: l(() => [
|
|
257
|
-
o(
|
|
257
|
+
o(I, {
|
|
258
258
|
modelValue: n(d),
|
|
259
259
|
"onUpdate:modelValue": t[8] || (t[8] = (e) => S(d) ? d.value = e : d = e),
|
|
260
260
|
"label-name": "itsm-flow-acceptance"
|
|
@@ -286,8 +286,8 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
286
286
|
"list-loading": n(z),
|
|
287
287
|
data: n(P),
|
|
288
288
|
"table-label": n(d),
|
|
289
|
-
onSelectionChange:
|
|
290
|
-
onSortChange:
|
|
289
|
+
onSelectionChange: K,
|
|
290
|
+
onSortChange: L
|
|
291
291
|
}, {
|
|
292
292
|
entrustName: l((e) => [
|
|
293
293
|
N("span", null, u(n(g).projectNameDict.getDictValue(e.data.row.entrustName)), 1)
|
|
@@ -301,7 +301,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
301
301
|
operation: l((e) => [
|
|
302
302
|
F((p(), V("span", {
|
|
303
303
|
class: "el-button-color",
|
|
304
|
-
onClick: (J) =>
|
|
304
|
+
onClick: (J) => B(e.data.row)
|
|
305
305
|
}, [
|
|
306
306
|
f(u(a.$t("common.edit")), 1)
|
|
307
307
|
], 8, oe)), [
|
|
@@ -327,7 +327,7 @@ const te = { class: "app-container" }, le = { class: "search-container" }, oe =
|
|
|
327
327
|
"onUpdate:modelValue": t[13] || (t[13] = (e) => c.value.visible = e),
|
|
328
328
|
title: c.value.title,
|
|
329
329
|
"entity-key": n(C),
|
|
330
|
-
onRefresh:
|
|
330
|
+
onRefresh: O,
|
|
331
331
|
width: "900px"
|
|
332
332
|
}, null, 8, ["modelValue", "title", "entity-key"])) : T("", !0)
|
|
333
333
|
]);
|
|
@@ -2,8 +2,8 @@ import { defineComponent as Ie, mergeModels as we, ref as p, useModel as he, rea
|
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useRoute as Ee } from "vue-router";
|
|
4
4
|
import { useI18n as Ve } from "vue-i18n";
|
|
5
|
-
import { b as Fe, C as f, c as Ue, d as ye, D as N, a as J, f as G, p as _e, e as Ce } from "./index-
|
|
6
|
-
import { E as Q } from "./el-message-
|
|
5
|
+
import { b as Fe, C as f, c as Ue, d as ye, D as N, a as J, f as G, p as _e, e as Ce } from "./index-CitJdS-N.mjs";
|
|
6
|
+
import { E as Q } from "./el-message-9Nit-6wb.mjs";
|
|
7
7
|
const Be = /* @__PURE__ */ Ie({
|
|
8
8
|
__name: "index",
|
|
9
9
|
props: /* @__PURE__ */ we({
|