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.
Files changed (38) hide show
  1. package/README.md +51 -51
  2. package/dist/{FileSaver.min-BeKvLuyk.mjs → FileSaver.min-5d27MsC6.mjs} +12 -12
  3. package/dist/{edit-BnJnxvY6.mjs → edit-CnakOAD-.mjs} +1 -1
  4. package/dist/{edit-D8J1Znw_.mjs → edit-D3-wS-p6.mjs} +1 -1
  5. package/dist/{edit-har-8Y54.mjs → edit-DQMyPUX8.mjs} +1 -1
  6. 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
  7. package/dist/{edit.vue_vue_type_script_setup_true_lang-QsTI3qOD.mjs → edit.vue_vue_type_script_setup_true_lang-CkrOBeOD.mjs} +222 -214
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-TXBAzoPS.mjs → edit.vue_vue_type_script_setup_true_lang-VE9Mh9aa.mjs} +216 -194
  9. package/dist/{el-message-CIdVBT5R.mjs → el-message-CDs_oXSE.mjs} +357 -366
  10. package/dist/{index-DugZK_BS.mjs → index-B80qPhYo.mjs} +50 -48
  11. package/dist/{index-DKIrRXT5.mjs → index-C7hbVzPq.mjs} +12 -12
  12. package/dist/{index-DBIF93AC.mjs → index-CKoTtfru.mjs} +22 -19
  13. package/dist/{index-CF0oM0UA.mjs → index-DNIaYp-o.mjs} +107 -101
  14. package/dist/{index-Cp3csR1g.mjs → index-DpW0lTlN.mjs} +12 -12
  15. package/dist/{index-BAHlhmvh.mjs → index-GS9GloHa.mjs} +95 -92
  16. package/dist/{index-bMREgnhp.mjs → index-JNNDVNJY.mjs} +15 -15
  17. package/dist/{index-C6XFHtva.mjs → index-kApGKfsk.mjs} +25 -22
  18. package/dist/{index-DnFWLmFk.mjs → index-tB0z_CCe.mjs} +21 -18
  19. package/dist/{index-BjBTIknS.mjs → index-yHpZct-P.mjs} +211 -203
  20. package/dist/index.mjs +1 -1
  21. package/dist/style.css +1 -1
  22. package/dts/api/itsm-flow-acceptance/types.d.ts +2 -0
  23. package/dts/api/itsm-flow-entrust/types.d.ts +3 -1
  24. package/dts/api/itsm-flow-entrust-user/types.d.ts +3 -1
  25. package/dts/api/itsm-flow-reckoning/types.d.ts +1 -1
  26. package/dts/components/TaskItsmFlowAcceptance/index.vue.d.ts +2 -2
  27. package/dts/components/TaskItsmFlowAcceptanceEdit/index.vue.d.ts +2 -2
  28. package/dts/components/TaskItsmFlowEntrust/index.vue.d.ts +2 -2
  29. package/dts/components/TaskItsmFlowEntrustEdit/index.vue.d.ts +2 -2
  30. package/dts/components/TaskItsmFlowReckoning/index.vue.d.ts +2 -2
  31. package/dts/components/TaskItsmFlowReckoningEdit/index.vue.d.ts +2 -2
  32. package/dts/views/itsm-flow-acceptance/edit.vue.d.ts +2 -2
  33. package/dts/views/itsm-flow-acceptance/index.vue.d.ts +1 -1
  34. package/dts/views/itsm-flow-entrust/edit.vue.d.ts +2 -2
  35. package/dts/views/itsm-flow-entrust/index.vue.d.ts +1 -1
  36. package/dts/views/itsm-flow-reckoning/edit.vue.d.ts +2 -2
  37. package/dts/views/itsm-flow-reckoning/index.vue.d.ts +1 -1
  38. package/package.json +63 -63
