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