ss-component-new 1.3.400 → 1.3.401
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-BNcfk9Qh.js → MTLLoader-Ck3iCZBB.js} +1 -1
- package/dist/{OrbitControls-CNj22rza.js → OrbitControls-CFgny2Xb.js} +1 -1
- package/dist/{URDFLoader-CGBkhIwt.js → URDFLoader-BAtjvzxL.js} +2 -2
- package/dist/{animationData-BghAAV9B.js → animationData-BTSgwbTq.js} +3 -3
- package/dist/{array-CkhOEqz-.cjs → array-D-wXELvn.cjs} +1 -1
- package/dist/{array-B6r4ZgR9.js → array-DMPTLGtj.js} +3 -3
- package/dist/{clone-DSWUKtKP.js → clone-BGMreHwC.js} +1 -1
- package/dist/{iconfont-hDw_XZYo.js → iconfont-h4mgBzTa.js} +2 -2
- package/dist/icons/svg//346/226/207/344/273/266/345/244/271.svg +1 -0
- package/dist/{index-Bf2auVAp.js → index--PEL8oJy.js} +9 -9
- package/dist/{index-BOoebdPr.js → index-1CxMVM0T.js} +1055 -1052
- package/dist/{index-NNQrFRVV.js → index-7QuLAZc4.js} +2 -2
- package/dist/{index-DVSh_ETi.js → index-7oopEz08.js} +2 -2
- package/dist/{index-j9Hp3fPX.js → index-BAj6SlKb.js} +2 -2
- package/dist/{index-BeafutW2.js → index-BCYAUped.js} +1 -1
- package/dist/{index-C7xYx53D.js → index-BHnT4OkM.js} +8 -8
- package/dist/index-BM0jICV-.cjs +25 -0
- package/dist/{index-DT8t3KO7.cjs → index-BNd4riSo.cjs} +12 -12
- package/dist/{index-X0PK7eeg.js → index-BP1nxzS-.js} +1 -1
- package/dist/{index-ByIiZjok.cjs → index-BPjXEDdo.cjs} +1 -1
- package/dist/{index-QGZuaTFj.cjs → index-BR5evPYR.cjs} +1 -1
- package/dist/{index-BRxMS0_q.js → index-BVQ08iol.js} +2 -2
- package/dist/{index-CQP8wQto.js → index-BaNsHy5M.js} +3 -3
- package/dist/{index-lktBgnVq.js → index-Baa2tgYw.js} +7 -7
- package/dist/index-Bf9mnn8M.cjs +2 -0
- package/dist/{index-DN21skU-.js → index-BpMKqUU2.js} +6 -6
- package/dist/{index-B2O9pNpk.js → index-Br-EfYDY.js} +1 -1
- package/dist/index-BrXLLiec.js +192 -0
- package/dist/{index-CDo9HdJH.js → index-BzrpHOhV.js} +5 -5
- package/dist/{index-C96tUuar.js → index-C-2J6Kku.js} +1 -1
- package/dist/{index-cqwXd5i8.js → index-C1idYMvl.js} +4 -4
- package/dist/{index-CK-qgAEm.js → index-C5ykyj5i.js} +49 -49
- package/dist/{index-TnBp90xO.cjs → index-CA8nRHvK.cjs} +1 -1
- package/dist/index-CJZtMG1l.js +10736 -0
- package/dist/{index-c-JmI6mD.cjs → index-CVcTWPhb.cjs} +1 -1
- package/dist/{index-DE7EqKTP.cjs → index-CXJg6fVt.cjs} +1 -1
- package/dist/{index-Dt0xMyxl.js → index-CcZ3PLQl.js} +2 -2
- package/dist/{index-4Wx1L0Cj.js → index-D0dPlenq.js} +1 -1
- package/dist/{index-B4L-66hl.cjs → index-D63pR0VJ.cjs} +1 -1
- package/dist/{index-AFgFIlPg.js → index-DH5OIznF.js} +1 -1
- package/dist/{index-mzIVWOcB.cjs → index-DVoeNzlg.cjs} +1 -1
- package/dist/{index-DAFuAvRt.cjs → index-DWz4-eQa.cjs} +1 -1
- package/dist/{index-DfRQWzlz.js → index-DfKgW3Wx.js} +2 -2
- package/dist/{index-JedpZFXq.js → index-DkHH47Yv.js} +3 -3
- package/dist/index-DsQcrm0O.js +23035 -0
- package/dist/{index-GvT0UZJL.js → index-Dv6dzdzF.js} +4 -4
- package/dist/{index-CIGgHvc3.js → index-DxtcQSq9.js} +1 -1
- package/dist/{index-CgprQNf8.js → index-dZnxCBwh.js} +1 -1
- package/dist/{index-Dl6HxwjE.cjs → index-kTvhIZ_a.cjs} +1 -1
- package/dist/index-p6CpwQMN.cjs +1 -0
- package/dist/{index-BZAd-QZt.js → index-x-5naHKX.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-BoiJ7r-E.js → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-DCVfKTPt.js} +3 -3
- package/dist/{main-Y0HUAdFy.js → main--DlxlczT.js} +4 -4
- package/dist/{main-B-ieSoB1.cjs → main-Da9qeEMp.cjs} +1 -1
- package/dist/{menuIndex-BBJnl9S2.js → menuIndex-CYs0Z5X6.js} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-BccZJ7uX.cjs → threeModel-CBuNWvUV.cjs} +1 -1
- package/dist/{threeModel-CiFqPAK1.js → threeModel-CQ1k0qYi.js} +4 -4
- package/dist/{threePreview-D0qi1GtL.js → threePreview-COjaxVdv.js} +4 -4
- package/dist/{threeSceneView-2dWkiNh0.js → threeSceneView-C7-39m3-.js} +11 -11
- package/dist/{threeSceneView-B3LhFesY.cjs → threeSceneView-DP4SvptT.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-CaeZjMcJ.cjs → threeSceneViewForCPMPIP-DaujRWby.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-zXpRHHYL.js → threeSceneViewForCPMPIP-DxR2AIa7.js} +8 -8
- package/dist/{threeTrackPathView-CV-Ux4wi.js → threeTrackPathView-Q0kE7Zg1.js} +4 -4
- package/dist/{threeViewerHost-BpVZaj0Z.js → threeViewerHost-DMc2E0HM.js} +3 -3
- package/dist/{threeViewerHost-Di6ivhfZ.cjs → threeViewerHost-rMSBiof2.cjs} +1 -1
- package/dist/{urdfTree-DQCYEGnz.js → urdfTree-COkcl5so.js} +1 -1
- package/dist/{workpieceTreePanel-B9Fr-ycK.js → workpieceTreePanel-15cCpVWI.js} +4 -4
- package/package.json +74 -74
- package/public/icons/svg//346/226/207/344/273/266/345/244/271.svg +1 -0
- package/dist/index-8AC0eW8N.js +0 -10279
- package/dist/index-Coz7odVo.cjs +0 -2
- package/dist/index-D5NYxE3E.js +0 -22983
- package/dist/index-DdcbZork.cjs +0 -25
- package/dist/index-DjWFO0od.js +0 -178
- package/dist/index-L8Vt-_L3.cjs +0 -1
|
@@ -8972,13 +8972,13 @@ export {
|
|
|
8972
8972
|
hd as $,
|
|
8973
8973
|
Fh as A,
|
|
8974
8974
|
Mh as B,
|
|
8975
|
-
|
|
8976
|
-
|
|
8975
|
+
rn as C,
|
|
8976
|
+
Xh as D,
|
|
8977
8977
|
fp as E,
|
|
8978
|
-
|
|
8979
|
-
|
|
8980
|
-
|
|
8981
|
-
|
|
8978
|
+
Kh as F,
|
|
8979
|
+
Ah as G,
|
|
8980
|
+
Bh as H,
|
|
8981
|
+
Ih as I,
|
|
8982
8982
|
Qn as J,
|
|
8983
8983
|
Ll as K,
|
|
8984
8984
|
Ql as L,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as l, defineComponent as m, createElementBlock as f, openBlock as p, createElementVNode as e, createVNode as u, unref as t } from "vue";
|
|
2
|
-
import { V as C } from "./index-
|
|
2
|
+
import { V as C } from "./index-DsQcrm0O.js";
|
|
3
3
|
import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const b = () => {
|
|
5
5
|
const i = l("日志管理"), o = l(), a = l([
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { defineComponent as P, ref as W, computed as z, watch as m, nextTick as N, onMounted as S, onUnmounted as H, resolveComponent as G, createElementBlock as k, openBlock as g, createBlock as V } from "vue";
|
|
2
|
+
import { b as $, p as w, s as h, d as q, a as J, u as Q, v as X } from "./index-BpMKqUU2.js";
|
|
3
|
+
import { l as Y } from "./index-dZnxCBwh.js";
|
|
4
|
+
import { useRouter as Z } from "vue-router";
|
|
5
|
+
import { _ as p } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const ee = { key: 0 }, te = /* @__PURE__ */ P({
|
|
7
|
+
__name: "index",
|
|
8
|
+
props: {
|
|
9
|
+
windowConfig: {
|
|
10
|
+
type: Object,
|
|
11
|
+
default: () => {
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
systemInfo: {
|
|
15
|
+
type: Object,
|
|
16
|
+
default: () => {
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
systemKey: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: ""
|
|
22
|
+
},
|
|
23
|
+
pathContent: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: ""
|
|
26
|
+
},
|
|
27
|
+
mode: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: "view"
|
|
30
|
+
},
|
|
31
|
+
content: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: ""
|
|
34
|
+
},
|
|
35
|
+
jsonContents: {
|
|
36
|
+
type: Array,
|
|
37
|
+
default: () => []
|
|
38
|
+
},
|
|
39
|
+
showButton: {
|
|
40
|
+
type: Boolean,
|
|
41
|
+
default: !1
|
|
42
|
+
},
|
|
43
|
+
nodeDev: {
|
|
44
|
+
type: String,
|
|
45
|
+
default: ""
|
|
46
|
+
},
|
|
47
|
+
pageKey: {
|
|
48
|
+
type: String,
|
|
49
|
+
default: ""
|
|
50
|
+
},
|
|
51
|
+
interfaceContent: {
|
|
52
|
+
type: Array,
|
|
53
|
+
default: () => []
|
|
54
|
+
},
|
|
55
|
+
loginContent: {
|
|
56
|
+
type: Object,
|
|
57
|
+
default: () => {
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
menuFiles: {
|
|
61
|
+
type: Array,
|
|
62
|
+
default: () => []
|
|
63
|
+
},
|
|
64
|
+
workspaceHistoryData: {
|
|
65
|
+
type: Array,
|
|
66
|
+
default: () => []
|
|
67
|
+
},
|
|
68
|
+
// 用于打开/拣选工作区
|
|
69
|
+
workspaceInfo: {
|
|
70
|
+
type: Object,
|
|
71
|
+
default: () => []
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
emits: ["buildContent", "openThreeBuild", "threeData", "setLoginInfo", "projectLogin", "updateApiUrl", "clearFileContent", "systemContent", "getMenuPathValue", "executeWorkspcae"],
|
|
75
|
+
setup(d, { emit: L }) {
|
|
76
|
+
const _ = Z(), l = $(w), { loginUserInfo: f } = h(l), { initSystemInfo: A } = q(), D = J(w), { refreshLogin: E } = h(D), r = Q(w), y = W(!0), { activeMenuPath: v } = h(r), e = d, o = L, F = z(() => {
|
|
77
|
+
var t, n;
|
|
78
|
+
return (e == null ? void 0 : e.showButton) || ((n = (t = f.value) == null ? void 0 : t.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN";
|
|
79
|
+
}), j = (t) => {
|
|
80
|
+
o("systemContent", t);
|
|
81
|
+
}, B = () => {
|
|
82
|
+
o("clearFileContent");
|
|
83
|
+
};
|
|
84
|
+
m(
|
|
85
|
+
() => e == null ? void 0 : e.menuFiles,
|
|
86
|
+
() => {
|
|
87
|
+
var t;
|
|
88
|
+
((t = e == null ? void 0 : e.menuFiles) == null ? void 0 : t.length) > 0 && r.setLocalFiles(e == null ? void 0 : e.menuFiles);
|
|
89
|
+
},
|
|
90
|
+
{ deep: !0, immediate: !0 }
|
|
91
|
+
), m(
|
|
92
|
+
() => v.value,
|
|
93
|
+
() => {
|
|
94
|
+
o("getMenuPathValue", v.value);
|
|
95
|
+
},
|
|
96
|
+
{ deep: !0, immediate: !0 }
|
|
97
|
+
), m(
|
|
98
|
+
() => e == null ? void 0 : e.loginContent,
|
|
99
|
+
async () => {
|
|
100
|
+
var n, a, s, c;
|
|
101
|
+
y.value = !0;
|
|
102
|
+
let t = e == null ? void 0 : e.loginContent;
|
|
103
|
+
if (t != null && t.account && (t != null && t.password) && !E.value && (await Y(t), status)) {
|
|
104
|
+
let i = await X();
|
|
105
|
+
o("systemContent", i == null ? void 0 : i.allMenuContents), _.push("/"), l.setLogRecordAsync({
|
|
106
|
+
type: "登录",
|
|
107
|
+
data: {
|
|
108
|
+
account: ((n = f.value) == null ? void 0 : n.account) ?? ((a = f.value) == null ? void 0 : a.账号),
|
|
109
|
+
userName: ((s = f.value) == null ? void 0 : s.姓名) || ((c = f.value) == null ? void 0 : c.userName) || "未知"
|
|
110
|
+
}
|
|
111
|
+
}, "/login", "login"), r.setHasClickEditComp(!1);
|
|
112
|
+
}
|
|
113
|
+
y.value = !1, await N();
|
|
114
|
+
},
|
|
115
|
+
{ deep: !0, immediate: !0 }
|
|
116
|
+
);
|
|
117
|
+
const M = (t) => {
|
|
118
|
+
o("projectLogin", t);
|
|
119
|
+
}, T = () => {
|
|
120
|
+
o("projectLogin", "");
|
|
121
|
+
};
|
|
122
|
+
m(() => [e == null ? void 0 : e.systemKey, e == null ? void 0 : e.systemInfo], async ([t, n]) => {
|
|
123
|
+
l.setSystemKey(t), t !== "" && sessionStorage.setItem("systemKey", t);
|
|
124
|
+
}, { immediate: !0 }), m(
|
|
125
|
+
() => e == null ? void 0 : e.interfaceContent,
|
|
126
|
+
() => {
|
|
127
|
+
var a, s, c, i, I;
|
|
128
|
+
if (!(e != null && e.interfaceContent) || Array.isArray(e == null ? void 0 : e.interfaceContent) && ((a = e == null ? void 0 : e.interfaceContent) == null ? void 0 : a.length) === 0) return;
|
|
129
|
+
let t = (s = e == null ? void 0 : e.interfaceContent) == null ? void 0 : s.find((u) => u == null ? void 0 : u.includes("VITE_API_NEW_URL")), n = (c = e == null ? void 0 : e.interfaceContent) == null ? void 0 : c.find((u) => u == null ? void 0 : u.includes("VITE_FACE_RECOGNITION_API_URL"));
|
|
130
|
+
n = (i = n == null ? void 0 : n.split("=")) == null ? void 0 : i[1], n = n == null ? void 0 : n.trim(), t = (I = t == null ? void 0 : t.split("=")) == null ? void 0 : I[1], t = t == null ? void 0 : t.trim(), l.setExtraUrl(n ?? ""), l.setSystemUrl(t ?? "");
|
|
131
|
+
},
|
|
132
|
+
{ immediate: !0, deep: !0 }
|
|
133
|
+
), S(async () => {
|
|
134
|
+
e.systemInfo ? l.setSystemInfo(e.systemInfo) : await A();
|
|
135
|
+
});
|
|
136
|
+
const x = () => {
|
|
137
|
+
o("buildContent");
|
|
138
|
+
}, K = () => {
|
|
139
|
+
o("setLoginInfo");
|
|
140
|
+
}, U = (t) => {
|
|
141
|
+
o("openThreeBuild", t);
|
|
142
|
+
}, b = (t) => {
|
|
143
|
+
o("threeData", t);
|
|
144
|
+
}, R = (t) => {
|
|
145
|
+
o("updateApiUrl", t);
|
|
146
|
+
}, O = (t) => {
|
|
147
|
+
o("executeWorkspcae", t);
|
|
148
|
+
}, C = () => {
|
|
149
|
+
var i;
|
|
150
|
+
const t = e != null && e.windowConfig ? (i = e == null ? void 0 : e.windowConfig) == null ? void 0 : i.width : window.innerWidth, n = 1920, a = 16, s = t / n, c = a * s;
|
|
151
|
+
document.documentElement.style.fontSize = `${c}px`;
|
|
152
|
+
};
|
|
153
|
+
return S(() => {
|
|
154
|
+
C(), window.addEventListener("resize", C);
|
|
155
|
+
}), H(() => {
|
|
156
|
+
window.removeEventListener("resize", C);
|
|
157
|
+
}), (t, n) => {
|
|
158
|
+
const a = G("router-view");
|
|
159
|
+
return g(), k("div", null, [
|
|
160
|
+
y.value ? (g(), k("div", ee)) : (g(), V(a, {
|
|
161
|
+
key: 1,
|
|
162
|
+
mode: e == null ? void 0 : e.mode,
|
|
163
|
+
content: e == null ? void 0 : e.content,
|
|
164
|
+
jsonContents: e == null ? void 0 : e.jsonContents,
|
|
165
|
+
pathContent: e == null ? void 0 : e.pathContent,
|
|
166
|
+
showButton: F.value,
|
|
167
|
+
nodeDev: e == null ? void 0 : e.nodeDev,
|
|
168
|
+
windowConfig: d.windowConfig,
|
|
169
|
+
systemInfo: d.systemInfo,
|
|
170
|
+
"old-systemKey": d.systemKey,
|
|
171
|
+
onBuildContent: x,
|
|
172
|
+
onProjectLogin: M,
|
|
173
|
+
onClearLogin: T,
|
|
174
|
+
onUpdateApiUrl: R,
|
|
175
|
+
onOpenThreeBuild: U,
|
|
176
|
+
pageKey: d.pageKey,
|
|
177
|
+
onThreeData: b,
|
|
178
|
+
onSetLoginInfo: K,
|
|
179
|
+
loginContent: e == null ? void 0 : e.loginContent,
|
|
180
|
+
onClearFileContent: B,
|
|
181
|
+
onSystemContent: j,
|
|
182
|
+
onExecuteWorkspcae: O,
|
|
183
|
+
workspaceHistoryData: e == null ? void 0 : e.workspaceHistoryData,
|
|
184
|
+
workspaceInfo: e == null ? void 0 : e.workspaceInfo
|
|
185
|
+
}, null, 8, ["mode", "content", "jsonContents", "pathContent", "showButton", "nodeDev", "windowConfig", "systemInfo", "old-systemKey", "pageKey", "loginContent", "workspaceHistoryData", "workspaceInfo"]))
|
|
186
|
+
]);
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
}), ce = /* @__PURE__ */ p(te, [["__scopeId", "data-v-f3c541be"]]);
|
|
190
|
+
export {
|
|
191
|
+
ce as default
|
|
192
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T, createElementBlock as y, openBlock as u, createElementVNode as t, withDirectives as p, createVNode as o, unref as n, toDisplayString as r, createBlock as A } from "vue";
|
|
2
|
-
import { S as I, t as x, s as w, a as L } from "./index-
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-
|
|
2
|
+
import { S as I, t as x, s as w, a as L } from "./index-C1idYMvl.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-DCVfKTPt.js";
|
|
4
4
|
import "./index-BHtNKL1L.js";
|
|
5
|
-
import { e as E } from "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import { b as N, s as U } from "./index-
|
|
5
|
+
import { e as E } from "./index-1CxMVM0T.js";
|
|
6
|
+
import "./index-D0dPlenq.js";
|
|
7
|
+
import { b as N, s as U } from "./index-BpMKqUU2.js";
|
|
8
8
|
import "./request-XJsZ4h2T.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as h, b as l, p as w, t as F } from "./index-
|
|
1
|
+
import { s as h, b as l, p as w, t as F } from "./index-BpMKqUU2.js";
|
|
2
2
|
import { s as f } from "./request-XJsZ4h2T.js";
|
|
3
3
|
import { watch as p } from "vue";
|
|
4
4
|
const P = l(w), { systemUrl: s, extraUrl: o } = h(P);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ref as h, computed as E, reactive as W, defineComponent as q, watch as H, createElementBlock as N, openBlock as k, createVNode as A, createCommentVNode as ue, withCtx as _, createTextVNode as V, toDisplayString as F, resolveComponent as D, createBlock as R, Fragment as ie, renderList as ce, createElementVNode as de, normalizeStyle as pe } from "vue";
|
|
2
2
|
import { av as fe, aw as ve, ax as ge, E as T } from "./request-XJsZ4h2T.js";
|
|
3
|
-
import { s as J, b as ye, u as be, p as G, c as me, j as he, k as Q } from "./index-
|
|
3
|
+
import { s as J, b as ye, u as be, p as G, c as me, j as he, k as Q } from "./index-BpMKqUU2.js";
|
|
4
4
|
import { g as X, u as we } from "./index-DUq4XELr.js";
|
|
5
5
|
import { J as Y } from "./JSEncrypt-B36c1iN5.js";
|
|
6
|
-
import { a2 as Se } from "./index-
|
|
7
|
-
import { A as _e } from "./index-
|
|
6
|
+
import { a2 as Se } from "./index-D0dPlenq.js";
|
|
7
|
+
import { A as _e } from "./index-BVQ08iol.js";
|
|
8
8
|
import { _ as Z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
import { m as Ce } from "./index-
|
|
9
|
+
import { m as Ce } from "./index-1CxMVM0T.js";
|
|
10
10
|
import { S as x } from "./index-BHtNKL1L.js";
|
|
11
11
|
function Ae(t, s) {
|
|
12
12
|
const e = new Y();
|
|
@@ -1,12 +1,12 @@
|
|
|
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
|
|
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 P, toDisplayString as we, Fragment as Fe, renderList as Re, withModifiers as Me } from "vue";
|
|
2
2
|
import { s as G, u as Ge, h as Qe } from "./request-XJsZ4h2T.js";
|
|
3
|
-
import { j as de, w as Oe } from "./index-
|
|
4
|
-
import { s as je, b as He, p as
|
|
5
|
-
import { f as Ze, i as et, e as tt, a as ot } from "./index
|
|
3
|
+
import { j as de, w as Oe } from "./index-D0dPlenq.js";
|
|
4
|
+
import { s as je, b as He, p as Ie, t as Je, E as Ke, C as be, i as We, c as Xe, u as Ye } from "./index-BpMKqUU2.js";
|
|
5
|
+
import { f as Ze, i as et, e as tt, a as ot } from "./index--PEL8oJy.js";
|
|
6
6
|
import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
7
7
|
import { s as at } from "./index-BQ9pPu8K.js";
|
|
8
8
|
import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
const st = He(
|
|
9
|
+
const st = He(Ie), { systemUrl: D } = je(st);
|
|
10
10
|
let T = D.value === "" || !D.value ? "http://222.92.178.198:63002" : D.value;
|
|
11
11
|
ze(
|
|
12
12
|
() => D.value,
|
|
@@ -52,7 +52,7 @@ const pt = [
|
|
|
52
52
|
label: "删除",
|
|
53
53
|
value: "delete"
|
|
54
54
|
}
|
|
55
|
-
],
|
|
55
|
+
], he = "post", _ = {
|
|
56
56
|
ENABLE: {
|
|
57
57
|
value: "enable",
|
|
58
58
|
label: "启用",
|
|
@@ -74,13 +74,13 @@ const pt = [
|
|
|
74
74
|
var t;
|
|
75
75
|
return k.value ? !0 : ((t = L.value) == null ? void 0 : t.status) === Ze.EDITABLE.value;
|
|
76
76
|
}), O = async () => {
|
|
77
|
-
var
|
|
77
|
+
var I, R;
|
|
78
78
|
const t = {
|
|
79
79
|
pageName: "系统管理/职位管理",
|
|
80
80
|
platId: u.value,
|
|
81
81
|
userId: r.value
|
|
82
82
|
}, n = await We(t);
|
|
83
|
-
return (R = (
|
|
83
|
+
return (R = (I = n == null ? void 0 : n.data) == null ? void 0 : I.result) == null ? void 0 : R[0];
|
|
84
84
|
}, j = async () => {
|
|
85
85
|
if (!k.value)
|
|
86
86
|
return L.value = await O(), L;
|
|
@@ -88,11 +88,11 @@ const pt = [
|
|
|
88
88
|
name: ""
|
|
89
89
|
}), y = v(N()), H = () => {
|
|
90
90
|
y.value = N();
|
|
91
|
-
},
|
|
91
|
+
}, C = v({
|
|
92
92
|
prop: "sort",
|
|
93
93
|
order: "ascending"
|
|
94
94
|
}), q = (e) => {
|
|
95
|
-
|
|
95
|
+
C.value = e;
|
|
96
96
|
}, w = v({
|
|
97
97
|
pageNum: 1,
|
|
98
98
|
pageSize: 10,
|
|
@@ -110,16 +110,16 @@ const pt = [
|
|
|
110
110
|
...y.value
|
|
111
111
|
},
|
|
112
112
|
orderBy: {
|
|
113
|
-
prop:
|
|
114
|
-
order:
|
|
113
|
+
prop: C.value.prop,
|
|
114
|
+
order: C.value.order
|
|
115
115
|
}
|
|
116
116
|
}), X = async (e) => {
|
|
117
117
|
var n;
|
|
118
118
|
const t = await lt(e);
|
|
119
119
|
return (n = t == null ? void 0 : t.data) == null ? void 0 : n.result;
|
|
120
120
|
}, U = async (e) => {
|
|
121
|
-
const t = W(), n = await X(t), { total:
|
|
122
|
-
return w.value.total =
|
|
121
|
+
const t = W(), n = await X(t), { total: I } = n || {};
|
|
122
|
+
return w.value.total = I, n || {};
|
|
123
123
|
}, Y = (e) => {
|
|
124
124
|
const t = be(Date.now()), n = Xe(e);
|
|
125
125
|
return n.update_time = t, n;
|
|
@@ -134,10 +134,10 @@ const pt = [
|
|
|
134
134
|
update_time: t
|
|
135
135
|
};
|
|
136
136
|
if (e) {
|
|
137
|
-
const
|
|
137
|
+
const I = Y(e);
|
|
138
138
|
n = {
|
|
139
139
|
...n,
|
|
140
|
-
...
|
|
140
|
+
...I
|
|
141
141
|
};
|
|
142
142
|
}
|
|
143
143
|
return n;
|
|
@@ -156,7 +156,7 @@ const pt = [
|
|
|
156
156
|
}, te = async (e) => {
|
|
157
157
|
const t = A(e);
|
|
158
158
|
await rt(t);
|
|
159
|
-
},
|
|
159
|
+
}, h = async (e) => {
|
|
160
160
|
await te(e);
|
|
161
161
|
}, oe = async (e) => {
|
|
162
162
|
const { post_id: t } = e, n = {
|
|
@@ -179,18 +179,18 @@ const pt = [
|
|
|
179
179
|
return (n = t == null ? void 0 : t.data) == null ? void 0 : n.result;
|
|
180
180
|
}, d = async (e) => {
|
|
181
181
|
const t = new FormData();
|
|
182
|
-
return t.set("platId", u.value), t.set("file", e), t.set("tableType",
|
|
182
|
+
return t.set("platId", u.value), t.set("file", e), t.set("tableType", he), await ae(t);
|
|
183
183
|
}, E = async (e) => await tt(e), ne = async () => {
|
|
184
184
|
const e = {
|
|
185
185
|
platId: u.value,
|
|
186
|
-
tableType:
|
|
186
|
+
tableType: he,
|
|
187
187
|
filter: y.value,
|
|
188
|
-
orderBy:
|
|
188
|
+
orderBy: C.value
|
|
189
189
|
}, t = await E(e);
|
|
190
190
|
return et(t), t;
|
|
191
191
|
}, F = [["名称", "编码", "状态", "排序"]];
|
|
192
192
|
return {
|
|
193
|
-
sortInfo:
|
|
193
|
+
sortInfo: C,
|
|
194
194
|
setSortInfo: q,
|
|
195
195
|
queryInfo: y,
|
|
196
196
|
resetQuery: H,
|
|
@@ -202,7 +202,7 @@ const pt = [
|
|
|
202
202
|
initPositionConfig: j,
|
|
203
203
|
initGetByPage: U,
|
|
204
204
|
initCreate: ee,
|
|
205
|
-
initUpdate:
|
|
205
|
+
initUpdate: h,
|
|
206
206
|
initDelete: $,
|
|
207
207
|
getStatusLabelByValue: Q,
|
|
208
208
|
getStatusTagByValue: V,
|
|
@@ -213,10 +213,10 @@ const pt = [
|
|
|
213
213
|
de.book_append_sheet(t, e, "职位"), Oe(t, "职位模板.xlsx");
|
|
214
214
|
}
|
|
215
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" },
|
|
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" }, ht = ["onClick"], It = { class: "pagination-wrapper" }, Ct = { class: "position-management-wrapper" }, Pt = { class: "position-management-body" }, Dt = { class: "position-form-wrapper" }, St = { class: "edit-footer" }, Lt = { class: "footer-right" }, Et = /* @__PURE__ */ Ue({
|
|
217
217
|
__name: "index",
|
|
218
218
|
setup(u) {
|
|
219
|
-
const r = Ye(
|
|
219
|
+
const r = Ye(Ie), {
|
|
220
220
|
sortInfo: k,
|
|
221
221
|
setSortInfo: Q,
|
|
222
222
|
queryInfo: V,
|
|
@@ -228,7 +228,7 @@ const pt = [
|
|
|
228
228
|
hasPositionEditAuth: y,
|
|
229
229
|
initPositionConfig: H,
|
|
230
230
|
initPositionItem: z,
|
|
231
|
-
initCreate:
|
|
231
|
+
initCreate: C,
|
|
232
232
|
initUpdate: q,
|
|
233
233
|
initDelete: me,
|
|
234
234
|
getStatusLabelByValue: w,
|
|
@@ -259,11 +259,11 @@ const pt = [
|
|
|
259
259
|
L(), r.setImportLoading(!0), await b().finally(() => {
|
|
260
260
|
r.setImportLoading(!1);
|
|
261
261
|
});
|
|
262
|
-
},
|
|
262
|
+
}, h = async () => {
|
|
263
263
|
await H(), await b();
|
|
264
264
|
};
|
|
265
265
|
Ae(async () => {
|
|
266
|
-
r.setImportLoading(!0), await
|
|
266
|
+
r.setImportLoading(!0), await h().finally(() => {
|
|
267
267
|
r.setImportLoading(!1);
|
|
268
268
|
});
|
|
269
269
|
});
|
|
@@ -276,7 +276,7 @@ const pt = [
|
|
|
276
276
|
return;
|
|
277
277
|
}
|
|
278
278
|
if (m === "delete") {
|
|
279
|
-
r.setImportLoading(!0), await
|
|
279
|
+
r.setImportLoading(!0), await I(g).finally(() => {
|
|
280
280
|
r.setImportLoading(!1);
|
|
281
281
|
});
|
|
282
282
|
return;
|
|
@@ -302,11 +302,11 @@ const pt = [
|
|
|
302
302
|
}, e = () => {
|
|
303
303
|
d.value = z(), F();
|
|
304
304
|
}, t = async () => {
|
|
305
|
-
await
|
|
305
|
+
await C(d.value), await h();
|
|
306
306
|
}, n = async () => {
|
|
307
|
-
await q(d.value), await
|
|
308
|
-
},
|
|
309
|
-
await me(s), await
|
|
307
|
+
await q(d.value), await h();
|
|
308
|
+
}, I = async (s) => {
|
|
309
|
+
await me(s), await h();
|
|
310
310
|
}, R = async () => {
|
|
311
311
|
var o, m;
|
|
312
312
|
await ((m = (o = $.value) == null ? void 0 : o.validate) == null ? void 0 : m.call(o));
|
|
@@ -316,12 +316,12 @@ const pt = [
|
|
|
316
316
|
}) : await t().finally(() => {
|
|
317
317
|
r.setImportLoading(!1);
|
|
318
318
|
}), e();
|
|
319
|
-
},
|
|
319
|
+
}, Ce = async (s) => {
|
|
320
320
|
if (!y.value)
|
|
321
321
|
return;
|
|
322
322
|
const { status: o } = s;
|
|
323
|
-
_.ENABLE.value === o ? s.status = _.DISABLED.value : s.status = _.ENABLE.value, await q(s), await
|
|
324
|
-
},
|
|
323
|
+
_.ENABLE.value === o ? s.status = _.DISABLED.value : s.status = _.ENABLE.value, await q(s), await h();
|
|
324
|
+
}, Pe = async () => {
|
|
325
325
|
await De();
|
|
326
326
|
}, De = async () => {
|
|
327
327
|
const s = document.createElement("input");
|
|
@@ -330,7 +330,7 @@ const pt = [
|
|
|
330
330
|
const g = (x = o.target.files) == null ? void 0 : x[0];
|
|
331
331
|
if (g)
|
|
332
332
|
try {
|
|
333
|
-
r.setImportLoading(!0), await K(g), await
|
|
333
|
+
r.setImportLoading(!0), await K(g), await h(), r.setImportLoading(!1);
|
|
334
334
|
} catch {
|
|
335
335
|
r.setImportLoading(!1);
|
|
336
336
|
}
|
|
@@ -360,7 +360,7 @@ const pt = [
|
|
|
360
360
|
onClick: b
|
|
361
361
|
}, {
|
|
362
362
|
default: l(() => o[5] || (o[5] = [
|
|
363
|
-
|
|
363
|
+
P("查询")
|
|
364
364
|
])),
|
|
365
365
|
_: 1,
|
|
366
366
|
__: [5]
|
|
@@ -371,7 +371,7 @@ const pt = [
|
|
|
371
371
|
onClick: te
|
|
372
372
|
}, {
|
|
373
373
|
default: l(() => o[6] || (o[6] = [
|
|
374
|
-
|
|
374
|
+
P("重置")
|
|
375
375
|
])),
|
|
376
376
|
_: 1,
|
|
377
377
|
__: [6]
|
|
@@ -381,10 +381,10 @@ const pt = [
|
|
|
381
381
|
i("div", _t, [
|
|
382
382
|
a(g, {
|
|
383
383
|
type: "primary",
|
|
384
|
-
onClick:
|
|
384
|
+
onClick: Pe
|
|
385
385
|
}, {
|
|
386
386
|
default: l(() => [
|
|
387
|
-
o[7] || (o[7] =
|
|
387
|
+
o[7] || (o[7] = P(" 导入 ")),
|
|
388
388
|
a(x, { class: "el-icon--right" }, {
|
|
389
389
|
default: l(() => [
|
|
390
390
|
a(f(Ge))
|
|
@@ -401,14 +401,14 @@ const pt = [
|
|
|
401
401
|
default: l(() => [
|
|
402
402
|
a(le, { onClick: Le }, {
|
|
403
403
|
default: l(() => o[9] || (o[9] = [
|
|
404
|
-
|
|
404
|
+
P("导出模板")
|
|
405
405
|
])),
|
|
406
406
|
_: 1,
|
|
407
407
|
__: [9]
|
|
408
408
|
}),
|
|
409
409
|
a(le, { onClick: Se }, {
|
|
410
410
|
default: l(() => o[10] || (o[10] = [
|
|
411
|
-
|
|
411
|
+
P("导出数据")
|
|
412
412
|
])),
|
|
413
413
|
_: 1,
|
|
414
414
|
__: [10]
|
|
@@ -420,7 +420,7 @@ const pt = [
|
|
|
420
420
|
default: l(() => [
|
|
421
421
|
a(g, { type: "primary" }, {
|
|
422
422
|
default: l(() => [
|
|
423
|
-
o[8] || (o[8] =
|
|
423
|
+
o[8] || (o[8] = P(" 导出 ")),
|
|
424
424
|
a(x, { class: "el-icon--right" }, {
|
|
425
425
|
default: l(() => [
|
|
426
426
|
a(f(Qe))
|
|
@@ -473,10 +473,10 @@ const pt = [
|
|
|
473
473
|
class: "status-tag",
|
|
474
474
|
type: f(J)(c.row.status),
|
|
475
475
|
title: "点击切换",
|
|
476
|
-
onClick: (M) =>
|
|
476
|
+
onClick: (M) => Ce(c.row)
|
|
477
477
|
}, {
|
|
478
478
|
default: l(() => [
|
|
479
|
-
|
|
479
|
+
P(we(f(w)(c.row.status)), 1)
|
|
480
480
|
]),
|
|
481
481
|
_: 2
|
|
482
482
|
}, 1032, ["type", "onClick"])
|
|
@@ -499,7 +499,7 @@ const pt = [
|
|
|
499
499
|
class: "operate-item",
|
|
500
500
|
key: M.value,
|
|
501
501
|
onClick: Me((xt) => oe(M, c), ["stop"])
|
|
502
|
-
}, we(M.label), 9,
|
|
502
|
+
}, we(M.label), 9, ht))), 128))
|
|
503
503
|
])
|
|
504
504
|
]),
|
|
505
505
|
_: 1
|
|
@@ -508,7 +508,7 @@ const pt = [
|
|
|
508
508
|
_: 1
|
|
509
509
|
}, 8, ["data", "default-sort"])
|
|
510
510
|
]),
|
|
511
|
-
i("div",
|
|
511
|
+
i("div", It, [
|
|
512
512
|
o[11] || (o[11] = i("div", null, null, -1)),
|
|
513
513
|
a(ke, {
|
|
514
514
|
onSizeChange: Z,
|
|
@@ -539,12 +539,12 @@ const pt = [
|
|
|
539
539
|
appendToBody: !1
|
|
540
540
|
}, {
|
|
541
541
|
default: l(() => [
|
|
542
|
-
i("div",
|
|
542
|
+
i("div", Ct, [
|
|
543
543
|
o[12] || (o[12] = i("div", { class: "position-management-header" }, [
|
|
544
544
|
i("div", { class: "header-left" }),
|
|
545
545
|
i("div", { class: "header-right" })
|
|
546
546
|
], -1)),
|
|
547
|
-
i("div",
|
|
547
|
+
i("div", Pt, [
|
|
548
548
|
i("div", Dt, [
|
|
549
549
|
a(Ne, {
|
|
550
550
|
class: "position-edit-form",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("./index-BM0jICV-.cjs"),d=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),u=()=>{const l=e.ref("日志管理"),n=e.ref(),o=e.ref([{key:"header",contents:[{prop:"name",align:"center",isRun:!1,label:"日志名称",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{prop:"time",align:"center",isRun:!1,label:"生成时间",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{prop:"sort",align:"operator",isRun:!1,label:"操作人",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{prop:"remark",align:"center",isRun:!1,label:"备注",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{label:"操作",isMainKey:!0}]},{key:"extraButton",contents:[]},{key:"rowButton",contents:[{label:"删除"}]},{key:"tableFilter",contents:[]},{key:"tableContents",contents:[[{id:764397741125751},"test","test","test","test"]]}]);return{compName:l,changedRow:n,tableInfo:o,handleItemDataChange:a=>{},clickRowButton:async(a,r)=>{}}},f={class:"log-management"},m={class:"body"},p=e.defineComponent({__name:"index",setup(l){const{compName:n,changedRow:o,tableInfo:s,handleItemDataChange:i,clickRowButton:a}=u();return(r,t)=>(e.openBlock(),e.createElementBlock("div",f,[t[0]||(t[0]=e.createElementVNode("div",{class:"header"},null,-1)),e.createElementVNode("div",m,[e.createVNode(c.ssTable,{compName:e.unref(n),itemData:e.unref(s),changedContent:e.unref(o),onChange:e.unref(i),onOnButtonClick:e.unref(a)},null,8,["compName","itemData","changedContent","onChange","onOnButtonClick"])]),t[1]||(t[1]=e.createElementVNode("div",{class:"footer"},[e.createElementVNode("div",{class:"footer-left"}),e.createElementVNode("div",{class:"footer-right"})],-1))]))}}),g=d._export_sfc(p,[["__scopeId","data-v-5bfd5576"]]);exports.default=g;
|