ss-component-new 1.3.291 → 1.3.293
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-RsaYZtZ_.js → MTLLoader-BOBkrSfe.js} +1 -1
- package/dist/{MTLLoader-CdxYhBAE.cjs → MTLLoader-C6rfxQ-U.cjs} +1 -1
- package/dist/{OrbitControls-D4mDZcDl.js → OrbitControls-Dv9oFyLz.js} +1 -1
- package/dist/{OrbitControls-BNTHZN2P.cjs → OrbitControls-stRsVWeF.cjs} +1 -1
- package/dist/{URDFLoader-B56WRl4z.cjs → URDFLoader-C51mjCMr.cjs} +1 -1
- package/dist/{URDFLoader-BPNyxykV.js → URDFLoader-CkLxRSym.js} +2 -2
- package/dist/{animationData-DiyxzUT8.cjs → animationData-2Gchlfns.cjs} +1 -1
- package/dist/{animationData-D4Q3av_t.js → animationData-B4mCFW0Z.js} +3 -3
- package/dist/{array-Bhy3Mc4Q.js → array-BVedBC4J.js} +4 -4
- package/dist/{array-h46Hybg0.cjs → array-BZGJgmUx.cjs} +1 -1
- package/dist/clone-DZsVSfvJ.cjs +1 -0
- package/dist/clone-DlNyA_zn.js +8 -0
- package/dist/{dayjs.min-DRU3LNcy.cjs → dayjs.min-73fIR1V_.cjs} +1 -1
- package/dist/{dayjs.min-Dx_LN6Bu.js → dayjs.min-E1ZLJ-8j.js} +1 -1
- package/dist/{iconfont-Dq-DsQsx.cjs → iconfont-B3tjmizt.cjs} +1 -1
- package/dist/{iconfont-DkmQztG1.js → iconfont-Dd30Cjr5.js} +2 -2
- package/dist/icons/svg/upload.svg +1 -0
- package/dist/index-0hpStIBH.js +448 -0
- package/dist/{index-Cbb4eaBp.js → index-6egNZH3a.js} +3 -3
- package/dist/{index-DLJUL5PL.js → index-B5V-oUOc.js} +1 -1
- package/dist/{index-BdhI3Qx4.js → index-B5_JD9Zr.js} +2 -2
- package/dist/{index-CISiQYAi.cjs → index-B83PV1ft.cjs} +1 -1
- package/dist/{index-RSaGZhb3.js → index-B846yqBS.js} +2 -2
- package/dist/{index-CV8QlXGI.js → index-BEEOZ_LN.js} +1 -1
- package/dist/{index-Dnf_8W_k.cjs → index-BGXlt0Bk.cjs} +1 -1
- package/dist/{index-mHmXlK2R.cjs → index-BJQ12PRZ.cjs} +1 -1
- package/dist/{index-CfzNt6qg.js → index-BK2xjtjO.js} +4 -4
- package/dist/index-BKPi9246.js +22600 -0
- package/dist/{index-DheEtRB2.cjs → index-BMOdyP-6.cjs} +1 -1
- package/dist/{index-CUJ_cdPT.cjs → index-Ba_o-vqP.cjs} +1 -1
- package/dist/{index-CuHxF23O.cjs → index-BkOJA3nu.cjs} +1 -1
- package/dist/{index-C1dVsNLG.js → index-BpzCJnoT.js} +1 -1
- package/dist/{index-Dr1wv37v.cjs → index-Bsk8vIdB.cjs} +1 -1
- package/dist/{index-CAcP6bx_.cjs → index-BwyBfUCz.cjs} +1 -1
- package/dist/{index-DXWN-UJr.cjs → index-BxEBUPI0.cjs} +1 -1
- package/dist/{index-Df8bxCwR.js → index-C4Dlzm7P.js} +29 -29
- package/dist/index-C4MRQylF.cjs +15 -0
- package/dist/index-C73PF4P6.cjs +25 -0
- package/dist/{index-DXjgumn5.js → index-CAIY8beW.js} +3 -3
- package/dist/{index-WTaP_KDd.cjs → index-CBb-zQHx.cjs} +1 -1
- package/dist/{index--ZVD8xbU.js → index-CEuh0_6n.js} +26 -16
- package/dist/{index-Cg7Mpfpj.js → index-CEwg_zdl.js} +12 -12
- package/dist/{index-DTiolIgS.cjs → index-CQY6ageG.cjs} +1 -1
- package/dist/{index-H_NM-ZF-.js → index-CUyRzcId.js} +2 -2
- package/dist/{index-CxouBRyu.js → index-C_rNGRpL.js} +2 -2
- package/dist/index-Cck4n4WY.cjs +1 -0
- package/dist/{index-C7-Idrnv.js → index-CkTFRGxB.js} +1 -1
- package/dist/{index-QG4F5kTH.js → index-CkXAOjdK.js} +2 -2
- package/dist/{index-CXgZFuTt.cjs → index-Co-U8J6E.cjs} +1 -1
- package/dist/{index-BOHy6XZd.cjs → index-Cq0IbX2g.cjs} +1 -1
- package/dist/index-CqiskI7e.js +55 -0
- package/dist/{index-B6b9Lr8M.js → index-CsBViUVV.js} +3 -3
- package/dist/{index-CcUoCjdm.js → index-CuxsdavJ.js} +4 -4
- package/dist/{index-C6WZeW_p.js → index-CvAN1H22.js} +9 -9
- package/dist/{index-ByDxq4rz.cjs → index-Cw3Mzxsu.cjs} +1 -1
- package/dist/{index-DAwnZFmG.cjs → index-CwOB279v.cjs} +1 -1
- package/dist/index-Cxujb_7E.js +494 -0
- package/dist/index-D-RfdXBa.cjs +1 -0
- package/dist/{index-R-cTm13H.cjs → index-D-RquVVU.cjs} +1 -1
- package/dist/{index-D8_VHkBY.cjs → index-DCL0uKEy.cjs} +1 -1
- package/dist/{index-CdrBTtcu.cjs → index-DG_ZoAwM.cjs} +1 -1
- package/dist/{index-D21dwfqO.js → index-DLJBDAUp.js} +1 -1
- package/dist/{index-BCF0OdEQ.js → index-DR_J3sca.js} +2 -2
- package/dist/{index-D6S-56sE.js → index-DefvWUXW.js} +4790 -4720
- package/dist/{index-DLN6R2tJ.cjs → index-DenEnDJU.cjs} +1 -1
- package/dist/index-DsopYGEs.js +875 -0
- package/dist/index-OVAb_o-R.cjs +1 -0
- package/dist/{index-hMrH_0un.cjs → index-WsYVHGnw.cjs} +1 -1
- package/dist/index-cC0isUDx.cjs +1 -0
- package/dist/index-efltJzM6.js +9611 -0
- package/dist/{index-CQcXApCn.cjs → index-fAnqtn_m.cjs} +1 -1
- package/dist/index-iyPg8SID.cjs +2 -0
- package/dist/index-sqfOcL_Q.cjs +1 -0
- package/dist/{index--PidpjSy.js → index-tT9c2s2F.js} +2 -2
- package/dist/{index-DZa5rkhj.js → index-wW51rQ0m.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-DpyDtD61.cjs → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-6F-e2GJs.cjs} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-DBQ_-V1_.js → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-C92zyRB7.js} +5190 -5187
- package/dist/{main-Bbu4LJwR.js → main-B5W7D5YD.js} +4 -4
- package/dist/{main-CH978yUZ.cjs → main-Bj5s2YI8.cjs} +1 -1
- package/dist/{menu-CtG1loFf.js → menu-BMAZOS2j.js} +204 -194
- package/dist/{menu-Hdw0L-Y2.cjs → menu-DopnPfbG.cjs} +6 -6
- package/dist/{menuIndex-DqY0uteo.cjs → menuIndex-DhpobxSC.cjs} +1 -1
- package/dist/{menuIndex-DmS5cMwB.js → menuIndex-DuWSagQ-.js} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +12 -12
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-BI8F4XV8.js → threeModel-C87-hoqY.js} +4 -4
- package/dist/{threeModel-_zOhFKba.cjs → threeModel-DTxQtp2f.cjs} +1 -1
- package/dist/{threePreview-BwElOyqr.js → threePreview-BfNy0TQL.js} +4 -4
- package/dist/{threePreview-CWRtmSvh.cjs → threePreview-DQX5gazP.cjs} +1 -1
- package/dist/{threeSceneView-C58THVA1.cjs → threeSceneView-Br8jbvLM.cjs} +1 -1
- package/dist/{threeSceneView-DXMJtXQN.js → threeSceneView-jNmK6OkL.js} +14 -14
- package/dist/{threeSceneViewForCPMPIP-EorJhJaG.cjs → threeSceneViewForCPMPIP-B3ZnBCj6.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-VMZd2Jxf.js → threeSceneViewForCPMPIP-DB1dWZmp.js} +8 -8
- package/dist/{threeTrackPathView-BckFDqUs.js → threeTrackPathView-DaPoMzkC.js} +4 -4
- package/dist/{threeTrackPathView-CamXHHnK.cjs → threeTrackPathView-yar3btno.cjs} +1 -1
- package/dist/{threeViewerHost-DuXsAYiT.cjs → threeViewerHost-CJ4fhhdJ.cjs} +1 -1
- package/dist/{threeViewerHost-0_B97XiA.js → threeViewerHost-pVaZ-5d1.js} +6 -6
- package/dist/{urdfTree-DDQw6tEb.cjs → urdfTree-D7WPM5fm.cjs} +1 -1
- package/dist/{urdfTree-B6GL3kgV.js → urdfTree-dQ-2fOQE.js} +1 -1
- package/dist/{workpieceTreePanel-BvO881iH.js → workpieceTreePanel-Di20N5y6.js} +4 -4
- package/dist/{workpieceTreePanel-B6AVU13A.cjs → workpieceTreePanel-rK0hhgpD.cjs} +1 -1
- package/package.json +1 -1
- package/public/icons/svg/upload.svg +1 -0
- package/dist/clone-BrrxU6_J.js +0 -8
- package/dist/clone-Dn6v3xp6.cjs +0 -1
- package/dist/index-08aaWGsX.cjs +0 -2
- package/dist/index-B2mYIzpx.js +0 -22384
- package/dist/index-B6_PK_Jd.cjs +0 -15
- package/dist/index-BdyYMxx4.cjs +0 -1
- package/dist/index-BlAISTfa.cjs +0 -1
- package/dist/index-Bs0qreV1.cjs +0 -1
- package/dist/index-CIQzzaTN.js +0 -1058
- package/dist/index-DTsHI5xQ.js +0 -30
- package/dist/index-DWtM4lnv.js +0 -9371
- package/dist/index-DmJZkYFE.cjs +0 -25
- package/dist/index-DtgdMA7B.cjs +0 -1
- package/dist/index-cFt1QbzL.js +0 -308
- package/dist/index-gFBtUdzh.js +0 -494
- package/dist/index-vbxWL2yo.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),D=require("./menu-DopnPfbG.cjs"),f=require("./index-Cck4n4WY.cjs"),F=require("./index.vue_vue_type_script_setup_true_lang-BKTJR2th.cjs"),z=require("./index-CUw6nGTo.cjs"),J=require("./index-cC0isUDx.cjs"),M=require("./request-BC2w2vGr.cjs"),$=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),K=require("./clone-DZsVSfvJ.cjs"),Q=require("./index-W8p89C7t.cjs"),X={class:"account-wrap"},Z={class:"video-wrap"},ee=e.defineComponent({__name:"index",emits:["startVerify","completeVerify","verifyResult"],setup(j,{expose:b,emit:h}){const V=h,{initVerifySelf:O}=J.useFaceRecognition(),r=e.ref(null),c=e.ref(null);let N=!1,w=null;const l=async a=>{if(!a)return;const o=await O(a).finally(()=>{V("completeVerify")});V("verifyResult",o)},I=()=>{if(!c.value||!r.value)return;const a=c.value,o=a.getContext("2d"),_=r.value;a.width=200,a.height=200;const C=_.videoWidth||640,E=_.videoHeight||480,x=Math.min(200/C,200/E),k=C*x,S=E*x,T=(200-k)/2,d=(200-S)/2;o==null||o.drawImage(_,0,0,C,E,T,d,k,S),a.toBlob(async B=>{if(B){const y=new File([B],"face.png",{type:"image/png"});V("startVerify"),await l(y)}},"image/png")},v=async()=>{if(!r.value||N)return;const a=r.value;try{if(w=await navigator.mediaDevices.getUserMedia({video:{facingMode:"user"},audio:!1}),a){const o=a;o.srcObject=w,N=!0}}catch{M.ElMessage.warning("摄像头启动失败")}};function A(a){if(a&&(a.getTracks().forEach(o=>o.stop()),r.value)){const o=r.value;o.srcObject=null}}const R=()=>{A(w),N=!1};return e.onBeforeUnmount(()=>{R()}),b({initFaceRecognition:v,cleanup:R}),(a,o)=>(e.openBlock(),e.createElementBlock("div",X,[e.createElementVNode("div",Z,[e.createElementVNode("video",{class:"face-video",ref_key:"videoRef",ref:r,id:"v",autoplay:"",playsinline:""},null,512)]),e.createElementVNode("div",{class:"face-screenshot-wrapper",onClick:I},[e.renderSlot(a.$slots,"default",{},()=>[o[0]||(o[0]=e.createElementVNode("button",{class:""},"人脸识别",-1))],!0)]),e.createElementVNode("canvas",{ref_key:"canvasRef",ref:c,id:"canvas"},null,512)]))}}),te=$._export_sfc(ee,[["__scopeId","data-v-d48749db"]]),oe={class:"personal-center"},ae={class:"body"},le={class:"body-left"},ne={class:"personal-profile"},se={class:"avatar"},re=["src"],ie={key:1,class:"downgrade-avatar"},ce={class:"base-info"},de={class:"permission"},ue={class:"personal-form-wrapper"},pe={class:"password-input-wrapper"},me={class:"edit-wrapper"},fe={class:"edit-body"},ve={class:"edit-form-wrapper"},_e={class:"edit-footer"},Ve={class:"footer-right"},ge=e.defineComponent({__name:"index",setup(j){const{isSuperAdmin:b,initEditForm:h,isAllowReplacePassword:V,initReplacePassword:O}=f.usePersonalCenter(),r=D.useLoginState(),{loginUserInfo:c}=D.storeToRefs(r),N=e.computed(()=>b.value?"超级管理员":"普通用户"),w=e.computed(()=>{var n,t;return((t=(n=c.value)==null?void 0:n.account)==null?void 0:t.charAt(0))||""}),l=e.ref({}),I=()=>{l.value=K.clone(c.value)||{}},v=e.ref(""),A=async()=>{var p,m,g;const n=(g=(m=(p=c.value)==null?void 0:p.face_photo_url)==null?void 0:m[0])==null?void 0:g.url;if(!n)return;const t=await D.platformDownloadFile({url:n}),u=new Blob([t==null?void 0:t.data],{type:t==null?void 0:t.headers["content-type"]}),i=URL.createObjectURL(u);v.value=i},R=()=>{v.value&&URL.revokeObjectURL(v.value)};e.onMounted(()=>{I(),A()}),e.onUnmounted(()=>{R()});const a=e.ref(f.tabConstants.BASE.value),o=e.ref(),_=e.ref(!1),C=()=>{_.value=!0},E=()=>{_.value=!1},x=n=>{if(n){P();return}M.ElMessage.error("验证失败")},k=n=>{o.value&&(n===f.tabConstants.RESET_PASSWORD_BY_FACE_RECOGNITION.value?o.value.initFaceRecognition():o.value.cleanup())},S=n=>{const t=n.paneName;k(t)},T=e.ref(),d=e.ref(h(c.value)),B=e.reactive({password:[{required:!0,message:"请输入密码",trigger:"blur"}]}),y=e.ref(!1),W=()=>{y.value=!0},U=()=>{y.value=!1},P=()=>{d.value=h(c.value),W()},G=()=>a.value===f.tabConstants.RESET_PASSWORD_BY_FACE_RECOGNITION.value?!0:!V(l.value),Y=async()=>{var u,i;if(await((i=(u=T.value)==null?void 0:u.validate)==null?void 0:i.call(u)),!G())return;const t=Q.ElLoading.service({lock:!0,text:"Loading",background:"rgba(0, 0, 0, 0.7)"});await O(d.value).finally(()=>{t.close()}),l.value={...l.value,...d.value},r.setLoginUserInfo(l.value),U()};return(n,t)=>{const u=e.resolveComponent("el-avatar"),i=e.resolveComponent("el-input"),p=e.resolveComponent("el-form-item"),m=e.resolveComponent("el-col"),g=e.resolveComponent("el-row"),q=e.resolveComponent("el-form"),L=e.resolveComponent("el-tab-pane"),H=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",oe,[t[7]||(t[7]=e.createElementVNode("div",{class:"header"},[e.createElementVNode("div",{class:"header-left"}),e.createElementVNode("div",{class:"header-right"})],-1)),e.createElementVNode("div",ae,[e.createElementVNode("div",le,[e.createElementVNode("div",ne,[e.createElementVNode("div",se,[e.createVNode(u,{fit:"cover",size:96,ref:"avatarRef",alt:"头像查找失败"},{default:e.withCtx(()=>[v.value?(e.openBlock(),e.createElementBlock("img",{key:0,class:"face-img",src:v.value},null,8,re)):(e.openBlock(),e.createElementBlock("div",ie,e.toDisplayString(w.value),1))]),_:1},512)]),e.createElementVNode("div",ce,[e.createElementVNode("div",de,e.toDisplayString(N.value),1)])])]),t[6]||(t[6]=e.createElementVNode("div",{class:"divide"},null,-1)),e.createVNode(H,{class:"user-tabs",modelValue:a.value,"onUpdate:modelValue":t[4]||(t[4]=s=>a.value=s),onTabClick:S},{default:e.withCtx(()=>[e.createVNode(L,{label:e.unref(f.tabConstants).BASE.label,name:e.unref(f.tabConstants).BASE.value},{default:e.withCtx(()=>[e.createElementVNode("div",ue,[e.createVNode(q,{class:"personal-form",model:l.value},{default:e.withCtx(()=>[e.createVNode(g,{gutter:20},{default:e.withCtx(()=>[e.createVNode(m,{span:12},{default:e.withCtx(()=>[e.createVNode(p,{prop:"user_name",label:"姓名","label-position":"top"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:l.value.user_name,"onUpdate:modelValue":t[0]||(t[0]=s=>l.value.user_name=s),"aria-label":"姓名",placeholder:"姓名",readonly:""},null,8,["modelValue"])]),_:1})]),_:1}),e.createVNode(m,{span:12},{default:e.withCtx(()=>[e.createVNode(p,{prop:"employee_no",label:"工号","label-position":"top"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:l.value.employee_no,"onUpdate:modelValue":t[1]||(t[1]=s=>l.value.employee_no=s),"aria-label":"工号",placeholder:"工号",readonly:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e.createVNode(g,{gutter:20},{default:e.withCtx(()=>[e.createVNode(m,{span:12},{default:e.withCtx(()=>[e.createVNode(p,{prop:"account",label:"账号","label-position":"top"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:l.value.account,"onUpdate:modelValue":t[2]||(t[2]=s=>l.value.account=s),"aria-label":"账号",placeholder:"账号",readonly:""},null,8,["modelValue"])]),_:1})]),_:1}),e.createVNode(m,{span:12},{default:e.withCtx(()=>[e.createVNode(p,{prop:"password",label:"密码","label-position":"top"},{default:e.withCtx(()=>[e.createElementVNode("div",pe,[e.createVNode(i,{modelValue:l.value.password,"onUpdate:modelValue":t[3]||(t[3]=s=>l.value.password=s),type:"password","show-password":"",readonly:"","aria-label":"密码",placeholder:"密码"},null,8,["modelValue"]),!e.unref(b)&&e.unref(V)(l.value)?(e.openBlock(),e.createBlock(F._sfc_main,{key:0,class:"replace-password",emptyColor:!0,onClickTrigger:P,modelValue:"修改密码",buttonType:"primary"})):e.createCommentVNode("",!0)])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])])]),_:1},8,["label","name"]),e.createVNode(L,{label:e.unref(f.tabConstants).RESET_PASSWORD_BY_FACE_RECOGNITION.label,name:e.unref(f.tabConstants).RESET_PASSWORD_BY_FACE_RECOGNITION.value},{default:e.withCtx(()=>[e.createVNode(te,{ref_key:"faceRecognitionRef",ref:o,onStartVerify:C,onCompleteVerify:E,onVerifyResult:x},{default:e.withCtx(()=>[e.createVNode(F._sfc_main,{class:"verify-button",loading:_.value,emptyColor:!0,modelValue:"人脸识别",buttonType:"primary"},null,8,["loading"])]),_:1},512)]),_:1},8,["label","name"])]),_:1},8,["modelValue"])]),t[8]||(t[8]=e.createElementVNode("div",{class:"footer"},[e.createElementVNode("div",{class:"footer-left"}),e.createElementVNode("div",{class:"footer-right"})],-1))]),e.createVNode(z.ssDialog,{class:"edit-dialog",visible:y.value,title:"用户信息",onBeforeDestroy:U,showClose:!0,closeOnClickModal:!1,closeOnPressEscape:!1,modalClass:"role-edit-modal",alignCenter:!0,appendToBody:!1},{default:e.withCtx(()=>[e.createElementVNode("div",me,[t[9]||(t[9]=e.createElementVNode("div",{class:"edit-header"},[e.createElementVNode("div",{class:"header-left"}),e.createElementVNode("div",{class:"header-right"})],-1)),e.createElementVNode("div",fe,[e.createElementVNode("div",ve,[e.createVNode(q,{class:"edit-form",ref_key:"editFormRef",ref:T,model:d.value,rules:B},{default:e.withCtx(()=>[e.createVNode(g,{gutter:20},{default:e.withCtx(()=>[e.createVNode(m,{span:12},{default:e.withCtx(()=>[e.createVNode(p,{prop:"password",label:"密码","label-position":"top"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:d.value.password,"onUpdate:modelValue":t[5]||(t[5]=s=>d.value.password=s),"aria-label":"密码",placeholder:"密码"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])])])])]),footer:e.withCtx(()=>[e.createElementVNode("div",_e,[t[10]||(t[10]=e.createElementVNode("div",{class:"footer-left"},null,-1)),e.createElementVNode("div",Ve,[e.createVNode(F._sfc_main,{class:"cancel",emptyColor:!0,onClickTrigger:U,modelValue:"取消",buttonType:"info"}),e.createVNode(F._sfc_main,{class:"confirm",emptyColor:!0,onClickTrigger:Y,modelValue:"确定",buttonType:"primary"})])])]),_:1},8,["visible"])],64)}}}),Ne=$._export_sfc(ge,[["__scopeId","data-v-e4017c10"]]);exports.default=Ne;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as v, computed as B, watch as u, onMounted as y, onUnmounted as _, resolveComponent as D, createElementBlock as K, openBlock as L, createVNode as E } from "vue";
|
|
2
|
-
import { b as j, p as x, s as z } from "./menu-
|
|
3
|
-
import { u as A } from "./index-
|
|
2
|
+
import { b as j, p as x, s as z } from "./menu-BMAZOS2j.js";
|
|
3
|
+
import { u as A } from "./index-CkXAOjdK.js";
|
|
4
4
|
import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const b = /* @__PURE__ */ v({
|
|
6
6
|
__name: "index",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T, createElementBlock as y, openBlock as p, createElementVNode as t, withDirectives as u, createVNode as o, unref as n, toDisplayString as r, createBlock as A } from "vue";
|
|
2
|
-
import { S as I, t as x, s as w, a as L } from "./index-
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-
|
|
2
|
+
import { S as I, t as x, s as w, a as L } from "./index-BK2xjtjO.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-C92zyRB7.js";
|
|
4
4
|
import "./index-BHtNKL1L.js";
|
|
5
|
-
import { e as E } from "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import { b as N, s as U } from "./menu-
|
|
5
|
+
import { e as E } from "./index-DefvWUXW.js";
|
|
6
|
+
import "./index-B846yqBS.js";
|
|
7
|
+
import { b as N, s as U } from "./menu-BMAZOS2j.js";
|
|
8
8
|
import "./request-CoGtW0Ux.js";
|
|
9
|
-
import "./dayjs.min-
|
|
9
|
+
import "./dayjs.min-E1ZLJ-8j.js";
|
|
10
10
|
/* empty css */
|
|
11
11
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const z = { class: "personal-wrapper" }, F = { class: "personal-box left" }, H = { class: "base-avatar" }, K = { class: "center-avatar" }, M = { class: "base-info" }, R = { class: "base-signature" }, j = { class: "personal-box right" }, q = /* @__PURE__ */ C({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Kdt=Object.defineProperty;var Jdt=(r,t,e)=>t in r?Kdt(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var zr=(r,t,e)=>Jdt(r,typeof t!="symbol"?t+"":t,e);const mn=require("./menu-
|
|
1
|
+
"use strict";var Kdt=Object.defineProperty;var Jdt=(r,t,e)=>t in r?Kdt(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var zr=(r,t,e)=>Jdt(r,typeof t!="symbol"?t+"":t,e);const mn=require("./menu-DopnPfbG.cjs"),ym=require("./index-BkOJA3nu.cjs"),Qdt=require("./index-Ba_o-vqP.cjs"),Za=require("./request-BC2w2vGr.cjs"),ba=require("./dayjs.min-73fIR1V_.cjs");var tpt=/\s/;function ept(r){for(var t=r.length;t--&&tpt.test(r.charAt(t)););return t}var rpt=/^\s+/;function npt(r){return r&&r.slice(0,ept(r)+1).replace(rpt,"")}var rU=NaN,ipt=/^[-+]0x[0-9a-f]+$/i,apt=/^0b[01]+$/i,spt=/^0o[0-7]+$/i,opt=parseInt;function nU(r){if(typeof r=="number")return r;if(Za.isSymbol(r))return rU;if(Za.isObject(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=Za.isObject(t)?t+"":t}if(typeof r!="string")return r===0?r:+r;r=npt(r);var e=apt.test(r);return e||spt.test(r)?opt(r.slice(2),e?2:8):ipt.test(r)?rU:+r}function lpt(r,t){return ba.setToString(ba.overRest(r,t,ba.identity),r+"")}function upt(r,t,e){if(!Za.isObject(e))return!1;var n=typeof t;return(n=="number"?mn.isArrayLike(e)&&mn.isIndex(t,e.length):n=="string"&&t in e)?Za.eq(e[t],r):!1}function cpt(r){return lpt(function(t,e){var n=-1,i=e.length,a=i>1?e[i-1]:void 0,s=i>2?e[2]:void 0;for(a=r.length>3&&typeof a=="function"?(i--,a):void 0,s&&upt(e[0],e[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++n<i;){var o=e[n];o&&r(t,o,n,a)}return t})}var hpt="[object Object]",fpt=Function.prototype,dpt=Object.prototype,QJ=fpt.toString,ppt=dpt.hasOwnProperty,vpt=QJ.call(Object);function mpt(r){if(!Za.isObjectLike(r)||Za.baseGetTag(r)!=hpt)return!1;var t=mn.getPrototype(r);if(t===null)return!0;var e=ppt.call(t,"constructor")&&t.constructor;return typeof e=="function"&&e instanceof e&&QJ.call(e)==vpt}var gpt="__lodash_hash_undefined__";function ypt(r){return this.__data__.set(r,gpt),this}function bpt(r){return this.__data__.has(r)}function gM(r){var t=-1,e=r==null?0:r.length;for(this.__data__=new Za.MapCache;++t<e;)this.add(r[t])}gM.prototype.add=gM.prototype.push=ypt;gM.prototype.has=bpt;function wpt(r,t){for(var e=-1,n=r==null?0:r.length;++e<n;)if(t(r[e],e,r))return!0;return!1}function _pt(r,t){return r.has(t)}var xpt=1,Spt=2;function tQ(r,t,e,n,i,a){var s=e&xpt,o=r.length,l=t.length;if(o!=l&&!(s&&l>o))return!1;var u=a.get(r),c=a.get(t);if(u&&c)return u==t&&c==r;var h=-1,f=!0,d=e&Spt?new gM:void 0;for(a.set(r,t),a.set(t,r);++h<o;){var p=r[h],m=t[h];if(n)var g=s?n(m,p,h,t,r,a):n(p,m,h,r,t,a);if(g!==void 0){if(g)continue;f=!1;break}if(d){if(!wpt(t,function(y,v){if(!_pt(d,v)&&(p===y||i(p,y,e,n,a)))return d.push(v)})){f=!1;break}}else if(!(p===m||i(p,m,e,n,a))){f=!1;break}}return a.delete(r),a.delete(t),f}function Tpt(r){var t=-1,e=Array(r.size);return r.forEach(function(n,i){e[++t]=[i,n]}),e}function Ept(r){var t=-1,e=Array(r.size);return r.forEach(function(n){e[++t]=n}),e}var Apt=1,Mpt=2,Cpt="[object Boolean]",kpt="[object Date]",Rpt="[object Error]",Dpt="[object Map]",Ipt="[object Number]",Lpt="[object RegExp]",Ppt="[object Set]",Npt="[object String]",Opt="[object Symbol]",Fpt="[object ArrayBuffer]",Bpt="[object DataView]",iU=Za.Symbol?Za.Symbol.prototype:void 0,g8=iU?iU.valueOf:void 0;function zpt(r,t,e,n,i,a,s){switch(e){case Bpt:if(r.byteLength!=t.byteLength||r.byteOffset!=t.byteOffset)return!1;r=r.buffer,t=t.buffer;case Fpt:return!(r.byteLength!=t.byteLength||!a(new mn.Uint8Array(r),new mn.Uint8Array(t)));case Cpt:case kpt:case Ipt:return Za.eq(+r,+t);case Rpt:return r.name==t.name&&r.message==t.message;case Lpt:case Npt:return r==t+"";case Dpt:var o=Tpt;case Ppt:var l=n&Apt;if(o||(o=Ept),r.size!=t.size&&!l)return!1;var u=s.get(r);if(u)return u==t;n|=Mpt,s.set(r,t);var c=tQ(o(r),o(t),n,i,a,s);return s.delete(r),c;case Opt:if(g8)return g8.call(r)==g8.call(t)}return!1}var Upt=1,Vpt=Object.prototype,Hpt=Vpt.hasOwnProperty;function jpt(r,t,e,n,i,a){var s=e&Upt,o=mn.getAllKeys(r),l=o.length,u=mn.getAllKeys(t),c=u.length;if(l!=c&&!s)return!1;for(var h=l;h--;){var f=o[h];if(!(s?f in t:Hpt.call(t,f)))return!1}var d=a.get(r),p=a.get(t);if(d&&p)return d==t&&p==r;var m=!0;a.set(r,t),a.set(t,r);for(var g=s;++h<l;){f=o[h];var y=r[f],v=t[f];if(n)var b=s?n(v,y,f,t,r,a):n(y,v,f,r,t,a);if(!(b===void 0?y===v||i(y,v,e,n,a):b)){m=!1;break}g||(g=f=="constructor")}if(m&&!g){var w=r.constructor,_=t.constructor;w!=_&&"constructor"in r&&"constructor"in t&&!(typeof w=="function"&&w instanceof w&&typeof _=="function"&&_ instanceof _)&&(m=!1)}return a.delete(r),a.delete(t),m}var Wpt=1,aU="[object Arguments]",sU="[object Array]",HE="[object Object]",Gpt=Object.prototype,oU=Gpt.hasOwnProperty;function qpt(r,t,e,n,i,a){var s=Za.isArray(r),o=Za.isArray(t),l=s?sU:mn.getTag(r),u=o?sU:mn.getTag(t);l=l==aU?HE:l,u=u==aU?HE:u;var c=l==HE,h=u==HE,f=l==u;if(f&&mn.isBuffer(r)){if(!mn.isBuffer(t))return!1;s=!0,c=!1}if(f&&!c)return a||(a=new mn.Stack),s||mn.isTypedArray(r)?tQ(r,t,e,n,i,a):zpt(r,t,l,e,n,i,a);if(!(e&Wpt)){var d=c&&oU.call(r,"__wrapped__"),p=h&&oU.call(t,"__wrapped__");if(d||p){var m=d?r.value():r,g=p?t.value():t;return a||(a=new mn.Stack),i(m,g,e,n,a)}}return f?(a||(a=new mn.Stack),jpt(r,t,e,n,i,a)):!1}function eQ(r,t,e,n,i){return r===t?!0:r==null||t==null||!Za.isObjectLike(r)&&!Za.isObjectLike(t)?r!==r&&t!==t:qpt(r,t,e,n,eQ,i)}function $pt(r){return function(t,e,n){for(var i=-1,a=Object(t),s=n(t),o=s.length;o--;){var l=s[++i];if(e(a[l],l,a)===!1)break}return t}}var Xpt=$pt(),y8=function(){return Za.root.Date.now()},Ypt="Expected a function",Zpt=Math.max,Kpt=Math.min;function rQ(r,t,e){var n,i,a,s,o,l,u=0,c=!1,h=!1,f=!0;if(typeof r!="function")throw new TypeError(Ypt);t=nU(t)||0,Za.isObject(e)&&(c=!!e.leading,h="maxWait"in e,a=h?Zpt(nU(e.maxWait)||0,t):a,f="trailing"in e?!!e.trailing:f);function d(x){var S=n,T=i;return n=i=void 0,u=x,s=r.apply(T,S),s}function p(x){return u=x,o=setTimeout(y,t),c?d(x):s}function m(x){var S=x-l,T=x-u,E=t-S;return h?Kpt(E,a-T):E}function g(x){var S=x-l,T=x-u;return l===void 0||S>=t||S<0||h&&T>=a}function y(){var x=y8();if(g(x))return v(x);o=setTimeout(y,m(x))}function v(x){return o=void 0,f&&n?d(x):(n=i=void 0,s)}function b(){o!==void 0&&clearTimeout(o),u=0,n=l=i=o=void 0}function w(){return o===void 0?s:v(y8())}function _(){var x=y8(),S=g(x);if(n=arguments,i=this,l=x,S){if(o===void 0)return p(l);if(h)return clearTimeout(o),o=setTimeout(y,t),d(l)}return o===void 0&&(o=setTimeout(y,t)),s}return _.cancel=b,_.flush=w,_}function WL(r,t,e){(e!==void 0&&!Za.eq(r[t],e)||e===void 0&&!(t in r))&&mn.baseAssignValue(r,t,e)}function Jpt(r){return Za.isObjectLike(r)&&mn.isArrayLike(r)}function GL(r,t){if(!(t==="constructor"&&typeof r[t]=="function")&&t!="__proto__")return r[t]}function Qpt(r){return mn.copyObject(r,mn.keysIn(r))}function tvt(r,t,e,n,i,a,s){var o=GL(r,e),l=GL(t,e),u=s.get(l);if(u){WL(r,e,u);return}var c=a?a(o,l,e+"",r,t,s):void 0,h=c===void 0;if(h){var f=Za.isArray(l),d=!f&&mn.isBuffer(l),p=!f&&!d&&mn.isTypedArray(l);c=l,f||d||p?Za.isArray(o)?c=o:Jpt(o)?c=mn.copyArray(o):d?(h=!1,c=mn.cloneBuffer(l,!0)):p?(h=!1,c=mn.cloneTypedArray(l,!0)):c=[]:mpt(l)||mn.isArguments(l)?(c=o,mn.isArguments(o)?c=Qpt(o):(!Za.isObject(o)||Za.isFunction(o))&&(c=mn.initCloneObject(l))):h=!1}h&&(s.set(l,c),i(c,l,n,a,s),s.delete(l)),WL(r,e,c)}function nQ(r,t,e,n,i){r!==t&&Xpt(t,function(a,s){if(i||(i=new mn.Stack),Za.isObject(a))tvt(r,t,s,e,nQ,n,i);else{var o=n?n(GL(r,s),a,s+"",r,t,i):void 0;o===void 0&&(o=a),WL(r,s,o)}},mn.keysIn)}function KC(r,t){return eQ(r,t)}var bm=cpt(function(r,t,e){nQ(r,t,e)});const evt=(r,t)=>{var s;let e;r.replaceAll(" ",`\r
|
|
2
2
|
`).replaceAll(`
|
|
3
3
|
`,`\r
|
|
4
4
|
`).includes(`\r
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
`,`\r
|
|
7
7
|
`).replaceAll(" ",`\r
|
|
8
8
|
`).split(`\r
|
|
9
|
-
`).filter(
|
|
9
|
+
`).filter(o=>o.trim()!==""):e=r.replaceAll(" ",`\r
|
|
10
10
|
`).split(`
|
|
11
|
-
`).filter(s=>s.trim()!==""),e=e==null?void 0:e.map(s=>(s=s==null?void 0:s.replaceAll("\r",""),s));const n=[];let i="",a=0;for(const s of e)a=a+1,s.includes("{")||i.includes("{")||s.includes("[")||i.includes("[")||s.includes("【")||i.includes("【")||s.includes("(")||i.includes("(")||s.includes("(")||i.includes("(")||s.includes("/*")||i.includes("/*")?(i+=s.trim(),i.split("{").length-1===i.split("}").length-1&&i.split("【").length-1===i.split("】").length-1&&i.split("[").length-1===i.split("]").length-1&&i.split("(").length-1===i.split(")").length-1&&i.split("(").length-1===i.split(")").length-1&&i.split("/*").length-1===i.split("*/").length-1&&!(t!=null&&t.find(o=>o===i[i.length-1]))&&!(t!=null&&t.find(o=>{var l;return o===((l=e==null?void 0:e[a])==null?void 0:l[0])}))?(n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),i=""):i!=null&&i.includes("*/")&&(i=i.replace(/\/\*[\s\S]*?\*\//g,""))):t!=null&&t.find(o=>o===s[s.length-1])?i+=s.trim():n.push(s.trim().replace(/\/\*[\s\S]*?\*\//g,""));return n},iQ=(r,t)=>{var s,o;let e=r;const n=[];let i="",a=0;for(const l of e)a++,l.includes("{")||i.includes("{")||l.includes("[")||i.includes("[")||l.includes("【")||i.includes("【")||l.includes("(")||i.includes("(")||l.includes("(")||i.includes("(")||l.includes("/*")||i.includes("/*")?(i+=l.trim(),i.split("{").length-1===i.split("}").length-1&&i.split("【").length-1===i.split("】").length-1&&i.split("[").length-1===i.split("]").length-1&&i.split("(").length-1===i.split(")").length-1&&i.split("(").length-1===i.split(")").length-1&&i.split("/*").length-1===i.split("*/").length-1&&i[i.length-1]===t&&(i.split("'").length%2===1||((s=i.split("'"))==null?void 0:s.length)===1)?(n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),i=""):a===(r==null?void 0:r.length)&&(n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),i="")):(i+=l.trim(),(i==null?void 0:i[(i==null?void 0:i.length)-1])===t&&(i.split("'").length%2===1||((o=i.split("'"))==null?void 0:o.length)===1)&&(n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),i=""));return(i==null?void 0:i.length)!==0&&n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),n},rvt=(r,t)=>r===t||r.length===t.length&&r.every((e,n)=>e===t[n]),nvt=r=>r.reduce((t,e)=>{var i;const n=(((i=t.at(-1))==null?void 0:i.total)??0)+e;return t.push({key:e,total:n}),t},[]),ivt=r=>{for(let t=r.length-1;t>0;t--){const e=Math.floor(Math.random()*(t+1));[r[t],r[e]]=[r[e],r[t]]}return r},avt=(r,t=2)=>{const e=[];for(let n=0;n<r.length;n+=t)e.push(r.slice(n,n+t));return e},svt=r=>!r||r.length===0?[]:r.length===1?r[0].map(t=>[t]):r.reduce((t,e)=>{const n=[];return t.forEach(i=>{e.forEach(a=>{i&&n.push(Object.assign(i,a))})}),n}),ovt=r=>typeof r=="number",lvt=mn.useUnit(mn.pinia),{selectTitle:b8}=mn.storeToRefs(lvt),uvt=mn.useMenuState(mn.pinia),{currentMenuPath:Ay}=mn.storeToRefs(uvt);let xv="$R";const c_=new Map,cvt=r=>r==null?void 0:r.map(e=>{var o,l,u,c,h,f,d,p,m,g,y,v,b,w,_,x,S,T,E,D,L,B,M,R,A,C,I,k,N,z,O;let n=(c=(u=(l=(o=e==null?void 0:e.contents)==null?void 0:o.find(H=>{var V;return(V=H==null?void 0:H.key)==null?void 0:V.includes("struct")}))==null?void 0:l.value)==null?void 0:u[0])==null?void 0:c.类型,i=Object.values(e==null?void 0:e.name);i=i==null?void 0:i.reverse();let a=(h=e==null?void 0:e.contents)==null?void 0:h.map(H=>H==null?void 0:H.key),s={comp:n,isShow:e==null?void 0:e.is_show,name:i==null?void 0:i[0],id:e==null?void 0:e.object_id,relatedTables:a};for(let H in i)parseInt(H)>=1&&(s[`name${parseInt(H)-1}`]=i[H]);if(n==="Table"){let H=(f=e==null?void 0:e.contents)==null?void 0:f.find(Y=>{var Q;return(Q=Y==null?void 0:Y.key)==null?void 0:Q.includes("content")}),V=[];H.value=(d=H==null?void 0:H.value)==null?void 0:d.sort((Y,Q)=>parseInt(Y==null?void 0:Y.id)-parseInt(Q==null?void 0:Q.id)),V.push({key:"tableContents",contents:H==null?void 0:H.value});let G=(v=(y=(g=(m=(p=e==null?void 0:e.contents)==null?void 0:p.find(Y=>{var Q;return(Q=Y==null?void 0:Y.key)==null?void 0:Q.includes("struct")}))==null?void 0:m.value)==null?void 0:g[0])==null?void 0:y.结构)==null?void 0:v.contents;V.push({key:"header",contents:G}),V.push({key:"filter",contents:(S=(x=(_=(w=(b=e==null?void 0:e.contents)==null?void 0:b.find(Y=>{var Q;return(Q=Y==null?void 0:Y.key)==null?void 0:Q.includes("struct")}))==null?void 0:w.value)==null?void 0:_[0])==null?void 0:x.引用)==null?void 0:S.contents}),s.compData=V}else if(n==="Form"){let H=[],V=(D=(E=(T=e==null?void 0:e.contents)==null?void 0:T.find(Y=>{var Q;return(Q=Y==null?void 0:Y.key)==null?void 0:Q.includes("content")}))==null?void 0:E.value)==null?void 0:D[0],G=(C=(A=(R=(M=(B=(L=e==null?void 0:e.contents)==null?void 0:L.find(Y=>{var Q;return(Q=Y==null?void 0:Y.key)==null?void 0:Q.includes("struct")}))==null?void 0:B.value)==null?void 0:M[0])==null?void 0:R.结构)==null?void 0:A.contents)==null?void 0:C.map(Y=>(Y.value=V==null?void 0:V[Y==null?void 0:Y.prop],Y));H.push({key:"filter",contents:(O=(z=(N=(k=(I=e==null?void 0:e.contents)==null?void 0:I.find(Y=>{var Q;return(Q=Y==null?void 0:Y.key)==null?void 0:Q.includes("struct")}))==null?void 0:k.value)==null?void 0:N[0])==null?void 0:z.引用)==null?void 0:O.contents}),H.push({key:"formContent",contents:G}),s.compData=H}return s}),y5=async r=>new Promise((t,e)=>{var s,o;const n=mn.useLoginState(mn.pinia),{loginUserInfo:i}=mn.storeToRefs(n);if(c_.has(r)){const l=c_.get(r);l.resolve=t,l.reject=e,l.debouncedFn(r,(s=i==null?void 0:i.value)==null?void 0:s.plat_id);return}const a=rQ(async(l,u)=>{var h,f,d;const c=c_.get(l);try{const p=await mn.getPageDataApi({platId:parseInt(u),pageName:l}),m=(h=p==null?void 0:p.data)==null?void 0:h.result,g=cvt(m);(f=c==null?void 0:c.resolve)==null||f.call(c,g)}catch(p){(d=c==null?void 0:c.reject)==null||d.call(c,p)}finally{c_.delete(l)}},10);c_.set(r,{debouncedFn:a,resolve:t,reject:e,timer:null}),a(r,(o=i==null?void 0:i.value)==null?void 0:o.plat_id)}),hvt=async r=>{var l,u,c,h,f,d,p,m,g,y,v,b,w,_,x,S,T,E,D,L,B,M,R,A,C,I,k,N,z,O,H,V,G,Y,Q,_t,ot,wt,it,K,nt,ct,q,at,st,dt,W,tt,lt,Ct,Pt,X,rt,Tt,pt,ht,et,mt;let t=(l=r==null?void 0:r.menus)==null?void 0:l.join("/"),e=r==null?void 0:r.relatedWords;if((t==null?void 0:t[(t==null?void 0:t.length)-1])==="/")if(r!=null&&r.isMainPath){let ut=t==null?void 0:t.slice(0,(t==null?void 0:t.length)-1),gt=await y5(ut);gt=gt==null?void 0:gt.filter(bt=>(bt==null?void 0:bt.comp)==="Table");let St=r==null?void 0:r.words;St=St==null?void 0:St.join(".");let At=(g=(m=(p=gt==null?void 0:gt[0])==null?void 0:p.compData)==null?void 0:m.find(bt=>(bt==null?void 0:bt.key)==="tableContents"))==null?void 0:g.contents;if(r!=null&&r.filter&&((y=r==null?void 0:r.filter)!=null&&y.includes("@Filter"))){let bt=((w=(b=(v=r==null?void 0:r.filter)==null?void 0:v.split(","))==null?void 0:b.filter(kt=>kt==null?void 0:kt.includes("@Filter")))==null?void 0:w[0])??"";if(bt&&bt!==""){(bt==null?void 0:bt[(bt==null?void 0:bt.length)-1])===","&&(bt=bt==null?void 0:bt.slice(0,(bt==null?void 0:bt.length)-1)),bt=(x=(_=bt==null?void 0:bt.replace("(",xv))==null?void 0:_.split(xv))==null?void 0:x[1],bt=bt==null?void 0:bt.slice(0,(bt==null?void 0:bt.length)-1),(bt==null?void 0:bt[0])==="*"&&(bt="{"+((T=(S=bt==null?void 0:bt.replace("{",xv))==null?void 0:S.split(xv))==null?void 0:T[1])),bt=(E=bt==null?void 0:bt.replaceAll("{",""))==null?void 0:E.replaceAll("}","");let kt=ym.calculatorAndToOr(bt);kt=kt==null?void 0:kt[0];for(let Ot in kt)At=(D=At==null?void 0:At.map(Gt=>{if((Gt==null?void 0:Gt[Ot])===(kt==null?void 0:kt[Ot]))return Gt;for(let Ft in Gt)if(Ft!=null&&Ft.includes(Ot)&&(Gt==null?void 0:Gt[Ft])===(kt==null?void 0:kt[Ot]))return Gt;return""}))==null?void 0:D.filter(Gt=>Gt!=="")}}(St==null?void 0:St[(St==null?void 0:St.length)-1])==="."&&(St=St==null?void 0:St.slice(0,(St==null?void 0:St.length)-1));let Dt;return e&&Array.isArray(e)&&(e==null?void 0:e.length)>0?Dt=At==null?void 0:At.map(bt=>{let kt="",Ot=Object.keys(bt);return e==null||e.forEach(Gt=>{var Ft,oe,Zt,he;if(Ot!=null&&Ot.find(fe=>{var re,ge;return fe==null?void 0:fe.includes("."+((ge=Gt==null?void 0:Gt.split("."))==null?void 0:ge[((re=Gt==null?void 0:Gt.split("."))==null?void 0:re.length)-1]))})){let fe=Ot==null?void 0:Ot.find(re=>{var ge,be;return re==null?void 0:re.includes("."+((be=Gt==null?void 0:Gt.split("."))==null?void 0:be[((ge=Gt==null?void 0:Gt.split("."))==null?void 0:ge.length)-1]))});kt=kt===""?kt+((bt==null?void 0:bt[fe])??""):kt+" "+((bt==null?void 0:bt[fe])??"")}else kt=kt===""?kt+((bt==null?void 0:bt[Gt])??(bt==null?void 0:bt[(oe=Gt==null?void 0:Gt.split("."))==null?void 0:oe[((Ft=Gt==null?void 0:Gt.split("."))==null?void 0:Ft.length)-1]])):kt+" "+((bt==null?void 0:bt[Gt])??(bt==null?void 0:bt[(he=Gt==null?void 0:Gt.split("."))==null?void 0:he[((Zt=Gt==null?void 0:Gt.split("."))==null?void 0:Zt.length)-1]])??"")}),{label:kt,value:kt}}):Dt=At==null?void 0:At.map(bt=>({label:bt==null?void 0:bt[St],value:bt==null?void 0:bt[St]})),Dt=Dt==null?void 0:Dt.filter(bt=>bt.label),Dt}else if(r!=null&&r.endChildMenu&&(r==null?void 0:r.endChildMenu)!=="")t=t+((c=(u=r==null?void 0:r.endChildMenu)==null?void 0:u.split(" "))==null?void 0:c[0]);else{let ut=(h=b8.value)==null?void 0:h.filter(gt=>(gt==null?void 0:gt.condition)==="child");((f=ut==null?void 0:ut[0])==null?void 0:f.parentContent)+"/"===t?t=t==null?void 0:t.slice(0,(t==null?void 0:t.length)-1):(ut=(d=ut==null?void 0:ut[0])==null?void 0:d.value,t=t+ut)}let n=await y5(t),i=r==null?void 0:r.groups,a=r==null?void 0:r.words;n=n==null?void 0:n.filter(ut=>(ut==null?void 0:ut.name)===(i==null?void 0:i[(i==null?void 0:i.length)-1]));let s;if((M=(B=(L=n==null?void 0:n[0])==null?void 0:L.compData)==null?void 0:B.find(ut=>(ut==null?void 0:ut.key)==="tableContents"))!=null&&M.contents)s=(C=(A=(R=n==null?void 0:n[0])==null?void 0:R.compData)==null?void 0:A.find(ut=>(ut==null?void 0:ut.key)==="tableContents"))==null?void 0:C.contents;else{let ut={};(z=(N=(k=(I=n==null?void 0:n[0])==null?void 0:I.compData)==null?void 0:k.find(gt=>(gt==null?void 0:gt.key)==="formContent"))==null?void 0:N.contents)==null||z.forEach(gt=>{ut[gt.prop]=gt.value}),s=[ut]}if(r!=null&&r.filter&&(r==null?void 0:r.filter)!==""){let ut=iQ(r==null?void 0:r.filter,",");if(ut=((O=ut==null?void 0:ut.filter(gt=>gt==null?void 0:gt.includes("@Filter")))==null?void 0:O[0])??"",ut&&ut!==""){(ut==null?void 0:ut[(ut==null?void 0:ut.length)-1])===","&&(ut=ut==null?void 0:ut.slice(0,(ut==null?void 0:ut.length)-1)),ut=(V=(H=ut==null?void 0:ut.replace("(",xv))==null?void 0:H.split(xv))==null?void 0:V[1],ut=ut==null?void 0:ut.slice(0,(ut==null?void 0:ut.length)-1),(ut==null?void 0:ut[0])==="*"&&(ut="{"+((Y=(G=ut==null?void 0:ut.replace("{",xv))==null?void 0:G.split(xv))==null?void 0:Y[1])),ut=(Q=ut==null?void 0:ut.replaceAll("{",""))==null?void 0:Q.replaceAll("}","");let gt=ym.calculatorAndToOr(ut);gt=gt==null?void 0:gt[0];let St;if((_t=Object.values(gt))!=null&&_t.some(At=>(At==null?void 0:At[0])==="*")){let At=(wt=(ot=b8.value)==null?void 0:ot.find(Dt=>(Dt==null?void 0:Dt.condition)==="child"))!=null&&wt.value?(Ay==null?void 0:Ay.value)+"/"+((K=(it=b8.value)==null?void 0:it.find(Dt=>(Dt==null?void 0:Dt.condition)==="child"))==null?void 0:K.value):Ay==null?void 0:Ay.value;St=await y5(At)}for(let At in gt)if(((nt=gt==null?void 0:gt[At])==null?void 0:nt[0])==="*"){let Dt=(st=(at=(q=gt[At])==null?void 0:q.slice(1,(ct=gt[At])==null?void 0:ct.length))==null?void 0:at.split(":"))==null?void 0:st[0],bt=(W=(dt=gt[At])==null?void 0:dt.split(":"))==null?void 0:W[1],kt=(tt=St==null?void 0:St.filter(Ot=>(Ot==null?void 0:Ot.name)===Dt))==null?void 0:tt[0];kt=(Ct=(lt=kt==null?void 0:kt.compData)==null?void 0:lt.find(Ot=>(Ot==null?void 0:Ot.key)==="tableContents"))==null?void 0:Ct.contents,kt=(Pt=kt==null?void 0:kt[0])==null?void 0:Pt[bt],gt[At]=kt}for(let At in gt)s=(X=s==null?void 0:s.map(Dt=>{var bt,kt;if((Dt==null?void 0:Dt[At])===(gt==null?void 0:gt[At])||r!=null&&r.endChildMenu)return Dt;for(let Ot in Dt)if(((kt=Ot==null?void 0:Ot.split("."))==null?void 0:kt[((bt=Ot==null?void 0:Ot.split("."))==null?void 0:bt.length)-1])===At&&Dt[Ot]===(gt==null?void 0:gt[At]))return Dt}))==null?void 0:X.filter(Dt=>Dt)}}if(t==="系统管理/角色管理"){const ut=mn.useLoginState(mn.pinia),{loginUserInfo:gt}=mn.storeToRefs(ut);n=await mn.getAllTables({platId:parseInt((rt=gt==null?void 0:gt.value)==null?void 0:rt.plat_id),tableNames:["role"]}),n=((pt=(Tt=n==null?void 0:n.data)==null?void 0:Tt.result)==null?void 0:pt[0])??[],s=n}if(t==="系统管理/部门管理"){const ut=mn.useLoginState(mn.pinia),{loginUserInfo:gt}=mn.storeToRefs(ut),St=(ht=gt==null?void 0:gt.value)==null?void 0:ht.plat_id;n=await Qdt.getDepartmentOptions(St),n=((et=n==null?void 0:n.data)==null?void 0:et.result)||[],s=n}a=(mt=a==null?void 0:a.join("."))==null?void 0:mt.replaceAll("'",""),(a==null?void 0:a[(a==null?void 0:a.length)-1])==="."&&(a=a==null?void 0:a.slice(0,(a==null?void 0:a.length)-1));let o;return e&&Array.isArray(e)&&(e==null?void 0:e.length)>0?o=s==null?void 0:s.map(ut=>{let gt="",St=Object.keys(ut);return e==null||e.forEach(At=>{if(St!=null&&St.find(Dt=>{var bt,kt;return Dt==null?void 0:Dt.includes("."+((kt=At==null?void 0:At.split("."))==null?void 0:kt[((bt=At==null?void 0:At.split("."))==null?void 0:bt.length)-1]))})){let Dt=St==null?void 0:St.find(bt=>{var kt,Ot;return bt==null?void 0:bt.includes("."+((Ot=At==null?void 0:At.split("."))==null?void 0:Ot[((kt=At==null?void 0:At.split("."))==null?void 0:kt.length)-1]))});gt=gt===""?gt+((ut==null?void 0:ut[Dt])??""):gt+" "+((ut==null?void 0:ut[Dt])??"")}else gt=gt===""?gt+(ut==null?void 0:ut[At]):gt+" "+(ut==null?void 0:ut[At])}),{label:gt,value:gt}}):o=s==null?void 0:s.map(ut=>({label:ut==null?void 0:ut[a],value:ut==null?void 0:ut[a]})),o=o==null?void 0:o.filter(ut=>ut.label),o};/**!
|
|
11
|
+
`).filter(o=>o.trim()!==""),e=e==null?void 0:e.map(o=>(o=o==null?void 0:o.replaceAll("\r",""),o));const n=[];let i="",a=0;for(const o of e){a=a+1;let l=o.trim(),u=i?i+l:l,c=l.includes("{")||l.includes("[")||l.includes("【")||l.includes("(")||l.includes("(")||l.includes("/*")||i&&(i.includes("{")||i.includes("[")||i.includes("【")||i.includes("(")||i.includes("(")||i.includes("/*")),h=u.split("{").length-1===u.split("}").length-1&&u.split("【").length-1===u.split("】").length-1&&u.split("[").length-1===u.split("]").length-1&&u.split("(").length-1===u.split(")").length-1&&u.split("(").length-1===u.split(")").length-1&&u.split("/*").length-1===u.split("*/").length-1,f=u[u.length-1],d=(s=e==null?void 0:e[a])==null?void 0:s[0],p=t==null?void 0:t.find(g=>g===f),m=t==null?void 0:t.find(g=>g===d);c?h&&!p&&!m?(n.push(u.replace(/\/\*[\s\S]*?\*\//g,"")),i=""):u!=null&&u.includes("*/")?i=u.replace(/\/\*[\s\S]*?\*\//g,""):i=u:t!=null&&t.find(g=>g===l[l.length-1])?i=l:n.push(l.replace(/\/\*[\s\S]*?\*\//g,""))}return(i==null?void 0:i.length)>0&&n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),n},iQ=(r,t)=>{var s,o;let e=r;if(e==null||typeof e!="string"&&!Array.isArray(e))return[];const n=[];let i="",a=0;for(const l of e)a++,l.includes("{")||i.includes("{")||l.includes("[")||i.includes("[")||l.includes("【")||i.includes("【")||l.includes("(")||i.includes("(")||l.includes("(")||i.includes("(")||l.includes("/*")||i.includes("/*")?(i+=l.trim(),i.split("{").length-1===i.split("}").length-1&&i.split("【").length-1===i.split("】").length-1&&i.split("[").length-1===i.split("]").length-1&&i.split("(").length-1===i.split(")").length-1&&i.split("(").length-1===i.split(")").length-1&&i.split("/*").length-1===i.split("*/").length-1&&i[i.length-1]===t&&(i.split("'").length%2===1||((s=i.split("'"))==null?void 0:s.length)===1)?(n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),i=""):a===(r==null?void 0:r.length)&&(n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),i="")):(i+=l.trim(),(i==null?void 0:i[(i==null?void 0:i.length)-1])===t&&(i.split("'").length%2===1||((o=i.split("'"))==null?void 0:o.length)===1)&&(n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),i=""));return(i==null?void 0:i.length)!==0&&n.push(i.replace(/\/\*[\s\S]*?\*\//g,"")),n},rvt=(r,t)=>r===t||r.length===t.length&&r.every((e,n)=>e===t[n]),nvt=r=>r.reduce((t,e)=>{var i;const n=(((i=t.at(-1))==null?void 0:i.total)??0)+e;return t.push({key:e,total:n}),t},[]),ivt=r=>{for(let t=r.length-1;t>0;t--){const e=Math.floor(Math.random()*(t+1));[r[t],r[e]]=[r[e],r[t]]}return r},avt=(r,t=2)=>{const e=[];for(let n=0;n<r.length;n+=t)e.push(r.slice(n,n+t));return e},svt=r=>!r||r.length===0?[]:r.length===1?r[0].map(t=>[t]):r.reduce((t,e)=>{const n=[];return t.forEach(i=>{e.forEach(a=>{i&&n.push(Object.assign(i,a))})}),n}),ovt=r=>typeof r=="number",lvt=mn.useUnit(mn.pinia),{selectTitle:b8}=mn.storeToRefs(lvt),uvt=mn.useMenuState(mn.pinia),{currentMenuPath:Ay}=mn.storeToRefs(uvt);let xv="$R";const c_=new Map,cvt=r=>r==null?void 0:r.map(e=>{var o,l,u,c,h,f,d,p,m,g,y,v,b,w,_,x,S,T,E,D,L,B,M,R,A,C,I,k,N,z,O;let n=(c=(u=(l=(o=e==null?void 0:e.contents)==null?void 0:o.find(H=>{var V;return(V=H==null?void 0:H.key)==null?void 0:V.includes("struct")}))==null?void 0:l.value)==null?void 0:u[0])==null?void 0:c.类型,i=Object.values(e==null?void 0:e.name);i=i==null?void 0:i.reverse();let a=(h=e==null?void 0:e.contents)==null?void 0:h.map(H=>H==null?void 0:H.key),s={comp:n,isShow:e==null?void 0:e.is_show,name:i==null?void 0:i[0],id:e==null?void 0:e.object_id,relatedTables:a};for(let H in i)parseInt(H)>=1&&(s[`name${parseInt(H)-1}`]=i[H]);if(n==="Table"){let H=(f=e==null?void 0:e.contents)==null?void 0:f.find(Y=>{var Q;return(Q=Y==null?void 0:Y.key)==null?void 0:Q.includes("content")}),V=[];H.value=(d=H==null?void 0:H.value)==null?void 0:d.sort((Y,Q)=>parseInt(Y==null?void 0:Y.id)-parseInt(Q==null?void 0:Q.id)),V.push({key:"tableContents",contents:H==null?void 0:H.value});let G=(v=(y=(g=(m=(p=e==null?void 0:e.contents)==null?void 0:p.find(Y=>{var Q;return(Q=Y==null?void 0:Y.key)==null?void 0:Q.includes("struct")}))==null?void 0:m.value)==null?void 0:g[0])==null?void 0:y.结构)==null?void 0:v.contents;V.push({key:"header",contents:G}),V.push({key:"filter",contents:(S=(x=(_=(w=(b=e==null?void 0:e.contents)==null?void 0:b.find(Y=>{var Q;return(Q=Y==null?void 0:Y.key)==null?void 0:Q.includes("struct")}))==null?void 0:w.value)==null?void 0:_[0])==null?void 0:x.引用)==null?void 0:S.contents}),s.compData=V}else if(n==="Form"){let H=[],V=(D=(E=(T=e==null?void 0:e.contents)==null?void 0:T.find(Y=>{var Q;return(Q=Y==null?void 0:Y.key)==null?void 0:Q.includes("content")}))==null?void 0:E.value)==null?void 0:D[0],G=(C=(A=(R=(M=(B=(L=e==null?void 0:e.contents)==null?void 0:L.find(Y=>{var Q;return(Q=Y==null?void 0:Y.key)==null?void 0:Q.includes("struct")}))==null?void 0:B.value)==null?void 0:M[0])==null?void 0:R.结构)==null?void 0:A.contents)==null?void 0:C.map(Y=>(Y.value=V==null?void 0:V[Y==null?void 0:Y.prop],Y));H.push({key:"filter",contents:(O=(z=(N=(k=(I=e==null?void 0:e.contents)==null?void 0:I.find(Y=>{var Q;return(Q=Y==null?void 0:Y.key)==null?void 0:Q.includes("struct")}))==null?void 0:k.value)==null?void 0:N[0])==null?void 0:z.引用)==null?void 0:O.contents}),H.push({key:"formContent",contents:G}),s.compData=H}return s}),y5=async r=>new Promise((t,e)=>{var s,o;const n=mn.useLoginState(mn.pinia),{loginUserInfo:i}=mn.storeToRefs(n);if(c_.has(r)){const l=c_.get(r);l.resolve=t,l.reject=e,l.debouncedFn(r,(s=i==null?void 0:i.value)==null?void 0:s.plat_id);return}const a=rQ(async(l,u)=>{var h,f,d;const c=c_.get(l);try{const p=await mn.getPageDataApi({platId:parseInt(u),pageName:l}),m=(h=p==null?void 0:p.data)==null?void 0:h.result,g=cvt(m);(f=c==null?void 0:c.resolve)==null||f.call(c,g)}catch(p){(d=c==null?void 0:c.reject)==null||d.call(c,p)}finally{c_.delete(l)}},10);c_.set(r,{debouncedFn:a,resolve:t,reject:e,timer:null}),a(r,(o=i==null?void 0:i.value)==null?void 0:o.plat_id)}),hvt=async r=>{var l,u,c,h,f,d,p,m,g,y,v,b,w,_,x,S,T,E,D,L,B,M,R,A,C,I,k,N,z,O,H,V,G,Y,Q,_t,ot,wt,it,K,nt,ct,q,at,st,dt,W,tt,lt,Ct,Pt,X,rt,Tt,pt,ht,et,mt;let t=(l=r==null?void 0:r.menus)==null?void 0:l.join("/"),e=r==null?void 0:r.relatedWords;if((t==null?void 0:t[(t==null?void 0:t.length)-1])==="/")if(r!=null&&r.isMainPath){let ut=t==null?void 0:t.slice(0,(t==null?void 0:t.length)-1),gt=await y5(ut);gt=gt==null?void 0:gt.filter(bt=>(bt==null?void 0:bt.comp)==="Table");let St=r==null?void 0:r.words;St=St==null?void 0:St.join(".");let At=(g=(m=(p=gt==null?void 0:gt[0])==null?void 0:p.compData)==null?void 0:m.find(bt=>(bt==null?void 0:bt.key)==="tableContents"))==null?void 0:g.contents;if(r!=null&&r.filter&&((y=r==null?void 0:r.filter)!=null&&y.includes("@Filter"))){let bt=((w=(b=(v=r==null?void 0:r.filter)==null?void 0:v.split(","))==null?void 0:b.filter(kt=>kt==null?void 0:kt.includes("@Filter")))==null?void 0:w[0])??"";if(bt&&bt!==""){(bt==null?void 0:bt[(bt==null?void 0:bt.length)-1])===","&&(bt=bt==null?void 0:bt.slice(0,(bt==null?void 0:bt.length)-1)),bt=(x=(_=bt==null?void 0:bt.replace("(",xv))==null?void 0:_.split(xv))==null?void 0:x[1],bt=bt==null?void 0:bt.slice(0,(bt==null?void 0:bt.length)-1),(bt==null?void 0:bt[0])==="*"&&(bt="{"+((T=(S=bt==null?void 0:bt.replace("{",xv))==null?void 0:S.split(xv))==null?void 0:T[1])),bt=(E=bt==null?void 0:bt.replaceAll("{",""))==null?void 0:E.replaceAll("}","");let kt=ym.calculatorAndToOr(bt);kt=kt==null?void 0:kt[0];for(let Ot in kt)At=(D=At==null?void 0:At.map(Gt=>{if((Gt==null?void 0:Gt[Ot])===(kt==null?void 0:kt[Ot]))return Gt;for(let Ft in Gt)if(Ft!=null&&Ft.includes(Ot)&&(Gt==null?void 0:Gt[Ft])===(kt==null?void 0:kt[Ot]))return Gt;return""}))==null?void 0:D.filter(Gt=>Gt!=="")}}(St==null?void 0:St[(St==null?void 0:St.length)-1])==="."&&(St=St==null?void 0:St.slice(0,(St==null?void 0:St.length)-1));let Dt;return e&&Array.isArray(e)&&(e==null?void 0:e.length)>0?Dt=At==null?void 0:At.map(bt=>{let kt="",Ot=Object.keys(bt);return e==null||e.forEach(Gt=>{var Ft,oe,Zt,he;if(Ot!=null&&Ot.find(fe=>{var re,ge;return fe==null?void 0:fe.includes("."+((ge=Gt==null?void 0:Gt.split("."))==null?void 0:ge[((re=Gt==null?void 0:Gt.split("."))==null?void 0:re.length)-1]))})){let fe=Ot==null?void 0:Ot.find(re=>{var ge,be;return re==null?void 0:re.includes("."+((be=Gt==null?void 0:Gt.split("."))==null?void 0:be[((ge=Gt==null?void 0:Gt.split("."))==null?void 0:ge.length)-1]))});kt=kt===""?kt+((bt==null?void 0:bt[fe])??""):kt+" "+((bt==null?void 0:bt[fe])??"")}else kt=kt===""?kt+((bt==null?void 0:bt[Gt])??(bt==null?void 0:bt[(oe=Gt==null?void 0:Gt.split("."))==null?void 0:oe[((Ft=Gt==null?void 0:Gt.split("."))==null?void 0:Ft.length)-1]])):kt+" "+((bt==null?void 0:bt[Gt])??(bt==null?void 0:bt[(he=Gt==null?void 0:Gt.split("."))==null?void 0:he[((Zt=Gt==null?void 0:Gt.split("."))==null?void 0:Zt.length)-1]])??"")}),{label:kt,value:kt}}):Dt=At==null?void 0:At.map(bt=>({label:bt==null?void 0:bt[St],value:bt==null?void 0:bt[St]})),Dt=Dt==null?void 0:Dt.filter(bt=>bt.label),Dt}else if(r!=null&&r.endChildMenu&&(r==null?void 0:r.endChildMenu)!=="")t=t+((c=(u=r==null?void 0:r.endChildMenu)==null?void 0:u.split(" "))==null?void 0:c[0]);else{let ut=(h=b8.value)==null?void 0:h.filter(gt=>(gt==null?void 0:gt.condition)==="child");((f=ut==null?void 0:ut[0])==null?void 0:f.parentContent)+"/"===t?t=t==null?void 0:t.slice(0,(t==null?void 0:t.length)-1):(ut=(d=ut==null?void 0:ut[0])==null?void 0:d.value,t=t+ut)}let n=await y5(t),i=r==null?void 0:r.groups,a=r==null?void 0:r.words;n=n==null?void 0:n.filter(ut=>(ut==null?void 0:ut.name)===(i==null?void 0:i[(i==null?void 0:i.length)-1]));let s;if((M=(B=(L=n==null?void 0:n[0])==null?void 0:L.compData)==null?void 0:B.find(ut=>(ut==null?void 0:ut.key)==="tableContents"))!=null&&M.contents)s=(C=(A=(R=n==null?void 0:n[0])==null?void 0:R.compData)==null?void 0:A.find(ut=>(ut==null?void 0:ut.key)==="tableContents"))==null?void 0:C.contents;else{let ut={};(z=(N=(k=(I=n==null?void 0:n[0])==null?void 0:I.compData)==null?void 0:k.find(gt=>(gt==null?void 0:gt.key)==="formContent"))==null?void 0:N.contents)==null||z.forEach(gt=>{ut[gt.prop]=gt.value}),s=[ut]}if(r!=null&&r.filter&&(r==null?void 0:r.filter)!==""){let ut=iQ(r==null?void 0:r.filter,",");if(ut=((O=ut==null?void 0:ut.filter(gt=>gt==null?void 0:gt.includes("@Filter")))==null?void 0:O[0])??"",ut&&ut!==""){(ut==null?void 0:ut[(ut==null?void 0:ut.length)-1])===","&&(ut=ut==null?void 0:ut.slice(0,(ut==null?void 0:ut.length)-1)),ut=(V=(H=ut==null?void 0:ut.replace("(",xv))==null?void 0:H.split(xv))==null?void 0:V[1],ut=ut==null?void 0:ut.slice(0,(ut==null?void 0:ut.length)-1),(ut==null?void 0:ut[0])==="*"&&(ut="{"+((Y=(G=ut==null?void 0:ut.replace("{",xv))==null?void 0:G.split(xv))==null?void 0:Y[1])),ut=(Q=ut==null?void 0:ut.replaceAll("{",""))==null?void 0:Q.replaceAll("}","");let gt=ym.calculatorAndToOr(ut);gt=gt==null?void 0:gt[0];let St;if((_t=Object.values(gt))!=null&&_t.some(At=>(At==null?void 0:At[0])==="*")){let At=(wt=(ot=b8.value)==null?void 0:ot.find(Dt=>(Dt==null?void 0:Dt.condition)==="child"))!=null&&wt.value?(Ay==null?void 0:Ay.value)+"/"+((K=(it=b8.value)==null?void 0:it.find(Dt=>(Dt==null?void 0:Dt.condition)==="child"))==null?void 0:K.value):Ay==null?void 0:Ay.value;St=await y5(At)}for(let At in gt)if(((nt=gt==null?void 0:gt[At])==null?void 0:nt[0])==="*"){let Dt=(st=(at=(q=gt[At])==null?void 0:q.slice(1,(ct=gt[At])==null?void 0:ct.length))==null?void 0:at.split(":"))==null?void 0:st[0],bt=(W=(dt=gt[At])==null?void 0:dt.split(":"))==null?void 0:W[1],kt=(tt=St==null?void 0:St.filter(Ot=>(Ot==null?void 0:Ot.name)===Dt))==null?void 0:tt[0];kt=(Ct=(lt=kt==null?void 0:kt.compData)==null?void 0:lt.find(Ot=>(Ot==null?void 0:Ot.key)==="tableContents"))==null?void 0:Ct.contents,kt=(Pt=kt==null?void 0:kt[0])==null?void 0:Pt[bt],gt[At]=kt}for(let At in gt)s=(X=s==null?void 0:s.map(Dt=>{var bt,kt;if((Dt==null?void 0:Dt[At])===(gt==null?void 0:gt[At])||r!=null&&r.endChildMenu)return Dt;for(let Ot in Dt)if(((kt=Ot==null?void 0:Ot.split("."))==null?void 0:kt[((bt=Ot==null?void 0:Ot.split("."))==null?void 0:bt.length)-1])===At&&Dt[Ot]===(gt==null?void 0:gt[At]))return Dt}))==null?void 0:X.filter(Dt=>Dt)}}if(t==="系统管理/角色管理"){const ut=mn.useLoginState(mn.pinia),{loginUserInfo:gt}=mn.storeToRefs(ut);n=await mn.getAllTables({platId:parseInt((rt=gt==null?void 0:gt.value)==null?void 0:rt.plat_id),tableNames:["role"]}),n=((pt=(Tt=n==null?void 0:n.data)==null?void 0:Tt.result)==null?void 0:pt[0])??[],s=n}if(t==="系统管理/部门管理"){const ut=mn.useLoginState(mn.pinia),{loginUserInfo:gt}=mn.storeToRefs(ut),St=(ht=gt==null?void 0:gt.value)==null?void 0:ht.plat_id;n=await Qdt.getDepartmentOptions(St),n=((et=n==null?void 0:n.data)==null?void 0:et.result)||[],s=n}a=(mt=a==null?void 0:a.join("."))==null?void 0:mt.replaceAll("'",""),(a==null?void 0:a[(a==null?void 0:a.length)-1])==="."&&(a=a==null?void 0:a.slice(0,(a==null?void 0:a.length)-1));let o;return e&&Array.isArray(e)&&(e==null?void 0:e.length)>0?o=s==null?void 0:s.map(ut=>{let gt="",St=Object.keys(ut);return e==null||e.forEach(At=>{if(St!=null&&St.find(Dt=>{var bt,kt;return Dt==null?void 0:Dt.includes("."+((kt=At==null?void 0:At.split("."))==null?void 0:kt[((bt=At==null?void 0:At.split("."))==null?void 0:bt.length)-1]))})){let Dt=St==null?void 0:St.find(bt=>{var kt,Ot;return bt==null?void 0:bt.includes("."+((Ot=At==null?void 0:At.split("."))==null?void 0:Ot[((kt=At==null?void 0:At.split("."))==null?void 0:kt.length)-1]))});gt=gt===""?gt+((ut==null?void 0:ut[Dt])??""):gt+" "+((ut==null?void 0:ut[Dt])??"")}else gt=gt===""?gt+(ut==null?void 0:ut[At]):gt+" "+(ut==null?void 0:ut[At])}),{label:gt,value:gt}}):o=s==null?void 0:s.map(ut=>({label:ut==null?void 0:ut[a],value:ut==null?void 0:ut[a]})),o=o==null?void 0:o.filter(ut=>ut.label),o};/**!
|
|
12
12
|
* Sortable 1.15.6
|
|
13
13
|
* @author RubaXa <trash@rubaxa.org>
|
|
14
14
|
* @author owenm <owen23355@gmail.com>
|