xyvcard-itsm-flow 0.0.11 → 0.0.13
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-B6eDlOpi.mjs → edit-C5EkvsBj.mjs} +1 -1
- package/dist/{edit-Cfo0JZSs.mjs → edit-CF3xSSyv.mjs} +1 -1
- package/dist/{edit-RoD8ie-7.mjs → edit-Rj9Uz_7E.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-IEXBlCBV.mjs → edit.vue_vue_type_script_setup_true_lang-CMBByn6f.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-iiu5w8LK.mjs → edit.vue_vue_type_script_setup_true_lang-CXXUyaL0.mjs} +1 -1
- package/dist/edit.vue_vue_type_script_setup_true_lang-D1aLFtH6.mjs +582 -0
- package/dist/{el-message-So7u3ZRi.mjs → el-message-DweX1k3E.mjs} +1 -1
- package/dist/{index-D5ZcRr4h.mjs → index-1bFZ2FEX.mjs} +144 -120
- package/dist/{index-C7wI2ALv.mjs → index-CMpeLVvR.mjs} +72 -64
- package/dist/{index-C96hiFIm.mjs → index-CWrGwJD5.mjs} +61 -58
- package/dist/{index-CzSzBtpb.mjs → index-D8N9GIjm.mjs} +25 -26
- package/dist/{index-CC7B9YOg.mjs → index-DkosMJpy.mjs} +2 -2
- package/dist/{index-m-ohs_8-.mjs → index-DukVUjy5.mjs} +2 -2
- package/dist/{index-CNIFtVcB.mjs → index-VuC-5Jb_.mjs} +91 -91
- package/dist/{index-DWuCzfFj.mjs → index-_KUj3xRY.mjs} +94 -94
- package/dist/{index-CMbZtOBo.mjs → index-ciUtLvg7.mjs} +2 -2
- package/dist/{index-nSm5Jecq.mjs → index-tRvxeQdk.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dts/api/itsm-flow-acceptance/types.d.ts +2 -0
- package/dts/constant.d.ts +4 -0
- package/package.json +63 -63
- package/dist/edit.vue_vue_type_script_setup_true_lang-e_oZRaYA.mjs +0 -557
|
@@ -2,7 +2,7 @@ import { defineComponent as se, mergeModels as z, ref as k, useModel as de, reac
|
|
|
2
2
|
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
|
-
import { g as ve, C as ge, D as $, h as Ne, p as ke, e as _e } from "./index-
|
|
5
|
+
import { g as ve, C as ge, D as $, h as Ne, p as ke, e as _e } from "./index-CMpeLVvR.mjs";
|
|
6
6
|
const he = { class: "title" }, Ie = /* @__PURE__ */ se({
|
|
7
7
|
__name: "edit",
|
|
8
8
|
props: /* @__PURE__ */ z({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as Ee, mergeModels as Q, ref as f, useModel as _e, reactive as W, resolveComponent as d, createBlock as k, openBlock as E, withCtx as o, createVNode as l, createElementVNode as u, unref as s, createElementBlock as X, Fragment as Y, renderList as Z, toDisplayString as U, createCommentVNode as Ve, createTextVNode as _ } from "vue";
|
|
2
2
|
import { ElMessage as O } from "element-plus";
|
|
3
3
|
import { useI18n as Fe } from "vue-i18n";
|
|
4
|
-
import { b as Ue, C as g, c as Ne, d as Ce, D as V, a as A, e as $e, f as x, p as ke } from "./index-
|
|
4
|
+
import { b as Ue, C as g, c as Ne, d as Ce, D as V, a as A, e as $e, f as x, p as ke } from "./index-CMpeLVvR.mjs";
|
|
5
5
|
import "xyvcard-itsm";
|
|
6
6
|
const Oe = { class: "title" }, Te = /* @__PURE__ */ Ee({
|
|
7
7
|
__name: "edit",
|
|
@@ -0,0 +1,582 @@
|
|
|
1
|
+
import { defineComponent as ve, mergeModels as L, ref as f, useModel as be, reactive as T, resolveComponent as r, createBlock as H, openBlock as y, withCtx as o, createVNode as t, createElementVNode as u, unref as d, createElementBlock as R, Fragment as G, renderList as J, createTextVNode as b, toDisplayString as F } from "vue";
|
|
2
|
+
import { ElMessage as N } from "element-plus";
|
|
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, u as ye } from "./index-CMpeLVvR.mjs";
|
|
5
|
+
import { useUserStore as Fe } from "jmash-core";
|
|
6
|
+
const Ne = { class: "title" }, Ue = /* @__PURE__ */ ve({
|
|
7
|
+
__name: "edit",
|
|
8
|
+
props: /* @__PURE__ */ L({
|
|
9
|
+
entityKey: {
|
|
10
|
+
type: Object,
|
|
11
|
+
default: () => {
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}, {
|
|
15
|
+
modelValue: { type: Boolean },
|
|
16
|
+
modelModifiers: {}
|
|
17
|
+
}),
|
|
18
|
+
emits: /* @__PURE__ */ L(["refresh"], ["update:modelValue"]),
|
|
19
|
+
setup(S, { emit: P }) {
|
|
20
|
+
const $ = f(!1), D = f(), { t: w } = we(), C = f(), c = be(S, "modelValue"), B = P, k = f([]), v = f([]), m = f([]), g = f([]), E = Fe();
|
|
21
|
+
console.log(E.user);
|
|
22
|
+
const U = new ge({
|
|
23
|
+
applyStatus: j.applyStatus.finished
|
|
24
|
+
});
|
|
25
|
+
U.useValues();
|
|
26
|
+
const _ = new he({
|
|
27
|
+
userType: j.userType.companyManager
|
|
28
|
+
});
|
|
29
|
+
_.useValues(), A.orgIdBizDict.useValues();
|
|
30
|
+
let a = T({
|
|
31
|
+
requestId: Math.random() * 10 + ""
|
|
32
|
+
});
|
|
33
|
+
function Q(l) {
|
|
34
|
+
if (!l) {
|
|
35
|
+
N.warning("当前用户缺少岗位信息,无法查询验收组长");
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
V.findHeadman({
|
|
39
|
+
tenant: E.user.tenant,
|
|
40
|
+
deptId: l,
|
|
41
|
+
jobCode: j.jobCode.groupLeader
|
|
42
|
+
}).then(({ data: e }) => {
|
|
43
|
+
var n;
|
|
44
|
+
console.log("data", e.results[0].value), ((n = e == null ? void 0 : e.results) == null ? void 0 : n.length) > 0 && W(e.results[0]);
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
function W(l) {
|
|
48
|
+
const e = a.headmanName ? a.headmanName.split("、") : [], n = a.headmanId ? a.headmanId.split("、") : [];
|
|
49
|
+
(!e.includes(l.value) || !n.includes(l.key)) && (a.headmanName = e.length > 0 ? [...new Set(`${a.headmanName},${l.value}`.split(","))].join(",") : l.value, a.headmanId = n.length > 0 ? [...new Set(`${a.headmanId},${l.key}`.split(","))].join(",") : l.key);
|
|
50
|
+
}
|
|
51
|
+
function X() {
|
|
52
|
+
const l = Array.from(
|
|
53
|
+
new Set(
|
|
54
|
+
v.value.map((e) => {
|
|
55
|
+
const n = _.values.find(
|
|
56
|
+
(p) => p.key === e
|
|
57
|
+
);
|
|
58
|
+
return n == null ? void 0 : n.deptId;
|
|
59
|
+
}).filter(Boolean)
|
|
60
|
+
)
|
|
61
|
+
);
|
|
62
|
+
a.headmanName = "", a.headmanId = "", l.forEach((e) => {
|
|
63
|
+
Q(e);
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
function Y() {
|
|
67
|
+
$.value = !0, D.value.clearFileList();
|
|
68
|
+
}
|
|
69
|
+
function Z(l, e) {
|
|
70
|
+
m == null || m.value.splice(l, 1), g.value = g.value.filter(
|
|
71
|
+
(n) => n.fileId !== e.fileId
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
function x(l) {
|
|
75
|
+
const e = {
|
|
76
|
+
fileName: l.name,
|
|
77
|
+
fileId: l.response.fileId,
|
|
78
|
+
fileSort: "itsm"
|
|
79
|
+
};
|
|
80
|
+
m == null || m.value.push(e), m.value = [...new Set(m.value)], g.value.push(e);
|
|
81
|
+
}
|
|
82
|
+
const ee = T({
|
|
83
|
+
orderNo: [
|
|
84
|
+
{
|
|
85
|
+
required: !0,
|
|
86
|
+
message: w("itsmFlowAcceptance.orderIdRequired"),
|
|
87
|
+
trigger: "change"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
stage: [
|
|
91
|
+
{
|
|
92
|
+
required: !0,
|
|
93
|
+
message: w("itsmFlowAcceptance.stageRequired"),
|
|
94
|
+
trigger: "blur"
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
}), h = S;
|
|
98
|
+
function le() {
|
|
99
|
+
V.findFilesList({ actionId: h.entityKey.acceptanceId }).then(({ data: l }) => {
|
|
100
|
+
m.value = l.results, g.value = (l.results || []).map((e) => ({
|
|
101
|
+
fileName: e.fileName,
|
|
102
|
+
fileId: e.fileId,
|
|
103
|
+
fileSort: "itsm"
|
|
104
|
+
}));
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
function te() {
|
|
108
|
+
v.value = typeof h.entityKey.membersId == "string" ? h.entityKey.membersId.split(",") || [] : [];
|
|
109
|
+
}
|
|
110
|
+
const ae = Object.keys(h.entityKey);
|
|
111
|
+
f(ae.length >= 1).value && (V.findById(h.entityKey).then(({ data: l }) => {
|
|
112
|
+
Object.assign(a, l);
|
|
113
|
+
}), te(), le());
|
|
114
|
+
function O() {
|
|
115
|
+
k.value = v.value.map((l) => {
|
|
116
|
+
const e = _.values.find(
|
|
117
|
+
(n) => n.key === l
|
|
118
|
+
);
|
|
119
|
+
return {
|
|
120
|
+
memberId: l,
|
|
121
|
+
memberName: (e == null ? void 0 : e.value) ?? ""
|
|
122
|
+
};
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
const oe = async () => {
|
|
126
|
+
var l;
|
|
127
|
+
await ((l = C.value) == null ? void 0 : l.validate((e) => {
|
|
128
|
+
if (e) {
|
|
129
|
+
if (v.value.length === 0) {
|
|
130
|
+
N.warning(w("itsmFlowAcceptance.membersRequired"));
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
O(), V.save({
|
|
134
|
+
...a,
|
|
135
|
+
members: k.value,
|
|
136
|
+
files: g.value
|
|
137
|
+
}).then((n) => {
|
|
138
|
+
n.status === 200 && (N({
|
|
139
|
+
message: w("common.submitSuccess"),
|
|
140
|
+
type: "success"
|
|
141
|
+
}), c.value && (c.value = !1), B("refresh", n.status === 200));
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
}));
|
|
145
|
+
}, ne = async () => {
|
|
146
|
+
var l;
|
|
147
|
+
await ((l = C.value) == null ? void 0 : l.validate((e) => {
|
|
148
|
+
if (e) {
|
|
149
|
+
if (v.value.length === 0) {
|
|
150
|
+
N.warning(w("itsmFlowAcceptance.membersRequired"));
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
O(), V.submit({
|
|
154
|
+
...a,
|
|
155
|
+
members: k.value,
|
|
156
|
+
files: g.value
|
|
157
|
+
}).then((n) => {
|
|
158
|
+
n.status === 200 && (N({
|
|
159
|
+
message: w("common.submitSuccess"),
|
|
160
|
+
type: "success"
|
|
161
|
+
}), c.value && (c.value = !1), B("refresh", n.status === 200));
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
}));
|
|
165
|
+
};
|
|
166
|
+
function z() {
|
|
167
|
+
c.value && (c.value = !1);
|
|
168
|
+
}
|
|
169
|
+
function se(l) {
|
|
170
|
+
const e = U.values.find(
|
|
171
|
+
(n) => n.key === l
|
|
172
|
+
);
|
|
173
|
+
a.contractName = (e == null ? void 0 : e.contractName) ?? "", a.contractNo = (e == null ? void 0 : e.contractNo) ?? "", a.serviceOrg = (e == null ? void 0 : e.serviceOrg) ?? "", a.entrustName = (e == null ? void 0 : e.entrustName) ?? "", a.serviceContent = (e == null ? void 0 : e.workContent) ?? "", a.entrustId = (e == null ? void 0 : e.entrustId) ?? "";
|
|
174
|
+
}
|
|
175
|
+
return (l, e) => {
|
|
176
|
+
const n = r("el-col"), p = r("el-input"), i = r("el-form-item"), q = r("jmash-select"), de = r("el-option"), ue = r("el-select"), I = r("el-button"), re = r("CircleClose"), ie = r("el-icon"), me = r("jmash-enum-radio"), M = r("el-row"), ce = r("el-form"), pe = r("jmash-multi-upload"), fe = r("el-dialog");
|
|
177
|
+
return y(), H(fe, {
|
|
178
|
+
modelValue: c.value,
|
|
179
|
+
"onUpdate:modelValue": e[12] || (e[12] = (s) => c.value = s),
|
|
180
|
+
onClose: z
|
|
181
|
+
}, {
|
|
182
|
+
footer: o(() => [
|
|
183
|
+
u("div", Ne, [
|
|
184
|
+
t(I, { onClick: z }, {
|
|
185
|
+
default: o(() => [
|
|
186
|
+
b(F(l.$t("common.cancel")), 1)
|
|
187
|
+
]),
|
|
188
|
+
_: 1
|
|
189
|
+
}),
|
|
190
|
+
t(I, {
|
|
191
|
+
type: "primary",
|
|
192
|
+
onClick: oe
|
|
193
|
+
}, {
|
|
194
|
+
default: o(() => [
|
|
195
|
+
b(F(l.$t("itsmFlowEntrustUser.save")), 1)
|
|
196
|
+
]),
|
|
197
|
+
_: 1
|
|
198
|
+
}),
|
|
199
|
+
t(I, {
|
|
200
|
+
type: "primary",
|
|
201
|
+
onClick: ne
|
|
202
|
+
}, {
|
|
203
|
+
default: o(() => [
|
|
204
|
+
b(F(l.$t("itsmFlowEntrustUser.submit")), 1)
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
})
|
|
208
|
+
])
|
|
209
|
+
]),
|
|
210
|
+
default: o(() => [
|
|
211
|
+
t(n, { span: 24 }, {
|
|
212
|
+
default: o(() => e[13] || (e[13] = [
|
|
213
|
+
u("div", { class: "title" }, "山西云时代技术有限公司大数据中心分公司项目验收书", -1)
|
|
214
|
+
])),
|
|
215
|
+
_: 1,
|
|
216
|
+
__: [13]
|
|
217
|
+
}),
|
|
218
|
+
t(ce, {
|
|
219
|
+
ref_key: "itsmFlowAcceptanceFormRef",
|
|
220
|
+
ref: C,
|
|
221
|
+
model: d(a),
|
|
222
|
+
"label-width": "150px",
|
|
223
|
+
rules: ee,
|
|
224
|
+
class: "custom-table-form custom-form"
|
|
225
|
+
}, {
|
|
226
|
+
default: o(() => [
|
|
227
|
+
t(M, null, {
|
|
228
|
+
default: o(() => [
|
|
229
|
+
t(n, { span: 24 }, {
|
|
230
|
+
default: o(() => [
|
|
231
|
+
t(i, {
|
|
232
|
+
label: l.$t("itsmFlowAcceptance.contractName"),
|
|
233
|
+
prop: "contractName"
|
|
234
|
+
}, {
|
|
235
|
+
default: o(() => [
|
|
236
|
+
t(p, {
|
|
237
|
+
modelValue: d(a).contractName,
|
|
238
|
+
"onUpdate:modelValue": e[0] || (e[0] = (s) => d(a).contractName = s),
|
|
239
|
+
placeholder: l.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
240
|
+
disabled: ""
|
|
241
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
242
|
+
]),
|
|
243
|
+
_: 1
|
|
244
|
+
}, 8, ["label"])
|
|
245
|
+
]),
|
|
246
|
+
_: 1
|
|
247
|
+
}),
|
|
248
|
+
t(n, { span: 24 }, {
|
|
249
|
+
default: o(() => [
|
|
250
|
+
t(i, {
|
|
251
|
+
label: l.$t("itsmFlowAcceptance.contractNo"),
|
|
252
|
+
prop: "contractNo"
|
|
253
|
+
}, {
|
|
254
|
+
default: o(() => [
|
|
255
|
+
t(p, {
|
|
256
|
+
modelValue: d(a).contractNo,
|
|
257
|
+
"onUpdate:modelValue": e[1] || (e[1] = (s) => d(a).contractNo = s),
|
|
258
|
+
placeholder: l.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
259
|
+
disabled: ""
|
|
260
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
261
|
+
]),
|
|
262
|
+
_: 1
|
|
263
|
+
}, 8, ["label"])
|
|
264
|
+
]),
|
|
265
|
+
_: 1
|
|
266
|
+
}),
|
|
267
|
+
t(n, { span: 24 }, {
|
|
268
|
+
default: o(() => [
|
|
269
|
+
t(i, {
|
|
270
|
+
label: l.$t("itsmFlowAcceptance.orderId"),
|
|
271
|
+
prop: "orderNo"
|
|
272
|
+
}, {
|
|
273
|
+
default: o(() => [
|
|
274
|
+
t(q, {
|
|
275
|
+
modelValue: d(a).orderNo,
|
|
276
|
+
"onUpdate:modelValue": e[2] || (e[2] = (s) => d(a).orderNo = s),
|
|
277
|
+
placeholder: l.$t("itsmFlowAcceptance.orderIdRequired"),
|
|
278
|
+
data: d(U).values,
|
|
279
|
+
clearable: "",
|
|
280
|
+
filterable: "",
|
|
281
|
+
class: "w-full",
|
|
282
|
+
onChange: se
|
|
283
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
284
|
+
]),
|
|
285
|
+
_: 1
|
|
286
|
+
}, 8, ["label"])
|
|
287
|
+
]),
|
|
288
|
+
_: 1
|
|
289
|
+
}),
|
|
290
|
+
t(n, { span: 24 }, {
|
|
291
|
+
default: o(() => [
|
|
292
|
+
t(i, {
|
|
293
|
+
label: l.$t("itsmFlowAcceptance.entrustName"),
|
|
294
|
+
prop: "entrustName"
|
|
295
|
+
}, {
|
|
296
|
+
default: o(() => [
|
|
297
|
+
t(ue, {
|
|
298
|
+
modelValue: d(a).entrustName,
|
|
299
|
+
"onUpdate:modelValue": e[3] || (e[3] = (s) => d(a).entrustName = s),
|
|
300
|
+
placeholder: l.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
301
|
+
disabled: "",
|
|
302
|
+
class: "w-full"
|
|
303
|
+
}, {
|
|
304
|
+
default: o(() => [
|
|
305
|
+
(y(!0), R(G, null, J(d(A).projectNameDict.values, (s) => (y(), H(de, {
|
|
306
|
+
key: s.dictCode,
|
|
307
|
+
label: s.dictName,
|
|
308
|
+
value: s.dictCode
|
|
309
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
310
|
+
]),
|
|
311
|
+
_: 1
|
|
312
|
+
}, 8, ["modelValue", "placeholder"])
|
|
313
|
+
]),
|
|
314
|
+
_: 1
|
|
315
|
+
}, 8, ["label"])
|
|
316
|
+
]),
|
|
317
|
+
_: 1
|
|
318
|
+
}),
|
|
319
|
+
t(n, { span: 12 }, {
|
|
320
|
+
default: o(() => [
|
|
321
|
+
t(i, {
|
|
322
|
+
label: l.$t("itsmFlowAcceptance.serviceOrg"),
|
|
323
|
+
prop: "serviceOrg"
|
|
324
|
+
}, {
|
|
325
|
+
default: o(() => [
|
|
326
|
+
t(q, {
|
|
327
|
+
modelValue: d(a).serviceOrg,
|
|
328
|
+
"onUpdate:modelValue": e[4] || (e[4] = (s) => d(a).serviceOrg = s),
|
|
329
|
+
placeholder: l.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
330
|
+
data: d(A).orgIdBizDict.values,
|
|
331
|
+
disabled: "",
|
|
332
|
+
class: "w-full"
|
|
333
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
334
|
+
]),
|
|
335
|
+
_: 1
|
|
336
|
+
}, 8, ["label"])
|
|
337
|
+
]),
|
|
338
|
+
_: 1
|
|
339
|
+
}),
|
|
340
|
+
t(n, { span: 12 }, {
|
|
341
|
+
default: o(() => [
|
|
342
|
+
t(i, {
|
|
343
|
+
label: l.$t("itsmFlowAcceptance.stage"),
|
|
344
|
+
prop: "stage"
|
|
345
|
+
}, {
|
|
346
|
+
default: o(() => [
|
|
347
|
+
t(p, {
|
|
348
|
+
modelValue: d(a).stage,
|
|
349
|
+
"onUpdate:modelValue": e[5] || (e[5] = (s) => d(a).stage = s),
|
|
350
|
+
placeholder: l.$t("itsmFlowAcceptance.stageRequired"),
|
|
351
|
+
maxlength: "15",
|
|
352
|
+
"show-word-limit": "",
|
|
353
|
+
clearable: ""
|
|
354
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
355
|
+
]),
|
|
356
|
+
_: 1
|
|
357
|
+
}, 8, ["label"])
|
|
358
|
+
]),
|
|
359
|
+
_: 1
|
|
360
|
+
}),
|
|
361
|
+
t(n, { span: 12 }, {
|
|
362
|
+
default: o(() => [
|
|
363
|
+
t(i, {
|
|
364
|
+
label: l.$t("itsmFlowAcceptance.headman"),
|
|
365
|
+
prop: `headmanName\r
|
|
366
|
+
`
|
|
367
|
+
}, {
|
|
368
|
+
default: o(() => [
|
|
369
|
+
t(p, {
|
|
370
|
+
modelValue: d(a).headmanName,
|
|
371
|
+
"onUpdate:modelValue": e[6] || (e[6] = (s) => d(a).headmanName = s),
|
|
372
|
+
placeholder: l.$t("itsmFlowAcceptance.headmanRequired"),
|
|
373
|
+
disabled: ""
|
|
374
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
375
|
+
]),
|
|
376
|
+
_: 1
|
|
377
|
+
}, 8, ["label"])
|
|
378
|
+
]),
|
|
379
|
+
_: 1
|
|
380
|
+
}),
|
|
381
|
+
t(n, { span: 12 }, {
|
|
382
|
+
default: o(() => [
|
|
383
|
+
t(i, {
|
|
384
|
+
label: l.$t("itsmFlowAcceptance.members")
|
|
385
|
+
}, {
|
|
386
|
+
default: o(() => [
|
|
387
|
+
t(q, {
|
|
388
|
+
modelValue: v.value,
|
|
389
|
+
"onUpdate:modelValue": e[7] || (e[7] = (s) => v.value = s),
|
|
390
|
+
placeholder: l.$t("itsmFlowAcceptance.membersRequired"),
|
|
391
|
+
data: d(_).values,
|
|
392
|
+
clearable: "",
|
|
393
|
+
multiple: "",
|
|
394
|
+
filterable: "",
|
|
395
|
+
class: "w-full",
|
|
396
|
+
onChange: X
|
|
397
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
398
|
+
]),
|
|
399
|
+
_: 1
|
|
400
|
+
}, 8, ["label"])
|
|
401
|
+
]),
|
|
402
|
+
_: 1
|
|
403
|
+
}),
|
|
404
|
+
t(n, { span: 24 }, {
|
|
405
|
+
default: o(() => [
|
|
406
|
+
t(i, {
|
|
407
|
+
label: l.$t("itsmFlowAcceptance.files"),
|
|
408
|
+
prop: "files"
|
|
409
|
+
}, {
|
|
410
|
+
default: o(() => [
|
|
411
|
+
t(I, {
|
|
412
|
+
type: "primary",
|
|
413
|
+
icon: d(ye),
|
|
414
|
+
onClick: Y
|
|
415
|
+
}, {
|
|
416
|
+
default: o(() => [
|
|
417
|
+
b(F(l.$t("common.uploadFiles")), 1)
|
|
418
|
+
]),
|
|
419
|
+
_: 1
|
|
420
|
+
}, 8, ["icon"])
|
|
421
|
+
]),
|
|
422
|
+
_: 1
|
|
423
|
+
}, 8, ["label"]),
|
|
424
|
+
t(i, null, {
|
|
425
|
+
default: o(() => [
|
|
426
|
+
(y(!0), R(G, null, J(m.value, (s, K) => (y(), R("div", {
|
|
427
|
+
key: K,
|
|
428
|
+
class: "files-list"
|
|
429
|
+
}, [
|
|
430
|
+
b(F(s.fileName) + " ", 1),
|
|
431
|
+
t(ie, {
|
|
432
|
+
size: "16",
|
|
433
|
+
class: "icon-right",
|
|
434
|
+
onClick: (_e) => Z(K, s)
|
|
435
|
+
}, {
|
|
436
|
+
default: o(() => [
|
|
437
|
+
t(re)
|
|
438
|
+
]),
|
|
439
|
+
_: 2
|
|
440
|
+
}, 1032, ["onClick"])
|
|
441
|
+
]))), 128))
|
|
442
|
+
]),
|
|
443
|
+
_: 1
|
|
444
|
+
})
|
|
445
|
+
]),
|
|
446
|
+
_: 1
|
|
447
|
+
}),
|
|
448
|
+
t(n, { span: 24 }, {
|
|
449
|
+
default: o(() => [
|
|
450
|
+
t(i, {
|
|
451
|
+
label: l.$t("itsmFlowAcceptance.serviceContent"),
|
|
452
|
+
prop: "serviceContent"
|
|
453
|
+
}, {
|
|
454
|
+
default: o(() => [
|
|
455
|
+
t(p, {
|
|
456
|
+
modelValue: d(a).serviceContent,
|
|
457
|
+
"onUpdate:modelValue": e[8] || (e[8] = (s) => d(a).serviceContent = s),
|
|
458
|
+
placeholder: l.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
459
|
+
maxlength: "500",
|
|
460
|
+
rows: 4,
|
|
461
|
+
type: "textarea",
|
|
462
|
+
"show-word-limit": "",
|
|
463
|
+
clearable: ""
|
|
464
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
465
|
+
]),
|
|
466
|
+
_: 1
|
|
467
|
+
}, 8, ["label"])
|
|
468
|
+
]),
|
|
469
|
+
_: 1
|
|
470
|
+
}),
|
|
471
|
+
t(n, { span: 12 }, {
|
|
472
|
+
default: o(() => [
|
|
473
|
+
t(i, {
|
|
474
|
+
label: l.$t("itsmFlowAcceptance.result"),
|
|
475
|
+
prop: "result"
|
|
476
|
+
}, {
|
|
477
|
+
default: o(() => [
|
|
478
|
+
t(me, {
|
|
479
|
+
modelValue: d(a).result,
|
|
480
|
+
"onUpdate:modelValue": e[9] || (e[9] = (s) => d(a).result = s),
|
|
481
|
+
data: d(A).isValuesDict.values,
|
|
482
|
+
disabled: ""
|
|
483
|
+
}, null, 8, ["modelValue", "data"])
|
|
484
|
+
]),
|
|
485
|
+
_: 1
|
|
486
|
+
}, 8, ["label"])
|
|
487
|
+
]),
|
|
488
|
+
_: 1
|
|
489
|
+
}),
|
|
490
|
+
t(n, { span: 24 }, {
|
|
491
|
+
default: o(() => [
|
|
492
|
+
t(i, {
|
|
493
|
+
label: l.$t("itsmFlowAcceptance.evaluate"),
|
|
494
|
+
prop: "evaluate"
|
|
495
|
+
}, {
|
|
496
|
+
default: o(() => [
|
|
497
|
+
t(p, {
|
|
498
|
+
modelValue: d(a).evaluate,
|
|
499
|
+
"onUpdate:modelValue": e[10] || (e[10] = (s) => d(a).evaluate = s),
|
|
500
|
+
placeholder: l.$t("itsmFlowAcceptance.evaluateRequired"),
|
|
501
|
+
maxlength: "500",
|
|
502
|
+
rows: 4,
|
|
503
|
+
type: "textarea",
|
|
504
|
+
"show-word-limit": "",
|
|
505
|
+
clearable: ""
|
|
506
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
507
|
+
]),
|
|
508
|
+
_: 1
|
|
509
|
+
}, 8, ["label"])
|
|
510
|
+
]),
|
|
511
|
+
_: 1
|
|
512
|
+
})
|
|
513
|
+
]),
|
|
514
|
+
_: 1
|
|
515
|
+
}),
|
|
516
|
+
t(M, { class: "bordered-row" }, {
|
|
517
|
+
default: o(() => [
|
|
518
|
+
t(n, { span: 12 }, {
|
|
519
|
+
default: o(() => e[14] || (e[14] = [
|
|
520
|
+
u("div", { class: "content-box" }, [
|
|
521
|
+
u("div", { class: "content-box-top" }, [
|
|
522
|
+
u("div", null, "项目验收小组:"),
|
|
523
|
+
u("div", null, "单位(盖章):"),
|
|
524
|
+
u("div", null, "负责人(签字):")
|
|
525
|
+
]),
|
|
526
|
+
u("div", { class: "content-box-bottom" }, [
|
|
527
|
+
b(" 日期: "),
|
|
528
|
+
u("span", null, "年"),
|
|
529
|
+
u("span", null, "月"),
|
|
530
|
+
u("span", null, "日")
|
|
531
|
+
])
|
|
532
|
+
], -1)
|
|
533
|
+
])),
|
|
534
|
+
_: 1,
|
|
535
|
+
__: [14]
|
|
536
|
+
}),
|
|
537
|
+
t(n, {
|
|
538
|
+
span: 12,
|
|
539
|
+
class: "with-divider"
|
|
540
|
+
}, {
|
|
541
|
+
default: o(() => e[15] || (e[15] = [
|
|
542
|
+
u("div", { class: "content-box" }, [
|
|
543
|
+
u("div", { class: "content-box-top" }, [
|
|
544
|
+
u("div", null, "服务人员所属单位:"),
|
|
545
|
+
u("div", null, "单位(盖章):"),
|
|
546
|
+
u("div", null, "负责人(签字):")
|
|
547
|
+
]),
|
|
548
|
+
u("div", { class: "content-box-bottom" }, [
|
|
549
|
+
b(" 日期: "),
|
|
550
|
+
u("span", null, "年"),
|
|
551
|
+
u("span", null, "月"),
|
|
552
|
+
u("span", null, "日")
|
|
553
|
+
])
|
|
554
|
+
], -1)
|
|
555
|
+
])),
|
|
556
|
+
_: 1,
|
|
557
|
+
__: [15]
|
|
558
|
+
})
|
|
559
|
+
]),
|
|
560
|
+
_: 1
|
|
561
|
+
})
|
|
562
|
+
]),
|
|
563
|
+
_: 1
|
|
564
|
+
}, 8, ["model", "rules"]),
|
|
565
|
+
e[16] || (e[16] = u("div", { class: "with-end" }, "注:验收书编号在验收通过后自动生成。", -1)),
|
|
566
|
+
t(pe, {
|
|
567
|
+
ref_key: "uploadRef",
|
|
568
|
+
ref: D,
|
|
569
|
+
modelValue: $.value,
|
|
570
|
+
"onUpdate:modelValue": e[11] || (e[11] = (s) => $.value = s),
|
|
571
|
+
onUploadFileList: x
|
|
572
|
+
}, null, 8, ["modelValue"])
|
|
573
|
+
]),
|
|
574
|
+
_: 1,
|
|
575
|
+
__: [16]
|
|
576
|
+
}, 8, ["modelValue"]);
|
|
577
|
+
};
|
|
578
|
+
}
|
|
579
|
+
});
|
|
580
|
+
export {
|
|
581
|
+
Ue as _
|
|
582
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getCurrentInstance as z, inject as j, ref as _, computed as d, unref as l, readonly as yt, getCurrentScope as vt, onScopeDispose as ht, onMounted as Be, nextTick as ke, watch as Y, isRef as bt, warn as _t, provide as Ct, defineComponent as P, createElementBlock as J, openBlock as T, mergeProps as Ot, renderSlot as L, normalizeClass as N, createVNode as se, Transition as Le, withCtx as U, withDirectives as Ve, createElementVNode as re, normalizeStyle as Ke, createTextVNode as wt, toDisplayString as Re, vShow as He, shallowReactive as St, createBlock as B, createCommentVNode as G, resolveDynamicComponent as Tt, Fragment as Nt, withModifiers as Et, isVNode as Ge, render as he } from "vue";
|
|
2
|
-
import { j as be, k as It, w as xt, s as Pt, l as $t } from "./index-
|
|
2
|
+
import { j as be, k as It, w as xt, s as Pt, l as $t } from "./index-CMpeLVvR.mjs";
|
|
3
3
|
const Ue = Symbol(), Z = "el", jt = "is-", E = (e, t, n, o, r) => {
|
|
4
4
|
let s = `${e}-${t}`;
|
|
5
5
|
return n && (s += `-${n}`), o && (s += `__${o}`), r && (s += `--${r}`), s;
|