xyvcard-itsm-flow 0.0.20 → 0.0.21

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 (90) hide show
  1. package/dist/{FileSaver.min-5d27MsC6.mjs → FileSaver.min-X2_RihtX.mjs} +29 -28
  2. package/dist/_commonjsHelpers-BVfed4GL.mjs +28 -0
  3. package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  4. package/dist/{edit-DIh0NEYf.mjs → edit-AAIDp3Ys.mjs} +1 -1
  5. package/dist/edit-BC3HBHna.mjs +378 -0
  6. package/dist/{edit-DdzFTqhg.mjs → edit-CWx9fJF7.mjs} +1 -1
  7. package/dist/edit-CuL-MqiW.mjs +794 -0
  8. package/dist/{edit-Vw2XQ1u6.mjs → edit-XWSh98dW.mjs} +1 -1
  9. package/dist/edit-zRQs9w8y.mjs +492 -0
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-BjhcvEHi.mjs → edit.vue_vue_type_script_setup_true_lang-BCVm7-Ex.mjs} +2 -2
  11. package/dist/{edit.vue_vue_type_script_setup_true_lang-m73-ejk7.mjs → edit.vue_vue_type_script_setup_true_lang-BHgx58mh.mjs} +2 -2
  12. package/dist/{edit.vue_vue_type_script_setup_true_lang-prup6BHU.mjs → edit.vue_vue_type_script_setup_true_lang-Rs79eFoT.mjs} +2 -2
  13. package/dist/{el-message-DawVzOVQ.mjs → el-message-BJAl6Gwu.mjs} +1 -1
  14. package/dist/{index-g0KiWDPW.mjs → index--gw38QeR.mjs} +3 -3
  15. package/dist/index-3BgV8fss.mjs +396 -0
  16. package/dist/index-BDh2WCIf.mjs +316 -0
  17. package/dist/{index-CxyHtsq2.mjs → index-BFtKB0qe.mjs} +2 -2
  18. package/dist/{index-DaSMRndr.mjs → index-BLHnAUcn.mjs} +2 -2
  19. package/dist/index-BSRU0wyQ.mjs +479 -0
  20. package/dist/{index-54evOMFJ.mjs → index-BYbmB9DD.mjs} +2 -2
  21. package/dist/{index-BI1uXq1f.mjs → index-Bom-5z91.mjs} +4 -4
  22. package/dist/index-BtiMpwj2.mjs +457 -0
  23. package/dist/{index-tnTugnqa.mjs → index-C-HQUPPS.mjs} +3 -3
  24. package/dist/{index-DyOibT57.mjs → index-C5pj6umx.mjs} +2 -2
  25. package/dist/{index-C7_kMdm5.mjs → index-CDKSx5IH.mjs} +2 -2
  26. package/dist/{index-Dooa5UH_.mjs → index-CLZfBnlo.mjs} +4 -4
  27. package/dist/index-COvZrTZl.mjs +278 -0
  28. package/dist/index-CXAtR6Vv.mjs +366 -0
  29. package/dist/index-CYJvDaI_.mjs +1371 -0
  30. package/dist/{index-PafaMNgK.mjs → index-CvX2It1o.mjs} +64 -30
  31. package/dist/index-D2AIn13F.mjs +339 -0
  32. package/dist/{index-Cgbv4Ijf.mjs → index-D7TvdZ0W.mjs} +180 -160
  33. package/dist/{index-7_pEehBt.mjs → index-DBRvKb1w.mjs} +2 -2
  34. package/dist/{index-CITy8Hqm.mjs → index-DFj2i4Kf.mjs} +4 -4
  35. package/dist/index-DNsy9Enp.mjs +272 -0
  36. package/dist/index-DQOGU1Vs.mjs +402 -0
  37. package/dist/index-D_PiZ_6x.mjs +749 -0
  38. package/dist/index-DesY4um_.mjs +330 -0
  39. package/dist/{index-v18knD_f.mjs → index-DkPqpjkA.mjs} +2 -2
  40. package/dist/index-Sm592CoC.mjs +273 -0
  41. package/dist/index-cjJjrvPP.mjs +390 -0
  42. package/dist/index-enjFe_Qb.mjs +400 -0
  43. package/dist/index-gWMTJ0gB.mjs +221 -0
  44. package/dist/index-o0oTSdUL.mjs +149 -0
  45. package/dist/index.mjs +1357 -1229
  46. package/dist/{info-8NydJYfB.mjs → info-06y0zz8D.mjs} +1 -1
  47. package/dist/{info-BbMCDfFR.mjs → info-BQh86EaI.mjs} +1 -1
  48. package/dist/{info-l0eP5Tw1.mjs → info-CYY7U06K.mjs} +1 -1
  49. package/dist/info-ClUXgnK1.mjs +4 -0
  50. package/dist/info-DJvahDDF.mjs +4 -0
  51. package/dist/info-nzbmqI2A.mjs +4 -0
  52. package/dist/{info.vue_vue_type_script_setup_true_lang-wuHB-S6l.mjs → info.vue_vue_type_script_setup_true_lang-7L5RJMrf.mjs} +1 -1
  53. package/dist/{info.vue_vue_type_script_setup_true_lang-DMw-pPEW.mjs → info.vue_vue_type_script_setup_true_lang-BHjv3DSd.mjs} +1 -1
  54. package/dist/{info.vue_vue_type_script_setup_true_lang-BnDpoavn.mjs → info.vue_vue_type_script_setup_true_lang-D5eF48hb.mjs} +1 -1
  55. package/dist/info.vue_vue_type_script_setup_true_lang-DxArle2x.mjs +260 -0
  56. package/dist/info.vue_vue_type_script_setup_true_lang-hwan7iwm.mjs +209 -0
  57. package/dist/info.vue_vue_type_script_setup_true_lang-y8F2Xg5z.mjs +374 -0
  58. package/dist/style.css +1 -1
  59. package/dts/api/index.d.ts +5 -1
  60. package/dts/api/itsm-flow-spare-parts/index.d.ts +20 -0
  61. package/dts/api/itsm-flow-spare-parts/types.d.ts +113 -0
  62. package/dts/api/itsm-flow-spare-parts-details/index.d.ts +20 -0
  63. package/dts/api/itsm-flow-spare-parts-details/types.d.ts +77 -0
  64. package/dts/api/itsm-flow-temporary/index.d.ts +21 -0
  65. package/dts/api/itsm-flow-temporary/types.d.ts +115 -0
  66. package/dts/components/ImageUpload/ImageUpload.vue.d.ts +36 -0
  67. package/dts/components/TaskItsmFlowImOrderInterior/index.vue.d.ts +28 -0
  68. package/dts/components/TaskItsmFlowImOrderInteriorEdit/index.vue.d.ts +28 -0
  69. package/dts/components/TaskItsmFlowImOrderInteriorImplement/index.vue.d.ts +28 -0
  70. package/dts/components/TaskItsmFlowImOrderInteriorView/index.vue.d.ts +28 -0
  71. package/dts/components/TaskItsmFlowImSpareParts/index.vue.d.ts +28 -0
  72. package/dts/components/TaskItsmFlowImSparePartsEdit/index.vue.d.ts +28 -0
  73. package/dts/components/TaskItsmFlowImSparePartsUse/index.vue.d.ts +28 -0
  74. package/dts/components/TaskItsmFlowImSpareTemporary/index.vue.d.ts +28 -0
  75. package/dts/components/TaskItsmFlowImSpareTemporaryEdit/index.vue.d.ts +28 -0
  76. package/dts/components/TaskItsmFlowImSpareTemporaryImplement/index.vue.d.ts +28 -0
  77. package/dts/components/TaskItsmFlowImSpareTemporaryView/index.vue.d.ts +28 -0
  78. package/dts/constant.d.ts +8 -0
  79. package/dts/index.d.ts +11 -0
  80. package/dts/lang/itsm-flow/zh-cn.d.ts +81 -0
  81. package/dts/views/item-flow-orders-interior/edit.vue.d.ts +28 -0
  82. package/dts/views/item-flow-orders-interior/index.vue.d.ts +2 -0
  83. package/dts/views/item-flow-orders-interior/info.vue.d.ts +26 -0
  84. package/dts/views/itsm-flow-spare-parts/edit.vue.d.ts +28 -0
  85. package/dts/views/itsm-flow-spare-parts/index.vue.d.ts +2 -0
  86. package/dts/views/itsm-flow-spare-parts/info.vue.d.ts +26 -0
  87. package/dts/views/itsm-flow-temporary/edit.vue.d.ts +28 -0
  88. package/dts/views/itsm-flow-temporary/index.vue.d.ts +2 -0
  89. package/dts/views/itsm-flow-temporary/info.vue.d.ts +26 -0
  90. package/package.json +63 -63
