xyvcard-itsm-flow 0.0.24 → 0.0.25
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-Dlb0564v.mjs} +1 -1
- package/dist/{edit-Crp2NJw2.mjs → edit-Bb1ZMrgr.mjs} +1 -1
- package/dist/{edit-Da4XYqIW.mjs → edit-DEz__zGH.mjs} +1 -1
- package/dist/{edit-fNZ8seSE.mjs → edit-DGLeO86x.mjs} +2 -2
- package/dist/{edit-C4uQUyxR.mjs → edit-DYzjfcpe.mjs} +10 -10
- package/dist/{edit-DSzeVnep.mjs → edit-X4DuZAeC.mjs} +2 -2
- package/dist/{edit-B4N5cmbv.mjs → edit-b1Qpq27u.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-ClkzOaAV.mjs → edit.vue_vue_type_script_setup_true_lang-COV7eZfh.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DZj5V6Mk.mjs → edit.vue_vue_type_script_setup_true_lang-DDFusQ6S.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-VfP4qMQI.mjs → edit.vue_vue_type_script_setup_true_lang-DK-kdI-u.mjs} +1 -1
- package/dist/{index-p1DDr7xl.mjs → index-41pGjG4z.mjs} +4 -4
- package/dist/{index-CCnjfMtC.mjs → index-B3Od63yb.mjs} +3 -3
- package/dist/{index-BYazmSpv.mjs → index-BL1EL_Kk.mjs} +3 -3
- package/dist/{index-Dxfj5xxz.mjs → index-BjIcvBcw.mjs} +2 -2
- package/dist/{index-B0J0xma8.mjs → index-BnbyM6r8.mjs} +3 -3
- package/dist/index-BzzIS37Q.mjs +4487 -0
- package/dist/{index-DNFVieqg.mjs → index-C6QayKyI.mjs} +1 -1
- package/dist/{index-C9LdNu0a.mjs → index-CJmsWz8H.mjs} +4 -4
- package/dist/{index-Bmev8P7I.mjs → index-CK8x-scl.mjs} +3 -3
- package/dist/{index-BePwvZ9m.mjs → index-COlNrHOr.mjs} +2 -2
- package/dist/{index-5rQmXXAD.mjs → index-CTX-1ZJN.mjs} +1 -1
- package/dist/{index-CPwNJkJK.mjs → index-CUdCuMce.mjs} +4 -4
- package/dist/{index-COvZrTZl.mjs → index-Cc1yu7_y.mjs} +1 -1
- package/dist/{index-CWrb0ryZ.mjs → index-ChiSO5mf.mjs} +2 -2
- package/dist/{index-jzk2C9cj.mjs → index-Crv7Y3gz.mjs} +2 -2
- package/dist/{index-CBowEKcR.mjs → index-CsRdrLdB.mjs} +2 -2
- package/dist/{index-D5jF4kAT.mjs → index-D4hmXu0K.mjs} +70 -70
- package/dist/{index-tcsDF6U0.mjs → index-DB_7mB_B.mjs} +78 -78
- package/dist/{index-DVyAUAgy.mjs → index-DReilvk8.mjs} +2 -2
- package/dist/{index-DnIYE76A.mjs → index-DTmCekOe.mjs} +25 -25
- package/dist/{index-k6cvISUf.mjs → index-Ddn-uP9d.mjs} +2 -2
- package/dist/{index-sjkYgg27.mjs → index-Dr2VSx72.mjs} +2 -2
- package/dist/{index-COT8mjWU.mjs → index-DsEA0PWP.mjs} +2 -2
- package/dist/{index-B5OVt83d.mjs → index-Dx_iePKi.mjs} +1 -1
- package/dist/{index-CIG303fh.mjs → index-M_tEOKq6.mjs} +41 -41
- package/dist/{index-D47Eql1L.mjs → index-UIHGXuWX.mjs} +5 -5
- package/dist/{index-KUs-CZ9C.mjs → index-XQliRAX-.mjs} +2 -2
- package/dist/{index-Dx0mdENP.mjs → index-ZQIeIrUc.mjs} +9 -9
- package/dist/{index-DPqaoK4-.mjs → index-uhCfQAOU.mjs} +3 -3
- package/dist/index.mjs +23 -2921
- package/dist/{info-B6nfKr37.mjs → info-C7BOFhdZ.mjs} +1 -1
- package/dist/{info-Cd4n1Hxk.mjs → info-ChOjJGUZ.mjs} +1 -1
- package/dist/{info-D90oJO1z.mjs → info-CqJnfPyk.mjs} +1 -1
- package/dist/{info-6YpNb7VF.mjs → info-Cu1I8L0Q.mjs} +1 -1
- package/dist/info-DDaeV1sJ.mjs +4 -0
- package/dist/info-DstAR0-a.mjs +4 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-BM-bddTj.mjs → info.vue_vue_type_script_setup_true_lang-BupLtTsI.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-BWMDxwv-.mjs → info.vue_vue_type_script_setup_true_lang-C9LpdXNC.mjs} +5 -5
- package/dist/{info.vue_vue_type_script_setup_true_lang-BvcEV_aO.mjs → info.vue_vue_type_script_setup_true_lang-CwpN4E5Y.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-DhuclI_H.mjs → info.vue_vue_type_script_setup_true_lang-CxZBVr6Z.mjs} +1 -1
- package/dist/{info.vue_vue_type_script_setup_true_lang-CZa5y_q9.mjs → info.vue_vue_type_script_setup_true_lang-D36lalXS.mjs} +2 -2
- package/dist/{info.vue_vue_type_script_setup_true_lang-BzNQmLMY.mjs → info.vue_vue_type_script_setup_true_lang-_Rd1Paqi.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 +4 -4
- 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,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as he, mergeModels as ve, useModel as we, ref as F, reactive as Ve, computed as H, watch as W, resolveComponent as p, createElementBlock as P, openBlock as f, Fragment as I, createVNode as t, withCtx as n, createElementVNode as h, unref as
|
|
1
|
+
import { defineComponent as he, mergeModels as ve, useModel as we, ref as F, reactive as Ve, computed as H, watch as W, resolveComponent as p, createElementBlock as P, openBlock as f, Fragment as I, createVNode as t, withCtx as n, createElementVNode as h, unref as s, createBlock as S, createCommentVNode as $, renderList as R, toDisplayString as _, createTextVNode as T } from "vue";
|
|
2
2
|
import { ElMessage as q } from "element-plus";
|
|
3
3
|
import { d as Fe, p as Se, u as _e, c as Pe } from "./index-CvX2It1o.mjs";
|
|
4
4
|
import "jmash-rbac";
|
|
5
5
|
import { useI18n as Ie } from "vue-i18n";
|
|
6
|
-
import { i as G, a as $e } from "./index-
|
|
7
|
-
import { D as g, i as qe, C as ke } from "./index-
|
|
6
|
+
import { i as G, a as $e } from "./index-Cc1yu7_y.mjs";
|
|
7
|
+
import { D as g, i as qe, C as ke } from "./index-CTX-1ZJN.mjs";
|
|
8
8
|
import { itemBudgetApi as J } from "xyvcard-itsm";
|
|
9
9
|
import { useUserStoreHook as De } from "jmash-core";
|
|
10
10
|
import { _ as Me } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -46,8 +46,8 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
46
46
|
}
|
|
47
47
|
const N = (e, l) => (console.log(e), e.map((r) => {
|
|
48
48
|
console.log(r);
|
|
49
|
-
const
|
|
50
|
-
return console.log(
|
|
49
|
+
const u = { ...r };
|
|
50
|
+
return console.log(u), u.children && u.children.length > 0 && (u.children = N(u.children, l)), l.includes(u.value) || u.children && u.children.length > 0 ? (console.log(u), u) : null;
|
|
51
51
|
}).filter((r) => r !== null)), M = async (e, l) => {
|
|
52
52
|
if (!e || !l) {
|
|
53
53
|
a.budgetType = "", a.contractMoney = "0", w.value = [];
|
|
@@ -57,13 +57,13 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
57
57
|
const r = {
|
|
58
58
|
itemId: e,
|
|
59
59
|
annual: l
|
|
60
|
-
},
|
|
61
|
-
if (
|
|
62
|
-
const i =
|
|
60
|
+
}, d = (await J.findList(r)).data.results || [];
|
|
61
|
+
if (d.length > 0) {
|
|
62
|
+
const i = d.map((V) => V.budgetType);
|
|
63
63
|
w.value = N(
|
|
64
64
|
g.budgetTypeDict.values,
|
|
65
65
|
i
|
|
66
|
-
), a.budgetType =
|
|
66
|
+
), a.budgetType = d[0].budgetType || "", a.contractMoney = String(d[0].approvedAmount) || "0";
|
|
67
67
|
} else
|
|
68
68
|
a.budgetType = "", a.contractMoney = "0", w.value = [], q.warning(c("itsmFlowSpareParts.noBudgetType"));
|
|
69
69
|
} catch (r) {
|
|
@@ -82,10 +82,10 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
82
82
|
const l = {
|
|
83
83
|
itemId: a.itemId,
|
|
84
84
|
annual: a.annual
|
|
85
|
-
},
|
|
85
|
+
}, d = ((await J.findList(l)).data.results || []).find(
|
|
86
86
|
(i) => i.budgetType === e
|
|
87
87
|
);
|
|
88
|
-
|
|
88
|
+
d ? a.contractMoney = String(d.approvedAmount) || "0" : a.contractMoney = "0";
|
|
89
89
|
} catch (l) {
|
|
90
90
|
console.error("获取预算金额失败:", l), a.contractMoney = "0";
|
|
91
91
|
}
|
|
@@ -125,9 +125,9 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
125
125
|
B.value = "0.00";
|
|
126
126
|
return;
|
|
127
127
|
}
|
|
128
|
-
const l = e.reduce((r,
|
|
129
|
-
const
|
|
130
|
-
return r +
|
|
128
|
+
const l = e.reduce((r, u) => {
|
|
129
|
+
const d = parseFloat(u.valuation) || 0, i = parseFloat(u.number) || 0;
|
|
130
|
+
return r + d * i;
|
|
131
131
|
}, 0);
|
|
132
132
|
B.value = l.toFixed(2);
|
|
133
133
|
},
|
|
@@ -145,7 +145,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
145
145
|
type: [
|
|
146
146
|
{
|
|
147
147
|
required: !0,
|
|
148
|
-
message: c("itsmFlowSpareParts.
|
|
148
|
+
message: c("itsmFlowSpareParts.itsmtypeRequired"),
|
|
149
149
|
trigger: "change"
|
|
150
150
|
}
|
|
151
151
|
],
|
|
@@ -205,12 +205,12 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
205
205
|
const L = (e) => {
|
|
206
206
|
var l;
|
|
207
207
|
return ((l = a.files) == null ? void 0 : l.filter((r) => r.fileSort === e)) || [];
|
|
208
|
-
},
|
|
209
|
-
var
|
|
210
|
-
const r = L(e),
|
|
208
|
+
}, se = (e, l) => {
|
|
209
|
+
var d, i;
|
|
210
|
+
const r = L(e), u = (d = a.files) == null ? void 0 : d.findIndex(
|
|
211
211
|
(V) => V.fileSort === e && V.fileId === r[l].fileId
|
|
212
212
|
);
|
|
213
|
-
|
|
213
|
+
u !== void 0 && u >= 0 && ((i = a.files) == null || i.splice(u, 1));
|
|
214
214
|
};
|
|
215
215
|
G.findById({ flowSpareId: k.task.businessKey }).then(({ data: e }) => {
|
|
216
216
|
Object.assign(a, e);
|
|
@@ -218,8 +218,8 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
218
218
|
flowSpareId: k.task.businessKey
|
|
219
219
|
};
|
|
220
220
|
$e.findList(l).then((r) => {
|
|
221
|
-
var
|
|
222
|
-
console.log("明细接口返回:", r), (
|
|
221
|
+
var u;
|
|
222
|
+
console.log("明细接口返回:", r), (u = r == null ? void 0 : r.data) != null && u.results && Array.isArray(r.data.results) ? y.value = r.data.results : (y.value = [
|
|
223
223
|
{
|
|
224
224
|
type: "",
|
|
225
225
|
name: "",
|
|
@@ -235,12 +235,12 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
235
235
|
console.error("获取明细失败:", r), q.error("加载明细数据失败"), y.value = [
|
|
236
236
|
/* 初始化空行 */
|
|
237
237
|
];
|
|
238
|
-
}),
|
|
238
|
+
}), ue(), M(
|
|
239
239
|
a.itemId,
|
|
240
240
|
a.annual
|
|
241
241
|
);
|
|
242
242
|
});
|
|
243
|
-
function
|
|
243
|
+
function ue() {
|
|
244
244
|
qe.findFilesList({ actionId: k.task.businessKey }).then(({ data: e }) => {
|
|
245
245
|
e.results && Array.isArray(e.results) && (a.files = e.results.map((l) => {
|
|
246
246
|
let r = "";
|
|
@@ -253,23 +253,23 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
253
253
|
});
|
|
254
254
|
}
|
|
255
255
|
Q({
|
|
256
|
-
changeModel: () =>
|
|
256
|
+
changeModel: () => de()
|
|
257
257
|
});
|
|
258
|
-
function
|
|
258
|
+
function de() {
|
|
259
259
|
return v.value && (v.value.selectActions = [
|
|
260
260
|
{ key: "true", value: "同意" },
|
|
261
261
|
{ key: "false", value: "不同意" }
|
|
262
262
|
], v.value.varName = "approved", v.value.module = "", v.value.module = ke.MODULE_ITSMFLOW), new Promise((e, l) => {
|
|
263
263
|
var r;
|
|
264
|
-
(r = C.value) == null || r.validate((
|
|
265
|
-
|
|
266
|
-
|
|
264
|
+
(r = C.value) == null || r.validate((u) => {
|
|
265
|
+
u ? (v.value && (v.value.comment = ""), a.requestId = Math.random() * 10 + "", a.details = y.value, G.create(a).then((d) => {
|
|
266
|
+
d.status === 200 ? e(!0) : l(!1);
|
|
267
267
|
})) : l(!1);
|
|
268
268
|
});
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
return (e, l) => {
|
|
272
|
-
const r = p("el-col"),
|
|
272
|
+
const r = p("el-col"), u = p("jmash-select"), d = p("el-form-item"), i = p("el-input"), V = p("el-date-picker"), ie = p("el-option"), pe = p("el-select"), me = p("el-tree-select"), E = p("el-row"), b = p("el-table-column"), ce = p("el-input-number"), j = p("el-icon"), fe = p("el-table"), z = p("el-button"), ge = p("el-form"), ye = p("jmash-multi-upload");
|
|
273
273
|
return f(), P(I, null, [
|
|
274
274
|
t(r, { span: 24 }, {
|
|
275
275
|
default: n(() => l[9] || (l[9] = [
|
|
@@ -281,7 +281,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
281
281
|
t(ge, {
|
|
282
282
|
ref_key: "taskFormRef",
|
|
283
283
|
ref: C,
|
|
284
|
-
model:
|
|
284
|
+
model: s(a),
|
|
285
285
|
"label-width": "150px",
|
|
286
286
|
rules: oe.value,
|
|
287
287
|
class: "custom-table-form custom-form"
|
|
@@ -291,16 +291,16 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
291
291
|
default: n(() => [
|
|
292
292
|
t(r, { span: 12 }, {
|
|
293
293
|
default: n(() => [
|
|
294
|
-
t(
|
|
294
|
+
t(d, {
|
|
295
295
|
label: e.$t("itsmFlowSpareParts.govOrgId"),
|
|
296
296
|
prop: "orgId"
|
|
297
297
|
}, {
|
|
298
298
|
default: n(() => [
|
|
299
|
-
t(
|
|
300
|
-
modelValue:
|
|
301
|
-
"onUpdate:modelValue": l[0] || (l[0] = (o) =>
|
|
299
|
+
t(u, {
|
|
300
|
+
modelValue: s(a).orgId,
|
|
301
|
+
"onUpdate:modelValue": l[0] || (l[0] = (o) => s(a).orgId = o),
|
|
302
302
|
placeholder: e.$t("itsmFlowSpareParts.govOrgIdRequired"),
|
|
303
|
-
data:
|
|
303
|
+
data: s(g).orgIdBizDict.values,
|
|
304
304
|
clearable: "",
|
|
305
305
|
filterable: "",
|
|
306
306
|
onChange: Z,
|
|
@@ -314,16 +314,16 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
314
314
|
}),
|
|
315
315
|
t(r, { span: 12 }, {
|
|
316
316
|
default: n(() => [
|
|
317
|
-
t(
|
|
318
|
-
label: e.$t("itsmFlowSpareParts.
|
|
317
|
+
t(d, {
|
|
318
|
+
label: e.$t("itsmFlowSpareParts.itsmtype"),
|
|
319
319
|
prop: "type"
|
|
320
320
|
}, {
|
|
321
321
|
default: n(() => [
|
|
322
|
-
t(
|
|
323
|
-
modelValue:
|
|
324
|
-
"onUpdate:modelValue": l[1] || (l[1] = (o) =>
|
|
325
|
-
placeholder: e.$t("itsmFlowSpareParts.
|
|
326
|
-
data:
|
|
322
|
+
t(u, {
|
|
323
|
+
modelValue: s(a).type,
|
|
324
|
+
"onUpdate:modelValue": l[1] || (l[1] = (o) => s(a).type = o),
|
|
325
|
+
placeholder: e.$t("itsmFlowSpareParts.itsmtypeRequired"),
|
|
326
|
+
data: s(g).purchaseTypeEnum.values,
|
|
327
327
|
clearable: "",
|
|
328
328
|
class: "w-full"
|
|
329
329
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -335,14 +335,14 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
335
335
|
}),
|
|
336
336
|
t(r, { span: 12 }, {
|
|
337
337
|
default: n(() => [
|
|
338
|
-
t(
|
|
338
|
+
t(d, {
|
|
339
339
|
label: e.$t("itsmFlowSpareParts.applyPlace"),
|
|
340
340
|
prop: "applyPlace"
|
|
341
341
|
}, {
|
|
342
342
|
default: n(() => [
|
|
343
343
|
t(i, {
|
|
344
|
-
modelValue:
|
|
345
|
-
"onUpdate:modelValue": l[2] || (l[2] = (o) =>
|
|
344
|
+
modelValue: s(a).applyPlace,
|
|
345
|
+
"onUpdate:modelValue": l[2] || (l[2] = (o) => s(a).applyPlace = o),
|
|
346
346
|
placeholder: e.$t("itsmFlowSpareParts.applyPlace"),
|
|
347
347
|
maxlength: "30",
|
|
348
348
|
"show-word-limit": "",
|
|
@@ -357,14 +357,14 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
357
357
|
}),
|
|
358
358
|
t(r, { span: 12 }, {
|
|
359
359
|
default: n(() => [
|
|
360
|
-
t(
|
|
360
|
+
t(d, {
|
|
361
361
|
label: e.$t("itsmFlowSpareParts.annual"),
|
|
362
362
|
prop: "annual"
|
|
363
363
|
}, {
|
|
364
364
|
default: n(() => [
|
|
365
365
|
t(V, {
|
|
366
|
-
modelValue:
|
|
367
|
-
"onUpdate:modelValue": l[3] || (l[3] = (o) =>
|
|
366
|
+
modelValue: s(a).annual,
|
|
367
|
+
"onUpdate:modelValue": l[3] || (l[3] = (o) => s(a).annual = o),
|
|
368
368
|
type: "year",
|
|
369
369
|
placeholder: e.$t("itsmFlowSpareParts.annualRequired"),
|
|
370
370
|
format: "YYYY",
|
|
@@ -379,24 +379,24 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
379
379
|
]),
|
|
380
380
|
_: 1
|
|
381
381
|
}),
|
|
382
|
-
|
|
382
|
+
s(a).type !== "BudgetOut" ? (f(), S(r, {
|
|
383
383
|
key: 0,
|
|
384
384
|
span: 24
|
|
385
385
|
}, {
|
|
386
386
|
default: n(() => [
|
|
387
|
-
t(
|
|
387
|
+
t(d, {
|
|
388
388
|
label: e.$t("itsmFlowSpareParts.itemId"),
|
|
389
389
|
prop: "itemId"
|
|
390
390
|
}, {
|
|
391
391
|
default: n(() => [
|
|
392
392
|
t(pe, {
|
|
393
|
-
modelValue:
|
|
394
|
-
"onUpdate:modelValue": l[4] || (l[4] = (o) =>
|
|
393
|
+
modelValue: s(a).itemId,
|
|
394
|
+
"onUpdate:modelValue": l[4] || (l[4] = (o) => s(a).itemId = o),
|
|
395
395
|
placeholder: e.$t("itsmFlowSpareParts.itemIdRequired"),
|
|
396
396
|
data: Y.value,
|
|
397
397
|
clearable: "",
|
|
398
398
|
filterable: "",
|
|
399
|
-
disabled: !
|
|
399
|
+
disabled: !s(a).orgId,
|
|
400
400
|
onChange: x
|
|
401
401
|
}, {
|
|
402
402
|
default: n(() => [
|
|
@@ -414,19 +414,19 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
414
414
|
]),
|
|
415
415
|
_: 1
|
|
416
416
|
})) : $("", !0),
|
|
417
|
-
|
|
417
|
+
s(a).type !== "BudgetOut" ? (f(), S(r, {
|
|
418
418
|
key: 1,
|
|
419
419
|
span: 12
|
|
420
420
|
}, {
|
|
421
421
|
default: n(() => [
|
|
422
|
-
t(
|
|
422
|
+
t(d, {
|
|
423
423
|
label: e.$t("itsmFlowSpareParts.budgetType"),
|
|
424
424
|
prop: "budgetType"
|
|
425
425
|
}, {
|
|
426
426
|
default: n(() => [
|
|
427
427
|
t(me, {
|
|
428
|
-
modelValue:
|
|
429
|
-
"onUpdate:modelValue": l[5] || (l[5] = (o) =>
|
|
428
|
+
modelValue: s(a).budgetType,
|
|
429
|
+
"onUpdate:modelValue": l[5] || (l[5] = (o) => s(a).budgetType = o),
|
|
430
430
|
placeholder: e.$t("itsmFlowSpareParts.budgetTypeRequired"),
|
|
431
431
|
data: w.value,
|
|
432
432
|
disabled: !w.value.length,
|
|
@@ -441,19 +441,19 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
441
441
|
]),
|
|
442
442
|
_: 1
|
|
443
443
|
})) : $("", !0),
|
|
444
|
-
|
|
444
|
+
s(a).type !== "BudgetOut" ? (f(), S(r, {
|
|
445
445
|
key: 2,
|
|
446
446
|
span: 12
|
|
447
447
|
}, {
|
|
448
448
|
default: n(() => [
|
|
449
|
-
t(
|
|
449
|
+
t(d, {
|
|
450
450
|
label: e.$t("itsmFlowSpareParts.contractMoney"),
|
|
451
451
|
prop: "contractMoney"
|
|
452
452
|
}, {
|
|
453
453
|
default: n(() => [
|
|
454
454
|
t(i, {
|
|
455
|
-
modelValue:
|
|
456
|
-
"onUpdate:modelValue": l[6] || (l[6] = (o) =>
|
|
455
|
+
modelValue: s(a).contractMoney,
|
|
456
|
+
"onUpdate:modelValue": l[6] || (l[6] = (o) => s(a).contractMoney = o),
|
|
457
457
|
placeholder: e.$t("itsmFlowSpareParts.contractMoneyRequired"),
|
|
458
458
|
"show-word-limit": "",
|
|
459
459
|
clearable: ""
|
|
@@ -466,13 +466,13 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
466
466
|
})) : $("", !0),
|
|
467
467
|
t(r, { span: 12 }, {
|
|
468
468
|
default: n(() => [
|
|
469
|
-
t(
|
|
469
|
+
t(d, {
|
|
470
470
|
label: e.$t("itsmFlowSpareParts.createBy"),
|
|
471
471
|
prop: "createBy"
|
|
472
472
|
}, {
|
|
473
473
|
default: n(() => [
|
|
474
474
|
t(i, {
|
|
475
|
-
value:
|
|
475
|
+
value: s(X).user.realName,
|
|
476
476
|
placeholder: e.$t("itsmFlowSpareParts.createBy"),
|
|
477
477
|
maxlength: "8",
|
|
478
478
|
"show-word-limit": "",
|
|
@@ -487,14 +487,14 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
487
487
|
}),
|
|
488
488
|
t(r, { span: 12 }, {
|
|
489
489
|
default: n(() => [
|
|
490
|
-
t(
|
|
490
|
+
t(d, {
|
|
491
491
|
label: e.$t("itsmFlowSpareParts.applyDate"),
|
|
492
492
|
prop: "applyDate"
|
|
493
493
|
}, {
|
|
494
494
|
default: n(() => [
|
|
495
495
|
t(V, {
|
|
496
|
-
modelValue:
|
|
497
|
-
"onUpdate:modelValue": l[7] || (l[7] = (o) =>
|
|
496
|
+
modelValue: s(a).applyDate,
|
|
497
|
+
"onUpdate:modelValue": l[7] || (l[7] = (o) => s(a).applyDate = o),
|
|
498
498
|
type: "date",
|
|
499
499
|
placeholder: e.$t("itsmFlowSpareParts.applyDateRequired"),
|
|
500
500
|
format: "YYYY-MM-DD",
|
|
@@ -533,7 +533,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
533
533
|
}, null, 8, ["label"]),
|
|
534
534
|
t(b, {
|
|
535
535
|
prop: "type",
|
|
536
|
-
label: e.$t("itsmFlowSpareParts.
|
|
536
|
+
label: e.$t("itsmFlowSpareParts.itsmtype"),
|
|
537
537
|
"header-align": "center",
|
|
538
538
|
width: "180"
|
|
539
539
|
}, {
|
|
@@ -541,7 +541,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
541
541
|
t(i, {
|
|
542
542
|
modelValue: o.type,
|
|
543
543
|
"onUpdate:modelValue": (m) => o.type = m,
|
|
544
|
-
placeholder: e.$t("itsmFlowSpareParts.
|
|
544
|
+
placeholder: e.$t("itsmFlowSpareParts.itsmtypeRequired"),
|
|
545
545
|
class: "w-full"
|
|
546
546
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
547
547
|
]),
|
|
@@ -549,7 +549,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
549
549
|
}, 8, ["label"]),
|
|
550
550
|
t(b, {
|
|
551
551
|
prop: "name",
|
|
552
|
-
label: e.$t("itsmFlowSpareParts.
|
|
552
|
+
label: e.$t("itsmFlowSpareParts.itsmName"),
|
|
553
553
|
"header-align": "center",
|
|
554
554
|
width: "300"
|
|
555
555
|
}, {
|
|
@@ -557,7 +557,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
557
557
|
t(i, {
|
|
558
558
|
modelValue: o.name,
|
|
559
559
|
"onUpdate:modelValue": (m) => o.name = m,
|
|
560
|
-
placeholder: e.$t("itsmFlowSpareParts.
|
|
560
|
+
placeholder: e.$t("itsmFlowSpareParts.itsmNameRequired")
|
|
561
561
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
562
562
|
]),
|
|
563
563
|
_: 1
|
|
@@ -661,7 +661,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
661
661
|
class: "hover-blue"
|
|
662
662
|
}, {
|
|
663
663
|
default: n(() => [
|
|
664
|
-
t(
|
|
664
|
+
t(s(Fe))
|
|
665
665
|
]),
|
|
666
666
|
_: 2
|
|
667
667
|
}, 1032, ["onClick"])) : $("", !0)
|
|
@@ -672,12 +672,12 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
672
672
|
_: 1
|
|
673
673
|
}, 8, ["data"]),
|
|
674
674
|
t(z, {
|
|
675
|
-
icon:
|
|
675
|
+
icon: s(Se),
|
|
676
676
|
class: "addButton",
|
|
677
677
|
onClick: ae
|
|
678
678
|
}, {
|
|
679
679
|
default: n(() => [
|
|
680
|
-
T(_(
|
|
680
|
+
T(_(s(c)("common.add")), 1)
|
|
681
681
|
]),
|
|
682
682
|
_: 1
|
|
683
683
|
}, 8, ["icon"]),
|
|
@@ -690,14 +690,14 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
690
690
|
class: "bordered-row"
|
|
691
691
|
}, {
|
|
692
692
|
default: n(() => [
|
|
693
|
-
(f(!0), P(I, null, R(
|
|
693
|
+
(f(!0), P(I, null, R(s(g).fileTypeDict.values.slice(0, 2), (o, m) => (f(), S(d, {
|
|
694
694
|
key: o.dictCode,
|
|
695
695
|
label: o.dictName
|
|
696
696
|
}, {
|
|
697
697
|
default: n(() => [
|
|
698
698
|
t(z, {
|
|
699
699
|
type: "primary",
|
|
700
|
-
icon:
|
|
700
|
+
icon: s(_e),
|
|
701
701
|
onClick: () => ne(o.dictCode)
|
|
702
702
|
}, {
|
|
703
703
|
default: n(() => [
|
|
@@ -713,10 +713,10 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
713
713
|
t(j, {
|
|
714
714
|
size: "16",
|
|
715
715
|
class: "icon-right",
|
|
716
|
-
onClick: () =>
|
|
716
|
+
onClick: () => se(o.dictCode, K)
|
|
717
717
|
}, {
|
|
718
718
|
default: n(() => [
|
|
719
|
-
t(
|
|
719
|
+
t(s(Pe))
|
|
720
720
|
]),
|
|
721
721
|
_: 2
|
|
722
722
|
}, 1032, ["onClick"])
|
|
@@ -743,7 +743,7 @@ const Be = { class: "total-price" }, Re = { id: "totalPrice" }, Te = /* @__PURE_
|
|
|
743
743
|
], 64);
|
|
744
744
|
};
|
|
745
745
|
}
|
|
746
|
-
}), Ke = /* @__PURE__ */ Me(Te, [["__scopeId", "data-v-
|
|
746
|
+
}), Ke = /* @__PURE__ */ Me(Te, [["__scopeId", "data-v-17a7619b"]]);
|
|
747
747
|
export {
|
|
748
748
|
Ke as default
|
|
749
749
|
};
|
|
@@ -2,8 +2,8 @@ import { defineComponent as M, ref as R, reactive as S, resolveComponent as s, r
|
|
|
2
2
|
import { useTableHooks as X } from "jmash-core";
|
|
3
3
|
import { useI18n as Y } from "vue-i18n";
|
|
4
4
|
import { i as Z } from "./common-Cwl5jzlM.mjs";
|
|
5
|
-
import { _ as x } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { C as ee, D as h } from "./index-
|
|
5
|
+
import { _ as x } from "./edit.vue_vue_type_script_setup_true_lang-DK-kdI-u.mjs";
|
|
6
|
+
import { C as ee, D as h } from "./index-CTX-1ZJN.mjs";
|
|
7
7
|
const oe = { class: "app-container" }, le = { class: "search-container" }, te = ["onClick"], ne = ["onClick"], pe = /* @__PURE__ */ M({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(ae) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as J, ref as S, reactive as R, onActivated as X, resolveComponent as s, resolveDirective as Z, createElementBlock as h, openBlock as
|
|
1
|
+
import { defineComponent as J, ref as S, reactive as R, onActivated as X, resolveComponent as s, resolveDirective as Z, createElementBlock as h, openBlock as d, createElementVNode as b, createVNode as o, createBlock as I, createCommentVNode as D, withCtx as l, unref as r, withKeys as x, createTextVNode as y, toDisplayString as i, withDirectives as C, isRef as z } from "vue";
|
|
2
2
|
import { useTableHooks as ee } from "jmash-core";
|
|
3
3
|
import { useI18n as te } from "vue-i18n";
|
|
4
|
-
import { i as le } from "./index-
|
|
5
|
-
import ae from "./edit-
|
|
6
|
-
import { _ as oe } from "./info.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { D as p, C as re } from "./index-
|
|
4
|
+
import { i as le } from "./index-Cc1yu7_y.mjs";
|
|
5
|
+
import ae from "./edit-DYzjfcpe.mjs";
|
|
6
|
+
import { _ as oe } from "./info.vue_vue_type_script_setup_true_lang-C9LpdXNC.mjs";
|
|
7
|
+
import { D as p, C as re } from "./index-CTX-1ZJN.mjs";
|
|
8
8
|
import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
9
|
-
const se = { class: "app-container" }, ie = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"],
|
|
9
|
+
const se = { class: "app-container" }, ie = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], me = ["onClick"], de = /* @__PURE__ */ J({
|
|
10
10
|
__name: "index",
|
|
11
11
|
setup(ce) {
|
|
12
12
|
p.itemBizLayDict.useValues(), p.orgIdBizDict.useValues();
|
|
@@ -56,7 +56,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
56
56
|
isColumn: !0
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
|
-
label: "itsmFlowSpareParts.
|
|
59
|
+
label: "itsmFlowSpareParts.itsmtype",
|
|
60
60
|
prop: "type",
|
|
61
61
|
width: "105",
|
|
62
62
|
sortable: "custom",
|
|
@@ -101,17 +101,17 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
101
101
|
isColumn: !0
|
|
102
102
|
}
|
|
103
103
|
]);
|
|
104
|
-
const
|
|
104
|
+
const m = S({
|
|
105
105
|
title: f("common.edit"),
|
|
106
106
|
visible: !1
|
|
107
107
|
});
|
|
108
108
|
S(!1);
|
|
109
109
|
let _ = R({});
|
|
110
110
|
function j() {
|
|
111
|
-
_ = R({}),
|
|
111
|
+
_ = R({}), m.value.title = f("common.add"), m.value.visible = !0;
|
|
112
112
|
}
|
|
113
113
|
function L(a) {
|
|
114
|
-
_.flowSpareId = a.flowSpareId,
|
|
114
|
+
_.flowSpareId = a.flowSpareId, m.value.title = f("common.edit"), m.value.visible = !0;
|
|
115
115
|
}
|
|
116
116
|
const v = S({
|
|
117
117
|
title: f("common.view"),
|
|
@@ -133,7 +133,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
133
133
|
u.getList();
|
|
134
134
|
}), (a, t) => {
|
|
135
135
|
const k = s("jmash-select"), g = s("el-form-item"), c = s("el-col"), K = s("el-date-picker"), F = s("el-row"), $ = s("el-button"), Q = s("el-form"), H = s("jmash-column-select"), M = s("jmash-table"), W = s("jmash-pagination"), G = s("el-card"), P = Z("hasPerm");
|
|
136
|
-
return
|
|
136
|
+
return d(), h("div", se, [
|
|
137
137
|
b("div", ie, [
|
|
138
138
|
o(Q, {
|
|
139
139
|
ref_key: "queryFormRef",
|
|
@@ -212,14 +212,14 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
212
212
|
o(c, { span: 6 }, {
|
|
213
213
|
default: l(() => [
|
|
214
214
|
o(g, {
|
|
215
|
-
label: a.$t("itsmFlowSpareParts.
|
|
215
|
+
label: a.$t("itsmFlowSpareParts.itsmtype"),
|
|
216
216
|
prop: "type"
|
|
217
217
|
}, {
|
|
218
218
|
default: l(() => [
|
|
219
219
|
o(k, {
|
|
220
220
|
modelValue: n.value.type,
|
|
221
221
|
"onUpdate:modelValue": t[3] || (t[3] = (e) => n.value.type = e),
|
|
222
|
-
placeholder: a.$t("itsmFlowSpareParts.
|
|
222
|
+
placeholder: a.$t("itsmFlowSpareParts.itsmtypeRequired"),
|
|
223
223
|
data: r(p).purchaseTypeEnum.values,
|
|
224
224
|
onKeyup: t[4] || (t[4] = x((e) => r(u).handleQuery(), ["enter"])),
|
|
225
225
|
clearable: ""
|
|
@@ -279,7 +279,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
279
279
|
default: l(() => [
|
|
280
280
|
o(c, { span: 17 }, {
|
|
281
281
|
default: l(() => [
|
|
282
|
-
C((
|
|
282
|
+
C((d(), I($, {
|
|
283
283
|
type: "primary",
|
|
284
284
|
onClick: j
|
|
285
285
|
}, {
|
|
@@ -311,7 +311,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
311
311
|
})
|
|
312
312
|
]),
|
|
313
313
|
footer: l(() => [
|
|
314
|
-
r(V) > 0 ? (
|
|
314
|
+
r(V) > 0 ? (d(), I(W, {
|
|
315
315
|
key: 0,
|
|
316
316
|
total: r(V),
|
|
317
317
|
"onUpdate:total": t[8] || (t[8] = (e) => z(V) ? V.value = e : null),
|
|
@@ -346,7 +346,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
346
346
|
b("span", null, i(r(p).itemBizLayDict.getValue(e.data.row.itemId)), 1)
|
|
347
347
|
]),
|
|
348
348
|
operation: l((e) => [
|
|
349
|
-
C((
|
|
349
|
+
C((d(), h("span", {
|
|
350
350
|
class: "el-button-color",
|
|
351
351
|
onClick: (T) => L(e.data.row)
|
|
352
352
|
}, [
|
|
@@ -354,7 +354,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
354
354
|
], 8, ue)), [
|
|
355
355
|
[P, ["reports:itsm_flow_spare_parts:update"]]
|
|
356
356
|
]),
|
|
357
|
-
C((
|
|
357
|
+
C((d(), h("span", {
|
|
358
358
|
class: "el-button-color dropdown-left",
|
|
359
359
|
onClick: (T) => r(u).deleteRecord(e.data.row)
|
|
360
360
|
}, [
|
|
@@ -362,12 +362,12 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
362
362
|
], 8, pe)), [
|
|
363
363
|
[P, ["reports:itsm_flow_spare_parts:delete"]]
|
|
364
364
|
]),
|
|
365
|
-
C((
|
|
365
|
+
C((d(), h("span", {
|
|
366
366
|
class: "el-button-color dropdown-left",
|
|
367
367
|
onClick: (T) => Y(e.data.row)
|
|
368
368
|
}, [
|
|
369
369
|
y(i(a.$t("common.view")), 1)
|
|
370
|
-
], 8,
|
|
370
|
+
], 8, me)), [
|
|
371
371
|
[P, ["itsmflow:itsm_flow_entrust:view"]]
|
|
372
372
|
])
|
|
373
373
|
]),
|
|
@@ -376,16 +376,16 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
376
376
|
]),
|
|
377
377
|
_: 1
|
|
378
378
|
}),
|
|
379
|
-
|
|
379
|
+
m.value.visible ? (d(), I(ae, {
|
|
380
380
|
key: 0,
|
|
381
|
-
modelValue:
|
|
382
|
-
"onUpdate:modelValue": t[12] || (t[12] = (e) =>
|
|
383
|
-
title:
|
|
381
|
+
modelValue: m.value.visible,
|
|
382
|
+
"onUpdate:modelValue": t[12] || (t[12] = (e) => m.value.visible = e),
|
|
383
|
+
title: m.value.title,
|
|
384
384
|
"entity-key": r(_),
|
|
385
385
|
onRefresh: A,
|
|
386
386
|
width: "1200px"
|
|
387
387
|
}, null, 8, ["modelValue", "title", "entity-key"])) : D("", !0),
|
|
388
|
-
v.value.visible ? (
|
|
388
|
+
v.value.visible ? (d(), I(oe, {
|
|
389
389
|
key: 1,
|
|
390
390
|
modelValue: v.value.visible,
|
|
391
391
|
"onUpdate:modelValue": t[13] || (t[13] = (e) => v.value.visible = e),
|
|
@@ -396,7 +396,7 @@ const se = { class: "app-container" }, ie = { class: "search-container" }, ue =
|
|
|
396
396
|
]);
|
|
397
397
|
};
|
|
398
398
|
}
|
|
399
|
-
}), Ve = /* @__PURE__ */ ne(
|
|
399
|
+
}), Ve = /* @__PURE__ */ ne(de, [["__scopeId", "data-v-22fea36b"]]);
|
|
400
400
|
export {
|
|
401
401
|
Ve as default
|
|
402
402
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as A, mergeModels as z, getCurrentInstance as R, ref as _, useModel as Y, nextTick as j, resolveComponent as b, createElementBlock as v, openBlock as c, Fragment as k, createVNode as l, withCtx as e, createElementVNode as C, createTextVNode as r, toDisplayString as u, renderList as T, unref as w, createBlock as M } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { i as H } from "./index-
|
|
4
|
-
import { D as m, i as K, C as W } from "./index-
|
|
3
|
+
import { i as H } from "./index-BzzIS37Q.mjs";
|
|
4
|
+
import { D as m, i as K, C as W } from "./index-CTX-1ZJN.mjs";
|
|
5
5
|
import { useUserStoreHook as q, fileApi as G } from "jmash-core";
|
|
6
6
|
import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
7
|
const Q = /* @__PURE__ */ A({
|
|
@@ -2,8 +2,8 @@ import { defineComponent as be, mergeModels as ge, ref as f, useModel as Ie, rea
|
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import { useI18n as we } from "vue-i18n";
|
|
4
4
|
import { p as Ee } from "./index-CvX2It1o.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { b as Ve, C as v, c as _e, d as Ne, D as E, e as R, a as Fe } from "./index-
|
|
5
|
+
import { a as J } from "./index-BzzIS37Q.mjs";
|
|
6
|
+
import { b as Ve, C as v, c as _e, d as Ne, D as E, e as R, a as Fe } from "./index-CTX-1ZJN.mjs";
|
|
7
7
|
import { E as Ue } from "./el-message-BJAl6Gwu.mjs";
|
|
8
8
|
const De = /* @__PURE__ */ be({
|
|
9
9
|
__name: "index",
|
|
@@ -2,8 +2,8 @@ import { defineComponent as H, ref as N, reactive as W, resolveComponent as u, r
|
|
|
2
2
|
import { useTableHooks as M } from "jmash-core";
|
|
3
3
|
import { useI18n as X } from "vue-i18n";
|
|
4
4
|
import { i as Y } from "./common-Cwl5jzlM.mjs";
|
|
5
|
-
import { D as k, O as Z, C as x } from "./index-
|
|
6
|
-
import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { D as k, O as Z, C as x } from "./index-CTX-1ZJN.mjs";
|
|
6
|
+
import { _ as ee } from "./info.vue_vue_type_script_setup_true_lang-CxZBVr6Z.mjs";
|
|
7
7
|
const le = { class: "app-container" }, oe = { class: "search-container" }, te = ["onClick"], de = /* @__PURE__ */ H({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(ne) {
|