xyvcard-itsm-flow 0.0.9 → 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 (23) hide show
  1. package/dist/{edit-BatVtQjM.mjs → edit-BnJnxvY6.mjs} +1 -1
  2. package/dist/{edit-CJKi69Ya.mjs → edit-D8J1Znw_.mjs} +1 -1
  3. package/dist/{edit-RNcc8UYn.mjs → edit-har-8Y54.mjs} +1 -1
  4. package/dist/{edit.vue_vue_type_script_setup_true_lang-D9fa466K.mjs → edit.vue_vue_type_script_setup_true_lang-BZ-prpPo.mjs} +3 -4
  5. package/dist/{edit.vue_vue_type_script_setup_true_lang-DlfhAjvW.mjs → edit.vue_vue_type_script_setup_true_lang-QsTI3qOD.mjs} +1 -1
  6. package/dist/{edit.vue_vue_type_script_setup_true_lang-4mAArGdW.mjs → edit.vue_vue_type_script_setup_true_lang-TXBAzoPS.mjs} +138 -135
  7. package/dist/{el-message-9Nit-6wb.mjs → el-message-CIdVBT5R.mjs} +1 -1
  8. package/dist/{index-CpSpS_gR.mjs → index-BAHlhmvh.mjs} +60 -61
  9. package/dist/{index-tnwVLRVb.mjs → index-BjBTIknS.mjs} +115 -114
  10. package/dist/{index-w_RSrZed.mjs → index-C6XFHtva.mjs} +72 -76
  11. package/dist/{index-BkB6hpAN.mjs → index-CF0oM0UA.mjs} +98 -99
  12. package/dist/{index-2vkMhoSW.mjs → index-Cp3csR1g.mjs} +2 -2
  13. package/dist/{index-Ckl3mXfI.mjs → index-DBIF93AC.mjs} +175 -157
  14. package/dist/{index-BqZwYXr_.mjs → index-DKIrRXT5.mjs} +2 -2
  15. package/dist/{index-DmttwKtY.mjs → index-DnFWLmFk.mjs} +58 -59
  16. package/dist/{index-CitJdS-N.mjs → index-DugZK_BS.mjs} +56 -60
  17. package/dist/{index-ay0TMqjH.mjs → index-bMREgnhp.mjs} +2 -2
  18. package/dist/index.mjs +60 -59
  19. package/dts/api/itsm-flow-acceptance/index.d.ts +1 -3
  20. package/dts/api/itsm-flow-acceptance/types.d.ts +1 -6
  21. package/dts/constant.d.ts +3 -0
  22. package/dts/lang/itsm-flow/zh-cn.d.ts +1 -0
  23. package/package.json +1 -1
@@ -1,18 +1,17 @@
1
- import { defineComponent as oe, mergeModels as ne, computed as ae, ref as f, useModel as se, resolveComponent as p, openBlock as v, createElementBlock as b, Fragment as S, createVNode as e, withCtx as l, createElementVNode as a, createTextVNode as u, toDisplayString as r, unref as g, withDirectives as L, vShow as P, createCommentVNode as I, createBlock as A, renderList as ue } from "vue";
1
+ import { defineComponent as te, mergeModels as oe, computed as ne, ref as f, useModel as ae, resolveComponent as p, openBlock as v, createElementBlock as b, Fragment as S, createVNode as e, withCtx as l, createElementVNode as a, createTextVNode as u, toDisplayString as r, unref as y, withDirectives as L, vShow as P, createCommentVNode as I, createBlock as A, renderList as se } from "vue";
2
2
  import "element-plus";
3
- import { useRoute as re } from "vue-router";
4
- import { D as C, C as ie, u as ce, a as de, e as pe } from "./index-CitJdS-N.mjs";
5
- import { i as B, t as me, a as fe } from "./common-Cwl5jzlM.mjs";
3
+ import { D as C, C as ue, u as re, a as ie, e as ce } from "./index-DugZK_BS.mjs";
4
+ import { i as B, t as de, a as pe } from "./common-Cwl5jzlM.mjs";
6
5
  import "jmash-core";
