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.
- package/dist/{FileSaver.min-X2_RihtX.mjs → FileSaver.min-FLjvLk81.mjs} +1 -1
- package/dist/{edit-fNZ8seSE.mjs → edit-Bj6O1CiV.mjs} +36 -36
- package/dist/{edit-Crp2NJw2.mjs → edit-BoyxGI-j.mjs} +1 -1
- package/dist/{edit-C4uQUyxR.mjs → edit-ChPw3-tf.mjs} +52 -50
- package/dist/{edit-Da4XYqIW.mjs → edit-D--QEJjt.mjs} +1 -1
- package/dist/{edit-B4N5cmbv.mjs → edit-DE30a8nF.mjs} +1 -1
- package/dist/{edit-DSzeVnep.mjs → edit-DVqIGzRC.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-ClkzOaAV.mjs → edit.vue_vue_type_script_setup_true_lang-D4j6dzcV.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DZj5V6Mk.mjs → edit.vue_vue_type_script_setup_true_lang-DHCoPaGf.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-VfP4qMQI.mjs → edit.vue_vue_type_script_setup_true_lang-DiY4aiPm.mjs} +1 -1
- package/dist/{index-CPwNJkJK.mjs → index-8wrBAgqn.mjs} +5 -5
- package/dist/{index-B5OVt83d.mjs → index-BCm8GyNp.mjs} +1 -1
- package/dist/{index-C9LdNu0a.mjs → index-BGUJBf1b.mjs} +27 -27
- package/dist/{index-BePwvZ9m.mjs → index-BKReblQ-.mjs} +56 -56
- package/dist/{index-D5jF4kAT.mjs → index-BPbEgv_g.mjs} +114 -114
- package/dist/{index-DNFVieqg.mjs → index-BVKYrCIy.mjs} +1 -1
- package/dist/{index-B0J0xma8.mjs → index-BnpWxtwn.mjs} +3 -3
- package/dist/{index-COvZrTZl.mjs → index-C2_qB4RV.mjs} +1 -1
- package/dist/{index-Dxfj5xxz.mjs → index-C6lbS4Lo.mjs} +2 -2
- package/dist/{index-DnIYE76A.mjs → index-CBlDGIOm.mjs} +37 -37
- package/dist/{index-jzk2C9cj.mjs → index-Cbd9gMMJ.mjs} +21 -21
- package/dist/{index-Dx0mdENP.mjs → index-CcmelnG0.mjs} +32 -32
- package/dist/{index-tcsDF6U0.mjs → index-Cv9EtBjj.mjs} +153 -145
- package/dist/{index-Bmev8P7I.mjs → index-DCrOzptR.mjs} +3 -3
- package/dist/{index-CCnjfMtC.mjs → index-DLKaq1KT.mjs} +3 -3
- package/dist/{index-COT8mjWU.mjs → index-DUeJgFzy.mjs} +2 -2
- package/dist/{index-5rQmXXAD.mjs → index-DWJG5OHB.mjs} +1 -1
- package/dist/{index-sjkYgg27.mjs → index-DeWL7kiw.mjs} +2 -2
- package/dist/{index-CBowEKcR.mjs → index-DgMfinzm.mjs} +2 -2
- package/dist/{index-p1DDr7xl.mjs → index-DrUmzzLs.mjs} +13 -13
- package/dist/{index-k6cvISUf.mjs → index-DvfEpZEP.mjs} +44 -44
- package/dist/{index-CIG303fh.mjs → index-DwPAoK5U.mjs} +121 -118
- package/dist/{index-CWrb0ryZ.mjs → index-DyZhLpPq.mjs} +18 -18
- package/dist/{index-KUs-CZ9C.mjs → index-DyhFuDLH.mjs} +9 -9
- package/dist/{index-BYazmSpv.mjs → index-DymW6iPU.mjs} +3 -3
- package/dist/index-SilwoNEK.mjs +4487 -0
- package/dist/{index-D47Eql1L.mjs → index-jG64vmFA.mjs} +130 -130
- package/dist/{index-DPqaoK4-.mjs → index-r4Tg0GX2.mjs} +3 -3
- package/dist/{index-DVyAUAgy.mjs → index-xWvPJZ-m.mjs} +2 -2
- package/dist/index.mjs +23 -2921
- package/dist/{info-B6nfKr37.mjs → info-9EvTq-5p.mjs} +1 -1
- package/dist/{info-Cd4n1Hxk.mjs → info-BWhsB1Ap.mjs} +1 -1
- package/dist/{info-D90oJO1z.mjs → info-CGUYIYny.mjs} +1 -1
- package/dist/{info-6YpNb7VF.mjs → info-CbJJduEU.mjs} +1 -1
- package/dist/info-CtxVi70h.mjs +4 -0
- package/dist/info-ZeMWMgd3.mjs +4 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-BzNQmLMY.mjs → info.vue_vue_type_script_setup_true_lang-C0J9fiF3.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-BWMDxwv-.mjs → info.vue_vue_type_script_setup_true_lang-CAfl8pgB.mjs} +13 -13
- 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
- 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
- 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
- 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
- package/dist/style.css +1 -1
- package/dts/api/itsm-flow-temporary/index.d.ts +2 -1
- package/dts/api/itsm-flow-temporary/types.d.ts +13 -0
- package/dts/index.d.ts +2 -0
- package/dts/lang/itsm-flow/zh-cn.d.ts +6 -6
- package/package.json +1 -1
- package/dist/_commonjsHelpers-BVfed4GL.mjs +0 -28
- package/dist/index-CYJvDaI_.mjs +0 -1371
- package/dist/index-o0oTSdUL.mjs +0 -149
- package/dist/info-XskyQapE.mjs +0 -4
- package/dist/info-a4HMapKP.mjs +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as K, mergeModels as j, ref as w, useModel as W, resolveComponent as
|
|
1
|
+
import { defineComponent as K, mergeModels as j, ref as w, useModel as W, resolveComponent as b, createElementBlock as v, openBlock as m, Fragment as B, createVNode as t, withCtx as e, createElementVNode as F, createBlock as g, createCommentVNode as P, createTextVNode as n, toDisplayString as s, unref as y, renderList as N } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as q } from "vue-i18n";
|
|
4
|
-
import { C as D, D as
|
|
5
|
-
import { i as H, a as J } from "./index-
|
|
4
|
+
import { C as D, D as f, i as G } from "./index-DWJG5OHB.mjs";
|
|
5
|
+
import { i as H, a as J } from "./index-C2_qB4RV.mjs";
|
|
6
6
|
import { fileApi as Q } from "jmash-core";
|
|
7
7
|
import { rbacApi as X } from "jmash-rbac";
|
|
8
8
|
const Y = { key: 0 }, se = /* @__PURE__ */ K({
|
|
@@ -19,83 +19,83 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
|
|
|
19
19
|
}),
|
|
20
20
|
emits: ["update:modelValue"],
|
|
21
21
|
setup(I, { expose: O }) {
|
|
22
|
-
const { t: Z } = q(),
|
|
23
|
-
console.log(D.applyStatus.finished, "=>Constant.applyStatus.finished "),
|
|
24
|
-
const
|
|
25
|
-
H.findById({ flowSpareId:
|
|
26
|
-
u.value =
|
|
22
|
+
const { t: Z } = q(), V = w(), A = w({}), c = W(I, "modelValue");
|
|
23
|
+
console.log(D.applyStatus.finished, "=>Constant.applyStatus.finished "), f.orgIdBizDict.useValues(), f.budgetTypeDict.useValues(), f.itemBizLayDict.useValues();
|
|
24
|
+
const k = I, u = w();
|
|
25
|
+
H.findById({ flowSpareId: k.task.businessKey }).then(({ data: a }) => {
|
|
26
|
+
u.value = a;
|
|
27
27
|
});
|
|
28
|
-
const
|
|
29
|
-
J.findList({ flowSpareId:
|
|
30
|
-
|
|
28
|
+
const C = w([]);
|
|
29
|
+
J.findList({ flowSpareId: k.task.businessKey }).then((a) => {
|
|
30
|
+
C.value = a.data.results;
|
|
31
31
|
});
|
|
32
|
-
const
|
|
33
|
-
G.findFilesList({ actionId:
|
|
34
|
-
|
|
32
|
+
const L = w([]);
|
|
33
|
+
G.findFilesList({ actionId: k.task.businessKey }).then((a) => {
|
|
34
|
+
L.value = a.data.results;
|
|
35
35
|
});
|
|
36
|
-
const E = (
|
|
36
|
+
const E = (a) => {
|
|
37
37
|
var p;
|
|
38
|
-
return ((p =
|
|
38
|
+
return ((p = L.value) == null ? void 0 : p.filter((r) => r.fileSort === a)) || [];
|
|
39
39
|
};
|
|
40
|
-
async function T(
|
|
40
|
+
async function T(a) {
|
|
41
41
|
try {
|
|
42
|
-
const p = Q.fileUrl(
|
|
43
|
-
d.href = S, d.download =
|
|
42
|
+
const p = Q.fileUrl(a.filePath), i = await (await fetch(p)).blob(), S = window.URL.createObjectURL(i), d = document.createElement("a");
|
|
43
|
+
d.href = S, d.download = a.fileName || "download", document.body.appendChild(d), d.click();
|
|
44
44
|
} catch {
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
O({
|
|
48
|
-
changeModel: () =>
|
|
48
|
+
changeModel: () => z()
|
|
49
49
|
});
|
|
50
|
-
function
|
|
51
|
-
return
|
|
50
|
+
function z() {
|
|
51
|
+
return c.value && (c.value.selectActions = [
|
|
52
52
|
{ key: "true", value: "同意" },
|
|
53
53
|
{ key: "false", value: "不同意" }
|
|
54
|
-
],
|
|
54
|
+
], c.value.varName = "approved", c.value.module = "", c.value.module = D.MODULE_ITSMFLOW), new Promise((a, p) => {
|
|
55
55
|
var r;
|
|
56
|
-
(r =
|
|
57
|
-
i ? (
|
|
56
|
+
(r = V.value) == null || r.validate((i) => {
|
|
57
|
+
i ? (c.value && (c.value.comment = ""), a(!0)) : p(!1);
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
return (
|
|
62
|
-
const r =
|
|
63
|
-
return m(), v(
|
|
64
|
-
|
|
61
|
+
return (a, p) => {
|
|
62
|
+
const r = b("el-col"), i = b("el-form-item"), S = b("el-row"), d = b("el-table-column"), R = b("el-table"), U = b("el-button"), M = b("el-form");
|
|
63
|
+
return m(), v(B, null, [
|
|
64
|
+
t(r, { span: 24 }, {
|
|
65
65
|
default: e(() => p[0] || (p[0] = [
|
|
66
|
-
|
|
66
|
+
F("div", { class: "title" }, "备品备件申请领用确认单", -1)
|
|
67
67
|
])),
|
|
68
68
|
_: 1,
|
|
69
69
|
__: [0]
|
|
70
70
|
}),
|
|
71
|
-
|
|
71
|
+
t(M, {
|
|
72
72
|
ref_key: "taskFormRef",
|
|
73
|
-
ref:
|
|
73
|
+
ref: V,
|
|
74
74
|
model: A.value,
|
|
75
75
|
"label-width": "150px",
|
|
76
76
|
class: "custom-table-form"
|
|
77
77
|
}, {
|
|
78
78
|
default: e(() => [
|
|
79
|
-
|
|
79
|
+
t(M, {
|
|
80
80
|
ref: "itsmFlowEntrustFormRef",
|
|
81
81
|
"label-width": "150px",
|
|
82
82
|
class: "custom-table-form custom-form"
|
|
83
83
|
}, {
|
|
84
84
|
default: e(() => [
|
|
85
|
-
|
|
85
|
+
t(S, null, {
|
|
86
86
|
default: e(() => {
|
|
87
|
-
var o,
|
|
87
|
+
var o, h, _;
|
|
88
88
|
return [
|
|
89
|
-
|
|
89
|
+
t(r, { span: 12 }, {
|
|
90
90
|
default: e(() => [
|
|
91
|
-
|
|
92
|
-
label:
|
|
91
|
+
t(i, {
|
|
92
|
+
label: a.$t("itsmFlowSpareParts.govOrgId"),
|
|
93
93
|
prop: "govOrgId"
|
|
94
94
|
}, {
|
|
95
95
|
default: e(() => {
|
|
96
96
|
var l;
|
|
97
97
|
return [
|
|
98
|
-
|
|
98
|
+
n(s(y(f).orgIdBizDict.getValue((l = u.value) == null ? void 0 : l.orgId)), 1)
|
|
99
99
|
];
|
|
100
100
|
}),
|
|
101
101
|
_: 1
|
|
@@ -103,16 +103,16 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
|
|
|
103
103
|
]),
|
|
104
104
|
_: 1
|
|
105
105
|
}),
|
|
106
|
-
|
|
106
|
+
t(r, { span: 12 }, {
|
|
107
107
|
default: e(() => [
|
|
108
|
-
|
|
109
|
-
label:
|
|
108
|
+
t(i, {
|
|
109
|
+
label: a.$t("itsmFlowSpareParts.itsmtype"),
|
|
110
110
|
prop: "type"
|
|
111
111
|
}, {
|
|
112
112
|
default: e(() => {
|
|
113
113
|
var l;
|
|
114
114
|
return [
|
|
115
|
-
|
|
115
|
+
n(s(y(f).purchaseTypeEnum.getEnumValue((l = u.value) == null ? void 0 : l.type)), 1)
|
|
116
116
|
];
|
|
117
117
|
}),
|
|
118
118
|
_: 1
|
|
@@ -120,16 +120,16 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
|
|
|
120
120
|
]),
|
|
121
121
|
_: 1
|
|
122
122
|
}),
|
|
123
|
-
|
|
123
|
+
t(r, { span: 12 }, {
|
|
124
124
|
default: e(() => [
|
|
125
|
-
|
|
126
|
-
label:
|
|
125
|
+
t(i, {
|
|
126
|
+
label: a.$t("itsmFlowSpareParts.applyPlace"),
|
|
127
127
|
prop: "applyPlace"
|
|
128
128
|
}, {
|
|
129
129
|
default: e(() => {
|
|
130
130
|
var l;
|
|
131
131
|
return [
|
|
132
|
-
s(
|
|
132
|
+
n(s((l = u.value) == null ? void 0 : l.applyPlace), 1)
|
|
133
133
|
];
|
|
134
134
|
}),
|
|
135
135
|
_: 1
|
|
@@ -137,16 +137,16 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
|
|
|
137
137
|
]),
|
|
138
138
|
_: 1
|
|
139
139
|
}),
|
|
140
|
-
|
|
140
|
+
t(r, { span: 12 }, {
|
|
141
141
|
default: e(() => [
|
|
142
|
-
|
|
143
|
-
label:
|
|
142
|
+
t(i, {
|
|
143
|
+
label: a.$t("itsmFlowSpareParts.annual"),
|
|
144
144
|
prop: "annual"
|
|
145
145
|
}, {
|
|
146
146
|
default: e(() => {
|
|
147
147
|
var l;
|
|
148
148
|
return [
|
|
149
|
-
s(
|
|
149
|
+
n(s((l = u.value) == null ? void 0 : l.annual), 1)
|
|
150
150
|
];
|
|
151
151
|
}),
|
|
152
152
|
_: 1
|
|
@@ -159,71 +159,71 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
|
|
|
159
159
|
span: 24
|
|
160
160
|
}, {
|
|
161
161
|
default: e(() => [
|
|
162
|
-
|
|
163
|
-
label:
|
|
162
|
+
t(i, {
|
|
163
|
+
label: a.$t("itsmFlowSpareParts.itsmFlowItemId"),
|
|
164
164
|
prop: "itemId"
|
|
165
165
|
}, {
|
|
166
166
|
default: e(() => {
|
|
167
167
|
var l;
|
|
168
168
|
return [
|
|
169
|
-
|
|
169
|
+
n(s(y(f).itemBizLayDict.getValue((l = u.value) == null ? void 0 : l.itemId)), 1)
|
|
170
170
|
];
|
|
171
171
|
}),
|
|
172
172
|
_: 1
|
|
173
173
|
}, 8, ["label"])
|
|
174
174
|
]),
|
|
175
175
|
_: 1
|
|
176
|
-
})) :
|
|
177
|
-
((
|
|
176
|
+
})) : P("", !0),
|
|
177
|
+
((h = u.value) == null ? void 0 : h.type) !== "BudgetOut" ? (m(), g(r, {
|
|
178
178
|
key: 1,
|
|
179
179
|
span: 12
|
|
180
180
|
}, {
|
|
181
181
|
default: e(() => [
|
|
182
|
-
|
|
183
|
-
label:
|
|
182
|
+
t(i, {
|
|
183
|
+
label: a.$t("itsmFlowSpareParts.itsmFlowBudgetType"),
|
|
184
184
|
prop: "budgetType"
|
|
185
185
|
}, {
|
|
186
186
|
default: e(() => {
|
|
187
187
|
var l;
|
|
188
188
|
return [
|
|
189
|
-
|
|
189
|
+
n(s(y(f).budgetTypeDict.getValue((l = u.value) == null ? void 0 : l.budgetType)), 1)
|
|
190
190
|
];
|
|
191
191
|
}),
|
|
192
192
|
_: 1
|
|
193
193
|
}, 8, ["label"])
|
|
194
194
|
]),
|
|
195
195
|
_: 1
|
|
196
|
-
})) :
|
|
196
|
+
})) : P("", !0),
|
|
197
197
|
((_ = u.value) == null ? void 0 : _.type) !== "BudgetOut" ? (m(), g(r, {
|
|
198
198
|
key: 2,
|
|
199
199
|
span: 12
|
|
200
200
|
}, {
|
|
201
201
|
default: e(() => [
|
|
202
|
-
|
|
203
|
-
label:
|
|
202
|
+
t(i, {
|
|
203
|
+
label: a.$t("itsmFlowSpareParts.contractMoney"),
|
|
204
204
|
prop: "contractMoney"
|
|
205
205
|
}, {
|
|
206
206
|
default: e(() => {
|
|
207
207
|
var l;
|
|
208
208
|
return [
|
|
209
|
-
s(
|
|
209
|
+
n(s((l = u.value) == null ? void 0 : l.contractMoney), 1)
|
|
210
210
|
];
|
|
211
211
|
}),
|
|
212
212
|
_: 1
|
|
213
213
|
}, 8, ["label"])
|
|
214
214
|
]),
|
|
215
215
|
_: 1
|
|
216
|
-
})) :
|
|
217
|
-
|
|
216
|
+
})) : P("", !0),
|
|
217
|
+
t(r, { span: 12 }, {
|
|
218
218
|
default: e(() => [
|
|
219
|
-
|
|
220
|
-
label:
|
|
219
|
+
t(i, {
|
|
220
|
+
label: a.$t("itsmFlowSpareParts.createBy"),
|
|
221
221
|
prop: "createBy"
|
|
222
222
|
}, {
|
|
223
223
|
default: e(() => {
|
|
224
224
|
var l, $;
|
|
225
225
|
return [
|
|
226
|
-
s(
|
|
226
|
+
n(s((l = u.value) != null && l.createBy ? ($ = y(X).userInfo(u.value.createBy)) == null ? void 0 : $.realName : ""), 1)
|
|
227
227
|
];
|
|
228
228
|
}),
|
|
229
229
|
_: 1
|
|
@@ -231,16 +231,16 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
|
|
|
231
231
|
]),
|
|
232
232
|
_: 1
|
|
233
233
|
}),
|
|
234
|
-
|
|
234
|
+
t(r, { span: 12 }, {
|
|
235
235
|
default: e(() => [
|
|
236
|
-
|
|
237
|
-
label:
|
|
236
|
+
t(i, {
|
|
237
|
+
label: a.$t("itsmFlowSpareParts.applyDate"),
|
|
238
238
|
prop: "applyDate"
|
|
239
239
|
}, {
|
|
240
240
|
default: e(() => {
|
|
241
241
|
var l;
|
|
242
242
|
return [
|
|
243
|
-
s(
|
|
243
|
+
n(s((l = u.value) == null ? void 0 : l.applyDate), 1)
|
|
244
244
|
];
|
|
245
245
|
}),
|
|
246
246
|
_: 1
|
|
@@ -252,92 +252,92 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
|
|
|
252
252
|
}),
|
|
253
253
|
_: 1
|
|
254
254
|
}),
|
|
255
|
-
|
|
255
|
+
t(S, null, {
|
|
256
256
|
default: e(() => [
|
|
257
|
-
|
|
257
|
+
t(r, { span: 24 }, {
|
|
258
258
|
default: e(() => p[1] || (p[1] = [
|
|
259
|
-
|
|
259
|
+
F("div", { class: "title" }, "运维需求描述", -1)
|
|
260
260
|
])),
|
|
261
261
|
_: 1,
|
|
262
262
|
__: [1]
|
|
263
263
|
}),
|
|
264
|
-
|
|
264
|
+
t(r, { span: 24 }, {
|
|
265
265
|
default: e(() => [
|
|
266
|
-
|
|
266
|
+
t(R, {
|
|
267
267
|
stripe: "",
|
|
268
268
|
style: { width: "100%" },
|
|
269
|
-
data:
|
|
269
|
+
data: C.value
|
|
270
270
|
}, {
|
|
271
271
|
default: e(() => [
|
|
272
|
-
|
|
272
|
+
t(d, {
|
|
273
273
|
prop: "type",
|
|
274
|
-
label:
|
|
274
|
+
label: a.$t("itsmFlowSpareParts.itsmtype")
|
|
275
275
|
}, {
|
|
276
276
|
default: e((o) => [
|
|
277
|
-
s(
|
|
277
|
+
n(s(o.row.type), 1)
|
|
278
278
|
]),
|
|
279
279
|
_: 1
|
|
280
280
|
}, 8, ["label"]),
|
|
281
|
-
|
|
281
|
+
t(d, {
|
|
282
282
|
prop: "name",
|
|
283
|
-
label:
|
|
283
|
+
label: a.$t("itsmFlowSpareParts.itsmName")
|
|
284
284
|
}, {
|
|
285
285
|
default: e((o) => [
|
|
286
|
-
s(
|
|
286
|
+
n(s(o.row.name), 1)
|
|
287
287
|
]),
|
|
288
288
|
_: 1
|
|
289
289
|
}, 8, ["label"]),
|
|
290
|
-
|
|
290
|
+
t(d, {
|
|
291
291
|
prop: "number",
|
|
292
|
-
label:
|
|
292
|
+
label: a.$t("itsmFlowSpareParts.number")
|
|
293
293
|
}, {
|
|
294
294
|
default: e((o) => [
|
|
295
|
-
s(
|
|
295
|
+
n(s(o.row.number), 1)
|
|
296
296
|
]),
|
|
297
297
|
_: 1
|
|
298
298
|
}, 8, ["label"]),
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
299
|
+
t(d, { prop: "unit" }, {
|
|
300
|
+
header: e(() => [
|
|
301
|
+
F("span", null, s(a.$t("itsmFlowSpareParts.unit")) + "(计量单位)", 1)
|
|
302
|
+
]),
|
|
303
303
|
default: e((o) => [
|
|
304
|
-
s(
|
|
304
|
+
n(s(o.row.unit), 1)
|
|
305
305
|
]),
|
|
306
306
|
_: 1
|
|
307
|
-
}
|
|
308
|
-
|
|
307
|
+
}),
|
|
308
|
+
t(d, {
|
|
309
309
|
prop: "parameter",
|
|
310
|
-
label:
|
|
310
|
+
label: a.$t("itsmFlowSpareParts.parameter")
|
|
311
311
|
}, {
|
|
312
312
|
default: e((o) => [
|
|
313
|
-
s(
|
|
313
|
+
n(s(o.row.parameter), 1)
|
|
314
314
|
]),
|
|
315
315
|
_: 1
|
|
316
316
|
}, 8, ["label"]),
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
317
|
+
t(d, { prop: "valuation" }, {
|
|
318
|
+
header: e(() => [
|
|
319
|
+
F("span", null, s(a.$t("itsmFlowSpareParts.valuation")) + "(万元)", 1)
|
|
320
|
+
]),
|
|
321
321
|
default: e((o) => [
|
|
322
|
-
s(
|
|
322
|
+
n(s(o.row.valuation), 1)
|
|
323
323
|
]),
|
|
324
324
|
_: 1
|
|
325
|
-
}
|
|
326
|
-
|
|
325
|
+
}),
|
|
326
|
+
t(d, {
|
|
327
327
|
prop: "range",
|
|
328
|
-
label:
|
|
328
|
+
label: a.$t("itsmFlowSpareParts.range")
|
|
329
329
|
}, {
|
|
330
330
|
default: e((o) => [
|
|
331
|
-
s(
|
|
331
|
+
n(s(o.row.range), 1)
|
|
332
332
|
]),
|
|
333
333
|
_: 1
|
|
334
334
|
}, 8, ["label"]),
|
|
335
|
-
|
|
335
|
+
t(d, {
|
|
336
336
|
prop: "applyStatus ",
|
|
337
|
-
label:
|
|
337
|
+
label: a.$t("itsmFlowSpareParts.applyStatus ")
|
|
338
338
|
}, {
|
|
339
339
|
default: e((o) => [
|
|
340
|
-
o.row.applyStatus ===
|
|
340
|
+
o.row.applyStatus === y(D).applyStatus.finished ? (m(), v("span", Y, "已领用 ")) : P("", !0)
|
|
341
341
|
]),
|
|
342
342
|
_: 1
|
|
343
343
|
}, 8, ["label"])
|
|
@@ -347,22 +347,22 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
|
|
|
347
347
|
]),
|
|
348
348
|
_: 1
|
|
349
349
|
}),
|
|
350
|
-
|
|
350
|
+
t(r, {
|
|
351
351
|
span: 24,
|
|
352
352
|
class: "bordered-row"
|
|
353
353
|
}, {
|
|
354
354
|
default: e(() => [
|
|
355
|
-
(m(!0), v(
|
|
355
|
+
(m(!0), v(B, null, N(y(f).fileTypeDict.values.slice(0, 2), (o, h) => (m(), g(i, {
|
|
356
356
|
key: o.dictCode,
|
|
357
357
|
label: o.dictName
|
|
358
358
|
}, {
|
|
359
359
|
default: e(() => [
|
|
360
|
-
(m(!0), v(
|
|
360
|
+
(m(!0), v(B, null, N(E(o.dictCode), (_, l) => (m(), v("div", {
|
|
361
361
|
key: l,
|
|
362
362
|
class: "files-list"
|
|
363
363
|
}, [
|
|
364
|
-
|
|
365
|
-
|
|
364
|
+
F("span", null, s(_.fileName), 1),
|
|
365
|
+
t(U, {
|
|
366
366
|
type: "primary",
|
|
367
367
|
link: "",
|
|
368
368
|
size: "small",
|
|
@@ -370,7 +370,7 @@ const Y = { key: 0 }, se = /* @__PURE__ */ K({
|
|
|
370
370
|
onClick: ($) => T(_)
|
|
371
371
|
}, {
|
|
372
372
|
default: e(() => p[2] || (p[2] = [
|
|
373
|
-
|
|
373
|
+
n(" 查看 ")
|
|
374
374
|
])),
|
|
375
375
|
_: 2,
|
|
376
376
|
__: [2]
|
|
@@ -2,7 +2,7 @@ import { defineComponent as ne, mergeModels as se, ref as p, useModel as de, rea
|
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as me } from "vue-i18n";
|
|
4
4
|
import { u as ce } from "./index-CvX2It1o.mjs";
|
|
5
|
-
import { I as pe, C as w, U as fe, d as ve, D as F, i as N } from "./index-
|
|
5
|
+
import { I as pe, C as w, U as fe, d as ve, D as F, i as N } from "./index-DWJG5OHB.mjs";
|
|
6
6
|
import { useUserStore as be } from "jmash-core";
|
|
7
7
|
import { E as S } from "./el-message-BJAl6Gwu.mjs";
|
|
8
8
|
const Ae = /* @__PURE__ */ ne({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as oe, mergeModels as ne, computed as ae, ref as f, useModel as se, resolveComponent as p, createElementBlock as k, openBlock as _, Fragment as P, createVNode as e, withCtx as l, createElementVNode as a, createTextVNode as r, toDisplayString as u, unref as b, createCommentVNode as I, withDirectives as A, vShow as B, createBlock as O, renderList as re } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { u as ue } from "./index-CvX2It1o.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { D as C, C as $, a as de } from "./index-
|
|
4
|
+
import { a as ie } from "./index-SilwoNEK.mjs";
|
|
5
|
+
import { D as C, C as $, a as de } from "./index-DWJG5OHB.mjs";
|
|
6
6
|
import { i as S, t as ce, a as pe } from "./common-Cwl5jzlM.mjs";
|
|
7
7
|
import "jmash-core";
|
|
8
8
|
import { useI18n as me } from "vue-i18n";
|
|
9
|
-
import { F as fe } from "./FileSaver.min-
|
|
9
|
+
import { F as fe } from "./FileSaver.min-FLjvLk81.mjs";
|
|
10
10
|
import { E as j } from "./el-message-BJAl6Gwu.mjs";
|
|
11
11
|
const _e = { key: 0 }, ve = { key: 1 }, be = {
|
|
12
12
|
key: 2,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as M, ref as k, reactive as R, resolveComponent as s, resolveDirective as W, createElementBlock as V, openBlock as p, createElementVNode as _, createVNode as o, createBlock as A, createCommentVNode as S, withCtx as l, withKeys as F, unref as n, createTextVNode as f, toDisplayString as u, withDirectives as $, isRef 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 N, C as Z, i as x } from "./index-
|
|
5
|
-
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { D as N, C as Z, i as x } from "./index-DWJG5OHB.mjs";
|
|
5
|
+
import { _ as ee } from "./edit.vue_vue_type_script_setup_true_lang-D4j6dzcV.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) {
|