ss-component-new 1.3.667 → 1.3.668

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.
Files changed (88) hide show
  1. package/dist/JSEncrypt-B36c1iN5.js +1983 -0
  2. package/dist/MTLLoader-97ajvYTo.js +657 -0
  3. package/dist/URDFLoader-BTohsFFD.js +2299 -0
  4. package/dist/animationData-Bh1dENkM.js +83 -0
  5. package/dist/array-BeZlnHE5.js +1045 -0
  6. package/dist/clone-64Nh3RrP.js +8 -0
  7. package/dist/config.js +1 -1
  8. package/dist/eleIcon-DlIcb4df.js +29 -0
  9. package/dist/iconfont-DLildctL.js +1018 -0
  10. package/dist/icons/svg/Update.svg +1 -0
  11. package/dist/icons/svg/functionList.svg +1 -0
  12. package/dist/icons/svg/uploadCopy.svg +1 -0
  13. package/dist/index-11kpzK0A.js +209 -0
  14. package/dist/index-8ZSWGLlP.js +664 -0
  15. package/dist/index-B24zodK9.js +48 -0
  16. package/dist/index-BAILi3_p.js +627 -0
  17. package/dist/index-BEqKA-R8.js +342 -0
  18. package/dist/{index-BKK_dL6t.js → index-BHtNKL1L.js} +1 -1
  19. package/dist/index-BI0lhlHy.js +107 -0
  20. package/dist/index-BaGFPX8W.js +103 -0
  21. package/dist/index-BosPsk5k.js +83 -0
  22. package/dist/index-Byq7jT-a.js +470 -0
  23. package/dist/index-CDuL9GwS.js +8985 -0
  24. package/dist/index-CG1vGzHt.js +44 -0
  25. package/dist/index-CJySKIdc.js +61 -0
  26. package/dist/index-COgke2F-.js +119 -0
  27. package/dist/index-CRwB8jQA.js +572 -0
  28. package/dist/index-CUfQEUxH.js +873 -0
  29. package/dist/index-CV_jQDcg.js +9 -0
  30. package/dist/{index-BobGeNMx.js → index-ChNfRlIP.js} +5 -5
  31. package/dist/index-ChtDRE_0.js +62 -0
  32. package/dist/index-ClXCn3x3.js +84 -0
  33. package/dist/index-CqjkyYQM.js +55 -0
  34. package/dist/index-CzGgc0w7.js +98 -0
  35. package/dist/index-CzMViO4H.js +28484 -0
  36. package/dist/index-D9fiFfMC.js +201 -0
  37. package/dist/index-DL9OWmfj.js +93 -0
  38. package/dist/index-DNzOZL27.js +1000 -0
  39. package/dist/index-DQHZjNCb.js +24423 -0
  40. package/dist/index-DSIS-l1N.js +93 -0
  41. package/dist/index-DTudxHP8.js +11815 -0
  42. package/dist/index-DU0QRffL.js +30 -0
  43. package/dist/index-DibaunZs.js +61957 -0
  44. package/dist/index-DkXSSUDS.js +447 -0
  45. package/dist/index-DlFmNKos.js +99 -0
  46. package/dist/index-DnRdT_Vp.js +78 -0
  47. package/dist/index-SOPMlMak.js +622 -0
  48. package/dist/index-aibiYft7.js +411 -0
  49. package/dist/index-rlStojTL.js +52 -0
  50. package/dist/index-uF-ibwG0.js +9 -0
  51. package/dist/index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CdPZBari.js +137703 -0
  52. package/dist/isString-h0UV2hrP.js +8 -0
  53. package/dist/localIcon-D5UoFBU5.js +76 -0
  54. package/dist/main-C7ijH7Xb.js +502 -0
  55. package/dist/menuIndex-CycdWV7s.js +159 -0
  56. package/dist/obj/model.mtl +42 -0
  57. package/dist/obj/model.obj +26110 -0
  58. package/dist/request-DolpfyNJ.js +9047 -0
  59. package/dist/ss-component.css +8 -2
  60. package/dist/ss-component.js +64 -28
  61. package/dist/ss-component2.js +75 -15
  62. package/dist/ss-component3.js +1 -1
  63. package/dist/threeModel-BQDoEUp8.js +1108 -0
  64. package/dist/threePreview-CIDX4oie.js +2259 -0
  65. package/dist/threeSceneView-C17oeWoh.js +1290 -0
  66. package/dist/threeSceneViewForCPMPIP-C1NcTzgS.js +539 -0
  67. package/dist/threeTrackPathView-BvI1Y9Qf.js +620 -0
  68. package/dist/threeViewerHost-Cs8SXBpW.js +233 -0
  69. package/dist/urdfTree-Dkdd2JSt.js +254 -0
  70. package/dist/workpieceTreePanel-VMAn_xKW.js +559 -0
  71. package/package.json +4 -4
  72. package/public/config.js +1 -1
  73. package/public/icons/svg/Update.svg +1 -0
  74. package/public/icons/svg/functionList.svg +1 -0
  75. package/public/icons/svg/uploadCopy.svg +1 -0
  76. package/public/obj/model.mtl +42 -0
  77. package/public/obj/model.obj +26110 -0
  78. package/dist/index-CCShKHTf.js +0 -50
  79. package/dist/index-CHLS51j8.js +0 -1044
  80. package/dist/index-Ccv8qbdo.js +0 -9091
  81. package/dist/index-D2V0zCQE.js +0 -195
  82. package/dist/index-DgjdKpj-.js +0 -182
  83. package/dist/menu-B8iV5Rhf.js +0 -5215
  84. package/dist/origin-B7bb-ZcE.js +0 -11428
  85. /package/dist/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  86. /package/dist/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
  87. /package/public/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  88. /package/public/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
