ss-component-new 1.3.340 → 1.3.342
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/{MTLLoader-C-XJYnXR.js → MTLLoader-Ajg9K91w.js} +1 -1
- package/dist/{MTLLoader-Dx_OCevv.cjs → MTLLoader-PBhLgTVu.cjs} +1 -1
- package/dist/{OrbitControls-B55yzIKX.cjs → OrbitControls-C10-pt6H.cjs} +1 -1
- package/dist/{OrbitControls-BB87FyuR.js → OrbitControls-CgEewitL.js} +1 -1
- package/dist/{URDFLoader-Uh4bBb-n.cjs → URDFLoader-Bj47zJKE.cjs} +1 -1
- package/dist/{URDFLoader-DgP2bMhH.js → URDFLoader-CvMjtZ-x.js} +2 -2
- package/dist/{animationData-CF6benhM.js → animationData-BLdkUJ2X.js} +3 -3
- package/dist/{animationData-BfEyrEkb.cjs → animationData-D9-6Rod5.cjs} +1 -1
- package/dist/array-D7Bu5gb2.cjs +1 -0
- package/dist/{array-Dz0LlM28.js → array-DKwq_BSC.js} +38 -39
- package/dist/clone-BUCnBgnS.js +8 -0
- package/dist/clone-y_gmwkJo.cjs +1 -0
- package/dist/day-BNr9Td9D.cjs +7 -0
- package/dist/day-BV-VjzXX.js +2382 -0
- package/dist/{dayjs.min-bC5IyY3C.js → dayjs.min-B8ub8S6d.js} +4 -4
- package/dist/{dayjs.min-CSW85jLQ.cjs → dayjs.min-Bo5ALhPO.cjs} +1 -1
- package/dist/{iconfont-DV-mBuRs.js → iconfont-Cl-SDAtC.js} +2 -2
- package/dist/{iconfont-rvMUQHIL.cjs → iconfont-DpN6kvUK.cjs} +1 -1
- package/dist/index-6iwwUgL6.cjs +104 -0
- package/dist/{index-Dcp8sI4C.js → index-9V23Nn2F.js} +4 -4
- package/dist/index-9WLF0N-m.cjs +15 -0
- package/dist/{index-Ca3THBbJ.cjs → index-B0V9Wfze.cjs} +1 -1
- package/dist/index-B0cDSro0.cjs +1 -0
- package/dist/index-B4Yau3Cx.cjs +1 -0
- package/dist/index-B4u9cnxn.cjs +1 -0
- package/dist/{index-rW-jQkgq.js → index-B4yv_CI9.js} +9 -10
- package/dist/index-B5u9ckAG.cjs +1 -0
- package/dist/{index-C6gCT4vd.js → index-BGRqQYv0.js} +70 -71
- package/dist/{index-CbBP02RV.js → index-BLHM2RZs.js} +4 -4
- package/dist/{index-C4NN-IA4.js → index-BMt9iXGt.js} +16 -17
- package/dist/index-BO9LCv0L.js +327 -0
- package/dist/index-BTpsNI8m.cjs +1 -0
- package/dist/index-Bb9xuBcN.cjs +1 -0
- package/dist/{index-CHAqLCtD.js → index-Bieh0oMN.js} +8 -8
- package/dist/{index-BWpqDCVF.cjs → index-Bl1R6hLx.cjs} +1 -1
- package/dist/index-BndWdAyT.js +168 -0
- package/dist/index-BqtZ8oXB.cjs +1 -0
- package/dist/{index-CHIMUYG3.js → index-BxSJzmcq.js} +16 -17
- package/dist/{index-D0gKkud0.js → index-C3_fcg5b.js} +8 -20
- package/dist/{index-BSCoLGXF.js → index-CLasTJZ7.js} +318 -318
- package/dist/{index-0VkKesv_.js → index-CPuSbD0o.js} +13 -14
- package/dist/{index-DGwbEHLN.js → index-CUmttoQs.js} +6 -7
- package/dist/index-CWea8Hwx.cjs +2 -0
- package/dist/index-Cjsv9UB2.cjs +1 -0
- package/dist/{index-CHnN0kSC.js → index-CkJ5sZmH.js} +268 -279
- package/dist/{index-BPpYDffY.cjs → index-CyAk6NlY.cjs} +1 -1
- package/dist/index-Cz8oXtNa.cjs +1 -0
- package/dist/index-D0D-8tq3.cjs +1 -0
- package/dist/index-D28carCM.cjs +25 -0
- package/dist/{index-Ijbw1FIL.js → index-D2iun0qB.js} +18 -19
- package/dist/{index-BTgJ9oD-.cjs → index-D8TKh-Ur.cjs} +1 -1
- package/dist/index-DBl4_nFE.cjs +1 -0
- package/dist/{index-DMt7y2yA.js → index-DCBM-gqv.js} +104 -113
- package/dist/{index-COowXWF7.cjs → index-DCHyRwyR.cjs} +1 -1
- package/dist/index-DDz6oLBR.cjs +1 -0
- package/dist/{index-DWP-FYxV.js → index-DGaoFZNU.js} +13 -14
- package/dist/index-DJ3sA4Gm.cjs +1 -0
- package/dist/{index-c1EWDQO1.js → index-DKYHED4o.js} +1 -1
- package/dist/{index-CYgpY06q.js → index-DScuDjxN.js} +4 -4
- package/dist/{index-voXPz7Hq.js → index-DaHM_OEL.js} +251 -260
- package/dist/{index-S2ChvJMP.js → index-Dd6fkS6a.js} +1 -1
- package/dist/{index-D6Zkrpou.js → index-DehN_tZl.js} +13 -14
- package/dist/index-DfxDifWX.cjs +1 -0
- package/dist/{index-Bdh2uHRO.js → index-DimgHus_.js} +44 -45
- package/dist/index-DkR9zIgE.cjs +1 -0
- package/dist/index-DlDpjgK7.cjs +1 -0
- package/dist/{index-DN4OcDlg.js → index-Dmstdf9f.js} +1 -1
- package/dist/index-Ds0ibmGw.cjs +1 -0
- package/dist/{index-DLLST1Nd.js → index-DsfZZrDe.js} +11 -12
- package/dist/{index-Zvul3j_r.cjs → index-Dw5QRbm2.cjs} +1 -1
- package/dist/index-Dz06Dix4.js +21 -0
- package/dist/{index-C3lScvOV.cjs → index-Pmf6bCKe.cjs} +1 -1
- package/dist/index-_aEslAdL.cjs +1 -0
- package/dist/index-bs1KW4Mf.js +10008 -0
- package/dist/{index-CgjHHxqY.js → index-czdl81QC.js} +6 -7
- package/dist/index-fxwUfoBD.cjs +1 -0
- package/dist/index-jFQKdLGf.cjs +1 -0
- package/dist/{index-DyJCopUt.js → index-pfsYhNVv.js} +3 -4
- package/dist/index-qyNzhZ9p.js +68 -0
- package/dist/{index-9nQLsFiY.js → index-zwvfPNTm.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-CHrvpoVb.js → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-BDgIVZve.js} +1950 -1956
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-Dyd5heHe.cjs → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-DAAbs6bU.cjs} +336 -336
- package/dist/main-BrOVZokA.cjs +11 -0
- package/dist/{main-Cd_mObtH.js → main-GGbIOSca.js} +8 -9
- package/dist/menu-CYazzvub.cjs +12 -0
- package/dist/menu-DGzm1FYA.js +5675 -0
- package/dist/menuIndex-Br2dXQqi.cjs +1 -0
- package/dist/menuIndex-CoVR5ix7.js +134 -0
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +13 -13
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +115 -10
- package/dist/ss-component3.cjs +1 -1
- package/dist/ss-component3.js +10 -5
- package/dist/{threeModel-CIZ5D8Df.js → threeModel-B8afF4RO.js} +4 -4
- package/dist/{threeModel-Dekl17Re.cjs → threeModel-BIcXUfRq.cjs} +1 -1
- package/dist/threePreview-CuXGNvBL.cjs +1 -0
- package/dist/{threePreview-B46ButBi.js → threePreview-DLxW-XYV.js} +6 -7
- package/dist/{threeSceneView-CoQQCgZ3.cjs → threeSceneView-DHahXsWx.cjs} +1 -1
- package/dist/{threeSceneView-D4mxD9hv.js → threeSceneView-RZtjgaQI.js} +14 -16
- package/dist/{threeSceneViewForCPMPIP-BR01ytzC.cjs → threeSceneViewForCPMPIP-0_i3LOfz.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-DTtZGOcw.js → threeSceneViewForCPMPIP-DMhM6ZvH.js} +10 -11
- package/dist/threeTrackPathView-CrlluuTz.cjs +1 -0
- package/dist/{threeTrackPathView-BQPS8ajS.js → threeTrackPathView-cclE9z18.js} +87 -88
- package/dist/threeViewerHost-BaEB4k1F.cjs +1 -0
- package/dist/{threeViewerHost-CsMI9jbX.js → threeViewerHost-LoU6OtMI.js} +10 -11
- package/dist/{urdfTree-umPKeRFh.cjs → urdfTree-BTD0A42y.cjs} +1 -1
- package/dist/{urdfTree-B118FC_3.js → urdfTree-RdS14ARy.js} +1 -1
- package/dist/{workpieceTreePanel-CwUXRyn3.cjs → workpieceTreePanel-CfwoCG1K.cjs} +1 -1
- package/dist/{workpieceTreePanel-D9TnLdIy.js → workpieceTreePanel-Q4_hCBXx.js} +4 -4
- package/package.json +1 -1
- package/dist/array-Dk18oefG.cjs +0 -1
- package/dist/clone-BDBSWARv.cjs +0 -1
- package/dist/clone-BqeCvECh.js +0 -8
- package/dist/index--E8u7lHy.cjs +0 -12
- package/dist/index-B38fQMRk.cjs +0 -1
- package/dist/index-BIg-Nt0x.cjs +0 -25
- package/dist/index-BQO25T-T.cjs +0 -1
- package/dist/index-BchGbZ1v.cjs +0 -15
- package/dist/index-Bio1_C_H.cjs +0 -1
- package/dist/index-BmJV5eVh.js +0 -4669
- package/dist/index-BtyugMgY.cjs +0 -1
- package/dist/index-BzeH13wt.cjs +0 -1
- package/dist/index-C3-1AlM-.js +0 -2765
- package/dist/index-C9baGOvW.js +0 -9647
- package/dist/index-CMsGT7Tl.cjs +0 -1
- package/dist/index-COTur3RT.cjs +0 -1
- package/dist/index-CUp0Z80f.cjs +0 -2
- package/dist/index-CoX9mofW.cjs +0 -1
- package/dist/index-CyQV3nI9.cjs +0 -1
- package/dist/index-DBhc2SoQ.cjs +0 -1
- package/dist/index-DBrXonf1.cjs +0 -1
- package/dist/index-DEfKSijb.cjs +0 -7
- package/dist/index-DNyLSjIf.cjs +0 -1
- package/dist/index-DOQApax-.cjs +0 -1
- package/dist/index-DtlQjI5L.cjs +0 -1
- package/dist/index-FJ_oMfF3.cjs +0 -1
- package/dist/index-L9DruvvE.cjs +0 -1
- package/dist/index-T25jN7df.cjs +0 -104
- package/dist/index-W6w3oiQ2.cjs +0 -1
- package/dist/index-ipcwULw-.js +0 -167
- package/dist/main-FOjt8u8O.cjs +0 -11
- package/dist/menu-7kw8Lwp_.cjs +0 -1
- package/dist/menu-CK0ndSHP.js +0 -1132
- package/dist/menuIndex-Ba-9R5jd.cjs +0 -1
- package/dist/menuIndex-DiNvd_FY.js +0 -125
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/dist/threePreview-DcCfaIpB.cjs +0 -1
- package/dist/threeTrackPathView-C6IiddAw.cjs +0 -1
- package/dist/threeViewerHost-B3elQtpE.cjs +0 -1
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import { watch as
|
|
2
|
-
import { s as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { f as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { _ as
|
|
11
|
-
const
|
|
12
|
-
let
|
|
13
|
-
|
|
14
|
-
() =>
|
|
1
|
+
import { watch as Ne, ref as I, computed as ze, defineComponent as Ue, onMounted as Ae, reactive as $e, resolveComponent as p, createElementBlock as re, openBlock as ue, createElementVNode as i, createVNode as a, unref as f, withCtx as l, createTextVNode as h, toDisplayString as ye, Fragment as Fe, renderList as Re, withModifiers as Me } from "vue";
|
|
2
|
+
import { s as R, u as Ge, g as Qe } from "./request-CoGtW0Ux.js";
|
|
3
|
+
import { s as Oe, b as je, p as he, o as He, i as Je, c as Ke, u as We } from "./menu-DGzm1FYA.js";
|
|
4
|
+
import { _ as pe } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
5
|
+
import { s as Xe } from "./index-CnjGqJZS.js";
|
|
6
|
+
import { f as de, w as Ye } from "./index-BGRqQYv0.js";
|
|
7
|
+
import { f as Ze, i as et, e as tt, a as ot } from "./index-DCBM-gqv.js";
|
|
8
|
+
import { E as at, f as we } from "./day-BV-VjzXX.js";
|
|
9
|
+
import { u as nt } from "./index-Dz06Dix4.js";
|
|
10
|
+
import { _ as st } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
+
const lt = je(he), { systemUrl: C } = Oe(lt);
|
|
12
|
+
let V = C.value === "" || !C.value ? "http://222.92.178.198:63002" : C.value;
|
|
13
|
+
Ne(
|
|
14
|
+
() => C.value,
|
|
15
15
|
() => {
|
|
16
|
-
|
|
16
|
+
V = C.value === "" || !C.value ? "http://222.92.178.198:63002" : C.value;
|
|
17
17
|
},
|
|
18
18
|
{ deep: !0, immediate: !0 }
|
|
19
19
|
);
|
|
20
|
-
function
|
|
21
|
-
return
|
|
22
|
-
url: `${
|
|
20
|
+
function it(u) {
|
|
21
|
+
return R({
|
|
22
|
+
url: `${V}/platform/getdata_post`,
|
|
23
23
|
method: "post",
|
|
24
24
|
data: u
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
-
function
|
|
28
|
-
return
|
|
29
|
-
url: `${
|
|
27
|
+
function rt(u) {
|
|
28
|
+
return R({
|
|
29
|
+
url: `${V}/platform/createdata_post`,
|
|
30
30
|
method: "post",
|
|
31
31
|
data: u
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
return
|
|
36
|
-
url: `${
|
|
34
|
+
function ut(u) {
|
|
35
|
+
return R({
|
|
36
|
+
url: `${V}/platform/updatedata_post`,
|
|
37
37
|
method: "post",
|
|
38
38
|
data: u
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
return
|
|
43
|
-
url: `${
|
|
41
|
+
function pt(u) {
|
|
42
|
+
return R({
|
|
43
|
+
url: `${V}/platform/deletedata_post`,
|
|
44
44
|
method: "post",
|
|
45
45
|
data: u
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
|
-
const
|
|
48
|
+
const dt = [
|
|
49
49
|
{
|
|
50
50
|
label: "编辑",
|
|
51
51
|
value: "edit"
|
|
@@ -54,7 +54,7 @@ const pt = [
|
|
|
54
54
|
label: "删除",
|
|
55
55
|
value: "delete"
|
|
56
56
|
}
|
|
57
|
-
],
|
|
57
|
+
], be = "post", _ = {
|
|
58
58
|
ENABLE: {
|
|
59
59
|
value: "enable",
|
|
60
60
|
label: "启用",
|
|
@@ -65,225 +65,216 @@ const pt = [
|
|
|
65
65
|
label: "禁用",
|
|
66
66
|
tag: "info"
|
|
67
67
|
}
|
|
68
|
-
},
|
|
69
|
-
const { platId: u, userId: r, isSuperAdmin:
|
|
70
|
-
const
|
|
71
|
-
return (n == null ? void 0 : n.label) ||
|
|
72
|
-
},
|
|
73
|
-
const
|
|
68
|
+
}, ct = () => {
|
|
69
|
+
const { platId: u, userId: r, isSuperAdmin: q } = He(), { pageInfo: P, setPageNum: N, setPageSize: M } = nt(), D = (t) => {
|
|
70
|
+
const e = t.toUpperCase(), n = _ == null ? void 0 : _[e];
|
|
71
|
+
return (n == null ? void 0 : n.label) || t;
|
|
72
|
+
}, G = (t) => {
|
|
73
|
+
const e = t.toUpperCase(), n = _ == null ? void 0 : _[e];
|
|
74
74
|
return (n == null ? void 0 : n.tag) || "info";
|
|
75
|
-
},
|
|
76
|
-
var
|
|
77
|
-
return
|
|
78
|
-
}),
|
|
79
|
-
var
|
|
80
|
-
const
|
|
75
|
+
}, E = I({}), Q = ze(() => {
|
|
76
|
+
var e;
|
|
77
|
+
return q.value ? !0 : ((e = E.value) == null ? void 0 : e.status) === Ze.EDITABLE.value;
|
|
78
|
+
}), x = async () => {
|
|
79
|
+
var w, $;
|
|
80
|
+
const e = {
|
|
81
81
|
pageName: "系统管理/职位管理",
|
|
82
82
|
platId: u.value,
|
|
83
83
|
userId: r.value
|
|
84
|
-
}, n = await Je(
|
|
85
|
-
return (
|
|
86
|
-
},
|
|
87
|
-
if (!
|
|
88
|
-
return
|
|
89
|
-
},
|
|
84
|
+
}, n = await Je(e);
|
|
85
|
+
return ($ = (w = n == null ? void 0 : n.data) == null ? void 0 : w.result) == null ? void 0 : $[0];
|
|
86
|
+
}, O = async () => {
|
|
87
|
+
if (!q.value)
|
|
88
|
+
return E.value = await x(), E;
|
|
89
|
+
}, L = () => ({
|
|
90
90
|
name: ""
|
|
91
|
-
}),
|
|
92
|
-
|
|
93
|
-
},
|
|
91
|
+
}), S = I(L()), z = () => {
|
|
92
|
+
S.value = L();
|
|
93
|
+
}, b = I({
|
|
94
94
|
prop: "sort",
|
|
95
95
|
order: "ascending"
|
|
96
|
-
}),
|
|
97
|
-
|
|
98
|
-
},
|
|
99
|
-
pageNum: 1,
|
|
100
|
-
pageSize: 10,
|
|
101
|
-
total: 0,
|
|
102
|
-
pageSizes: [5, 10, 20, 50, 100]
|
|
103
|
-
}), J = (e) => {
|
|
104
|
-
w.value.pageNum = e;
|
|
105
|
-
}, K = (e) => {
|
|
106
|
-
w.value.pageSize = e;
|
|
107
|
-
}, W = () => ({
|
|
96
|
+
}), j = (t) => {
|
|
97
|
+
b.value = t;
|
|
98
|
+
}, H = () => ({
|
|
108
99
|
platId: u.value,
|
|
109
|
-
pageNum:
|
|
110
|
-
pageSize:
|
|
100
|
+
pageNum: P.value.pageNum,
|
|
101
|
+
pageSize: P.value.pageSize,
|
|
111
102
|
filter: {
|
|
112
|
-
...
|
|
103
|
+
...S.value
|
|
113
104
|
},
|
|
114
105
|
orderBy: {
|
|
115
|
-
prop:
|
|
116
|
-
order:
|
|
106
|
+
prop: b.value.prop,
|
|
107
|
+
order: b.value.order
|
|
117
108
|
}
|
|
118
|
-
}),
|
|
109
|
+
}), J = async (t) => {
|
|
119
110
|
var n;
|
|
120
|
-
const
|
|
121
|
-
return (n =
|
|
122
|
-
},
|
|
123
|
-
const
|
|
124
|
-
return
|
|
125
|
-
},
|
|
126
|
-
const
|
|
127
|
-
return n.update_time =
|
|
128
|
-
},
|
|
129
|
-
const
|
|
111
|
+
const e = await it(t);
|
|
112
|
+
return (n = e == null ? void 0 : e.data) == null ? void 0 : n.result;
|
|
113
|
+
}, K = async (t) => {
|
|
114
|
+
const e = H(), n = await J(e), { total: w } = n || {};
|
|
115
|
+
return P.value.total = w, n || {};
|
|
116
|
+
}, U = (t) => {
|
|
117
|
+
const e = we(Date.now()), n = Ke(t);
|
|
118
|
+
return n.update_time = e, n;
|
|
119
|
+
}, W = (t) => {
|
|
120
|
+
const e = we(Date.now());
|
|
130
121
|
let n = {
|
|
131
122
|
name: "",
|
|
132
123
|
code: "",
|
|
133
124
|
sort: 1,
|
|
134
125
|
status: _.ENABLE.value,
|
|
135
|
-
create_time:
|
|
136
|
-
update_time:
|
|
126
|
+
create_time: e,
|
|
127
|
+
update_time: e
|
|
137
128
|
};
|
|
138
|
-
if (
|
|
139
|
-
const
|
|
129
|
+
if (t) {
|
|
130
|
+
const w = U(t);
|
|
140
131
|
n = {
|
|
141
132
|
...n,
|
|
142
|
-
...
|
|
133
|
+
...w
|
|
143
134
|
};
|
|
144
135
|
}
|
|
145
136
|
return n;
|
|
146
|
-
},
|
|
147
|
-
const
|
|
137
|
+
}, v = (t) => {
|
|
138
|
+
const e = [t];
|
|
148
139
|
return {
|
|
149
140
|
platId: u.value,
|
|
150
|
-
changePostData:
|
|
141
|
+
changePostData: e
|
|
151
142
|
};
|
|
152
|
-
},
|
|
153
|
-
delete
|
|
154
|
-
const
|
|
155
|
-
await
|
|
156
|
-
},
|
|
157
|
-
await
|
|
158
|
-
},
|
|
159
|
-
const
|
|
160
|
-
await
|
|
161
|
-
},
|
|
162
|
-
await
|
|
163
|
-
},
|
|
164
|
-
const { post_id:
|
|
143
|
+
}, X = async (t) => {
|
|
144
|
+
delete t.post_id;
|
|
145
|
+
const e = v(t);
|
|
146
|
+
await rt(e);
|
|
147
|
+
}, Y = async (t) => {
|
|
148
|
+
await X(t);
|
|
149
|
+
}, Z = async (t) => {
|
|
150
|
+
const e = v(t);
|
|
151
|
+
await ut(e);
|
|
152
|
+
}, ee = async (t) => {
|
|
153
|
+
await Z(t);
|
|
154
|
+
}, y = async (t) => {
|
|
155
|
+
const { post_id: e } = t, n = {
|
|
165
156
|
platId: u.value,
|
|
166
|
-
post_id: [
|
|
157
|
+
post_id: [e]
|
|
167
158
|
};
|
|
168
|
-
await
|
|
169
|
-
},
|
|
170
|
-
await
|
|
159
|
+
await pt(n);
|
|
160
|
+
}, te = async (t) => {
|
|
161
|
+
await at.confirm("是否确认要删除", "", {
|
|
171
162
|
showClose: !1,
|
|
172
163
|
confirmButtonText: "确认",
|
|
173
164
|
cancelButtonText: "取消",
|
|
174
165
|
type: "warning",
|
|
175
166
|
modalClass: "delete-position-message-modal",
|
|
176
167
|
confirmButtonClass: "delete-position-confirm"
|
|
177
|
-
}), await
|
|
178
|
-
},
|
|
168
|
+
}), await y(t);
|
|
169
|
+
}, A = async (t) => {
|
|
179
170
|
var n;
|
|
180
|
-
const
|
|
181
|
-
return (n =
|
|
182
|
-
},
|
|
183
|
-
const
|
|
184
|
-
return
|
|
185
|
-
},
|
|
186
|
-
const
|
|
171
|
+
const e = await ot(t);
|
|
172
|
+
return (n = e == null ? void 0 : e.data) == null ? void 0 : n.result;
|
|
173
|
+
}, oe = async (t) => {
|
|
174
|
+
const e = new FormData();
|
|
175
|
+
return e.set("platId", u.value), e.set("file", t), e.set("tableType", be), await A(e);
|
|
176
|
+
}, d = async (t) => await tt(t), B = async () => {
|
|
177
|
+
const t = {
|
|
187
178
|
platId: u.value,
|
|
188
|
-
tableType:
|
|
189
|
-
filter:
|
|
190
|
-
orderBy:
|
|
191
|
-
},
|
|
192
|
-
return
|
|
193
|
-
},
|
|
179
|
+
tableType: be,
|
|
180
|
+
filter: S.value,
|
|
181
|
+
orderBy: b.value
|
|
182
|
+
}, e = await d(t);
|
|
183
|
+
return et(e), e;
|
|
184
|
+
}, ae = [["名称", "编码", "状态", "排序"]];
|
|
194
185
|
return {
|
|
195
|
-
sortInfo:
|
|
196
|
-
setSortInfo:
|
|
197
|
-
queryInfo:
|
|
198
|
-
resetQuery:
|
|
199
|
-
pageInfo:
|
|
200
|
-
setPageNum:
|
|
201
|
-
setPageSize:
|
|
202
|
-
hasPositionEditAuth:
|
|
203
|
-
initPositionItem:
|
|
204
|
-
initPositionConfig:
|
|
205
|
-
initGetByPage:
|
|
206
|
-
initCreate:
|
|
207
|
-
initUpdate:
|
|
208
|
-
initDelete:
|
|
209
|
-
getStatusLabelByValue:
|
|
210
|
-
getStatusTagByValue:
|
|
211
|
-
initImport:
|
|
212
|
-
initExport:
|
|
186
|
+
sortInfo: b,
|
|
187
|
+
setSortInfo: j,
|
|
188
|
+
queryInfo: S,
|
|
189
|
+
resetQuery: z,
|
|
190
|
+
pageInfo: P,
|
|
191
|
+
setPageNum: N,
|
|
192
|
+
setPageSize: M,
|
|
193
|
+
hasPositionEditAuth: Q,
|
|
194
|
+
initPositionItem: W,
|
|
195
|
+
initPositionConfig: O,
|
|
196
|
+
initGetByPage: K,
|
|
197
|
+
initCreate: Y,
|
|
198
|
+
initUpdate: ee,
|
|
199
|
+
initDelete: te,
|
|
200
|
+
getStatusLabelByValue: D,
|
|
201
|
+
getStatusTagByValue: G,
|
|
202
|
+
initImport: oe,
|
|
203
|
+
initExport: B,
|
|
213
204
|
exportTemplate: async () => {
|
|
214
|
-
const
|
|
215
|
-
de.book_append_sheet(
|
|
205
|
+
const t = de.aoa_to_sheet(ae), e = de.book_new();
|
|
206
|
+
de.book_append_sheet(e, t, "职位"), Ye(e, "职位模板.xlsx");
|
|
216
207
|
}
|
|
217
208
|
};
|
|
218
|
-
},
|
|
209
|
+
}, mt = { class: "position-management" }, ft = { class: "header" }, gt = { class: "header-left" }, _t = { class: "query-wrapper" }, vt = { class: "header-right" }, yt = { class: "body" }, wt = { class: "position-table-wrapper" }, bt = { class: "table-wrapper" }, ht = { class: "operate-list" }, It = ["onClick"], Ct = { class: "pagination-wrapper" }, Pt = { class: "position-management-wrapper" }, Dt = { class: "position-management-body" }, Lt = { class: "position-form-wrapper" }, St = { class: "edit-footer" }, Et = { class: "footer-right" }, xt = /* @__PURE__ */ Ue({
|
|
219
210
|
__name: "index",
|
|
220
211
|
setup(u) {
|
|
221
212
|
const r = We(he), {
|
|
222
|
-
sortInfo:
|
|
223
|
-
setSortInfo:
|
|
224
|
-
queryInfo:
|
|
225
|
-
resetQuery:
|
|
226
|
-
pageInfo:
|
|
227
|
-
setPageNum:
|
|
228
|
-
setPageSize:
|
|
229
|
-
initGetByPage:
|
|
230
|
-
hasPositionEditAuth:
|
|
231
|
-
initPositionConfig:
|
|
232
|
-
initPositionItem:
|
|
233
|
-
initCreate:
|
|
234
|
-
initUpdate:
|
|
235
|
-
initDelete:
|
|
236
|
-
getStatusLabelByValue:
|
|
237
|
-
getStatusTagByValue:
|
|
238
|
-
initImport:
|
|
239
|
-
initExport:
|
|
240
|
-
exportTemplate:
|
|
241
|
-
} =
|
|
242
|
-
const s = await
|
|
213
|
+
sortInfo: q,
|
|
214
|
+
setSortInfo: P,
|
|
215
|
+
queryInfo: N,
|
|
216
|
+
resetQuery: M,
|
|
217
|
+
pageInfo: D,
|
|
218
|
+
setPageNum: G,
|
|
219
|
+
setPageSize: E,
|
|
220
|
+
initGetByPage: Q,
|
|
221
|
+
hasPositionEditAuth: x,
|
|
222
|
+
initPositionConfig: O,
|
|
223
|
+
initPositionItem: L,
|
|
224
|
+
initCreate: S,
|
|
225
|
+
initUpdate: z,
|
|
226
|
+
initDelete: ce,
|
|
227
|
+
getStatusLabelByValue: b,
|
|
228
|
+
getStatusTagByValue: j,
|
|
229
|
+
initImport: H,
|
|
230
|
+
initExport: J,
|
|
231
|
+
exportTemplate: K
|
|
232
|
+
} = ct(), U = I([]), W = async () => {
|
|
233
|
+
const s = await Q(), { postData: o = [] } = s;
|
|
243
234
|
return o;
|
|
244
|
-
},
|
|
245
|
-
U.value = await
|
|
246
|
-
},
|
|
247
|
-
|
|
235
|
+
}, v = async () => {
|
|
236
|
+
U.value = await W();
|
|
237
|
+
}, X = (s) => {
|
|
238
|
+
G(s), r.setImportLoading(!0), v().finally(() => {
|
|
248
239
|
r.setImportLoading(!1);
|
|
249
240
|
});
|
|
250
|
-
},
|
|
251
|
-
|
|
241
|
+
}, Y = (s) => {
|
|
242
|
+
E(s), r.setImportLoading(!0), v().finally(() => {
|
|
252
243
|
r.setImportLoading(!1);
|
|
253
244
|
});
|
|
254
|
-
},
|
|
245
|
+
}, Z = (s) => {
|
|
255
246
|
const { prop: o, order: m } = s;
|
|
256
|
-
|
|
247
|
+
P({
|
|
257
248
|
prop: o,
|
|
258
249
|
order: m
|
|
259
|
-
}),
|
|
260
|
-
},
|
|
261
|
-
|
|
250
|
+
}), v();
|
|
251
|
+
}, ee = async () => {
|
|
252
|
+
M(), r.setImportLoading(!0), await v().finally(() => {
|
|
262
253
|
r.setImportLoading(!1);
|
|
263
254
|
});
|
|
264
|
-
},
|
|
265
|
-
await
|
|
255
|
+
}, y = async () => {
|
|
256
|
+
await O(), await v();
|
|
266
257
|
};
|
|
267
258
|
Ae(async () => {
|
|
268
|
-
r.setImportLoading(!0), await
|
|
259
|
+
r.setImportLoading(!0), await y().finally(() => {
|
|
269
260
|
r.setImportLoading(!1);
|
|
270
261
|
});
|
|
271
262
|
});
|
|
272
|
-
const
|
|
273
|
-
if (!
|
|
263
|
+
const te = async (s, o) => {
|
|
264
|
+
if (!x.value)
|
|
274
265
|
return;
|
|
275
266
|
const { value: m } = s, g = o.row;
|
|
276
267
|
if (m === "edit") {
|
|
277
|
-
|
|
268
|
+
t(g);
|
|
278
269
|
return;
|
|
279
270
|
}
|
|
280
271
|
if (m === "delete") {
|
|
281
|
-
r.setImportLoading(!0), await
|
|
272
|
+
r.setImportLoading(!0), await $(g).finally(() => {
|
|
282
273
|
r.setImportLoading(!1);
|
|
283
274
|
});
|
|
284
275
|
return;
|
|
285
276
|
}
|
|
286
|
-
},
|
|
277
|
+
}, A = I(), oe = $e({
|
|
287
278
|
name: [
|
|
288
279
|
{ required: !0, message: "请输入职位名称", trigger: "blur" }
|
|
289
280
|
],
|
|
@@ -293,76 +284,74 @@ const pt = [
|
|
|
293
284
|
sort: [
|
|
294
285
|
{ required: !0, message: "请输入排序", trigger: "blur" }
|
|
295
286
|
]
|
|
296
|
-
}), d =
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
},
|
|
301
|
-
|
|
302
|
-
}, se = async (s) => {
|
|
303
|
-
y.value && (d.value = z(s), ne());
|
|
287
|
+
}), d = I(L()), B = I(!1), ae = () => {
|
|
288
|
+
B.value = !0;
|
|
289
|
+
}, ne = () => {
|
|
290
|
+
B.value = !1;
|
|
291
|
+
}, t = async (s) => {
|
|
292
|
+
x.value && (d.value = L(s), ae());
|
|
304
293
|
}, e = () => {
|
|
305
|
-
d.value =
|
|
306
|
-
}, t = async () => {
|
|
307
|
-
await P(d.value), await I();
|
|
294
|
+
d.value = L(), ne();
|
|
308
295
|
}, n = async () => {
|
|
309
|
-
await
|
|
310
|
-
},
|
|
311
|
-
await
|
|
312
|
-
},
|
|
296
|
+
await S(d.value), await y();
|
|
297
|
+
}, w = async () => {
|
|
298
|
+
await z(d.value), await y();
|
|
299
|
+
}, $ = async (s) => {
|
|
300
|
+
await ce(s), await y();
|
|
301
|
+
}, Ie = async () => {
|
|
313
302
|
var o, m;
|
|
314
|
-
await ((m = (o =
|
|
303
|
+
await ((m = (o = A.value) == null ? void 0 : o.validate) == null ? void 0 : m.call(o));
|
|
315
304
|
const { post_id: s } = d.value;
|
|
316
|
-
r.setImportLoading(!0), s ? await
|
|
305
|
+
r.setImportLoading(!0), s ? await w().finally(() => {
|
|
317
306
|
r.setImportLoading(!1);
|
|
318
|
-
}) : await
|
|
307
|
+
}) : await n().finally(() => {
|
|
319
308
|
r.setImportLoading(!1);
|
|
320
309
|
}), e();
|
|
321
|
-
},
|
|
322
|
-
if (!
|
|
310
|
+
}, Ce = async (s) => {
|
|
311
|
+
if (!x.value)
|
|
323
312
|
return;
|
|
324
313
|
const { status: o } = s;
|
|
325
|
-
_.ENABLE.value === o ? s.status = _.DISABLED.value : s.status = _.ENABLE.value, await
|
|
326
|
-
},
|
|
314
|
+
_.ENABLE.value === o ? s.status = _.DISABLED.value : s.status = _.ENABLE.value, await z(s), await y();
|
|
315
|
+
}, Pe = async () => {
|
|
327
316
|
await De();
|
|
328
317
|
}, De = async () => {
|
|
329
318
|
const s = document.createElement("input");
|
|
330
319
|
s.type = "file", s.accept = ".xlsx", s.onchange = async (o) => {
|
|
331
|
-
var
|
|
332
|
-
const g = (
|
|
320
|
+
var T;
|
|
321
|
+
const g = (T = o.target.files) == null ? void 0 : T[0];
|
|
333
322
|
if (g)
|
|
334
323
|
try {
|
|
335
|
-
r.setImportLoading(!0), await
|
|
324
|
+
r.setImportLoading(!0), await H(g), await y(), r.setImportLoading(!1);
|
|
336
325
|
} catch {
|
|
337
326
|
r.setImportLoading(!1);
|
|
338
327
|
}
|
|
339
328
|
}, s.click();
|
|
340
|
-
},
|
|
341
|
-
r.setImportLoading(!0), await
|
|
329
|
+
}, Le = async () => {
|
|
330
|
+
r.setImportLoading(!0), await J().finally(() => {
|
|
342
331
|
r.setImportLoading(!1);
|
|
343
332
|
});
|
|
344
|
-
},
|
|
345
|
-
|
|
333
|
+
}, Se = async () => {
|
|
334
|
+
K();
|
|
346
335
|
};
|
|
347
336
|
return (s, o) => {
|
|
348
|
-
var ge, _e, ve
|
|
349
|
-
const m = p("el-input"), g = p("el-button"),
|
|
350
|
-
return
|
|
351
|
-
i("div",
|
|
352
|
-
i("div",
|
|
353
|
-
i("div",
|
|
337
|
+
var fe, ge, _e, ve;
|
|
338
|
+
const m = p("el-input"), g = p("el-button"), T = p("el-icon"), se = p("el-dropdown-item"), Ee = p("el-dropdown-menu"), xe = p("el-dropdown"), k = p("el-table-column"), Be = p("el-tag"), Te = p("el-table"), ke = p("el-pagination"), le = p("el-form-item"), ie = p("el-col"), me = p("el-row"), Ve = p("el-input-number"), qe = p("el-form");
|
|
339
|
+
return ue(), re("div", mt, [
|
|
340
|
+
i("div", ft, [
|
|
341
|
+
i("div", gt, [
|
|
342
|
+
i("div", _t, [
|
|
354
343
|
a(m, {
|
|
355
|
-
modelValue: f(
|
|
356
|
-
"onUpdate:modelValue": o[0] || (o[0] = (c) => f(
|
|
344
|
+
modelValue: f(N).name,
|
|
345
|
+
"onUpdate:modelValue": o[0] || (o[0] = (c) => f(N).name = c),
|
|
357
346
|
style: { width: "240px" },
|
|
358
347
|
placeholder: "请输入名称"
|
|
359
348
|
}, null, 8, ["modelValue"]),
|
|
360
349
|
a(g, {
|
|
361
350
|
type: "primary",
|
|
362
|
-
onClick:
|
|
351
|
+
onClick: v
|
|
363
352
|
}, {
|
|
364
353
|
default: l(() => o[5] || (o[5] = [
|
|
365
|
-
|
|
354
|
+
h("查询")
|
|
366
355
|
])),
|
|
367
356
|
_: 1,
|
|
368
357
|
__: [5]
|
|
@@ -370,24 +359,24 @@ const pt = [
|
|
|
370
359
|
a(g, {
|
|
371
360
|
type: "primary",
|
|
372
361
|
plain: "",
|
|
373
|
-
onClick:
|
|
362
|
+
onClick: ee
|
|
374
363
|
}, {
|
|
375
364
|
default: l(() => o[6] || (o[6] = [
|
|
376
|
-
|
|
365
|
+
h("重置")
|
|
377
366
|
])),
|
|
378
367
|
_: 1,
|
|
379
368
|
__: [6]
|
|
380
369
|
})
|
|
381
370
|
])
|
|
382
371
|
]),
|
|
383
|
-
i("div",
|
|
372
|
+
i("div", vt, [
|
|
384
373
|
a(g, {
|
|
385
374
|
type: "primary",
|
|
386
|
-
onClick:
|
|
375
|
+
onClick: Pe
|
|
387
376
|
}, {
|
|
388
377
|
default: l(() => [
|
|
389
|
-
o[7] || (o[7] =
|
|
390
|
-
a(
|
|
378
|
+
o[7] || (o[7] = h(" 导入 ")),
|
|
379
|
+
a(T, { class: "el-icon--right" }, {
|
|
391
380
|
default: l(() => [
|
|
392
381
|
a(f(Ge))
|
|
393
382
|
]),
|
|
@@ -401,16 +390,16 @@ const pt = [
|
|
|
401
390
|
dropdown: l(() => [
|
|
402
391
|
a(Ee, null, {
|
|
403
392
|
default: l(() => [
|
|
404
|
-
a(
|
|
393
|
+
a(se, { onClick: Se }, {
|
|
405
394
|
default: l(() => o[9] || (o[9] = [
|
|
406
|
-
|
|
395
|
+
h("导出模板")
|
|
407
396
|
])),
|
|
408
397
|
_: 1,
|
|
409
398
|
__: [9]
|
|
410
399
|
}),
|
|
411
|
-
a(
|
|
400
|
+
a(se, { onClick: Le }, {
|
|
412
401
|
default: l(() => o[10] || (o[10] = [
|
|
413
|
-
|
|
402
|
+
h("导出数据")
|
|
414
403
|
])),
|
|
415
404
|
_: 1,
|
|
416
405
|
__: [10]
|
|
@@ -422,8 +411,8 @@ const pt = [
|
|
|
422
411
|
default: l(() => [
|
|
423
412
|
a(g, { type: "primary" }, {
|
|
424
413
|
default: l(() => [
|
|
425
|
-
o[8] || (o[8] =
|
|
426
|
-
a(
|
|
414
|
+
o[8] || (o[8] = h(" 导出 ")),
|
|
415
|
+
a(T, { class: "el-icon--right" }, {
|
|
427
416
|
default: l(() => [
|
|
428
417
|
a(f(Qe))
|
|
429
418
|
]),
|
|
@@ -436,36 +425,36 @@ const pt = [
|
|
|
436
425
|
]),
|
|
437
426
|
_: 1
|
|
438
427
|
}),
|
|
439
|
-
a(
|
|
428
|
+
a(pe, {
|
|
440
429
|
emptyColor: !0,
|
|
441
|
-
onClickTrigger: o[1] || (o[1] = (c) =>
|
|
430
|
+
onClickTrigger: o[1] || (o[1] = (c) => t()),
|
|
442
431
|
modelValue: "创建职位",
|
|
443
432
|
buttonType: "primary"
|
|
444
433
|
})
|
|
445
434
|
])
|
|
446
435
|
]),
|
|
447
|
-
i("div",
|
|
448
|
-
i("div",
|
|
449
|
-
i("div",
|
|
436
|
+
i("div", yt, [
|
|
437
|
+
i("div", wt, [
|
|
438
|
+
i("div", bt, [
|
|
450
439
|
a(Te, {
|
|
451
440
|
class: "department-table",
|
|
452
441
|
data: U.value,
|
|
453
442
|
"empty-text": "",
|
|
454
|
-
"default-sort": f(
|
|
455
|
-
onSortChange:
|
|
443
|
+
"default-sort": f(q),
|
|
444
|
+
onSortChange: Z
|
|
456
445
|
}, {
|
|
457
446
|
default: l(() => [
|
|
458
|
-
a(
|
|
447
|
+
a(k, {
|
|
459
448
|
prop: "name",
|
|
460
449
|
label: "名称",
|
|
461
450
|
align: "center"
|
|
462
451
|
}),
|
|
463
|
-
a(
|
|
452
|
+
a(k, {
|
|
464
453
|
prop: "code",
|
|
465
454
|
label: "编码",
|
|
466
455
|
align: "center"
|
|
467
456
|
}),
|
|
468
|
-
a(
|
|
457
|
+
a(k, {
|
|
469
458
|
prop: "status",
|
|
470
459
|
label: "状态",
|
|
471
460
|
align: "center"
|
|
@@ -473,35 +462,35 @@ const pt = [
|
|
|
473
462
|
default: l((c) => [
|
|
474
463
|
a(Be, {
|
|
475
464
|
class: "status-tag",
|
|
476
|
-
type: f(
|
|
465
|
+
type: f(j)(c.row.status),
|
|
477
466
|
title: "点击切换",
|
|
478
|
-
onClick: (
|
|
467
|
+
onClick: (F) => Ce(c.row)
|
|
479
468
|
}, {
|
|
480
469
|
default: l(() => [
|
|
481
|
-
|
|
470
|
+
h(ye(f(b)(c.row.status)), 1)
|
|
482
471
|
]),
|
|
483
472
|
_: 2
|
|
484
473
|
}, 1032, ["type", "onClick"])
|
|
485
474
|
]),
|
|
486
475
|
_: 1
|
|
487
476
|
}),
|
|
488
|
-
a(
|
|
477
|
+
a(k, {
|
|
489
478
|
prop: "sort",
|
|
490
479
|
label: "排序",
|
|
491
480
|
align: "center",
|
|
492
481
|
sortable: "custom"
|
|
493
482
|
}),
|
|
494
|
-
a(
|
|
483
|
+
a(k, {
|
|
495
484
|
label: "操作",
|
|
496
485
|
align: "center"
|
|
497
486
|
}, {
|
|
498
487
|
default: l((c) => [
|
|
499
|
-
i("div",
|
|
500
|
-
(
|
|
488
|
+
i("div", ht, [
|
|
489
|
+
(ue(!0), re(Fe, null, Re(f(dt), (F) => (ue(), re("div", {
|
|
501
490
|
class: "operate-item",
|
|
502
|
-
key:
|
|
503
|
-
onClick: Me((
|
|
504
|
-
},
|
|
491
|
+
key: F.value,
|
|
492
|
+
onClick: Me((Bt) => te(F, c), ["stop"])
|
|
493
|
+
}, ye(F.label), 9, It))), 128))
|
|
505
494
|
])
|
|
506
495
|
]),
|
|
507
496
|
_: 1
|
|
@@ -510,16 +499,16 @@ const pt = [
|
|
|
510
499
|
_: 1
|
|
511
500
|
}, 8, ["data", "default-sort"])
|
|
512
501
|
]),
|
|
513
|
-
i("div",
|
|
502
|
+
i("div", Ct, [
|
|
514
503
|
o[11] || (o[11] = i("div", null, null, -1)),
|
|
515
504
|
a(ke, {
|
|
516
|
-
onSizeChange:
|
|
517
|
-
onCurrentChange:
|
|
518
|
-
"current-page": (
|
|
519
|
-
"page-sizes": (
|
|
520
|
-
"page-size": ((
|
|
505
|
+
onSizeChange: Y,
|
|
506
|
+
onCurrentChange: X,
|
|
507
|
+
"current-page": (fe = f(D)) == null ? void 0 : fe.pageNum,
|
|
508
|
+
"page-sizes": (ge = f(D)) == null ? void 0 : ge.pageSizes,
|
|
509
|
+
"page-size": ((_e = f(D)) == null ? void 0 : _e.pageSize) ?? 10,
|
|
521
510
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
522
|
-
total: ((
|
|
511
|
+
total: ((ve = f(D)) == null ? void 0 : ve.total) ?? 0
|
|
523
512
|
}, null, 8, ["current-page", "page-sizes", "page-size", "total"])
|
|
524
513
|
])
|
|
525
514
|
])
|
|
@@ -528,11 +517,11 @@ const pt = [
|
|
|
528
517
|
i("div", { class: "footer-left" }),
|
|
529
518
|
i("div", { class: "footer-right" })
|
|
530
519
|
], -1)),
|
|
531
|
-
a(
|
|
520
|
+
a(Xe, {
|
|
532
521
|
class: "position-edit-dialog",
|
|
533
|
-
visible:
|
|
522
|
+
visible: B.value,
|
|
534
523
|
title: "职位信息",
|
|
535
|
-
onBeforeDestroy:
|
|
524
|
+
onBeforeDestroy: ne,
|
|
536
525
|
showClose: !0,
|
|
537
526
|
closeOnClickModal: !1,
|
|
538
527
|
closeOnPressEscape: !1,
|
|
@@ -546,21 +535,21 @@ const pt = [
|
|
|
546
535
|
i("div", { class: "header-left" }),
|
|
547
536
|
i("div", { class: "header-right" })
|
|
548
537
|
], -1)),
|
|
549
|
-
i("div",
|
|
550
|
-
i("div",
|
|
551
|
-
a(
|
|
538
|
+
i("div", Dt, [
|
|
539
|
+
i("div", Lt, [
|
|
540
|
+
a(qe, {
|
|
552
541
|
class: "position-edit-form",
|
|
553
542
|
ref_key: "positionFormRef",
|
|
554
|
-
ref:
|
|
543
|
+
ref: A,
|
|
555
544
|
model: d.value,
|
|
556
|
-
rules:
|
|
545
|
+
rules: oe
|
|
557
546
|
}, {
|
|
558
547
|
default: l(() => [
|
|
559
|
-
a(
|
|
548
|
+
a(me, { gutter: 20 }, {
|
|
560
549
|
default: l(() => [
|
|
561
|
-
a(
|
|
550
|
+
a(ie, { span: 12 }, {
|
|
562
551
|
default: l(() => [
|
|
563
|
-
a(
|
|
552
|
+
a(le, {
|
|
564
553
|
prop: "name",
|
|
565
554
|
label: "职位名称",
|
|
566
555
|
"label-position": "top"
|
|
@@ -578,9 +567,9 @@ const pt = [
|
|
|
578
567
|
]),
|
|
579
568
|
_: 1
|
|
580
569
|
}),
|
|
581
|
-
a(
|
|
570
|
+
a(ie, { span: 12 }, {
|
|
582
571
|
default: l(() => [
|
|
583
|
-
a(
|
|
572
|
+
a(le, {
|
|
584
573
|
prop: "code",
|
|
585
574
|
label: "职位编码",
|
|
586
575
|
"label-position": "top"
|
|
@@ -601,11 +590,11 @@ const pt = [
|
|
|
601
590
|
]),
|
|
602
591
|
_: 1
|
|
603
592
|
}),
|
|
604
|
-
a(
|
|
593
|
+
a(me, { gutter: 20 }, {
|
|
605
594
|
default: l(() => [
|
|
606
|
-
a(
|
|
595
|
+
a(ie, { span: 12 }, {
|
|
607
596
|
default: l(() => [
|
|
608
|
-
a(
|
|
597
|
+
a(le, {
|
|
609
598
|
prop: "sort",
|
|
610
599
|
label: "排序",
|
|
611
600
|
"label-position": "top"
|
|
@@ -637,18 +626,18 @@ const pt = [
|
|
|
637
626
|
footer: l(() => [
|
|
638
627
|
i("div", St, [
|
|
639
628
|
o[13] || (o[13] = i("div", { class: "footer-left" }, null, -1)),
|
|
640
|
-
i("div",
|
|
641
|
-
a(
|
|
629
|
+
i("div", Et, [
|
|
630
|
+
a(pe, {
|
|
642
631
|
class: "cancel",
|
|
643
632
|
emptyColor: !0,
|
|
644
633
|
onClickTrigger: e,
|
|
645
634
|
modelValue: "取消",
|
|
646
635
|
buttonType: "info"
|
|
647
636
|
}),
|
|
648
|
-
a(
|
|
637
|
+
a(pe, {
|
|
649
638
|
class: "confirm",
|
|
650
639
|
emptyColor: !0,
|
|
651
|
-
onClickTrigger:
|
|
640
|
+
onClickTrigger: Ie,
|
|
652
641
|
modelValue: "确定",
|
|
653
642
|
buttonType: "primary"
|
|
654
643
|
})
|
|
@@ -660,7 +649,7 @@ const pt = [
|
|
|
660
649
|
]);
|
|
661
650
|
};
|
|
662
651
|
}
|
|
663
|
-
}),
|
|
652
|
+
}), Rt = /* @__PURE__ */ st(xt, [["__scopeId", "data-v-264d1f0c"]]);
|
|
664
653
|
export {
|
|
665
|
-
|
|
654
|
+
Rt as default
|
|
666
655
|
};
|