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.
Files changed (27) hide show
  1. package/dist/{common--K4gGsNT.mjs → common-Cwl5jzlM.mjs} +1 -1
  2. package/dist/{edit-B621RtNS.mjs → edit-BnJnxvY6.mjs} +1 -1
  3. package/dist/{edit-CoRzQ2SK.mjs → edit-D8J1Znw_.mjs} +1 -1
  4. package/dist/{edit-Czk64Yon.mjs → edit-har-8Y54.mjs} +1 -1
  5. 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
  6. 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
  7. package/dist/edit.vue_vue_type_script_setup_true_lang-TXBAzoPS.mjs +553 -0
  8. package/dist/{el-message-FfNjxLv_.mjs → el-message-CIdVBT5R.mjs} +1 -1
  9. package/dist/{index-BCP5cBN6.mjs → index-BAHlhmvh.mjs} +60 -61
  10. package/dist/{index-DX1PURJy.mjs → index-BjBTIknS.mjs} +115 -114
  11. package/dist/{index-B5vmtcUk.mjs → index-C6XFHtva.mjs} +92 -95
  12. package/dist/{index-CVbpEq7V.mjs → index-CF0oM0UA.mjs} +139 -100
  13. package/dist/{index-CdzhLCkX.mjs → index-Cp3csR1g.mjs} +3 -3
  14. package/dist/{index-Dld6YbIV.mjs → index-DBIF93AC.mjs} +177 -150
  15. package/dist/{index-BlBkHqXR.mjs → index-DKIrRXT5.mjs} +2 -2
  16. package/dist/{index-CRHpl0qA.mjs → index-DnFWLmFk.mjs} +58 -59
  17. package/dist/{index-DY7ZV5kq.mjs → index-DugZK_BS.mjs} +96 -78
  18. package/dist/{index-BJl7xHYx.mjs → index-bMREgnhp.mjs} +14 -14
  19. package/dist/index.mjs +63 -60
  20. package/dts/api/itsm-flow-acceptance/index.d.ts +3 -1
  21. package/dts/api/itsm-flow-acceptance/types.d.ts +24 -1
  22. package/dts/api/itsm-flow-entrust/index.d.ts +0 -3
  23. package/dts/constant.d.ts +3 -0
  24. package/dts/lang/itsm-flow/zh-cn.d.ts +3 -0
  25. package/dts/views/itsm-flow-acceptance/edit.vue.d.ts +4 -4
  26. package/package.json +1 -1
  27. package/dist/edit.vue_vue_type_script_setup_true_lang-BYz7O3Xi.mjs +0 -523