@@ -1,110 +1,144 @@
1
- import { defineComponent as e, createElementBlock as l, openBlock as _, createElementVNode as a } from "vue";
1
+ import { defineComponent as l, createElementBlock as _, openBlock as a, createElementVNode as e } from "vue";
2
2
  /*! Element Plus Icons Vue v2.3.1 */
3
- var u = /* @__PURE__ */ e({
3
+ var u = /* @__PURE__ */ l({
4
4
  name: "CircleCloseFilled",
5
5
  __name: "circle-close-filled",
6
6
  setup(t) {
7
- return (r, s) => (_(), l("svg", {
7
+ return (r, s) => (a(), _("svg", {
8
8
  xmlns: "http://www.w3.org/2000/svg",
9
9
  viewBox: "0 0 1024 1024"
10
10
  }, [
11
- a("path", {
11
+ e("path", {
12
12
  fill: "currentColor",
13
13
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"
14
14
  })
15
15
  ]));
16
16
  }
17
- }), f = u, c = /* @__PURE__ */ e({
17
+ }), m = u, c = /* @__PURE__ */ l({
18
+ name: "CircleClose",
19
+ __name: "circle-close",
20
+ setup(t) {
21
+ return (r, s) => (a(), _("svg", {
22
+ xmlns: "http://www.w3.org/2000/svg",
23
+ viewBox: "0 0 1024 1024"
24
+ }, [
25
+ e("path", {
26
+ fill: "currentColor",
27
+ d: "m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"
28
+ }),
29
+ e("path", {
30
+ fill: "currentColor",
31
+ d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
32
+ })
33
+ ]));
34
+ }
35
+ }), g = c, p = /* @__PURE__ */ l({
18
36
  name: "Close",
19
37
  __name: "close",
20
38
  setup(t) {
21
- return (r, s) => (_(), l("svg", {
39
+ return (r, s) => (a(), _("svg", {
22
40
  xmlns: "http://www.w3.org/2000/svg",
23
41
  viewBox: "0 0 1024 1024"
24
42
  }, [
25
- a("path", {
43
+ e("path", {
26
44
  fill: "currentColor",
27
45
  d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
28
46
  })
29
47
  ]));
30
48
  }
31
- }), w = c, p = /* @__PURE__ */ e({
49
+ }), h = p, o = /* @__PURE__ */ l({
50
+ name: "DeleteFilled",
51
+ __name: "delete-filled",
52
+ setup(t) {
53
+ return (r, s) => (a(), _("svg", {
54
+ xmlns: "http://www.w3.org/2000/svg",
55
+ viewBox: "0 0 1024 1024"
56
+ }, [
57
+ e("path", {
58
+ fill: "currentColor",
59
+ d: "M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"
60
+ })
61
+ ]));
62
+ }
63
+ }), x = o, n = /* @__PURE__ */ l({
32
64
  name: "InfoFilled",
33
65
  __name: "info-filled",
34
66
  setup(t) {
35
- return (r, s) => (_(), l("svg", {
67
+ return (r, s) => (a(), _("svg", {
36
68
  xmlns: "http://www.w3.org/2000/svg",
37
69
  viewBox: "0 0 1024 1024"
38
70
  }, [
39
- a("path", {
71
+ e("path", {
40
72
  fill: "currentColor",
41
73
  d: "M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"
42
74
  })
43
75
  ]));
44
76
  }
45
- }), g = p, n = /* @__PURE__ */ e({
77
+ }), C = n, v = /* @__PURE__ */ l({
46
78
  name: "Plus",
47
79
  __name: "plus",
48
80
  setup(t) {
49
- return (r, s) => (_(), l("svg", {
81
+ return (r, s) => (a(), _("svg", {
50
82
  xmlns: "http://www.w3.org/2000/svg",
51
83
  viewBox: "0 0 1024 1024"
52
84
  }, [
53
- a("path", {
85
+ e("path", {
54
86
  fill: "currentColor",
55
87
  d: "M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"
56
88
  })
57
89
  ]));
58
90
  }
59
- }), m = n, o = /* @__PURE__ */ e({
91
+ }), L = v, i = /* @__PURE__ */ l({
60
92
  name: "SuccessFilled",
61
93
  __name: "success-filled",
62
94
  setup(t) {
63
- return (r, s) => (_(), l("svg", {
95
+ return (r, s) => (a(), _("svg", {
64
96
  xmlns: "http://www.w3.org/2000/svg",
65
97
  viewBox: "0 0 1024 1024"
66
98
  }, [
67
- a("path", {
99
+ e("path", {
68
100
  fill: "currentColor",
69
101
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"
70
102
  })
71
103
  ]));
72
104
  }
73
- }), h = o, i = /* @__PURE__ */ e({
105
+ }), B = i, d = /* @__PURE__ */ l({
74
106
  name: "Upload",
75
107
  __name: "upload",
76
108
  setup(t) {
77
- return (r, s) => (_(), l("svg", {
109
+ return (r, s) => (a(), _("svg", {
78
110
  xmlns: "http://www.w3.org/2000/svg",
79
111
  viewBox: "0 0 1024 1024"
80
112
  }, [
81
- a("path", {
113
+ e("path", {
82
114
  fill: "currentColor",
83
115
  d: "M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"
84
116
  })
85
117
  ]));
86
118
  }
87
- }), x = i, v = /* @__PURE__ */ e({
119
+ }), M = d, f = /* @__PURE__ */ l({
88
120
  name: "WarningFilled",
89
121
  __name: "warning-filled",
90
122
  setup(t) {
91
- return (r, s) => (_(), l("svg", {
123
+ return (r, s) => (a(), _("svg", {
92
124
  xmlns: "http://www.w3.org/2000/svg",
93
125
  viewBox: "0 0 1024 1024"
94
126
  }, [
95
- a("path", {
127
+ e("path", {
96
128
  fill: "currentColor",
97
129
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"
98
130
  })
99
131
  ]));
100
132
  }
101
- }), C = v;
133
+ }), z = f;
102
134
  export {
103
- w as a,
104
- f as c,
105
- g as i,
106
- m as p,
107
- h as s,
108
- x as u,
109
- C as w
135
+ m as a,
136
+ h as b,
137
+ g as c,
138
+ x as d,
139
+ C as i,
140
+ L as p,
141
+ B as s,
142
+ M as u,
143
+ z as w
110
144
  };
@@ -0,0 +1,339 @@
1
+ import { defineComponent as Q, mergeModels as X, ref as y, useModel as Z, reactive as q, computed as x, nextTick as ee, resolveComponent as n, createElementBlock as f, openBlock as c, Fragment as g, createVNode as t, withCtx as r, createElementVNode as le, unref as a, renderList as C, createBlock as te, createCommentVNode as oe, createTextVNode as R, toDisplayString as D } from "vue";
2
+ import "element-plus";
3
+ import { useI18n as re } from "vue-i18n";
4
+ import { i as M } from "./index-o0oTSdUL.mjs";
5
+ import { U as ae, C as v, D as T, i as ie } from "./index-D7TvdZ0W.mjs";
6
+ import { u as se } from "./index-CvX2It1o.mjs";
7
+ import { useUserStoreHook as ne } from "jmash-core";
8
+ import { _ as ue } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
9
+ const de = /* @__PURE__ */ Q({
10
+ __name: "index",
11
+ props: /* @__PURE__ */ X({
12
+ task: {
13
+ type: Object,
14
+ default: () => {
15
+ }
16
+ }
17
+ }, {
18
+ modelValue: {},
19
+ modelModifiers: {}
20
+ }),
21
+ emits: ["update:modelValue"],
22
+ setup(F, { expose: N }) {
23
+ const U = ne(), { t: m } = re(), _ = new ae({ userType: v.COMPANY_MANAGER });
24
+ _.useValues(), console.log("userIdList values:", _.values);
25
+ const b = y(), d = Z(F, "modelValue"), h = F, I = y((/* @__PURE__ */ new Date()).toISOString().split("T")[0]);
26
+ let o = q({
27
+ requestId: Math.random() * 10 + "",
28
+ files: [],
29
+ temporaryType: v.Internal
30
+ });
31
+ const w = y(!1), V = y(), $ = q({
32
+ govOrgId: [
33
+ {
34
+ required: !0,
35
+ message: m("itsmFlowTemporary.govOrgIdRequired"),
36
+ trigger: "change"
37
+ }
38
+ ],
39
+ itemId: [
40
+ {
41
+ required: !0,
42
+ message: m("itsmFlowTemporary.itemIdRequired"),
43
+ trigger: "change"
44
+ }
45
+ ],
46
+ title: [
47
+ {
48
+ required: !0,
49
+ message: m("itsmFlowTemporary.titleRequired"),
50
+ trigger: "change"
51
+ }
52
+ ],
53
+ temporaryType: [
54
+ {
55
+ required: !0,
56
+ message: m("itsmFlowTemporary.temporaryTypeRequired"),
57
+ trigger: "change"
58
+ }
59
+ ],
60
+ outOrgId: [
61
+ {
62
+ required: !0,
63
+ message: m("itsmFlowTemporary.outOrgIdRequired"),
64
+ trigger: "change"
65
+ }
66
+ ],
67
+ userId: [
68
+ {
69
+ required: !0,
70
+ message: m("itsmFlowTemporary.userIdRequired"),
71
+ trigger: "change"
72
+ }
73
+ ]
74
+ }), O = x(() => {
75
+ const e = T.fileTypeDict.values.slice(2, 3)[0];
76
+ return e ? e.dictCode : "temporary_file";
77
+ });
78
+ function S() {
79
+ w.value = !0, V.value.clearFileList();
80
+ }
81
+ function A(e) {
82
+ const l = {
83
+ fileName: e.name,
84
+ fileId: e.response.fileId,
85
+ fileSort: O.value,
86
+ fileSrc: ""
87
+ };
88
+ o.files || (o.files = []), o.files.push(l), o.files = [...new Set(o.files)];
89
+ }
90
+ console.log(T.fileTypeDict.values.slice(2, 3)[0], "=>fileTypeDict ");
91
+ function L(e) {
92
+ var l;
93
+ (l = o.files) == null || l.splice(e, 1);
94
+ }
95
+ M.findById({ temporaryId: h.task.businessKey }).then(({ data: e }) => {
96
+ o.outOrgId = e.outOrgId, ee(() => {
97
+ Object.assign(o, e), Y();
98
+ });
99
+ });
100
+ function Y() {
101
+ ie.findFilesList({ actionId: h.task.businessKey }).then(({ data: e }) => {
102
+ e.results && Array.isArray(e.results) && (o.files = e.results.map((l) => {
103
+ let i = "";
104
+ return l.fileName && (i = l.fileSort || l.type || ""), {
105
+ fileName: l.fileName || "",
106
+ fileId: l.fileId || "",
107
+ fileSort: i,
108
+ fileSrc: ""
109
+ };
110
+ }));
111
+ });
112
+ }
113
+ N({
114
+ changeModel: () => j()
115
+ });
116
+ function j() {
117
+ return d.value && (d.value.selectActions = [
118
+ { key: "true", value: "同意" },
119
+ { key: "false", value: "不同意" }
120
+ ], d.value.varName = "approved", d.value.module = "", d.value.module = v.MODULE_ITSMFLOW), new Promise((e, l) => {
121
+ var i;
122
+ (i = b.value) == null || i.validate((p) => {
123
+ p ? (d.value && (d.value.comment = ""), M.create(o), e(!0)) : l(!1);
124
+ });
125
+ });
126
+ }
127
+ return (e, l) => {
128
+ const i = n("el-col"), p = n("el-input"), u = n("el-form-item"), P = n("el-button"), B = n("CircleClose"), E = n("el-icon"), z = n("el-date-picker"), K = n("jmash-select"), G = n("el-row"), H = n("el-form"), W = n("jmash-multi-upload");
129
+ return c(), f(g, null, [
130
+ t(i, { span: 24 }, {
131
+ default: r(() => l[6] || (l[6] = [
132
+ le("div", { class: "title" }, "内部临时工单", -1)
133
+ ])),
134
+ _: 1,
135
+ __: [6]
136
+ }),
137
+ t(H, {
138
+ ref_key: "taskFormRef",
139
+ ref: b,
140
+ model: a(o),
141
+ "label-width": "150px",
142
+ rules: $,
143
+ class: "custom-table-form custom-form"
144
+ }, {
145
+ default: r(() => [
146
+ t(G, null, {
147
+ default: r(() => [
148
+ t(i, { span: 24 }, {
149
+ default: r(() => [
150
+ t(u, {
151
+ label: e.$t("itsmFlowTemporary.title"),
152
+ prop: "title"
153
+ }, {
154
+ default: r(() => [
155
+ t(p, {
156
+ modelValue: a(o).title,
157
+ "onUpdate:modelValue": l[0] || (l[0] = (s) => a(o).title = s),
158
+ placeholder: e.$t("itsmFlowTemporary.titleRequired"),
159
+ "show-word-limit": "",
160
+ clearable: ""
161
+ }, null, 8, ["modelValue", "placeholder"])
162
+ ]),
163
+ _: 1
164
+ }, 8, ["label"])
165
+ ]),
166
+ _: 1
167
+ }),
168
+ t(i, { span: 24 }, {
169
+ default: r(() => [
170
+ t(u, {
171
+ label: e.$t("itsmFlowTemporary.content"),
172
+ prop: "content"
173
+ }, {
174
+ default: r(() => [
175
+ t(p, {
176
+ modelValue: a(o).content,
177
+ "onUpdate:modelValue": l[1] || (l[1] = (s) => a(o).content = s),
178
+ placeholder: e.$t("itsmFlowTemporary.contentRequired"),
179
+ "show-word-limit": "",
180
+ clearable: ""
181
+ }, null, 8, ["modelValue", "placeholder"])
182
+ ]),
183
+ _: 1
184
+ }, 8, ["label"])
185
+ ]),
186
+ _: 1
187
+ }),
188
+ t(i, { span: 24 }, {
189
+ default: r(() => [
190
+ (c(!0), f(g, null, C(a(T).fileTypeDict.values.slice(2, 3), (s, me) => (c(), f(g, {
191
+ key: s.dictCode
192
+ }, [
193
+ t(u, {
194
+ label: s.dictName
195
+ }, {
196
+ default: r(() => [
197
+ t(P, {
198
+ type: "primary",
199
+ icon: a(se),
200
+ onClick: S
201
+ }, {
202
+ default: r(() => [
203
+ R(D(e.$t("common.uploadFiles")), 1)
204
+ ]),
205
+ _: 1
206
+ }, 8, ["icon"])
207
+ ]),
208
+ _: 2
209
+ }, 1032, ["label"]),
210
+ a(o).files && a(o).files.length > 0 ? (c(), te(u, { key: 0 }, {
211
+ default: r(() => [
212
+ (c(!0), f(g, null, C(a(o).files, (J, k) => (c(), f("div", {
213
+ key: k,
214
+ class: "files-list"
215
+ }, [
216
+ R(D(J.fileName) + " ", 1),
217
+ t(E, {
218
+ size: "16",
219
+ class: "icon-right",
220
+ onClick: (pe) => L(k)
221
+ }, {
222
+ default: r(() => [
223
+ t(B)
224
+ ]),
225
+ _: 2
226
+ }, 1032, ["onClick"])
227
+ ]))), 128))
228
+ ]),
229
+ _: 2
230
+ }, 1024)) : oe("", !0)
231
+ ], 64))), 128))
232
+ ]),
233
+ _: 1
234
+ }),
235
+ t(i, { span: 12 }, {
236
+ default: r(() => [
237
+ t(u, {
238
+ label: e.$t("itsmFlowTemporary.createUser")
239
+ }, {
240
+ default: r(() => [
241
+ t(p, {
242
+ value: a(U).user.realName,
243
+ placeholder: e.$t("itsmFlowTemporary.createUserRequired"),
244
+ "show-word-limit": "",
245
+ clearable: "",
246
+ disabled: !0
247
+ }, null, 8, ["value", "placeholder"])
248
+ ]),
249
+ _: 1
250
+ }, 8, ["label"])
251
+ ]),
252
+ _: 1
253
+ }),
254
+ t(i, { span: 12 }, {
255
+ default: r(() => [
256
+ t(u, {
257
+ label: e.$t("itsmFlowTemporary.createTime"),
258
+ prop: "createTime"
259
+ }, {
260
+ default: r(() => [
261
+ t(z, {
262
+ modelValue: I.value,
263
+ "onUpdate:modelValue": l[2] || (l[2] = (s) => I.value = s),
264
+ type: "date",
265
+ placeholder: e.$t("itsmFlowTemporary.createTimeRequired"),
266
+ format: "YYYY-MM-DD",
267
+ "value-format": "YYYY-MM-DD",
268
+ clearable: !1,
269
+ class: "w-full",
270
+ disabled: !0
271
+ }, null, 8, ["modelValue", "placeholder"])
272
+ ]),
273
+ _: 1
274
+ }, 8, ["label"])
275
+ ]),
276
+ _: 1
277
+ }),
278
+ t(i, { span: 24 }, {
279
+ default: r(() => [
280
+ t(u, {
281
+ label: e.$t("itsmFlowTemporary.userId"),
282
+ prop: "userId"
283
+ }, {
284
+ default: r(() => [
285
+ t(K, {
286
+ modelValue: a(o).userId,
287
+ "onUpdate:modelValue": l[3] || (l[3] = (s) => a(o).userId = s),
288
+ data: a(_).values,
289
+ placeholder: e.$t("itsmFlowTemporary.userIdRequired"),
290
+ "show-word-limit": "",
291
+ clearable: "",
292
+ class: "w-full"
293
+ }, null, 8, ["modelValue", "data", "placeholder"])
294
+ ]),
295
+ _: 1
296
+ }, 8, ["label"])
297
+ ]),
298
+ _: 1
299
+ }),
300
+ t(i, { span: 24 }, {
301
+ default: r(() => [
302
+ t(u, {
303
+ label: e.$t("itsmFlowTemporary.handlingPeriod"),
304
+ prop: "handlingPeriod"
305
+ }, {
306
+ default: r(() => [
307
+ t(p, {
308
+ modelValue: a(o).handlingPeriod,
309
+ "onUpdate:modelValue": l[4] || (l[4] = (s) => a(o).handlingPeriod = s),
310
+ placeholder: e.$t("itsmFlowTemporary.handlingPeriodRequired"),
311
+ "show-word-limit": "",
312
+ clearable: ""
313
+ }, null, 8, ["modelValue", "placeholder"])
314
+ ]),
315
+ _: 1
316
+ }, 8, ["label"])
317
+ ]),
318
+ _: 1
319
+ })
320
+ ]),
321
+ _: 1
322
+ })
323
+ ]),
324
+ _: 1
325
+ }, 8, ["model", "rules"]),
326
+ t(W, {
327
+ ref_key: "uploadRef",
328
+ ref: V,
329
+ modelValue: w.value,
330
+ "onUpdate:modelValue": l[5] || (l[5] = (s) => w.value = s),
331
+ onUploadFileList: A
332
+ }, null, 8, ["modelValue"])
333
+ ], 64);
334
+ };
335
+ }
336
+ }), Fe = /* @__PURE__ */ ue(de, [["__scopeId", "data-v-08ce6876"]]);
337
+ export {
338
+ Fe as default
339
+ };