sooyie-material 0.0.1

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.
@@ -0,0 +1,281 @@
1
+ import { defineComponent as W, ref as w, reactive as D, onActivated as X, resolveComponent as r, resolveDirective as Y, createElementBlock as $, openBlock as d, createElementVNode as R, createVNode as a, createBlock as b, createCommentVNode as z, withCtx as o, withKeys as Z, unref as n, createTextVNode as p, toDisplayString as u, withDirectives as C, isRef as I } from "vue";
2
+ import { useTableHooks as ee } from "jmash-core";
3
+ import { useI18n as te } from "vue-i18n";
4
+ import { D as S, m as oe } from "./index-5-BjPWEv.mjs";
5
+ import { _ as ae } from "./edit.vue_vue_type_script_setup_true_lang-D5nC2eZW.mjs";
6
+ const le = { class: "app-container" }, ne = { class: "search-container" }, re = ["onClick"], ie = ["onClick"], ye = /* @__PURE__ */ W({
7
+ __name: "index",
8
+ setup(me) {
9
+ const { t: y } = te();
10
+ S.materialCategoryBizDict.useValues();
11
+ const m = w({}), {
12
+ tableHooks: i,
13
+ multipleTableRef: T,
14
+ queryFormRef: P,
15
+ listLoading: j,
16
+ tableData: U,
17
+ total: f
18
+ } = ee(y, oe, m);
19
+ let c = w([
20
+ {
21
+ label: "materialCategory.categoryName",
22
+ prop: "categoryName",
23
+ width: "170",
24
+ isColumn: !0
25
+ },
26
+ {
27
+ label: "materialCategory.parentId",
28
+ prop: "parentId",
29
+ width: "170",
30
+ sortable: "custom",
31
+ slotName: "parentId",
32
+ columnType: "slot",
33
+ isColumn: !0
34
+ },
35
+ {
36
+ label: "materialCategory.note",
37
+ prop: "note",
38
+ isColumn: !0
39
+ },
40
+ {
41
+ label: "materialCategory.orderBy",
42
+ prop: "orderBy",
43
+ width: "80",
44
+ slotName: "orderBy",
45
+ columnType: "slot",
46
+ isColumn: !0
47
+ },
48
+ {
49
+ label: "common.operate",
50
+ width: "200",
51
+ slotName: "operation",
52
+ columnType: "slot",
53
+ fixed: "right",
54
+ isColumn: !0
55
+ }
56
+ ]);
57
+ const s = w({
58
+ title: y("common.edit"),
59
+ visible: !1
60
+ });
61
+ let k = D({});
62
+ function L() {
63
+ k = D({}), s.value.title = y("common.add"), s.value.visible = !0;
64
+ }
65
+ function q(l) {
66
+ k.categoryId = l.categoryId, s.value.title = y("common.edit"), s.value.visible = !0;
67
+ }
68
+ function A(l) {
69
+ i.selectionRows.value = l;
70
+ }
71
+ function E(l) {
72
+ i.handleSort(l.prop, l.order);
73
+ }
74
+ function K(l) {
75
+ l && i.getList();
76
+ }
77
+ return X(() => {
78
+ i.getList();
79
+ }), (l, t) => {
80
+ const Q = r("el-input"), V = r("el-form-item"), _ = r("el-col"), g = r("el-button"), N = r("el-row"), F = r("el-form"), H = r("jmash-column-select"), M = r("Bottom"), B = r("el-icon"), x = r("Top"), G = r("jmash-table"), J = r("jmash-pagination"), O = r("el-card"), v = Y("hasPerm");
81
+ return d(), $("div", le, [
82
+ R("div", ne, [
83
+ a(F, {
84
+ ref_key: "queryFormRef",
85
+ ref: P,
86
+ model: m.value,
87
+ inline: !0
88
+ }, {
89
+ default: o(() => [
90
+ a(N, null, {
91
+ default: o(() => [
92
+ a(_, { span: 6 }, {
93
+ default: o(() => [
94
+ a(V, {
95
+ label: l.$t("materialCategory.categoryName"),
96
+ prop: "likeCategoryName"
97
+ }, {
98
+ default: o(() => [
99
+ a(Q, {
100
+ modelValue: m.value.likeCategoryName,
101
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => m.value.likeCategoryName = e),
102
+ placeholder: l.$t("materialCategory.categoryNameRequired"),
103
+ onKeyup: t[1] || (t[1] = Z((e) => n(i).handleQuery(), ["enter"])),
104
+ class: "!w-[203px]"
105
+ }, null, 8, ["modelValue", "placeholder"])
106
+ ]),
107
+ _: 1
108
+ }, 8, ["label"])
109
+ ]),
110
+ _: 1
111
+ }),
112
+ a(_, { span: 18 }, {
113
+ default: o(() => [
114
+ a(V, { class: "search-btn" }, {
115
+ default: o(() => [
116
+ a(g, {
117
+ type: "primary",
118
+ onClick: t[2] || (t[2] = (e) => n(i).handleQuery())
119
+ }, {
120
+ default: o(() => [
121
+ p(u(l.$t("common.search")), 1)
122
+ ]),
123
+ _: 1
124
+ }),
125
+ a(g, {
126
+ onClick: t[3] || (t[3] = (e) => n(i).resetQuery())
127
+ }, {
128
+ default: o(() => [
129
+ p(u(l.$t("common.reset")), 1)
130
+ ]),
131
+ _: 1
132
+ })
133
+ ]),
134
+ _: 1
135
+ })
136
+ ]),
137
+ _: 1
138
+ })
139
+ ]),
140
+ _: 1
141
+ })
142
+ ]),
143
+ _: 1
144
+ }, 8, ["model"])
145
+ ]),
146
+ a(O, {
147
+ shadow: "never",
148
+ class: "table-container"
149
+ }, {
150
+ header: o(() => [
151
+ a(N, null, {
152
+ default: o(() => [
153
+ a(_, { span: 17 }, {
154
+ default: o(() => [
155
+ C((d(), b(g, {
156
+ type: "primary",
157
+ onClick: L
158
+ }, {
159
+ default: o(() => [
160
+ p(u(l.$t("common.add")), 1)
161
+ ]),
162
+ _: 1
163
+ })), [
164
+ [v, ["material:material_category:add"]]
165
+ ]),
166
+ C((d(), b(g, {
167
+ type: "primary",
168
+ onClick: t[4] || (t[4] = (e) => n(i).deleteRecords())
169
+ }, {
170
+ default: o(() => [
171
+ p(u(l.$t("common.batchDelete")), 1)
172
+ ]),
173
+ _: 1
174
+ })), [
175
+ [v, ["material:material_category:delete"]]
176
+ ])
177
+ ]),
178
+ _: 1
179
+ }),
180
+ a(_, {
181
+ span: 7,
182
+ class: "container-float"
183
+ }, {
184
+ default: o(() => [
185
+ a(H, {
186
+ modelValue: n(c),
187
+ "onUpdate:modelValue": t[5] || (t[5] = (e) => I(c) ? c.value = e : c = e),
188
+ "label-name": "mat-material-category"
189
+ }, null, 8, ["modelValue"])
190
+ ]),
191
+ _: 1
192
+ })
193
+ ]),
194
+ _: 1
195
+ })
196
+ ]),
197
+ footer: o(() => [
198
+ n(f) > 0 ? (d(), b(J, {
199
+ key: 0,
200
+ total: n(f),
201
+ "onUpdate:total": t[6] || (t[6] = (e) => I(f) ? f.value = e : null),
202
+ "current-page": m.value.curPage,
203
+ "onUpdate:currentPage": t[7] || (t[7] = (e) => m.value.curPage = e),
204
+ "page-size": m.value.pageSize,
205
+ "onUpdate:pageSize": t[8] || (t[8] = (e) => m.value.pageSize = e),
206
+ onPagination: t[9] || (t[9] = (e) => n(i).getList())
207
+ }, null, 8, ["total", "current-page", "page-size"])) : z("", !0)
208
+ ]),
209
+ default: o(() => [
210
+ a(G, {
211
+ ref_key: "multipleTableRef",
212
+ ref: T,
213
+ "row-key": "categoryId",
214
+ "list-loading": n(j),
215
+ data: n(U),
216
+ "table-label": n(c),
217
+ onSelectionChange: A,
218
+ onSortChange: E
219
+ }, {
220
+ parentId: o((e) => [
221
+ R("span", null, u(n(S).materialCategoryBizDict.getValue(e.data.row.parentId)), 1)
222
+ ]),
223
+ orderBy: o((e) => [
224
+ a(B, {
225
+ size: "16",
226
+ onClick: (h) => n(i).handleMove(e.data.row, !1)
227
+ }, {
228
+ default: o(() => [
229
+ a(M)
230
+ ]),
231
+ _: 2
232
+ }, 1032, ["onClick"]),
233
+ a(B, {
234
+ size: "16",
235
+ onClick: (h) => n(i).handleMove(e.data.row, !0)
236
+ }, {
237
+ default: o(() => [
238
+ a(x)
239
+ ]),
240
+ _: 2
241
+ }, 1032, ["onClick"])
242
+ ]),
243
+ operation: o((e) => [
244
+ C((d(), $("span", {
245
+ class: "el-button-color",
246
+ onClick: (h) => q(e.data.row)
247
+ }, [
248
+ p(u(l.$t("common.edit")), 1)
249
+ ], 8, re)), [
250
+ [v, ["material:material_category:update"]]
251
+ ]),
252
+ C((d(), $("span", {
253
+ class: "el-button-color dropdown-left",
254
+ onClick: (h) => n(i).deleteRecord(e.data.row)
255
+ }, [
256
+ p(u(l.$t("common.delete")), 1)
257
+ ], 8, ie)), [
258
+ [v, ["material:material_category:delete"]]
259
+ ])
260
+ ]),
261
+ _: 1
262
+ }, 8, ["list-loading", "data", "table-label"])
263
+ ]),
264
+ _: 1
265
+ }),
266
+ s.value.visible ? (d(), b(ae, {
267
+ key: 0,
268
+ modelValue: s.value.visible,
269
+ "onUpdate:modelValue": t[10] || (t[10] = (e) => s.value.visible = e),
270
+ title: s.value.title,
271
+ "entity-key": n(k),
272
+ onRefresh: K,
273
+ width: "600px"
274
+ }, null, 8, ["modelValue", "title", "entity-key"])) : z("", !0)
275
+ ]);
276
+ };
277
+ }
278
+ });
279
+ export {
280
+ ye as default
281
+ };
@@ -0,0 +1,389 @@
1
+ import { defineComponent as x, ref as V, reactive as U, onActivated as ee, resolveComponent as m, resolveDirective as le, createElementBlock as N, openBlock as d, createElementVNode as _, createVNode as o, createBlock as f, createCommentVNode as R, withCtx as a, unref as n, withKeys as P, createTextVNode as p, toDisplayString as u, withDirectives as I, isRef as T } from "vue";
2
+ import { useTableHooks as te } from "jmash-core";
3
+ import { useI18n as ae } from "vue-i18n";
4
+ import { m as oe, _ as ne } from "./edit.vue_vue_type_script_setup_true_lang-DESmcHU5.mjs";
5
+ import { D as w } from "./index-5-BjPWEv.mjs";
6
+ const re = { class: "app-container" }, ie = { class: "search-container" }, me = ["onClick"], ue = ["onClick"], ye = /* @__PURE__ */ x({
7
+ __name: "index",
8
+ setup(de) {
9
+ const { t: c } = ae();
10
+ w.materialCategoryBizDict.useValues(), w.userDict.useValues();
11
+ const i = V({}), {
12
+ tableHooks: r,
13
+ multipleTableRef: j,
14
+ queryFormRef: z,
15
+ listLoading: q,
16
+ tableData: E,
17
+ total: $
18
+ } = te(c, oe, i);
19
+ let g = V([
20
+ {
21
+ label: "materialInfo.categoryId",
22
+ prop: "categoryId",
23
+ width: "110",
24
+ slotName: "categoryId",
25
+ columnType: "slot",
26
+ isColumn: !0
27
+ },
28
+ {
29
+ label: "materialInfo.materialCode",
30
+ prop: "materialCode",
31
+ width: "110",
32
+ sortable: "custom",
33
+ isColumn: !0
34
+ },
35
+ {
36
+ label: "materialInfo.materialName",
37
+ prop: "materialName",
38
+ width: "200",
39
+ isColumn: !0
40
+ },
41
+ {
42
+ label: "materialInfo.specInfo",
43
+ prop: "specInfo",
44
+ isColumn: !0
45
+ },
46
+ {
47
+ label: "materialInfo.unit",
48
+ prop: "unit",
49
+ width: "110",
50
+ sortable: "custom",
51
+ isColumn: !0
52
+ },
53
+ {
54
+ label: "materialInfo.unitPrice",
55
+ prop: "unitPrice",
56
+ width: "80",
57
+ sortable: "custom",
58
+ slotName: "unitPrice",
59
+ columnType: "slot",
60
+ isColumn: !0
61
+ },
62
+ {
63
+ label: "materialInfo.plannerId",
64
+ prop: "plannerId",
65
+ width: "100",
66
+ slotName: "plannerId",
67
+ columnType: "slot",
68
+ isColumn: !0
69
+ },
70
+ {
71
+ label: "common.operate",
72
+ width: "130",
73
+ slotName: "operation",
74
+ columnType: "slot",
75
+ fixed: "right",
76
+ isColumn: !0
77
+ }
78
+ ]);
79
+ const s = V({
80
+ title: c("common.edit"),
81
+ visible: !1
82
+ }), C = V(!1);
83
+ let h = U({});
84
+ function B() {
85
+ h = U({}), s.value.title = c("common.add"), s.value.visible = !0;
86
+ }
87
+ function K(t) {
88
+ h.materialId = t.materialId, s.value.title = c("common.edit"), s.value.visible = !0;
89
+ }
90
+ function L(t) {
91
+ r.selectionRows.value = t;
92
+ }
93
+ function Q(t) {
94
+ r.handleSort(t.prop, t.order);
95
+ }
96
+ function M(t) {
97
+ t && r.getList();
98
+ }
99
+ function A() {
100
+ C.value = !1;
101
+ }
102
+ function F(t) {
103
+ t.updateMask = "", r.importExcel(t).then((e) => {
104
+ C.value = !1;
105
+ });
106
+ }
107
+ return ee(() => {
108
+ r.getList();
109
+ }), (t, e) => {
110
+ const H = m("el-tree-select"), k = m("el-form-item"), v = m("el-col"), D = m("el-input"), S = m("el-row"), y = m("el-button"), G = m("el-form"), J = m("jmash-column-select"), O = m("jmash-table"), W = m("jmash-pagination"), X = m("el-card"), Y = m("jmash-import-upload"), b = le("hasPerm");
111
+ return d(), N("div", re, [
112
+ _("div", ie, [
113
+ o(G, {
114
+ ref_key: "queryFormRef",
115
+ ref: z,
116
+ model: i.value,
117
+ inline: !0
118
+ }, {
119
+ default: a(() => [
120
+ o(S, null, {
121
+ default: a(() => [
122
+ o(v, { span: 6 }, {
123
+ default: a(() => [
124
+ o(k, {
125
+ label: t.$t("materialInfo.categoryId"),
126
+ prop: "categoryId"
127
+ }, {
128
+ default: a(() => [
129
+ o(H, {
130
+ modelValue: i.value.categoryId,
131
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => i.value.categoryId = l),
132
+ data: n(w).materialCategoryBizDict.values,
133
+ filterable: "",
134
+ clearable: "",
135
+ "check-strictly": "",
136
+ "render-after-expand": !1,
137
+ class: "w-full",
138
+ placeholder: t.$t("materialInfo.categoryIdRequired")
139
+ }, null, 8, ["modelValue", "data", "placeholder"])
140
+ ]),
141
+ _: 1
142
+ }, 8, ["label"])
143
+ ]),
144
+ _: 1
145
+ }),
146
+ o(v, { span: 6 }, {
147
+ default: a(() => [
148
+ o(k, {
149
+ label: t.$t("materialInfo.materialCode"),
150
+ prop: "likeMaterialCode"
151
+ }, {
152
+ default: a(() => [
153
+ o(D, {
154
+ modelValue: i.value.likeMaterialCode,
155
+ "onUpdate:modelValue": e[1] || (e[1] = (l) => i.value.likeMaterialCode = l),
156
+ placeholder: t.$t("materialInfo.materialCodeRequired"),
157
+ onKeyup: e[2] || (e[2] = P((l) => n(r).handleQuery(), ["enter"])),
158
+ class: "!w-[203px]"
159
+ }, null, 8, ["modelValue", "placeholder"])
160
+ ]),
161
+ _: 1
162
+ }, 8, ["label"])
163
+ ]),
164
+ _: 1
165
+ }),
166
+ o(v, { span: 6 }, {
167
+ default: a(() => [
168
+ o(k, {
169
+ label: t.$t("materialInfo.materialName"),
170
+ prop: "likeCategoryName"
171
+ }, {
172
+ default: a(() => [
173
+ o(D, {
174
+ modelValue: i.value.likeCategoryName,
175
+ "onUpdate:modelValue": e[3] || (e[3] = (l) => i.value.likeCategoryName = l),
176
+ placeholder: t.$t("materialInfo.materialNameRequired"),
177
+ onKeyup: e[4] || (e[4] = P((l) => n(r).handleQuery(), ["enter"])),
178
+ class: "!w-[203px]"
179
+ }, null, 8, ["modelValue", "placeholder"])
180
+ ]),
181
+ _: 1
182
+ }, 8, ["label"])
183
+ ]),
184
+ _: 1
185
+ }),
186
+ o(v, { span: 6 }, {
187
+ default: a(() => [
188
+ o(k, {
189
+ label: t.$t("materialInfo.specInfo"),
190
+ prop: "likeSpecInfo"
191
+ }, {
192
+ default: a(() => [
193
+ o(D, {
194
+ modelValue: i.value.likeSpecInfo,
195
+ "onUpdate:modelValue": e[5] || (e[5] = (l) => i.value.likeSpecInfo = l),
196
+ placeholder: t.$t("materialInfo.specInfoRequired"),
197
+ onKeyup: e[6] || (e[6] = P((l) => n(r).handleQuery(), ["enter"])),
198
+ class: "!w-[203px]"
199
+ }, null, 8, ["modelValue", "placeholder"])
200
+ ]),
201
+ _: 1
202
+ }, 8, ["label"])
203
+ ]),
204
+ _: 1
205
+ })
206
+ ]),
207
+ _: 1
208
+ }),
209
+ o(k, { class: "search-btn" }, {
210
+ default: a(() => [
211
+ o(y, {
212
+ type: "primary",
213
+ onClick: e[7] || (e[7] = (l) => n(r).handleQuery())
214
+ }, {
215
+ default: a(() => [
216
+ p(u(t.$t("common.search")), 1)
217
+ ]),
218
+ _: 1
219
+ }),
220
+ o(y, {
221
+ onClick: e[8] || (e[8] = (l) => n(r).resetQuery())
222
+ }, {
223
+ default: a(() => [
224
+ p(u(t.$t("common.reset")), 1)
225
+ ]),
226
+ _: 1
227
+ })
228
+ ]),
229
+ _: 1
230
+ })
231
+ ]),
232
+ _: 1
233
+ }, 8, ["model"]),
234
+ e[19] || (e[19] = _("div", { class: "clear" }, null, -1))
235
+ ]),
236
+ o(X, {
237
+ shadow: "never",
238
+ class: "table-container"
239
+ }, {
240
+ header: a(() => [
241
+ o(S, null, {
242
+ default: a(() => [
243
+ o(v, { span: 17 }, {
244
+ default: a(() => [
245
+ I((d(), f(y, {
246
+ type: "primary",
247
+ onClick: B
248
+ }, {
249
+ default: a(() => [
250
+ p(u(t.$t("common.add")), 1)
251
+ ]),
252
+ _: 1
253
+ })), [
254
+ [b, ["material:material_info:add"]]
255
+ ]),
256
+ I((d(), f(y, {
257
+ type: "primary",
258
+ onClick: e[9] || (e[9] = (l) => n(r).deleteRecords())
259
+ }, {
260
+ default: a(() => [
261
+ p(u(t.$t("common.batchDelete")), 1)
262
+ ]),
263
+ _: 1
264
+ })), [
265
+ [b, ["material:material_info:delete"]]
266
+ ])
267
+ ]),
268
+ _: 1
269
+ }),
270
+ o(v, {
271
+ span: 7,
272
+ class: "container-float"
273
+ }, {
274
+ default: a(() => [
275
+ I((d(), f(y, {
276
+ plain: "",
277
+ type: "primary",
278
+ onClick: e[10] || (e[10] = (l) => C.value = !0)
279
+ }, {
280
+ default: a(() => [
281
+ p(u(t.$t("common.import")), 1)
282
+ ]),
283
+ _: 1
284
+ })), [
285
+ [b, ["material:material_info:import"]]
286
+ ]),
287
+ I((d(), f(y, {
288
+ plain: "",
289
+ type: "primary",
290
+ onClick: e[11] || (e[11] = (l) => n(r).handleExport(n(c)("materialInfo.name")))
291
+ }, {
292
+ default: a(() => [
293
+ p(u(t.$t("common.export")), 1)
294
+ ]),
295
+ _: 1
296
+ })), [
297
+ [b, ["material:material_info:export"]]
298
+ ]),
299
+ o(J, {
300
+ modelValue: n(g),
301
+ "onUpdate:modelValue": e[12] || (e[12] = (l) => T(g) ? g.value = l : g = l),
302
+ "label-name": "mat-material-info"
303
+ }, null, 8, ["modelValue"])
304
+ ]),
305
+ _: 1
306
+ })
307
+ ]),
308
+ _: 1
309
+ })
310
+ ]),
311
+ footer: a(() => [
312
+ n($) > 0 ? (d(), f(W, {
313
+ key: 0,
314
+ total: n($),
315
+ "onUpdate:total": e[13] || (e[13] = (l) => T($) ? $.value = l : null),
316
+ "current-page": i.value.curPage,
317
+ "onUpdate:currentPage": e[14] || (e[14] = (l) => i.value.curPage = l),
318
+ "page-size": i.value.pageSize,
319
+ "onUpdate:pageSize": e[15] || (e[15] = (l) => i.value.pageSize = l),
320
+ onPagination: e[16] || (e[16] = (l) => n(r).getList())
321
+ }, null, 8, ["total", "current-page", "page-size"])) : R("", !0)
322
+ ]),
323
+ default: a(() => [
324
+ o(O, {
325
+ ref_key: "multipleTableRef",
326
+ ref: j,
327
+ "row-key": "materialId",
328
+ "list-loading": n(q),
329
+ data: n(E),
330
+ "table-label": n(g),
331
+ onSelectionChange: L,
332
+ onSortChange: Q
333
+ }, {
334
+ categoryId: a((l) => [
335
+ _("span", null, u(n(w).materialCategoryBizDict.getValue(l.data.row.categoryId)), 1)
336
+ ]),
337
+ unitPrice: a((l) => [
338
+ _("span", null, u(l.data.row.unitPrice | 0) + "元 ", 1)
339
+ ]),
340
+ plannerId: a((l) => [
341
+ _("span", null, u(n(w).userDict.getValue(l.data.row.plannerId)), 1)
342
+ ]),
343
+ operation: a((l) => [
344
+ I((d(), N("span", {
345
+ class: "el-button-color",
346
+ onClick: (Z) => K(l.data.row)
347
+ }, [
348
+ p(u(t.$t("common.edit")), 1)
349
+ ], 8, me)), [
350
+ [b, ["material:material_info:update"]]
351
+ ]),
352
+ I((d(), N("span", {
353
+ class: "el-button-color dropdown-left",
354
+ onClick: (Z) => n(r).deleteRecord(l.data.row)
355
+ }, [
356
+ p(u(t.$t("common.delete")), 1)
357
+ ], 8, ue)), [
358
+ [b, ["material:material_info:delete"]]
359
+ ])
360
+ ]),
361
+ _: 1
362
+ }, 8, ["list-loading", "data", "table-label"])
363
+ ]),
364
+ _: 1
365
+ }),
366
+ s.value.visible ? (d(), f(ne, {
367
+ key: 0,
368
+ modelValue: s.value.visible,
369
+ "onUpdate:modelValue": e[17] || (e[17] = (l) => s.value.visible = l),
370
+ title: s.value.title,
371
+ "entity-key": n(h),
372
+ onRefresh: M,
373
+ width: "900px"
374
+ }, null, 8, ["modelValue", "title", "entity-key"])) : R("", !0),
375
+ C.value ? (d(), f(Y, {
376
+ key: 1,
377
+ "upload-visible": C.value,
378
+ "template-title": t.$t("sysUser.templateDownload"),
379
+ onTemplateDown: e[18] || (e[18] = (l) => n(r).downloadTemplate(n(c)("materialInfo.name"))),
380
+ onImportEvents: F,
381
+ onUploadClosed: A
382
+ }, null, 8, ["upload-visible", "template-title"])) : R("", !0)
383
+ ]);
384
+ };
385
+ }
386
+ });
387
+ export {
388
+ ye as default
389
+ };