xyvcard-itsm-flow 0.0.24 → 0.0.26

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 (63) hide show
  1. package/dist/{FileSaver.min-X2_RihtX.mjs → FileSaver.min-FLjvLk81.mjs} +1 -1
  2. package/dist/{edit-fNZ8seSE.mjs → edit-Bj6O1CiV.mjs} +36 -36
  3. package/dist/{edit-Crp2NJw2.mjs → edit-BoyxGI-j.mjs} +1 -1
  4. package/dist/{edit-C4uQUyxR.mjs → edit-ChPw3-tf.mjs} +52 -50
  5. package/dist/{edit-Da4XYqIW.mjs → edit-D--QEJjt.mjs} +1 -1
  6. package/dist/{edit-B4N5cmbv.mjs → edit-DE30a8nF.mjs} +1 -1
  7. package/dist/{edit-DSzeVnep.mjs → edit-DVqIGzRC.mjs} +2 -2
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-ClkzOaAV.mjs → edit.vue_vue_type_script_setup_true_lang-D4j6dzcV.mjs} +1 -1
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-DZj5V6Mk.mjs → edit.vue_vue_type_script_setup_true_lang-DHCoPaGf.mjs} +2 -2
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-VfP4qMQI.mjs → edit.vue_vue_type_script_setup_true_lang-DiY4aiPm.mjs} +1 -1
  11. package/dist/{index-CPwNJkJK.mjs → index-8wrBAgqn.mjs} +5 -5
  12. package/dist/{index-B5OVt83d.mjs → index-BCm8GyNp.mjs} +1 -1
  13. package/dist/{index-C9LdNu0a.mjs → index-BGUJBf1b.mjs} +27 -27
  14. package/dist/{index-BePwvZ9m.mjs → index-BKReblQ-.mjs} +56 -56
  15. package/dist/{index-D5jF4kAT.mjs → index-BPbEgv_g.mjs} +114 -114
  16. package/dist/{index-DNFVieqg.mjs → index-BVKYrCIy.mjs} +1 -1
  17. package/dist/{index-B0J0xma8.mjs → index-BnpWxtwn.mjs} +3 -3
  18. package/dist/{index-COvZrTZl.mjs → index-C2_qB4RV.mjs} +1 -1
  19. package/dist/{index-Dxfj5xxz.mjs → index-C6lbS4Lo.mjs} +2 -2
  20. package/dist/{index-DnIYE76A.mjs → index-CBlDGIOm.mjs} +37 -37
  21. package/dist/{index-jzk2C9cj.mjs → index-Cbd9gMMJ.mjs} +21 -21
  22. package/dist/{index-Dx0mdENP.mjs → index-CcmelnG0.mjs} +32 -32
  23. package/dist/{index-tcsDF6U0.mjs → index-Cv9EtBjj.mjs} +153 -145
  24. package/dist/{index-Bmev8P7I.mjs → index-DCrOzptR.mjs} +3 -3
  25. package/dist/{index-CCnjfMtC.mjs → index-DLKaq1KT.mjs} +3 -3
  26. package/dist/{index-COT8mjWU.mjs → index-DUeJgFzy.mjs} +2 -2
  27. package/dist/{index-5rQmXXAD.mjs → index-DWJG5OHB.mjs} +1 -1
  28. package/dist/{index-sjkYgg27.mjs → index-DeWL7kiw.mjs} +2 -2
  29. package/dist/{index-CBowEKcR.mjs → index-DgMfinzm.mjs} +2 -2
  30. package/dist/{index-p1DDr7xl.mjs → index-DrUmzzLs.mjs} +13 -13
  31. package/dist/{index-k6cvISUf.mjs → index-DvfEpZEP.mjs} +44 -44
  32. package/dist/{index-CIG303fh.mjs → index-DwPAoK5U.mjs} +121 -118
  33. package/dist/{index-CWrb0ryZ.mjs → index-DyZhLpPq.mjs} +18 -18
  34. package/dist/{index-KUs-CZ9C.mjs → index-DyhFuDLH.mjs} +9 -9
  35. package/dist/{index-BYazmSpv.mjs → index-DymW6iPU.mjs} +3 -3
  36. package/dist/index-SilwoNEK.mjs +4487 -0
  37. package/dist/{index-D47Eql1L.mjs → index-jG64vmFA.mjs} +130 -130
  38. package/dist/{index-DPqaoK4-.mjs → index-r4Tg0GX2.mjs} +3 -3
  39. package/dist/{index-DVyAUAgy.mjs → index-xWvPJZ-m.mjs} +2 -2
  40. package/dist/index.mjs +23 -2921
  41. package/dist/{info-B6nfKr37.mjs → info-9EvTq-5p.mjs} +1 -1
  42. package/dist/{info-Cd4n1Hxk.mjs → info-BWhsB1Ap.mjs} +1 -1
  43. package/dist/{info-D90oJO1z.mjs → info-CGUYIYny.mjs} +1 -1
  44. package/dist/{info-6YpNb7VF.mjs → info-CbJJduEU.mjs} +1 -1
  45. package/dist/info-CtxVi70h.mjs +4 -0
  46. package/dist/info-ZeMWMgd3.mjs +4 -0
  47. package/dist/{info.vue_vue_type_script_setup_true_lang-BzNQmLMY.mjs → info.vue_vue_type_script_setup_true_lang-C0J9fiF3.mjs} +1 -1
  48. package/dist/{info.vue_vue_type_script_setup_true_lang-BWMDxwv-.mjs → info.vue_vue_type_script_setup_true_lang-CAfl8pgB.mjs} +13 -13
  49. package/dist/{info.vue_vue_type_script_setup_true_lang-BvcEV_aO.mjs → info.vue_vue_type_script_setup_true_lang-CY7c7Xmz.mjs} +2 -2
  50. package/dist/{info.vue_vue_type_script_setup_true_lang-BM-bddTj.mjs → info.vue_vue_type_script_setup_true_lang-CdiFub3m.mjs} +8 -8
  51. package/dist/{info.vue_vue_type_script_setup_true_lang-CZa5y_q9.mjs → info.vue_vue_type_script_setup_true_lang-DIXXp0TI.mjs} +2 -2
  52. package/dist/{info.vue_vue_type_script_setup_true_lang-DhuclI_H.mjs → info.vue_vue_type_script_setup_true_lang-Dm4Ld-wL.mjs} +1 -1
  53. package/dist/style.css +1 -1
  54. package/dts/api/itsm-flow-temporary/index.d.ts +2 -1
  55. package/dts/api/itsm-flow-temporary/types.d.ts +13 -0
  56. package/dts/index.d.ts +2 -0
  57. package/dts/lang/itsm-flow/zh-cn.d.ts +6 -6
  58. package/package.json +1 -1
  59. package/dist/_commonjsHelpers-BVfed4GL.mjs +0 -28
  60. package/dist/index-CYJvDaI_.mjs +0 -1371
  61. package/dist/index-o0oTSdUL.mjs +0 -149
  62. package/dist/info-XskyQapE.mjs +0 -4
  63. package/dist/info-a4HMapKP.mjs +0 -4
