xyvcard-itsm-flow 0.0.10 → 0.0.11

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 (37) 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-B6eDlOpi.mjs} +1 -1
  4. package/dist/{edit-D8J1Znw_.mjs → edit-Cfo0JZSs.mjs} +1 -1
  5. package/dist/{edit-har-8Y54.mjs → edit-RoD8ie-7.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-IEXBlCBV.mjs} +26 -23
  7. package/dist/{edit.vue_vue_type_script_setup_true_lang-TXBAzoPS.mjs → edit.vue_vue_type_script_setup_true_lang-e_oZRaYA.mjs} +51 -47
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-QsTI3qOD.mjs → edit.vue_vue_type_script_setup_true_lang-iiu5w8LK.mjs} +222 -214
  9. package/dist/{el-message-CIdVBT5R.mjs → el-message-So7u3ZRi.mjs} +357 -366
  10. package/dist/{index-DugZK_BS.mjs → index-C7wI2ALv.mjs} +13 -13
  11. package/dist/{index-DBIF93AC.mjs → index-C96hiFIm.mjs} +22 -19
  12. package/dist/{index-Cp3csR1g.mjs → index-CC7B9YOg.mjs} +12 -12
  13. package/dist/{index-BjBTIknS.mjs → index-CMbZtOBo.mjs} +211 -203
  14. package/dist/{index-BAHlhmvh.mjs → index-CNIFtVcB.mjs} +95 -92
  15. package/dist/{index-bMREgnhp.mjs → index-CzSzBtpb.mjs} +15 -15
  16. package/dist/{index-CF0oM0UA.mjs → index-D5ZcRr4h.mjs} +26 -22
  17. package/dist/{index-DnFWLmFk.mjs → index-DWuCzfFj.mjs} +21 -18
  18. package/dist/{index-C6XFHtva.mjs → index-m-ohs_8-.mjs} +25 -22
  19. package/dist/{index-DKIrRXT5.mjs → index-nSm5Jecq.mjs} +12 -12
  20. package/dist/index.mjs +1 -1
  21. package/dist/style.css +1 -1
  22. package/dts/api/itsm-flow-entrust/types.d.ts +3 -1
  23. package/dts/api/itsm-flow-entrust-user/types.d.ts +3 -1
  24. package/dts/api/itsm-flow-reckoning/types.d.ts +1 -1
  25. package/dts/components/TaskItsmFlowAcceptance/index.vue.d.ts +2 -2
  26. package/dts/components/TaskItsmFlowAcceptanceEdit/index.vue.d.ts +2 -2
  27. package/dts/components/TaskItsmFlowEntrust/index.vue.d.ts +2 -2
  28. package/dts/components/TaskItsmFlowEntrustEdit/index.vue.d.ts +2 -2
  29. package/dts/components/TaskItsmFlowReckoning/index.vue.d.ts +2 -2
  30. package/dts/components/TaskItsmFlowReckoningEdit/index.vue.d.ts +2 -2
  31. package/dts/views/itsm-flow-acceptance/edit.vue.d.ts +2 -2
  32. package/dts/views/itsm-flow-acceptance/index.vue.d.ts +1 -1
  33. package/dts/views/itsm-flow-entrust/edit.vue.d.ts +2 -2
  34. package/dts/views/itsm-flow-entrust/index.vue.d.ts +1 -1
  35. package/dts/views/itsm-flow-reckoning/edit.vue.d.ts +2 -2
  36. package/dts/views/itsm-flow-reckoning/index.vue.d.ts +1 -1
  37. package/package.json +63 -63
@@ -1,8 +1,8 @@
1
- import { defineComponent as ge, mergeModels as Ie, ref as f, useModel as we, reactive as H, resolveComponent as d, openBlock as h, createElementBlock as k, Fragment as $, createVNode as l, withCtx as n, createElementVNode as u, unref as r, renderList as K, createBlock as q, toDisplayString as W, createCommentVNode as he, createTextVNode as O } from "vue";
1
+ import { defineComponent as ge, mergeModels as Ie, ref as f, useModel as he, reactive as H, resolveComponent as d, createElementBlock as k, openBlock as w, Fragment as $, createVNode as l, withCtx as o, createElementVNode as u, unref as r, renderList as K, createBlock as q, toDisplayString as W, createCommentVNode as we, createTextVNode as O } from "vue";
2
2
  import "element-plus";
