ss-component-new 1.3.696 → 1.3.697

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 (85) hide show
  1. package/dist/config.js +1 -1
  2. package/dist/{index-BHtNKL1L.js → index-BKK_dL6t.js} +1 -1
  3. package/dist/{index-ChNfRlIP.js → index-BKoAuSBh.js} +223 -18
  4. package/dist/index-D7JA6c9V.js +53058 -0
  5. package/dist/index-Dh-XsS5U.js +1044 -0
  6. package/dist/index-DpYqhPhA.js +182 -0
  7. package/dist/index-Q71ALCnS.js +213 -0
  8. package/dist/index-z0_YrIG2.js +50 -0
  9. package/dist/menu-BwJj321q.js +5217 -0
  10. package/dist/origin-eVVoOCRz.js +11430 -0
  11. package/dist/ss-component.css +2 -8
  12. package/dist/ss-component.js +28 -64
  13. package/dist/ss-component2.js +15 -75
  14. package/dist/ss-component3.js +1 -1
  15. package/package.json +8 -6
  16. package/public/config.js +1 -1
  17. package/dist/JSEncrypt-B36c1iN5.js +0 -1983
  18. package/dist/MTLLoader-DzQM5Czw.js +0 -657
  19. package/dist/URDFLoader-CPXooEPU.js +0 -2299
  20. package/dist/animationData-DOIhMG9C.js +0 -83
  21. package/dist/array-CLHtElDn.js +0 -1045
  22. package/dist/clone-Dp_gc9ll.js +0 -8
  23. package/dist/eleIcon-qStmsM1q.js +0 -29
  24. package/dist/fileUtil-UOt_otFo.js +0 -20
  25. package/dist/iconfont-DmEA4YvX.js +0 -1018
  26. package/dist/icons/svg/functionList.svg +0 -1
  27. package/dist/icons/svg/method.svg +0 -1
  28. package/dist/index-11kpzK0A.js +0 -209
  29. package/dist/index-1izAkRXf.js +0 -572
  30. package/dist/index-B0H3C7WG.js +0 -103
  31. package/dist/index-B25qk008.js +0 -470
  32. package/dist/index-BJLCuYEK.js +0 -84
  33. package/dist/index-BbyrFzEO.js +0 -93
  34. package/dist/index-BooO2Bml.js +0 -78
  35. package/dist/index-Bw3sTXPI.js +0 -8993
  36. package/dist/index-C7sOKXGv.js +0 -48
  37. package/dist/index-C8Ap8ZMv.js +0 -873
  38. package/dist/index-CGi0g-VN.js +0 -627
  39. package/dist/index-CKem1G5u.js +0 -63004
  40. package/dist/index-CV_jQDcg.js +0 -9
  41. package/dist/index-CWOXvFfD.js +0 -44
  42. package/dist/index-CmdNsQMw.js +0 -93
  43. package/dist/index-CydXQbtX.js +0 -622
  44. package/dist/index-D9XVxZlg.js +0 -411
  45. package/dist/index-DAJxL40d.js +0 -55
  46. package/dist/index-DBsEVMiM.js +0 -201
  47. package/dist/index-DG4hoOWt.js +0 -665
  48. package/dist/index-DH6bfbMC.js +0 -119
  49. package/dist/index-DUbk5m5P.js +0 -99
  50. package/dist/index-DashTaLW.js +0 -30
  51. package/dist/index-DbPvKW8Q.js +0 -98
  52. package/dist/index-Ds6m_4JJ.js +0 -28500
  53. package/dist/index-DupTchhl.js +0 -1000
  54. package/dist/index-DyCq_odP.js +0 -331
  55. package/dist/index-N6DWelhz.js +0 -20549
  56. package/dist/index-UB_oCdlo.js +0 -62
  57. package/dist/index-YjBTGOkO.js +0 -61
  58. package/dist/index-_H190mm4.js +0 -83
  59. package/dist/index-jbOjjV0j.js +0 -447
  60. package/dist/index-mBAa1AXl.js +0 -107
  61. package/dist/index-qSuG4S8O.js +0 -25297
  62. package/dist/index-rlStojTL.js +0 -52
  63. package/dist/index-uF-ibwG0.js +0 -9
  64. package/dist/index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-Mr9QL-WU.js +0 -137877
  65. package/dist/isString-0ZglyOfu.js +0 -8
  66. package/dist/localIcon-D5UoFBU5.js +0 -76
  67. package/dist/main-Cs0nFQEQ.js +0 -502
  68. package/dist/menuIndex-BB0uVPRX.js +0 -159
  69. package/dist/request-1RPa2bBn.js +0 -9048
  70. package/dist/threeModel-BJjbCDpj.js +0 -1108
  71. package/dist/threePreview-Bfo24URW.js +0 -2259
  72. package/dist/threeSceneView-CHiKXhnX.js +0 -1290
  73. package/dist/threeSceneViewForCPMPIP-KLFT3AYb.js +0 -539
  74. package/dist/threeTrackPathView-DOy0uuLZ.js +0 -620
  75. package/dist/threeViewerHost-D1mrtsv3.js +0 -233
  76. package/dist/urdfTree-C6mx4T9t.js +0 -254
  77. package/dist/workpieceTreePanel-CnO3zz7U.js +0 -559
  78. package/public/icons/svg/functionList.svg +0 -1
  79. package/public/icons/svg/method.svg +0 -1
  80. /package/dist/icons/svg/{tableClose.svg → table-close.svg} +0 -0
  81. /package/dist/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
  82. /package/dist/icons/svg/{Update.svg → update.svg} +0 -0
  83. /package/public/icons/svg/{tableClose.svg → table-close.svg} +0 -0
  84. /package/public/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
  85. /package/public/icons/svg/{Update.svg → update.svg} +0 -0
@@ -1,665 +0,0 @@
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
- };