xyvcard-itsm-flow 0.0.8 → 0.0.9

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 (26) hide show
  1. package/dist/{common--K4gGsNT.mjs → common-Cwl5jzlM.mjs} +1 -1
  2. package/dist/{edit-B621RtNS.mjs → edit-BatVtQjM.mjs} +1 -1
  3. package/dist/{edit-CoRzQ2SK.mjs → edit-CJKi69Ya.mjs} +1 -1
  4. package/dist/{edit-Czk64Yon.mjs → edit-RNcc8UYn.mjs} +1 -1
  5. package/dist/{edit.vue_vue_type_script_setup_true_lang-BYz7O3Xi.mjs → edit.vue_vue_type_script_setup_true_lang-4mAArGdW.mjs} +239 -212
  6. package/dist/{edit.vue_vue_type_script_setup_true_lang-D-UzvXtU.mjs → edit.vue_vue_type_script_setup_true_lang-D9fa466K.mjs} +95 -96
  7. package/dist/{edit.vue_vue_type_script_setup_true_lang-AhC28_ys.mjs → edit.vue_vue_type_script_setup_true_lang-DlfhAjvW.mjs} +1 -1
  8. package/dist/{el-message-FfNjxLv_.mjs → el-message-9Nit-6wb.mjs} +1 -1
  9. package/dist/{index-CdzhLCkX.mjs → index-2vkMhoSW.mjs} +3 -3
  10. package/dist/{index-CVbpEq7V.mjs → index-BkB6hpAN.mjs} +174 -134
  11. package/dist/{index-BlBkHqXR.mjs → index-BqZwYXr_.mjs} +2 -2
  12. package/dist/{index-DY7ZV5kq.mjs → index-CitJdS-N.mjs} +107 -85
  13. package/dist/index-Ckl3mXfI.mjs +493 -0
  14. package/dist/{index-BCP5cBN6.mjs → index-CpSpS_gR.mjs} +2 -2
  15. package/dist/{index-CRHpl0qA.mjs → index-DmttwKtY.mjs} +3 -3
  16. package/dist/{index-BJl7xHYx.mjs → index-ay0TMqjH.mjs} +14 -14
  17. package/dist/{index-DX1PURJy.mjs → index-tnwVLRVb.mjs} +2 -2
  18. package/dist/{index-B5vmtcUk.mjs → index-w_RSrZed.mjs} +58 -57
  19. package/dist/index.mjs +4 -2
  20. package/dts/api/itsm-flow-acceptance/index.d.ts +5 -1
  21. package/dts/api/itsm-flow-acceptance/types.d.ts +29 -1
  22. package/dts/api/itsm-flow-entrust/index.d.ts +0 -3
  23. package/dts/lang/itsm-flow/zh-cn.d.ts +2 -0
  24. package/dts/views/itsm-flow-acceptance/edit.vue.d.ts +4 -4
  25. package/package.json +1 -1
  26. package/dist/index-Dld6YbIV.mjs +0 -484
@@ -1,13 +1,13 @@
1
- import { defineComponent as ae, mergeModels as ne, ref as g, useModel as se, reactive as E, computed as de, resolveComponent as i, openBlock as k, createElementBlock as D, Fragment as B, createVNode as t, withCtx as a, createElementVNode as r, unref as d, renderList as re, createBlock as O, createTextVNode as N, toDisplayString as w, createCommentVNode as ie } from "vue";
1
+ import { defineComponent as ne, mergeModels as se, ref as g, useModel as de, reactive as E, computed as re, resolveComponent as i, openBlock as k, createElementBlock as D, Fragment as B, createVNode as t, withCtx as a, createElementVNode as r, unref as d, renderList as ie, createBlock as O, createTextVNode as N, toDisplayString as I, createCommentVNode as ue } from "vue";
2
2
  import "element-plus";
