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