7
- import { useI18n as ve } from "vue-i18n";
8
- import { F as _e } from "./FileSaver.min-BeKvLuyk.mjs";
9
- import { E as O } from "./el-message-9Nit-6wb.mjs";
10
- const be = { key: 0 }, ke = { key: 1 }, we = {
6
+ import { useI18n as me } from "vue-i18n";
7
+ import { F as fe } from "./FileSaver.min-BeKvLuyk.mjs";
8
+ import { E as O } from "./el-message-CIdVBT5R.mjs";
9
+ const ve = { key: 0 }, _e = { key: 1 }, be = {
11
10
  key: 2,
12
11
  class: "distance-left"
13
- }, Ue = /* @__PURE__ */ oe({
12
+ }, $e = /* @__PURE__ */ te({
14
13
  __name: "index",
15
- props: /* @__PURE__ */ ne({
14
+ props: /* @__PURE__ */ oe({
16
15
  task: {
17
16
  type: Object,
18
17
  default: () => {
@@ -24,44 +23,44 @@ const be = { key: 0 }, ke = { key: 1 }, we = {
24
23
  }),
25
24
  emits: ["update:modelValue"],
26
25
  setup($, { expose: j }) {
27
- const { t: N } = ve(), q = ae(() => (i.value.entrustUser || []).map((t) => ({
26
+ const { t: N } = me(), q = ne(() => (i.value.entrustUser || []).map((t) => ({
28
27
  cost: typeof t.cost == "number" ? t.cost : 0,
29
28
  duration: typeof t.duration == "number" ? t.duration : 0
30
29
  }))), K = () => {
31
30
  B.exportFilePdf({
32
- reckoningId: w.value.reckoningId
31
+ reckoningId: g.value.reckoningId
33
32
  }).then((t) => {
34
33
  const n = new Blob([t.data], {
35
34
  type: "application/octet-stream"
36
35
  });
37
- _e.saveAs(n, N("itsmFlowReckoning.name") + ".pdf");
36
+ fe.saveAs(n, N("itsmFlowReckoning.name") + ".pdf");
38
37
  });
39
38
  };
40
39
  C.orgIdBizDict.useValues();
41
- const T = re(), k = $, w = f({
42
- reckoningId: T.query.applyId
43
- }), i = f({}), _ = se($, "modelValue"), h = f(), z = f({}), E = f(!1), R = f(), m = f([]), U = f();
44
- function W() {
45
- E.value = !0, R.value.clearFileList();
40
+ const k = $, g = f({
41
+ reckoningId: k.task.businessKey
42
+ }), i = f({}), _ = ae($, "modelValue"), h = f(), T = f({}), E = f(!1), U = f(), m = f([]), R = f();
43
+ function z() {
44
+ E.value = !0, U.value.clearFileList();
46
45
  }
47
- function G(t) {
46
+ function W(t) {
48
47
  m == null || m.value.splice(t, 1);
49
48
  }
50
- function H(t) {
49
+ function G(t) {
51
50
  const n = {
52
51
  fileName: t.name,
53
52
  fileId: t.response.fileId
54
53
  };
55
- m == null || m.value.push(n), m.value = [...new Set(m.value)], U.value = {
54
+ m == null || m.value.push(n), m.value = [...new Set(m.value)], R.value = {
56
55
  requestId: Math.random() * 10 + "",
57
56
  taskId: k.task.id,
58
57
  name: t.name,
59
58
  type: t.response.contentType,
60
59
  url: t.response.fileSrc
61
- }, J();
60
+ }, H();
62
61
  }
63
- function J() {
64
- de.uploadFile(U.value).then(() => {
62
+ function H() {
63
+ ie.uploadFile(R.value).then(() => {
65
64
  O.success(N("common.uploadSuccess"));
66
65
  }).catch(() => {
67
66
  O.error(N("common.uploadError"));
@@ -70,29 +69,29 @@ const be = { key: 0 }, ke = { key: 1 }, we = {
70
69
  function V(t) {
71
70
  t.mobileEncrypt = !t.mobileEncrypt;
72
71
  }
73
- k.task.businessKey && X(), j({
74
- changeModel: () => Y()
72
+ k.task.businessKey && Q(), j({
73
+ changeModel: () => X()
75
74
  });
76
- function Q() {
77
- pe.findList({ actionId: w.value.reckoningId }).then(({ data: t }) => {
75
+ function J() {
76
+ ce.findList({ actionId: g.value.reckoningId }).then(({ data: t }) => {
78
77
  i.value.entrustUser = [], t.results.forEach((n) => {
79
- n.actionId == w.value.reckoningId && i.value.entrustUser.push({
78
+ n.actionId == g.value.reckoningId && i.value.entrustUser.push({
80
79
  ...n,
81
80
  duration: typeof n.duration == "string" ? parseFloat(n.duration.trim()) : 0
82
81
  });
83
82
  });
84
83
  });
85
84
  }
86
- function X() {
87
- w.value.reckoningId = k.task.businessKey, B.findById({ reckoningId: w.value.reckoningId }).then(({ data: t }) => {
88
- i.value = Object.assign(i.value, t), Q();
85
+ function Q() {
86
+ B.findById({ reckoningId: g.value.reckoningId }).then(({ data: t }) => {
87
+ i.value = Object.assign(i.value, t), J();
89
88
  });
90
89
  }
91
- function Y() {
90
+ function X() {
92
91
  return _.value && (_.value.selectActions = [
93
92
  { key: "true", value: "同意" },
94
93
  { key: "false", value: "不同意" }
95
- ], _.value.varName = "approved", _.value.module = "", _.value.module = ie.MODULE_ITSMFLOW), new Promise((t, n) => {
94
+ ], _.value.varName = "approved", _.value.module = "", _.value.module = ue.MODULE_ITSMFLOW), new Promise((t, n) => {
96
95
  var s;
97
96
  (s = h.value) == null || s.validate((c) => {
98
97
  c ? (_.value && (_.value.comment = ""), t(!0)) : n(!1);
@@ -100,7 +99,7 @@ const be = { key: 0 }, ke = { key: 1 }, we = {
100
99
  });
101
100
  }
102
101
  return (t, n) => {
103
- const s = p("el-col"), c = p("el-form-item"), d = p("el-row"), y = p("el-table-column"), D = p("svg-icon"), Z = p("el-table"), M = p("el-button"), x = p("CircleClose"), ee = p("el-icon"), le = p("el-form"), te = p("jmash-multi-upload");
102
+ const s = p("el-col"), c = p("el-form-item"), d = p("el-row"), w = p("el-table-column"), D = p("svg-icon"), Y = p("el-table"), M = p("el-button"), Z = p("CircleClose"), x = p("el-icon"), ee = p("el-form"), le = p("jmash-multi-upload");
104
103
  return v(), b(S, null, [
105
104
  e(s, { span: 24 }, {
106
105
  default: l(() => n[1] || (n[1] = [
@@ -108,10 +107,10 @@ const be = { key: 0 }, ke = { key: 1 }, we = {
108
107
  ])),
109
108
  _: 1
110
109
  }),
111
- e(le, {
110
+ e(ee, {
112
111
  ref_key: "taskFormRef",
113
112
  ref: h,
114
- model: z.value,
113
+ model: T.value,
115
114
  "label-width": "150px",
116
115
  class: "custom-table-form"
117
116
  }, {
@@ -163,7 +162,7 @@ const be = { key: 0 }, ke = { key: 1 }, we = {
163
162
  prop: "entrustName"
164
163
  }, {
165
164
  default: l(() => [
166
- u(r(g(C).projectNameDict.getDictValue(i.value.entrustName)), 1)
165
+ u(r(y(C).projectNameDict.getDictValue(i.value.entrustName)), 1)
167
166
  ]),
168
167
  _: 1
169
168
  }, 8, ["label"])
@@ -182,7 +181,7 @@ const be = { key: 0 }, ke = { key: 1 }, we = {
182
181
  prop: "serviceOrg"
183
182
  }, {
184
183
  default: l(() => [
185
- u(r(g(C).orgIdBizDict.getValue(i.value.serviceOrg)), 1)
184
+ u(r(y(C).orgIdBizDict.getValue(i.value.serviceOrg)), 1)
186
185
  ]),
187
186
  _: 1
188
187
  }, 8, ["label"])
@@ -272,13 +271,13 @@ const be = { key: 0 }, ke = { key: 1 }, we = {
272
271
  default: l(() => [
273
272
  e(s, { span: 24 }, {
274
273
  default: l(() => [
275
- e(Z, {
274
+ e(Y, {
276
275
  stripe: "",
277
276
  data: i.value.entrustUser,
278
277
  style: { width: "100%" }
279
278
  }, {
280
279
  default: l(() => [
281
- e(y, {
280
+ e(w, {
282
281
  prop: "userId",
283
282
  label: t.$t("itsmFlowEntrustUser.userId")
284
283
  }, {
@@ -287,13 +286,13 @@ const be = { key: 0 }, ke = { key: 1 }, we = {
287
286
  ]),
288
287
  _: 1
289
288
  }, 8, ["label"]),
290
- e(y, {
289
+ e(w, {
291
290
  prop: "idNo",
292
291
  label: t.$t("itsmFlowEntrustUser.idNo")
293
292
  }, {
294
293
  default: l((o) => [
295
- o.row.mobileEncrypt ? (v(), b("span", ke, r(o.row.idNo), 1)) : (v(), b("span", be, r(o.row.idNoIns), 1)),
296
- o.row.idNoIns ? (v(), b("span", we, [
294
+ o.row.mobileEncrypt ? (v(), b("span", _e, r(o.row.idNo), 1)) : (v(), b("span", ve, r(o.row.idNoIns), 1)),
295
+ o.row.idNoIns ? (v(), b("span", be, [
297
296
  L(e(D, {
298
297
  "icon-class": "close-eye",
299
298
  onClick: (F) => V(o.row)
@@ -310,7 +309,7 @@ const be = { key: 0 }, ke = { key: 1 }, we = {
310
309
  ]),
311
310
  _: 1
312
311
  }, 8, ["label"]),
313
- e(y, {
312
+ e(w, {
314
313
  prop: "cost",
315
314
  label: t.$t("itsmFlowEntrustUser.cost")
316
315
  }, {
@@ -319,7 +318,7 @@ const be = { key: 0 }, ke = { key: 1 }, we = {
319
318
  ]),
320
319
  _: 1
321
320
  }, 8, ["label"]),
322
- e(y, {
321
+ e(w, {
323
322
  prop: "duration",
324
323
  label: t.$t("itsmFlowEntrustUser.duration")
325
324
  }, {
@@ -328,12 +327,12 @@ const be = { key: 0 }, ke = { key: 1 }, we = {
328
327
  ]),
329
328
  _: 1
330
329
  }, 8, ["label"]),
331
- e(y, {
330
+ e(w, {
332
331
  prop: "totalAmount",
333
332
  label: t.$t("itsmFlowReckoning.totalAmount")
334
333
  }, {
335
334
  default: l((o) => [
336
- u(r(g(me)(o.row.cost, o.row.duration)), 1)
335
+ u(r(y(de)(o.row.cost, o.row.duration)), 1)
337
336
  ]),
338
337
  _: 1
339
338
  }, 8, ["label"])
@@ -355,7 +354,7 @@ const be = { key: 0 }, ke = { key: 1 }, we = {
355
354
  label: t.$t("itsmFlowReckoning.totalPrice")
356
355
  }, {
357
356
  default: l(() => [
358
- u(r(g(fe)(q.value)) + "元 ", 1)
357
+ u(r(y(pe)(q.value)) + "元 ", 1)
359
358
  ]),
360
359
  _: 1
361
360
  }, 8, ["label"])
@@ -419,8 +418,8 @@ const be = { key: 0 }, ke = { key: 1 }, we = {
419
418
  default: l(() => [
420
419
  e(M, {
421
420
  type: "primary",
422
- icon: g(ce),
423
- onClick: W
421
+ icon: y(re),
422
+ onClick: z
424
423
  }, {
425
424
  default: l(() => [
426
425
  u(r(t.$t("common.uploadFiles")), 1)
@@ -432,18 +431,18 @@ const be = { key: 0 }, ke = { key: 1 }, we = {
432
431
  }, 8, ["label"]),
433
432
  e(c, null, {
434
433
  default: l(() => [
435
- (v(!0), b(S, null, ue(m.value, (o, F) => (v(), b("div", {
434
+ (v(!0), b(S, null, se(m.value, (o, F) => (v(), b("div", {
436
435
  key: F,
437
436
  class: "files-list"
438
437
  }, [
439
438
  u(r(o.fileName) + " ", 1),
440
- e(ee, {
439
+ e(x, {
441
440
  size: "16",
442
441
  class: "icon-right",
443
- onClick: (ye) => G(F)
442
+ onClick: (ke) => W(F)
444
443
  }, {
445
444
  default: l(() => [
446
- e(x)
445
+ e(Z)
447
446
  ]),
448
447
  _: 2
449
448
  }, 1032, ["onClick"])
@@ -485,17 +484,17 @@ const be = { key: 0 }, ke = { key: 1 }, we = {
485
484
  ]),
486
485
  _: 1
487
486
  }, 8, ["model"]),
488
- e(te, {
487
+ e(le, {
489
488
  ref_key: "uploadRef",
490
- ref: R,
489
+ ref: U,
491
490
  modelValue: E.value,
492
491
  "onUpdate:modelValue": n[0] || (n[0] = (o) => E.value = o),
493
- onUploadFileList: H
492
+ onUploadFileList: G
494
493
  }, null, 8, ["modelValue"])
495
494
  ], 64);
496
495
  };
497
496
  }
498
497
  });
499
498
  export {
500
- Ue as default
499
+ $e as default
501
500
  };
@@ -1,12 +1,12 @@
1
1
  var I = Object.defineProperty;
2
2
  var N = (a, t, e) => t in a ? I(a, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[t] = e;
3
3
  var r = (a, t, e) => N(a, typeof t != "symbol" ? t + "" : t, e);
4
- import { useUserStore as i, clearEmpty as c, request as u, BizDict as _, BizLayDict as x, CustomBizDict as E, EnumDict as A } from "jmash-core";
5
- import { contractApi as w, contractUserApi as B, itemApi as L } from "xyvcard-itsm";
6
- import { sysUserExtApi as y, sysOrgApi as f } from "xyvcard-itsmsys";
4
+ import { useUserStore as o, clearEmpty as c, request as u, BizDict as _, BizLayDict as x, CustomBizDict as E, EnumDict as y } from "jmash-core";
5
+ import { contractApi as w, contractUserApi as A, itemApi as B } from "xyvcard-itsm";
6
+ import { sysUserExtApi as L, sysOrgApi as f } from "xyvcard-itsmsys";
7
7
  import { ref as z, defineComponent as d, openBlock as m, createElementBlock as h, createElementVNode as v } from "vue";
8
8
  import { EntryDict as U } from "jmash-dict";
9
- class F {
9
+ class S {
10
10
  getKey(t) {
11
11
  return {
12
12
  acceptanceId: t.acceptanceId
@@ -14,7 +14,7 @@ class F {
14
14
  }
15
15
  // 查询翻页信息验收流程表
16
16
  findPage(t) {
17
- const e = i().user.tenant;
17
+ const e = o().user.tenant;
18
18
  return t && (t.hasApplyStatus = t.applyStatus != null), c(t), u({
19
19
  url: "/v1/itsmflow/itsm_flow_acceptance/mypage/" + e,
20
20
  method: "get",
@@ -23,7 +23,7 @@ class F {
23
23
  }
24
24
  // 查询列表信息验收流程表
25
25
  findList(t) {
26
- const e = i().user.tenant;
26
+ const e = o().user.tenant;
27
27
  return t && (t.hasApplyStatus = t.applyStatus != null), c(t), u({
28
28
  url: "/v1/itsmflow/itsm_flow_acceptance/mylist/" + e,
29
29
  method: "get",
@@ -32,7 +32,7 @@ class F {
32
32
  }
33
33
  // 查询验收流程表
34
34
  findById(t) {
35
- const e = i().user.tenant;
35
+ const e = o().user.tenant;
36
36
  return c(t), u({
37
37
  url: "/v1/itsmflow/itsm_flow_acceptance/id/" + e + "/" + t.acceptanceId,
38
38
  method: "get"
@@ -40,7 +40,7 @@ class F {
40
40
  }
41
41
  // 保存草稿验收流程表
42
42
  save(t) {
43
- return t.tenant = i().user.tenant, c(t), u({
43
+ return t.tenant = o().user.tenant, c(t), u({
44
44
  url: "/v1/itsmflow/itsm_flow_acceptance",
45
45
  method: "post",
46
46
  data: t
@@ -48,7 +48,7 @@ class F {
48
48
  }
49
49
  // 提交验收流程表
50
50
  submit(t) {
51
- return t.tenant = i().user.tenant, c(t), u({
51
+ return t.tenant = o().user.tenant, c(t), u({
52
52
  url: "/v1/itsmflow/itsm_flow_acceptance/submit",
53
53
  method: "post",
54
54
  data: t
@@ -56,7 +56,7 @@ class F {
56
56
  }
57
57
  // 删除验收流程表
58
58
  delete(t) {
59
- return t.tenant = i().user.tenant, c(t), u({
59
+ return t.tenant = o().user.tenant, c(t), u({
60
60
  url: "/v1/itsmflow/itsm_flow_acceptance/id",
61
61
  method: "delete",
62
62
  params: t
@@ -64,7 +64,7 @@ class F {
64
64
  }
65
65
  // 导出pdf
66
66
  exportFilePdf(t) {
67
- const e = i().user.tenant;
67
+ const e = o().user.tenant;
68
68
  return c(t), u({
69
69
  url: `/v1/itsmflow/itsm_flow_acceptance/${e}/itsm_flow_acceptances.pdf?acceptanceId=` + t.acceptanceId,
70
70
  method: "get",
@@ -73,21 +73,13 @@ class F {
73
73
  }
74
74
  // 查询验收材料
75
75
  findFilesList(t) {
76
- const e = i().user.tenant;
76
+ const e = o().user.tenant;
77
77
  return c(t), u({
78
78
  url: "/v1/workflow/form_file/list/" + e,
79
79
  method: "get",
80
80
  params: t
81
81
  });
82
82
  }
83
- // 删除验收流程表
84
- deleteFilesList(t) {
85
- return t.tenant = i().user.tenant, c(t), u({
86
- url: "/v1/workflow/form_file/id",
87
- method: "delete",
88
- params: t
89
- });
90
- }
91
83
  // 查询验收组长
92
84
  findHeadman(t) {
93
85
  return c(t), u({
@@ -97,8 +89,8 @@ class F {
97
89
  });
98
90
  }
99
91
  }
100
- const S = new F();
101
- class C {
92
+ const C = new S();
93
+ class F {
102
94
  getKey(t) {
103
95
  return {
104
96
  entrustId: t.entrustId
@@ -106,7 +98,7 @@ class C {
106
98
  }
107
99
  // 查询翻页信息委托流程表
108
100
  findPage(t) {
109
- const e = i().user.tenant;
101
+ const e = o().user.tenant;
110
102
  return t && (t.hasServiceContent = t.serviceContent != null, t.hasApplyStatus = t.applyStatus != null), c(t), u({
111
103
  url: "/v1/itsmflow/itsm_flow_entrust/mypage/" + e,
112
104
  method: "get",
@@ -115,7 +107,7 @@ class C {
115
107
  }
116
108
  // 查询列表信息委托流程表
117
109
  findList(t) {
118
- const e = i().user.tenant;
110
+ const e = o().user.tenant;
119
111
  return t && (t.hasApplyStatus = t.applyStatus != null), c(t), u({
120
112
  url: "/v1/itsmflow/itsm_flow_entrust/mylist/" + e,
121
113
  method: "get",
@@ -124,7 +116,7 @@ class C {
124
116
  }
125
117
  // 查询委托流程表
126
118
  findById(t) {
127
- const e = i().user.tenant;
119
+ const e = o().user.tenant;
128
120
  return c(t), u({
129
121
  url: "/v1/itsmflow/itsm_flow_entrust/id/" + e + "/" + t.entrustId,
130
122
  method: "get"
@@ -132,7 +124,7 @@ class C {
132
124
  }
133
125
  // 保存草稿委托流程表
134
126
  save(t) {
135
- return t.tenant = i().user.tenant, c(t), u({
127
+ return t.tenant = o().user.tenant, c(t), u({
136
128
  url: "/v1/itsmflow/itsm_flow_entrust",
137
129
  method: "post",
138
130
  data: t
@@ -140,7 +132,7 @@ class C {
140
132
  }
141
133
  // 提交委托流程表
142
134
  submit(t) {
143
- return t.tenant = i().user.tenant, c(t), u({
135
+ return t.tenant = o().user.tenant, c(t), u({
144
136
  url: "/v1/itsmflow/itsm_flow_entrust/submit",
145
137
  method: "post",
146
138
  data: t
@@ -148,7 +140,7 @@ class C {
148
140
  }
149
141
  // 删除委托流程表
150
142
  delete(t) {
151
- return t.tenant = i().user.tenant, c(t), u({
143
+ return t.tenant = o().user.tenant, c(t), u({
152
144
  url: "/v1/itsmflow/itsm_flow_entrust/id",
153
145
  method: "delete",
154
146
  params: t
@@ -156,7 +148,7 @@ class C {
156
148
  }
157
149
  // 打印委托流程表PDF文件
158
150
  exportFilePdf(t) {
159
- const e = i().user.tenant;
151
+ const e = o().user.tenant;
160
152
  return c(t), u({
161
153
  url: `/v1/itsmflow/itsm_flow_entrust/${e}/itsm_flow_entrusts.pdf?entrustId=` + t.entrustId,
162
154
  method: "get",
@@ -165,14 +157,14 @@ class C {
165
157
  }
166
158
  // 上传任务附件
167
159
  uploadFile(t) {
168
- return t.tenant = i().user.tenant, c(t), u({
160
+ return t.tenant = o().user.tenant, c(t), u({
169
161
  url: "/v1/flow/task/attachment",
170
162
  method: "post",
171
163
  data: t
172
164
  });
173
165
  }
174
166
  }
175
- const M = new C();
167
+ const M = new F();
176
168
  class T {
177
169
  getKey(t) {
178
170
  return {
@@ -181,7 +173,7 @@ class T {
181
173
  }
182
174
  // 查询列表信息委托服务人员信息
183
175
  findList(t) {
184
- const e = i().user.tenant;
176
+ const e = o().user.tenant;
185
177
  return c(t), u({
186
178
  url: "/v1/itsmflow/itsm_flow_entrust_user/list/" + e,
187
179
  method: "get",
@@ -232,7 +224,7 @@ class V extends _ {
232
224
  });
233
225
  }
234
226
  }
235
- class k extends _ {
227
+ class b extends _ {
236
228
  // 实现 useValues 方法
237
229
  useValues() {
238
230
  return new Promise((t, e) => {
@@ -254,7 +246,7 @@ class O extends _ {
254
246
  // 实现 useValues 方法
255
247
  useValues() {
256
248
  return new Promise((t, e) => {
257
- B.findList(this.query).then(({ data: n }) => {
249
+ A.findList(this.query).then(({ data: n }) => {
258
250
  const l = n.results;
259
251
  this.values.length = 0, this.values.push(
260
252
  ...l.map(
@@ -270,7 +262,7 @@ class O extends _ {
270
262
  });
271
263
  }
272
264
  }
273
- class b extends x {
265
+ class k extends x {
274
266
  // 实现 useValues 方法
275
267
  useValues(t) {
276
268
  return new Promise((e, n) => {
@@ -298,7 +290,7 @@ class R extends _ {
298
290
  // 实现 useValues 方法
299
291
  useValues() {
300
292
  return new Promise((t, e) => {
301
- L.findList(this.query).then(({ data: n }) => {
293
+ B.findList(this.query).then(({ data: n }) => {
302
294
  const l = n.results;
303
295
  this.values.length = 0, this.values.push(
304
296
  ...l.map(
@@ -342,7 +334,7 @@ class Y extends _ {
342
334
  // 实现 useValues 方法
343
335
  useValues() {
344
336
  return new Promise((t, e) => {
345
- y.findList(this.query).then(({ data: n }) => {
337
+ L.findList(this.query).then(({ data: n }) => {
346
338
  const l = n.results;
347
339
  this.values.length = 0, this.values.push(
348
340
  ...l.map(
@@ -360,7 +352,7 @@ class j extends _ {
360
352
  // 实现 useValues 方法
361
353
  useValues() {
362
354
  return new Promise((t, e) => {
363
- S.findList(this.query).then(({ data: n }) => {
355
+ C.findList(this.query).then(({ data: n }) => {
364
356
  const l = n.results;
365
357
  this.values.length = 0, this.values.push(
366
358
  ...l.map(
@@ -403,34 +395,34 @@ class K extends _ {
403
395
  });
404
396
  }
405
397
  }
406
- class o {
398
+ class i {
407
399
  }
408
400
  // 模块
409
- r(o, "MODULE_ITSMFLOW", "itsmflow"), // 合同分类
410
- r(o, "contractSort", {
401
+ r(i, "MODULE_ITSMFLOW", "itsmflow"), // 合同分类
402
+ r(i, "contractSort", {
411
403
  // 人力
412
404
  manpower: "manpower"
413
405
  }), // 合同类型
414
- r(o, "contractType", {
406
+ r(i, "contractType", {
415
407
  // 外协合同
416
408
  outsource: "outsource"
417
409
  }), // 时间格式-年月
418
- r(o, "FORMAT_MONTH", "YYYY-MM"), // 验查结果
419
- r(o, "IS_VALUES", z([
410
+ r(i, "FORMAT_MONTH", "YYYY-MM"), // 验查结果
411
+ r(i, "IS_VALUES", z([
420
412
  { key: !0, value: "通过" },
421
413
  { key: !1, value: "不通过" }
422
414
  ])), // 服务内容枚举
423
- r(o, "ENUM_SERVICE_CONTENT", "xyvcard.itsmflow.protobuf.ServiceContent"), // 项目名称
424
- r(o, "DICT_PROJECT_NAME", "projectName"), // 机构类型
425
- r(o, "orgType", {
415
+ r(i, "ENUM_SERVICE_CONTENT", "xyvcard.itsmflow.protobuf.ServiceContent"), // 项目名称
416
+ r(i, "DICT_PROJECT_NAME", "projectName"), // 机构类型
417
+ r(i, "orgType", {
426
418
  // 厅局
427
419
  hall: "HALL"
428
420
  }), // 项目状态
429
- r(o, "status", {
421
+ r(i, "status", {
430
422
  // 项目状态(正常)
431
423
  regular: "regular"
432
424
  }), // 流程状态
433
- r(o, "applyStatus", {
425
+ r(i, "applyStatus", {
434
426
  // 草稿
435
427
  draft: "DRAFT",
436
428
  // 进行中
@@ -438,25 +430,29 @@ r(o, "applyStatus", {
438
430
  // 已办结
439
431
  finished: "FINISHED"
440
432
  }), // 人员类型
441
- r(o, "userType", {
433
+ r(i, "userType", {
442
434
  // 公司管理
443
435
  companyManager: "COMPANY_MANAGER"
436
+ }), // 岗位编码
437
+ r(i, "jobCode", {
438
+ // 组长
439
+ groupLeader: "team_leader"
444
440
  });
445
441
  class p {
446
442
  }
447
443
  // 人力合同
448
444
  r(p, "itsmContractBizDict", new P({})), // 人力合同编号
449
445
  r(p, "contractNumberBizDict", new V({})), // 服务人员所属单位
450
- r(p, "orgIdBizDict", new k({})), // 实际投入人员
446
+ r(p, "orgIdBizDict", new b({})), // 实际投入人员
451
447
  r(p, "contractUserBizDict", new O({})), // 验查结果
452
- r(p, "isValuesDict", new E(o.IS_VALUES, {})), // 服务内容
453
- r(p, "serviceContentEnum", new A(
454
- o.MODULE_ITSMFLOW,
455
- o.ENUM_SERVICE_CONTENT
448
+ r(p, "isValuesDict", new E(i.IS_VALUES, {})), // 服务内容
449
+ r(p, "serviceContentEnum", new y(
450
+ i.MODULE_ITSMFLOW,
451
+ i.ENUM_SERVICE_CONTENT
456
452
  )), // 项目名称
457
- r(p, "projectNameDict", new U(o.DICT_PROJECT_NAME)), // 厅局管理父厅级单位
458
- r(p, "parentIdBizDict", new b({
459
- orgType: o.orgType.hall
453
+ r(p, "projectNameDict", new U(i.DICT_PROJECT_NAME)), // 厅局管理父厅级单位
454
+ r(p, "parentIdBizDict", new k({
455
+ orgType: i.orgType.hall
460
456
  })), // 项目列表
461
457
  r(p, "itemBizLayDict", new R({})), // 验收书查询信息
462
458
  r(p, "itsmFlowEntrustBizDict", new H({})), // 管理人员
@@ -566,7 +562,7 @@ var W = /* @__PURE__ */ d({
566
562
  }
567
563
  }), pt = Z;
568
564
  export {
569
- o as C,
565
+ i as C,
570
566
  p as D,
571
567
  H as I,
572
568
  Y as U,
@@ -578,7 +574,7 @@ export {
578
574
  O as f,
579
575
  j as g,
580
576
  K as h,
581
- S as i,
577
+ C as i,
582
578
  nt as j,
583
579
  ct as k,
584
580
  lt as l,
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as M, ref as _, reactive as R, resolveComponent as s, resolveDirective as W, openBlock as p, createElementBlock as V, createElementVNode as N, createVNode as o, withCtx as l, withKeys as A, unref as n, createTextVNode as f, toDisplayString as u, withDirectives as F, createBlock as $, isRef as S, createCommentVNode as T } from "vue";
2
2
  import { useTableHooks as X } from "jmash-core";
3
3
  import { useI18n as Y } from "vue-i18n";
4
- import { D as g, C as Z, i as x } from "./index-CitJdS-N.mjs";
5
- import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-4mAArGdW.mjs";
4
+ import { D as g, C as Z, i as x } from "./index-DugZK_BS.mjs";
5
+ import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-TXBAzoPS.mjs";
6
6
  const te = { class: "app-container" }, le = { class: "search-container" }, oe = ["onClick"], ae = ["onClick"], me = /* @__PURE__ */ M({
7
7
  __name: "index",
8
8
  setup(ne) {