@@ -1,9 +1,9 @@
1
- import { defineComponent as ue, mergeModels as L, ref as f, useModel as ie, reactive as M, resolveComponent as i, openBlock as R, createBlock as me, withCtx as a, createElementVNode as r, createVNode as t, createTextVNode as v, toDisplayString as y, unref as d, createElementBlock as T, Fragment as ce, renderList as pe } 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 fe } from "vue-i18n";
4
- import { I as ve, C as j, U as be, D as A, i as h, u as we } from "./index-DugZK_BS.mjs";
5
- import { useUserStore as ge } from "jmash-core";
6
- const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
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(D, { emit: H }) {
20
- const I = f(!1), S = f(), { t: b } = fe(), _ = f(), p = ie(D, "modelValue"), B = H, $ = f([]), w = f([]), m = f([]), g = f([]), C = ge();
21
- console.log(C.user);
22
- const U = new ve({
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 q = new be({
26
+ const _ = new ye({
27
27
  userType: j.userType.companyManager
28
28
  });
29
- q.useValues(), A.orgIdBizDict.useValues();
30
- function J() {
31
- var e;
32
- const l = (e = C.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: C.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
+ });
52
58
  }
53
- function P(l, e) {
54
- m == null || m.value.splice(l, 1), g.value = g.value.filter(
55
- (o) => o.fileId !== e.fileId
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 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 Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
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
- $.value = w.value.map((l) => {
100
- const e = q.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,119 +115,120 @@ const Fe = { class: "title" }, $e = /* @__PURE__ */ ue({
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: $.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: $.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) {
162
+ function se(l) {
154
163
  const e = U.values.find(
155
- (o) => o.key === l
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"), k = i("jmash-select"), te = i("jmash-dict-select"), N = i("el-button"), ae = i("CircleClose"), oe = i("el-icon"), se = i("jmash-enum-radio"), z = i("el-row"), ne = i("el-form"), de = i("jmash-multi-upload"), re = i("el-dialog");
161
- return R(), me(re, {
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", Fe, [
168
- t(N, { 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(N, {
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(N, {
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
- _: 1
208
+ _: 1,
209
+ __: [13]
200
210
  }),
201
- t(ne, {
211
+ t(ce, {
202
212
  ref_key: "itsmFlowAcceptanceFormRef",
203
- ref: _,
204
- model: d(s),
213
+ ref: C,
214
+ model: d(o),
205
215
  "label-width": "150px",
206
- rules: W,
216
+ rules: ee,
207
217
  class: "custom-table-form custom-form"
208
218
  }, {
209
219
  default: a(() => [
210
- t(z, null, {
220
+ t(M, null, {
211
221
  default: a(() => [
212
- t(o, { span: 24 }, {
222
+ t(n, { span: 24 }, {
213
223
  default: a(() => [
214
- t(u, {
224
+ t(i, {
215
225
  label: l.$t("itsmFlowAcceptance.contractName"),
216
226
  prop: "contractName"
217
227
  }, {
218
228
  default: a(() => [
219
- t(c, {
220
- modelValue: d(s).contractName,
221
- "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),
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(o, { span: 24 }, {
241
+ t(n, { span: 24 }, {
232
242
  default: a(() => [
233
- t(u, {
243
+ t(i, {
234
244
  label: l.$t("itsmFlowAcceptance.contractNo"),
235
245
  prop: "contractNo"
236
246
  }, {
237
247
  default: a(() => [
238
- t(c, {
239
- modelValue: d(s).contractNo,
240
- "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),
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(o, { span: 24 }, {
260
+ t(n, { span: 24 }, {
251
261
  default: a(() => [
252
- t(u, {
262
+ t(i, {
253
263
  label: l.$t("itsmFlowAcceptance.orderId"),
254
264
  prop: "orderNo"
255
265
  }, {
256
266
  default: a(() => [
257
- t(k, {
258
- modelValue: d(s).orderNo,
259
- "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),
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: le
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(o, { span: 24 }, {
283
+ t(n, { span: 24 }, {
274
284
  default: a(() => [
275
- t(u, {
285
+ t(i, {
276
286
  label: l.$t("itsmFlowAcceptance.entrustName"),
277
287
  prop: "entrustName"
278
288
  }, {
279
289
  default: a(() => [
280
- t(te, {
281
- modelValue: d(s).entrustName,
282
- "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),
283
293
  placeholder: l.$t("itsmFlowAcceptance.orderIdRequireds"),
284
- data: d(A).projectNameDict.values,
285
294
  disabled: "",
286
295
  class: "w-full"
287
- }, 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"])
288
306
  ]),
289
307
  _: 1
290
308
  }, 8, ["label"])
291
309
  ]),
292
310
  _: 1
293
311
  }),
294
- t(o, { span: 12 }, {
312
+ t(n, { span: 12 }, {
295
313
  default: a(() => [
296
- t(u, {
314
+ t(i, {
297
315
  label: l.$t("itsmFlowAcceptance.serviceOrg"),
298
316
  prop: "serviceOrg"
299
317
  }, {
300
318
  default: a(() => [
301
- t(k, {
302
- modelValue: d(s).serviceOrg,
303
- "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),
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(o, { span: 12 }, {
333
+ t(n, { span: 12 }, {
316
334
  default: a(() => [
317
- t(u, {
335
+ t(i, {
318
336
  label: l.$t("itsmFlowAcceptance.stage"),
319
337
  prop: "stage"
320
338
  }, {
321
339
  default: a(() => [
322
- t(c, {
323
- modelValue: d(s).stage,
324
- "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),
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(o, { span: 12 }, {
354
+ t(n, { span: 12 }, {
337
355
  default: a(() => [
338
- t(u, {
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(c, {
345
- modelValue: d(s).headmanName,
346
- "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),
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(o, { span: 12 }, {
374
+ t(n, { span: 12 }, {
357
375
  default: a(() => [
358
- t(u, {
376
+ t(i, {
359
377
  label: l.$t("itsmFlowAcceptance.members")
360
378
  }, {
361
379
  default: a(() => [
362
- t(k, {
363
- modelValue: w.value,
364
- "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),
365
383
  placeholder: l.$t("itsmFlowAcceptance.membersRequired"),
366
- data: d(q).values,
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(o, { span: 24 }, {
397
+ t(n, { span: 24 }, {
379
398
  default: a(() => [
380
- t(u, {
399
+ t(i, {
381
400
  label: l.$t("itsmFlowAcceptance.files"),
382
401
  prop: "files"
383
402
  }, {
384
403
  default: a(() => [
385
- t(N, {
404
+ t(I, {
386
405
  type: "primary",
387
- icon: d(we),
388
- onClick: G
406
+ icon: d(he),
407
+ onClick: Y
389
408
  }, {
390
409
  default: a(() => [
391
- v(y(l.$t("common.uploadFiles")), 1)
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(u, null, {
417
+ t(i, null, {
399
418
  default: a(() => [
400
- (R(!0), T(ce, null, pe(m.value, (n, K) => (R(), T("div", {
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(y(n.fileName) + " ", 1),
405
- t(oe, {
423
+ v(F(s.fileName) + " ", 1),
424
+ t(ie, {
406
425
  size: "16",
407
426
  class: "icon-right",
408
- onClick: (Ve) => P(K, n)
427
+ onClick: (_e) => Z(K, s)
409
428
  }, {
410
429
  default: a(() => [
411
- t(ae)
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(o, { span: 24 }, {
441
+ t(n, { span: 24 }, {
423
442
  default: a(() => [
424
- t(u, {
443
+ t(i, {
425
444
  label: l.$t("itsmFlowAcceptance.serviceContent"),
426
445
  prop: "serviceContent"
427
446
  }, {
428
447
  default: a(() => [
429
- t(c, {
430
- modelValue: d(s).serviceContent,
431
- "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),
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(o, { span: 12 }, {
464
+ t(n, { span: 12 }, {
446
465
  default: a(() => [
447
- t(u, {
466
+ t(i, {
448
467
  label: l.$t("itsmFlowAcceptance.result"),
449
468
  prop: "result"
450
469
  }, {
451
470
  default: a(() => [
452
- t(se, {
453
- modelValue: d(s).result,
454
- "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),
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(o, { span: 24 }, {
483
+ t(n, { span: 24 }, {
465
484
  default: a(() => [
466
- t(u, {
485
+ t(i, {
467
486
  label: l.$t("itsmFlowAcceptance.evaluate"),
468
487
  prop: "evaluate"
469
488
  }, {
470
489
  default: a(() => [
471
- t(c, {
472
- modelValue: d(s).evaluate,
473
- "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),
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(z, { class: "bordered-row" }, {
509
+ t(M, { class: "bordered-row" }, {
491
510
  default: a(() => [
492
- t(o, { span: 12 }, {
511
+ t(n, { span: 12 }, {
493
512
  default: a(() => e[14] || (e[14] = [
494
- r("div", { class: "content-box" }, [
495
- r("div", { class: "content-box-top" }, [
496
- r("div", null, "项目验收小组:"),
497
- r("div", null, "单位(盖章):"),
498
- 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, "负责人(签字):")
499
518
  ]),
500
- r("div", { class: "content-box-bottom" }, [
519
+ u("div", { class: "content-box-bottom" }, [
501
520
  v(" 日期: "),
502
- r("span", null, "年"),
503
- r("span", null, "月"),
504
- r("span", null, "日")
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(o, {
530
+ t(n, {
511
531
  span: 12,
512
532
  class: "with-divider"
513
533
  }, {
514
534
  default: a(() => e[15] || (e[15] = [
515
- r("div", { class: "content-box" }, [
516
- r("div", { class: "content-box-top" }, [
517
- r("div", null, "服务人员所属单位:"),
518
- r("div", null, "单位(盖章):"),
519
- 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, "负责人(签字):")
520
540
  ]),
521
- r("div", { class: "content-box-bottom" }, [
541
+ u("div", { class: "content-box-bottom" }, [
522
542
  v(" 日期: "),
523
- r("span", null, "年"),
524
- r("span", null, "月"),
525
- r("span", null, "日")
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] = r("div", { class: "with-end" }, "注:验收书编号在验收通过后自动生成。", -1)),
538
- t(de, {
558
+ e[16] || (e[16] = u("div", { class: "with-end" }, "注:验收书编号在验收通过后自动生成。", -1)),
559
+ t(pe, {
539
560
  ref_key: "uploadRef",
540
- ref: S,
541
- modelValue: I.value,
542
- "onUpdate:modelValue": e[11] || (e[11] = (n) => I.value = n),
543
- onUploadFileList: Q
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
- $e as _
574
+ Ue as _
553
575
  };