@@ -1,4 +1,4 @@
1
- import { c } from "./_commonjsHelpers-BVfed4GL.mjs";
1
+ import { c } from "./index-SilwoNEK.mjs";
2
2
  var E = { exports: {} };
3
3
  (function(h, j) {
4
4
  (function(p, i) {
@@ -1,11 +1,11 @@
1
- import { defineComponent as fe, mergeModels as j, ref as c, reactive as Y, computed as z, watch as K, useModel as ye, nextTick as ge, resolveComponent as i, createBlock as h, openBlock as m, withCtx as r, createVNode as o, unref as s, createElementBlock as g, Fragment as I, renderList as V, createCommentVNode as ve, createTextVNode as b, toDisplayString as w, createElementVNode as Ie } from "vue";
1
+ import { defineComponent as fe, mergeModels as j, ref as c, reactive as Y, computed as z, watch as K, useModel as ye, nextTick as ge, resolveComponent as i, createBlock as h, openBlock as m, withCtx as r, createVNode as o, unref as s, createElementBlock as g, Fragment as v, renderList as V, createCommentVNode as Ie, createTextVNode as w, toDisplayString as b, createElementVNode as ve } from "vue";
2
2
  import { ElMessage as H } from "element-plus";
3
- import { useI18n as be } from "vue-i18n";
4
- import { i as C } from "./index-o0oTSdUL.mjs";
5
- import { D as v, O as G, C as $, i as we } from "./index-5rQmXXAD.mjs";
3
+ import { useI18n as we } from "vue-i18n";
4
+ import { i as C } from "./index-SilwoNEK.mjs";
5
+ import { D as I, O as G, C as $, i as be } from "./index-DWJG5OHB.mjs";
6
6
  import { u as _e } from "./index-CvX2It1o.mjs";
7
- import { sysUserExtApi as Te } from "xyvcard-itsmsys";
8
- import { useUserStoreHook as Fe } from "jmash-core";
7
+ import { sysUserExtApi as Fe } from "xyvcard-itsmsys";
8
+ import { useUserStoreHook as Te } from "jmash-core";
9
9
  import { _ as he } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
10
10
  const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
11
11
  __name: "edit",
@@ -21,26 +21,26 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
21
21
  }),
22
22
  emits: /* @__PURE__ */ j(["refresh"], ["update:modelValue"]),
23
23
  setup(U, { emit: J }) {
24
- const Q = Fe(), { t: p } = be(), O = c();
25
- v.itemBizLayDict.useValues();
24
+ const Q = Te(), { t: p } = we(), O = c();
25
+ I.itemBizLayDict.useValues();
26
26
  const D = new G({ orgType: $.HALL });
27
27
  D.useValues();
28
28
  const R = new G({ orgType: $.OUTSOURCE });
29
- R.useValues(), v.userExtBizDict.useValues();
29
+ R.useValues(), I.userExtBizDict.useValues();
30
30
  const S = c((/* @__PURE__ */ new Date()).toISOString().split("T")[0]);
31
31
  let t = Y({
32
32
  requestId: Math.random() * 10 + "",
33
33
  files: [],
34
34
  temporaryType: $.External
35
35
  });
36
- const L = z(() => t.govOrgId ? v.itemBizLayDict.values.filter(
36
+ const L = z(() => t.govOrgId ? I.itemBizLayDict.values.filter(
37
37
  (l) => l.orgId === t.govOrgId
38
38
  ) : []);
39
39
  function W(e) {
40
40
  t.itemId = void 0;
41
41
  }
42
42
  const _ = c([]), f = c([]);
43
- Te.findList().then((e) => {
43
+ Fe.findList().then((e) => {
44
44
  _.value = e.data.results;
45
45
  }), K(
46
46
  [_, () => t.userId],
@@ -103,7 +103,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
103
103
  }
104
104
  ]
105
105
  }), y = ye(U, "modelValue"), q = U, Z = z(() => {
106
- const e = v.fileTypeDict.values.slice(2, 3)[0];
106
+ const e = I.fileTypeDict.values.slice(2, 3)[0];
107
107
  return e ? e.dictCode : "temporary_file";
108
108
  });
109
109
  function x() {
@@ -118,7 +118,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
118
118
  };
119
119
  t.files || (t.files = []), t.files.push(l), t.files = [...new Set(t.files)];
120
120
  }
121
- console.log(v.fileTypeDict.values.slice(2, 3)[0], "=>fileTypeDict ");
121
+ console.log(I.fileTypeDict.values.slice(2, 3)[0], "=>fileTypeDict ");
122
122
  function le(e) {
123
123
  var l;
124
124
  (l = t.files) == null || l.splice(e, 1);
@@ -130,7 +130,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
130
130
  });
131
131
  });