3
- import { useRoute as ue } from "vue-router";
4
- import { useI18n as ce } from "vue-i18n";
5
- import { g as me, C as M, D as I, e as pe, h as fe, p as be } from "./index-DY7ZV5kq.mjs";
6
- import { i as z, t as ve, a as ge } from "./common--K4gGsNT.mjs";
7
- import { E as Ne } from "./el-message-FfNjxLv_.mjs";
8
- const Ue = /* @__PURE__ */ ae({
3
+ import { useRoute as ce } from "vue-router";
4
+ import { useI18n as me } from "vue-i18n";
5
+ import { g as pe, C as M, D as U, h as fe, p as be, e as ve } from "./index-CitJdS-N.mjs";
6
+ import { i as z, t as ge, a as Ne } from "./common-Cwl5jzlM.mjs";
7
+ import { E as ke } from "./el-message-9Nit-6wb.mjs";
8
+ const Ve = /* @__PURE__ */ ne({
9
9
  __name: "index",
10
- props: /* @__PURE__ */ ne({
10
+ props: /* @__PURE__ */ se({
11
11
  task: {
12
12
  type: Object,
13
13
  default: () => {
@@ -19,19 +19,19 @@ const Ue = /* @__PURE__ */ ae({
19
19
  }),
20
20
  emits: ["update:modelValue"],
21
21
  setup(_, { expose: A }) {
22
- const { t: h } = ce(), R = g([]), F = new me({
22
+ const { t: h } = me(), R = g([]), F = new pe({
23
23
  applyStatus: M.applyStatus.finished
24
24
  });
25
- F.useValues(), I.orgIdBizDict.useValues();
26
- const P = ue(), U = _, V = g({
25
+ F.useValues(), U.orgIdBizDict.useValues();
26
+ const P = ce(), V = _, w = g({
27
27
  curPage: 1,
28
28
  pageSize: 10,
29
29
  reckoningId: P.query.applyId
30
- }), f = se(_, "modelValue"), $ = g();
30
+ }), f = de(_, "modelValue"), y = g();
31
31
  let n = E({
32
32
  requestId: Math.random() * 10 + ""
33
33
  });
34
- const S = de(() => p.value.map((l) => ({
34
+ const S = re(() => p.value.map((l) => ({
35
35
  cost: typeof l.cost == "number" ? l.cost : 0,
36
36
  duration: typeof l.duration == "number" ? l.duration : 0
37
37
  }))), p = g([
@@ -72,63 +72,64 @@ const Ue = /* @__PURE__ */ ae({
72
72
  }
73
73
  ]
74
74
  });
75
- U.task.businessKey && K(), A({
76
- changeModel: () => J()
75
+ V.task.businessKey && W(), A({
76
+ changeModel: () => Q()
77
77
  });
78
78
  function K() {
79
- V.value.reckoningId = U.task.businessKey, z.findById({ reckoningId: V.value.reckoningId }).then(({ data: l }) => {
80
- Object.assign(n, l), y(l.acceptanceNo), pe.findList({ actionId: l.entrustId }).then(({ data: e }) => {
81
- const s = e.results.map(
82
- (c) => ({
83
- ...c
84
- // duration:
85
- // typeof item.duration === "string"
86
- // ? ((item.duration.split(",") || []) as string[])
87
- // : [],
88
- })
89
- );
90
- p.value = s;
91
- });
79
+ ve.findList({ actionId: w.value.reckoningId }).then(({ data: l }) => {
80
+ const e = l.results.map(
81
+ (s) => ({
82
+ ...s,
83
+ duration: Number(s.duration)
84
+ // 将字符串转换为数字
85
+ })
86
+ );
87
+ p.value = e;
92
88
  });
93
89
  }
94
90
  function W() {
91
+ w.value.reckoningId = V.task.businessKey, z.findById({ reckoningId: w.value.reckoningId }).then(({ data: l }) => {
92
+ Object.assign(n, l), $(l.acceptanceNo);
93
+ }), K();
94
+ }
95
+ function G() {
95
96
  v.value = { values: [] }, p.value.forEach((l) => {
96
97
  l.userId = "", l.idNo = "", l.cost = 0, l.duration = 0;
97
98
  });
98
99
  }
99
100
  const v = g({});
100
- function y(l) {
101
+ function $(l) {
101
102
  const e = F.values.find(
102
103
  (s) => s.key === l
103
104
  );
104
- n.contractName = (e == null ? void 0 : e.contractName) ?? "", n.contractNo = (e == null ? void 0 : e.contractNo) ?? "", n.serviceOrg = (e == null ? void 0 : e.serviceOrg) ?? "", n.entrustName = (e == null ? void 0 : e.entrustName) ?? "", n.orderNo = (e == null ? void 0 : e.orderNo) ?? "", n.serviceContent = (e == null ? void 0 : e.serviceContent) ?? "", n.entrustId = (e == null ? void 0 : e.entrustId) ?? "", n.acceptanceId = (e == null ? void 0 : e.acceptanceId) ?? "", W(), v.value = new fe({
105
- actionId: e.entrustId
105
+ n.contractName = (e == null ? void 0 : e.contractName) ?? "", n.contractNo = (e == null ? void 0 : e.contractNo) ?? "", n.serviceOrg = (e == null ? void 0 : e.serviceOrg) ?? "", n.entrustName = (e == null ? void 0 : e.entrustName) ?? "", n.orderNo = (e == null ? void 0 : e.orderNo) ?? "", n.serviceContent = (e == null ? void 0 : e.serviceContent) ?? "", n.entrustId = (e == null ? void 0 : e.entrustId) ?? "", n.acceptanceId = (e == null ? void 0 : e.acceptanceId) ?? "", G(), v.value = new fe({
106
+ actionId: (e == null ? void 0 : e.entrustId) ?? ""
106
107
  }), v.value.useValues();
107
108
  }
108
- function G(l, e) {
109
+ function H(l, e) {
109
110
  const s = v.value.values.find(
110
111
  (c) => c.key === l
111
112
  );
112
113
  s ? (e.userName = s.value ?? "", e.idNo = s.idNo ?? "", e.cost = Number(s.cost) || 0, e.entrustUserId = s.entrustUserId ?? "") : (e.userName = "", e.idNo = "", e.cost = 0, e.entrustUserId = "");
113
114
  }
114
- function H() {
115
+ function J() {
115
116
  R.value = p.value.map((l) => ({
116
117
  entrustUserId: l.entrustUserId,
117
118
  duration: (l.duration ?? 0).toString()
118
119
  })).filter((l) => l.entrustUserId && l.duration !== "0");
119
120
  }
120
- function J() {
121
+ function Q() {
121
122
  return f.value && (f.value.selectActions = [
122
123
  { key: "true", value: "同意" },
123
124
  { key: "false", value: "不同意" }
124
125
  ], f.value.varName = "approved", f.value.module = "", f.value.module = M.MODULE_ITSMFLOW), new Promise((l, e) => {
125
126
  var s;
126
- (s = $.value) == null || s.validate((c) => {
127
- c ? f.value && (f.value.comment = "", H(), n.requestId = Math.random() * 10 + "", z.save({
127
+ (s = y.value) == null || s.validate((c) => {
128
+ c ? f.value && (f.value.comment = "", J(), n.requestId = Math.random() * 10 + "", z.save({
128
129
  ...n,
129
130
  entrustUser: R.value
130
131
  }).then((m) => {
131
- m.status === 200 ? l(!0) : (Ne({
132
+ m.status === 200 ? l(!0) : (ke({
132
133
  message: "保存失败,请联系管理员!",
133
134
  type: "error"
134
135
  }), e(!1));
@@ -137,7 +138,7 @@ const Ue = /* @__PURE__ */ ae({
137
138
  });
138
139
  }
139
140
  return (l, e) => {
140
- const s = i("el-col"), c = i("el-input"), m = i("el-form-item"), Q = i("jmash-dict-select"), q = i("jmash-select"), C = i("el-row"), b = i("el-table-column"), X = i("el-option"), Y = i("el-select"), Z = i("el-input-number"), x = i("DeleteFilled"), ee = i("el-icon"), le = i("el-table"), te = i("el-button"), oe = i("el-form");
141
+ const s = i("el-col"), c = i("el-input"), m = i("el-form-item"), X = i("jmash-dict-select"), q = i("jmash-select"), C = i("el-row"), b = i("el-table-column"), Y = i("el-option"), Z = i("el-select"), x = i("el-input-number"), ee = i("DeleteFilled"), le = i("el-icon"), te = i("el-table"), oe = i("el-button"), ae = i("el-form");
141
142
  return k(), D(B, null, [
142
143
  t(s, { span: 24 }, {
143
144
  default: a(() => e[8] || (e[8] = [
@@ -145,9 +146,9 @@ const Ue = /* @__PURE__ */ ae({
145
146
  ])),
146
147
  _: 1
147
148
  }),
148
- t(oe, {
149
+ t(ae, {
149
150
  ref_key: "taskFormRef",
150
- ref: $,
151
+ ref: y,
151
152
  model: d(n),
152
153
  "label-width": "150px",
153
154
  rules: T,
@@ -199,11 +200,11 @@ const Ue = /* @__PURE__ */ ae({
199
200
  prop: "entrustName"
200
201
  }, {
201
202
  default: a(() => [
202
- t(Q, {
203
+ t(X, {
203
204
  modelValue: d(n).entrustName,
204
205
  "onUpdate:modelValue": e[2] || (e[2] = (o) => d(n).entrustName = o),
205
206
  placeholder: l.$t("itsmFlowReckoning.acceptanceNoRequired"),
206
- data: d(I).projectNameDict.values,
207
+ data: d(U).projectNameDict.values,
207
208
  disabled: "",
208
209
  class: "w-full"
209
210
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -224,7 +225,7 @@ const Ue = /* @__PURE__ */ ae({
224
225
  modelValue: d(n).serviceOrg,
225
226
  "onUpdate:modelValue": e[3] || (e[3] = (o) => d(n).serviceOrg = o),
226
227
  placeholder: l.$t("itsmFlowReckoning.acceptanceNoRequired"),
227
- data: d(I).orgIdBizDict.values,
228
+ data: d(U).orgIdBizDict.values,
228
229
  disabled: "",
229
230
  class: "w-full"
230
231
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -249,7 +250,7 @@ const Ue = /* @__PURE__ */ ae({
249
250
  clearable: "",
250
251
  filterable: "",
251
252
  class: "w-full",
252
- onChange: y
253
+ onChange: $
253
254
  }, null, 8, ["modelValue", "placeholder", "data"])
254
255
  ]),
255
256
  _: 1
@@ -324,7 +325,7 @@ const Ue = /* @__PURE__ */ ae({
324
325
  ]),
325
326
  _: 1
326
327
  }),
327
- t(le, {
328
+ t(te, {
328
329
  data: p.value,
329
330
  border: "",
330
331
  style: { width: "100%" }
@@ -343,17 +344,17 @@ const Ue = /* @__PURE__ */ ae({
343
344
  width: "150"
344
345
  }, {
345
346
  default: a(({ row: o }) => [
346
- t(Y, {
347
+ t(Z, {
347
348
  modelValue: o.userId,
348
349
  "onUpdate:modelValue": (u) => o.userId = u,
349
350
  placeholder: l.$t("itsmFlowEntrustUser.userIdRequired"),
350
351
  class: "w-full",
351
352
  filterable: "",
352
353
  clearable: "",
353
- onChange: (u) => G(u, o)
354
+ onChange: (u) => H(u, o)
354
355
  }, {
355
356
  default: a(() => [
356
- (k(!0), D(B, null, re(v.value.values, (u) => (k(), O(X, {
357
+ (k(!0), D(B, null, ie(v.value.values, (u) => (k(), O(Y, {
357
358
  key: u.key,
358
359
  label: u.value,
359
360
  value: u.key
@@ -401,7 +402,7 @@ const Ue = /* @__PURE__ */ ae({
401
402
  width: "140"
402
403
  }, {
403
404
  default: a(({ row: o }) => [
404
- t(Z, {
405
+ t(x, {
405
406
  modelValue: o.duration,
406
407
  "onUpdate:modelValue": (u) => o.duration = u,
407
408
  precision: 1,
@@ -418,7 +419,7 @@ const Ue = /* @__PURE__ */ ae({
418
419
  "header-align": "center"
419
420
  }, {
420
421
  default: a(({ row: o }) => [
421
- N(w(d(ve)(o.cost, o.duration)), 1)
422
+ N(I(d(ge)(o.cost, o.duration)), 1)
422
423
  ]),
423
424
  _: 1
424
425
  }, 8, ["label"]),
@@ -428,7 +429,7 @@ const Ue = /* @__PURE__ */ ae({
428
429
  align: "center"
429
430
  }, {
430
431
  default: a((o) => [
431
- o.$index !== 0 ? (k(), O(ee, {
432
+ o.$index !== 0 ? (k(), O(le, {
432
433
  key: 0,
433
434
  onClick: (u) => L(o),
434
435
  size: "18",
@@ -436,23 +437,23 @@ const Ue = /* @__PURE__ */ ae({
436
437
  class: "hover-blue"
437
438
  }, {
438
439
  default: a(() => [
439
- t(x)
440
+ t(ee)
440
441
  ]),
441
442
  _: 2
442
- }, 1032, ["onClick"])) : ie("", !0)
443
+ }, 1032, ["onClick"])) : ue("", !0)
443
444
  ]),
444
445
  _: 1
445
446
  }, 8, ["label"])
446
447
  ]),
447
448
  _: 1
448
449
  }, 8, ["data"]),
449
- t(te, {
450
+ t(oe, {
450
451
  icon: d(be),
451
452
  class: "addButton",
452
453
  onClick: j
453
454
  }, {
454
455
  default: a(() => [
455
- N(w(d(h)("common.add")), 1)
456
+ N(I(d(h)("common.add")), 1)
456
457
  ]),
457
458
  _: 1
458
459
  }, 8, ["icon"]),
@@ -465,7 +466,7 @@ const Ue = /* @__PURE__ */ ae({
465
466
  label: l.$t("itsmFlowReckoning.totalPrice")
466
467
  }, {
467
468
  default: a(() => [
468
- N(w(d(ge)(S.value)), 1)
469
+ N(I(d(Ne)(S.value)), 1)
469
470
  ]),
470
471
  _: 1
471
472
  }, 8, ["label"])
@@ -524,5 +525,5 @@ const Ue = /* @__PURE__ */ ae({
524
525
  }
525
526
  });
526
527
  export {
527
- Ue as default
528
+ Ve as default
528
529
  };
package/dist/index.mjs CHANGED
@@ -66,7 +66,9 @@ const bs = {}, Ns = {
66
66
  orderIdRequired: "请选择订单编号",
67
67
  orderIdRequireds: "根据订单编号自动带出",
68
68
  files: "验收资料",
69
- filesRequired: "请上传验收资料"
69
+ filesRequired: "请上传验收资料",
70
+ deleteSuccess: "删除成功",
71
+ deleteFail: "删除失败"
70
72
  },
71
73
  // 结算单流程表
72
74
  itsmFlowReckoning: {
@@ -2684,7 +2686,7 @@ const Wi = {
2684
2686
  }
2685
2687
  };
2686
2688
  }
2687
- }, Pi = /* @__PURE__ */ Object.assign({ "./views/itsm-flow-acceptance/edit.vue": () => import("./edit-B621RtNS.mjs"), "./views/itsm-flow-acceptance/index.vue": () => import("./index-BJl7xHYx.mjs"), "./views/itsm-flow-entrust/edit.vue": () => import("./edit-CoRzQ2SK.mjs"), "./views/itsm-flow-entrust/index.vue": () => import("./index-BlBkHqXR.mjs"), "./views/itsm-flow-reckoning/edit.vue": () => import("./edit-Czk64Yon.mjs"), "./views/itsm-flow-reckoning/index.vue": () => import("./index-CdzhLCkX.mjs") }), Wt = () => import("./index-BCP5cBN6.mjs"), Fi = () => import("./index-DX1PURJy.mjs"), Pt = () => import("./index-CVbpEq7V.mjs"), Ii = () => import("./index-Dld6YbIV.mjs"), Ft = () => import("./index-CRHpl0qA.mjs"), Ci = () => import("./index-B5vmtcUk.mjs"), Ei = {
2689
+ }, Pi = /* @__PURE__ */ Object.assign({ "./views/itsm-flow-acceptance/edit.vue": () => import("./edit-RNcc8UYn.mjs"), "./views/itsm-flow-acceptance/index.vue": () => import("./index-ay0TMqjH.mjs"), "./views/itsm-flow-entrust/edit.vue": () => import("./edit-CJKi69Ya.mjs"), "./views/itsm-flow-entrust/index.vue": () => import("./index-BqZwYXr_.mjs"), "./views/itsm-flow-reckoning/edit.vue": () => import("./edit-BatVtQjM.mjs"), "./views/itsm-flow-reckoning/index.vue": () => import("./index-2vkMhoSW.mjs") }), Wt = () => import("./index-CpSpS_gR.mjs"), Fi = () => import("./index-tnwVLRVb.mjs"), Pt = () => import("./index-BkB6hpAN.mjs"), Ii = () => import("./index-Ckl3mXfI.mjs"), Ft = () => import("./index-DmttwKtY.mjs"), Ci = () => import("./index-w_RSrZed.mjs"), Ei = {
2688
2690
  install(e) {
2689
2691
  Os(Pi, 7), xs(Ts), H("TaskItsmFlowEntrust", Wt), H("TaskItsmFlowEntrustEdit", Fi), H("TaskItsmFlowEntrustView", Wt), H("TaskItsmFlowAcceptance", Pt), H(
2690
2692
  "TaskItsmFlowAcceptanceEdit",
@@ -1,5 +1,6 @@
1
+ import { type FilesReq } from "jmash-core";
1
2
  import type { AxiosPromise } from "axios";
2
- import type { ItsmFlowAcceptanceApi, ItsmFlowAcceptanceReq, ItsmFlowAcceptanceModel, ItsmFlowAcceptancePage, ItsmFlowAcceptanceList, ItsmFlowAcceptanceKey, ItsmFlowAcceptanceExportReq, ItsmFlowAcceptanceApplyReq } from "./types";
3
+ import type { ItsmFlowAcceptanceApi, ItsmFlowAcceptanceReq, ItsmFlowAcceptanceModel, ItsmFlowAcceptancePage, ItsmFlowAcceptanceList, ItsmFlowAcceptanceKey, ItsmFlowAcceptanceExportReq, ItsmFlowAcceptanceApplyReq, ItsmFlowAcceptanceFilesReq, ItsmFlowAcceptanceFilesList, AcceptanceDeleteFilesReq, ItsmFlowAcceptanceHeadmanReq, ItsmFlowAcceptanceHeadmanList } from "./types";
3
4
  declare class ItsmFlowAcceptanceApiImpl implements ItsmFlowAcceptanceApi {
4
5
  getKey(model: ItsmFlowAcceptanceModel): ItsmFlowAcceptanceKey;
5
6
  findPage(query?: ItsmFlowAcceptanceReq): AxiosPromise<ItsmFlowAcceptancePage>;
@@ -9,6 +10,9 @@ declare class ItsmFlowAcceptanceApiImpl implements ItsmFlowAcceptanceApi {
9
10
  submit(data: ItsmFlowAcceptanceApplyReq): AxiosPromise<ItsmFlowAcceptanceModel>;
10
11
  delete(query: ItsmFlowAcceptanceKey): AxiosPromise<ItsmFlowAcceptanceModel>;
11
12
  exportFilePdf(query: ItsmFlowAcceptanceExportReq): AxiosPromise;
13
+ findFilesList(query: ItsmFlowAcceptanceFilesReq): AxiosPromise<ItsmFlowAcceptanceFilesList>;
14
+ deleteFilesList(query: AcceptanceDeleteFilesReq): AxiosPromise<FilesReq>;
15
+ findHeadman(query: ItsmFlowAcceptanceHeadmanReq): AxiosPromise<ItsmFlowAcceptanceHeadmanList>;
12
16
  }
13
17
  declare const itsmFlowAcceptanceApi: ItsmFlowAcceptanceApiImpl;
14
18
  export { itsmFlowAcceptanceApi };
@@ -1,4 +1,4 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq } from "jmash-core";
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, FilesReq } from "jmash-core";
2
2
  export interface ItsmFlowAcceptanceApi extends EntityApi {
3
3
  }
4
4
  export interface ItsmFlowAcceptanceReq extends EntityReq {
@@ -27,6 +27,7 @@ export interface ItsmFlowAcceptanceModel extends EntityModel {
27
27
  headmanName?: string;
28
28
  membersName?: string;
29
29
  membersId?: string;
30
+ files?: Array<FilesReq>;
30
31
  }
31
32
  export interface ItsmFlowAcceptanceList extends EntityList {
32
33
  results: Array<ItsmFlowAcceptanceModel>;
@@ -81,3 +82,30 @@ export interface ItsmFlowFormFiles {
81
82
  fileName?: string;
82
83
  fileSort?: string;
83
84
  }
85
+ export interface ItsmFlowAcceptanceFilesReq {
86
+ actionId?: string;
87
+ }
88
+ export interface ItsmFlowAcceptanceFilesModel {
89
+ fileId?: string;
90
+ fileName?: string;
91
+ }
92
+ export interface ItsmFlowAcceptanceFilesList extends EntityList {
93
+ results: Array<ItsmFlowAcceptanceFilesModel>;
94
+ }
95
+ export interface AcceptanceDeleteFilesReq {
96
+ tenant?: string;
97
+ fileId?: string;
98
+ actionId?: string;
99
+ }
100
+ export interface ItsmFlowAcceptanceHeadmanReq {
101
+ tenant?: string;
102
+ deptId?: string;
103
+ jobId?: string;
104
+ }
105
+ export interface ItsmFlowAcceptanceHeadmanModel {
106
+ key?: string;
107
+ value?: string;
108
+ }
109
+ export interface ItsmFlowAcceptanceHeadmanList extends EntityList {
110
+ results: Array<ItsmFlowAcceptanceHeadmanModel>;
111
+ }
@@ -1,9 +1,6 @@
1
1
  import type { AxiosPromise } from "axios";
2
2
  import type { ItsmFlowEntrustApi, ItsmFlowEntrustReq, ItsmFlowEntrustModel, ItsmFlowEntrustPage, ItsmFlowEntrustList, ItsmFlowEntrustKey, ItsmFlowEntrustExportReq, ItsmFlowEntrustApplyReq, FlowTaskAttachmentCreateReq } from "./types";
3
3
  declare class ItsmFlowEntrustApiImpl implements ItsmFlowEntrustApi {
4
- itsmFlowReckoningApi(arg0: {
5
- entrustId: string;
6
- }): void;
7
4
  getKey(model: ItsmFlowEntrustModel): ItsmFlowEntrustKey;
8
5
  findPage(query?: ItsmFlowEntrustReq): AxiosPromise<ItsmFlowEntrustPage>;
9
6
  findList(query?: ItsmFlowEntrustReq): AxiosPromise<ItsmFlowEntrustList>;
@@ -62,6 +62,8 @@ declare const _default: {
62
62
  orderIdRequireds: string;
63
63
  files: string;
64
64
  filesRequired: string;
65
+ deleteSuccess: string;
66
+ deleteFail: string;
65
67
  };
66
68
  itsmFlowReckoning: {
67
69
  name: string;
@@ -1,8 +1,8 @@
1
1
  import { type PropType } from "vue";
2
- import type { ItsmFlowAcceptanceKey } from "@/api/itsm-flow-acceptance/types";
2
+ import type { ItsmFlowAcceptanceModel } from "@/api/itsm-flow-acceptance/types";
3
3
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  entityKey: {
5
- type: PropType<ItsmFlowAcceptanceKey>;
5
+ type: PropType<ItsmFlowAcceptanceModel>;
6
6
  default: () => void;
7
7
  };
8
8
  modelValue: {
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
13
13
  "update:modelValue": (value: boolean) => void;
14
14
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
15
  entityKey: {
16
- type: PropType<ItsmFlowAcceptanceKey>;
16
+ type: PropType<ItsmFlowAcceptanceModel>;
17
17
  default: () => void;
18
18
  };
19
19
  modelValue: {
@@ -23,6 +23,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
23
23
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
24
24
  onRefresh?: ((...args: any[]) => any) | undefined;
25
25
  }>, {
26
- entityKey: ItsmFlowAcceptanceKey;
26
+ entityKey: ItsmFlowAcceptanceModel;
27
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
28
28
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-itsm-flow",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/index.d.ts",