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