132
132
  function oe() {
133
- we.findFilesList({ actionId: q.entityKey.temporaryId }).then(({ data: e }) => {
133
+ be.findFilesList({ actionId: q.entityKey.temporaryId }).then(({ data: e }) => {
134
134
  e.results && Array.isArray(e.results) && (t.files = e.results.map((l) => {
135
135
  let u = "";
136
136
  return l.fileName && (u = l.fileSort || l.type || ""), {
@@ -166,35 +166,35 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
166
166
  y.value && (y.value = !1);
167
167
  }
168
168
  return (e, l) => {
169
- const u = i("jmash-select"), d = i("el-form-item"), n = i("el-col"), A = i("el-option"), M = i("el-select"), T = i("el-input"), se = i("el-date-picker"), F = i("el-button"), ie = i("CircleClose"), ue = i("el-icon"), de = i("el-row"), ne = i("el-form"), me = i("jmash-multi-upload"), pe = i("el-dialog");
169
+ const u = i("jmash-select"), d = i("el-form-item"), n = i("el-col"), A = i("el-option"), M = i("el-select"), F = i("el-input"), se = i("el-date-picker"), T = i("el-button"), ie = i("CircleClose"), ue = i("el-icon"), de = i("el-row"), ne = i("el-form"), me = i("jmash-multi-upload"), pe = i("el-dialog");
170
170
  return m(), h(pe, {
171
171
  modelValue: y.value,
172
172
  "onUpdate:modelValue": l[9] || (l[9] = (a) => y.value = a),
173
173
  onClose: E
174
174
  }, {
175
175
  footer: r(() => [
176
- Ie("div", Ve, [
177
- o(F, { onClick: E }, {
176
+ ve("div", Ve, [
177
+ o(T, { onClick: E }, {
178
178
  default: r(() => [
179
- b(w(e.$t("common.cancel")), 1)
179
+ w(b(e.$t("common.cancel")), 1)
180
180
  ]),
181
181
  _: 1
182
182
  }),
183
- o(F, {
183
+ o(T, {
184
184
  type: "primary",
185
185
  onClick: re
186
186
  }, {
187
187
  default: r(() => [
188
- b(w(e.$t("itsmFlowEntrustUser.save")), 1)
188
+ w(b(e.$t("itsmFlowEntrustUser.save")), 1)
189
189
  ]),
190
190
  _: 1
191
191
  }),
192
- o(F, {
192
+ o(T, {
193
193
  type: "primary",
194
194
  onClick: ae
195
195
  }, {
196
196
  default: r(() => [
197
- b(w(e.$t("itsmFlowEntrustUser.submit")), 1)
197
+ w(b(e.$t("itsmFlowEntrustUser.submit")), 1)
198
198
  ]),
199
199
  _: 1
200
200
  })
@@ -238,7 +238,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
238
238
  o(n, { span: 24 }, {
239
239
  default: r(() => [
240
240
  o(d, {
241
- label: e.$t("itsmFlowSpareParts.itemId"),
241
+ label: e.$t("itsmFlowSpareParts.itsmFlowItemId"),
242
242
  prop: "itemId"
243
243
  }, {
244
244
  default: r(() => [
@@ -252,7 +252,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
252
252
  disabled: !s(t).govOrgId
253
253
  }, {
254
254
  default: r(() => [
255
- (m(!0), g(I, null, V(L.value, (a) => (m(), h(A, {
255
+ (m(!0), g(v, null, V(L.value, (a) => (m(), h(A, {
256
256
  key: a.key,
257
257
  value: a.key,
258
258
  label: a.value
@@ -272,7 +272,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
272
272
  label: e.$t("itsmFlowTemporary.createUserTemporary")
273
273
  }, {
274
274
  default: r(() => [
275
- o(T, {
275
+ o(F, {
276
276
  value: s(Q).user.realName,
277
277
  placeholder: e.$t("itsmFlowTemporary.createUserRequired"),
278
278
  "show-word-limit": "",
@@ -316,7 +316,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
316
316
  prop: "title"
317
317
  }, {
318
318
  default: r(() => [
319
- o(T, {
319
+ o(F, {
320
320
  modelValue: s(t).title,
321
321
  "onUpdate:modelValue": l[3] || (l[3] = (a) => s(t).title = a),
322
322
  placeholder: e.$t("itsmFlowTemporary.titleRequired"),
@@ -336,7 +336,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
336
336
  prop: "content"
337
337
  }, {
338
338
  default: r(() => [
339
- o(T, {
339
+ o(F, {
340
340
  modelValue: s(t).content,
341
341
  "onUpdate:modelValue": l[4] || (l[4] = (a) => s(t).content = a),
342
342
  placeholder: e.$t("itsmFlowTemporary.contentRequired"),
@@ -351,20 +351,20 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
351
351
  }),
352
352
  o(n, { span: 24 }, {
353
353
  default: r(() => [
354
- (m(!0), g(I, null, V(s(v).fileTypeDict.values.slice(2, 3), (a, qe) => (m(), g(I, {
354
+ (m(!0), g(v, null, V(s(I).fileTypeDict.values.slice(2, 3), (a, qe) => (m(), g(v, {
355
355
  key: a.dictCode
356
356
  }, [
357
357
  o(d, {
358
358
  label: a.dictName
359
359
  }, {
360
360
  default: r(() => [
361
- o(F, {
361
+ o(T, {
362
362
  type: "primary",
363
363
  icon: s(_e),
364
364
  onClick: x
365
365
  }, {
366
366
  default: r(() => [
367
- b(w(e.$t("common.uploadFiles")), 1)
367
+ w(b(e.$t("common.uploadFiles")), 1)
368
368
  ]),
369
369
  _: 1
370
370
  }, 8, ["icon"])
@@ -373,11 +373,11 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
373
373
  }, 1032, ["label"]),
374
374
  s(t).files && s(t).files.length > 0 ? (m(), h(d, { key: 0 }, {
375
375
  default: r(() => [
376
- (m(!0), g(I, null, V(s(t).files, (ce, P) => (m(), g("div", {
376
+ (m(!0), g(v, null, V(s(t).files, (ce, P) => (m(), g("div", {
377
377
  key: P,
378
378
  class: "files-list"
379
379
  }, [
380
- b(w(ce.fileName) + " ", 1),
380
+ w(b(ce.fileName) + " ", 1),
381
381
  o(ue, {
382
382
  size: "16",
383
383
  class: "icon-right",
@@ -391,7 +391,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
391
391
  ]))), 128))
392
392
  ]),
393
393
  _: 2
394
- }, 1024)) : ve("", !0)
394
+ }, 1024)) : Ie("", !0)
395
395
  ], 64))), 128))
396
396
  ]),
397
397
  _: 1
@@ -434,7 +434,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
434
434
  class: "w-full"
435
435
  }, {
436
436
  default: r(() => [
437
- (m(!0), g(I, null, V(f.value, (a) => (m(), h(A, {
437
+ (m(!0), g(v, null, V(f.value, (a) => (m(), h(A, {
438
438
  key: a.userId,
439
439
  value: a.userId,
440
440
  label: a.realName
@@ -455,7 +455,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
455
455
  prop: "handlingPeriod"
456
456
  }, {
457
457
  default: r(() => [
458
- o(T, {
458
+ o(F, {
459
459
  modelValue: s(t).handlingPeriod,
460
460
  "onUpdate:modelValue": l[7] || (l[7] = (a) => s(t).handlingPeriod = a),
461
461
  placeholder: e.$t("itsmFlowTemporary.handlingPeriodRequired"),
@@ -486,7 +486,7 @@ const Ve = { class: "title" }, Oe = /* @__PURE__ */ fe({
486
486
  }, 8, ["modelValue"]);
487
487
  };
488
488
  }
489
- }), Ae = /* @__PURE__ */ he(Oe, [["__scopeId", "data-v-79a0c4b1"]]);
489
+ }), Ae = /* @__PURE__ */ he(Oe, [["__scopeId", "data-v-b11e9a62"]]);
490
490
  export {
491
491
  Ae as default
492
492
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-VfP4qMQI.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-DHCoPaGf.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,10 +1,10 @@
1
- import { defineComponent as Ie, mergeModels as X, ref as w, useModel as $e, reactive as qe, computed as Z, watch as x, resolveComponent as p, createElementBlock as q, openBlock as f, Fragment as C, createVNode as t, withCtx as r, createElementVNode as y, unref as s, createBlock as V, createCommentVNode as k, renderList as O, toDisplayString as h, createTextVNode as S } from "vue";
1
+ import { defineComponent as Ie, mergeModels as X, ref as w, useModel as $e, reactive as qe, computed as Z, watch as x, resolveComponent as p, createElementBlock as q, openBlock as f, Fragment as C, createVNode as t, withCtx as r, createElementVNode as g, unref as s, createBlock as V, createCommentVNode as k, renderList as O, toDisplayString as b, createTextVNode as S } from "vue";
2
2
  import { ElMessage as _ } from "element-plus";
3
3
  import { d as ke, p as Be, u as Ce, c as Ue } from "./index-CvX2It1o.mjs";
4
4
  import "jmash-rbac";
5
5
  import { useI18n as De } from "vue-i18n";
6
- import { i as A, a as Re } from "./index-COvZrTZl.mjs";
7
- import { D as P, O as Me, C as Te, i as Oe } from "./index-5rQmXXAD.mjs";
6
+ import { i as A, a as Re } from "./index-C2_qB4RV.mjs";
7
+ import { D as P, O as Me, C as Te, i as Oe } from "./index-DWJG5OHB.mjs";
8
8
  import { itemBudgetApi as ee } from "xyvcard-itsm";
9
9
  import { useUserStoreHook as Ae } from "jmash-core";
10
10
  import { _ as Ye } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
@@ -93,7 +93,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
93
93
  } catch (l) {
94
94
  console.error("获取预算金额失败:", l), a.contractMoney = "0";
95
95
  }
96
- }, g = w([
96
+ }, y = w([
97
97
  {
98
98
  type: "",
99
99
  name: "",
@@ -106,7 +106,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
106
106
  }
107
107
  ]);
108
108
  function ue() {
109
- g.value.push({
109
+ y.value.push({
110
110
  type: "",
111
111
  name: "",
112
112
  number: 0,
@@ -118,12 +118,12 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
118
118
  });
119
119
  }
120
120
  function de(e) {
121
- const l = g.value.indexOf(e.row);
122
- l !== 0 && g.value.splice(l, 1);
121
+ const l = y.value.indexOf(e.row);
122
+ l !== 0 && y.value.splice(l, 1);
123
123
  }
124
124
  const T = w("0.00");
125
125
  x(
126
- () => g.value,
126
+ () => y.value,
127
127
  (e) => {
128
128
  if (!e || e.length === 0) {
129
129
  T.value = "0.00";
@@ -149,7 +149,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
149
149
  type: [
150
150
  {
151
151
  required: !0,
152
- message: c("itsmFlowSpareParts.typeRequired"),
152
+ message: c("itsmFlowSpareParts.itsmtypeRequired"),
153
153
  trigger: "change"
154
154
  }
155
155
  ],
@@ -223,7 +223,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
223
223
  };
224
224
  Re.findList(l).then((n) => {
225
225
  var u;
226
- console.log("明细接口返回:", n), (u = n == null ? void 0 : n.data) != null && u.results && Array.isArray(n.data.results) ? g.value = n.data.results : (g.value = [
226
+ console.log("明细接口返回:", n), (u = n == null ? void 0 : n.data) != null && u.results && Array.isArray(n.data.results) ? y.value = n.data.results : (y.value = [
227
227
  {
228
228
  type: "",
229
229
  name: "",
@@ -236,7 +236,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
236
236
  }
237
237
  ], _.warning("未获取到明细数据,已初始化空白行"));
238
238
  }).catch((n) => {
239
- console.error("获取明细失败:", n), _.error("加载明细数据失败"), g.value = [
239
+ console.error("获取明细失败:", n), _.error("加载明细数据失败"), y.value = [
240
240
  /* 初始化空行 */
241
241
  ];
242
242
  }), fe(), M(a.itemId, a.annual);
@@ -256,7 +256,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
256
256
  const ge = async () => {
257
257
  var e;
258
258
  await ((e = U.value) == null ? void 0 : e.validate((l) => {
259
- l && (a.details = g.value, A.create(a).then((n) => {
259
+ l && (a.details = y.value, A.create(a).then((n) => {
260
260
  n.status === 200 && (_({
261
261
  message: c("common.submitSuccess"),
262
262
  type: "success"
@@ -266,7 +266,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
266
266
  }, ye = async () => {
267
267
  var e;
268
268
  await ((e = U.value) == null ? void 0 : e.validate(async (l) => {
269
- l && (a.details = g.value, A.submit(a).then((n) => {
269
+ l && (a.details = y.value, A.submit(a).then((n) => {
270
270
  n.status === 200 && (_({
271
271
  message: c("common.submitSuccess"),
272
272
  type: "success"
@@ -278,7 +278,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
278
278
  I.value = !1;
279
279
  }
280
280
  return (e, l) => {
281
- const n = p("el-col"), u = p("jmash-select"), d = p("el-form-item"), i = p("el-input"), F = p("el-date-picker"), be = p("el-option"), he = p("el-select"), ve = p("el-tree-select"), J = p("el-row"), b = p("el-table-column"), we = p("el-input-number"), Q = p("el-icon"), Fe = p("el-table"), $ = p("el-button"), Ve = p("el-form"), Se = p("el-dialog"), _e = p("jmash-multi-upload");
281
+ const n = p("el-col"), u = p("jmash-select"), d = p("el-form-item"), i = p("el-input"), F = p("el-date-picker"), be = p("el-option"), he = p("el-select"), ve = p("el-tree-select"), J = p("el-row"), h = p("el-table-column"), we = p("el-input-number"), Q = p("el-icon"), Fe = p("el-table"), $ = p("el-button"), Ve = p("el-form"), Se = p("el-dialog"), _e = p("jmash-multi-upload");
282
282
  return f(), q(C, null, [
283
283
  t(Se, {
284
284
  modelValue: I.value,
@@ -286,10 +286,10 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
286
286
  onClose: G
287
287
  }, {
288
288
  footer: r(() => [
289
- y("div", Ee, [
289
+ g("div", Ee, [
290
290
  t($, { onClick: G }, {
291
291
  default: r(() => [
292
- S(h(e.$t("common.cancel")), 1)
292
+ S(b(e.$t("common.cancel")), 1)
293
293
  ]),
294
294
  _: 1
295
295
  }),
@@ -298,7 +298,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
298
298
  onClick: ge
299
299
  }, {
300
300
  default: r(() => [
301
- S(h(e.$t("itsmFlowEntrustUser.save")), 1)
301
+ S(b(e.$t("itsmFlowEntrustUser.save")), 1)
302
302
  ]),
303
303
  _: 1
304
304
  }),
@@ -307,7 +307,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
307
307
  onClick: ye
308
308
  }, {
309
309
  default: r(() => [
310
- S(h(e.$t("itsmFlowEntrustUser.submit")), 1)
310
+ S(b(e.$t("itsmFlowEntrustUser.submit")), 1)
311
311
  ]),
312
312
  _: 1
313
313
  })
@@ -316,7 +316,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
316
316
  default: r(() => [
317
317
  t(n, { span: 24 }, {
318
318
  default: r(() => l[10] || (l[10] = [
319
- y("div", { class: "title" }, "备品备件按需采购申请单", -1)
319
+ g("div", { class: "title" }, "备品备件按需采购申请单", -1)
320
320
  ])),
321
321
  _: 1,
322
322
  __: [10]
@@ -358,14 +358,14 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
358
358
  t(n, { span: 12 }, {
359
359
  default: r(() => [
360
360
  t(d, {
361
- label: e.$t("itsmFlowSpareParts.type"),
361
+ label: e.$t("itsmFlowSpareParts.itsmtype"),
362
362
  prop: "type"
363
363
  }, {
364
364
  default: r(() => [
365
365
  t(u, {
366
366
  modelValue: s(a).type,
367
367
  "onUpdate:modelValue": l[1] || (l[1] = (o) => s(a).type = o),
368
- placeholder: e.$t("itsmFlowSpareParts.typeRequired"),
368
+ placeholder: e.$t("itsmFlowSpareParts.itsmtypeRequired"),
369
369
  data: s(P).purchaseTypeEnum.values,
370
370
  clearable: "",
371
371
  class: "w-full"
@@ -428,7 +428,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
428
428
  }, {
429
429
  default: r(() => [
430
430
  t(d, {
431
- label: e.$t("itsmFlowSpareParts.itemId"),
431
+ label: e.$t("itsmFlowSpareParts.itsmFlowItemId"),
432
432
  prop: "itemId"
433
433
  }, {
434
434
  default: r(() => [
@@ -463,7 +463,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
463
463
  }, {
464
464
  default: r(() => [
465
465
  t(d, {
466
- label: e.$t("itsmFlowSpareParts.budgetType"),
466
+ label: e.$t("itsmFlowSpareParts.itsmFlowBudgetType"),
467
467
  prop: "budgetType"
468
468
  }, {
469
469
  default: r(() => [
@@ -557,26 +557,26 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
557
557
  default: r(() => [
558
558
  t(n, { span: 24 }, {
559
559
  default: r(() => l[11] || (l[11] = [
560
- y("div", { class: "title" }, "运维需求描述", -1)
560
+ g("div", { class: "title" }, "运维需求描述", -1)
561
561
  ])),
562
562
  _: 1,
563
563
  __: [11]
564
564
  }),
565
565
  t(Fe, {
566
- data: g.value,
566
+ data: y.value,
567
567
  border: "",
568
568
  style: { width: "100%" }
569
569
  }, {
570
570
  default: r(() => [
571
- t(b, {
571
+ t(h, {
572
572
  type: "index",
573
573
  label: e.$t("itsmFlowSpareParts.index"),
574
574
  width: "60",
575
575
  align: "center"
576
576
  }, null, 8, ["label"]),
577
- t(b, {
577
+ t(h, {
578
578
  prop: "type",
579
- label: e.$t("itsmFlowSpareParts.type"),
579
+ label: e.$t("itsmFlowSpareParts.itsmtype"),
580
580
  "header-align": "center",
581
581
  width: "180"
582
582
  }, {
@@ -584,15 +584,15 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
584
584
  t(i, {
585
585
  modelValue: o.type,
586
586
  "onUpdate:modelValue": (m) => o.type = m,
587
- placeholder: e.$t("itsmFlowSpareParts.typeRequired"),
587
+ placeholder: e.$t("itsmFlowSpareParts.itsmtypeRequired"),
588
588
  class: "w-full"
589
589
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
590
590
  ]),
591
591
  _: 1
592
592
  }, 8, ["label"]),
593
- t(b, {
593
+ t(h, {
594
594
  prop: "name",
595
- label: e.$t("itsmFlowSpareParts.name"),
595
+ label: e.$t("itsmFlowSpareParts.itsmName"),
596
596
  "header-align": "center",
597
597
  width: "300"
598
598
  }, {
@@ -600,12 +600,12 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
600
600
  t(i, {
601
601
  modelValue: o.name,
602
602
  "onUpdate:modelValue": (m) => o.name = m,
603
- placeholder: e.$t("itsmFlowSpareParts.nameRequired")
603
+ placeholder: e.$t("itsmFlowSpareParts.itsmNameRequired")
604
604
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
605
605
  ]),
606
606
  _: 1
607
607
  }, 8, ["label"]),
608
- t(b, {
608
+ t(h, {
609
609
  prop: "number",
610
610
  label: e.$t("itsmFlowSpareParts.number"),
611
611
  "header-align": "center",
@@ -624,14 +624,14 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
624
624
  ]),
625
625
  _: 1
626
626
  }, 8, ["label"]),
627
- t(b, {
627
+ t(h, {
628
628
  prop: "unit",
629
629
  "header-align": "center",
630
630
  width: "200"
631
631
  }, {
632
632
  header: r(() => [
633
- l[12] || (l[12] = y("span", { class: "required_red" }, "*", -1)),
634
- y("span", null, h(e.$t("itsmFlowSpareParts.unit")), 1)
633
+ l[12] || (l[12] = g("span", { class: "required_red" }, "*", -1)),
634
+ g("span", null, b(e.$t("itsmFlowSpareParts.unit")) + "(计量单位)", 1)
635
635
  ]),
636
636
  default: r(({ row: o }) => [
637
637
  t(i, {
@@ -642,14 +642,14 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
642
642
  ]),
643
643
  _: 1
644
644
  }),
645
- t(b, {
645
+ t(h, {
646
646
  prop: "parameter",
647
647
  "header-align": "center",
648
648
  width: "150"
649
649
  }, {
650
650
  header: r(() => [
651
- l[13] || (l[13] = y("span", { class: "required_red" }, "*", -1)),
652
- y("span", null, h(e.$t("itsmFlowSpareParts.parameter")), 1)
651
+ l[13] || (l[13] = g("span", { class: "required_red" }, "*", -1)),
652
+ g("span", null, b(e.$t("itsmFlowSpareParts.parameter")), 1)
653
653
  ]),
654
654
  default: r(({ row: o }) => [
655
655
  t(i, {
@@ -660,12 +660,14 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
660
660
  ]),
661
661
  _: 1
662
662
  }),
663
- t(b, {
663
+ t(h, {
664
664
  prop: "valuation",
665
- label: e.$t("itsmFlowSpareParts.valuation"),
666
665
  "header-align": "center",
667
666
  width: "120"
668
667
  }, {
668
+ header: r(() => [
669
+ g("span", null, b(e.$t("itsmFlowSpareParts.valuation")) + "(万元)", 1)
670
+ ]),
669
671
  default: r(({ row: o }) => [
670
672
  t(i, {
671
673
  modelValue: o.valuation,
@@ -674,8 +676,8 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
674
676
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
675
677
  ]),
676
678
  _: 1
677
- }, 8, ["label"]),
678
- t(b, {
679
+ }),
680
+ t(h, {
679
681
  prop: "range",
680
682
  label: e.$t("itsmFlowSpareParts.range"),
681
683
  "header-align": "center",
@@ -690,7 +692,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
690
692
  ]),
691
693
  _: 1
692
694
  }, 8, ["label"]),
693
- t(b, {
695
+ t(h, {
694
696
  label: e.$t("common.operate"),
695
697
  width: "60",
696
698
  align: "center"
@@ -720,13 +722,13 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
720
722
  onClick: ue
721
723
  }, {
722
724
  default: r(() => [
723
- S(h(s(c)("common.add")), 1)
725
+ S(b(s(c)("common.add")), 1)
724
726
  ]),
725
727
  _: 1
726
728
  }, 8, ["icon"]),
727
- y("div", Ne, [
729
+ g("div", Ne, [
728
730
  l[14] || (l[14] = S(" 预估总价(万元):")),
729
- y("span", Le, h(T.value), 1)
731
+ g("span", Le, b(T.value), 1)
730
732
  ]),
731
733
  t(n, {
732
734
  span: 24,
@@ -744,7 +746,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
744
746
  onClick: () => me(o.dictCode)
745
747
  }, {
746
748
  default: r(() => [
747
- S(h(e.$t("common.uploadFiles")), 1)
749
+ S(b(e.$t("common.uploadFiles")), 1)
748
750
  ]),
749
751
  _: 2
750
752
  }, 1032, ["icon", "onClick"]),
@@ -752,7 +754,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
752
754
  key: W,
753
755
  class: "files-list"
754
756
  }, [
755
- y("span", null, h(Pe.fileName), 1),
757
+ g("span", null, b(Pe.fileName), 1),
756
758
  D.value ? (f(), V(Q, {
757
759
  key: 0,
758
760
  size: "16",
@@ -790,7 +792,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
790
792
  ], 64);
791
793
  };
792
794
  }
793
- }), el = /* @__PURE__ */ Ye(je, [["__scopeId", "data-v-a55b9bb6"]]);
795
+ }), el = /* @__PURE__ */ Ye(je, [["__scopeId", "data-v-57e7ec79"]]);
794
796
  export {
795
797
  el as default
796
798
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-DZj5V6Mk.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-DiY4aiPm.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-ClkzOaAV.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-D4j6dzcV.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as re, mergeModels as U, ref as f, reactive as S, useModel as ae, computed as se, nextTick as ie, resolveComponent as i, createBlock as N, openBlock as c, withCtx as o, createVNode as t, unref as s, createElementBlock as w, Fragment as b, renderList as M, createCommentVNode as ne, createTextVNode as y, toDisplayString as g, createElementVNode as ue } from "vue";
2
2
  import { ElMessage as O } from "element-plus";
3
3
  import { useI18n as me } from "vue-i18n";
4
- import { i as V } from "./index-o0oTSdUL.mjs";
5
- import { U as de, C as Y, D as I, i as pe } from "./index-5rQmXXAD.mjs";
4
+ import { i as V } from "./index-SilwoNEK.mjs";
5
+ import { U as de, C as Y, D as I, i as pe } from "./index-DWJG5OHB.mjs";
6
6
  import { u as ce } from "./index-CvX2It1o.mjs";
7
7
  import { useUserStoreHook as fe } from "jmash-core";
8
8
  import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as ve, mergeModels as L, ref as f, useModel as be, reactive as T, resolveComponent as u, createBlock as H, openBlock as y, withCtx as o, createVNode as t, createElementVNode as r, unref as d, createElementBlock as R, Fragment as G, renderList as J, createTextVNode as b, toDisplayString as F } from "vue";
2
2
  import { ElMessage as N } from "element-plus";
3
3
  import { useI18n as we } from "vue-i18n";
4
- import { I as ge, C as j, U as he, D as A, i as V } from "./index-5rQmXXAD.mjs";
4
+ import { I as ge, C as j, U as he, D as A, i as V } from "./index-DWJG5OHB.mjs";
5
5
  import { u as ye } from "./index-CvX2It1o.mjs";
6
6
  import { useUserStore as Fe } from "jmash-core";
7
7
  const Ne = { class: "title" }, qe = /* @__PURE__ */ ve({