xyvcard-itsm-flow 0.0.20 → 0.0.22
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-5d27MsC6.mjs → FileSaver.min-X2_RihtX.mjs} +29 -28
- package/dist/_commonjsHelpers-BVfed4GL.mjs +28 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/{edit-DIh0NEYf.mjs → edit-B4N5cmbv.mjs} +1 -1
- package/dist/edit-C1Zif4Ov.mjs +492 -0
- package/dist/edit-CUiT79xP.mjs +794 -0
- package/dist/{edit-DdzFTqhg.mjs → edit-Crp2NJw2.mjs} +1 -1
- package/dist/{edit-Vw2XQ1u6.mjs → edit-Da4XYqIW.mjs} +1 -1
- package/dist/edit-z2fcZzRN.mjs +378 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-m73-ejk7.mjs → edit.vue_vue_type_script_setup_true_lang-ClkzOaAV.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-prup6BHU.mjs → edit.vue_vue_type_script_setup_true_lang-DZj5V6Mk.mjs} +5 -4
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BjhcvEHi.mjs → edit.vue_vue_type_script_setup_true_lang-VfP4qMQI.mjs} +2 -2
- package/dist/{el-message-DawVzOVQ.mjs → el-message-BJAl6Gwu.mjs} +1 -1
- package/dist/index-5ECLdS5y.mjs +749 -0
- package/dist/{index-Cgbv4Ijf.mjs → index-5rQmXXAD.mjs} +118 -173
- package/dist/{index-CITy8Hqm.mjs → index-B0J0xma8.mjs} +29 -28
- package/dist/{index-7_pEehBt.mjs → index-B5OVt83d.mjs} +2 -2
- package/dist/index-BMCOCsW6.mjs +278 -0
- package/dist/index-BNfIR-q1.mjs +330 -0
- package/dist/index-BW4DcS26.mjs +272 -0
- package/dist/{index-DaSMRndr.mjs → index-BYazmSpv.mjs} +8 -7
- package/dist/{index-54evOMFJ.mjs → index-Bmev8P7I.mjs} +8 -7
- package/dist/index-C3QjePKd.mjs +390 -0
- package/dist/{index-DyOibT57.mjs → index-CBowEKcR.mjs} +2 -2
- package/dist/{index-Dooa5UH_.mjs → index-CCnjfMtC.mjs} +23 -22
- package/dist/{index-v18knD_f.mjs → index-COT8mjWU.mjs} +2 -2
- package/dist/index-CbG_QqOf.mjs +149 -0
- package/dist/index-CeA9V38o.mjs +339 -0
- package/dist/index-ChmGQcWY.mjs +396 -0
- package/dist/index-Coz_j3ZO.mjs +400 -0
- package/dist/{index-PafaMNgK.mjs → index-CvX2It1o.mjs} +64 -30
- package/dist/index-DKewqFNP.mjs +273 -0
- package/dist/{index-g0KiWDPW.mjs → index-DNFVieqg.mjs} +3 -3
- package/dist/{index-BI1uXq1f.mjs → index-DPqaoK4-.mjs} +7 -6
- package/dist/{index-CxyHtsq2.mjs → index-DVyAUAgy.mjs} +2 -2
- package/dist/index-Dd1bJ-eY.mjs +479 -0
- package/dist/index-DgQ1cL3p.mjs +221 -0
- package/dist/{index-C7_kMdm5.mjs → index-Dxfj5xxz.mjs} +2 -2
- package/dist/index-HVCVVhoT.mjs +1385 -0
- package/dist/index-V8eBbfrN.mjs +402 -0
- package/dist/index-YVpXj5al.mjs +316 -0
- package/dist/index-gea6CFp0.mjs +457 -0
- package/dist/index-oGFiETVc.mjs +366 -0
- package/dist/{index-tnTugnqa.mjs → index-sjkYgg27.mjs} +6 -5
- package/dist/index.mjs +1203 -999
- package/dist/{info-8NydJYfB.mjs → info-C2QOALBq.mjs} +1 -1
- package/dist/{info-BbMCDfFR.mjs → info-D90oJO1z.mjs} +1 -1
- package/dist/{info-l0eP5Tw1.mjs → info-XskyQapE.mjs} +1 -1
- package/dist/info-Y2dPD9_Q.mjs +4 -0
- package/dist/info-a4HMapKP.mjs +4 -0
- package/dist/info-bvVxVHFs.mjs +4 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-DMw-pPEW.mjs → info.vue_vue_type_script_setup_true_lang-BvcEV_aO.mjs} +115 -114
- package/dist/{info.vue_vue_type_script_setup_true_lang-wuHB-S6l.mjs → info.vue_vue_type_script_setup_true_lang-BzNQmLMY.mjs} +1 -1
- package/dist/info.vue_vue_type_script_setup_true_lang-CAAnevRr.mjs +209 -0
- package/dist/info.vue_vue_type_script_setup_true_lang-DROdDnz4.mjs +260 -0
- package/dist/{info.vue_vue_type_script_setup_true_lang-BnDpoavn.mjs → info.vue_vue_type_script_setup_true_lang-DhuclI_H.mjs} +1 -1
- package/dist/info.vue_vue_type_script_setup_true_lang-Dngt4TDa.mjs +374 -0
- package/dist/style.css +1 -1
- package/dts/api/index.d.ts +5 -1
- package/dts/api/itsm-flow-spare-parts/index.d.ts +20 -0
- package/dts/api/itsm-flow-spare-parts/types.d.ts +113 -0
- package/dts/api/itsm-flow-spare-parts-details/index.d.ts +20 -0
- package/dts/api/itsm-flow-spare-parts-details/types.d.ts +77 -0
- package/dts/api/itsm-flow-temporary/index.d.ts +21 -0
- package/dts/api/itsm-flow-temporary/types.d.ts +115 -0
- package/dts/components/ImageUpload/ImageUpload.vue.d.ts +36 -0
- package/dts/components/TaskItsmFlowImOrderInterior/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImOrderInteriorEdit/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImOrderInteriorImplement/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImOrderInteriorView/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareParts/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSparePartsEdit/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSparePartsUse/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareTemporary/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareTemporaryEdit/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareTemporaryImplement/index.vue.d.ts +28 -0
- package/dts/components/TaskItsmFlowImSpareTemporaryView/index.vue.d.ts +28 -0
- package/dts/constant.d.ts +8 -0
- package/dts/index.d.ts +13 -0
- package/dts/lang/itsm-flow/zh-cn.d.ts +81 -0
- package/dts/views/item-flow-orders-interior/edit.vue.d.ts +28 -0
- package/dts/views/item-flow-orders-interior/index.vue.d.ts +2 -0
- package/dts/views/item-flow-orders-interior/info.vue.d.ts +26 -0
- package/dts/views/itsm-flow-spare-parts/edit.vue.d.ts +28 -0
- package/dts/views/itsm-flow-spare-parts/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow-spare-parts/info.vue.d.ts +26 -0
- package/dts/views/itsm-flow-temporary/edit.vue.d.ts +28 -0
- package/dts/views/itsm-flow-temporary/index.vue.d.ts +2 -0
- package/dts/views/itsm-flow-temporary/info.vue.d.ts +26 -0
- package/package.json +63 -63
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
import { defineComponent as K, mergeModels as j, ref as w, useModel as W, resolveComponent as c, createElementBlock as v, openBlock as m, Fragment as h, createVNode as a, withCtx as e, createElementVNode as B, createBlock as g, createCommentVNode as F, createTextVNode as s, toDisplayString as n, unref as b, renderList as N } from "vue";
|
|
2
|
+
import "element-plus";
|
|
3
|
+
import { useI18n as q } from "vue-i18n";
|
|
4
|
+
import { C as D, D as y, i as G } from "./index-5rQmXXAD.mjs";
|
|
5
|
+
import { i as H, a as J } from "./index-BMCOCsW6.mjs";
|
|
6
|
+
import { fileApi as Q } from "jmash-core";
|
|
7
|
+
import { rbacApi as X } from "jmash-rbac";
|
|
8
|
+
const Y = { key: 0 }, se = /* @__PURE__ */ K({
|
|
9
|
+
__name: "index",
|
|
10
|
+
props: /* @__PURE__ */ j({
|
|
11
|
+
task: {
|
|
12
|
+
type: Object,
|
|
13
|
+
default: () => {
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}, {
|
|
17
|
+
modelValue: {},
|
|
18
|
+
modelModifiers: {}
|
|
19
|
+
}),
|
|
20
|
+
emits: ["update:modelValue"],
|
|
21
|
+
setup(I, { expose: O }) {
|
|
22
|
+
const { t: Z } = q(), C = w(), A = w({}), f = W(I, "modelValue");
|
|
23
|
+
console.log(D.applyStatus.finished, "=>Constant.applyStatus.finished "), y.budgetTypeDict.useValues();
|
|
24
|
+
const P = I, u = w();
|
|
25
|
+
H.findById({ flowSpareId: P.task.businessKey }).then(({ data: t }) => {
|
|
26
|
+
u.value = t;
|
|
27
|
+
});
|
|
28
|
+
const V = w([]);
|
|
29
|
+
J.findList({ flowSpareId: P.task.businessKey }).then((t) => {
|
|
30
|
+
V.value = t.data.results;
|
|
31
|
+
});
|
|
32
|
+
const M = w([]);
|
|
33
|
+
G.findFilesList({ actionId: P.task.businessKey }).then((t) => {
|
|
34
|
+
M.value = t.data.results;
|
|
35
|
+
});
|
|
36
|
+
const E = (t) => {
|
|
37
|
+
var p;
|
|
38
|
+
return ((p = M.value) == null ? void 0 : p.filter((r) => r.fileSort === t)) || [];
|
|
39
|
+
};
|
|
40
|
+
async function T(t) {
|
|
41
|
+
try {
|
|
42
|
+
const p = Q.fileUrl(t.filePath), i = await (await fetch(p)).blob(), S = window.URL.createObjectURL(i), d = document.createElement("a");
|
|
43
|
+
d.href = S, d.download = t.fileName || "download", document.body.appendChild(d), d.click();
|
|
44
|
+
} catch {
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
O({
|
|
48
|
+
changeModel: () => R()
|
|
49
|
+
});
|
|
50
|
+
function R() {
|
|
51
|
+
return f.value && (f.value.selectActions = [
|
|
52
|
+
{ key: "true", value: "同意" },
|
|
53
|
+
{ key: "false", value: "不同意" }
|
|
54
|
+
], f.value.varName = "approved", f.value.module = "", f.value.module = D.MODULE_ITSMFLOW), new Promise((t, p) => {
|
|
55
|
+
var r;
|
|
56
|
+
(r = C.value) == null || r.validate((i) => {
|
|
57
|
+
i ? (f.value && (f.value.comment = ""), t(!0)) : p(!1);
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
return (t, p) => {
|
|
62
|
+
const r = c("el-col"), i = c("el-form-item"), S = c("el-row"), d = c("el-table-column"), U = c("el-table"), z = c("el-button"), L = c("el-form");
|
|
63
|
+
return m(), v(h, null, [
|
|
64
|
+
a(r, { span: 24 }, {
|
|
65
|
+
default: e(() => p[0] || (p[0] = [
|
|
66
|
+
B("div", { class: "title" }, "备品备件申请领用确认单", -1)
|
|
67
|
+
])),
|
|
68
|
+
_: 1,
|
|
69
|
+
__: [0]
|
|
70
|
+
}),
|
|
71
|
+
a(L, {
|
|
72
|
+
ref_key: "taskFormRef",
|
|
73
|
+
ref: C,
|
|
74
|
+
model: A.value,
|
|
75
|
+
"label-width": "150px",
|
|
76
|
+
class: "custom-table-form"
|
|
77
|
+
}, {
|
|
78
|
+
default: e(() => [
|
|
79
|
+
a(L, {
|
|
80
|
+
ref: "itsmFlowEntrustFormRef",
|
|
81
|
+
"label-width": "150px",
|
|
82
|
+
class: "custom-table-form custom-form"
|
|
83
|
+
}, {
|
|
84
|
+
default: e(() => [
|
|
85
|
+
a(S, null, {
|
|
86
|
+
default: e(() => {
|
|
87
|
+
var o, k, _;
|
|
88
|
+
return [
|
|
89
|
+
a(r, { span: 12 }, {
|
|
90
|
+
default: e(() => [
|
|
91
|
+
a(i, {
|
|
92
|
+
label: t.$t("itsmFlowSpareParts.govOrgId"),
|
|
93
|
+
prop: "govOrgId"
|
|
94
|
+
}, {
|
|
95
|
+
default: e(() => {
|
|
96
|
+
var l;
|
|
97
|
+
return [
|
|
98
|
+
s(n(b(y).orgIdBizDict.getValue((l = u.value) == null ? void 0 : l.orgId)), 1)
|
|
99
|
+
];
|
|
100
|
+
}),
|
|
101
|
+
_: 1
|
|
102
|
+
}, 8, ["label"])
|
|
103
|
+
]),
|
|
104
|
+
_: 1
|
|
105
|
+
}),
|
|
106
|
+
a(r, { span: 12 }, {
|
|
107
|
+
default: e(() => [
|
|
108
|
+
a(i, {
|
|
109
|
+
label: t.$t("itsmFlowSpareParts.type"),
|
|
110
|
+
prop: "type"
|
|
111
|
+
}, {
|
|
112
|
+
default: e(() => {
|
|
113
|
+
var l;
|
|
114
|
+
return [
|
|
115
|
+
s(n(b(y).purchaseTypeEnum.getEnumValue((l = u.value) == null ? void 0 : l.type)), 1)
|
|
116
|
+
];
|
|
117
|
+
}),
|
|
118
|
+
_: 1
|
|
119
|
+
}, 8, ["label"])
|
|
120
|
+
]),
|
|
121
|
+
_: 1
|
|
122
|
+
}),
|
|
123
|
+
a(r, { span: 12 }, {
|
|
124
|
+
default: e(() => [
|
|
125
|
+
a(i, {
|
|
126
|
+
label: t.$t("itsmFlowSpareParts.applyPlace"),
|
|
127
|
+
prop: "applyPlace"
|
|
128
|
+
}, {
|
|
129
|
+
default: e(() => {
|
|
130
|
+
var l;
|
|
131
|
+
return [
|
|
132
|
+
s(n((l = u.value) == null ? void 0 : l.applyPlace), 1)
|
|
133
|
+
];
|
|
134
|
+
}),
|
|
135
|
+
_: 1
|
|
136
|
+
}, 8, ["label"])
|
|
137
|
+
]),
|
|
138
|
+
_: 1
|
|
139
|
+
}),
|
|
140
|
+
a(r, { span: 12 }, {
|
|
141
|
+
default: e(() => [
|
|
142
|
+
a(i, {
|
|
143
|
+
label: t.$t("itsmFlowSpareParts.annual"),
|
|
144
|
+
prop: "annual"
|
|
145
|
+
}, {
|
|
146
|
+
default: e(() => {
|
|
147
|
+
var l;
|
|
148
|
+
return [
|
|
149
|
+
s(n((l = u.value) == null ? void 0 : l.annual), 1)
|
|
150
|
+
];
|
|
151
|
+
}),
|
|
152
|
+
_: 1
|
|
153
|
+
}, 8, ["label"])
|
|
154
|
+
]),
|
|
155
|
+
_: 1
|
|
156
|
+
}),
|
|
157
|
+
((o = u.value) == null ? void 0 : o.type) !== "BudgetOut" ? (m(), g(r, {
|
|
158
|
+
key: 0,
|
|
159
|
+
span: 24
|
|
160
|
+
}, {
|
|
161
|
+
default: e(() => [
|
|
162
|
+
a(i, {
|
|
163
|
+
label: t.$t("itsmFlowSpareParts.itemId"),
|
|
164
|
+
prop: "itemId"
|
|
165
|
+
}, {
|
|
166
|
+
default: e(() => {
|
|
167
|
+
var l;
|
|
168
|
+
return [
|
|
169
|
+
s(n(b(y).itemBizLayDict.getValue((l = u.value) == null ? void 0 : l.itemId)), 1)
|
|
170
|
+
];
|
|
171
|
+
}),
|
|
172
|
+
_: 1
|
|
173
|
+
}, 8, ["label"])
|
|
174
|
+
]),
|
|
175
|
+
_: 1
|
|
176
|
+
})) : F("", !0),
|
|
177
|
+
((k = u.value) == null ? void 0 : k.type) !== "BudgetOut" ? (m(), g(r, {
|
|
178
|
+
key: 1,
|
|
179
|
+
span: 12
|
|
180
|
+
}, {
|
|
181
|
+
default: e(() => [
|
|
182
|
+
a(i, {
|
|
183
|
+
label: t.$t("itsmFlowSpareParts.budgetType"),
|
|
184
|
+
prop: "budgetType"
|
|
185
|
+
}, {
|
|
186
|
+
default: e(() => {
|
|
187
|
+
var l;
|
|
188
|
+
return [
|
|
189
|
+
s(n(b(y).budgetTypeDict.getValue((l = u.value) == null ? void 0 : l.budgetType)), 1)
|
|
190
|
+
];
|
|
191
|
+
}),
|
|
192
|
+
_: 1
|
|
193
|
+
}, 8, ["label"])
|
|
194
|
+
]),
|
|
195
|
+
_: 1
|
|
196
|
+
})) : F("", !0),
|
|
197
|
+
((_ = u.value) == null ? void 0 : _.type) !== "BudgetOut" ? (m(), g(r, {
|
|
198
|
+
key: 2,
|
|
199
|
+
span: 12
|
|
200
|
+
}, {
|
|
201
|
+
default: e(() => [
|
|
202
|
+
a(i, {
|
|
203
|
+
label: t.$t("itsmFlowSpareParts.contractMoney"),
|
|
204
|
+
prop: "contractMoney"
|
|
205
|
+
}, {
|
|
206
|
+
default: e(() => {
|
|
207
|
+
var l;
|
|
208
|
+
return [
|
|
209
|
+
s(n((l = u.value) == null ? void 0 : l.contractMoney), 1)
|
|
210
|
+
];
|
|
211
|
+
}),
|
|
212
|
+
_: 1
|
|
213
|
+
}, 8, ["label"])
|
|
214
|
+
]),
|
|
215
|
+
_: 1
|
|
216
|
+
})) : F("", !0),
|
|
217
|
+
a(r, { span: 12 }, {
|
|
218
|
+
default: e(() => [
|
|
219
|
+
a(i, {
|
|
220
|
+
label: t.$t("itsmFlowSpareParts.createBy"),
|
|
221
|
+
prop: "createBy"
|
|
222
|
+
}, {
|
|
223
|
+
default: e(() => {
|
|
224
|
+
var l, $;
|
|
225
|
+
return [
|
|
226
|
+
s(n((l = u.value) != null && l.createBy ? ($ = b(X).userInfo(u.value.createBy)) == null ? void 0 : $.realName : ""), 1)
|
|
227
|
+
];
|
|
228
|
+
}),
|
|
229
|
+
_: 1
|
|
230
|
+
}, 8, ["label"])
|
|
231
|
+
]),
|
|
232
|
+
_: 1
|
|
233
|
+
}),
|
|
234
|
+
a(r, { span: 12 }, {
|
|
235
|
+
default: e(() => [
|
|
236
|
+
a(i, {
|
|
237
|
+
label: t.$t("itsmFlowSpareParts.applyDate"),
|
|
238
|
+
prop: "applyDate"
|
|
239
|
+
}, {
|
|
240
|
+
default: e(() => {
|
|
241
|
+
var l;
|
|
242
|
+
return [
|
|
243
|
+
s(n((l = u.value) == null ? void 0 : l.applyDate), 1)
|
|
244
|
+
];
|
|
245
|
+
}),
|
|
246
|
+
_: 1
|
|
247
|
+
}, 8, ["label"])
|
|
248
|
+
]),
|
|
249
|
+
_: 1
|
|
250
|
+
})
|
|
251
|
+
];
|
|
252
|
+
}),
|
|
253
|
+
_: 1
|
|
254
|
+
}),
|
|
255
|
+
a(S, null, {
|
|
256
|
+
default: e(() => [
|
|
257
|
+
a(r, { span: 24 }, {
|
|
258
|
+
default: e(() => p[1] || (p[1] = [
|
|
259
|
+
B("div", { class: "title" }, "运维需求描述", -1)
|
|
260
|
+
])),
|
|
261
|
+
_: 1,
|
|
262
|
+
__: [1]
|
|
263
|
+
}),
|
|
264
|
+
a(r, { span: 24 }, {
|
|
265
|
+
default: e(() => [
|
|
266
|
+
a(U, {
|
|
267
|
+
stripe: "",
|
|
268
|
+
style: { width: "100%" },
|
|
269
|
+
data: V.value
|
|
270
|
+
}, {
|
|
271
|
+
default: e(() => [
|
|
272
|
+
a(d, {
|
|
273
|
+
prop: "type",
|
|
274
|
+
label: t.$t("itsmFlowSpareParts.type")
|
|
275
|
+
}, {
|
|
276
|
+
default: e((o) => [
|
|
277
|
+
s(n(o.row.type), 1)
|
|
278
|
+
]),
|
|
279
|
+
_: 1
|
|
280
|
+
}, 8, ["label"]),
|
|
281
|
+
a(d, {
|
|
282
|
+
prop: "name",
|
|
283
|
+
label: t.$t("itsmFlowSpareParts.name")
|
|
284
|
+
}, {
|
|
285
|
+
default: e((o) => [
|
|
286
|
+
s(n(o.row.name), 1)
|
|
287
|
+
]),
|
|
288
|
+
_: 1
|
|
289
|
+
}, 8, ["label"]),
|
|
290
|
+
a(d, {
|
|
291
|
+
prop: "number",
|
|
292
|
+
label: t.$t("itsmFlowSpareParts.number")
|
|
293
|
+
}, {
|
|
294
|
+
default: e((o) => [
|
|
295
|
+
s(n(o.row.number), 1)
|
|
296
|
+
]),
|
|
297
|
+
_: 1
|
|
298
|
+
}, 8, ["label"]),
|
|
299
|
+
a(d, {
|
|
300
|
+
prop: "unit",
|
|
301
|
+
label: t.$t("itsmFlowSpareParts.unit")
|
|
302
|
+
}, {
|
|
303
|
+
default: e((o) => [
|
|
304
|
+
s(n(o.row.unit), 1)
|
|
305
|
+
]),
|
|
306
|
+
_: 1
|
|
307
|
+
}, 8, ["label"]),
|
|
308
|
+
a(d, {
|
|
309
|
+
prop: "parameter",
|
|
310
|
+
label: t.$t("itsmFlowSpareParts.parameter")
|
|
311
|
+
}, {
|
|
312
|
+
default: e((o) => [
|
|
313
|
+
s(n(o.row.parameter), 1)
|
|
314
|
+
]),
|
|
315
|
+
_: 1
|
|
316
|
+
}, 8, ["label"]),
|
|
317
|
+
a(d, {
|
|
318
|
+
prop: "valuation",
|
|
319
|
+
label: t.$t("itsmFlowSpareParts.valuation")
|
|
320
|
+
}, {
|
|
321
|
+
default: e((o) => [
|
|
322
|
+
s(n(o.row.valuation), 1)
|
|
323
|
+
]),
|
|
324
|
+
_: 1
|
|
325
|
+
}, 8, ["label"]),
|
|
326
|
+
a(d, {
|
|
327
|
+
prop: "range",
|
|
328
|
+
label: t.$t("itsmFlowSpareParts.range")
|
|
329
|
+
}, {
|
|
330
|
+
default: e((o) => [
|
|
331
|
+
s(n(o.row.range), 1)
|
|
332
|
+
]),
|
|
333
|
+
_: 1
|
|
334
|
+
}, 8, ["label"]),
|
|
335
|
+
a(d, {
|
|
336
|
+
prop: "applyStatus ",
|
|
337
|
+
label: t.$t("itsmFlowSpareParts.applyStatus ")
|
|
338
|
+
}, {
|
|
339
|
+
default: e((o) => [
|
|
340
|
+
o.row.applyStatus === b(D).applyStatus.finished ? (m(), v("span", Y, "已领用 ")) : F("", !0)
|
|
341
|
+
]),
|
|
342
|
+
_: 1
|
|
343
|
+
}, 8, ["label"])
|
|
344
|
+
]),
|
|
345
|
+
_: 1
|
|
346
|
+
}, 8, ["data"])
|
|
347
|
+
]),
|
|
348
|
+
_: 1
|
|
349
|
+
}),
|
|
350
|
+
a(r, {
|
|
351
|
+
span: 24,
|
|
352
|
+
class: "bordered-row"
|
|
353
|
+
}, {
|
|
354
|
+
default: e(() => [
|
|
355
|
+
(m(!0), v(h, null, N(b(y).fileTypeDict.values.slice(0, 2), (o, k) => (m(), g(i, {
|
|
356
|
+
key: o.dictCode,
|
|
357
|
+
label: o.dictName
|
|
358
|
+
}, {
|
|
359
|
+
default: e(() => [
|
|
360
|
+
(m(!0), v(h, null, N(E(o.dictCode), (_, l) => (m(), v("div", {
|
|
361
|
+
key: l,
|
|
362
|
+
class: "files-list"
|
|
363
|
+
}, [
|
|
364
|
+
B("span", null, n(_.fileName), 1),
|
|
365
|
+
a(z, {
|
|
366
|
+
type: "primary",
|
|
367
|
+
link: "",
|
|
368
|
+
size: "small",
|
|
369
|
+
class: "icon-right",
|
|
370
|
+
onClick: ($) => T(_)
|
|
371
|
+
}, {
|
|
372
|
+
default: e(() => p[2] || (p[2] = [
|
|
373
|
+
s(" 查看 ")
|
|
374
|
+
])),
|
|
375
|
+
_: 2,
|
|
376
|
+
__: [2]
|
|
377
|
+
}, 1032, ["onClick"])
|
|
378
|
+
]))), 128))
|
|
379
|
+
]),
|
|
380
|
+
_: 2
|
|
381
|
+
}, 1032, ["label"]))), 128))
|
|
382
|
+
]),
|
|
383
|
+
_: 1
|
|
384
|
+
})
|
|
385
|
+
]),
|
|
386
|
+
_: 1
|
|
387
|
+
})
|
|
388
|
+
]),
|
|
389
|
+
_: 1
|
|
390
|
+
}, 512)
|
|
391
|
+
]),
|
|
392
|
+
_: 1
|
|
393
|
+
}, 8, ["model"])
|
|
394
|
+
], 64);
|
|
395
|
+
};
|
|
396
|
+
}
|
|
397
|
+
});
|
|
398
|
+
export {
|
|
399
|
+
se as default
|
|
400
|
+
};
|
|
@@ -1,110 +1,144 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as l, createElementBlock as _, openBlock as a, createElementVNode as e } from "vue";
|
|
2
2
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
3
|
-
var u = /* @__PURE__ */
|
|
3
|
+
var u = /* @__PURE__ */ l({
|
|
4
4
|
name: "CircleCloseFilled",
|
|
5
5
|
__name: "circle-close-filled",
|
|
6
6
|
setup(t) {
|
|
7
|
-
return (r, s) => (
|
|
7
|
+
return (r, s) => (a(), _("svg", {
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
9
|
viewBox: "0 0 1024 1024"
|
|
10
10
|
}, [
|
|
11
|
-
|
|
11
|
+
e("path", {
|
|
12
12
|
fill: "currentColor",
|
|
13
13
|
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"
|
|
14
14
|
})
|
|
15
15
|
]));
|
|
16
16
|
}
|
|
17
|
-
}),
|
|
17
|
+
}), m = u, c = /* @__PURE__ */ l({
|
|
18
|
+
name: "CircleClose",
|
|
19
|
+
__name: "circle-close",
|
|
20
|
+
setup(t) {
|
|
21
|
+
return (r, s) => (a(), _("svg", {
|
|
22
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23
|
+
viewBox: "0 0 1024 1024"
|
|
24
|
+
}, [
|
|
25
|
+
e("path", {
|
|
26
|
+
fill: "currentColor",
|
|
27
|
+
d: "m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"
|
|
28
|
+
}),
|
|
29
|
+
e("path", {
|
|
30
|
+
fill: "currentColor",
|
|
31
|
+
d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
|
|
32
|
+
})
|
|
33
|
+
]));
|
|
34
|
+
}
|
|
35
|
+
}), g = c, p = /* @__PURE__ */ l({
|
|
18
36
|
name: "Close",
|
|
19
37
|
__name: "close",
|
|
20
38
|
setup(t) {
|
|
21
|
-
return (r, s) => (
|
|
39
|
+
return (r, s) => (a(), _("svg", {
|
|
22
40
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23
41
|
viewBox: "0 0 1024 1024"
|
|
24
42
|
}, [
|
|
25
|
-
|
|
43
|
+
e("path", {
|
|
26
44
|
fill: "currentColor",
|
|
27
45
|
d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
|
|
28
46
|
})
|
|
29
47
|
]));
|
|
30
48
|
}
|
|
31
|
-
}),
|
|
49
|
+
}), h = p, o = /* @__PURE__ */ l({
|
|
50
|
+
name: "DeleteFilled",
|
|
51
|
+
__name: "delete-filled",
|
|
52
|
+
setup(t) {
|
|
53
|
+
return (r, s) => (a(), _("svg", {
|
|
54
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
55
|
+
viewBox: "0 0 1024 1024"
|
|
56
|
+
}, [
|
|
57
|
+
e("path", {
|
|
58
|
+
fill: "currentColor",
|
|
59
|
+
d: "M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"
|
|
60
|
+
})
|
|
61
|
+
]));
|
|
62
|
+
}
|
|
63
|
+
}), x = o, n = /* @__PURE__ */ l({
|
|
32
64
|
name: "InfoFilled",
|
|
33
65
|
__name: "info-filled",
|
|
34
66
|
setup(t) {
|
|
35
|
-
return (r, s) => (
|
|
67
|
+
return (r, s) => (a(), _("svg", {
|
|
36
68
|
xmlns: "http://www.w3.org/2000/svg",
|
|
37
69
|
viewBox: "0 0 1024 1024"
|
|
38
70
|
}, [
|
|
39
|
-
|
|
71
|
+
e("path", {
|
|
40
72
|
fill: "currentColor",
|
|
41
73
|
d: "M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"
|
|
42
74
|
})
|
|
43
75
|
]));
|
|
44
76
|
}
|
|
45
|
-
}),
|
|
77
|
+
}), C = n, v = /* @__PURE__ */ l({
|
|
46
78
|
name: "Plus",
|
|
47
79
|
__name: "plus",
|
|
48
80
|
setup(t) {
|
|
49
|
-
return (r, s) => (
|
|
81
|
+
return (r, s) => (a(), _("svg", {
|
|
50
82
|
xmlns: "http://www.w3.org/2000/svg",
|
|
51
83
|
viewBox: "0 0 1024 1024"
|
|
52
84
|
}, [
|
|
53
|
-
|
|
85
|
+
e("path", {
|
|
54
86
|
fill: "currentColor",
|
|
55
87
|
d: "M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"
|
|
56
88
|
})
|
|
57
89
|
]));
|
|
58
90
|
}
|
|
59
|
-
}),
|
|
91
|
+
}), L = v, i = /* @__PURE__ */ l({
|
|
60
92
|
name: "SuccessFilled",
|
|
61
93
|
__name: "success-filled",
|
|
62
94
|
setup(t) {
|
|
63
|
-
return (r, s) => (
|
|
95
|
+
return (r, s) => (a(), _("svg", {
|
|
64
96
|
xmlns: "http://www.w3.org/2000/svg",
|
|
65
97
|
viewBox: "0 0 1024 1024"
|
|
66
98
|
}, [
|
|
67
|
-
|
|
99
|
+
e("path", {
|
|
68
100
|
fill: "currentColor",
|
|
69
101
|
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"
|
|
70
102
|
})
|
|
71
103
|
]));
|
|
72
104
|
}
|
|
73
|
-
}),
|
|
105
|
+
}), B = i, d = /* @__PURE__ */ l({
|
|
74
106
|
name: "Upload",
|
|
75
107
|
__name: "upload",
|
|
76
108
|
setup(t) {
|
|
77
|
-
return (r, s) => (
|
|
109
|
+
return (r, s) => (a(), _("svg", {
|
|
78
110
|
xmlns: "http://www.w3.org/2000/svg",
|
|
79
111
|
viewBox: "0 0 1024 1024"
|
|
80
112
|
}, [
|
|
81
|
-
|
|
113
|
+
e("path", {
|
|
82
114
|
fill: "currentColor",
|
|
83
115
|
d: "M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"
|
|
84
116
|
})
|
|
85
117
|
]));
|
|
86
118
|
}
|
|
87
|
-
}),
|
|
119
|
+
}), M = d, f = /* @__PURE__ */ l({
|
|
88
120
|
name: "WarningFilled",
|
|
89
121
|
__name: "warning-filled",
|
|
90
122
|
setup(t) {
|
|
91
|
-
return (r, s) => (
|
|
123
|
+
return (r, s) => (a(), _("svg", {
|
|
92
124
|
xmlns: "http://www.w3.org/2000/svg",
|
|
93
125
|
viewBox: "0 0 1024 1024"
|
|
94
126
|
}, [
|
|
95
|
-
|
|
127
|
+
e("path", {
|
|
96
128
|
fill: "currentColor",
|
|
97
129
|
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"
|
|
98
130
|
})
|
|
99
131
|
]));
|
|
100
132
|
}
|
|
101
|
-
}),
|
|
133
|
+
}), z = f;
|
|
102
134
|
export {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
g as
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
135
|
+
m as a,
|
|
136
|
+
h as b,
|
|
137
|
+
g as c,
|
|
138
|
+
x as d,
|
|
139
|
+
C as i,
|
|
140
|
+
L as p,
|
|
141
|
+
B as s,
|
|
142
|
+
M as u,
|
|
143
|
+
z as w
|
|
110
144
|
};
|