@@ -1,12 +1,12 @@
1
- import { defineComponent as x, mergeModels as ee, ref as p, useModel as le, reactive as D, resolveComponent as i, openBlock as A, createElementBlock as I, Fragment as B, createVNode as l, withCtx as o, createElementVNode as r, unref as s, createTextVNode as v, toDisplayString as z, renderList as ae } from "vue";
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 te } from "vue-router";
4
- import { useI18n as oe } from "vue-i18n";
5
- import { I as se, C as N, U as ne, d as de, D as h, a as re, i as ue, u as ie } from "./index-DY7ZV5kq.mjs";
6
- import { E as M } from "./el-message-FfNjxLv_.mjs";
7
- const Fe = /* @__PURE__ */ x({
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__ */ ee({
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($, { expose: O }) {
21
- const { t: b } = oe(), w = p(!1), _ = p(), q = p([]), f = p([]);
22
- p();
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
- g.useValues();
27
- const F = new ne({
28
- userType: N.userType.companyManager
24
+ I.useValues();
25
+ const y = new me({
26
+ userType: g.userType.companyManager
29
27
  });
30
- F.useValues(), new de({}).useValues(), h.orgIdBizDict.useValues();
31
- const E = te(), k = $, C = p({
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: E.query.applyId
35
- }), c = le($, "modelValue"), R = p();
36
- let t = D({
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 j() {
40
- w.value = !0, _.value.clearFileList();
54
+ function P() {
55
+ N.value = !0, R.value.clearFileList();
41
56
  }
42
- function L(a) {
43
- var e;
44
- (e = t.files) == null || e.splice(a, 1);
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 S(a) {
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
- (n = t.files) == null || n.push(e), t.files = [...new Set(t.files)];
67
+ c == null || c.value.push(e), c.value = [...new Set(c.value)], b.value.push(e);
53
68
  }
54
- const T = D({
69
+ const W = O({
55
70
  orderNo: [
56
71
  {
57
72
  required: !0,
58
- message: b("itsmFlowAcceptance.orderIdRequired"),
73
+ message: h("itsmFlowAcceptance.orderIdRequired"),
59
74
  trigger: "change"
60
75
  }
61
76
  ],
62
77
  stage: [
63
78
  {
64
79
  required: !0,
65
- message: b("itsmFlowAcceptance.stageRequired"),
80
+ message: h("itsmFlowAcceptance.stageRequired"),
66
81
  trigger: "blur"
67
82
  }
68
83
  ]
69
84
  });
70
- k.task.businessKey && K(), O({
71
- changeModel: () => G()
85
+ j.task.businessKey && Q(), E({
86
+ changeModel: () => Y()
72
87
  });
73
- function P(a) {
74
- const e = g.values.find(
88
+ function J(a) {
89
+ const e = I.values.find(
75
90
  (n) => n.key === a
76
91
  );
77
- t.contractName = (e == null ? void 0 : e.contractName) ?? "", t.contractNo = (e == null ? void 0 : e.contractNo) ?? "", t.serviceOrg = (e == null ? void 0 : e.serviceOrg) ?? "", t.entrustName = (e == null ? void 0 : e.entrustName) ?? "", t.serviceContent = (e == null ? void 0 : e.workContent) ?? "";
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 K() {
80
- C.value.acceptanceId = k.task.businessKey, re.findById({ entrustId: C.value.acceptanceId }).then(({ data: a }) => {
81
- Object.assign(t, a);
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 W() {
85
- q.value = f.value.map((a) => {
86
- const e = F.values.find(
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 G() {
96
- return c.value && (c.value.selectActions = [
119
+ function Y() {
120
+ return f.value && (f.value.selectActions = [
97
121
  { key: "true", value: "同意" },
98
122
  { key: "false", value: "不同意" }
99
- ], c.value.varName = "approved", c.value.module = "", c.value.module = N.MODULE_ITSMFLOW), new Promise((a, e) => {
123
+ ], f.value.varName = "approved", f.value.module = "", f.value.module = g.MODULE_ITSMFLOW), new Promise((a, e) => {
100
124
  var n;
101
- (n = R.value) == null || n.validate((m) => {
125
+ (n = z.value) == null || n.validate((m) => {
102
126
  if (m) {
103
- if (c.value) {
104
- if (c.value.comment = "", W(), f.value.length === 0) {
105
- M.warning(b("itsmFlowAcceptance.membersRequired"));
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
- t.requestId = Math.random() * 10 + "", ue.save({
109
- ...t,
110
- members: q.value
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) : (M({
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"), V = i("jmash-select"), y = i("el-row"), H = i("el-button"), J = i("CircleClose"), Q = i("el-icon"), X = i("jmash-enum-radio"), Y = i("el-form"), Z = i("jmash-multi-upload");
125
- return A(), I(B, null, [
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: o(() => e[12] || (e[12] = [
152
+ default: t(() => e[12] || (e[12] = [
128
153
  r("div", { class: "title" }, "山西云时代技术有限公司大数据中心分公司项目验收书", -1)
129
154
  ])),
130
155
  _: 1
131
156
  }),
132
- l(Y, {
157
+ l(te, {
133
158
  ref_key: "taskFormRef",
134
- ref: R,
135
- model: s(t),
159
+ ref: z,
160
+ model: s(o),
136
161
  "label-width": "150px",
137
- rules: T,
162
+ rules: W,
138
163
  class: "custom-table-form custom-form"
139
164
  }, {
140
- default: o(() => [
165
+ default: t(() => [
141
166
  l(n, { span: 24 }, {
142
- default: o(() => [
167
+ default: t(() => [
143
168
  l(u, {
144
169
  label: a.$t("itsmFlowAcceptance.contractName"),
145
170
  prop: "contractName"
146
171
  }, {
147
- default: o(() => [
172
+ default: t(() => [
148
173
  l(m, {
149
- modelValue: s(t).contractName,
150
- "onUpdate:modelValue": e[0] || (e[0] = (d) => s(t).contractName = d),
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: o(() => [
186
+ default: t(() => [
162
187
  l(u, {
163
188
  label: a.$t("itsmFlowAcceptance.contractNo"),
164
189
  prop: "contractNo"
165
190
  }, {
166
- default: o(() => [
191
+ default: t(() => [
167
192
  l(m, {
168
- modelValue: s(t).contractNo,
169
- "onUpdate:modelValue": e[1] || (e[1] = (d) => s(t).contractNo = d),
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: o(() => [
205
+ default: t(() => [
181
206
  l(u, {
182
207
  label: a.$t("itsmFlowAcceptance.orderId"),
183
208
  prop: "orderNo"
184
209
  }, {
185
- default: o(() => [
186
- l(V, {
187
- modelValue: s(t).orderNo,
188
- "onUpdate:modelValue": e[2] || (e[2] = (d) => s(t).orderNo = d),
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(g).values,
215
+ data: s(I).values,
191
216
  clearable: "",
192
217
  filterable: "",
193
218
  class: "w-full",
194
- onChange: P
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: o(() => [
228
+ default: t(() => [
204
229
  l(u, {
205
230
  label: a.$t("itsmFlowAcceptance.entrustName"),
206
231
  prop: "entrustName"
207
232
  }, {
208
- default: o(() => [
209
- l(m, {
210
- modelValue: s(t).entrustName,
211
- "onUpdate:modelValue": e[3] || (e[3] = (d) => s(t).entrustName = d),
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
- disabled: ""
214
- }, null, 8, ["modelValue", "placeholder"])
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(y, null, {
222
- default: o(() => [
248
+ l(_, null, {
249
+ default: t(() => [
223
250
  l(n, { span: 12 }, {
224
- default: o(() => [
251
+ default: t(() => [
225
252
  l(u, {
226
253
  label: a.$t("itsmFlowAcceptance.serviceOrg"),
227
254
  prop: "serviceOrg"
228
255
  }, {
229
- default: o(() => [
230
- l(V, {
231
- modelValue: s(t).serviceOrg,
232
- "onUpdate:modelValue": e[4] || (e[4] = (d) => s(t).serviceOrg = d),
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(h).orgIdBizDict.values,
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: o(() => [
272
+ default: t(() => [
246
273
  l(u, {
247
274
  label: a.$t("itsmFlowAcceptance.stage"),
248
275
  prop: "stage"
249
276
  }, {
250
- default: o(() => [
277
+ default: t(() => [
251
278
  l(m, {
252
- modelValue: s(t).stage,
253
- "onUpdate:modelValue": e[5] || (e[5] = (d) => s(t).stage = d),
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(y, null, {
269
- default: o(() => [
295
+ l(_, null, {
296
+ default: t(() => [
270
297
  l(n, { span: 12 }, {
271
- default: o(() => [
298
+ default: t(() => [
272
299
  l(u, {
273
300
  label: a.$t("itsmFlowAcceptance.headman"),
274
- prop: "headman"
301
+ prop: "headmanName"
275
302
  }, {
276
- default: o(() => [
303
+ default: t(() => [
277
304
  l(m, {
278
- modelValue: s(t).headmanId,
279
- "onUpdate:modelValue": e[6] || (e[6] = (d) => s(t).headmanId = d),
280
- placeholder: a.$t("itsmFlowAcceptance.orderIdRequireds"),
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: o(() => [
317
+ default: t(() => [
291
318
  l(u, {
292
319
  label: a.$t("itsmFlowAcceptance.members")
293
320
  }, {
294
- default: o(() => [
295
- l(V, {
296
- modelValue: f.value,
297
- "onUpdate:modelValue": e[7] || (e[7] = (d) => f.value = 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(F).values,
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: o(() => [
342
+ default: t(() => [
316
343
  l(u, {
317
344
  label: a.$t("itsmFlowAcceptance.files"),
318
345
  prop: "files"
319
346
  }, {
320
- default: o(() => [
321
- l(H, {
347
+ default: t(() => [
348
+ l(x, {
322
349
  type: "primary",
323
- icon: s(ie),
324
- onClick: j
350
+ icon: s(pe),
351
+ onClick: P
325
352
  }, {
326
- default: o(() => [
327
- v(z(a.$t("common.uploadFiles")), 1)
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: o(() => [
336
- (A(!0), I(B, null, ae(s(t).files, (d, U) => (A(), I("div", {
337
- key: U,
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
- v(z(d.fileName) + " ", 1),
341
- l(Q, {
367
+ w(S(d.fileName) + " ", 1),
368
+ l(le, {
342
369
  size: "16",
343
370
  class: "icon-right",
344
- onClick: (ce) => L(U)
371
+ onClick: (be) => H(M, d)
345
372
  }, {
346
- default: o(() => [
347
- l(J)
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: o(() => [
386
+ default: t(() => [
360
387
  l(u, {
361
388
  label: a.$t("itsmFlowAcceptance.serviceContent"),
362
389
  prop: "serviceContent"
363
390
  }, {
364
- default: o(() => [
391
+ default: t(() => [
365
392
  l(m, {
366
- modelValue: s(t).serviceContent,
367
- "onUpdate:modelValue": e[8] || (e[8] = (d) => s(t).serviceContent = d),
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: o(() => [
409
+ default: t(() => [
383
410
  l(u, {
384
411
  label: a.$t("itsmFlowAcceptance.result"),
385
412
  prop: "result"
386
413
  }, {
387
- default: o(() => [
388
- l(X, {
389
- modelValue: s(t).result,
390
- "onUpdate:modelValue": e[9] || (e[9] = (d) => s(t).result = d),
391
- data: s(h).isValuesDict.values,
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: o(() => [
428
+ default: t(() => [
402
429
  l(u, {
403
430
  label: a.$t("itsmFlowAcceptance.evaluate"),
404
431
  prop: "evaluate"
405
432
  }, {
406
- default: o(() => [
433
+ default: t(() => [
407
434
  l(m, {
408
- modelValue: s(t).evaluate,
409
- "onUpdate:modelValue": e[10] || (e[10] = (d) => s(t).evaluate = d),
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(y, { class: "bordered-row" }, {
424
- default: o(() => [
450
+ l(_, { class: "bordered-row" }, {
451
+ default: t(() => [
425
452
  l(n, { span: 12 }, {
426
- default: o(() => e[13] || (e[13] = [
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
- v(" 日期: "),
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: o(() => e[14] || (e[14] = [
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
- v(" 日期: "),
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(Z, {
498
+ l(oe, {
472
499
  ref_key: "uploadRef",
473
- ref: _,
474
- modelValue: w.value,
475
- "onUpdate:modelValue": e[11] || (e[11] = (d) => w.value = d),
476
- onUploadFileList: S
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
- Fe as default
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-DY7ZV5kq.mjs";
5
- import { _ as te } from "./edit.vue_vue_type_script_setup_true_lang-AhC28_ys.mjs";
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) {