3
- import { useI18n as Ve } from "vue-i18n";
4
- import { b as Ee, C as v, c as Ne, d as Fe, D as V, a as J, f as R, p as Ue, e as _e } from "./index-DugZK_BS.mjs";
5
- import { E as G } from "./el-message-CIdVBT5R.mjs";
3
+ import { useI18n as Ee } from "vue-i18n";
4
+ import { b as Ve, C as v, c as _e, d as Ne, D as E, a as J, f as R, p as Fe, e as Ue } from "./index-C7wI2ALv.mjs";
5
+ import { E as G } from "./el-message-So7u3ZRi.mjs";
6
6
  const Oe = /* @__PURE__ */ ge({
7
7
  __name: "index",
8
8
  props: /* @__PURE__ */ Ie({
@@ -17,23 +17,23 @@ const Oe = /* @__PURE__ */ ge({
17
17
  }),
18
18
  emits: ["update:modelValue"],
19
19
  setup(D, { expose: Q }) {
20
- const { t: I } = Ve(), B = f([]), z = f([]), M = f([]), E = f([]), p = f({}), N = f([]), _ = new Ee({
20
+ const { t: I } = Ee(), B = f([]), z = f([]), M = f([]), V = f([]), p = f({}), _ = f([]), U = new Ve({
21
21
  contractSort: v.contractSort.manpower,
22
22
  contractType: v.contractType.outsource
23
23
  });
24
- _.useValues();
25
- const y = new Ne({
24
+ U.useValues();
25
+ const y = new _e({
26
26
  contractSort: v.contractSort.manpower,
27
27
  contractType: v.contractType.outsource
28
28
  });
29
29
  y.useValues();
30
- const F = new Fe({});
31
- F.useValues(), V.parentIdBizDict.useValues(), V.orgIdBizDict.useValues();
32
- const T = D, A = f({
30
+ const N = new Ne({});
31
+ N.useValues(), E.parentIdBizDict.useValues(), E.orgIdBizDict.useValues();
32
+ const S = D, T = f({
33
33
  curPage: 1,
34
34
  pageSize: 10,
35
- entrustId: T.task.businessKey
36
- }), b = we(D, "modelValue"), S = f();
35
+ entrustId: S.task.businessKey
36
+ }), b = he(D, "modelValue"), A = f();
37
37
  let s = H({
38
38
  requestId: Math.random() * 10 + ""
39
39
  });
@@ -53,9 +53,9 @@ const Oe = /* @__PURE__ */ ge({
53
53
  duration: []
54
54
  });
55
55
  }
56
- function Y(t) {
57
- const e = g.value.indexOf(t.row);
58
- e !== 0 && g.value.splice(e, 1);
56
+ function Y(e) {
57
+ const t = g.value.indexOf(e.row);
58
+ t !== 0 && g.value.splice(t, 1);
59
59
  }
60
60
  const Z = H({
61
61
  contractId: [
@@ -87,150 +87,156 @@ const Oe = /* @__PURE__ */ ge({
87
87
  }
88
88
  ]
89
89
  });
90
- T.task.businessKey && ee(), Q({
90
+ S.task.businessKey && ee(), Q({
91
91
  changeModel: () => ue()
92
92
  });
93
93
  function x() {
94
- _e.findList({ actionId: A.value.entrustId }).then(({ data: t }) => {
95
- const e = t.results.map((o) => ({
96
- ...o,
97
- contractUserId: o.userId,
98
- duration: typeof o.duration == "string" ? o.duration.split(",") || [] : []
94
+ Ue.findList({ actionId: T.value.entrustId }).then(({ data: e }) => {
95
+ const t = e.results.map((a) => ({
96
+ ...a,
97
+ contractUserId: a.userId,
98
+ duration: [a.durationStart, a.durationEnd]
99
99
  }));
100
- g.value = e;
100
+ g.value = t;
101
101
  });
102
102
  }
103
103
  function ee() {
104
- J.findById({ entrustId: A.value.entrustId }).then(({ data: t }) => {
105
- Object.assign(s, t), x(), p.value = new R({
106
- contractId: t.contractId
107
- }), p.value.useValues(), N.value = typeof t.entrustItsmId == "string" ? t.entrustItsmId.split(",") || [] : [], E.value = typeof t.belongOrgId == "string" ? t.belongOrgId.split(",") || [] : [];
104
+ J.findById({ entrustId: T.value.entrustId }).then(({ data: e }) => {
105
+ Object.assign(s, e), x(), p.value = new R({
106
+ contractId: e.contractId
107
+ }), p.value.useValues(), _.value = typeof e.entrustItsmId == "string" ? e.entrustItsmId.split(",") || [] : [], V.value = typeof e.belongOrgId == "string" ? e.belongOrgId.split(",") || [] : [];
108
108
  });
109
109
  }
110
110
  function L() {
111
- p.value = { values: [] }, g.value.forEach((t) => {
112
- t.contractUserId = "", t.idNo = "", t.cost = 0, t.duration = "";
111
+ p.value = { values: [] }, g.value.forEach((e) => {
112
+ e.contractUserId = "", e.idNo = "", e.cost = 0, e.duration = [];
113
113
  });
114
114
  }
115
- function te(t) {
116
- const e = _.values.find(
117
- (o) => o.key === t
115
+ function te(e) {
116
+ const t = U.values.find(
117
+ (a) => a.key === e
118
118
  );
119
- s.contractNo = (e == null ? void 0 : e.contractNumber) ?? "", s.serviceOrg = (e == null ? void 0 : e.orgId) ?? "", s.contractName = (e == null ? void 0 : e.value) ?? "", L(), p.value = new R({
120
- contractId: t
119
+ s.contractNo = (t == null ? void 0 : t.contractNumber) ?? "", s.serviceOrg = (t == null ? void 0 : t.orgId) ?? "", s.contractName = (t == null ? void 0 : t.value) ?? "", L(), p.value = new R({
120
+ contractId: e
121
121
  }), p.value.useValues();
122
122
  }
123
- function le(t) {
124
- const e = y.values.find(
125
- (o) => o.key === t
123
+ function le(e) {
124
+ const t = y.values.find(
125
+ (a) => a.key === e
126
126
  );
127
- s.contractId = (e == null ? void 0 : e.contractId) ?? "", s.serviceOrg = (e == null ? void 0 : e.orgId) ?? "", s.contractName = (e == null ? void 0 : e.value) ?? "", L(), p.value = new R({
128
- contractId: e.contractId
127
+ s.contractId = (t == null ? void 0 : t.contractId) ?? "", s.serviceOrg = (t == null ? void 0 : t.orgId) ?? "", s.contractName = (t == null ? void 0 : t.value) ?? "", L(), p.value = new R({
128
+ contractId: t.contractId
129
129
  }), p.value.useValues();
130
130
  }
131
- function ae(t, e) {
132
- const o = p.value.values.find(
133
- (m) => m.key === t
131
+ function ae(e, t) {
132
+ const a = p.value.values.find(
133
+ (m) => m.key === e
134
134
  );
135
- o ? (e.userName = o.value ?? "", e.idNo = o.idNo ?? "", e.cost = Number(o.cost) || 0) : (e.userName = "", e.idNo = "", e.cost = 0);
135
+ a ? (t.userName = a.value ?? "", t.idNo = a.idNo ?? "", t.cost = Number(a.cost) || 0) : (t.userName = "", t.idNo = "", t.cost = 0);
136
136
  }
137
- function oe(t) {
138
- const e = t.map((o) => {
139
- const m = F.values.find(
140
- (c) => c.key === o
137
+ function ne(e) {
138
+ const t = e.map((a) => {
139
+ const m = N.values.find(
140
+ (c) => c.key === a
141
141
  );
142
142
  return m ? m.orgId : null;
143
- }).filter((o) => o !== null);
144
- E.value = Array.from(new Set(e));
143
+ }).filter((a) => a !== null);
144
+ V.value = Array.from(new Set(t));
145
145
  }
146
- function ne() {
147
- z.value = N.value.map((t) => {
148
- const e = F.values.find(
149
- (o) => o.key === t
146
+ function oe() {
147
+ z.value = _.value.map((e) => {
148
+ const t = N.values.find(
149
+ (a) => a.key === e
150
150
  );
151
151
  return {
152
- itsmId: t,
153
- itsmName: (e == null ? void 0 : e.value) ?? ""
152
+ itsmId: e,
153
+ itsmName: (t == null ? void 0 : t.value) ?? ""
154
154
  };
155
155
  });
156
156
  }
157
157
  function re() {
158
- M.value = E.value.map((t) => {
159
- const e = V.parentIdBizDict.values.find(
160
- (o) => o.value === t
158
+ M.value = V.value.map((e) => {
159
+ const t = E.parentIdBizDict.values.find(
160
+ (a) => a.value === e
161
161
  );
162
162
  return {
163
- orgId: t,
164
- orgName: (e == null ? void 0 : e.label) ?? ""
163
+ orgId: e,
164
+ orgName: (t == null ? void 0 : t.label) ?? ""
165
165
  };
166
166
  });
167
167
  }
168
168
  function se() {
169
- B.value = g.value.map((t) => ({
170
- ...t,
171
- duration: Array.isArray(t.duration) ? t.duration.join(",") : t.duration
172
- })).filter(
173
- (t) => !(t.cost === 0 && !t.contractUserId)
174
- ), ne(), re();
169
+ B.value = g.value.map((e) => {
170
+ console.log(e);
171
+ const { duration: t, ...a } = e;
172
+ return {
173
+ ...a,
174
+ durationStart: Array.isArray(e.duration) ? String(e.duration[0]) : String(e.duration),
175
+ durationEnd: Array.isArray(e.duration) ? String(e.duration[1]) : String(e.duration)
176
+ };
177
+ }).filter(
178
+ (e) => !(e.cost === 0 && !e.contractUserId)
179
+ ), oe(), re();
175
180
  }
176
181
  function ue() {
177
182
  return b.value && (b.value.selectActions = [
178
183
  { key: "true", value: "同意" },
179
184
  { key: "false", value: "不同意" }
180
- ], b.value.varName = "approved", b.value.module = "", b.value.module = v.MODULE_ITSMFLOW), new Promise((t, e) => {
181
- var o;
182
- (o = S.value) == null || o.validate((m) => {
185
+ ], b.value.varName = "approved", b.value.module = "", b.value.module = v.MODULE_ITSMFLOW), new Promise((e, t) => {
186
+ var a;
187
+ (a = A.value) == null || a.validate((m) => {
183
188
  if (m) {
184
189
  if (b.value) {
185
- if (b.value.comment = "", se(), N.value.length === 0)
186
- return G.warning(I("itsmFlowEntrust.entrustItsmIdRequired")), e(!1);
190
+ if (b.value.comment = "", se(), _.value.length === 0)
191
+ return G.warning(I("itsmFlowEntrust.entrustItsmIdRequired")), t(!1);
187
192
  s.requestId = Math.random() * 10 + "", J.save({
188
193
  ...s,
189
194
  entrustUser: B.value,
190
195
  belongOrg: M.value,
191
196
  entrustItsm: z.value
192
197
  }).then((c) => {
193
- c.status === 200 ? t(!0) : (G({
198
+ c.status === 200 ? e(!0) : (G({
194
199
  message: "保存失败,请联系管理员!",
195
200
  type: "error"
196
- }), e(!1));
201
+ }), t(!1));
197
202
  });
198
203
  }
199
204
  } else
200
- e(!1);
205
+ t(!1);
201
206
  });
202
207
  });
203
208
  }
204
- return (t, e) => {
205
- const o = d("el-col"), m = d("jmash-select"), c = d("el-form-item"), de = d("jmash-dict-select"), j = d("el-option"), P = d("el-select"), ie = d("el-tree-select"), C = d("el-row"), U = d("el-input"), w = d("el-table-column"), ce = d("el-date-picker"), me = d("DeleteFilled"), pe = d("el-icon"), fe = d("el-table"), ve = d("el-button"), be = d("el-form");
206
- return h(), k($, null, [
207
- l(o, { span: 24 }, {
208
- default: n(() => e[9] || (e[9] = [
209
+ return (e, t) => {
210
+ const a = d("el-col"), m = d("jmash-select"), c = d("el-form-item"), de = d("jmash-dict-select"), j = d("el-option"), P = d("el-select"), ie = d("el-tree-select"), C = d("el-row"), F = d("el-input"), h = d("el-table-column"), ce = d("el-date-picker"), me = d("DeleteFilled"), pe = d("el-icon"), fe = d("el-table"), ve = d("el-button"), be = d("el-form");
211
+ return w(), k($, null, [
212
+ l(a, { span: 24 }, {
213
+ default: o(() => t[9] || (t[9] = [
209
214
  u("div", { class: "title" }, "委托服务订单", -1)
210
215
  ])),
211
- _: 1
216
+ _: 1,
217
+ __: [9]
212
218
  }),
213
219
  l(be, {
214
220
  ref_key: "taskFormRef",
215
- ref: S,
221
+ ref: A,
216
222
  model: r(s),
217
223
  "label-width": "150px",
218
224
  rules: Z,
219
225
  class: "custom-table-form custom-form"
220
226
  }, {
221
- default: n(() => [
222
- l(o, { span: 24 }, {
223
- default: n(() => [
227
+ default: o(() => [
228
+ l(a, { span: 24 }, {
229
+ default: o(() => [
224
230
  l(c, {
225
- label: t.$t("itsmFlowEntrust.contractId"),
231
+ label: e.$t("itsmFlowEntrust.contractId"),
226
232
  prop: "contractId"
227
233
  }, {
228
- default: n(() => [
234
+ default: o(() => [
229
235
  l(m, {
230
236
  modelValue: r(s).contractId,
231
- "onUpdate:modelValue": e[0] || (e[0] = (a) => r(s).contractId = a),
232
- placeholder: t.$t("itsmFlowEntrust.contractIdRequired"),
233
- data: r(_).values,
237
+ "onUpdate:modelValue": t[0] || (t[0] = (n) => r(s).contractId = n),
238
+ placeholder: e.$t("itsmFlowEntrust.contractIdRequired"),
239
+ data: r(U).values,
234
240
  clearable: "",
235
241
  filterable: "",
236
242
  class: "w-full",
@@ -242,17 +248,17 @@ const Oe = /* @__PURE__ */ ge({
242
248
  ]),
243
249
  _: 1
244
250
  }),
245
- l(o, { span: 24 }, {
246
- default: n(() => [
251
+ l(a, { span: 24 }, {
252
+ default: o(() => [
247
253
  l(c, {
248
- label: t.$t("itsmFlowEntrust.contractNo"),
254
+ label: e.$t("itsmFlowEntrust.contractNo"),
249
255
  prop: "contractNo"
250
256
  }, {
251
- default: n(() => [
257
+ default: o(() => [
252
258
  l(m, {
253
259
  modelValue: r(s).contractNo,
254
- "onUpdate:modelValue": e[1] || (e[1] = (a) => r(s).contractNo = a),
255
- placeholder: t.$t("itsmFlowEntrust.contractIdRequireds"),
260
+ "onUpdate:modelValue": t[1] || (t[1] = (n) => r(s).contractNo = n),
261
+ placeholder: e.$t("itsmFlowEntrust.contractIdRequireds"),
256
262
  data: r(y).values,
257
263
  clearable: "",
258
264
  filterable: "",
@@ -265,17 +271,17 @@ const Oe = /* @__PURE__ */ ge({
265
271
  ]),
266
272
  _: 1
267
273
  }),
268
- l(o, { span: 24 }, {
269
- default: n(() => [
274
+ l(a, { span: 24 }, {
275
+ default: o(() => [
270
276
  l(c, {
271
- label: t.$t("itsmFlowEntrust.entrustName"),
277
+ label: e.$t("itsmFlowEntrust.entrustName"),
272
278
  prop: "entrustName"
273
279
  }, {
274
- default: n(() => [
280
+ default: o(() => [
275
281
  l(de, {
276
282
  modelValue: r(s).entrustName,
277
- "onUpdate:modelValue": e[2] || (e[2] = (a) => r(s).entrustName = a),
278
- placeholder: t.$t("itsmFlowEntrust.entrustNameRequired"),
283
+ "onUpdate:modelValue": t[2] || (t[2] = (n) => r(s).entrustName = n),
284
+ placeholder: e.$t("itsmFlowEntrust.entrustNameRequired"),
279
285
  "type-code": r(v).DICT_PROJECT_NAME,
280
286
  clearable: "",
281
287
  filterable: "",
@@ -287,29 +293,29 @@ const Oe = /* @__PURE__ */ ge({
287
293
  ]),
288
294
  _: 1
289
295
  }),
290
- l(o, { span: 24 }, {
291
- default: n(() => [
296
+ l(a, { span: 24 }, {
297
+ default: o(() => [
292
298
  l(c, {
293
- label: t.$t("itsmFlowEntrust.entrustItsmId"),
299
+ label: e.$t("itsmFlowEntrust.entrustItsmId"),
294
300
  prop: "entrustItsmId"
295
301
  }, {
296
- default: n(() => [
302
+ default: o(() => [
297
303
  l(P, {
298
- modelValue: N.value,
299
- "onUpdate:modelValue": e[3] || (e[3] = (a) => N.value = a),
300
- placeholder: t.$t("itsmFlowEntrust.entrustItsmIdRequired"),
304
+ modelValue: _.value,
305
+ "onUpdate:modelValue": t[3] || (t[3] = (n) => _.value = n),
306
+ placeholder: e.$t("itsmFlowEntrust.entrustItsmIdRequired"),
301
307
  class: "w-full",
302
308
  filterable: "",
303
309
  clearable: "",
304
310
  multiple: "",
305
- onChange: oe
311
+ onChange: ne
306
312
  }, {
307
- default: n(() => [
308
- (h(!0), k($, null, K(r(F).values, (a) => (h(), q(j, {
309
- key: a.key,
310
- label: a.value,
311
- value: a.key,
312
- disabled: ("status" in a && a.status) !== r(v).status.regular
313
+ default: o(() => [
314
+ (w(!0), k($, null, K(r(N).values, (n) => (w(), q(j, {
315
+ key: n.key,
316
+ label: n.value,
317
+ value: n.key,
318
+ disabled: ("status" in n && n.status) !== r(v).status.regular
313
319
  }, null, 8, ["label", "value", "disabled"]))), 128))
314
320
  ]),
315
321
  _: 1
@@ -320,23 +326,23 @@ const Oe = /* @__PURE__ */ ge({
320
326
  ]),
321
327
  _: 1
322
328
  }),
323
- l(o, { span: 24 }, {
324
- default: n(() => [
329
+ l(a, { span: 24 }, {
330
+ default: o(() => [
325
331
  l(c, {
326
- label: t.$t("itsmFlowEntrust.belongOrg"),
332
+ label: e.$t("itsmFlowEntrust.belongOrg"),
327
333
  prop: "belongOrg"
328
334
  }, {
329
- default: n(() => [
335
+ default: o(() => [
330
336
  l(ie, {
331
- modelValue: E.value,
332
- "onUpdate:modelValue": e[4] || (e[4] = (a) => E.value = a),
333
- data: r(V).parentIdBizDict.values,
337
+ modelValue: V.value,
338
+ "onUpdate:modelValue": t[4] || (t[4] = (n) => V.value = n),
339
+ data: r(E).parentIdBizDict.values,
334
340
  filterable: "",
335
341
  clearable: "",
336
342
  "check-strictly": "",
337
343
  "render-after-expand": !1,
338
344
  class: "w-full",
339
- placeholder: t.$t("itsmFlowEntrust.belongOrgRequired"),
345
+ placeholder: e.$t("itsmFlowEntrust.belongOrgRequired"),
340
346
  multiple: "",
341
347
  disabled: ""
342
348
  }, null, 8, ["modelValue", "data", "placeholder"])
@@ -347,19 +353,19 @@ const Oe = /* @__PURE__ */ ge({
347
353
  _: 1
348
354
  }),
349
355
  l(C, null, {
350
- default: n(() => [
351
- l(o, { span: 12 }, {
352
- default: n(() => [
356
+ default: o(() => [
357
+ l(a, { span: 12 }, {
358
+ default: o(() => [
353
359
  l(c, {
354
- label: t.$t("itsmFlowEntrust.serviceContent"),
360
+ label: e.$t("itsmFlowEntrust.serviceContent"),
355
361
  prop: "serviceContent"
356
362
  }, {
357
- default: n(() => [
363
+ default: o(() => [
358
364
  l(m, {
359
365
  modelValue: r(s).serviceContent,
360
- "onUpdate:modelValue": e[5] || (e[5] = (a) => r(s).serviceContent = a),
361
- placeholder: t.$t("itsmFlowEntrust.serviceContentRequired"),
362
- data: r(V).serviceContentEnum.values,
366
+ "onUpdate:modelValue": t[5] || (t[5] = (n) => r(s).serviceContent = n),
367
+ placeholder: e.$t("itsmFlowEntrust.serviceContentRequired"),
368
+ data: r(E).serviceContentEnum.values,
363
369
  clearable: "",
364
370
  filterable: "",
365
371
  class: "w-full"
@@ -370,18 +376,18 @@ const Oe = /* @__PURE__ */ ge({
370
376
  ]),
371
377
  _: 1
372
378
  }),
373
- l(o, { span: 12 }, {
374
- default: n(() => [
379
+ l(a, { span: 12 }, {
380
+ default: o(() => [
375
381
  l(c, {
376
- label: t.$t("itsmFlowEntrust.serviceOrg"),
382
+ label: e.$t("itsmFlowEntrust.serviceOrg"),
377
383
  prop: "serviceOrg"
378
384
  }, {
379
- default: n(() => [
385
+ default: o(() => [
380
386
  l(m, {
381
387
  modelValue: r(s).serviceOrg,
382
- "onUpdate:modelValue": e[6] || (e[6] = (a) => r(s).serviceOrg = a),
383
- placeholder: t.$t("itsmFlowEntrust.contractIdRequireds"),
384
- data: r(V).orgIdBizDict.values,
388
+ "onUpdate:modelValue": t[6] || (t[6] = (n) => r(s).serviceOrg = n),
389
+ placeholder: e.$t("itsmFlowEntrust.contractIdRequireds"),
390
+ data: r(E).orgIdBizDict.values,
385
391
  disabled: "",
386
392
  class: "w-full"
387
393
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -394,17 +400,17 @@ const Oe = /* @__PURE__ */ ge({
394
400
  ]),
395
401
  _: 1
396
402
  }),
397
- l(o, { span: 24 }, {
398
- default: n(() => [
403
+ l(a, { span: 24 }, {
404
+ default: o(() => [
399
405
  l(c, {
400
- label: t.$t("itsmFlowEntrust.orderNo"),
406
+ label: e.$t("itsmFlowEntrust.orderNo"),
401
407
  prop: "orderNo"
402
408
  }, {
403
- default: n(() => [
404
- l(U, {
409
+ default: o(() => [
410
+ l(F, {
405
411
  modelValue: r(s).orderNo,
406
- "onUpdate:modelValue": e[7] || (e[7] = (a) => r(s).orderNo = a),
407
- placeholder: t.$t("itsmFlowEntrust.orderNoRequired"),
412
+ "onUpdate:modelValue": t[7] || (t[7] = (n) => r(s).orderNo = n),
413
+ placeholder: e.$t("itsmFlowEntrust.orderNoRequired"),
408
414
  disabled: ""
409
415
  }, null, 8, ["modelValue", "placeholder"])
410
416
  ]),
@@ -413,17 +419,17 @@ const Oe = /* @__PURE__ */ ge({
413
419
  ]),
414
420
  _: 1
415
421
  }),
416
- l(o, { span: 24 }, {
417
- default: n(() => [
422
+ l(a, { span: 24 }, {
423
+ default: o(() => [
418
424
  l(c, {
419
- label: t.$t("itsmFlowEntrust.workContent"),
425
+ label: e.$t("itsmFlowEntrust.workContent"),
420
426
  prop: "workContent"
421
427
  }, {
422
- default: n(() => [
423
- l(U, {
428
+ default: o(() => [
429
+ l(F, {
424
430
  modelValue: r(s).workContent,
425
- "onUpdate:modelValue": e[8] || (e[8] = (a) => r(s).workContent = a),
426
- placeholder: t.$t("itsmFlowEntrust.workContentRequired"),
431
+ "onUpdate:modelValue": t[8] || (t[8] = (n) => r(s).workContent = n),
432
+ placeholder: e.$t("itsmFlowEntrust.workContentRequired"),
427
433
  maxlength: "500",
428
434
  rows: 4,
429
435
  type: "textarea",
@@ -437,37 +443,37 @@ const Oe = /* @__PURE__ */ ge({
437
443
  _: 1
438
444
  }),
439
445
  l(C, null, {
440
- default: n(() => [
446
+ default: o(() => [
441
447
  l(fe, {
442
448
  data: g.value,
443
449
  border: "",
444
450
  style: { width: "100%" }
445
451
  }, {
446
- default: n(() => [
447
- l(w, {
452
+ default: o(() => [
453
+ l(h, {
448
454
  type: "index",
449
- label: t.$t("itsmFlowEntrustUser.index"),
455
+ label: e.$t("itsmFlowEntrustUser.index"),
450
456
  width: "60",
451
457
  align: "center"
452
458
  }, null, 8, ["label"]),
453
- l(w, {
459
+ l(h, {
454
460
  prop: "contractUserId",
455
- label: t.$t("itsmFlowEntrustUser.userId"),
461
+ label: e.$t("itsmFlowEntrustUser.userId"),
456
462
  "header-align": "center",
457
463
  width: "150"
458
464
  }, {
459
- default: n(({ row: a }) => [
465
+ default: o(({ row: n }) => [
460
466
  l(P, {
461
- modelValue: a.contractUserId,
462
- "onUpdate:modelValue": (i) => a.contractUserId = i,
463
- placeholder: t.$t("itsmFlowEntrustUser.userIdRequired"),
467
+ modelValue: n.contractUserId,
468
+ "onUpdate:modelValue": (i) => n.contractUserId = i,
469
+ placeholder: e.$t("itsmFlowEntrustUser.userIdRequired"),
464
470
  class: "w-full",
465
471
  filterable: "",
466
472
  clearable: "",
467
- onChange: (i) => ae(i, a)
473
+ onChange: (i) => ae(i, n)
468
474
  }, {
469
- default: n(() => [
470
- (h(!0), k($, null, K(p.value.values, (i) => (h(), q(j, {
475
+ default: o(() => [
476
+ (w(!0), k($, null, K(p.value.values, (i) => (w(), q(j, {
471
477
  key: i.key,
472
478
  label: i.value,
473
479
  value: i.key
@@ -478,53 +484,53 @@ const Oe = /* @__PURE__ */ ge({
478
484
  ]),
479
485
  _: 1
480
486
  }, 8, ["label"]),
481
- l(w, {
487
+ l(h, {
482
488
  prop: "idNo",
483
- label: t.$t("itsmFlowEntrustUser.idNo"),
489
+ label: e.$t("itsmFlowEntrustUser.idNo"),
484
490
  "header-align": "center",
485
491
  width: "190"
486
492
  }, {
487
- default: n(({ row: a }) => [
488
- l(U, {
489
- modelValue: a.idNo,
490
- "onUpdate:modelValue": (i) => a.idNo = i,
491
- placeholder: t.$t("itsmFlowEntrustUser.userIdRequireds"),
493
+ default: o(({ row: n }) => [
494
+ l(F, {
495
+ modelValue: n.idNo,
496
+ "onUpdate:modelValue": (i) => n.idNo = i,
497
+ placeholder: e.$t("itsmFlowEntrustUser.userIdRequireds"),
492
498
  disabled: ""
493
499
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
494
500
  ]),
495
501
  _: 1
496
502
  }, 8, ["label"]),
497
- l(w, {
503
+ l(h, {
498
504
  prop: "cost",
499
- label: t.$t("itsmFlowEntrustUser.cost"),
505
+ label: e.$t("itsmFlowEntrustUser.cost"),
500
506
  "header-align": "center",
501
507
  width: "160"
502
508
  }, {
503
- default: n(({ row: a }) => [
504
- l(U, {
505
- modelValue: a.cost,
506
- "onUpdate:modelValue": (i) => a.cost = i,
507
- placeholder: t.$t("itsmFlowEntrustUser.userIdRequireds"),
509
+ default: o(({ row: n }) => [
510
+ l(F, {
511
+ modelValue: n.cost,
512
+ "onUpdate:modelValue": (i) => n.cost = i,
513
+ placeholder: e.$t("itsmFlowEntrustUser.userIdRequireds"),
508
514
  disabled: ""
509
515
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
510
516
  ]),
511
517
  _: 1
512
518
  }, 8, ["label"]),
513
- l(w, {
519
+ l(h, {
514
520
  prop: "duration",
515
521
  "header-align": "center"
516
522
  }, {
517
- header: n(() => [
518
- e[10] || (e[10] = u("span", { class: "required_red" }, "*", -1)),
519
- u("span", null, W(t.$t("itsmFlowEntrustUser.duration")), 1)
523
+ header: o(() => [
524
+ t[10] || (t[10] = u("span", { class: "required_red" }, "*", -1)),
525
+ u("span", null, W(e.$t("itsmFlowEntrustUser.duration")), 1)
520
526
  ]),
521
- default: n(({ row: a }) => [
527
+ default: o(({ row: n }) => [
522
528
  l(ce, {
523
- modelValue: a.duration,
524
- "onUpdate:modelValue": (i) => a.duration = i,
529
+ modelValue: n.duration,
530
+ "onUpdate:modelValue": (i) => n.duration = i,
525
531
  type: "monthrange",
526
- "start-placeholder": t.$t("itsmFlowEntrustUser.startTime"),
527
- "end-placeholder": t.$t("itsmFlowEntrustUser.endTime"),
532
+ "start-placeholder": e.$t("itsmFlowEntrustUser.startTime"),
533
+ "end-placeholder": e.$t("itsmFlowEntrustUser.endTime"),
528
534
  format: r(v).FORMAT_MONTH,
529
535
  "value-format": r(v).FORMAT_MONTH,
530
536
  class: "w-full"
@@ -532,24 +538,24 @@ const Oe = /* @__PURE__ */ ge({
532
538
  ]),
533
539
  _: 1
534
540
  }),
535
- l(w, {
536
- label: t.$t("common.operate"),
541
+ l(h, {
542
+ label: e.$t("common.operate"),
537
543
  width: "60",
538
544
  align: "center"
539
545
  }, {
540
- default: n((a) => [
541
- a.$index !== 0 ? (h(), q(pe, {
546
+ default: o((n) => [
547
+ n.$index !== 0 ? (w(), q(pe, {
542
548
  key: 0,
543
- onClick: (i) => Y(a),
549
+ onClick: (i) => Y(n),
544
550
  size: "18",
545
551
  style: { cursor: "pointer", color: "inherit" },
546
552
  class: "hover-blue"
547
553
  }, {
548
- default: n(() => [
554
+ default: o(() => [
549
555
  l(me)
550
556
  ]),
551
557
  _: 2
552
- }, 1032, ["onClick"])) : he("", !0)
558
+ }, 1032, ["onClick"])) : we("", !0)
553
559
  ]),
554
560
  _: 1
555
561
  }, 8, ["label"])
@@ -557,11 +563,11 @@ const Oe = /* @__PURE__ */ ge({
557
563
  _: 1
558
564
  }, 8, ["data"]),
559
565
  l(ve, {
560
- icon: r(Ue),
566
+ icon: r(Fe),
561
567
  class: "addButton",
562
568
  onClick: X
563
569
  }, {
564
- default: n(() => [
570
+ default: o(() => [
565
571
  O(W(r(I)("common.add")), 1)
566
572
  ]),
567
573
  _: 1
@@ -570,9 +576,9 @@ const Oe = /* @__PURE__ */ ge({
570
576
  _: 1
571
577
  }),
572
578
  l(C, { class: "bordered-row" }, {
573
- default: n(() => [
574
- l(o, { span: 12 }, {
575
- default: n(() => e[11] || (e[11] = [
579
+ default: o(() => [
580
+ l(a, { span: 12 }, {
581
+ default: o(() => t[11] || (t[11] = [
576
582
  u("div", { class: "content-box" }, [
577
583
  u("div", { class: "content-box-top" }, [
578
584
  u("div", null, "甲方单位(盖章)"),
@@ -587,13 +593,14 @@ const Oe = /* @__PURE__ */ ge({
587
593
  ])
588
594
  ], -1)
589
595
  ])),
590
- _: 1
596
+ _: 1,
597
+ __: [11]
591
598
  }),
592
- l(o, {
599
+ l(a, {
593
600
  span: 12,
594
601
  class: "with-divider"
595
602
  }, {
596
- default: n(() => e[12] || (e[12] = [
603
+ default: o(() => t[12] || (t[12] = [
597
604
  u("div", { class: "content-box" }, [
598
605
  u("div", { class: "content-box-top" }, [
599
606
  u("div", null, "服务人员所属单位(盖章)"),
@@ -608,7 +615,8 @@ const Oe = /* @__PURE__ */ ge({
608
615
  ])
609
616
  ], -1)
610
617
  ])),
611
- _: 1
618
+ _: 1,
619
+ __: [12]
612
620
  })
613
621
  ]),
614
622
  _: 1