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