xyvcard-itsm-flow 0.0.11 → 0.0.12

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