xyvcard-itsm-flow 0.0.25 → 0.0.27
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.
- package/dist/{FileSaver.min-Dlb0564v.mjs → FileSaver.min-DDqwfEMu.mjs} +1 -1
- package/dist/{edit-b1Qpq27u.mjs → edit-BH_qEChy.mjs} +1 -1
- package/dist/{edit-X4DuZAeC.mjs → edit-BWaFYsWY.mjs} +2 -2
- package/dist/{edit-DGLeO86x.mjs → edit-BpAjiLxu.mjs} +36 -36
- package/dist/{edit-Bb1ZMrgr.mjs → edit-CkGTDSiH.mjs} +1 -1
- package/dist/{edit-DEz__zGH.mjs → edit-D0-xQV59.mjs} +1 -1
- package/dist/{edit-DYzjfcpe.mjs → edit-DIyC972n.mjs} +45 -43
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DDFusQ6S.mjs → edit.vue_vue_type_script_setup_true_lang-CEHUWh-t.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DK-kdI-u.mjs → edit.vue_vue_type_script_setup_true_lang-CxUe7kvR.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-COV7eZfh.mjs → edit.vue_vue_type_script_setup_true_lang-DcDT5675.mjs} +1 -1
- package/dist/{index-COlNrHOr.mjs → index-B20ya3NZ.mjs} +56 -56
- package/dist/{index-B3Od63yb.mjs → index-BKQGui3N.mjs} +3 -3
- package/dist/{index-ChiSO5mf.mjs → index-BKveaoi_.mjs} +18 -18
- package/dist/{index-Cc1yu7_y.mjs → index-Bjjyjlwd.mjs} +1 -1
- package/dist/{index-C6QayKyI.mjs → index-BkqkF7bW.mjs} +1 -1
- package/dist/{index-uhCfQAOU.mjs → index-C3zQQDPa.mjs} +3 -3
- package/dist/{index-BjIcvBcw.mjs → index-CGDEQO2p.mjs} +2 -2
- package/dist/{index-XQliRAX-.mjs → index-CI9FMMKr.mjs} +9 -9
- package/dist/{index-DReilvk8.mjs → index-CQ9elIv7.mjs} +2 -2
- package/dist/{index-D4hmXu0K.mjs → index-CV6uWLV9.mjs} +68 -68
- package/dist/{index-BzzIS37Q.mjs → index-CXOeg2so.mjs} +1426 -1444
- package/dist/{index-ZQIeIrUc.mjs → index-Cd9CTAUb.mjs} +27 -27
- package/dist/{index-Crv7Y3gz.mjs → index-Chh_9yED.mjs} +21 -21
- package/dist/{index-UIHGXuWX.mjs → index-CillImY_.mjs} +128 -128
- package/dist/{index-41pGjG4z.mjs → index-CjYlJigX.mjs} +13 -13
- package/dist/{index-CsRdrLdB.mjs → index-D6Poyzq3.mjs} +2 -2
- package/dist/{index-Dr2VSx72.mjs → index-DBRVK73O.mjs} +2 -2
- package/dist/{index-CTX-1ZJN.mjs → index-DTY8LR57.mjs} +1 -1
- package/dist/{index-BnbyM6r8.mjs → index-DY5EGkfi.mjs} +3 -3
- package/dist/{index-Ddn-uP9d.mjs → index-DcDzU5zK.mjs} +44 -44
- package/dist/{index-DB_7mB_B.mjs → index-DfptoNZ3.mjs} +93 -85
- package/dist/{index-DTmCekOe.mjs → index-DjZysfQB.mjs} +26 -26
- package/dist/index-DxoX_XqQ.mjs +384 -0
- package/dist/{index-CUdCuMce.mjs → index-QPdQNctc.mjs} +5 -5
- package/dist/{index-CK8x-scl.mjs → index-WpTFFCXY.mjs} +3 -3
- package/dist/{index-CJmsWz8H.mjs → index-YBHgdjIk.mjs} +25 -25
- package/dist/{index-Dx_iePKi.mjs → index-n6pwVFlo.mjs} +1 -1
- package/dist/{index-DsEA0PWP.mjs → index-qvWMlGg9.mjs} +2 -2
- package/dist/{index-BL1EL_Kk.mjs → index-rHARbj0G.mjs} +3 -3
- package/dist/index.mjs +1 -1
- package/dist/{info-ChOjJGUZ.mjs → info-0Dcd8VrX.mjs} +1 -1
- package/dist/{info-CqJnfPyk.mjs → info-BmfgBiif.mjs} +1 -1
- package/dist/{info-Cu1I8L0Q.mjs → info-C1J_4HDK.mjs} +1 -1
- package/dist/{info-C7BOFhdZ.mjs → info-DTZck-Y6.mjs} +1 -1
- package/dist/info-DjtHpeoT.mjs +4 -0
- package/dist/info-qIG0jebP.mjs +4 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-C9LpdXNC.mjs → info.vue_vue_type_script_setup_true_lang-0cRfUL0q.mjs} +10 -10
- package/dist/{info.vue_vue_type_script_setup_true_lang-BupLtTsI.mjs → info.vue_vue_type_script_setup_true_lang-BeDGwXfi.mjs} +8 -8
- package/dist/{info.vue_vue_type_script_setup_true_lang-CxZBVr6Z.mjs → info.vue_vue_type_script_setup_true_lang-CETcd2E0.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-CwpN4E5Y.mjs → info.vue_vue_type_script_setup_true_lang-CEoQybvz.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-D36lalXS.mjs → info.vue_vue_type_script_setup_true_lang-CdfnKI3-.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-_Rd1Paqi.mjs → info.vue_vue_type_script_setup_true_lang-CzLGZ50z.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dts/lang/itsm-flow/zh-cn.d.ts +2 -2
- package/package.json +1 -1
- package/dist/index-M_tEOKq6.mjs +0 -366
- package/dist/info-DDaeV1sJ.mjs +0 -4
- package/dist/info-DstAR0-a.mjs +0 -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-
|
|
5
|
-
import { U as de, C as Y, D as I, i as pe } from "./index-
|
|
4
|
+
import { i as V } from "./index-CXOeg2so.mjs";
|
|
5
|
+
import { U as de, C as Y, D as I, i as pe } from "./index-DTY8LR57.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,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
|
|
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
|
|
4
|
-
import { i as C } from "./index-
|
|
5
|
-
import { D as
|
|
3
|
+
import { useI18n as we } from "vue-i18n";
|
|
4
|
+
import { i as C } from "./index-CXOeg2so.mjs";
|
|
5
|
+
import { D as I, O as G, C as $, i as be } from "./index-DTY8LR57.mjs";
|
|
6
6
|
import { u as _e } from "./index-CvX2It1o.mjs";
|
|
7
|
-
import { sysUserExtApi as
|
|
8
|
-
import { useUserStoreHook as
|
|
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 =
|
|
25
|
-
|
|
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(),
|
|
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 ?
|
|
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
|
-
|
|
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 =
|
|
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(
|
|
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
|
-
|
|
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"),
|
|
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
|
-
|
|
177
|
-
o(
|
|
176
|
+
ve("div", Ve, [
|
|
177
|
+
o(T, { onClick: E }, {
|
|
178
178
|
default: r(() => [
|
|
179
|
-
b(
|
|
179
|
+
w(b(e.$t("common.cancel")), 1)
|
|
180
180
|
]),
|
|
181
181
|
_: 1
|
|
182
182
|
}),
|
|
183
|
-
o(
|
|
183
|
+
o(T, {
|
|
184
184
|
type: "primary",
|
|
185
185
|
onClick: re
|
|
186
186
|
}, {
|
|
187
187
|
default: r(() => [
|
|
188
|
-
b(
|
|
188
|
+
w(b(e.$t("itsmFlowEntrustUser.save")), 1)
|
|
189
189
|
]),
|
|
190
190
|
_: 1
|
|
191
191
|
}),
|
|
192
|
-
o(
|
|
192
|
+
o(T, {
|
|
193
193
|
type: "primary",
|
|
194
194
|
onClick: ae
|
|
195
195
|
}, {
|
|
196
196
|
default: r(() => [
|
|
197
|
-
b(
|
|
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.
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
361
|
+
o(T, {
|
|
362
362
|
type: "primary",
|
|
363
363
|
icon: s(_e),
|
|
364
364
|
onClick: x
|
|
365
365
|
}, {
|
|
366
366
|
default: r(() => [
|
|
367
|
-
b(
|
|
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(
|
|
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(
|
|
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)) :
|
|
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(
|
|
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(
|
|
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-
|
|
489
|
+
}), Ae = /* @__PURE__ */ he(Oe, [["__scopeId", "data-v-b11e9a62"]]);
|
|
490
490
|
export {
|
|
491
491
|
Ae as default
|
|
492
492
|
};
|
|
@@ -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
|
|
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-
|
|
7
|
-
import { D as P, O as Me, C as Te, i as Oe } from "./index-
|
|
6
|
+
import { i as A, a as Re } from "./index-Bjjyjlwd.mjs";
|
|
7
|
+
import { D as P, O as Me, C as Te, i as Oe } from "./index-DTY8LR57.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
|
-
},
|
|
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
|
-
|
|
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 =
|
|
122
|
-
l !== 0 &&
|
|
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
|
-
() =>
|
|
126
|
+
() => y.value,
|
|
127
127
|
(e) => {
|
|
128
128
|
if (!e || e.length === 0) {
|
|
129
129
|
T.value = "0.00";
|
|
@@ -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) ?
|
|
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("加载明细数据失败"),
|
|
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 =
|
|
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 =
|
|
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"),
|
|
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
|
-
|
|
289
|
+
g("div", Ee, [
|
|
290
290
|
t($, { onClick: G }, {
|
|
291
291
|
default: r(() => [
|
|
292
|
-
S(
|
|
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(
|
|
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(
|
|
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
|
-
|
|
319
|
+
g("div", { class: "title" }, "备品备件按需采购申请单", -1)
|
|
320
320
|
])),
|
|
321
321
|
_: 1,
|
|
322
322
|
__: [10]
|
|
@@ -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.
|
|
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.
|
|
466
|
+
label: e.$t("itsmFlowSpareParts.itsmFlowBudgetType"),
|
|
467
467
|
prop: "budgetType"
|
|
468
468
|
}, {
|
|
469
469
|
default: r(() => [
|
|
@@ -557,24 +557,24 @@ 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
|
-
|
|
560
|
+
g("div", { class: "title" }, "运维需求描述", -1)
|
|
561
561
|
])),
|
|
562
562
|
_: 1,
|
|
563
563
|
__: [11]
|
|
564
564
|
}),
|
|
565
565
|
t(Fe, {
|
|
566
|
-
data:
|
|
566
|
+
data: y.value,
|
|
567
567
|
border: "",
|
|
568
568
|
style: { width: "100%" }
|
|
569
569
|
}, {
|
|
570
570
|
default: r(() => [
|
|
571
|
-
t(
|
|
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(
|
|
577
|
+
t(h, {
|
|
578
578
|
prop: "type",
|
|
579
579
|
label: e.$t("itsmFlowSpareParts.itsmtype"),
|
|
580
580
|
"header-align": "center",
|
|
@@ -590,7 +590,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
|
|
|
590
590
|
]),
|
|
591
591
|
_: 1
|
|
592
592
|
}, 8, ["label"]),
|
|
593
|
-
t(
|
|
593
|
+
t(h, {
|
|
594
594
|
prop: "name",
|
|
595
595
|
label: e.$t("itsmFlowSpareParts.itsmName"),
|
|
596
596
|
"header-align": "center",
|
|
@@ -605,7 +605,7 @@ const Ne = { class: "total-price" }, Le = { id: "totalPrice" }, Ee = { class: "t
|
|
|
605
605
|
]),
|
|
606
606
|
_: 1
|
|
607
607
|
}, 8, ["label"]),
|
|
608
|
-
t(
|
|
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(
|
|
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] =
|
|
634
|
-
|
|
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(
|
|
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] =
|
|
652
|
-
|
|
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(
|
|
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
|
-
}
|
|
678
|
-
t(
|
|
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(
|
|
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(
|
|
725
|
+
S(b(s(c)("common.add")), 1)
|
|
724
726
|
]),
|
|
725
727
|
_: 1
|
|
726
728
|
}, 8, ["icon"]),
|
|
727
|
-
|
|
729
|
+
g("div", Ne, [
|
|
728
730
|
l[14] || (l[14] = S(" 预估总价(万元):")),
|
|
729
|
-
|
|
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(
|
|
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
|
-
|
|
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-
|
|
795
|
+
}), el = /* @__PURE__ */ Ye(je, [["__scopeId", "data-v-6907b88e"]]);
|
|
794
796
|
export {
|
|
795
797
|
el as default
|
|
796
798
|
};
|
|
@@ -2,8 +2,8 @@ import { defineComponent as Ee, mergeModels as Q, ref as f, useModel as _e, reac
|
|
|
2
2
|
import { ElMessage as O } from "element-plus";
|
|
3
3
|
import { useI18n as Fe } from "vue-i18n";
|
|
4
4
|
import { p as Ue } from "./index-CvX2It1o.mjs";
|
|
5
|
-
import { a as A } from "./index-
|
|
6
|
-
import { b as Ne, C as g, c as Ce, d as $e, D as V, a as ke, e as x } from "./index-
|
|
5
|
+
import { a as A } from "./index-CXOeg2so.mjs";
|
|
6
|
+
import { b as Ne, C as g, c as Ce, d as $e, D as V, a as ke, e as x } from "./index-DTY8LR57.mjs";
|
|
7
7
|
import "xyvcard-itsm";
|
|
8
8
|
const Oe = { class: "title" }, Me = /* @__PURE__ */ Ee({
|
|
9
9
|
__name: "edit",
|
|
@@ -3,7 +3,7 @@ import { ElMessage as S } from "element-plus";
|
|
|
3
3
|
import { useI18n as pe } from "vue-i18n";
|
|
4
4
|
import { i as I, t as fe, a as be } from "./common-Cwl5jzlM.mjs";
|
|
5
5
|
import { p as ve } from "./index-CvX2It1o.mjs";
|
|
6
|
-
import { f as ge, C as Ne, D as $, g as ke, a as _e } from "./index-
|
|
6
|
+
import { f as ge, C as Ne, D as $, g as ke, a as _e } from "./index-DTY8LR57.mjs";
|
|
7
7
|
const he = { class: "title" }, $e = /* @__PURE__ */ se({
|
|
8
8
|
__name: "edit",
|
|
9
9
|
props: /* @__PURE__ */ z({
|
|
@@ -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-
|
|
4
|
+
import { I as ge, C as j, U as he, D as A, i as V } from "./index-DTY8LR57.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({
|