ss-component-new 1.3.113 → 1.3.114
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-BviVUPWi.cjs → MTLLoader-DcIQb_s3.cjs} +1 -1
- package/dist/{MTLLoader-y4B1LPuT.js → MTLLoader-iRxhJhIF.js} +34 -34
- package/dist/{OrbitControls-Cqppy3wb.cjs → OrbitControls-9REskSZo.cjs} +1 -1
- package/dist/{OrbitControls-390k2OM3.js → OrbitControls-PQJZejy_.js} +1 -1
- package/dist/{URDFLoader-C2tFq0lk.cjs → URDFLoader-BuABv8Tv.cjs} +1 -1
- package/dist/{URDFLoader-BlbEAIgR.js → URDFLoader-Buak6sTX.js} +222 -222
- package/dist/{animationData-DfDLy_M4.js → animationData-DJhhkfHw.js} +18 -18
- package/dist/{animationData-B1Jlpr7b.cjs → animationData-DiCszzEt.cjs} +1 -1
- package/dist/{array-DLBDgy0c.js → array-Be4dCwU5.js} +5 -5
- package/dist/{array-ymebeoXj.cjs → array-BsWbhqqH.cjs} +1 -1
- package/dist/{iconfont-cBX7rs7k.cjs → iconfont-CTi1EROO.cjs} +1 -1
- package/dist/{iconfont-BYa5tDrN.js → iconfont-Dkz3EhnP.js} +37 -37
- package/dist/{index-JJBPRJiI.cjs → index-1ATQxYGc.cjs} +1 -1
- package/dist/{index-UytjSmc1.cjs → index-69FRQH94.cjs} +1 -1
- package/dist/{index-4p0yEeUu.js → index-B2WIMplB.js} +1 -1
- package/dist/{index--hQDmx_x.js → index-B2pcDjLn.js} +2 -2
- package/dist/{index-pE8_wnGy.cjs → index-B9sLkbkE.cjs} +1 -1
- package/dist/{index-DdCyGfF9.cjs → index-BBrdsI9W.cjs} +1 -1
- package/dist/{index-DJoiySWn.cjs → index-BEpwtI2Q.cjs} +1 -1
- package/dist/{index-BXZlLwr6.cjs → index-Bd8mah99.cjs} +1 -1
- package/dist/{index-CXtLJs5O.js → index-BhJTGJWX.js} +27 -25
- package/dist/{index-C2yeqxnB.js → index-BhPhyI8f.js} +3 -3
- package/dist/{index-bbJ9Y_oO.js → index-BhU0rWGt.js} +3 -3
- package/dist/index-BhsUBoCD.cjs +1 -0
- package/dist/{index-DpirbR20.js → index-Bjm0BPhX.js} +12 -12
- package/dist/{index-BmlomuGZ.cjs → index-Bk8qPn0a.cjs} +1 -1
- package/dist/{index-BfNg0B2v.js → index-BsoWrBpk.js} +33 -33
- package/dist/{index-DpIzJvIr.cjs → index-BuaAY6T_.cjs} +1 -1
- package/dist/{index-DaX27S_0.js → index-BugYnyXc.js} +31 -31
- package/dist/{index-DMzBNabY.js → index-Bz_ZsUz_.js} +1 -1
- package/dist/{index-D6UEkdRE.cjs → index-C1HjpqRi.cjs} +1 -1
- package/dist/{index-CXkaTWVT.js → index-C3LqP4qY.js} +2 -2
- package/dist/{index-DovAfsVt.js → index-C4NqB81x.js} +2 -2
- package/dist/{index-D0e2ki27.js → index-CMMIt7u5.js} +63 -64
- package/dist/{index-DLK6UU4l.cjs → index-C_CGGyPH.cjs} +1 -1
- package/dist/{index-CYXsxIou.js → index-CdOlTQZV.js} +1 -1
- package/dist/{index-CVwsrCrZ.cjs → index-CdzQfZvY.cjs} +12 -12
- package/dist/{index-CaV5K0t4.js → index-Cn5h5u4P.js} +2408 -2005
- package/dist/{index-Cg30L32X.cjs → index-CpZcO0Vv.cjs} +3 -3
- package/dist/{index-BxmhgJuz.js → index-Cw0eFU8n.js} +1 -1
- package/dist/{index-CXlemLjY.js → index-D8c3Spt0.js} +1 -1
- package/dist/{index-Drd5_tIE.js → index-DHrzZlzn.js} +2 -2
- package/dist/{index-CEiscADV.cjs → index-DVhZbYfk.cjs} +1 -1
- package/dist/{index-CJiEoadC.js → index-Dar27fP9.js} +5 -5
- package/dist/index-DavcqNxP.cjs +1 -0
- package/dist/{index-DczQgLYk.cjs → index-DbAWw4as.cjs} +5 -5
- package/dist/{index-C6_KNp1M.cjs → index-DbnQZ22f.cjs} +1 -1
- package/dist/{index-CIoHy7Dg.js → index-Ddn_i6kt.js} +3 -3
- package/dist/index-DgBjwajW.js +456 -0
- package/dist/{index-SeEbZNcJ.cjs → index-DhFQdrUj.cjs} +1 -1
- package/dist/index-DiowIVZT.cjs +36 -0
- package/dist/{index-YwMY3Aya.js → index-DkgsdCot.js} +7 -7
- package/dist/{index-NdxRkX7O.js → index-Do9OpnU6.js} +316 -316
- package/dist/{index-DONt1we8.js → index-DpdFnDS3.js} +128 -78
- package/dist/{index-mabPGJUl.js → index-DqljyATQ.js} +1924 -1902
- package/dist/{index-B9g8IV0C.cjs → index-Dxxg-n__.cjs} +1 -1
- package/dist/{index-B22a33l9.js → index-DzSpBcvn.js} +1 -1
- package/dist/{index-BjAtlMRE.cjs → index-OS-qw-PB.cjs} +1 -1
- package/dist/{index-BVURmufk.js → index-RJF35C5O.js} +7 -7
- package/dist/index-SJHk-hwy.cjs +1 -0
- package/dist/index-TspEOSLc.cjs +1 -0
- package/dist/{index-DnJB2OQC.cjs → index-d198q36G.cjs} +1 -1
- package/dist/{index-CVySIgt4.cjs → index-eOampyhu.cjs} +1 -1
- package/dist/index-h4MsH7WN.cjs +1 -0
- package/dist/{index-DBdrmcqM.cjs → index-hSBc9pHD.cjs} +1 -1
- package/dist/index-kP2LUcSw.cjs +1 -0
- package/dist/{index-BIOl9xBh.js → index-p6bofhog.js} +2 -2
- package/dist/{index-D39f9FDD.cjs → index-rgLAMPYl.cjs} +1 -1
- package/dist/{index-8TMkI46d.js → index-tXc9-Dpz.js} +5 -5
- package/dist/{index-Cu75UXH1.js → index-wT_u7Sip.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_92c12abe_lang-zw0_MXm-.js → index.vue_vue_type_style_index_0_scoped_92c12abe_lang-Cp7jnXuw.js} +19045 -19450
- package/dist/{index.vue_vue_type_style_index_0_scoped_92c12abe_lang-CvIVRrBm.cjs → index.vue_vue_type_style_index_0_scoped_92c12abe_lang-CuQjU1nB.cjs} +397 -397
- package/dist/{index.vue_vue_type_style_index_1_lang-B2vRPxHe.cjs → index.vue_vue_type_style_index_1_lang-AEdMqNIL.cjs} +2 -2
- package/dist/{index.vue_vue_type_style_index_1_lang-B88Ne666.js → index.vue_vue_type_style_index_1_lang-DzaXkSeA.js} +134 -134
- package/dist/{main-b1OREkjD.js → main-BuHWLsd1.js} +4 -4
- package/dist/{main-ChE0Sl1V.cjs → main-CvEytDJd.cjs} +1 -1
- package/dist/{menuIndex-QovY60sY.cjs → menuIndex-7DwfwtqQ.cjs} +1 -1
- package/dist/{menuIndex-BlBV6RY8.js → menuIndex-BpEQqtCU.js} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +10 -10
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-BTiM-_yY.cjs → threeModel-BBPdmBqX.cjs} +1 -1
- package/dist/{threeModel-CUViA1pV.js → threeModel-qPRHxt0O.js} +62 -62
- package/dist/{threePreview-fEcukbqP.js → threePreview-BNspl3PQ.js} +102 -102
- package/dist/{threePreview-DiDVwpOj.cjs → threePreview-BQfgRzYJ.cjs} +1 -1
- package/dist/{threeSceneView-CxhlNkvh.cjs → threeSceneView-BTG6qz5g.cjs} +1 -1
- package/dist/{threeSceneView-BsxoPqAA.js → threeSceneView-Dkw-3Lex.js} +133 -133
- package/dist/{threeSceneViewForCPMPIP-CCTwBiPg.js → threeSceneViewForCPMPIP-BUGbgcyW.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-Bq9A66VO.cjs → threeSceneViewForCPMPIP-DZtGuJLA.cjs} +1 -1
- package/dist/{threeTrackPathView-D7zto1f1.cjs → threeTrackPathView-BMRciFya.cjs} +1 -1
- package/dist/{threeTrackPathView-DbqptnRu.js → threeTrackPathView-D5aLq-PQ.js} +94 -94
- package/dist/{threeViewerHost-B9vgyTcM.js → threeViewerHost-B5ajpfKi.js} +17 -17
- package/dist/{threeViewerHost-Dhc4vxhv.cjs → threeViewerHost-DZgqSUXb.cjs} +1 -1
- package/dist/{urdfTree-CfUfqc73.cjs → urdfTree-CXoYn4F5.cjs} +1 -1
- package/dist/{urdfTree-B9gafrR3.js → urdfTree-DVRrRAEg.js} +1 -1
- package/dist/{workpieceTreePanel-DzEBifIL.cjs → workpieceTreePanel--Lz2aEfm.cjs} +1 -1
- package/dist/{workpieceTreePanel-CoUx6lll.js → workpieceTreePanel-myjwdWI9.js} +81 -81
- package/package.json +1 -1
- package/dist/index-8ddlDjHL.js +0 -455
- package/dist/index-BLGT4-wX.cjs +0 -1
- package/dist/index-CTGhzBZx.cjs +0 -1
- package/dist/index-D7Ao1GyZ.cjs +0 -1
- package/dist/index-DUqjjluX.cjs +0 -1
- package/dist/index-NtRUaVwS.cjs +0 -1
- package/dist/index-aMvM6ti6.cjs +0 -1
- package/dist/index-kutaq0AT.cjs +0 -36
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1,52 +1,69 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { v as R } from "./index-CXlemLjY.js";
|
|
1
|
+
import { computed as V } from "vue";
|
|
2
|
+
import { b as j, u as k, p as z, c as f, f as J, k as O } from "./index-Cn5h5u4P.js";
|
|
3
|
+
import { v as Q } from "./index-D8c3Spt0.js";
|
|
5
4
|
import { s as c } from "./index-WLdc1goT.js";
|
|
6
|
-
import { E as
|
|
7
|
-
function
|
|
5
|
+
import { E as W } from "./index-CMMIt7u5.js";
|
|
6
|
+
function X(s) {
|
|
8
7
|
return c({
|
|
9
8
|
url: "http://222.92.178.198:63002/platform/getdata",
|
|
10
9
|
method: "post",
|
|
11
10
|
data: s
|
|
12
11
|
});
|
|
13
12
|
}
|
|
14
|
-
function
|
|
13
|
+
function Z() {
|
|
15
14
|
return c({
|
|
16
15
|
url: "http://222.92.178.198:63002/platform/admin/getdata",
|
|
17
16
|
method: "post"
|
|
18
17
|
});
|
|
19
18
|
}
|
|
20
|
-
function
|
|
19
|
+
function $(s) {
|
|
21
20
|
return c({
|
|
22
21
|
url: "http://222.92.178.198:63002/platform/createdata",
|
|
23
22
|
method: "post",
|
|
24
23
|
data: s
|
|
25
24
|
});
|
|
26
25
|
}
|
|
27
|
-
function
|
|
26
|
+
function tt(s) {
|
|
28
27
|
return c({
|
|
29
28
|
url: "http://222.92.178.198:63002/platform/updatedata",
|
|
30
29
|
method: "post",
|
|
31
30
|
data: s
|
|
32
31
|
});
|
|
33
32
|
}
|
|
34
|
-
function
|
|
33
|
+
function et(s) {
|
|
35
34
|
return c({
|
|
36
35
|
url: "http://222.92.178.198:63002/platform/deletedata",
|
|
37
36
|
method: "post",
|
|
38
37
|
data: s
|
|
39
38
|
});
|
|
40
39
|
}
|
|
41
|
-
|
|
40
|
+
function at() {
|
|
41
|
+
return c({
|
|
42
|
+
url: "http://222.92.178.198:63002/platform/getdata_state",
|
|
43
|
+
method: "post"
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
function st(s) {
|
|
47
|
+
return c({
|
|
48
|
+
url: "http://222.92.178.198:63002/platform/updatedata_state",
|
|
49
|
+
method: "post",
|
|
50
|
+
data: s
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
const ot = "YYYY-MM-DD HH:mm:ss", nt = "superAdmin", rt = "default", ft = {
|
|
54
|
+
ENTER: "enter",
|
|
55
|
+
SET_DEFAULT: "set-default",
|
|
56
|
+
EDIT: "edit",
|
|
57
|
+
DELETE: "delete"
|
|
58
|
+
}, yt = [
|
|
42
59
|
// {
|
|
43
60
|
// label: '进入系统',
|
|
44
61
|
// value: 'enter'
|
|
45
62
|
// },
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
63
|
+
{
|
|
64
|
+
label: "设为默认",
|
|
65
|
+
value: "set-default"
|
|
66
|
+
},
|
|
50
67
|
{
|
|
51
68
|
label: "编辑",
|
|
52
69
|
value: "edit"
|
|
@@ -55,10 +72,10 @@ const W = "YYYY-MM-DD HH:mm", X = "superAdmin", rt = [
|
|
|
55
72
|
label: "删除",
|
|
56
73
|
value: "delete"
|
|
57
74
|
}
|
|
58
|
-
], d = (s) => s ?
|
|
59
|
-
const s =
|
|
60
|
-
const e = s.loginUserInfo, { user_name: a, password: n } = e || {};
|
|
61
|
-
let
|
|
75
|
+
], d = (s) => s ? O(s).format(ot) : "", gt = () => {
|
|
76
|
+
const s = j(), o = k(z), y = V(() => "http://222.92.178.198:62001"), g = (t) => {
|
|
77
|
+
const e = s.loginUserInfo, { user_name: a, password: n } = e || {}, r = d(Date.now());
|
|
78
|
+
let l = {
|
|
62
79
|
platId: "",
|
|
63
80
|
platName: "",
|
|
64
81
|
platNameEN: "",
|
|
@@ -68,51 +85,57 @@ const W = "YYYY-MM-DD HH:mm", X = "superAdmin", rt = [
|
|
|
68
85
|
userName: a,
|
|
69
86
|
password: n,
|
|
70
87
|
platCreator: a,
|
|
71
|
-
platCreatedAt:
|
|
88
|
+
platCreatedAt: r,
|
|
89
|
+
platUpdatedAt: r
|
|
72
90
|
};
|
|
73
91
|
if (t) {
|
|
74
|
-
const
|
|
75
|
-
|
|
76
|
-
...
|
|
77
|
-
...
|
|
92
|
+
const i = C(t);
|
|
93
|
+
l = {
|
|
94
|
+
...l,
|
|
95
|
+
...i
|
|
78
96
|
};
|
|
79
97
|
}
|
|
80
|
-
return
|
|
81
|
-
},
|
|
98
|
+
return l;
|
|
99
|
+
}, I = (t) => {
|
|
82
100
|
const e = s.loginUserInfo, { user_name: a, password: n } = e || {}, { user_name: r, password: l } = t;
|
|
83
101
|
return a === r && n === l;
|
|
84
102
|
}, h = () => {
|
|
85
103
|
const t = s.loginUserInfo, { layer: e } = t || {};
|
|
86
|
-
return e ===
|
|
104
|
+
return e === nt;
|
|
105
|
+
}, w = (t) => {
|
|
106
|
+
if (!t)
|
|
107
|
+
return !1;
|
|
108
|
+
const { state: e } = t;
|
|
109
|
+
return e === rt;
|
|
87
110
|
}, L = (t) => {
|
|
88
111
|
const e = f(t), { plat_id: a } = e;
|
|
89
|
-
sessionStorage.setItem("systemKey", a), s.setSystemKey(a), s.setLoginUserInfo(e),
|
|
112
|
+
sessionStorage.setItem("systemKey", a), s.setSystemKey(a), s.setLoginUserInfo(e), Q();
|
|
90
113
|
}, M = (t) => {
|
|
91
114
|
const { plat_name: e, plat_type: a } = t;
|
|
92
115
|
o.setPlatform(a), o.setPlatName(e);
|
|
93
116
|
}, _ = (t) => {
|
|
94
117
|
o.setImportLoading(!0), L(t), M(t), o.setImportLoading(!1);
|
|
95
|
-
},
|
|
118
|
+
}, D = async () => await Z(), U = async () => {
|
|
96
119
|
var e;
|
|
97
120
|
o.setImportLoading(!0);
|
|
98
|
-
const t = await
|
|
121
|
+
const t = await D().finally(() => {
|
|
99
122
|
o.setImportLoading(!1);
|
|
100
123
|
});
|
|
101
124
|
return (e = t == null ? void 0 : t.data) == null ? void 0 : e.result;
|
|
102
|
-
},
|
|
125
|
+
}, S = async () => {
|
|
103
126
|
const t = s.loginUserInfo, { user_name: e, password: a } = t || {};
|
|
104
|
-
return await
|
|
127
|
+
return await X({
|
|
105
128
|
userName: e,
|
|
106
129
|
password: a
|
|
107
130
|
});
|
|
108
|
-
},
|
|
131
|
+
}, A = async () => {
|
|
109
132
|
var e;
|
|
110
133
|
o.setImportLoading(!0);
|
|
111
|
-
const t = await
|
|
134
|
+
const t = await S().finally(() => {
|
|
112
135
|
o.setImportLoading(!1);
|
|
113
136
|
});
|
|
114
137
|
return (e = t == null ? void 0 : t.data) == null ? void 0 : e.result;
|
|
115
|
-
},
|
|
138
|
+
}, N = (t) => {
|
|
116
139
|
const e = {
|
|
117
140
|
myModelList: [],
|
|
118
141
|
otherList: []
|
|
@@ -121,11 +144,11 @@ const W = "YYYY-MM-DD HH:mm", X = "superAdmin", rt = [
|
|
|
121
144
|
return e;
|
|
122
145
|
const a = f(t), n = s.loginUserInfo, { user_name: r, password: l } = n || {};
|
|
123
146
|
return a.forEach((i) => {
|
|
124
|
-
const { user_name:
|
|
125
|
-
r ===
|
|
147
|
+
const { user_name: p, password: u } = i;
|
|
148
|
+
r === p && l === u ? e.myModelList.push(i) : e.otherList.push(i);
|
|
126
149
|
}), e;
|
|
127
|
-
},
|
|
128
|
-
await
|
|
150
|
+
}, T = async (t) => {
|
|
151
|
+
await W.confirm("是否确认要删除", "", {
|
|
129
152
|
showClose: !1,
|
|
130
153
|
confirmButtonText: "确认",
|
|
131
154
|
cancelButtonText: "取消",
|
|
@@ -135,17 +158,28 @@ const W = "YYYY-MM-DD HH:mm", X = "superAdmin", rt = [
|
|
|
135
158
|
confirmButtonClass: "delete-model-confirm"
|
|
136
159
|
});
|
|
137
160
|
const { plat_id: e, user_name: a, password: n } = t;
|
|
138
|
-
await
|
|
161
|
+
await et({
|
|
139
162
|
userName: a,
|
|
140
163
|
password: n,
|
|
141
164
|
platId: e
|
|
142
165
|
});
|
|
143
|
-
},
|
|
144
|
-
o.setImportLoading(!0), await
|
|
166
|
+
}, E = async (t) => {
|
|
167
|
+
o.setImportLoading(!0), await T(t).finally(() => {
|
|
145
168
|
o.setImportLoading(!1);
|
|
146
169
|
});
|
|
147
|
-
},
|
|
148
|
-
const {
|
|
170
|
+
}, C = (t) => {
|
|
171
|
+
const {
|
|
172
|
+
plat_id: e,
|
|
173
|
+
plat_name: a,
|
|
174
|
+
plat_name_en: n,
|
|
175
|
+
logo: r,
|
|
176
|
+
plat_type: l,
|
|
177
|
+
plat_version: i,
|
|
178
|
+
plat_creator: p,
|
|
179
|
+
plat_created_at: u,
|
|
180
|
+
user_name: G,
|
|
181
|
+
password: H
|
|
182
|
+
} = t, R = d(Date.now());
|
|
149
183
|
return {
|
|
150
184
|
platId: e,
|
|
151
185
|
platName: a,
|
|
@@ -153,61 +187,77 @@ const W = "YYYY-MM-DD HH:mm", X = "superAdmin", rt = [
|
|
|
153
187
|
logo: r,
|
|
154
188
|
platType: l,
|
|
155
189
|
platVersion: i,
|
|
156
|
-
platCreator:
|
|
157
|
-
platCreatedAt:
|
|
158
|
-
|
|
159
|
-
|
|
190
|
+
platCreator: p,
|
|
191
|
+
platCreatedAt: u,
|
|
192
|
+
platUpdatedAt: R,
|
|
193
|
+
userName: G,
|
|
194
|
+
password: H
|
|
160
195
|
};
|
|
161
|
-
},
|
|
162
|
-
await
|
|
163
|
-
},
|
|
164
|
-
o.setImportLoading(!0), await
|
|
196
|
+
}, v = async (t) => {
|
|
197
|
+
await tt(t);
|
|
198
|
+
}, P = async (t) => {
|
|
199
|
+
o.setImportLoading(!0), await v(t).finally(() => {
|
|
165
200
|
o.setImportLoading(!1);
|
|
166
201
|
});
|
|
167
|
-
},
|
|
168
|
-
t.platCreatedAt = d(Date.now()), await
|
|
202
|
+
}, B = async (t) => {
|
|
203
|
+
t.platCreatedAt = d(Date.now()), await $(t);
|
|
169
204
|
}, x = async (t) => {
|
|
170
|
-
o.setImportLoading(!0), await
|
|
205
|
+
o.setImportLoading(!0), await B(t).finally(() => {
|
|
206
|
+
o.setImportLoading(!1);
|
|
207
|
+
});
|
|
208
|
+
}, b = async (t) => {
|
|
209
|
+
await st(t);
|
|
210
|
+
}, F = async (t) => {
|
|
211
|
+
o.setImportLoading(!0);
|
|
212
|
+
const e = {
|
|
213
|
+
platId: t,
|
|
214
|
+
platUpdatedAt: d(Date.now())
|
|
215
|
+
};
|
|
216
|
+
await b(e).finally(() => {
|
|
171
217
|
o.setImportLoading(!1);
|
|
172
218
|
});
|
|
173
219
|
}, Y = async (t) => {
|
|
174
220
|
var n, r, l;
|
|
175
|
-
const e = await
|
|
221
|
+
const e = await J(t);
|
|
176
222
|
let a = null;
|
|
177
|
-
return ((n = e == null ? void 0 : e.data) == null ? void 0 : n.code) === 200 && (a =
|
|
178
|
-
},
|
|
223
|
+
return ((n = e == null ? void 0 : e.data) == null ? void 0 : n.code) === 200 && (a = y.value + "/" + ((l = (r = e.data) == null ? void 0 : r.result) == null ? void 0 : l.url)), a;
|
|
224
|
+
}, q = async (t) => (o.setImportLoading(!0), await Y(t).finally(() => {
|
|
179
225
|
o.setImportLoading(!1);
|
|
180
|
-
})),
|
|
181
|
-
var
|
|
182
|
-
const
|
|
226
|
+
})), K = async () => at(), m = async () => {
|
|
227
|
+
var e, a;
|
|
228
|
+
const t = await K().finally(() => {
|
|
183
229
|
o.setImportLoading(!1);
|
|
184
230
|
});
|
|
185
|
-
return (
|
|
231
|
+
return (a = (e = t == null ? void 0 : t.data) == null ? void 0 : e.result) == null ? void 0 : a[0];
|
|
186
232
|
};
|
|
187
233
|
return {
|
|
188
|
-
initAllModelList:
|
|
234
|
+
initAllModelList: U,
|
|
189
235
|
initModelInfo: _,
|
|
190
|
-
initModelItem:
|
|
191
|
-
initModelList:
|
|
192
|
-
classifyModelByAccount:
|
|
236
|
+
initModelItem: g,
|
|
237
|
+
initModelList: A,
|
|
238
|
+
classifyModelByAccount: N,
|
|
193
239
|
initCreate: x,
|
|
194
|
-
initUpdate:
|
|
195
|
-
initDelete:
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
240
|
+
initUpdate: P,
|
|
241
|
+
initDelete: E,
|
|
242
|
+
initSetDefaultModel: F,
|
|
243
|
+
initUpload: q,
|
|
244
|
+
initPlatformInfo: m,
|
|
245
|
+
initSystemInfo: async () => {
|
|
246
|
+
const t = await m(), { plat_id: e, plat_name: a, plat_name_en: n, logo: r } = t, l = {
|
|
200
247
|
EnglishName: n,
|
|
201
248
|
chineseName: a,
|
|
202
|
-
logo: r
|
|
249
|
+
logo: r,
|
|
250
|
+
plat_id: e
|
|
203
251
|
};
|
|
204
|
-
s.setSystemInfo(l);
|
|
252
|
+
s.setSystemInfo(l), sessionStorage.setItem("systemKey", e);
|
|
205
253
|
},
|
|
206
|
-
isMe:
|
|
207
|
-
isSuperAdmin: h
|
|
254
|
+
isMe: I,
|
|
255
|
+
isSuperAdmin: h,
|
|
256
|
+
isDefaultModel: w
|
|
208
257
|
};
|
|
209
258
|
};
|
|
210
259
|
export {
|
|
211
|
-
|
|
212
|
-
|
|
260
|
+
yt as a,
|
|
261
|
+
ft as o,
|
|
262
|
+
gt as u
|
|
213
263
|
};
|