@@ -0,0 +1,664 @@
1
+ import { watch as qe, ref as v, computed as ze, defineComponent as Ue, onMounted as Ae, reactive as $e, resolveComponent as p, createElementBlock as ue, openBlock as pe, createElementVNode as i, createVNode as a, unref as f, withCtx as l, createTextVNode as C, toDisplayString as we, Fragment as Fe, renderList as Re, withModifiers as Me } from "vue";
2
+ import { s as G, u as Ge, k as Qe } from "./request-DolpfyNJ.js";
3
+ import { k as de, w as Oe } from "./index-CzMViO4H.js";
4
+ import { s as je, b as He, p as he, A as Je, E as Ke, J as be, q as We, c as Xe, u as Ye } from "./index-CDuL9GwS.js";
5
+ import { f as Ze, i as et, e as tt, a as ot } from "./index-BEqKA-R8.js";
6
+ import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
7
+ import { s as at } from "./index-11kpzK0A.js";
8
+ import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
+ const st = He(he), { systemUrl: D } = je(st);
10
+ let B = D.value === "" || !D.value ? "http://222.92.178.198:63002" : D.value;
11
+ qe(
12
+ () => D.value,
13
+ () => {
14
+ B = D.value === "" || !D.value ? "http://222.92.178.198:63002" : D.value;
15
+ },
16
+ { deep: !0, immediate: !0 }
17
+ );
18
+ function lt(u) {
19
+ return G({
20
+ url: `${B}/platform/getdata_post`,
21
+ method: "post",
22
+ data: u
23
+ });
24
+ }
25
+ function it(u) {
26
+ return G({
27
+ url: `${B}/platform/createdata_post`,
28
+ method: "post",
29
+ data: u
30
+ });
31
+ }
32
+ function rt(u) {
33
+ return G({
34
+ url: `${B}/platform/updatedata_post`,
35
+ method: "post",
36
+ data: u
37
+ });
38
+ }
39
+ function ut(u) {
40
+ return G({
41
+ url: `${B}/platform/deletedata_post`,
42
+ method: "post",
43
+ data: u
44
+ });
45
+ }
46
+ const pt = [
47
+ {
48
+ label: "编辑",
49
+ value: "edit"
50
+ },
51
+ {
52
+ label: "删除",
53
+ value: "delete"
54
+ }
55
+ ], Ie = "post", _ = {
56
+ ENABLE: {
57
+ value: "enable",
58
+ label: "启用",
59
+ tag: "primary"
60
+ },
61
+ DISABLED: {
62
+ value: "disabled",
63
+ label: "禁用",
64
+ tag: "info"
65
+ }
66
+ }, dt = () => {
67
+ const { platId: u, userId: r, isSuperAdmin: T } = Je(), Q = (e) => {
68
+ const t = e.toUpperCase(), n = _ == null ? void 0 : _[t];
69
+ return (n == null ? void 0 : n.label) || e;
70
+ }, V = (e) => {
71
+ const t = e.toUpperCase(), n = _ == null ? void 0 : _[t];
72
+ return (n == null ? void 0 : n.tag) || "info";
73
+ }, L = v({}), S = ze(() => {
74
+ var t;
75
+ return T.value ? !0 : ((t = L.value) == null ? void 0 : t.status) === Ze.EDITABLE.value;
76
+ }), O = async () => {
77
+ var h, R;
78
+ const t = {
79
+ pageName: "系统管理/职位管理",
80
+ platId: u.value,
81
+ userId: r.value
82
+ }, n = await We(t);
83
+ return (R = (h = n == null ? void 0 : n.data) == null ? void 0 : h.result) == null ? void 0 : R[0];
84
+ }, j = async () => {
85
+ if (!T.value)
86
+ return L.value = await O(), L;
87
+ }, N = () => ({
88
+ name: ""
89
+ }), y = v(N()), H = () => {
90
+ y.value = N();
91
+ }, P = v({
92
+ prop: "sort",
93
+ order: "ascending"
94
+ }), z = (e) => {
95
+ P.value = e;
96
+ }, w = v({
97
+ pageNum: 1,
98
+ pageSize: 10,
99
+ total: 0,
100
+ pageSizes: [5, 10, 20, 50, 100]
101
+ }), J = (e) => {
102
+ w.value.pageNum = e;
103
+ }, K = (e) => {
104
+ w.value.pageSize = e;
105
+ }, W = () => ({
106
+ platId: u.value,
107
+ pageNum: w.value.pageNum,
108
+ pageSize: w.value.pageSize,
109
+ filter: {
110
+ ...y.value
111
+ },
112
+ orderBy: {
113
+ prop: P.value.prop,
114
+ order: P.value.order
115
+ }
116
+ }), X = async (e) => {
117
+ var n;
118
+ const t = await lt(e);
119
+ return (n = t == null ? void 0 : t.data) == null ? void 0 : n.result;
120
+ }, U = async (e) => {
121
+ const t = W(), n = await X(t), { total: h } = n || {};
122
+ return w.value.total = h, n || {};
123
+ }, Y = (e) => {
124
+ const t = be(Date.now()), n = Xe(e);
125
+ return n.update_time = t, n;
126
+ }, b = (e) => {
127
+ const t = be(Date.now());
128
+ let n = {
129
+ name: "",
130
+ code: "",
131
+ sort: 1,
132
+ status: _.ENABLE.value,
133
+ create_time: t,
134
+ update_time: t
135
+ };
136
+ if (e) {
137
+ const h = Y(e);
138
+ n = {
139
+ ...n,
140
+ ...h
141
+ };
142
+ }
143
+ return n;
144
+ }, A = (e) => {
145
+ const t = [e];
146
+ return {
147
+ platId: u.value,
148
+ changePostData: t
149
+ };
150
+ }, Z = async (e) => {
151
+ delete e.post_id;
152
+ const t = A(e);
153
+ await it(t);
154
+ }, ee = async (e) => {
155
+ await Z(e);
156
+ }, te = async (e) => {
157
+ const t = A(e);
158
+ await rt(t);
159
+ }, I = async (e) => {
160
+ await te(e);
161
+ }, oe = async (e) => {
162
+ const { post_id: t } = e, n = {
163
+ platId: u.value,
164
+ post_id: [t]
165
+ };
166
+ await ut(n);
167
+ }, $ = async (e) => {
168
+ await Ke.confirm("是否确认要删除", "", {
169
+ showClose: !1,
170
+ confirmButtonText: "确认",
171
+ cancelButtonText: "取消",
172
+ type: "warning",
173
+ modalClass: "delete-position-message-modal",
174
+ confirmButtonClass: "delete-position-confirm"
175
+ }), await oe(e);
176
+ }, ae = async (e) => {
177
+ var n;
178
+ const t = await ot(e);
179
+ return (n = t == null ? void 0 : t.data) == null ? void 0 : n.result;
180
+ }, d = async (e) => {
181
+ const t = new FormData();
182
+ return t.set("platId", u.value), t.set("file", e), t.set("tableType", Ie), await ae(t);
183
+ }, E = async (e) => await tt(e), ne = async () => {
184
+ const e = {
185
+ platId: u.value,
186
+ tableType: Ie,
187
+ filter: y.value,
188
+ orderBy: P.value
189
+ }, t = await E(e);
190
+ return et(t), t;
191
+ }, F = [["名称", "编码", "状态", "排序"]];
192
+ return {
193
+ sortInfo: P,
194
+ setSortInfo: z,
195
+ queryInfo: y,
196
+ resetQuery: H,
197
+ pageInfo: w,
198
+ setPageNum: J,
199
+ setPageSize: K,
200
+ hasPositionEditAuth: S,
201
+ initPositionItem: b,
202
+ initPositionConfig: j,
203
+ initGetByPage: U,
204
+ initCreate: ee,
205
+ initUpdate: I,
206
+ initDelete: $,
207
+ getStatusLabelByValue: Q,
208
+ getStatusTagByValue: V,
209
+ initImport: d,
210
+ initExport: ne,
211
+ exportTemplate: async () => {
212
+ const e = de.aoa_to_sheet(F), t = de.book_new();
213
+ de.book_append_sheet(t, e, "职位"), Oe(t, "职位模板.xlsx");
214
+ }
215
+ };
216
+ }, ct = { class: "position-management" }, mt = { class: "header" }, ft = { class: "header-left" }, gt = { class: "query-wrapper" }, _t = { class: "header-right" }, vt = { class: "body" }, yt = { class: "position-table-wrapper" }, wt = { class: "table-wrapper" }, bt = { class: "operate-list" }, It = ["onClick"], ht = { class: "pagination-wrapper" }, Pt = { class: "position-management-wrapper" }, Ct = { class: "position-management-body" }, Dt = { class: "position-form-wrapper" }, St = { class: "edit-footer" }, Lt = { class: "footer-right" }, Et = /* @__PURE__ */ Ue({
217
+ __name: "index",
218
+ setup(u) {
219
+ const r = Ye(he), {
220
+ sortInfo: T,
221
+ setSortInfo: Q,
222
+ queryInfo: V,
223
+ resetQuery: L,
224
+ pageInfo: S,
225
+ setPageNum: O,
226
+ setPageSize: j,
227
+ initGetByPage: N,
228
+ hasPositionEditAuth: y,
229
+ initPositionConfig: H,
230
+ initPositionItem: q,
231
+ initCreate: P,
232
+ initUpdate: z,
233
+ initDelete: me,
234
+ getStatusLabelByValue: w,
235
+ getStatusTagByValue: J,
236
+ initImport: K,
237
+ initExport: W,
238
+ exportTemplate: X
239
+ } = dt(), U = v([]), Y = async () => {
240
+ const s = await N(), { postData: o = [] } = s;
241
+ return o;
242
+ }, b = async () => {
243
+ U.value = await Y();
244
+ }, A = (s) => {
245
+ O(s), r.setImportLoading(!0), b().finally(() => {
246
+ r.setImportLoading(!1);
247
+ });
248
+ }, Z = (s) => {
249
+ j(s), r.setImportLoading(!0), b().finally(() => {
250
+ r.setImportLoading(!1);
251
+ });
252
+ }, ee = (s) => {
253
+ const { prop: o, order: m } = s;
254
+ Q({
255
+ prop: o,
256
+ order: m
257
+ }), b();
258
+ }, te = async () => {
259
+ L(), r.setImportLoading(!0), await b().finally(() => {
260
+ r.setImportLoading(!1);
261
+ });
262
+ }, I = async () => {
263
+ await H(), await b();
264
+ };
265
+ Ae(async () => {
266
+ r.setImportLoading(!0), await I().finally(() => {
267
+ r.setImportLoading(!1);
268
+ });
269
+ });
270
+ const oe = async (s, o) => {
271
+ if (!y.value)
272
+ return;
273
+ const { value: m } = s, g = o.row;
274
+ if (m === "edit") {
275
+ se(g);
276
+ return;
277
+ }
278
+ if (m === "delete") {
279
+ r.setImportLoading(!0), await h(g).finally(() => {
280
+ r.setImportLoading(!1);
281
+ });
282
+ return;
283
+ }
284
+ }, $ = v(), ae = $e({
285
+ name: [
286
+ { required: !0, message: "请输入职位名称", trigger: "blur" }
287
+ ],
288
+ code: [
289
+ { required: !0, message: "请选择职位编码", trigger: "blur" }
290
+ ],
291
+ sort: [
292
+ { required: !0, message: "请输入排序", trigger: "blur" }
293
+ ]
294
+ }), d = v(q());
295
+ v([]);
296
+ const E = v(!1), ne = () => {
297
+ E.value = !0;
298
+ }, F = () => {
299
+ E.value = !1;
300
+ }, se = async (s) => {
301
+ y.value && (d.value = q(s), ne());
302
+ }, e = () => {
303
+ d.value = q(), F();
304
+ }, t = async () => {
305
+ await P(d.value), await I();
306
+ }, n = async () => {
307
+ await z(d.value), await I();
308
+ }, h = async (s) => {
309
+ await me(s), await I();
310
+ }, R = async () => {
311
+ var o, m;
312
+ await ((m = (o = $.value) == null ? void 0 : o.validate) == null ? void 0 : m.call(o));
313
+ const { post_id: s } = d.value;
314
+ r.setImportLoading(!0), s ? await n().finally(() => {
315
+ r.setImportLoading(!1);
316
+ }) : await t().finally(() => {
317
+ r.setImportLoading(!1);
318
+ }), e();
319
+ }, Pe = async (s) => {
320
+ if (!y.value)
321
+ return;
322
+ const { status: o } = s;
323
+ _.ENABLE.value === o ? s.status = _.DISABLED.value : s.status = _.ENABLE.value, await z(s), await I();
324
+ }, Ce = async () => {
325
+ await De();
326
+ }, De = async () => {
327
+ const s = document.createElement("input");
328
+ s.type = "file", s.accept = ".xlsx", s.onchange = async (o) => {
329
+ var k;
330
+ const g = (k = o.target.files) == null ? void 0 : k[0];
331
+ if (g)
332
+ try {
333
+ r.setImportLoading(!0), await K(g), await I(), r.setImportLoading(!1);
334
+ } catch {
335
+ r.setImportLoading(!1);
336
+ }
337
+ }, s.click();
338
+ }, Se = async () => {
339
+ r.setImportLoading(!0), await W().finally(() => {
340
+ r.setImportLoading(!1);
341
+ });
342
+ }, Le = async () => {
343
+ X();
344
+ };
345
+ return (s, o) => {
346
+ var ge, _e, ve, ye;
347
+ const m = p("el-input"), g = p("el-button"), k = p("el-icon"), le = p("el-dropdown-item"), Ee = p("el-dropdown-menu"), ke = p("el-dropdown"), x = p("el-table-column"), xe = p("el-tag"), Be = p("el-table"), Te = p("el-pagination"), ie = p("el-form-item"), re = p("el-col"), fe = p("el-row"), Ve = p("el-input-number"), Ne = p("el-form");
348
+ return pe(), ue("div", ct, [
349
+ i("div", mt, [
350
+ i("div", ft, [
351
+ i("div", gt, [
352
+ a(m, {
353
+ modelValue: f(V).name,
354
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => f(V).name = c),
355
+ style: { width: "240px" },
356
+ placeholder: "请输入名称"
357
+ }, null, 8, ["modelValue"]),
358
+ a(g, {
359
+ type: "primary",
360
+ onClick: b
361
+ }, {
362
+ default: l(() => o[5] || (o[5] = [
363
+ C("查询")
364
+ ])),
365
+ _: 1,
366
+ __: [5]
367
+ }),
368
+ a(g, {
369
+ type: "primary",
370
+ plain: "",
371
+ onClick: te
372
+ }, {
373
+ default: l(() => o[6] || (o[6] = [
374
+ C("重置")
375
+ ])),
376
+ _: 1,
377
+ __: [6]
378
+ })
379
+ ])
380
+ ]),
381
+ i("div", _t, [
382
+ a(g, {
383
+ type: "primary",
384
+ onClick: Ce
385
+ }, {
386
+ default: l(() => [
387
+ o[7] || (o[7] = C(" 导入 ")),
388
+ a(k, { class: "el-icon--right" }, {
389
+ default: l(() => [
390
+ a(f(Ge))
391
+ ]),
392
+ _: 1
393
+ })
394
+ ]),
395
+ _: 1,
396
+ __: [7]
397
+ }),
398
+ a(ke, null, {
399
+ dropdown: l(() => [
400
+ a(Ee, null, {
401
+ default: l(() => [
402
+ a(le, { onClick: Le }, {
403
+ default: l(() => o[9] || (o[9] = [
404
+ C("导出模板")
405
+ ])),
406
+ _: 1,
407
+ __: [9]
408
+ }),
409
+ a(le, { onClick: Se }, {
410
+ default: l(() => o[10] || (o[10] = [
411
+ C("导出数据")
412
+ ])),
413
+ _: 1,
414
+ __: [10]
415
+ })
416
+ ]),
417
+ _: 1
418
+ })
419
+ ]),
420
+ default: l(() => [
421
+ a(g, { type: "primary" }, {
422
+ default: l(() => [
423
+ o[8] || (o[8] = C(" 导出 ")),
424
+ a(k, { class: "el-icon--right" }, {
425
+ default: l(() => [
426
+ a(f(Qe))
427
+ ]),
428
+ _: 1
429
+ })
430
+ ]),
431
+ _: 1,
432
+ __: [8]
433
+ })
434
+ ]),
435
+ _: 1
436
+ }),
437
+ a(ce, {
438
+ emptyColor: !0,
439
+ onClickTrigger: o[1] || (o[1] = (c) => se()),
440
+ modelValue: "创建职位",
441
+ buttonType: "primary"
442
+ })
443
+ ])
444
+ ]),
445
+ i("div", vt, [
446
+ i("div", yt, [
447
+ i("div", wt, [
448
+ a(Be, {
449
+ class: "department-table",
450
+ data: U.value,
451
+ "empty-text": "",
452
+ "default-sort": f(T),
453
+ onSortChange: ee
454
+ }, {
455
+ default: l(() => [
456
+ a(x, {
457
+ prop: "name",
458
+ label: "名称",
459
+ align: "center"
460
+ }),
461
+ a(x, {
462
+ prop: "code",
463
+ label: "编码",
464
+ align: "center"
465
+ }),
466
+ a(x, {
467
+ prop: "status",
468
+ label: "状态",
469
+ align: "center"
470
+ }, {
471
+ default: l((c) => [
472
+ a(xe, {
473
+ class: "status-tag",
474
+ type: f(J)(c.row.status),
475
+ title: "点击切换",
476
+ onClick: (M) => Pe(c.row)
477
+ }, {
478
+ default: l(() => [
479
+ C(we(f(w)(c.row.status)), 1)
480
+ ]),
481
+ _: 2
482
+ }, 1032, ["type", "onClick"])
483
+ ]),
484
+ _: 1
485
+ }),
486
+ a(x, {
487
+ prop: "sort",
488
+ label: "排序",
489
+ align: "center",
490
+ sortable: "custom"
491
+ }),
492
+ a(x, {
493
+ label: "操作",
494
+ align: "center"
495
+ }, {
496
+ default: l((c) => [
497
+ i("div", bt, [
498
+ (pe(!0), ue(Fe, null, Re(f(pt), (M) => (pe(), ue("div", {
499
+ class: "operate-item",
500
+ key: M.value,
501
+ onClick: Me((kt) => oe(M, c), ["stop"])
502
+ }, we(M.label), 9, It))), 128))
503
+ ])
504
+ ]),
505
+ _: 1
506
+ })
507
+ ]),
508
+ _: 1
509
+ }, 8, ["data", "default-sort"])
510
+ ]),
511
+ i("div", ht, [
512
+ o[11] || (o[11] = i("div", null, null, -1)),
513
+ a(Te, {
514
+ onSizeChange: Z,
515
+ onCurrentChange: A,
516
+ "current-page": (ge = f(S)) == null ? void 0 : ge.pageNum,
517
+ "page-sizes": (_e = f(S)) == null ? void 0 : _e.pageSizes,
518
+ "page-size": ((ve = f(S)) == null ? void 0 : ve.pageSize) ?? 10,
519
+ layout: "total, sizes, prev, pager, next, jumper",
520
+ total: ((ye = f(S)) == null ? void 0 : ye.total) ?? 0
521
+ }, null, 8, ["current-page", "page-sizes", "page-size", "total"])
522
+ ])
523
+ ])
524
+ ]),
525
+ o[14] || (o[14] = i("div", { class: "footer" }, [
526
+ i("div", { class: "footer-left" }),
527
+ i("div", { class: "footer-right" })
528
+ ], -1)),
529
+ a(at, {
530
+ class: "position-edit-dialog",
531
+ visible: E.value,
532
+ title: "职位信息",
533
+ onBeforeDestroy: F,
534
+ showClose: !0,
535
+ closeOnClickModal: !1,
536
+ closeOnPressEscape: !1,
537
+ modalClass: "position-edit-modal",
538
+ alignCenter: !0,
539
+ appendToBody: !1
540
+ }, {
541
+ default: l(() => [
542
+ i("div", Pt, [
543
+ o[12] || (o[12] = i("div", { class: "position-management-header" }, [
544
+ i("div", { class: "header-left" }),
545
+ i("div", { class: "header-right" })
546
+ ], -1)),
547
+ i("div", Ct, [
548
+ i("div", Dt, [
549
+ a(Ne, {
550
+ class: "position-edit-form",
551
+ ref_key: "positionFormRef",
552
+ ref: $,
553
+ model: d.value,
554
+ rules: ae
555
+ }, {
556
+ default: l(() => [
557
+ a(fe, { gutter: 20 }, {
558
+ default: l(() => [
559
+ a(re, { span: 12 }, {
560
+ default: l(() => [
561
+ a(ie, {
562
+ prop: "name",
563
+ label: "职位名称",
564
+ "label-position": "top"
565
+ }, {
566
+ default: l(() => [
567
+ a(m, {
568
+ modelValue: d.value.name,
569
+ "onUpdate:modelValue": o[2] || (o[2] = (c) => d.value.name = c),
570
+ "aria-label": "职位名称",
571
+ placeholder: "职位名称"
572
+ }, null, 8, ["modelValue"])
573
+ ]),
574
+ _: 1
575
+ })
576
+ ]),
577
+ _: 1
578
+ }),
579
+ a(re, { span: 12 }, {
580
+ default: l(() => [
581
+ a(ie, {
582
+ prop: "code",
583
+ label: "职位编码",
584
+ "label-position": "top"
585
+ }, {
586
+ default: l(() => [
587
+ a(m, {
588
+ modelValue: d.value.code,
589
+ "onUpdate:modelValue": o[3] || (o[3] = (c) => d.value.code = c),
590
+ "aria-label": "职位编码",
591
+ placeholder: "职位编码"
592
+ }, null, 8, ["modelValue"])
593
+ ]),
594
+ _: 1
595
+ })
596
+ ]),
597
+ _: 1
598
+ })
599
+ ]),
600
+ _: 1
601
+ }),
602
+ a(fe, { gutter: 20 }, {
603
+ default: l(() => [
604
+ a(re, { span: 12 }, {
605
+ default: l(() => [
606
+ a(ie, {
607
+ prop: "sort",
608
+ label: "排序",
609
+ "label-position": "top"
610
+ }, {
611
+ default: l(() => [
612
+ a(Ve, {
613
+ modelValue: d.value.sort,
614
+ "onUpdate:modelValue": o[4] || (o[4] = (c) => d.value.sort = c),
615
+ "aria-label": "排序",
616
+ placeholder: "排序",
617
+ min: "1"
618
+ }, null, 8, ["modelValue"])
619
+ ]),
620
+ _: 1
621
+ })
622
+ ]),
623
+ _: 1
624
+ })
625
+ ]),
626
+ _: 1
627
+ })
628
+ ]),
629
+ _: 1
630
+ }, 8, ["model", "rules"])
631
+ ])
632
+ ])
633
+ ])
634
+ ]),
635
+ footer: l(() => [
636
+ i("div", St, [
637
+ o[13] || (o[13] = i("div", { class: "footer-left" }, null, -1)),
638
+ i("div", Lt, [
639
+ a(ce, {
640
+ class: "cancel",
641
+ emptyColor: !0,
642
+ onClickTrigger: e,
643
+ modelValue: "取消",
644
+ buttonType: "info"
645
+ }),
646
+ a(ce, {
647
+ class: "confirm",
648
+ emptyColor: !0,
649
+ onClickTrigger: R,
650
+ modelValue: "确定",
651
+ buttonType: "primary"
652
+ })
653
+ ])
654
+ ])
655
+ ]),
656
+ _: 1
657
+ }, 8, ["visible"])
658
+ ]);
659
+ };
660
+ }
661
+ }), At = /* @__PURE__ */ nt(Et, [["__scopeId", "data-v-c988d077"]]);
662
+ export {
663
+ At as default
664
+ };
@@ -0,0 +1,48 @@
1
+ import { ref as c, onMounted as p, watch as u, onUnmounted as f, createElementBlock as v, openBlock as m } from "vue";
2
+ import { a8 as _ } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CdPZBari.js";
3
+ import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ const z = {
5
+ __name: "index",
6
+ props: {
7
+ optionContents: {
8
+ type: Object,
9
+ default: () => {
10
+ }
11
+ }
12
+ },
13
+ setup(l) {
14
+ const n = l;
15
+ let e = null, t = null;
16
+ const s = c({}), o = c(null), d = () => {
17
+ o.value && (t = new ResizeObserver(() => {
18
+ r();
19
+ }), t.observe(o.value));
20
+ };
21
+ p(() => {
22
+ s.value = n.optionContents, i(), window.addEventListener("resize", r), d();
23
+ }), u(
24
+ () => n.optionContents,
25
+ () => {
26
+ s.value = n.optionContents, i();
27
+ }
28
+ ), f(() => {
29
+ t && t.disconnect(), window.removeEventListener("resize", r);
30
+ });
31
+ const r = () => {
32
+ e.resize();
33
+ }, i = () => {
34
+ e && e.dispose(), e = _(o.value);
35
+ const a = s.value;
36
+ e.setOption(a), e.resize();
37
+ };
38
+ return (a, C) => (m(), v("div", {
39
+ id: "chartModelId",
40
+ class: "chart-model-class",
41
+ ref_key: "chartModelRef",
42
+ ref: o
43
+ }, null, 512));
44
+ }
45
+ }, x = /* @__PURE__ */ h(z, [["__scopeId", "data-v-69d6e63f"]]);
46
+ export {
47
+ x as s
48
+ };