ss-component-new 1.3.699 → 1.3.700

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