ss-component-new 1.3.39 → 1.3.40
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-2i72y41c.js → MTLLoader-CBRDqlja.js} +24 -24
- package/dist/{MTLLoader-DXzoNrir.cjs → MTLLoader-YtHulNzU.cjs} +1 -1
- package/dist/{OrbitControls-25f9O6FX.cjs → OrbitControls-Bwzpfq8_.cjs} +1 -1
- package/dist/{OrbitControls-DLMbmcAk.js → OrbitControls-CKR1ruPg.js} +1 -1
- package/dist/{URDFLoader-C9bE_XzP.js → URDFLoader-D-0fnLWu.js} +189 -189
- package/dist/{URDFLoader-Cr4cwEF8.cjs → URDFLoader-DIvTWPgk.cjs} +1 -1
- package/dist/{animationData-0idWk1St.js → animationData-BBVNOO1d.js} +19 -19
- package/dist/{animationData-Bq1xWpzh.cjs → animationData-krmt7b15.cjs} +1 -1
- package/dist/{array-D7ZpHOUW.js → array-B7hKAHMR.js} +46 -46
- package/dist/{array-BcZ8wZJh.cjs → array-BMhRsnRu.cjs} +1 -1
- package/dist/{iconfont-D_lKvP4A.js → iconfont-CSj9Ypb0.js} +29 -29
- package/dist/{iconfont-C8smb8wH.cjs → iconfont-CUPzGSlt.cjs} +1 -1
- package/dist/index-BDzsGCjm.cjs +11 -0
- package/dist/{index-CuwDFx38.cjs → index-BFKUrR1o.cjs} +1 -1
- package/dist/{index-Dl-Z36zZ.cjs → index-BG3-boe7.cjs} +1 -1
- package/dist/index-BJ8XP3Y-.cjs +1 -0
- package/dist/{index-BJPBBWWH.cjs → index-BLxE_tkf.cjs} +1 -1
- package/dist/{index-Ddoq7kRQ.js → index-BT6DSXQW.js} +9 -9
- package/dist/{index-BFqQiTF3.cjs → index-BUsoO5VT.cjs} +1 -1
- package/dist/{index-U0xNmCVP.cjs → index-BVgS3Nd5.cjs} +1 -1
- package/dist/{index-BJ4dYIP9.js → index-Bcrscjdm.js} +2 -2
- package/dist/{index-2cLYbH8L.js → index-BgUChdje.js} +8 -8
- package/dist/index-BteE57Nz.js +103 -0
- package/dist/{index-mMYvuatu.js → index-C75tqiG_.js} +41 -41
- package/dist/{index-C09fhtZ7.js → index-C7WQ1ky5.js} +2 -2
- package/dist/index-C8FzkPpO.cjs +1 -0
- package/dist/{index-DRTxe12U.cjs → index-C8fMwErX.cjs} +13 -13
- package/dist/{index-BeF439qb.js → index-CCsW4SQb.js} +7 -7
- package/dist/{index-nr6V1FzX.js → index-CEq2QX9L.js} +7 -7
- package/dist/{index-CXiOVgoz.js → index-CEzEaG0d.js} +1 -1
- package/dist/{index-BjVhxFhd.js → index-CGm9oYu2.js} +5 -5
- package/dist/{index-Cjqg29ul.cjs → index-CIrXKpNl.cjs} +1 -1
- package/dist/{index-CXF4fGBx.cjs → index-CQozkDNK.cjs} +1 -1
- package/dist/{index-C-_cejgk.js → index-CTE81JBY.js} +3 -3
- package/dist/{index-BSzis22W.cjs → index-CliK2V0E.cjs} +1 -1
- package/dist/{index-CYttSa5h.js → index-CppJQDiT.js} +3 -3
- package/dist/{index-DM30Ja8n.cjs → index-Cul6hC7f.cjs} +1 -1
- package/dist/{index-CMro3YG1.cjs → index-CuvQZsbE.cjs} +1 -1
- package/dist/{index-DU9e5EhS.cjs → index-Cw4Pm2PQ.cjs} +1 -1
- package/dist/{index-BmPlus3L.cjs → index-CwMhzp9R.cjs} +1 -1
- package/dist/{index-DdKUuRez.js → index-D39AtL48.js} +1 -1
- package/dist/{index-DQeVX7pl.js → index-D9lVn2ja.js} +5 -5
- package/dist/{index-CyiMl_77.js → index-DABBYx7H.js} +1 -1
- package/dist/{index-CvwIVk4C.js → index-DDQZOo-o.js} +3 -3
- package/dist/{index-Bmjp4oN2.cjs → index-DDsoPHBA.cjs} +1 -1
- package/dist/{index-CZZ8Ifs9.js → index-DFjh1qWr.js} +2 -2
- package/dist/{index-Va8AOLWi.js → index-DGRL8SEt.js} +1 -1
- package/dist/index-DGeMVYJU.js +12544 -0
- package/dist/{index-HWbROorb.js → index-DLyb9Q5L.js} +2 -2
- package/dist/{index-BFkiAoiG.cjs → index-DN2waPoj.cjs} +1 -1
- package/dist/{index-Dhu1H8ka.js → index-DWfxnemZ.js} +2 -2
- package/dist/{index-BAu0NK04.cjs → index-DdNJrN4I.cjs} +1 -1
- package/dist/{index-BC4zbL4W.cjs → index-Dm-5UkTK.cjs} +1 -1
- package/dist/{index-DkCH5VtE.js → index-Dq8v_eJA.js} +6 -6
- package/dist/{index-OaeHF7Y4.cjs → index-Du0eSoIx.cjs} +1 -1
- package/dist/{index-C0hS-bj5.js → index-DxVKhVHR.js} +7 -7
- package/dist/{index-BeqcmxG1.js → index-OYiyhWAy.js} +7 -7
- package/dist/{index-DPmCVTf0.cjs → index-OZTa9Fl3.cjs} +1 -1
- package/dist/{index-CqvnJnTM.cjs → index-d6tZBTSp.cjs} +1 -1
- package/dist/{index-CEcgrss3.cjs → index-euZWOilV.cjs} +1 -1
- package/dist/{index-SG3iZ1zi.cjs → index-lDcFCgsk.cjs} +1 -1
- package/dist/{index-CldRoanF.js → index-rZKPYWM6.js} +2 -2
- package/dist/{index-COQpDVsv.js → index-sMsCzNtW.js} +1535 -1570
- package/dist/{index-BWCv7zxy.cjs → index-vCTVD7cV.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BvJutNeG.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-b_9vxv2X.cjs} +382 -392
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cghhtxxz.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-n7J00Lcz.js} +28120 -28781
- package/dist/{index.vue_vue_type_style_index_1_lang-BIBuo_6N.cjs → index.vue_vue_type_style_index_1_lang-DDedRKQj.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-M5fbenhC.js → index.vue_vue_type_style_index_1_lang-q8rMzh6x.js} +75 -75
- package/dist/{main-CZBz_zjr.js → main-CbBG4x5W.js} +4 -4
- package/dist/{main-pPT0wg-M.cjs → main-D7LZI3yR.cjs} +1 -1
- package/dist/{menuIndex-D52EAwtb.cjs → menuIndex-8RF_0N_y.cjs} +1 -1
- package/dist/{menuIndex-DYaogp2R.js → menuIndex-BwWrdu20.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 +11 -11
- package/dist/{threeModel-BObCDF1v.js → threeModel-CiTIBkkk.js} +45 -45
- package/dist/{threeModel-hIc2ofR5.cjs → threeModel-Dd-cfGXr.cjs} +1 -1
- package/dist/{threePreview-Dm8s6ZzZ.cjs → threePreview-CBFQtSls.cjs} +1 -1
- package/dist/{threePreview-STh6e4ji.js → threePreview-XQG7sQy9.js} +125 -125
- package/dist/{threeSceneView-BrPJwJe5.js → threeSceneView-CdZFIImJ.js} +38 -38
- package/dist/{threeSceneView-DsimUKrC.cjs → threeSceneView-D97Sc8hd.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-C5cYg_nz.cjs → threeSceneViewForCPMPIP-4Cjv1ZS4.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-BjnGQodx.js → threeSceneViewForCPMPIP-DH__ogKh.js} +8 -8
- package/dist/{threeTrackPathView-BQYAP4DB.js → threeTrackPathView-BFQXaw-a.js} +78 -78
- package/dist/{threeTrackPathView-CJsgvwfM.cjs → threeTrackPathView-s17KavQX.cjs} +1 -1
- package/dist/{threeViewerHost-Sk5pSWMo.js → threeViewerHost-BgPjA_94.js} +11 -11
- package/dist/{threeViewerHost-B9_P3rIV.cjs → threeViewerHost-C39tiQj-.cjs} +1 -1
- package/dist/{urdfTree-B1eVnyil.js → urdfTree-DM6uTeXj.js} +10 -10
- package/dist/{urdfTree-DoHqwX6e.cjs → urdfTree-HdeBG5se.cjs} +1 -1
- package/dist/{workpieceTreePanel-DKNEmjW7.cjs → workpieceTreePanel-BKOHDm85.cjs} +1 -1
- package/dist/{workpieceTreePanel-CZA2q-tk.js → workpieceTreePanel-C5qUdbmi.js} +63 -63
- package/package.json +1 -1
- package/dist/index-Ccqg6q19.cjs +0 -1
- package/dist/index-CpbBe_mV.cjs +0 -1
- package/dist/index-DIWralYr.js +0 -67
- package/dist/index-De99NYNm.cjs +0 -1
- package/dist/index-O6tv0Wzx.js +0 -11883
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const f=require("vue"),y=require("./index-C5pQXH0_.cjs"),g=require("./index-
|
|
1
|
+
"use strict";const f=require("vue"),y=require("./index-C5pQXH0_.cjs"),g=require("./index-C8fMwErX.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,7 +1,7 @@
|
|
|
1
1
|
import { ref as f, computed as S, reactive as P } from "vue";
|
|
2
|
-
import { ax as $, ay as B, au as H, g as
|
|
3
|
-
import { s as
|
|
4
|
-
const A = x(
|
|
2
|
+
import { ax as $, ay as B, au as H, g as L, u as j, E as T } from "./index-B8HqIYd5.js";
|
|
3
|
+
import { s as M, b as x, L as J, u as z, p as R, c as G, d as Q, M as X } from "./index-sMsCzNtW.js";
|
|
4
|
+
const A = x(R), { loginUserInfo: o, cryptoInfo: c } = M(A), Y = z(R), { activeMenuPath: g } = M(Y), Z = f(0), _ = S(() => {
|
|
5
5
|
var s, a, t, r, l, n, e, u, p, d, v;
|
|
6
6
|
return [
|
|
7
7
|
{
|
|
@@ -93,7 +93,7 @@ const A = x(L), { loginUserInfo: o, cryptoInfo: c } = _(A), Y = z(L), { activeMe
|
|
|
93
93
|
m.dialogShow = !1;
|
|
94
94
|
}, F = async (s) => {
|
|
95
95
|
var t, r, l, n, e, u, p, d, v;
|
|
96
|
-
const a = await
|
|
96
|
+
const a = await L({
|
|
97
97
|
id: s
|
|
98
98
|
// key: {
|
|
99
99
|
// systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -112,7 +112,7 @@ const A = x(L), { loginUserInfo: o, cryptoInfo: c } = _(A), Y = z(L), { activeMe
|
|
|
112
112
|
}
|
|
113
113
|
}, V = async (s, a) => {
|
|
114
114
|
var r, l, n;
|
|
115
|
-
const t =
|
|
115
|
+
const t = G(s);
|
|
116
116
|
t == null || delete t.id;
|
|
117
117
|
try {
|
|
118
118
|
const e = await j({
|
|
@@ -147,7 +147,7 @@ const A = x(L), { loginUserInfo: o, cryptoInfo: c } = _(A), Y = z(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 ? Q((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) => {
|
|
@@ -155,7 +155,7 @@ const A = x(L), { loginUserInfo: o, cryptoInfo: c } = _(A), Y = z(L), { activeMe
|
|
|
155
155
|
a !== ((r = q.value) == null ? void 0 : r.newtPass) ? t(new Error("两次输入的密码不一致")) : t();
|
|
156
156
|
}, oe = async () => {
|
|
157
157
|
var a, t, r, l, n, e, u, p, d, v;
|
|
158
|
-
const s = await
|
|
158
|
+
const s = await L({
|
|
159
159
|
key: {
|
|
160
160
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
161
161
|
type: "structure",
|
|
@@ -164,7 +164,7 @@ const A = x(L), { loginUserInfo: o, cryptoInfo: c } = _(A), Y = z(L), { activeMe
|
|
|
164
164
|
}
|
|
165
165
|
});
|
|
166
166
|
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) {
|
|
167
|
-
const y = (u = (e = (n = (l = (r = s.data.result) == null ? void 0 : r[0]) == null ? void 0 : l.value) == null ? void 0 : n.pageData) == null ? void 0 : e.compData) == null ? void 0 : u.find((i) => (i == null ? void 0 : i.key) === "header"), w = (p =
|
|
167
|
+
const y = (u = (e = (n = (l = (r = s.data.result) == null ? void 0 : r[0]) == null ? void 0 : l.value) == null ? void 0 : n.pageData) == null ? void 0 : e.compData) == null ? void 0 : u.find((i) => (i == null ? void 0 : i.key) === "header"), w = (p = _.value) == null ? void 0 : p.map((i) => i == null ? void 0 : i.prop);
|
|
168
168
|
b.baseCols = y && ((d = y.contents) == null ? void 0 : d.map((i) => ({
|
|
169
169
|
...i,
|
|
170
170
|
isFormColHidden: (w == null ? void 0 : w.includes(i == null ? void 0 : i.prop)) || (i == null ? void 0 : i.label) === "操作"
|
|
@@ -310,7 +310,7 @@ const A = x(L), { loginUserInfo: o, cryptoInfo: c } = _(A), Y = z(L), { activeMe
|
|
|
310
310
|
itemData: ae,
|
|
311
311
|
loading: D,
|
|
312
312
|
refreshLoginUserInfoAsync: F,
|
|
313
|
-
rowContents:
|
|
313
|
+
rowContents: _,
|
|
314
314
|
signPadInfo: m,
|
|
315
315
|
signTypes: k,
|
|
316
316
|
signatureLoading: I,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-DdNJrN4I.cjs"),n=require("./index-vCTVD7cV.cjs"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),r=e.ref([]),i=e.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"模块名称",prop:"module",filterable:!0},{label:"操作类型",prop:"type",filterable:!0},{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:r.value}]),p=Object.freeze(Object.defineProperty({__proto__:null,pageData:i,tableData:r},Symbol.toStringTag,{value:"Module"})),b={class:"log-wrap"},d=e.defineComponent({__name:"index",setup(_){const t=e.reactive({...p});e.onMounted(async()=>{t.tableData=await n.getLogTableDataAsync("operate")});const c=l=>{var a;n.clickButton(l,(a=t.tableData)==null?void 0:a.map(o=>o.id),o=>{o&&(t.tableData=[])})};return(l,a)=>(e.openBlock(),e.createElementBlock("div",b,[e.createVNode(s.ssTable,{itemData:t.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:c},null,8,["itemData"])]))}}),f=u._export_sfc(d,[["__scopeId","data-v-3d3b471d"]]);exports.default=f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),v=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),v=require("./index-DdNJrN4I.cjs"),d=require("./index-C8fMwErX.cjs"),V=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),B={class:"routerPage-wrapper"},w={class:"role-dialog-header"},N=["title"],b={title:"更多"},D={class:"dialog-footer"},y=e.defineComponent({__name:"index",setup(M){const g=d.useMenuState(),{menus:_,activeMenuPath:C}=d.storeToRefs(g),o=e.reactive({...d.State$1}),{treeRef:k}=d.State$1;e.onMounted(async()=>{await o.getActivePageStructureId(C.value)});const u=i=>i==null?void 0:i.map(t=>{var c,s,h;return t!=null&&t.childMenus&&((c=t==null?void 0:t.childMenus)==null?void 0:c.length)>0?{...t,childMenus:[],children:u(t==null?void 0:t.childMenus)}:{...t,childMenus:[],path:(s=t==null?void 0:t.path)!=null&&s.startsWith("/")?(h=t==null?void 0:t.path)==null?void 0:h.substring(1):t.path}});return e.watch(()=>_.value,i=>{e.nextTick(()=>{const t=d.cloneDeep(i),c=u(t);o.tempSysMenus=o.handleAddSysMenusButtons(c,"系统维护",["查看"]),o.menuData=o.addButtonsToTree(c,o.structureButtons)})},{immediate:!0,deep:!0}),(i,t)=>{const c=e.resolveComponent("el-checkbox"),s=e.resolveComponent("el-checkbox-group"),h=e.resolveComponent("svg-icon"),x=e.resolveComponent("el-popover"),f=e.resolveComponent("el-tree"),p=e.resolveComponent("el-button"),m=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",B,[e.createVNode(v.ssTable,{index:o.structureId,compName:o.compName,itemData:o.pageDataFiltered,changedContent:o.changedRow,onChange:o.handleItemDataChange,onOnButtonClick:o.clickRowButton},null,8,["index","compName","itemData","changedContent","onChange","onOnButtonClick"]),e.createVNode(m,{modelValue:o.authorizeDialog.show,"onUpdate:modelValue":t[0]||(t[0]=a=>o.authorizeDialog.show=a),width:o.authorizeDialog.width,draggable:o.authorizeDialog.draggable,"before-close":o.closeAuthorizeDialog,class:"role-dialog"},{header:e.withCtx(()=>[e.createElementVNode("div",w,e.toDisplayString(o.authorizeDialog.title),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",D,[e.createVNode(p,{id:"themeBorderButton",onClick:o.closeAuthorizeDialog},{default:e.withCtx(()=>t[1]||(t[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(p,{id:"themeButton",onClick:o.clickSubmitAuthority},{default:e.withCtx(()=>t[2]||(t[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),default:e.withCtx(()=>[e.createVNode(f,{class:"role-tree",ref_key:"treeRef",ref:k,data:o.menuData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"title",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"show-checkbox":"",onCheckChange:o.handleNodeCheckChange,style:{height:"500px","overflow-y":"auto"}},{default:e.withCtx(({node:a,data:n})=>[e.createElementVNode("span",{class:"node-text",title:a==null?void 0:a.label},e.toDisplayString(a==null?void 0:a.label),9,N),e.createVNode(s,{modelValue:n.checkedButtons,"onUpdate:modelValue":l=>n.checkedButtons=l,onChange:l=>o.handleNodeBtnChange(l,n),class:"node-buttons"},{default:e.withCtx(()=>{var l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=n.renderButtons)==null?void 0:l.slice(0,2),r=>(e.openBlock(),e.createBlock(c,{key:r.title,label:r.title,value:r.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1032,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]),e.createVNode(x,{title:a==null?void 0:a.label,placement:"right-start"},{reference:e.withCtx(()=>{var l;return[e.createElementVNode("span",b,[e.withDirectives(e.createVNode(h,{name:"treeMore",class:"node-trigger"},null,512),[[e.vShow,((l=n.renderButtons)==null?void 0:l.length)>0]])])]}),default:e.withCtx(()=>[e.createVNode(s,{modelValue:n.checkedButtons,"onUpdate:modelValue":l=>n.checkedButtons=l,onChange:l=>o.handleNodeBtnChange(l,n),class:"node-buttons"},{default:e.withCtx(()=>{var l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=n.renderButtons)==null?void 0:l.slice(2),r=>(e.openBlock(),e.createBlock(c,{key:r.title,label:r.title,value:r.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1032,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1032,["title"])]),_:1},8,["data","onCheckChange"])]),_:1},8,["modelValue","width","draggable","before-close"])])}}}),S=V._export_sfc(y,[["__scopeId","data-v-78a46dd8"]]);exports.default=S;
|
|
@@ -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-sMsCzNtW.js";
|
|
3
|
+
import { s as M } from "./index-CCsW4SQb.js";
|
|
4
4
|
import { a as D, d as T, f as S } from "./index-DFBXEIIr.js";
|
|
5
5
|
import { g as w } from "./index-B8HqIYd5.js";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as z, reactive as R, onMounted as T, watch as A, nextTick as U, resolveComponent as i, createElementBlock as k, openBlock as u, createVNode as s, withCtx as l, createElementVNode as _, toDisplayString as g, Fragment as v, renderList as B, createBlock as b, createTextVNode as f, withDirectives as I, vShow as P } from "vue";
|
|
2
|
-
import { s as E } from "./index-
|
|
3
|
-
import { u as F, s as O,
|
|
4
|
-
import { _ as
|
|
5
|
-
const
|
|
2
|
+
import { s as E } from "./index-CCsW4SQb.js";
|
|
3
|
+
import { u as F, s as O, j as x, c as j } from "./index-sMsCzNtW.js";
|
|
4
|
+
import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
const L = { class: "routerPage-wrapper" }, W = { class: "role-dialog-header" }, q = ["title"], G = { title: "更多" }, J = { class: "dialog-footer" }, K = /* @__PURE__ */ z({
|
|
6
6
|
__name: "index",
|
|
7
7
|
setup(Q) {
|
|
8
8
|
const D = F(), { menus: w, activeMenuPath: V } = O(D), t = R({ ...x }), { treeRef: M } = x;
|
|
@@ -23,7 +23,7 @@ const W = { class: "routerPage-wrapper" }, j = { class: "role-dialog-header" },
|
|
|
23
23
|
});
|
|
24
24
|
return A(() => w.value, (d) => {
|
|
25
25
|
U(() => {
|
|
26
|
-
const e =
|
|
26
|
+
const e = j(d), r = C(e);
|
|
27
27
|
t.tempSysMenus = t.handleAddSysMenusButtons(r, "系统维护", ["查看"]), t.menuData = t.addButtonsToTree(r, t.structureButtons);
|
|
28
28
|
});
|
|
29
29
|
}, {
|
|
@@ -31,7 +31,7 @@ const W = { class: "routerPage-wrapper" }, j = { class: "role-dialog-header" },
|
|
|
31
31
|
deep: !0
|
|
32
32
|
}), (d, e) => {
|
|
33
33
|
const r = i("el-checkbox"), h = i("el-checkbox-group"), p = i("svg-icon"), y = i("el-popover"), N = i("el-tree"), m = i("el-button"), S = i("el-dialog");
|
|
34
|
-
return u(), k("div",
|
|
34
|
+
return u(), k("div", L, [
|
|
35
35
|
s(E, {
|
|
36
36
|
index: t.structureId,
|
|
37
37
|
compName: t.compName,
|
|
@@ -49,7 +49,7 @@ const W = { class: "routerPage-wrapper" }, j = { class: "role-dialog-header" },
|
|
|
49
49
|
class: "role-dialog"
|
|
50
50
|
}, {
|
|
51
51
|
header: l(() => [
|
|
52
|
-
_("div",
|
|
52
|
+
_("div", W, g(t.authorizeDialog.title), 1)
|
|
53
53
|
]),
|
|
54
54
|
footer: l(() => [
|
|
55
55
|
_("div", J, [
|
|
@@ -172,7 +172,7 @@ const W = { class: "routerPage-wrapper" }, j = { class: "role-dialog-header" },
|
|
|
172
172
|
]);
|
|
173
173
|
};
|
|
174
174
|
}
|
|
175
|
-
}), ee = /* @__PURE__ */
|
|
175
|
+
}), ee = /* @__PURE__ */ H(K, [["__scopeId", "data-v-78a46dd8"]]);
|
|
176
176
|
export {
|
|
177
177
|
ee as default
|
|
178
178
|
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { s as d, u as j, b, p as E } from "./index-sMsCzNtW.js";
|
|
2
|
+
import { ref as y } from "vue";
|
|
3
|
+
import { a as i } from "./index-B8HqIYd5.js";
|
|
4
|
+
function w(t) {
|
|
5
|
+
return i.post(
|
|
6
|
+
"http://222.92.178.198:63002/platform/create",
|
|
7
|
+
t
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
function F(t) {
|
|
11
|
+
return i.post(
|
|
12
|
+
"http://222.92.178.198:63002/platform/get",
|
|
13
|
+
t
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
function S(t) {
|
|
17
|
+
return i.post(
|
|
18
|
+
"http://222.92.178.198:63002/platform/getPage",
|
|
19
|
+
t
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
function L(t) {
|
|
23
|
+
return i.post(
|
|
24
|
+
"http://222.92.178.198:63002/platform/delete",
|
|
25
|
+
t
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
function M(t) {
|
|
29
|
+
return i.post(
|
|
30
|
+
"http://222.92.178.198:63002/platform/page/add",
|
|
31
|
+
t
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
const A = (t) => {
|
|
35
|
+
var n, c;
|
|
36
|
+
if (Array.isArray(Object.keys(t)) && ((n = Object.keys(t)) == null ? void 0 : n.length) > 0) {
|
|
37
|
+
let o = [];
|
|
38
|
+
return (c = Object.entries(t)) == null || c.forEach(([p, a]) => {
|
|
39
|
+
var l, u;
|
|
40
|
+
let r = [];
|
|
41
|
+
if (r.push(p), ((l = Object.keys(a)) == null ? void 0 : l.length) > 0) {
|
|
42
|
+
let e = [];
|
|
43
|
+
(u = A(a)) == null || u.forEach((s) => {
|
|
44
|
+
e.push(s);
|
|
45
|
+
}), e == null || e.forEach((s) => {
|
|
46
|
+
r.push(s);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
o.push(r);
|
|
50
|
+
}), o;
|
|
51
|
+
}
|
|
52
|
+
}, _ = (t, n) => {
|
|
53
|
+
var o;
|
|
54
|
+
let c = n;
|
|
55
|
+
return Array.isArray(Object.keys(t)) && ((o = Object.entries(t)) == null || o.forEach(([p, a]) => {
|
|
56
|
+
let r = [p];
|
|
57
|
+
if (typeof a == "object" && a !== null) {
|
|
58
|
+
let l = A(a);
|
|
59
|
+
l == null || l.forEach((u) => {
|
|
60
|
+
r.push(u);
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
c.push(r);
|
|
64
|
+
})), c;
|
|
65
|
+
}, x = (t) => {
|
|
66
|
+
const n = {};
|
|
67
|
+
return t.forEach((o) => {
|
|
68
|
+
const p = o.split("/");
|
|
69
|
+
let a = n;
|
|
70
|
+
p.forEach((r) => {
|
|
71
|
+
a[r] || (a[r] = {}), a = a[r];
|
|
72
|
+
});
|
|
73
|
+
}), _(n, []);
|
|
74
|
+
}, h = y(!1), g = y(!1), O = b(E), { loginUserInfo: f } = d(O), P = j(), N = async () => {
|
|
75
|
+
var n, c, o, p, a, r, l;
|
|
76
|
+
let t = await S({
|
|
77
|
+
platId: parseInt((n = f == null ? void 0 : f.value) == null ? void 0 : n.plat_id),
|
|
78
|
+
pageName: "menu"
|
|
79
|
+
});
|
|
80
|
+
if (((o = (c = t == null ? void 0 : t.data) == null ? void 0 : c.result) == null ? void 0 : o.length) > 0) {
|
|
81
|
+
let u = (l = (r = (a = (p = t == null ? void 0 : t.data) == null ? void 0 : p.result) == null ? void 0 : a.filter((e) => {
|
|
82
|
+
var s, m;
|
|
83
|
+
return ((m = e == null ? void 0 : e.object_name) == null ? void 0 : m[((s = e == null ? void 0 : e.object_name) == null ? void 0 : s.length) - 1]) !== "/" && (e == null ? void 0 : e.is_show);
|
|
84
|
+
})) == null ? void 0 : r.sort((e, s) => (e == null ? void 0 : e.object_id) - (s == null ? void 0 : s.object_id))) == null ? void 0 : l.map((e) => {
|
|
85
|
+
var s;
|
|
86
|
+
return (s = e == null ? void 0 : e.object_name) == null ? void 0 : s.replaceAll("**^", "/");
|
|
87
|
+
});
|
|
88
|
+
u = [...new Set(u)], u = x(u), P.setRawMenus(u ?? []), h.value = !0, g.value = !0;
|
|
89
|
+
}
|
|
90
|
+
return {
|
|
91
|
+
menuExist: h.value,
|
|
92
|
+
structureExist: g.value
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
export {
|
|
96
|
+
w as c,
|
|
97
|
+
L as d,
|
|
98
|
+
S as g,
|
|
99
|
+
F as l,
|
|
100
|
+
x as m,
|
|
101
|
+
M as p,
|
|
102
|
+
N as v
|
|
103
|
+
};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { defineComponent as ze, defineProps as st, ref as L, computed as ee, watch as YA, onMounted as on, resolveComponent as TA, createBlock as xA, openBlock as z, withCtx as M, createElementVNode as H, toDisplayString as UA, createElementBlock as q, Fragment as ue, renderList as Ee, createCommentVNode as CA, normalizeStyle as Fe, createVNode as O, unref as a, resolveDynamicComponent as Ye, provide as fn, resolveDirective as ct, withDirectives as je, vShow as Re, createTextVNode as pe, renderSlot as We, normalizeClass as Ke, onUnmounted as St, createSlots as Jt } from "vue";
|
|
2
|
-
import { m as Sn, a as Jn, b as Ln, c as Lt } from "./array-
|
|
3
|
-
import mt from "./index-
|
|
4
|
-
import { _ as vt, s as rt, a as Ge, b as He, c as Rt, d as Kt, r as te, o as Te, e as Ze, f as ut, h as Hn, i as gt, j as pn, k as dt, l as Mt, t as Dt, m as ln, n as yn, p as Xn, q as an, u as In, v as sn, w as cn, x as vn, y as rn, z as un, A as En, D as Wt, B as Nt, C as Ut, E as lt, F as ft, G as oe, H as Tt, I as Zt, J as Yt } from "./index-
|
|
5
|
-
import { u as be, a as Ne, p as qA, s as MA, b as qe, c as GA
|
|
2
|
+
import { m as Sn, a as Jn, b as Ln, c as Lt } from "./array-B7hKAHMR.js";
|
|
3
|
+
import mt from "./index-OYiyhWAy.js";
|
|
4
|
+
import { _ as vt, s as rt, a as Ge, b as He, c as Rt, d as Kt, r as te, o as Te, e as Ze, f as ut, h as Hn, i as gt, j as pn, k as dt, l as Mt, t as Dt, m as ln, n as yn, p as Xn, q as an, u as In, v as sn, w as cn, x as vn, y as rn, z as un, A as En, D as Wt, B as Nt, C as Ut, E as lt, F as ft, G as oe, H as Tt, I as Zt, J as Yt, K as ge, L as Gt, M as it, N as Ft, O as Vt, P as bn } from "./index-DGeMVYJU.js";
|
|
5
|
+
import { u as be, a as Ne, p as qA, s as MA, b as qe, c as GA } from "./index-sMsCzNtW.js";
|
|
6
6
|
import { useRouter as ot } from "vue-router";
|
|
7
7
|
import { a as Pt, d as Ct, e as It, f as Et, g as Bt, h as zt, t as qt, c as _t, b as $t } from "./index-CAPx0_D4.js";
|
|
8
8
|
import { u as mn, E as Oe, b as Qt, g as Be, c as Al, a as Je, d as el } from "./index-B8HqIYd5.js";
|
|
9
|
-
import { g as Bn, s as nl, _ as
|
|
10
|
-
import { u as Qn, b as Rn, d as gn, g as Me, c as yt, e as dn, o as Xt, f as tl, l as ll, h as fl, i as
|
|
11
|
-
import "./index-
|
|
9
|
+
import { g as Bn, s as nl, _ as wn } from "./index-Dq8v_eJA.js";
|
|
10
|
+
import { u as Qn, b as Rn, d as gn, g as Me, c as yt, e as dn, o as Xt, f as tl, l as ll, h as fl, i as al } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-n7J00Lcz.js";
|
|
11
|
+
import "./index-CppJQDiT.js";
|
|
12
12
|
import "./index-DFBXEIIr.js";
|
|
13
|
-
import { c as
|
|
13
|
+
import { c as Ot } from "./menuIndex-BwWrdu20.js";
|
|
14
14
|
import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
import { C as
|
|
15
|
+
import { C as sl } from "./index-C7WQ1ky5.js";
|
|
16
16
|
import { S as le } from "./index-BHtNKL1L.js";
|
|
17
|
-
import
|
|
17
|
+
import cl from "./threeModel-CiTIBkkk.js";
|
|
18
18
|
import { _ as De } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
19
|
-
import { s as zn } from "./index-
|
|
20
|
-
import { T as kn, u as
|
|
21
|
-
import { s as xn } from "./index-
|
|
22
|
-
import { u as
|
|
19
|
+
import { s as zn } from "./index-DABBYx7H.js";
|
|
20
|
+
import { T as kn, u as vl, a as rl } from "./threeViewerHost-BgPjA_94.js";
|
|
21
|
+
import { s as xn } from "./index-CTE81JBY.js";
|
|
22
|
+
import { u as jt } from "./index-CCsW4SQb.js";
|
|
23
|
+
import { g as Ht, c as ul, m as gl, l as dl, d as il, v as ol } from "./index-BteE57Nz.js";
|
|
23
24
|
import { T as at } from "./svgIcon-4u4PW7Is.js";
|
|
24
|
-
import {
|
|
25
|
-
import { f as Pl, a as Cl } from "./animationData-0idWk1St.js";
|
|
25
|
+
import { f as Pl, a as Cl } from "./animationData-BBVNOO1d.js";
|
|
26
26
|
be();
|
|
27
27
|
const Il = be(), pt = async (P, j) => {
|
|
28
28
|
var s, c, I, l;
|
|
@@ -235,7 +235,7 @@ function El(P = "menu") {
|
|
|
235
235
|
if (pA.value = Bn(), A) {
|
|
236
236
|
U.value && (c.setActiveTopMenuPath(""), c.setActiveMenuPath(""), c.setAsideMenus([]));
|
|
237
237
|
const t = A;
|
|
238
|
-
jA.value = V(
|
|
238
|
+
jA.value = V(Ot(t));
|
|
239
239
|
}
|
|
240
240
|
},
|
|
241
241
|
{
|
|
@@ -726,14 +726,14 @@ const yl = /* @__PURE__ */ Le(Bl, [["render", Ql], ["__scopeId", "data-v-0cbc421
|
|
|
726
726
|
console.error("加载菜单或页面时出错:", uA);
|
|
727
727
|
}
|
|
728
728
|
})(K);
|
|
729
|
-
}, hA = Qn(qA), { selectTitle: bA } = MA(hA), wA = L(!1), JA = L(), gA = L(null), V = L(), m = L(!1), EA =
|
|
729
|
+
}, hA = Qn(qA), { selectTitle: bA } = MA(hA), wA = L(!1), JA = L(), gA = L(null), V = L(), m = L(!1), EA = jt(qA), { blobUrls: zA } = MA(EA), DA = L(), mA = L(!1), FA = L(!1), _A = L(!1), VA = L([]), D = L(!1), eA = L(null), PA = L([]), dA = L(!1), Y = L(!1), k = L();
|
|
730
730
|
fn("contentRef", eA);
|
|
731
731
|
const $A = Ne(qA), { isEdit: ne, routeToChildPath: ce } = MA($A), de = j, A = be(qA), { asideMenuLoading: t, importLoading: g, activeAsideMenu: e, contentLoading: f, platName: u, activeMenuPath: i } = MA(A), v = P, d = ee(() => e.value.isRouter), h = () => {
|
|
732
732
|
sessionStorage.clear(), window.location.reload();
|
|
733
733
|
}, C = async (K) => {
|
|
734
734
|
var Q, nA, iA, cA, T, oA, X, uA, yA, tA, OA, E, b, vA, J, BA, N, aA;
|
|
735
735
|
if ((K == null ? void 0 : K.type) === "table" && (Q = bA.value) != null && Q.every((S) => (S == null ? void 0 : S.condition) !== "parent")) {
|
|
736
|
-
let S = await
|
|
736
|
+
let S = await Ht({
|
|
737
737
|
platId: parseInt((nA = o == null ? void 0 : o.value) == null ? void 0 : nA.plat_id),
|
|
738
738
|
pageName: "menu"
|
|
739
739
|
});
|
|
@@ -1036,7 +1036,7 @@ const yl = /* @__PURE__ */ Le(Bl, [["render", Ql], ["__scopeId", "data-v-0cbc421
|
|
|
1036
1036
|
return (K, Q) => {
|
|
1037
1037
|
const nA = TA("el-dialog"), iA = TA("el-button"), cA = TA("el-header"), T = TA("el-splitter-panel"), oA = TA("el-splitter"), X = TA("el-container"), uA = TA("el-tab-pane"), yA = TA("el-tabs"), tA = TA("el-aside"), OA = TA("el-image"), E = TA("router-view"), b = TA("el-step"), vA = TA("el-steps"), J = TA("el-main"), BA = ct("loading");
|
|
1038
1038
|
return z(), q(ue, null, [
|
|
1039
|
-
je(O(
|
|
1039
|
+
je(O(sl, {
|
|
1040
1040
|
ref_key: "cropperDialogRef",
|
|
1041
1041
|
ref: U,
|
|
1042
1042
|
title: "更改头像",
|
|
@@ -1229,7 +1229,7 @@ const yl = /* @__PURE__ */ Le(Bl, [["render", Ql], ["__scopeId", "data-v-0cbc421
|
|
|
1229
1229
|
__: [9]
|
|
1230
1230
|
}, 8, ["onClick"])) : CA("", !0),
|
|
1231
1231
|
We(K.$slots, "default", {}, void 0, !0),
|
|
1232
|
-
O(
|
|
1232
|
+
O(wn, null, {
|
|
1233
1233
|
dropTitle: M(() => [
|
|
1234
1234
|
H("div", {
|
|
1235
1235
|
class: "icon-wrapper",
|
|
@@ -1316,7 +1316,7 @@ const yl = /* @__PURE__ */ Le(Bl, [["render", Ql], ["__scopeId", "data-v-0cbc421
|
|
|
1316
1316
|
]),
|
|
1317
1317
|
_: 1
|
|
1318
1318
|
}),
|
|
1319
|
-
O(
|
|
1319
|
+
O(wn, null, {
|
|
1320
1320
|
dropTitle: M(() => [
|
|
1321
1321
|
O(xn, {
|
|
1322
1322
|
size: 35,
|
|
@@ -1694,7 +1694,7 @@ const yl = /* @__PURE__ */ Le(Bl, [["render", Ql], ["__scopeId", "data-v-0cbc421
|
|
|
1694
1694
|
style: { height: "700px", width: "1000px" }
|
|
1695
1695
|
}, {
|
|
1696
1696
|
default: M(() => [
|
|
1697
|
-
O(
|
|
1697
|
+
O(cl, {
|
|
1698
1698
|
ref_key: "threeModelRef",
|
|
1699
1699
|
ref: gA
|
|
1700
1700
|
}, null, 512)
|
|
@@ -1921,7 +1921,7 @@ function wt(P = "menu") {
|
|
|
1921
1921
|
if (pA.value = Bn(), A) {
|
|
1922
1922
|
U.value && (c.setActiveTopMenuPath(""), c.setActiveMenuPath(""), c.setAsideMenus([]));
|
|
1923
1923
|
const t = A;
|
|
1924
|
-
jA.value = V(
|
|
1924
|
+
jA.value = V(Ot(t));
|
|
1925
1925
|
}
|
|
1926
1926
|
},
|
|
1927
1927
|
{
|
|
@@ -2087,9 +2087,9 @@ const Nf = /* @__PURE__ */ Le(Kf, [["render", Wf], ["__scopeId", "data-v-94d06d5
|
|
|
2087
2087
|
}).length
|
|
2088
2088
|
);
|
|
2089
2089
|
ee(() => l.value > 99 ? "99+" : l.value);
|
|
2090
|
-
const r = Rn(qA), { originalPath: w } = MA(r), x = w.value, y = Qn(qA), { selectTitle: n } = MA(y), W = L(!1), p = L(null), R = L(), $ = L(!1), _ =
|
|
2090
|
+
const r = Rn(qA), { originalPath: w } = MA(r), x = w.value, y = Qn(qA), { selectTitle: n } = MA(y), W = L(!1), p = L(null), R = L(), $ = L(!1), _ = jt(qA), { blobUrls: o } = MA(_), U = L(!1), fA = L(!1), sA = L(!1), jA = L([]), pA = L(!1), hA = L(null), bA = L([]), wA = L(!1);
|
|
2091
2091
|
fn("contentRef", hA);
|
|
2092
|
-
const JA = qe(), { loginUserInfo: gA } = MA(JA), V = Ne(qA), { isEdit: m, routeToChildPath: EA } = MA(V), zA = j, DA = be(qA), { asideMenuLoading: mA, importLoading: FA, activeAsideMenu: _A, contentLoading: VA, platName: D, activeMenuPath: eA } = MA(DA), PA =
|
|
2092
|
+
const JA = qe(), { loginUserInfo: gA } = MA(JA), V = Ne(qA), { isEdit: m, routeToChildPath: EA } = MA(V), zA = j, DA = be(qA), { asideMenuLoading: mA, importLoading: FA, activeAsideMenu: _A, contentLoading: VA, platName: D, activeMenuPath: eA } = MA(DA), PA = vl(qA), { data: dA } = MA(PA), { setData: Y } = rl(), k = ee(() => _A.value.isRouter), $A = () => {
|
|
2093
2093
|
sessionStorage.clear(), window.location.reload();
|
|
2094
2094
|
}, ne = (E) => {
|
|
2095
2095
|
if ((E == null ? void 0 : E.type) === "table") {
|
|
@@ -2675,7 +2675,7 @@ const Nf = /* @__PURE__ */ Le(Kf, [["render", Wf], ["__scopeId", "data-v-94d06d5
|
|
|
2675
2675
|
}
|
|
2676
2676
|
}), va = /* @__PURE__ */ Le(ca, [["__scopeId", "data-v-1864bc45"]]), ra = qe(qA), { loginUserInfo: Pe } = MA(ra), ua = be(), ga = async () => {
|
|
2677
2677
|
var j, s, c, I, l, r, w;
|
|
2678
|
-
let P = await
|
|
2678
|
+
let P = await Ht({
|
|
2679
2679
|
platId: parseInt((j = Pe == null ? void 0 : Pe.value) == null ? void 0 : j.plat_id),
|
|
2680
2680
|
pageName: "menu"
|
|
2681
2681
|
});
|
|
@@ -2687,11 +2687,11 @@ const Nf = /* @__PURE__ */ Le(Kf, [["render", Wf], ["__scopeId", "data-v-94d06d5
|
|
|
2687
2687
|
var n;
|
|
2688
2688
|
return (n = y == null ? void 0 : y.object_name) == null ? void 0 : n.replaceAll("**^", "/");
|
|
2689
2689
|
});
|
|
2690
|
-
x = [...new Set(x)], x =
|
|
2690
|
+
x = [...new Set(x)], x = gl(x), ua.setRawMenus(x ?? []);
|
|
2691
2691
|
}
|
|
2692
2692
|
}, da = async (P) => {
|
|
2693
2693
|
var j, s, c;
|
|
2694
|
-
await
|
|
2694
|
+
await ul({
|
|
2695
2695
|
platId: parseInt((j = Pe == null ? void 0 : Pe.value) == null ? void 0 : j.plat_id),
|
|
2696
2696
|
userName: (s = Pe == null ? void 0 : Pe.value) == null ? void 0 : s.user_name,
|
|
2697
2697
|
password: (c = Pe == null ? void 0 : Pe.value) == null ? void 0 : c.password,
|
|
@@ -2707,7 +2707,7 @@ const kt = (P) => {
|
|
|
2707
2707
|
var l, r, w, x, y, n, W, p, R, $, _, o, U, fA, sA, jA, pA, hA, bA, wA, JA, gA;
|
|
2708
2708
|
let I = P;
|
|
2709
2709
|
if (kt(I == null ? void 0 : I[0])) {
|
|
2710
|
-
let V =
|
|
2710
|
+
let V = Gt(I), m = (w = (r = (l = I == null ? void 0 : I[0]) == null ? void 0 : l.replace("@", kA)) == null ? void 0 : r.split(kA)) == null ? void 0 : w[1];
|
|
2711
2711
|
return m = (x = ge(m, ":")) == null ? void 0 : x[0], (m == null ? void 0 : m[(m == null ? void 0 : m.length) - 1]) === ":" && (m = m == null ? void 0 : m.slice(0, (m == null ? void 0 : m.length) - 1)), m = (n = (y = m == null ? void 0 : m.replace("(", kA)) == null ? void 0 : y.split(kA)) == null ? void 0 : n[1], m = m == null ? void 0 : m.slice(0, (m == null ? void 0 : m.length) - 1), m = (p = (W = ge(m, ",")) == null ? void 0 : W.map((EA) => (EA = "@" + EA, EA))) == null ? void 0 : p.join(""), {
|
|
2712
2712
|
key: "Form",
|
|
2713
2713
|
name: V == null ? void 0 : V.groupName,
|
|
@@ -2716,7 +2716,7 @@ const kt = (P) => {
|
|
|
2716
2716
|
filter: "(" + m + ")"
|
|
2717
2717
|
};
|
|
2718
2718
|
} else {
|
|
2719
|
-
let V =
|
|
2719
|
+
let V = it(I, c), m = (_ = ($ = (R = V == null ? void 0 : V.tableFilter) == null ? void 0 : R.replace("(", kA)) == null ? void 0 : $.split(kA)) == null ? void 0 : _[0];
|
|
2720
2720
|
return {
|
|
2721
2721
|
key: "Table",
|
|
2722
2722
|
name: V == null ? void 0 : V.groupName,
|
|
@@ -2731,7 +2731,7 @@ const kt = (P) => {
|
|
|
2731
2731
|
var c, I, l, r, w, x, y, n, W, p, R, $, _, o, U, fA, sA, jA, pA, hA, bA, wA, JA, gA, V, m, EA, zA, DA, mA, FA, _A, VA;
|
|
2732
2732
|
let s = (I = (c = ge(P, "=")) == null ? void 0 : c.filter((D) => D !== "=")) == null ? void 0 : I.map((D) => ((D == null ? void 0 : D[(D == null ? void 0 : D.length) - 1]) === "=" && (D = D == null ? void 0 : D.slice(0, (D == null ? void 0 : D.length) - 1)), D));
|
|
2733
2733
|
if (kt(s == null ? void 0 : s[1])) {
|
|
2734
|
-
let D =
|
|
2734
|
+
let D = Ft(s), eA = (w = (r = (l = D == null ? void 0 : D.filter) == null ? void 0 : l.replace("@", kA)) == null ? void 0 : r.split(kA)) == null ? void 0 : w[0], PA = (n = (y = (x = D == null ? void 0 : D.filter) == null ? void 0 : x.replace("(", kA)) == null ? void 0 : y.split(kA)) == null ? void 0 : n[1];
|
|
2735
2735
|
PA = PA == null ? void 0 : PA.slice(0, (PA == null ? void 0 : PA.length) - 1), PA = (p = (W = ge(PA, ",")) == null ? void 0 : W.map((Y) => (Y = "@" + Y, Y))) == null ? void 0 : p.join("");
|
|
2736
2736
|
let dA = eA + "(" + PA + ")";
|
|
2737
2737
|
return {
|
|
@@ -2743,7 +2743,7 @@ const kt = (P) => {
|
|
|
2743
2743
|
value: []
|
|
2744
2744
|
};
|
|
2745
2745
|
} else {
|
|
2746
|
-
let D =
|
|
2746
|
+
let D = it(s, j, s == null ? void 0 : s[1]), eA = (JA = (wA = (bA = D == null ? void 0 : D.tableFilter) == null ? void 0 : bA.replace("(", kA)) == null ? void 0 : wA.split(kA)) == null ? void 0 : JA[0];
|
|
2747
2747
|
return {
|
|
2748
2748
|
key: "Table",
|
|
2749
2749
|
name: D == null ? void 0 : D.groupName,
|
|
@@ -2819,7 +2819,7 @@ const xt = (P, j = []) => {
|
|
|
2819
2819
|
let Ae = "$R";
|
|
2820
2820
|
const ht = (P, j, s, c) => {
|
|
2821
2821
|
var l, r, w, x, y, n, W, p, R, $;
|
|
2822
|
-
let I = ((r = (l = j.get(P == null ? void 0 : P.quotePage)) == null ? void 0 : l.contents) == null ? void 0 : r.find((_) =>
|
|
2822
|
+
let I = ((r = (l = j.get(P == null ? void 0 : P.quotePage)) == null ? void 0 : l.contents) == null ? void 0 : r.find((_) => bn((c == null ? void 0 : c.quoteGroup) ?? [], _ == null ? void 0 : _.name))) ?? ((w = j.get(P == null ? void 0 : P.quotePage)) == null ? void 0 : w.contents) ?? [];
|
|
2823
2823
|
if (!Array.isArray(I) && ((x = I == null ? void 0 : I.tableColumns) == null ? void 0 : x.length) > 0) {
|
|
2824
2824
|
let _ = GA(I);
|
|
2825
2825
|
return !(_ != null && _.filter) || (_ == null ? void 0 : _.filter) === "" ? _.filter = P == null ? void 0 : P.filter : _.filter = ((n = _.filter) == null ? void 0 : n.slice(0, ((y = _.filter) == null ? void 0 : y.length) - 1)) + "," + ((R = (p = (W = P == null ? void 0 : P.filter) == null ? void 0 : W.replace("(", Ae)) == null ? void 0 : p.split(Ae)) == null ? void 0 : R[1]), _.name = [...s, ...I == null ? void 0 : I.name], [_];
|
|
@@ -2877,7 +2877,7 @@ const ht = (P, j, s, c) => {
|
|
|
2877
2877
|
var W, p, R, $, _, o, U, fA, sA, jA, pA, hA, bA, wA, JA, gA, V, m, EA, zA, DA, mA, FA, _A, VA, D, eA, PA;
|
|
2878
2878
|
if ((n == null ? void 0 : n.filter) !== "" && (n != null && n.filter) && (n != null && n.quotePage)) {
|
|
2879
2879
|
if (((W = n == null ? void 0 : n.tableColumns) == null ? void 0 : W.length) === 0) {
|
|
2880
|
-
let dA = ((R = (p = l.get(n == null ? void 0 : n.quotePage)) == null ? void 0 : p.contents) == null ? void 0 : R.find((Y) =>
|
|
2880
|
+
let dA = ((R = (p = l.get(n == null ? void 0 : n.quotePage)) == null ? void 0 : p.contents) == null ? void 0 : R.find((Y) => bn(n == null ? void 0 : n.quoteGroup, Y == null ? void 0 : Y.name))) ?? (($ = l.get(n == null ? void 0 : n.quotePage)) == null ? void 0 : $.contents) ?? [];
|
|
2881
2881
|
if (!Array.isArray(dA) && ((_ = dA == null ? void 0 : dA.tableColumns) == null ? void 0 : _.length) > 0) {
|
|
2882
2882
|
n.tableColumns = dA == null ? void 0 : dA.tableColumns;
|
|
2883
2883
|
let Y = (fA = (U = (o = n == null ? void 0 : n.filter) == null ? void 0 : o.replace("(", Ae)) == null ? void 0 : U.split(Ae)) == null ? void 0 : fA[1];
|
|
@@ -2902,7 +2902,7 @@ const ht = (P, j, s, c) => {
|
|
|
2902
2902
|
} else if ((n == null ? void 0 : n.filter) !== "" && (n != null && n.filter) && ((pA = n == null ? void 0 : n.value) == null ? void 0 : pA.length) === 0) {
|
|
2903
2903
|
let dA = n == null ? void 0 : n.formPage;
|
|
2904
2904
|
(dA == null ? void 0 : dA[(dA == null ? void 0 : dA.length) - 1]) === "/" && (dA = dA == null ? void 0 : dA.slice(0, (dA == null ? void 0 : dA.length) - 1));
|
|
2905
|
-
let Y = (bA = (hA = l.get(dA)) == null ? void 0 : hA.contents) == null ? void 0 : bA.find((k) =>
|
|
2905
|
+
let Y = (bA = (hA = l.get(dA)) == null ? void 0 : hA.contents) == null ? void 0 : bA.find((k) => bn(n == null ? void 0 : n.formGroup, k == null ? void 0 : k.name));
|
|
2906
2906
|
!Array.isArray(Y) && (((wA = Y == null ? void 0 : Y.value) == null ? void 0 : wA.length) > 0 || ((JA = Y == null ? void 0 : Y.tableColumns) == null ? void 0 : JA.length) > 0) && (((gA = Y == null ? void 0 : Y.value) == null ? void 0 : gA.length) > 0 ? n.value = Y == null ? void 0 : Y.value : (n.value = (m = (V = GA(Y)) == null ? void 0 : V.tableColumns) == null ? void 0 : m.map((k) => {
|
|
2907
2907
|
var $A;
|
|
2908
2908
|
return k.disabled = !0, k.width = ($A = Y == null ? void 0 : Y.tableColumns) == null ? void 0 : $A.length, k;
|
|
@@ -2929,7 +2929,7 @@ const ht = (P, j, s, c) => {
|
|
|
2929
2929
|
};
|
|
2930
2930
|
}, za = (P) => {
|
|
2931
2931
|
var I, l;
|
|
2932
|
-
let j =
|
|
2932
|
+
let j = Vt(P, [",", ":"]);
|
|
2933
2933
|
j = (I = j == null ? void 0 : j.filter((r) => r !== "")) == null ? void 0 : I.map((r) => r.replaceAll(",", ","));
|
|
2934
2934
|
let s = (l = j == null ? void 0 : j.filter((r) => !r.includes("/*") && !r.includes("*/"))) == null ? void 0 : l.map((r) => Ba(r));
|
|
2935
2935
|
return Ea(s);
|
|
@@ -3171,7 +3171,7 @@ const ht = (P, j, s, c) => {
|
|
|
3171
3171
|
YA(
|
|
3172
3172
|
() => [s == null ? void 0 : s.content, s == null ? void 0 : s.jsonContents],
|
|
3173
3173
|
async () => {
|
|
3174
|
-
await
|
|
3174
|
+
await al(), I.value = s.content, w.value = s == null ? void 0 : s.jsonContents;
|
|
3175
3175
|
},
|
|
3176
3176
|
{ deep: !0, immediate: !0 }
|
|
3177
3177
|
), YA(
|
|
@@ -3225,7 +3225,7 @@ const ht = (P, j, s, c) => {
|
|
|
3225
3225
|
}, eA = async (e) => {
|
|
3226
3226
|
var f, u, i, v, d, h, C;
|
|
3227
3227
|
try {
|
|
3228
|
-
const HA = await
|
|
3228
|
+
const HA = await dl({
|
|
3229
3229
|
platId: parseInt(e)
|
|
3230
3230
|
});
|
|
3231
3231
|
if (((f = HA == null ? void 0 : HA.data) == null ? void 0 : f.code) === 200) {
|
|
@@ -3314,7 +3314,7 @@ const ht = (P, j, s, c) => {
|
|
|
3314
3314
|
const g = async () => {
|
|
3315
3315
|
var f, u;
|
|
3316
3316
|
n.setImportLoading(!0);
|
|
3317
|
-
const e = await
|
|
3317
|
+
const e = await il({
|
|
3318
3318
|
platId: parseInt((f = sA == null ? void 0 : sA.value) == null ? void 0 : f.plat_id)
|
|
3319
3319
|
});
|
|
3320
3320
|
((u = e == null ? void 0 : e.data) == null ? void 0 : u.code) === 200 && (n.setRawMenus([]), y.setRefreshCurStructure(!0)), n.setImportLoading(!1);
|
|
@@ -3350,7 +3350,7 @@ const ht = (P, j, s, c) => {
|
|
|
3350
3350
|
urdfContent: U.value
|
|
3351
3351
|
}, {
|
|
3352
3352
|
default: M(() => [
|
|
3353
|
-
O(
|
|
3353
|
+
O(wn, null, {
|
|
3354
3354
|
dropTitle: M(() => {
|
|
3355
3355
|
var v;
|
|
3356
3356
|
return [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as x, ref as I, reactive as T, resolveComponent as v, createElementBlock as E, openBlock as U, createVNode as u, withCtx as d, createElementVNode as l, createTextVNode as h, toDisplayString as H, nextTick as N, Fragment as q, withDirectives as z, renderSlot as $, vShow as M } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { au as V } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-n7J00Lcz.js";
|
|
3
3
|
import { a9 as X, av as G, D, H as c, G as R, a0 as g } from "./index-B8HqIYd5.js";
|
|
4
|
-
import {
|
|
4
|
+
import { K as J } from "./index-sMsCzNtW.js";
|
|
5
5
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const K = "ElUpload";
|
|
7
7
|
class Q extends Error {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const f=require("./index-C8fMwErX.cjs"),d=require("vue"),p=require("./index-C5pQXH0_.cjs");function E(e){return p.axios.post("http://222.92.178.198:63002/platform/create",e)}function b(e){return p.axios.post("http://222.92.178.198:63002/platform/get",e)}function y(e){return p.axios.post("http://222.92.178.198:63002/platform/getPage",e)}function D(e){return p.axios.post("http://222.92.178.198:63002/platform/delete",e)}function P(e){return p.axios.post("http://222.92.178.198:63002/platform/page/add",e)}const j=e=>{var s,i;if(Array.isArray(Object.keys(e))&&((s=Object.keys(e))==null?void 0:s.length)>0){let o=[];return(i=Object.entries(e))==null||i.forEach(([l,a])=>{var c,u;let r=[];if(r.push(l),((c=Object.keys(a))==null?void 0:c.length)>0){let t=[];(u=j(a))==null||u.forEach(n=>{t.push(n)}),t==null||t.forEach(n=>{r.push(n)})}o.push(r)}),o}},S=(e,s)=>{var o;let i=s;return Array.isArray(Object.keys(e))&&((o=Object.entries(e))==null||o.forEach(([l,a])=>{let r=[l];if(typeof a=="object"&&a!==null){let c=j(a);c==null||c.forEach(u=>{r.push(u)})}i.push(r)})),i},x=e=>{const s={};return e.forEach(o=>{const l=o.split("/");let a=s;l.forEach(r=>{a[r]||(a[r]={}),a=a[r]})}),S(s,[])},g=d.ref(!1),A=d.ref(!1),_=f.useLoginState(f.pinia),{loginUserInfo:h}=f.storeToRefs(_),v=f.useMenuState(),O=async()=>{var s,i,o,l,a,r,c;let e=await y({platId:parseInt((s=h==null?void 0:h.value)==null?void 0:s.plat_id),pageName:"menu"});if(((o=(i=e==null?void 0:e.data)==null?void 0:i.result)==null?void 0:o.length)>0){let u=(c=(r=(a=(l=e==null?void 0:e.data)==null?void 0:l.result)==null?void 0:a.filter(t=>{var n,m;return((m=t==null?void 0:t.object_name)==null?void 0:m[((n=t==null?void 0:t.object_name)==null?void 0:n.length)-1])!=="/"&&(t==null?void 0:t.is_show)}))==null?void 0:r.sort((t,n)=>(t==null?void 0:t.object_id)-(n==null?void 0:n.object_id)))==null?void 0:c.map(t=>{var n;return(n=t==null?void 0:t.object_name)==null?void 0:n.replaceAll("**^","/")});u=[...new Set(u)],u=x(u),v.setRawMenus(u??[]),g.value=!0,A.value=!0}return{menuExist:g.value,structureExist:A.value}};exports.createPlatFormDataApi=E;exports.deletePageDataApi=D;exports.getPageDataApi=y;exports.loginPlatFormDataApi=b;exports.menuArray=x;exports.pageBatchAddApi=P;exports.verifyStructureDataToStore=O;
|