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