ss-component-new 1.3.7 → 1.3.8
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-BDa0EA-y.cjs → MTLLoader-C_XCtjSi.cjs} +1 -1
- package/dist/{MTLLoader-DU2_d5qP.js → MTLLoader-YR-bfx1D.js} +37 -37
- package/dist/{OrbitControls-B2Ue7hdS.js → OrbitControls-BGsXD_A7.js} +1 -1
- package/dist/{OrbitControls-DfhmSOVW.cjs → OrbitControls-CktvE4iE.cjs} +1 -1
- package/dist/{URDFLoader-BRTNakjO.cjs → URDFLoader-10oVp_KW.cjs} +1 -1
- package/dist/{URDFLoader-BSHChj3i.js → URDFLoader-m1gMdnSQ.js} +189 -189
- package/dist/{animationData-Bfm5Jk8y.js → animationData-CpK8d_Vm.js} +26 -26
- package/dist/{animationData-CNIRMzHL.cjs → animationData-Cr2ra7rm.cjs} +1 -1
- package/dist/{array-B_AocUcb.js → array-Bjl-u8W4.js} +46 -46
- package/dist/{array-BuS832Zx.cjs → array-DeuDoE8W.cjs} +1 -1
- package/dist/{iconfont-D4sBppfS.js → iconfont-0yJB130V.js} +29 -29
- package/dist/{iconfont-kWEJenGZ.cjs → iconfont-DsF7kuG5.cjs} +1 -1
- package/dist/{index-jbNDRLVg.js → index--dgrdpZc.js} +5 -5
- package/dist/{index-DlchhCKc.js → index-B25NjO6c.js} +8 -8
- package/dist/{index-COvNwtxL.cjs → index-BAagNq6Y.cjs} +13 -13
- package/dist/{index-BLxE_tkf.cjs → index-BJPBBWWH.cjs} +1 -1
- package/dist/{index-BY0bG8F_.cjs → index-BJRBghrb.cjs} +1 -1
- package/dist/{index--gImNsHJ.js → index-BVpKugpn.js} +41 -41
- package/dist/{index-vCTVD7cV.cjs → index-BWCv7zxy.cjs} +1 -1
- package/dist/{index-DgYpyTf-.js → index-BXUByyre.js} +2 -2
- package/dist/{index-C3RoPY39.js → index-BhvKYyQB.js} +2 -2
- package/dist/index-BiT4eGKv.cjs +1 -0
- package/dist/{index-BPKCXbP6.cjs → index-Bl-RZAqq.cjs} +1 -1
- package/dist/{index-G9jqtOFo.js → index-C17c1Uft.js} +5 -5
- package/dist/{index-zR73jr4m.cjs → index-C765dJQT.cjs} +1 -1
- package/dist/{index-BUrYjzWs.js → index-CHmWdcAc.js} +2 -2
- package/dist/{index-Bt9rt1NQ.js → index-CL-Hx4b3.js} +3 -3
- package/dist/{index-DV3KiKv5.cjs → index-CLWNDZol.cjs} +1 -1
- package/dist/{index-sMsCzNtW.js → index-COQpDVsv.js} +1570 -1535
- package/dist/{index-Dm4qKk5S.js → index-CPFP3qqA.js} +7 -7
- package/dist/{index-MEN9vDHo.cjs → index-CVXrjDFh.cjs} +1 -1
- package/dist/{index-DVHBs_Vv.js → index-CWt0sQyb.js} +1948 -1952
- package/dist/index-CWxJ6DiY.cjs +13 -0
- package/dist/{index-CEzEaG0d.js → index-CXiOVgoz.js} +1 -1
- package/dist/{index-CIrXKpNl.cjs → index-Cjqg29ul.cjs} +1 -1
- package/dist/{index-C6_1MyLM.cjs → index-CmRBHqQA.cjs} +1 -1
- package/dist/{index-Dsh4fjDh.js → index-CnndnmiH.js} +2 -2
- package/dist/index-CpbBe_mV.cjs +1 -0
- package/dist/{index-BpwKLzrT.js → index-CrMhlZch.js} +7 -7
- package/dist/{index-iv5M7d4h.cjs → index-D3ixok8t.cjs} +1 -1
- package/dist/{index-B-wqJb1R.cjs → index-D7xMkdUC.cjs} +1 -1
- package/dist/{index-f_aTA7O9.js → index-D8HD14bz.js} +1 -1
- package/dist/{index-CN5eTGfF.js → index-DBh5Z73C.js} +1 -1
- package/dist/index-DIWralYr.js +67 -0
- package/dist/{index-CM_8lsuy.js → index-DIZWhNRG.js} +2 -2
- package/dist/{index-C8fMwErX.cjs → index-DRTxe12U.cjs} +13 -13
- package/dist/{index-R-S0AH15.cjs → index-DS-YTop9.cjs} +1 -1
- package/dist/{index-Cw4Pm2PQ.cjs → index-DU9e5EhS.cjs} +1 -1
- package/dist/{index-dD_cGWLc.cjs → index-D_Yhv_HV.cjs} +1 -1
- package/dist/{index-BWqkJ8tT.cjs → index-DaIE9uY1.cjs} +1 -1
- package/dist/index-Ddm0Ov2b.cjs +1 -0
- package/dist/{index-BT6DSXQW.js → index-Ddoq7kRQ.js} +9 -9
- package/dist/{index-C64aG76g.cjs → index-DjSK2KtV.cjs} +1 -1
- package/dist/{index-mpoMK_dv.cjs → index-DqrGdbHq.cjs} +1 -1
- package/dist/index-DykfssLt.js +11883 -0
- package/dist/{index-C38KGQKj.js → index-NaWMtdUV.js} +2 -2
- package/dist/{index-DUygJhjf.js → index-Ss6UXNlA.js} +1711 -1702
- package/dist/{index-DGRL8SEt.js → index-Va8AOLWi.js} +1 -1
- package/dist/{index-CaDwU086.js → index-eJa2wXja.js} +3 -3
- package/dist/{index-CDhojfAp.cjs → index-en40V0e2.cjs} +1 -1
- package/dist/{index-BTfRODup.js → index-gfdgTjvQ.js} +3 -3
- package/dist/{index-kZhbnU3-.cjs → index-idLKVQbT.cjs} +1 -1
- package/dist/{index-Bb7_N8kj.cjs → index-mJ0b0H2w.cjs} +1 -1
- package/dist/{index-CEq2QX9L.js → index-nr6V1FzX.js} +7 -7
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DLfKrpq4.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-1pEFQ04s.js} +33124 -32558
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D4mQcDEW.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-ZMwIbmlN.cjs} +408 -398
- package/dist/{index.vue_vue_type_style_index_1_lang-BybP-dlR.cjs → index.vue_vue_type_style_index_1_lang--4T7j9qz.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-C6hiPOvT.js → index.vue_vue_type_style_index_1_lang-CNh42_ZH.js} +78 -78
- package/dist/{main-Bb6uPPmu.js → main-45SEqhTd.js} +4 -4
- package/dist/{main-Dms8AM6X.cjs → main-C43lTGvT.cjs} +1 -1
- package/dist/{menuIndex-8RF_0N_y.cjs → menuIndex-D52EAwtb.cjs} +1 -1
- package/dist/{menuIndex-BwWrdu20.js → menuIndex-DYaogp2R.js} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +10 -10
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +11 -11
- package/dist/{threeModel-BwQqxP7B.cjs → threeModel-BogeIqke.cjs} +1 -1
- package/dist/{threeModel-Dw1HYePN.js → threeModel-C3r4Xf1F.js} +45 -45
- package/dist/{threePreview-PdofIeZV.js → threePreview-CkKl3frr.js} +103 -103
- package/dist/{threePreview-BlCmiK0A.cjs → threePreview-DOD9HOZn.cjs} +1 -1
- package/dist/{threeSceneView-QkRW8pnJ.cjs → threeSceneView-DZvOLWv6.cjs} +1 -1
- package/dist/{threeSceneView-aDZwf58h.js → threeSceneView-DlL9pZlj.js} +38 -38
- package/dist/{threeSceneViewForCPMPIP-Ds4WSe56.cjs → threeSceneViewForCPMPIP-CZvKvfDx.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-JDLX5nri.js → threeSceneViewForCPMPIP-DB0Eczbs.js} +8 -8
- package/dist/{threeTrackPathView-BlAgLn32.cjs → threeTrackPathView-DgyAEYfV.cjs} +1 -1
- package/dist/{threeTrackPathView-DOy180Fe.js → threeTrackPathView-Eb1bvUXJ.js} +66 -66
- package/dist/{threeViewerHost-Bk7K37-4.cjs → threeViewerHost-BMU1tg9c.cjs} +1 -1
- package/dist/{threeViewerHost-DNY3nOwS.js → threeViewerHost-Bdzv9iPb.js} +20 -20
- package/dist/{urdfTree-nxh-CAg8.cjs → urdfTree-CoK2r17Y.cjs} +1 -1
- package/dist/{urdfTree-CeP5yUoC.js → urdfTree-hLtm0aFY.js} +10 -10
- package/dist/{workpieceTreePanel-CTC2K239.js → workpieceTreePanel-Ne_ACq86.js} +56 -56
- package/dist/{workpieceTreePanel-CZQFw5fE.cjs → workpieceTreePanel-mWvCQyyw.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-37GjXUWs.cjs +0 -1
- package/dist/index-BdP1gtPp.cjs +0 -13
- package/dist/index-BteE57Nz.js +0 -103
- package/dist/index-C8FzkPpO.cjs +0 -1
- package/dist/index-Dao8XeQ7.js +0 -12544
- package/dist/index-qDSdqvf4.cjs +0 -11
|
@@ -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-DRTxe12U.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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./index-CWxJ6DiY.cjs"),n=require("./index-DRTxe12U.cjs"),u={class:"routerPage-wrapper"},s=t.defineComponent({__name:"index",setup(i){const a=n.useMenuState(),{activeMenuPath:o}=n.storeToRefs(a),c=n.useLoginState(),e=t.reactive({...n.State});return t.onMounted(async()=>{c.getModelSecretAsync(),e.structureId=await n.getActivePageStructureId(o.value)}),(d,l)=>(t.openBlock(),t.createElementBlock("div",u,[t.createVNode(r.ssTable,{index:e.structureId,compName:e.compName,itemData:e.pageData,changedContent:e.changedRow,onChange:e.handleItemDataChange,onOnButtonClick:e.clickRowButton},null,8,["index","compName","itemData","changedContent","onChange","onOnButtonClick"])]))}});exports.default=s;
|
|
@@ -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
|
|
5
|
-
import { u as be, a as Ne, p as qA, s as MA, b as qe, c as GA } from "./index-
|
|
2
|
+
import { m as Sn, a as Jn, b as Ln, c as Lt } from "./array-Bjl-u8W4.js";
|
|
3
|
+
import mt from "./index-CrMhlZch.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 } from "./index-DykfssLt.js";
|
|
5
|
+
import { u as be, a as Ne, p as qA, s as MA, b as qe, c as GA, g as it, e as Gt, l as Ft, f as Vt } from "./index-COQpDVsv.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 al } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
11
|
-
import "./index-
|
|
9
|
+
import { g as Bn, s as nl, _ as bn } from "./index-Ss6UXNlA.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 ge, j as al, k as Ot, m as sl, n as cl, s as wn, p as vl } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-1pEFQ04s.js";
|
|
11
|
+
import "./index-gfdgTjvQ.js";
|
|
12
12
|
import "./index-DFBXEIIr.js";
|
|
13
|
-
import { c as
|
|
13
|
+
import { c as jt } from "./menuIndex-DYaogp2R.js";
|
|
14
14
|
import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
import { C as
|
|
15
|
+
import { C as rl } from "./index-NaWMtdUV.js";
|
|
16
16
|
import { S as le } from "./index-BHtNKL1L.js";
|
|
17
|
-
import
|
|
17
|
+
import ul from "./threeModel-C3r4Xf1F.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
|
|
23
|
-
import { g as Ht, c as ul, m as gl, l as dl, d as il, v as ol } from "./index-BteE57Nz.js";
|
|
19
|
+
import { s as zn } from "./index-DBh5Z73C.js";
|
|
20
|
+
import { T as kn, u as gl, a as dl } from "./threeViewerHost-Bdzv9iPb.js";
|
|
21
|
+
import { s as xn } from "./index-CL-Hx4b3.js";
|
|
22
|
+
import { u as Ht } from "./index-CWt0sQyb.js";
|
|
24
23
|
import { T as at } from "./svgIcon-4u4PW7Is.js";
|
|
25
|
-
import {
|
|
24
|
+
import { m as il, v as ol } from "./index-DIWralYr.js";
|
|
25
|
+
import { f as Pl, a as Cl } from "./animationData-CpK8d_Vm.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(jt(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 = Ht(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 it({
|
|
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(rl, {
|
|
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(bn, 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(bn, 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(ul, {
|
|
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(jt(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), _ = Ht(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 = gl(qA), { data: dA } = MA(PA), { setData: Y } = dl(), 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 it({
|
|
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 = il(x), ua.setRawMenus(x ?? []);
|
|
2691
2691
|
}
|
|
2692
2692
|
}, da = async (P) => {
|
|
2693
2693
|
var j, s, c;
|
|
2694
|
-
await
|
|
2694
|
+
await Gt({
|
|
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 = al(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 = Ot(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 = sl(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 = Ot(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((_) => wn((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) => wn(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) => wn(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 = cl(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 vl(), 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 Ft({
|
|
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 Vt({
|
|
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(bn, null, {
|
|
3354
3354
|
dropTitle: M(() => {
|
|
3355
3355
|
var v;
|
|
3356
3356
|
return [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const k=require("vue"),r=require("./index-C5pQXH0_.cjs"),_=require("./index-
|
|
1
|
+
"use strict";const k=require("vue"),r=require("./index-C5pQXH0_.cjs"),_=require("./index-DRTxe12U.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 { ref as x, onMounted as _, createElementBlock as g, openBlock as y, createVNode as C } from "vue";
|
|
2
|
-
import { s as b } from "./index-
|
|
3
|
-
import { c as s } from "./index-
|
|
2
|
+
import { s as b } from "./index-D8HD14bz.js";
|
|
3
|
+
import { c as s } from "./index-COQpDVsv.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const A = (t, n, a) => {
|
|
6
6
|
var r, d, p, m;
|
|
@@ -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-COQpDVsv.js";
|
|
3
|
+
import { s as M } from "./index-CWt0sQyb.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";
|