xyvcard-itsm-flow 0.0.10 → 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/README.md +51 -51
- package/dist/{FileSaver.min-BeKvLuyk.mjs → FileSaver.min-5d27MsC6.mjs} +12 -12
- package/dist/{edit-BnJnxvY6.mjs → edit-CnakOAD-.mjs} +1 -1
- package/dist/{edit-D8J1Znw_.mjs → edit-D3-wS-p6.mjs} +1 -1
- package/dist/{edit-har-8Y54.mjs → edit-DQMyPUX8.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BZ-prpPo.mjs → edit.vue_vue_type_script_setup_true_lang-CQVLZd-n.mjs} +26 -23
- package/dist/{edit.vue_vue_type_script_setup_true_lang-QsTI3qOD.mjs → edit.vue_vue_type_script_setup_true_lang-CkrOBeOD.mjs} +222 -214
- package/dist/{edit.vue_vue_type_script_setup_true_lang-TXBAzoPS.mjs → edit.vue_vue_type_script_setup_true_lang-VE9Mh9aa.mjs} +216 -194
- package/dist/{el-message-CIdVBT5R.mjs → el-message-CDs_oXSE.mjs} +357 -366
- package/dist/{index-DugZK_BS.mjs → index-B80qPhYo.mjs} +50 -48
- package/dist/{index-DKIrRXT5.mjs → index-C7hbVzPq.mjs} +12 -12
- package/dist/{index-DBIF93AC.mjs → index-CKoTtfru.mjs} +22 -19
- package/dist/{index-CF0oM0UA.mjs → index-DNIaYp-o.mjs} +107 -101
- package/dist/{index-Cp3csR1g.mjs → index-DpW0lTlN.mjs} +12 -12
- package/dist/{index-BAHlhmvh.mjs → index-GS9GloHa.mjs} +95 -92
- package/dist/{index-bMREgnhp.mjs → index-JNNDVNJY.mjs} +15 -15
- package/dist/{index-C6XFHtva.mjs → index-kApGKfsk.mjs} +25 -22
- package/dist/{index-DnFWLmFk.mjs → index-tB0z_CCe.mjs} +21 -18
- package/dist/{index-BjBTIknS.mjs → index-yHpZct-P.mjs} +211 -203
- package/dist/index.mjs +1 -1
- package/dist/style.css +1 -1
- package/dts/api/itsm-flow-acceptance/types.d.ts +2 -0
- package/dts/api/itsm-flow-entrust/types.d.ts +3 -1
- package/dts/api/itsm-flow-entrust-user/types.d.ts +3 -1
- package/dts/api/itsm-flow-reckoning/types.d.ts +1 -1
- package/dts/components/TaskItsmFlowAcceptance/index.vue.d.ts +2 -2
- package/dts/components/TaskItsmFlowAcceptanceEdit/index.vue.d.ts +2 -2
- package/dts/components/TaskItsmFlowEntrust/index.vue.d.ts +2 -2
- package/dts/components/TaskItsmFlowEntrustEdit/index.vue.d.ts +2 -2
- package/dts/components/TaskItsmFlowReckoning/index.vue.d.ts +2 -2
- package/dts/components/TaskItsmFlowReckoningEdit/index.vue.d.ts +2 -2
- package/dts/views/itsm-flow-acceptance/edit.vue.d.ts +2 -2
- package/dts/views/itsm-flow-acceptance/index.vue.d.ts +1 -1
- package/dts/views/itsm-flow-entrust/edit.vue.d.ts +2 -2
- package/dts/views/itsm-flow-entrust/index.vue.d.ts +1 -1
- package/dts/views/itsm-flow-reckoning/edit.vue.d.ts +2 -2
- package/dts/views/itsm-flow-reckoning/index.vue.d.ts +1 -1
- package/package.json +63 -63
|
@@ -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 Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
16
16
|
modelModifiers: {}
|
|
17
17
|
}),
|
|
18
18
|
emits: /* @__PURE__ */ L(["refresh"], ["update:modelValue"]),
|
|
19
|
-
setup(
|
|
20
|
-
const
|
|
21
|
-
console.log(
|
|
22
|
-
const U = new
|
|
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
25
|
U.useValues();
|
|
26
|
-
const
|
|
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
|
+
});
|
|
52
58
|
}
|
|
53
|
-
function
|
|
54
|
-
|
|
55
|
-
|
|
59
|
+
function Y() {
|
|
60
|
+
$.value = !0, D.value.clearFileList();
|
|
61
|
+
}
|
|
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 Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
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,119 +115,120 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
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
|
|
162
|
+
function se(l) {
|
|
154
163
|
const e = U.values.find(
|
|
155
|
-
(
|
|
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
|
-
_: 1
|
|
208
|
+
_: 1,
|
|
209
|
+
__: [13]
|
|
200
210
|
}),
|
|
201
|
-
t(
|
|
211
|
+
t(ce, {
|
|
202
212
|
ref_key: "itsmFlowAcceptanceFormRef",
|
|
203
|
-
ref:
|
|
204
|
-
model: d(
|
|
213
|
+
ref: C,
|
|
214
|
+
model: d(o),
|
|
205
215
|
"label-width": "150px",
|
|
206
|
-
rules:
|
|
216
|
+
rules: ee,
|
|
207
217
|
class: "custom-table-form custom-form"
|
|
208
218
|
}, {
|
|
209
219
|
default: a(() => [
|
|
210
|
-
t(
|
|
220
|
+
t(M, null, {
|
|
211
221
|
default: a(() => [
|
|
212
|
-
t(
|
|
222
|
+
t(n, { span: 24 }, {
|
|
213
223
|
default: a(() => [
|
|
214
|
-
t(
|
|
224
|
+
t(i, {
|
|
215
225
|
label: l.$t("itsmFlowAcceptance.contractName"),
|
|
216
226
|
prop: "contractName"
|
|
217
227
|
}, {
|
|
218
228
|
default: a(() => [
|
|
219
|
-
t(
|
|
220
|
-
modelValue: d(
|
|
221
|
-
"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),
|
|
222
232
|
placeholder: l.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
223
233
|
disabled: ""
|
|
224
234
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -228,16 +238,16 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
228
238
|
]),
|
|
229
239
|
_: 1
|
|
230
240
|
}),
|
|
231
|
-
t(
|
|
241
|
+
t(n, { span: 24 }, {
|
|
232
242
|
default: a(() => [
|
|
233
|
-
t(
|
|
243
|
+
t(i, {
|
|
234
244
|
label: l.$t("itsmFlowAcceptance.contractNo"),
|
|
235
245
|
prop: "contractNo"
|
|
236
246
|
}, {
|
|
237
247
|
default: a(() => [
|
|
238
|
-
t(
|
|
239
|
-
modelValue: d(
|
|
240
|
-
"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),
|
|
241
251
|
placeholder: l.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
242
252
|
disabled: ""
|
|
243
253
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -247,22 +257,22 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
247
257
|
]),
|
|
248
258
|
_: 1
|
|
249
259
|
}),
|
|
250
|
-
t(
|
|
260
|
+
t(n, { span: 24 }, {
|
|
251
261
|
default: a(() => [
|
|
252
|
-
t(
|
|
262
|
+
t(i, {
|
|
253
263
|
label: l.$t("itsmFlowAcceptance.orderId"),
|
|
254
264
|
prop: "orderNo"
|
|
255
265
|
}, {
|
|
256
266
|
default: a(() => [
|
|
257
|
-
t(
|
|
258
|
-
modelValue: d(
|
|
259
|
-
"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),
|
|
260
270
|
placeholder: l.$t("itsmFlowAcceptance.orderIdRequired"),
|
|
261
271
|
data: d(U).values,
|
|
262
272
|
clearable: "",
|
|
263
273
|
filterable: "",
|
|
264
274
|
class: "w-full",
|
|
265
|
-
onChange:
|
|
275
|
+
onChange: se
|
|
266
276
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
267
277
|
]),
|
|
268
278
|
_: 1
|
|
@@ -270,37 +280,45 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
270
280
|
]),
|
|
271
281
|
_: 1
|
|
272
282
|
}),
|
|
273
|
-
t(
|
|
283
|
+
t(n, { span: 24 }, {
|
|
274
284
|
default: a(() => [
|
|
275
|
-
t(
|
|
285
|
+
t(i, {
|
|
276
286
|
label: l.$t("itsmFlowAcceptance.entrustName"),
|
|
277
287
|
prop: "entrustName"
|
|
278
288
|
}, {
|
|
279
289
|
default: a(() => [
|
|
280
|
-
t(
|
|
281
|
-
modelValue: d(
|
|
282
|
-
"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),
|
|
283
293
|
placeholder: l.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
284
|
-
data: d(A).projectNameDict.values,
|
|
285
294
|
disabled: "",
|
|
286
295
|
class: "w-full"
|
|
287
|
-
},
|
|
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"])
|
|
288
306
|
]),
|
|
289
307
|
_: 1
|
|
290
308
|
}, 8, ["label"])
|
|
291
309
|
]),
|
|
292
310
|
_: 1
|
|
293
311
|
}),
|
|
294
|
-
t(
|
|
312
|
+
t(n, { span: 12 }, {
|
|
295
313
|
default: a(() => [
|
|
296
|
-
t(
|
|
314
|
+
t(i, {
|
|
297
315
|
label: l.$t("itsmFlowAcceptance.serviceOrg"),
|
|
298
316
|
prop: "serviceOrg"
|
|
299
317
|
}, {
|
|
300
318
|
default: a(() => [
|
|
301
|
-
t(
|
|
302
|
-
modelValue: d(
|
|
303
|
-
"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),
|
|
304
322
|
placeholder: l.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
305
323
|
data: d(A).orgIdBizDict.values,
|
|
306
324
|
disabled: "",
|
|
@@ -312,16 +330,16 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
312
330
|
]),
|
|
313
331
|
_: 1
|
|
314
332
|
}),
|
|
315
|
-
t(
|
|
333
|
+
t(n, { span: 12 }, {
|
|
316
334
|
default: a(() => [
|
|
317
|
-
t(
|
|
335
|
+
t(i, {
|
|
318
336
|
label: l.$t("itsmFlowAcceptance.stage"),
|
|
319
337
|
prop: "stage"
|
|
320
338
|
}, {
|
|
321
339
|
default: a(() => [
|
|
322
|
-
t(
|
|
323
|
-
modelValue: d(
|
|
324
|
-
"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),
|
|
325
343
|
placeholder: l.$t("itsmFlowAcceptance.stageRequired"),
|
|
326
344
|
maxlength: "15",
|
|
327
345
|
"show-word-limit": "",
|
|
@@ -333,17 +351,17 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
333
351
|
]),
|
|
334
352
|
_: 1
|
|
335
353
|
}),
|
|
336
|
-
t(
|
|
354
|
+
t(n, { span: 12 }, {
|
|
337
355
|
default: a(() => [
|
|
338
|
-
t(
|
|
356
|
+
t(i, {
|
|
339
357
|
label: l.$t("itsmFlowAcceptance.headman"),
|
|
340
358
|
prop: `headmanName\r
|
|
341
359
|
`
|
|
342
360
|
}, {
|
|
343
361
|
default: a(() => [
|
|
344
|
-
t(
|
|
345
|
-
modelValue: d(
|
|
346
|
-
"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),
|
|
347
365
|
placeholder: l.$t("itsmFlowAcceptance.headmanRequired"),
|
|
348
366
|
disabled: ""
|
|
349
367
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -353,21 +371,22 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
353
371
|
]),
|
|
354
372
|
_: 1
|
|
355
373
|
}),
|
|
356
|
-
t(
|
|
374
|
+
t(n, { span: 12 }, {
|
|
357
375
|
default: a(() => [
|
|
358
|
-
t(
|
|
376
|
+
t(i, {
|
|
359
377
|
label: l.$t("itsmFlowAcceptance.members")
|
|
360
378
|
}, {
|
|
361
379
|
default: a(() => [
|
|
362
|
-
t(
|
|
363
|
-
modelValue:
|
|
364
|
-
"onUpdate:modelValue": e[7] || (e[7] = (
|
|
380
|
+
t(q, {
|
|
381
|
+
modelValue: f.value,
|
|
382
|
+
"onUpdate:modelValue": e[7] || (e[7] = (s) => f.value = s),
|
|
365
383
|
placeholder: l.$t("itsmFlowAcceptance.membersRequired"),
|
|
366
|
-
data: d(
|
|
384
|
+
data: d(_).values,
|
|
367
385
|
clearable: "",
|
|
368
386
|
multiple: "",
|
|
369
387
|
filterable: "",
|
|
370
|
-
class: "w-full"
|
|
388
|
+
class: "w-full",
|
|
389
|
+
onChange: X
|
|
371
390
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
372
391
|
]),
|
|
373
392
|
_: 1
|
|
@@ -375,40 +394,40 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
375
394
|
]),
|
|
376
395
|
_: 1
|
|
377
396
|
}),
|
|
378
|
-
t(
|
|
397
|
+
t(n, { span: 24 }, {
|
|
379
398
|
default: a(() => [
|
|
380
|
-
t(
|
|
399
|
+
t(i, {
|
|
381
400
|
label: l.$t("itsmFlowAcceptance.files"),
|
|
382
401
|
prop: "files"
|
|
383
402
|
}, {
|
|
384
403
|
default: a(() => [
|
|
385
|
-
t(
|
|
404
|
+
t(I, {
|
|
386
405
|
type: "primary",
|
|
387
|
-
icon: d(
|
|
388
|
-
onClick:
|
|
406
|
+
icon: d(he),
|
|
407
|
+
onClick: Y
|
|
389
408
|
}, {
|
|
390
409
|
default: a(() => [
|
|
391
|
-
v(
|
|
410
|
+
v(F(l.$t("common.uploadFiles")), 1)
|
|
392
411
|
]),
|
|
393
412
|
_: 1
|
|
394
413
|
}, 8, ["icon"])
|
|
395
414
|
]),
|
|
396
415
|
_: 1
|
|
397
416
|
}, 8, ["label"]),
|
|
398
|
-
t(
|
|
417
|
+
t(i, null, {
|
|
399
418
|
default: a(() => [
|
|
400
|
-
(
|
|
419
|
+
(h(!0), R(G, null, J(m.value, (s, K) => (h(), R("div", {
|
|
401
420
|
key: K,
|
|
402
421
|
class: "files-list"
|
|
403
422
|
}, [
|
|
404
|
-
v(
|
|
405
|
-
t(
|
|
423
|
+
v(F(s.fileName) + " ", 1),
|
|
424
|
+
t(ie, {
|
|
406
425
|
size: "16",
|
|
407
426
|
class: "icon-right",
|
|
408
|
-
onClick: (
|
|
427
|
+
onClick: (_e) => Z(K, s)
|
|
409
428
|
}, {
|
|
410
429
|
default: a(() => [
|
|
411
|
-
t(
|
|
430
|
+
t(re)
|
|
412
431
|
]),
|
|
413
432
|
_: 2
|
|
414
433
|
}, 1032, ["onClick"])
|
|
@@ -419,16 +438,16 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
419
438
|
]),
|
|
420
439
|
_: 1
|
|
421
440
|
}),
|
|
422
|
-
t(
|
|
441
|
+
t(n, { span: 24 }, {
|
|
423
442
|
default: a(() => [
|
|
424
|
-
t(
|
|
443
|
+
t(i, {
|
|
425
444
|
label: l.$t("itsmFlowAcceptance.serviceContent"),
|
|
426
445
|
prop: "serviceContent"
|
|
427
446
|
}, {
|
|
428
447
|
default: a(() => [
|
|
429
|
-
t(
|
|
430
|
-
modelValue: d(
|
|
431
|
-
"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),
|
|
432
451
|
placeholder: l.$t("itsmFlowAcceptance.orderIdRequireds"),
|
|
433
452
|
maxlength: "500",
|
|
434
453
|
rows: 4,
|
|
@@ -442,16 +461,16 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
442
461
|
]),
|
|
443
462
|
_: 1
|
|
444
463
|
}),
|
|
445
|
-
t(
|
|
464
|
+
t(n, { span: 12 }, {
|
|
446
465
|
default: a(() => [
|
|
447
|
-
t(
|
|
466
|
+
t(i, {
|
|
448
467
|
label: l.$t("itsmFlowAcceptance.result"),
|
|
449
468
|
prop: "result"
|
|
450
469
|
}, {
|
|
451
470
|
default: a(() => [
|
|
452
|
-
t(
|
|
453
|
-
modelValue: d(
|
|
454
|
-
"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),
|
|
455
474
|
data: d(A).isValuesDict.values,
|
|
456
475
|
disabled: ""
|
|
457
476
|
}, null, 8, ["modelValue", "data"])
|
|
@@ -461,16 +480,16 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
461
480
|
]),
|
|
462
481
|
_: 1
|
|
463
482
|
}),
|
|
464
|
-
t(
|
|
483
|
+
t(n, { span: 24 }, {
|
|
465
484
|
default: a(() => [
|
|
466
|
-
t(
|
|
485
|
+
t(i, {
|
|
467
486
|
label: l.$t("itsmFlowAcceptance.evaluate"),
|
|
468
487
|
prop: "evaluate"
|
|
469
488
|
}, {
|
|
470
489
|
default: a(() => [
|
|
471
|
-
t(
|
|
472
|
-
modelValue: d(
|
|
473
|
-
"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),
|
|
474
493
|
placeholder: l.$t("itsmFlowAcceptance.evaluateRequired"),
|
|
475
494
|
maxlength: "500",
|
|
476
495
|
rows: 4,
|
|
@@ -487,46 +506,48 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
487
506
|
]),
|
|
488
507
|
_: 1
|
|
489
508
|
}),
|
|
490
|
-
t(
|
|
509
|
+
t(M, { class: "bordered-row" }, {
|
|
491
510
|
default: a(() => [
|
|
492
|
-
t(
|
|
511
|
+
t(n, { span: 12 }, {
|
|
493
512
|
default: a(() => e[14] || (e[14] = [
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
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, "负责人(签字):")
|
|
499
518
|
]),
|
|
500
|
-
|
|
519
|
+
u("div", { class: "content-box-bottom" }, [
|
|
501
520
|
v(" 日期: "),
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
521
|
+
u("span", null, "年"),
|
|
522
|
+
u("span", null, "月"),
|
|
523
|
+
u("span", null, "日")
|
|
505
524
|
])
|
|
506
525
|
], -1)
|
|
507
526
|
])),
|
|
508
|
-
_: 1
|
|
527
|
+
_: 1,
|
|
528
|
+
__: [14]
|
|
509
529
|
}),
|
|
510
|
-
t(
|
|
530
|
+
t(n, {
|
|
511
531
|
span: 12,
|
|
512
532
|
class: "with-divider"
|
|
513
533
|
}, {
|
|
514
534
|
default: a(() => e[15] || (e[15] = [
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
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, "负责人(签字):")
|
|
520
540
|
]),
|
|
521
|
-
|
|
541
|
+
u("div", { class: "content-box-bottom" }, [
|
|
522
542
|
v(" 日期: "),
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
543
|
+
u("span", null, "年"),
|
|
544
|
+
u("span", null, "月"),
|
|
545
|
+
u("span", null, "日")
|
|
526
546
|
])
|
|
527
547
|
], -1)
|
|
528
548
|
])),
|
|
529
|
-
_: 1
|
|
549
|
+
_: 1,
|
|
550
|
+
__: [15]
|
|
530
551
|
})
|
|
531
552
|
]),
|
|
532
553
|
_: 1
|
|
@@ -534,20 +555,21 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
|
|
|
534
555
|
]),
|
|
535
556
|
_: 1
|
|
536
557
|
}, 8, ["model", "rules"]),
|
|
537
|
-
e[16] || (e[16] =
|
|
538
|
-
t(
|
|
558
|
+
e[16] || (e[16] = u("div", { class: "with-end" }, "注:验收书编号在验收通过后自动生成。", -1)),
|
|
559
|
+
t(pe, {
|
|
539
560
|
ref_key: "uploadRef",
|
|
540
|
-
ref:
|
|
541
|
-
modelValue:
|
|
542
|
-
"onUpdate:modelValue": e[11] || (e[11] = (
|
|
543
|
-
onUploadFileList:
|
|
561
|
+
ref: D,
|
|
562
|
+
modelValue: $.value,
|
|
563
|
+
"onUpdate:modelValue": e[11] || (e[11] = (s) => $.value = s),
|
|
564
|
+
onUploadFileList: x
|
|
544
565
|
}, null, 8, ["modelValue"])
|
|
545
566
|
]),
|
|
546
|
-
_: 1
|
|
567
|
+
_: 1,
|
|
568
|
+
__: [16]
|
|
547
569
|
}, 8, ["modelValue"]);
|
|
548
570
|
};
|
|
549
571
|
}
|
|
550
572
|
});
|
|
551
573
|
export {
|
|
552
|
-
|
|
574
|
+
Ue as _
|
|
553
575
|
};
|