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,7 +1,7 @@
|
|
|
1
1
|
import { ref as f, computed as A, reactive as P } from "vue";
|
|
2
|
-
import { az as
|
|
3
|
-
import { s as _, b as
|
|
4
|
-
const S =
|
|
2
|
+
import { az as $, aA as B, aw as H, g as R, u as j, E as T } from "./index-WLdc1goT.js";
|
|
3
|
+
import { s as _, b as z, Q as J, u as x, p as L, c as Q, R as G, T as X } from "./index-Cn5h5u4P.js";
|
|
4
|
+
const S = z(L), { loginUserInfo: o, cryptoInfo: c } = _(S), Y = x(L), { activeMenuPath: g } = _(Y), Z = f(0), M = A(() => {
|
|
5
5
|
var s, a, t, r, l, n, e, u, p, d, v;
|
|
6
6
|
return [
|
|
7
7
|
{
|
|
@@ -55,19 +55,19 @@ const S = j(L), { loginUserInfo: o, cryptoInfo: c } = _(S), Y = x(L), { activeMe
|
|
|
55
55
|
}), C = f([
|
|
56
56
|
{
|
|
57
57
|
label: "签字版",
|
|
58
|
-
icon:
|
|
58
|
+
icon: $,
|
|
59
59
|
type: "button",
|
|
60
60
|
disabled: !1
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
label: "电子签名",
|
|
64
|
-
icon:
|
|
64
|
+
icon: B,
|
|
65
65
|
type: "button",
|
|
66
66
|
disabled: !1
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
label: "上传手写签名",
|
|
70
|
-
icon:
|
|
70
|
+
icon: H,
|
|
71
71
|
type: "buttonUpload",
|
|
72
72
|
disabled: !1
|
|
73
73
|
}
|
|
@@ -112,10 +112,10 @@ const S = j(L), { loginUserInfo: o, cryptoInfo: c } = _(S), Y = x(L), { activeMe
|
|
|
112
112
|
}
|
|
113
113
|
}, V = async (s, a) => {
|
|
114
114
|
var r, l, n;
|
|
115
|
-
const t =
|
|
115
|
+
const t = Q(s);
|
|
116
116
|
t == null || delete t.id;
|
|
117
117
|
try {
|
|
118
|
-
const e = await
|
|
118
|
+
const e = await j({
|
|
119
119
|
id: (r = o.value) == null ? void 0 : r.id,
|
|
120
120
|
value: {
|
|
121
121
|
tableData: t
|
|
@@ -147,7 +147,7 @@ const S = j(L), { loginUserInfo: o, cryptoInfo: c } = _(S), Y = x(L), { activeMe
|
|
|
147
147
|
var n, e, u, p, d, v;
|
|
148
148
|
let r;
|
|
149
149
|
const l = a;
|
|
150
|
-
((e = (n = o.value) == null ? void 0 : n.layer) == null ? void 0 : e.toUpperCase()) !== "SUPERADMIN" ? r = (u = o.value) != null && u.password ?
|
|
150
|
+
((e = (n = o.value) == null ? void 0 : n.layer) == null ? void 0 : e.toUpperCase()) !== "SUPERADMIN" ? r = (u = o.value) != null && u.password ? G((p = o.value) == null ? void 0 : p.password, (d = c == null ? void 0 : c.value) == null ? void 0 : d.privateKey) : X : r = (v = o.value) == null ? void 0 : v.password, r === l ? t() : t(new Error("输入的密码与原密码不匹配,请重新输入"));
|
|
151
151
|
}, le = (s, a, t) => {
|
|
152
152
|
a ? t() : t(new Error("请输入密码"));
|
|
153
153
|
}, ne = (s, a, t) => {
|
|
@@ -169,7 +169,7 @@ const S = j(L), { loginUserInfo: o, cryptoInfo: c } = _(S), Y = x(L), { activeMe
|
|
|
169
169
|
...i,
|
|
170
170
|
isFormColHidden: (w == null ? void 0 : w.includes(i == null ? void 0 : i.prop)) || (i == null ? void 0 : i.label) === "操作"
|
|
171
171
|
})));
|
|
172
|
-
const h = (v = y.contents) == null ? void 0 : v.find((i) => (i == null ? void 0 : i.prop) === "password"),
|
|
172
|
+
const h = (v = y.contents) == null ? void 0 : v.find((i) => (i == null ? void 0 : i.prop) === "password"), O = [
|
|
173
173
|
{
|
|
174
174
|
...h,
|
|
175
175
|
label: "当前密码",
|
|
@@ -189,7 +189,7 @@ const S = j(L), { loginUserInfo: o, cryptoInfo: c } = _(S), Y = x(L), { activeMe
|
|
|
189
189
|
validator: ne
|
|
190
190
|
}
|
|
191
191
|
];
|
|
192
|
-
b.otherCols =
|
|
192
|
+
b.otherCols = O, pe(o.value);
|
|
193
193
|
}
|
|
194
194
|
}, ue = (s) => {
|
|
195
195
|
q.value = s;
|
|
@@ -200,7 +200,7 @@ const S = j(L), { loginUserInfo: o, cryptoInfo: c } = _(S), Y = x(L), { activeMe
|
|
|
200
200
|
...o.value,
|
|
201
201
|
status: ((r = o.value) == null ? void 0 : r.status) ?? "启用",
|
|
202
202
|
// 目前是超管密码明文传输,非超管用户密码加密传输
|
|
203
|
-
password: ((n = (l = o.value) == null ? void 0 : l.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN" ? s == null ? void 0 : s.confirmNewPass :
|
|
203
|
+
password: ((n = (l = o.value) == null ? void 0 : l.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN" ? s == null ? void 0 : s.confirmNewPass : J(s == null ? void 0 : s.confirmNewPass, (e = c.value) == null ? void 0 : e.publicKey)
|
|
204
204
|
}), a === "保存基本信息" && (t = {
|
|
205
205
|
...o.value,
|
|
206
206
|
...s,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const f=require("vue"),y=require("./index-Dc6Q0f3F.cjs"),g=require("./index-
|
|
1
|
+
"use strict";const f=require("vue"),y=require("./index-Dc6Q0f3F.cjs"),g=require("./index-DiowIVZT.cjs"),D=g.useLoginState(g.pinia),{loginUserInfo:u,cryptoInfo:w}=g.storeToRefs(D),V=g.useMenuState(g.pinia),{activeMenuPath:b}=g.storeToRefs(V),P=f.ref(0),R=f.computed(()=>{var s,a,t,r,n,l,e,o,p,d,v;return[{label:"",name:"账号",prop:"账号",value:((s=u.value)==null?void 0:s.account)||(((a=u.value)==null?void 0:a.账号)??"未知")},{label:"",name:"角色名称",prop:"角色名称",value:((t=u.value)==null?void 0:t.layer)==="superAdmin"?"超级管理员":(r=u.value)==null?void 0:r.角色名称},{label:"",name:"部门名称",prop:"部门名称",value:((n=u.value)==null?void 0:n.部门名称)??"未知"},{label:"",name:"状态",prop:"状态",value:((l=u.value)==null?void 0:l.layer)==="superAdmin"?"启用":((e=u.value)==null?void 0:e.状态)??"未知"},{label:"",prop:"头像",isFormColHidden:!0,value:((o=u.value)==null?void 0:o.layer)==="superAdmin"?"启用":((p=u.value)==null?void 0:p.状态)??"未知"},{label:"",prop:"签名",isFormColHidden:!0,value:((d=u.value)==null?void 0:d.layer)==="superAdmin"?"启用":((v=u.value)==null?void 0:v.状态)??"未知"}]}),W=()=>{},U=f.ref(!1),h=f.reactive({dialogTitle:"电子签名",dialogWidth:"30",dialogShow:!1,url:""}),S=f.ref([{label:"签字版",icon:y.edit_pen_default,type:"button",disabled:!1},{label:"电子签名",icon:y.edit_default,type:"button",disabled:!1},{label:"上传手写签名",icon:y.upload_filled_default,type:"buttonUpload",disabled:!1}]),I=f.ref(!1),T=f.ref(!1),M=f.ref(!1),_=f.computed(()=>{var r,n,l;const s=sessionStorage.getItem("authority"),a=JSON.parse(s||""),t=(r=b.value)!=null&&r.startsWith("/")?(n=b.value)==null?void 0:n.substring(1):b.value;return Array.isArray(a)?(M.value=!(a!=null&&a.includes(`${t}/上传头像`)),(l=S.value)==null?void 0:l.map(e=>({...e,disabled:!(a!=null&&a.includes(`${t}/签名`))}))):typeof a=="string"&&(a==null?void 0:a.toUpperCase())==="SUPERADMIN"?S.value:[]}),$=f.computed(()=>[{key:"signConfig",contents:h},{key:"signTypeList",contents:_.value}]),O=s=>{h.dialogShow=s.label==="电子签名"},L=()=>{h.dialogShow=!1},N=async s=>{var t,r,n,l,e,o,p,d,v;const a=await y.getInsofDataApi({id:s});if(((t=a==null?void 0:a.data)==null?void 0:t.code)===200&&a.data.result&&Array.isArray(a.data.result)&&a.data.result.length>0){const c={...(l=(n=(r=a.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.tableData,id:(o=(e=a.data.result)==null?void 0:e[0])==null?void 0:o.id,layer:(v=(d=(p=a.data.result)==null?void 0:p[0])==null?void 0:d.key)==null?void 0:v.layer};D.setLoginUserInfo(c)}},q=async(s,a)=>{var r,n,l;const t=g.cloneDeep(s);t==null||delete t.id;try{const e=await y.updateInsofDataApi({id:(r=u.value)==null?void 0:r.id,value:{tableData:t}});((n=e==null?void 0:e.data)==null?void 0:n.code)===200&&(L(),y.ElMessage.success("修改成功"),await N((l=u.value)==null?void 0:l.id),await D.setLogRecordAsync({type:a,data:s},b.value))}catch{y.ElMessage.error("修改响应失败")}finally{U.value=!1,I.value=!1,T.value=!1}},B=async(s,a)=>{var n;const t=s==="avatarUrl"?"头像":"签名",r={...u.value,status:((n=u.value)==null?void 0:n.status)??"启用",[t]:a};I.value=s==="avatarUrl",T.value=s==="signature",await q(r,"图片修改")},m=f.reactive({baseCols:[],otherCols:[]}),K=f.ref([]),k=f.ref(),H=(s,a,t)=>{var l,e,o,p,d,v;let r;const n=a;((e=(l=u.value)==null?void 0:l.layer)==null?void 0:e.toUpperCase())!=="SUPERADMIN"?r=(o=u.value)!=null&&o.password?g.decryptData((p=u.value)==null?void 0:p.password,(d=w==null?void 0:w.value)==null?void 0:d.privateKey):g.resetPassword:r=(v=u.value)==null?void 0:v.password,r===n?t():t(new Error("输入的密码与原密码不匹配,请重新输入"))},j=(s,a,t)=>{a?t():t(new Error("请输入密码"))},x=(s,a,t)=>{var r;a!==((r=k.value)==null?void 0:r.newtPass)?t(new Error("两次输入的密码不一致")):t()},J=async()=>{var a,t,r,n,l,e,o,p,d,v;const s=await y.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:"系统管理/用户管理"}});if(((a=s==null?void 0:s.data)==null?void 0:a.code)===200&&s.data.result&&((t=s.data.result)==null?void 0:t.length)>0){const c=(o=(e=(l=(n=(r=s.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.pageData)==null?void 0:e.compData)==null?void 0:o.find(i=>(i==null?void 0:i.key)==="header"),C=(p=R.value)==null?void 0:p.map(i=>i==null?void 0:i.prop);m.baseCols=c&&((d=c.contents)==null?void 0:d.map(i=>({...i,isFormColHidden:(C==null?void 0:C.includes(i==null?void 0:i.prop))||(i==null?void 0:i.label)==="操作"})));const A=(v=c.contents)==null?void 0:v.find(i=>(i==null?void 0:i.prop)==="password"),F=[{...A,label:"当前密码",prop:"currentPass",validator:H},{...A,label:"新密码",prop:"newtPass",validator:j},{...A,label:"确认密码",prop:"confirmNewPass",validator:x}];m.otherCols=F,Q(u.value)}},z=s=>{k.value=s},G=async({content:s,buttonName:a})=>{var r,n,l,e,o;let t;a==="确定"&&(t={...u.value,status:((r=u.value)==null?void 0:r.status)??"启用",password:((l=(n=u.value)==null?void 0:n.layer)==null?void 0:l.toUpperCase())==="SUPERADMIN"?s==null?void 0:s.confirmNewPass:g.encryptData(s==null?void 0:s.confirmNewPass,(e=w.value)==null?void 0:e.publicKey)}),a==="保存基本信息"&&(t={...u.value,...s,status:((o=u.value)==null?void 0:o.status)??"启用"}),U.value=!0,await q(t,a)},E=()=>{var r,n;const s={base:[{label:"保存基本信息"}],other:[{label:"重置",background:"#b7b8b8"},{label:"确定"}]},a=sessionStorage.getItem("authority"),t=JSON.parse(a||"");if(Array.isArray(t)){const l=(r=b.value)!=null&&r.startsWith("/")?(n=b.value)==null?void 0:n.substring(1):b.value,e=t!=null&&t.includes(`${l}/基本信息`)?s==null?void 0:s.base:[],o=t!=null&&t.includes(`${l}/修改密码`)?s==null?void 0:s.other:[];return{base:e,other:o}}else return typeof t=="string"&&(t==null?void 0:t.toUpperCase())==="SUPERADMIN"?s:null},Q=s=>{var a,t,r,n,l;K.value=[{value:"基础信息",label:"基础信息",children:[{type:"form",content:{rowContents:(a=m.baseCols)==null?void 0:a.map(e=>({...e,width:2,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,prop:e==null?void 0:e.prop,contents:e==null?void 0:e.options,value:s[e==null?void 0:e.prop]})),formRules:{userName:[{required:!0,message:"输入不能为空",trigger:"blur"}],birthDay:[{required:!0,message:"输入不能为空",trigger:"blur"}],phone:[{required:!0,message:"输入不能为空",trigger:"blur"}]},buttonValue:(t=E())==null?void 0:t.base,isEnableWrap:!1,isButtonRow:!1},value:""}]},{value:"修改密码",label:"修改密码",children:[{type:"form",content:{rowContents:(r=m.otherCols)==null?void 0:r.map(e=>({...e,width:1,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,contents:e==null?void 0:e.options})),formRules:(n=m.otherCols)==null?void 0:n.reduce((e,o)=>(e[o.prop]=[{required:!0,message:"输入有误",trigger:"change"},{validator:(p,d,v)=>o.validator(p,d,v),trigger:"blur"}],e),{}),buttonValue:(l=E())==null?void 0:l.other,isEnableWrap:!1},value:""}]}]},X=Object.freeze(Object.defineProperty({__proto__:null,avatarLoading:I,beforeSignDestroy:L,changeFormTrigger:z,clickFormButton:W,clickSignButton:O,clickTabButton:G,getUserTableHeadersAsync:J,itemData:$,loading:U,refreshLoginUserInfoAsync:N,rowContents:R,signPadInfo:h,signTypes:_,signatureLoading:T,submitImageAsync:B,tabKey:P,tabsContents:K,tempSignTypes:S,uploadDisabled:M},Symbol.toStringTag,{value:"Module"}));exports.State=X;exports.tabKey=P;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { a as Il, u as Al, f as Ol, g as zl, s as Bl } from "./index-
|
|
1
|
+
import { a as Il, u as Al, f as Ol, g as zl, s as Bl } from "./index-Do9OpnU6.js";
|
|
2
2
|
import { defineComponent as ua, createElementBlock as Ue, openBlock as fe, Fragment as Kt, renderList as Vt, createElementVNode as te, toDisplayString as ct, computed as Ut, resolveComponent as Lt, createBlock as Et, withCtx as Ie, createTextVNode as zt, ref as Q, watch as kt, onUnmounted as Pl, createCommentVNode as ca, normalizeClass as Fi, createVNode as _e, nextTick as La, resolveDynamicComponent as Oa, onMounted as Ja, unref as Ot, reactive as Ta, renderSlot as En, createSlots as Ml, mergeProps as ir, defineAsyncComponent as Rl, defineProps as $l, getCurrentInstance as Ll, normalizeStyle as Xa, withModifiers as Mn, inject as ho, shallowRef as Fl, toRef as jl, onBeforeMount as or, watchEffect as Nl, onBeforeUnmount as rr, getCurrentScope as Ul, onScopeDispose as Kl, provide as vo, toRefs as go, withDirectives as Wl, vShow as Hl } from "vue";
|
|
3
|
-
import { s as Qt, d as lr, p as Yt, b as Ci, a as An, u as Nn, c as M,
|
|
4
|
-
import { a as sa, b as Zi, d as sr, E as ur, e as cr, c as dr, f as
|
|
5
|
-
import { i as
|
|
6
|
-
import { u as eo, F as
|
|
7
|
-
import { s as ha, d as cs } from "./index-
|
|
8
|
-
import { a as ds, T as fs } from "./threeViewerHost-
|
|
9
|
-
import { g as bi } from "./index.vue_vue_type_style_index_1_lang-
|
|
3
|
+
import { s as Qt, d as lr, p as Yt, b as Ci, a as An, u as Nn, c as M, g as si, h as Vl, i as ql, j as Gl } from "./index-Cn5h5u4P.js";
|
|
4
|
+
import { a as sa, b as Zi, d as sr, E as ur, e as cr, c as dr, f as Xl, i as ui, h as Yl } from "./index-BugYnyXc.js";
|
|
5
|
+
import { i as Jl, h as Qn, r as Zl, j as Ql, k as es, E as pa, a as ji, l as mo, d as Fn, g as Ga, f as jn, b as Qi, u as Xn, e as fr, m as ts } from "./index-WLdc1goT.js";
|
|
6
|
+
import { u as eo, F as as, j as Ni, I as ns, g as ra, S as is, f as to, h as yi, i as ma, m as $n, s as Fa, k as Dn, p as Oi, q as os, o as rs, r as zi, t as ls, w as yo, b as bo, n as ss, x as Si, y as us } from "./index.vue_vue_type_style_index_0_scoped_92c12abe_lang-Cp7jnXuw.js";
|
|
7
|
+
import { s as ha, d as cs } from "./index-Bz_ZsUz_.js";
|
|
8
|
+
import { a as ds, T as fs } from "./threeViewerHost-B5ajpfKi.js";
|
|
9
|
+
import { g as bi } from "./index.vue_vue_type_style_index_1_lang-DzaXkSeA.js";
|
|
10
10
|
import { _ as qt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
import { E as Pa } from "./index-
|
|
11
|
+
import { E as Pa } from "./index-CMMIt7u5.js";
|
|
12
12
|
import { i as ko } from "./isString-ttnU1Wjg.js";
|
|
13
13
|
import { _ as xo } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
14
|
-
import { a as ps, s as hs } from "./index-
|
|
14
|
+
import { a as ps, s as hs } from "./index-Ddn_i6kt.js";
|
|
15
15
|
import { S as vs } from "./index-BHtNKL1L.js";
|
|
16
16
|
import { useRouter as gs } from "vue-router";
|
|
17
17
|
import { a as ms, e as ys, f as bs, g as ks, h as xs } from "./index-CAPx0_D4.js";
|
|
18
|
-
import { f as ws } from "./menuIndex-
|
|
19
|
-
import { v as Bi } from "./index-
|
|
18
|
+
import { f as ws } from "./menuIndex-BpEQqtCU.js";
|
|
19
|
+
import { v as Bi } from "./index-D8c3Spt0.js";
|
|
20
20
|
import { p as hi, b as _s, e as Cs, g as Ss, f as Ds, c as Es } from "./index-DoHjMY5d.js";
|
|
21
21
|
import pr from "./index-rlStojTL.js";
|
|
22
|
-
import { s as Ts } from "./index-
|
|
22
|
+
import { s as Ts } from "./index-BhU0rWGt.js";
|
|
23
23
|
var Is = /\s/;
|
|
24
24
|
function As(n) {
|
|
25
25
|
for (var r = n.length; r-- && Is.test(n.charAt(r)); )
|
|
@@ -34,7 +34,7 @@ var wo = NaN, Bs = /^[-+]0x[0-9a-f]+$/i, Ps = /^0b[01]+$/i, Ms = /^0o[0-7]+$/i,
|
|
|
34
34
|
function _o(n) {
|
|
35
35
|
if (typeof n == "number")
|
|
36
36
|
return n;
|
|
37
|
-
if (
|
|
37
|
+
if (Jl(n))
|
|
38
38
|
return wo;
|
|
39
39
|
if (Qn(n)) {
|
|
40
40
|
var r = typeof n.valueOf == "function" ? n.valueOf() : n;
|
|
@@ -47,7 +47,7 @@ function _o(n) {
|
|
|
47
47
|
return s || Ms.test(n) ? Rs(n.slice(2), s ? 2 : 8) : Bs.test(n) ? wo : +n;
|
|
48
48
|
}
|
|
49
49
|
var Pi = function() {
|
|
50
|
-
return
|
|
50
|
+
return Zl.Date.now();
|
|
51
51
|
}, $s = "Expected a function", Ls = Math.max, Fs = Math.min;
|
|
52
52
|
function hr(n, r, s) {
|
|
53
53
|
var i, d, u, k, p, f, x = 0, S = !1, z = !1, P = !0;
|
|
@@ -98,7 +98,7 @@ function hr(n, r, s) {
|
|
|
98
98
|
}
|
|
99
99
|
var js = "[object Boolean]";
|
|
100
100
|
function vr(n) {
|
|
101
|
-
return n === !0 || n === !1 ||
|
|
101
|
+
return n === !0 || n === !1 || Ql(n) && es(n) == js;
|
|
102
102
|
}
|
|
103
103
|
function Ns(n) {
|
|
104
104
|
return n === void 0;
|
|
@@ -279,7 +279,7 @@ const Us = { class: "statistics-cards-container" }, Ks = { class: "statistics-la
|
|
|
279
279
|
}, ne = () => {
|
|
280
280
|
var U;
|
|
281
281
|
const F = (U = ve.value) == null ? void 0 : U.$el;
|
|
282
|
-
F &&
|
|
282
|
+
F && is.create(F, {
|
|
283
283
|
animation: 150,
|
|
284
284
|
handle: ".col-drag-icon",
|
|
285
285
|
ghostClass: "sortable-ghost",
|
|
@@ -551,7 +551,7 @@ const Us = { class: "statistics-cards-container" }, Ks = { class: "statistics-la
|
|
|
551
551
|
let ye = (I == null ? void 0 : I.label) ?? (I == null ? void 0 : I.key) ?? "", it = (I == null ? void 0 : I.type) ?? "", at = (I == null ? void 0 : I.options) ?? [];
|
|
552
552
|
if ((Gt = I == null ? void 0 : I.key) != null && Gt.includes("$") && (ye = (Xt = M(I == null ? void 0 : I.key).split("$")) == null ? void 0 : Xt[0], ((ia = (aa = M(I == null ? void 0 : I.key).split("$")) == null ? void 0 : aa[1]) == null ? void 0 : ia.length) > 0)) {
|
|
553
553
|
const [Bt, ba] = (ya = (va = M(I == null ? void 0 : I.key).split("$")) == null ? void 0 : va[1]) == null ? void 0 : ya.split(/[()]/);
|
|
554
|
-
it = ((ea =
|
|
554
|
+
it = ((ea = as.find((ot) => (ot == null ? void 0 : ot.key) === Bt)) == null ? void 0 : ea.value) ?? "", ((un = ba == null ? void 0 : ba.split(",")) == null ? void 0 : un.length) > 0 && (at = (Na = ba == null ? void 0 : ba.split(",")) == null ? void 0 : Na.map((ot) => ({
|
|
555
555
|
label: ot,
|
|
556
556
|
value: ot
|
|
557
557
|
})));
|
|
@@ -623,7 +623,7 @@ const Us = { class: "statistics-cards-container" }, Ks = { class: "statistics-la
|
|
|
623
623
|
_t == null || _t.forEach((I) => {
|
|
624
624
|
I !== "" && I !== void 0 && (Le = Le === "" ? I : Le + "/" + I);
|
|
625
625
|
}), w.setSelectArray(_t), w.setSelectString(Le);
|
|
626
|
-
let Ke = (ft = M(rt)) == null ? void 0 : ft.map((I) => (I != null && I.value &&
|
|
626
|
+
let Ke = (ft = M(rt)) == null ? void 0 : ft.map((I) => (I != null && I.value && ns(I == null ? void 0 : I.value) && Array.isArray(JSON.parse(I == null ? void 0 : I.value)) && (I.value = JSON.parse(I.value)), I));
|
|
627
627
|
Ke = Ke == null ? void 0 : Ke.map((I) => {
|
|
628
628
|
var he, ye, it, at, At, It, ht, mt;
|
|
629
629
|
if ((ye = (he = I == null ? void 0 : I.optionUrl) == null ? void 0 : he.menuSelect) != null && ye.some((bt) => bt == null ? void 0 : bt.includes("["))) {
|
|
@@ -3977,7 +3977,7 @@ const ad = /* @__PURE__ */ qt(ed, [["render", td]]), nd = { class: "extra-conten
|
|
|
3977
3977
|
setup(n) {
|
|
3978
3978
|
const r = Q([]), s = eo(Yt), { originalPath: i } = Qt(s), d = n, u = Q(!1), k = Q(), p = to(Yt), { multipleTableConst: f } = Qt(p), x = An(Yt), S = Q(!1), z = Nn(Yt), P = Ci(Yt), { itemData: ee, isEdit: L, routeToChildPath: xe, tableViewContents: D, lockingPage: N, payloadTypes: oe } = Qt(x), { activeMenuPath: w, platform: R, childMenu: m } = Qt(z), { loginUserInfo: y } = Qt(P), b = Q(!1), q = async () => {
|
|
3979
3979
|
var V, O;
|
|
3980
|
-
(V = r.value) != null && V.find((me) => (me == null ? void 0 : me.buttonName) === "保存") && await le((O = r.value) == null ? void 0 : O.find((me) => (me == null ? void 0 : me.buttonName) === "保存")), await
|
|
3980
|
+
(V = r.value) != null && V.find((me) => (me == null ? void 0 : me.buttonName) === "保存") && await le((O = r.value) == null ? void 0 : O.find((me) => (me == null ? void 0 : me.buttonName) === "保存")), await rs();
|
|
3981
3981
|
};
|
|
3982
3982
|
kt(
|
|
3983
3983
|
() => ee.value,
|
|
@@ -4476,7 +4476,7 @@ const ad = /* @__PURE__ */ qt(ed, [["render", td]]), nd = { class: "extra-conten
|
|
|
4476
4476
|
let Me = re == null ? void 0 : re.map(async (U) => {
|
|
4477
4477
|
let H = await ra(U, sessionStorage.getItem("systemKey"), "", !1, "", "", Ze);
|
|
4478
4478
|
if ((H == null ? void 0 : H.length) === 0)
|
|
4479
|
-
return await
|
|
4479
|
+
return await ls(U);
|
|
4480
4480
|
});
|
|
4481
4481
|
await Promise.all(Me);
|
|
4482
4482
|
let J = [], F = (ae = (G = (ne = M(V)) == null ? void 0 : ne.extraValues) == null ? void 0 : G.output) == null ? void 0 : ae.map(async (U) => {
|
|
@@ -4745,7 +4745,7 @@ const ad = /* @__PURE__ */ qt(ed, [["render", td]]), nd = { class: "extra-conten
|
|
|
4745
4745
|
var ne;
|
|
4746
4746
|
Se.api === "" && ((ne = Se.content) == null || ne.forEach((G) => {
|
|
4747
4747
|
var ae;
|
|
4748
|
-
G.comp == "Table" && x.setExtraContents(
|
|
4748
|
+
G.comp == "Table" && x.setExtraContents(os(G.compData, (ae = Se.extraContent) == null ? void 0 : ae[0]));
|
|
4749
4749
|
}));
|
|
4750
4750
|
});
|
|
4751
4751
|
};
|
|
@@ -5280,7 +5280,7 @@ function Od() {
|
|
|
5280
5280
|
S.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), x.dispatchEvent(S);
|
|
5281
5281
|
}
|
|
5282
5282
|
}
|
|
5283
|
-
var k = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof
|
|
5283
|
+
var k = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof si == "object" && si.global === si ? si : void 0, p = k.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), f = k.saveAs || (typeof window != "object" || window !== k ? function() {
|
|
5284
5284
|
} : "download" in HTMLAnchorElement.prototype && !p ? function(x, S, z) {
|
|
5285
5285
|
var P = k.URL || k.webkitURL, ee = document.createElement("a");
|
|
5286
5286
|
S = S || x.name || "download", ee.download = S, ee.rel = "noopener", typeof x == "string" ? (ee.href = x, ee.origin === location.origin ? u(ee) : d(ee.href) ? i(x, S, z) : u(ee, ee.target = "_blank")) : (ee.href = P.createObjectURL(x), setTimeout(function() {
|
|
@@ -5318,7 +5318,7 @@ function Od() {
|
|
|
5318
5318
|
}(vi)), vi.exports;
|
|
5319
5319
|
}
|
|
5320
5320
|
Od();
|
|
5321
|
-
const Ui = Rl(() => import("./index-
|
|
5321
|
+
const Ui = Rl(() => import("./index-BugYnyXc.js").then((n) => n.l));
|
|
5322
5322
|
Ui.install = (n) => {
|
|
5323
5323
|
n.component("ssMenu", Ui);
|
|
5324
5324
|
};
|
|
@@ -5328,7 +5328,7 @@ const zd = {
|
|
|
5328
5328
|
name: String
|
|
5329
5329
|
},
|
|
5330
5330
|
setup(n) {
|
|
5331
|
-
const r = n, s = Ut(() =>
|
|
5331
|
+
const r = n, s = Ut(() => ts[r.name]);
|
|
5332
5332
|
return Ja(() => {
|
|
5333
5333
|
}), (i, d) => {
|
|
5334
5334
|
const u = Lt("el-icon");
|
|
@@ -5527,7 +5527,7 @@ function Bd(n = "menu") {
|
|
|
5527
5527
|
});
|
|
5528
5528
|
}
|
|
5529
5529
|
}
|
|
5530
|
-
await
|
|
5530
|
+
await ss(E == null ? void 0 : E.path, Ke), u.setUpdateMenuStatus(!1), await Bi(), u.setActiveMenuPath(
|
|
5531
5531
|
(ce = (K = (de = E == null ? void 0 : E.path) == null ? void 0 : de.split("/")) == null ? void 0 : K.filter((Ee, I) => {
|
|
5532
5532
|
var he, ye;
|
|
5533
5533
|
return I !== ((ye = (he = E == null ? void 0 : E.path) == null ? void 0 : he.split("/")) == null ? void 0 : ye.length) - 1;
|
|
@@ -6225,7 +6225,7 @@ const Qd = { class: "tabs-content" }, ef = /* @__PURE__ */ ua({
|
|
|
6225
6225
|
i("clickMainKey", P, ee);
|
|
6226
6226
|
};
|
|
6227
6227
|
return (P, ee) => (fe(), Ue("div", Qd, [
|
|
6228
|
-
_e(
|
|
6228
|
+
_e(Xl, { tabsContents: d.value }, {
|
|
6229
6229
|
pane: Ie(({ tab: L, index: xe }) => [
|
|
6230
6230
|
(fe(), Et(Oa(Ot(wi)(L == null ? void 0 : L.comp)), {
|
|
6231
6231
|
related: L == null ? void 0 : L.relatedTables,
|
|
@@ -7045,14 +7045,14 @@ const Ya = {
|
|
|
7045
7045
|
valueCol: S,
|
|
7046
7046
|
isSelfDetail: z
|
|
7047
7047
|
} = r || {};
|
|
7048
|
-
return p && f &&
|
|
7048
|
+
return p && f && ui(x) && ui(S) ? await Gf({
|
|
7049
7049
|
menu: i,
|
|
7050
7050
|
mainKey: p,
|
|
7051
7051
|
detailGroup: f,
|
|
7052
7052
|
detailNameCol: x,
|
|
7053
7053
|
detailValueCol: S,
|
|
7054
7054
|
isSelfDetail: z
|
|
7055
|
-
}) :
|
|
7055
|
+
}) : ui(u) && ui(k) ? await Xf({
|
|
7056
7056
|
menu: i,
|
|
7057
7057
|
group: d,
|
|
7058
7058
|
nameCol: u,
|
|
@@ -7284,7 +7284,7 @@ const Ya = {
|
|
|
7284
7284
|
const G = xe();
|
|
7285
7285
|
P.value = G, i("change", (ae = je()) == null ? void 0 : ae.compData);
|
|
7286
7286
|
}, N = async () => {
|
|
7287
|
-
const ne = await
|
|
7287
|
+
const ne = await us(), G = xe();
|
|
7288
7288
|
G == null || G.forEach((ae) => {
|
|
7289
7289
|
(ae == null ? void 0 : ae.prop) === "menu" && (ae.contents = ne);
|
|
7290
7290
|
}), P.value = G, z.visible = !0, await et(L.value.menu), await E(L.value.group);
|
|
@@ -10717,7 +10717,7 @@ function qp() {
|
|
|
10717
10717
|
}(Gn, Gn.exports)), Gn.exports;
|
|
10718
10718
|
}
|
|
10719
10719
|
var Gp = /* @__PURE__ */ qp();
|
|
10720
|
-
const jo = /* @__PURE__ */
|
|
10720
|
+
const jo = /* @__PURE__ */ Gl(Gp), Yi = /* @__PURE__ */ ua({
|
|
10721
10721
|
__name: "grid-item",
|
|
10722
10722
|
props: {
|
|
10723
10723
|
isDraggable: { type: Boolean, default: void 0 },
|
|
@@ -12106,7 +12106,7 @@ const Ah = {
|
|
|
12106
12106
|
d.value = k, i("radioChange", d.value);
|
|
12107
12107
|
};
|
|
12108
12108
|
return (k, p) => (fe(), Ue("div", Ph, [
|
|
12109
|
-
_e(
|
|
12109
|
+
_e(Yl, {
|
|
12110
12110
|
modelValue: d.value,
|
|
12111
12111
|
"onUpdate:modelValue": p[0] || (p[0] = (f) => d.value = f),
|
|
12112
12112
|
content: s == null ? void 0 : s.itemData,
|
|
@@ -12114,7 +12114,7 @@ const Ah = {
|
|
|
12114
12114
|
}, null, 8, ["modelValue", "content"])
|
|
12115
12115
|
]));
|
|
12116
12116
|
}
|
|
12117
|
-
}), Rh = /* @__PURE__ */ qt(Mh, [["__scopeId", "data-v-
|
|
12117
|
+
}), Rh = /* @__PURE__ */ qt(Mh, [["__scopeId", "data-v-00933731"]]), $h = Q([
|
|
12118
12118
|
{
|
|
12119
12119
|
name: "表格",
|
|
12120
12120
|
type: "table",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./index-B9sLkbkE.cjs"),_=require("./index-DbAWw4as.cjs"),m=require("./index-Bd8mah99.cjs"),h=require("./index-CdzQfZvY.cjs"),l=require("./index-DiowIVZT.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),f={class:"menu-module"},k={class:"table-wrap","element-loading-text":"加载中..."},v={class:"module-dialog-default"},x=e.defineComponent({__name:"index",setup(b){const t=e.reactive({...p.State}),a=e.ref(null),c=l.useMenuState(l.pinia),{configMenu:n}=l.storeToRefs(c);return e.onMounted(()=>{var i;t.formatFormData(n.value),e.nextTick(()=>{var o,r;(r=a.value)==null||r.setCurrentKey((o=n.value)==null?void 0:o.path),c.setActiveMenuPath("/平台管理/菜单管理")}),n.value&&t.getInitialSubStructure((i=n.value)==null?void 0:i.path)}),(i,o)=>{const r=e.resolveComponent("el-tree"),s=e.resolveComponent("el-splitter-panel"),u=e.resolveComponent("el-splitter"),d=e.resolveComponent("el-button"),g=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",f,[e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(s,{size:208,class:"tree-wrap",min:200},{default:e.withCtx(()=>[e.createVNode(r,{ref_key:"treeRef",ref:a,data:t.treeData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"label",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"check-strictly":"",onNodeClick:t.clickNodeTrigger},null,8,["data","onNodeClick"])]),_:1}),e.createVNode(s,{min:500},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",k,[e.createVNode(_.ssTable,{itemData:t.menuPageData,changedContent:t.changedRow,operatingForm:t.operatingForm,onOnFormChange:t.changeTrigger,onChange:t.handleItemDataChange,onClickTrigger:t.clickTrigger,onOnButtonClick:t.clickRowButton},null,8,["itemData","changedContent","operatingForm","onOnFormChange","onChange","onClickTrigger","onOnButtonClick"])])),[[g,t.tableLoading]])]),_:1})]),_:1}),e.createVNode(m.ssDialog,{class:"module-dialog",title:t.dialogInfo.title,visible:t.dialogInfo.show,width:t.dialogInfo.width,onBeforeDestroy:t.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",v,[e.createVNode(h.ssForm,{rowContents:t.renderFormData,isEnableWrap:!1,isEdit:!0,onChange:t.changeTrigger,onClickTrigger:t.clickTrigger},null,8,["rowContents","onChange","onClickTrigger"])])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(d,{onClick:t.beforeDialogDestroy,id:"themeBorderButton"},{default:e.withCtx(()=>o[0]||(o[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(d,{id:"themeButton",onClick:t.clickSubmitForm},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])])}}}),w=C._export_sfc(x,[["__scopeId","data-v-74868a06"]]);exports.default=w;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { ref as G, resolveComponent as Q, createBlock as U, openBlock as S, createCommentVNode as a2, createSlots as ze, withCtx as H, renderSlot as y2, defineComponent as s0, onMounted as fe, createVNode as X, createElementVNode as l2, createElementBlock as E, Fragment as M2, renderList as P2, createTextVNode as N0, toDisplayString as $2, reactive as p1, h as He, Transition as ur, withDirectives as tt, vShow as It, createApp as fr, toRefs as Rs, nextTick as O0, isRef as pr, watch as Z2, computed as s2, normalizeClass as gt, withModifiers as it, onBeforeUnmount as B4, normalizeStyle as D0, resolveDynamicComponent as f3, normalizeProps as gr, guardReactiveProps as mr, mergeProps as g1, inject as vr, unref as re, watchEffect as Ce, onUnmounted as m1, resolveDirective as wr } from "vue";
|
|
2
2
|
import { S as mt } from "./index-BHtNKL1L.js";
|
|
3
|
-
import {
|
|
3
|
+
import { af as xr, ag as $s, i as js, c as br, S as Mi, ah as _r, ai as yr, aj as Sr, ak as Cr, al as Ti, am as zi } from "./index.vue_vue_type_style_index_0_scoped_92c12abe_lang-Cp7jnXuw.js";
|
|
4
4
|
import { _ as H2 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { j as
|
|
5
|
+
import { j as Ws, k as Us, an as kr, ak as p3, J as Dr, P as Fs, aj as Pt, ai as Pi, a8 as qs, as as Or, E as W3, p as E6, at as Mr, s as Ys, au as Tr, av as zr, D as Pr, aw as Vr, a as Ar } from "./index-WLdc1goT.js";
|
|
6
|
+
import { O as Br, P as Vi, b as Er, p as $e, s as Ue, c as a0, a as E4, u as L4, k as nt, d as Lr, f as Ks, e as Hr } from "./index-Cn5h5u4P.js";
|
|
6
7
|
import { _ as ae } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
7
|
-
import { g as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { A as Rr } from "./index-CYXsxIou.js";
|
|
8
|
+
import { g as Ir } from "./index-DoHjMY5d.js";
|
|
9
|
+
import { a as Gr, s as H4 } from "./index-Bz_ZsUz_.js";
|
|
10
|
+
import { T as Ai, a as Nr } from "./threeViewerHost-B5ajpfKi.js";
|
|
11
|
+
import { A as Rr } from "./index-CdOlTQZV.js";
|
|
12
12
|
var $r = "[object Date]";
|
|
13
13
|
function jr(n) {
|
|
14
|
-
return
|
|
14
|
+
return Ws(n) && Us(n) == $r;
|
|
15
15
|
}
|
|
16
|
-
var Bi = Vi && Vi.isDate, Ei = Bi ?
|
|
16
|
+
var Bi = Vi && Vi.isDate, Ei = Bi ? Br(Bi) : jr, Wr = "[object Number]";
|
|
17
17
|
function Li(n) {
|
|
18
|
-
return typeof n == "number" ||
|
|
18
|
+
return typeof n == "number" || Ws(n) && Us(n) == Wr;
|
|
19
19
|
}
|
|
20
20
|
const Ur = {
|
|
21
21
|
__name: "index",
|
|
@@ -965,7 +965,7 @@ function Qf(n, e) {
|
|
|
965
965
|
const c = s0({
|
|
966
966
|
name: "ElLoading",
|
|
967
967
|
setup(f, { expose: p }) {
|
|
968
|
-
const { ns: g, zIndex: v } =
|
|
968
|
+
const { ns: g, zIndex: v } = kr("loading");
|
|
969
969
|
return p({
|
|
970
970
|
ns: g,
|
|
971
971
|
zIndex: v
|
|
@@ -1023,7 +1023,7 @@ function Qf(n, e) {
|
|
|
1023
1023
|
}
|
|
1024
1024
|
let T1;
|
|
1025
1025
|
const at = function(n = {}, e) {
|
|
1026
|
-
if (!
|
|
1026
|
+
if (!Dr)
|
|
1027
1027
|
return;
|
|
1028
1028
|
const t = Jf(n);
|
|
1029
1029
|
if (t.fullscreen && T1)
|
|
@@ -1041,7 +1041,7 @@ const at = function(n = {}, e) {
|
|
|
1041
1041
|
}, Jf = (n) => {
|
|
1042
1042
|
var e, t, i, s;
|
|
1043
1043
|
let o;
|
|
1044
|
-
return
|
|
1044
|
+
return Fs(n.target) ? o = (e = document.querySelector(n.target)) != null ? e : document.body : o = n.target || document.body, {
|
|
1045
1045
|
parent: o === document.body || n.body ? document.body : o,
|
|
1046
1046
|
background: n.background || "",
|
|
1047
1047
|
svg: n.svg || "",
|
|
@@ -1077,10 +1077,10 @@ const at = function(n = {}, e) {
|
|
|
1077
1077
|
["absolute", "fixed", "sticky"].includes(t.originalPosition.value) ? p3(e, i.bm("parent", "relative")) : Pi(e, i.bm("parent", "relative")), n.fullscreen && n.lock ? Pi(e, i.bm("parent", "hidden")) : p3(e, i.bm("parent", "hidden"));
|
|
1078
1078
|
};
|
|
1079
1079
|
at._context = null;
|
|
1080
|
-
const Gt = Symbol("ElLoading"), Le = (n) => `element-loading-${
|
|
1080
|
+
const Gt = Symbol("ElLoading"), Le = (n) => `element-loading-${Or(n)}`, Ii = (n, e) => {
|
|
1081
1081
|
var t, i, s, o;
|
|
1082
|
-
const l = e.instance, r = (f) =>
|
|
1083
|
-
const p =
|
|
1082
|
+
const l = e.instance, r = (f) => qs(e.value) ? e.value[f] : void 0, a = (f) => {
|
|
1083
|
+
const p = Fs(f) && (l == null ? void 0 : l[f]) || f;
|
|
1084
1084
|
return G(p);
|
|
1085
1085
|
}, h = (f) => a(r(f) || n.getAttribute(Le(f))), c = (t = r("fullscreen")) != null ? t : e.modifiers.fullscreen, d = {
|
|
1086
1086
|
text: h("text"),
|
|
@@ -1111,7 +1111,7 @@ const Gt = Symbol("ElLoading"), Le = (n) => `element-loading-${Mr(n)}`, Ii = (n,
|
|
|
1111
1111
|
t == null || t.instance.close(), n[Gt] = null;
|
|
1112
1112
|
return;
|
|
1113
1113
|
}
|
|
1114
|
-
t ? ep(t.options,
|
|
1114
|
+
t ? ep(t.options, qs(e.value) ? e.value : {
|
|
1115
1115
|
text: n.getAttribute(Le("text")),
|
|
1116
1116
|
svg: n.getAttribute(Le("svg")),
|
|
1117
1117
|
svgViewBox: n.getAttribute(Le("svgViewBox")),
|
|
@@ -1342,8 +1342,8 @@ const lp = async (n) => {
|
|
|
1342
1342
|
return e = await Promise.all(t), e;
|
|
1343
1343
|
}, rp = async (n) => {
|
|
1344
1344
|
var l, r;
|
|
1345
|
-
const e =
|
|
1346
|
-
let i = await
|
|
1345
|
+
const e = Er($e), { loginUserInfo: t } = Ue(e);
|
|
1346
|
+
let i = await Ir({
|
|
1347
1347
|
platId: parseInt((l = t == null ? void 0 : t.value) == null ? void 0 : l.plat_id),
|
|
1348
1348
|
pageName: n
|
|
1349
1349
|
}), s = (r = i == null ? void 0 : i.data) == null ? void 0 : r.result;
|
|
@@ -2416,7 +2416,7 @@ const Dp = /* @__PURE__ */ H2(Cp, [["render", kp]]), Op = { class: "extra-button
|
|
|
2416
2416
|
setup(n, { emit: e }) {
|
|
2417
2417
|
const t = n;
|
|
2418
2418
|
E4($e);
|
|
2419
|
-
const i =
|
|
2419
|
+
const i = Lr($e), { chooseTitle: s } = Ue(i), o = L4($e), { activeMenuPath: l } = Ue(o), r = G(!1), a = G(), h = G(), c = s2(() => {
|
|
2420
2420
|
var y, D;
|
|
2421
2421
|
try {
|
|
2422
2422
|
return (((D = (y = g.value) == null ? void 0 : y.getSelectionRows) == null ? void 0 : D.call(y)) ?? []).length > 0;
|
|
@@ -2700,7 +2700,7 @@ const Dp = /* @__PURE__ */ H2(Cp, [["render", kp]]), Op = { class: "extra-button
|
|
|
2700
2700
|
let V = Z8(D), N = new FormData();
|
|
2701
2701
|
N.append("file", V);
|
|
2702
2702
|
let t2;
|
|
2703
|
-
return await
|
|
2703
|
+
return await Ks(N).then((r2) => {
|
|
2704
2704
|
var Z, q, i2, o2, n2, e2, z2;
|
|
2705
2705
|
t2 = {
|
|
2706
2706
|
url: (Z = r2.data.result) == null ? void 0 : Z.url,
|
|
@@ -3036,7 +3036,7 @@ const Dp = /* @__PURE__ */ H2(Cp, [["render", kp]]), Op = { class: "extra-button
|
|
|
3036
3036
|
}, [
|
|
3037
3037
|
X(V, { size: 12 }, {
|
|
3038
3038
|
default: H(() => [
|
|
3039
|
-
X(re(
|
|
3039
|
+
X(re(Mr))
|
|
3040
3040
|
]),
|
|
3041
3041
|
_: 1
|
|
3042
3042
|
})
|
|
@@ -3649,7 +3649,7 @@ const Dp = /* @__PURE__ */ H2(Cp, [["render", kp]]), Op = { class: "extra-button
|
|
|
3649
3649
|
}, gg = /* @__PURE__ */ H2(pg, [["__scopeId", "data-v-0e84be38"]]);
|
|
3650
3650
|
function L6(n) {
|
|
3651
3651
|
const e = sessionStorage.getItem("loginToken") ?? "123456";
|
|
3652
|
-
return
|
|
3652
|
+
return Ys({
|
|
3653
3653
|
url: "/api/sysFile/uploadFile",
|
|
3654
3654
|
method: "post",
|
|
3655
3655
|
data: n,
|
|
@@ -3660,7 +3660,7 @@ function L6(n) {
|
|
|
3660
3660
|
});
|
|
3661
3661
|
}
|
|
3662
3662
|
function mg(n) {
|
|
3663
|
-
return
|
|
3663
|
+
return Ys({
|
|
3664
3664
|
url: "/api/sysFile/delete",
|
|
3665
3665
|
method: "post",
|
|
3666
3666
|
data: n
|
|
@@ -22149,19 +22149,19 @@ const iS = /* @__PURE__ */ Y.inputHandler.of((n, e, t, i, s) => {
|
|
|
22149
22149
|
l2("div", HS, [
|
|
22150
22150
|
X(v, null, {
|
|
22151
22151
|
default: H(() => [
|
|
22152
|
-
X(re(
|
|
22152
|
+
X(re(Tr), { onClick: h })
|
|
22153
22153
|
]),
|
|
22154
22154
|
_: 1
|
|
22155
22155
|
}),
|
|
22156
22156
|
X(v, null, {
|
|
22157
22157
|
default: H(() => [
|
|
22158
|
-
X(re(
|
|
22158
|
+
X(re(zr), { onClick: d })
|
|
22159
22159
|
]),
|
|
22160
22160
|
_: 1
|
|
22161
22161
|
}),
|
|
22162
22162
|
X(v, null, {
|
|
22163
22163
|
default: H(() => [
|
|
22164
|
-
X(re(
|
|
22164
|
+
X(re(Pr), { onClick: u })
|
|
22165
22165
|
]),
|
|
22166
22166
|
_: 1
|
|
22167
22167
|
})
|
|
@@ -22215,12 +22215,12 @@ const iS = /* @__PURE__ */ Y.inputHandler.of((n, e, t, i, s) => {
|
|
|
22215
22215
|
}, p = async (x) => {
|
|
22216
22216
|
var z, L;
|
|
22217
22217
|
let _;
|
|
22218
|
-
if ((z = x == null ? void 0 : x.url) != null && z.includes("http") ? _ = await
|
|
22218
|
+
if ((z = x == null ? void 0 : x.url) != null && z.includes("http") ? _ = await Ar.get(x.url, {
|
|
22219
22219
|
responseType: "blob",
|
|
22220
22220
|
headers: {
|
|
22221
22221
|
"Content-Type": "application/json"
|
|
22222
22222
|
}
|
|
22223
|
-
}) : _ = await
|
|
22223
|
+
}) : _ = await Hr({
|
|
22224
22224
|
url: (L = a0(x)) == null ? void 0 : L.url
|
|
22225
22225
|
}), !x.url.toUpperCase().includes(".OBJ") && !x.url.toUpperCase().includes(".STL") && !x.url.toUpperCase().includes(".MTL") && !x.url.toUpperCase().includes(".URDF")) {
|
|
22226
22226
|
let O = URL.createObjectURL(_.data);
|
|
@@ -22359,7 +22359,7 @@ const iS = /* @__PURE__ */ Y.inputHandler.of((n, e, t, i, s) => {
|
|
|
22359
22359
|
default: H(() => [
|
|
22360
22360
|
X(L, { class: "el-icon--upload" }, {
|
|
22361
22361
|
default: H(() => [
|
|
22362
|
-
X(re(
|
|
22362
|
+
X(re(Vr))
|
|
22363
22363
|
]),
|
|
22364
22364
|
_: 1
|
|
22365
22365
|
}),
|
|
@@ -23274,7 +23274,7 @@ const oC = { class: "signature-wrap" }, lC = { class: "signature-types" }, rC =
|
|
|
23274
23274
|
});
|
|
23275
23275
|
}, u = async (f, p) => {
|
|
23276
23276
|
let g = d(f), v = new FormData();
|
|
23277
|
-
v.append("file", g), await
|
|
23277
|
+
v.append("file", g), await Ks(v).then((m) => {
|
|
23278
23278
|
});
|
|
23279
23279
|
};
|
|
23280
23280
|
return fe(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as I, reactive as O, watch as X, resolveComponent as Y, createBlock as P, openBlock as c, normalizeStyle as j, withCtx as E, renderSlot as T, createElementBlock as g, createCommentVNode as f, withModifiers as m, createElementVNode as U, toDisplayString as q } from "vue";
|
|
2
|
-
import "./index.vue_vue_type_style_index_0_scoped_92c12abe_lang-
|
|
2
|
+
import "./index.vue_vue_type_style_index_0_scoped_92c12abe_lang-Cp7jnXuw.js";
|
|
3
3
|
import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const Z = (o, d) => {
|
|
5
5
|
let t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const k=require("vue"),r=require("./index-Dc6Q0f3F.cjs"),_=require("./index-
|
|
1
|
+
"use strict";const k=require("vue"),r=require("./index-Dc6Q0f3F.cjs"),_=require("./index-CpZcO0Vv.cjs"),A=k.ref([]),q=k.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:A.value}]),K=(l,s,o)=>{l==="清空"&&_.ElMessageBox.confirm("是否确认清空所有日志","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(async()=>{var n,e;try{const a=await r.batchDeleteInsofDataApi({ids:s});((n=a==null?void 0:a.data)==null?void 0:n.code)===200?(r.ElMessage.success("清空日志成功"),o(!0)):(r.ElMessage.error(((e=a==null?void 0:a.data)==null?void 0:e.message)??"清空请求响应失败"),o(!1))}catch{r.ElMessage.error("清空操作处理失败"),o(!1)}}).catch(()=>{o(!1)})},T=async(l="login")=>{var s,o,n;try{const e=await r.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"/log",type:"system",logType:l}});if(((s=e==null?void 0:e.data)==null?void 0:s.code)===200)return(n=(o=e==null?void 0:e.data)==null?void 0:o.result)==null?void 0:n.map(a=>{var t,u,c,d,p,y,f,g,v,b,S,h,B,D,w,x,E,M;return l==="login"?{...(u=(t=a==null?void 0:a.value)==null?void 0:t.detail)==null?void 0:u.data,timeStamp:(c=a==null?void 0:a.value)==null?void 0:c.timeStamp,id:a==null?void 0:a.id,type:(p=(d=a==null?void 0:a.value)==null?void 0:d.detail)==null?void 0:p.type}:{timeStamp:(y=a==null?void 0:a.value)==null?void 0:y.timeStamp,account:(f=a==null?void 0:a.value)==null?void 0:f.account,userName:(g=a==null?void 0:a.value)==null?void 0:g.userName,module:typeof((v=a==null?void 0:a.value)==null?void 0:v.module)=="string"?(S=(b=a==null?void 0:a.value)==null?void 0:b.module)!=null&&S.startsWith("/")?(B=(h=a==null?void 0:a.value)==null?void 0:h.module)==null?void 0:B.substring(1):(D=a==null?void 0:a.value)==null?void 0:D.module:(x=(w=a==null?void 0:a.value)==null?void 0:w.module)==null?void 0:x.pageKey,id:a==null?void 0:a.id,type:(M=(E=a==null?void 0:a.value)==null?void 0:E.detail)==null?void 0:M.type}});r.ElMessage.error("获取数据响应失败")}catch(e){throw new Error("获取数据失败"+e)}},I=Object.freeze(Object.defineProperty({__proto__:null,clickButton:K,getLogTableDataAsync:T,pageData:q,tableData:A},Symbol.toStringTag,{value:"Module"}));exports.State=I;exports.clickButton=K;exports.getLogTableDataAsync=T;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
|
|
2
|
-
import { u as h, p as k, s as x, c as m } from "./index-
|
|
3
|
-
import { s as M } from "./index-
|
|
2
|
+
import { u as h, p as k, s as x, c as m } from "./index-Cn5h5u4P.js";
|
|
3
|
+
import { s as M } from "./index-Do9OpnU6.js";
|
|
4
4
|
import { a as D, d as T, f as S } from "./index-BoD-aIMr.js";
|
|
5
5
|
import { g as w } from "./index-WLdc1goT.js";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as i, computed as j, reactive as ie, nextTick as B, watch as ye } from "vue";
|
|
2
|
-
import { c as J, s as be, u as he, a as Ce, d as Ie, p as U,
|
|
2
|
+
import { c as J, s as be, u as he, a as Ce, d as Ie, p as U, l as ke } from "./index-Cn5h5u4P.js";
|
|
3
3
|
import { g as $, E as S, e as ae, u as oe, n as Te, f as Me } from "./index-WLdc1goT.js";
|
|
4
|
-
import { a as Se } from "./menuIndex-
|
|
4
|
+
import { a as Se } from "./menuIndex-BpEQqtCU.js";
|
|
5
5
|
const F = Ce(U), ne = Ie(U), C = he(U), { menus: ue, configMenu: R, activeMenuPath: q, cacheStructures: K } = be(C), z = i(!1), se = j(() => {
|
|
6
6
|
var e, t;
|
|
7
7
|
return [
|