ss-component-new 1.2.26 → 1.2.27
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/index-CV0r8X5U.js +649 -0
- package/dist/index-HVtEP9pD.cjs +1 -0
- package/dist/ss-component.css +1 -1
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +1 -1
- package/package.json +1 -1
- package/dist/index-D3x3jleA.js +0 -654
- package/dist/index-Dc8TgzRR.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),B=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),y=require("./index-Dv1G67_Q.cjs"),k=require("./index.vue_vue_type_style_index_1_lang-f2wxl9Ai.cjs"),j=require("vue-router"),H=require("./index-CAPstY_B.cjs"),W={},z={class:"left-wrap"},ee={class:"left-bg"};function te(C,S){return e.openBlock(),e.createElementBlock("div",z,[e.createElementVNode("div",ee,[e.renderSlot(C.$slots,"img",{},void 0,!0)])])}const ae=B._export_sfc(W,[["render",te],["__scopeId","data-v-9b7ee6c9"]]),ne={class:"right-wrap"},oe={class:"tab-content"},se={class:"tab-tips"},re={class:"tab-content"},ce={class:"tab-tips"},le={class:"tab-content"},ie={class:"tab-tips"},de=e.defineComponent({__name:"index",props:{tabList:{type:Array,default:[]},loading:{type:Boolean,default:!1}},emits:["clickLogin","handleTabChange"],setup(C,{emit:S}){const A=e.ref("account"),d=S,m=()=>{d("clickLogin",A.value)},_=c=>{d("handleTabChange",c)};return(c,v)=>{const u=e.resolveComponent("el-button"),h=e.resolveComponent("el-tab-pane"),l=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock("div",ne,[e.createVNode(l,{modelValue:A.value,"onUpdate:modelValue":v[0]||(v[0]=p=>A.value=p),class:"right-tabs",onTabChange:_},{default:e.withCtx(()=>[e.createVNode(h,{name:"account"},{label:e.withCtx(()=>[e.renderSlot(c.$slots,"tabLabel1",{},void 0,!0)]),default:e.withCtx(()=>[e.createElementVNode("div",oe,[e.renderSlot(c.$slots,"tabContent1",{},void 0,!0)]),e.createElementVNode("div",{class:"tab-button special",onClick:m},[e.createVNode(u,{loading:C.loading},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"tabButton1",{},void 0,!0)]),_:3},8,["loading"])]),e.createElementVNode("div",se,[e.renderSlot(c.$slots,"tabTips1",{},void 0,!0)])]),_:3}),e.createVNode(h,{name:"face"},{label:e.withCtx(()=>[e.renderSlot(c.$slots,"tabLabel2",{},void 0,!0)]),default:e.withCtx(()=>[e.createElementVNode("div",re,[e.renderSlot(c.$slots,"tabContent2",{},void 0,!0)]),e.createElementVNode("div",ce,[e.renderSlot(c.$slots,"tabTips2",{},void 0,!0)])]),_:3}),e.createVNode(h,{name:"card"},{label:e.withCtx(()=>[e.renderSlot(c.$slots,"tabLabel3",{},void 0,!0)]),default:e.withCtx(()=>[e.createElementVNode("div",le,[e.renderSlot(c.$slots,"tabContent3",{},void 0,!0)]),e.createElementVNode("div",{class:"tab-button special",onClick:m},[e.createVNode(u,{loading:C.loading},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"tabButton3",{},void 0,!0)]),_:3},8,["loading"])]),e.createElementVNode("div",ie,[e.renderSlot(c.$slots,"tabTips3",{},void 0,!0)])]),_:3})]),_:3},8,["modelValue"])])}}}),ue=B._export_sfc(de,[["__scopeId","data-v-079a0fee"]]),pe={class:"account-wrap"},fe=e.defineComponent({__name:"index",props:{activeTabName:{type:String,default:""},isClickLogin:{type:Boolean,default:!1}},emits:["handleLoginFormChange"],setup(C,{emit:S}){const A=C,d=e.reactive({account:"",password:""}),m=e.reactive({account:[{required:!0,message:"请输入账号",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}]}),_=e.ref(null),c=S;return e.watch(()=>A.isClickLogin,v=>{var u;v&&(A==null?void 0:A.activeTabName)==="account"&&((u=_.value)==null||u.validate(h=>{var l;for(let p in d)d.hasOwnProperty(p)&&(d[p]=(l=d[p])==null?void 0:l.trim());c("handleLoginFormChange",h,h?d:null)}))},{immediate:!0}),e.watch(()=>A.activeTabName,v=>{var u;v==="account"&&((u=_.value)==null||u.resetFields())}),(v,u)=>{const h=e.resolveComponent("svg-icon"),l=e.resolveComponent("el-input"),p=e.resolveComponent("el-form-item"),E=e.resolveComponent("el-form");return e.openBlock(),e.createElementBlock("div",pe,[e.createVNode(E,{model:d,rules:m,ref_key:"formRef",ref:_},{default:e.withCtx(()=>[e.createVNode(p,{label:"",prop:"account"},{default:e.withCtx(()=>[e.createVNode(l,{class:"account-input",modelValue:d.account,"onUpdate:modelValue":u[0]||(u[0]=N=>d.account=N),placeholder:"请输入账号",clearable:""},{prefix:e.withCtx(()=>[e.createVNode(h,{name:"account",style:{width:"15px",height:"15px"}})]),_:1},8,["modelValue"])]),_:1}),e.createVNode(p,{label:"",prop:"password"},{default:e.withCtx(()=>[e.createVNode(l,{class:"account-input",modelValue:d.password,"onUpdate:modelValue":u[1]||(u[1]=N=>d.password=N),type:"password",placeholder:"请输入密码","show-password":"",clearable:""},{prefix:e.withCtx(()=>[e.createVNode(h,{name:"password",style:{width:"15px",height:"15px"}})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])])}}}),ge=B._export_sfc(fe,[["__scopeId","data-v-48037c0f"]]);function me(C){return y.service({url:"http://192.168.124.108:20013/api/face/face-verify",method:"post",data:C})}const ye={class:"account-wrap"},ve={class:"video-wrap"},he=e.defineComponent({__name:"index",props:{systemKey:{default:""},activeTabName:{default:""},isClickLogin:{type:Boolean,default:!1}},emits:["handleLoginFormChange"],setup(C,{emit:S}){const A=C,d=S,m=e.ref(null),_=e.ref(null);let c=!1;const v=async l=>{if(!l)return;const p=new FormData;p.set("file",l),A.systemKey&&p.set("systemKey",A.systemKey),console.log("Face Recognition",A.systemKey);const E=await me(p),{data:N}=E||{},{match:I,account:x,password:K}=N;if(!I){y.ElMessage.error("识别失败,请重新识别!");return}d("handleLoginFormChange",!0,{account:x,password:K})},u=()=>{if(!_.value||!m.value)return;const l=_.value,p=l.getContext("2d"),E=m.value;l.width=200,l.height=200;const N=E.videoWidth||640,I=E.videoHeight||480,x=Math.min(200/N,200/I),K=N*x,U=I*x,P=(200-K)/2,Q=(200-U)/2;p==null||p.drawImage(E,0,0,N,I,P,Q,K,U),l.toBlob(D=>{if(D){const O=new File([D],"face.png",{type:"image/png"});v(O)}},"image/png")},h=async()=>{if(!m.value||c)return;const l=m.value;try{const p=await navigator.mediaDevices.getUserMedia({video:{facingMode:"user"},audio:!1});if(l){const E=l;E.srcObject=p,c=!0}}catch(p){y.ElMessage.warning("摄像头失败: "+p.message)}};return e.watch(()=>A.activeTabName,l=>{l==="face"&&!c&&h()}),(l,p)=>(e.openBlock(),e.createElementBlock("div",ye,[e.createElementVNode("div",ve,[e.createElementVNode("video",{class:"face-video",ref_key:"videoRef",ref:m,id:"v",autoplay:"",playsinline:""},null,512)]),e.createElementVNode("button",{class:"face-screenshot",onClick:u},"人脸识别"),e.createElementVNode("canvas",{ref_key:"canvasRef",ref:_,id:"canvas"},null,512)]))}}),be=B._export_sfc(he,[["__scopeId","data-v-0c1a330a"]]),Ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAgCAYAAAB6kdqOAAAAAXNSR0IArs4c6QAAAd9JREFUWEftl71OAkEQx/97QC8XEj+iiTGexo/OnvgE0ChPIIXHQwgP4amxsYZGnkCtpbAxxiyJFEqCJie1yK7ZixhUuNtZYkLUa2/+M7+ZnbnbYTB87P3bIpi1BWCt34UEzpkUF35huWjimpmIlCbp8TMGbA7RX/uus27i2xjI9rgMC+i7jpFvI5EC+XEg2+NlSKTBMKmTuS5QlB2ApgRqz66TVXGDCmmIPhh7RxGl0bXrT15pWNLjVQZkdBuwF0i3qaPAv8StMNvjDwBmdIGQwJyfd+51xn7i4GbekvE7bd8SLQUUOi3fnElR0v3GvEPvaQOpHiIDKe9SlIQlTtq7K41BwexjPosXsQNmkWCCpjYCoqRMtP0HiirY76uQBWQRS1xalhCvnW4aQDmqCmHvR6rQsB/oKIMyClDOd53KoGxTHs8IoGpSKWOgeCI29ZhfaA0EOmpMi26n+beBAIzXkanjGLemDlpkrMbepGmjNMZTFuXY9D0dSF09wE7bhaWrsKD2IV+FgNrNtilwVKCK7zo5SgDqJY0EFJPMeSos1ilAKa++ISBruhoSUNi3Z1hA2+PqyLR/uPRLvm6qJnbqkk9dg0ziEDQV8qJIcE42DRbFnkp3lSZHiRZ8WqXfAFwe+He0YFLSAAAAAElFTkSuQmCC",_e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAx1JREFUWEfFV01oE1EQnnmpYJRGL/6gYsGLVCoUzMGLNrO1B4sYKooXQT0JWtSK4KEHEVERPCjUHgqCQlFED4raUmP3bS0UhRQKnrTorQdFBBOkBZP97AuJbNo0+2KF7GlJ3sz3zcw3M2+Z6vxwnfHJmkAqlVrT0NCwB8BepdQuAOuJaEMxgK/M/M33/UlmfpvL5cY7Ojp+2gQXSiCdTq/IZrNniOg0gM1WTplniKi/sbHxbjwe/13NpioBrXUcwB0iarUBrnBmipnPiUh6KfslCXiet9/3/af/CFxmppQ6nEgkhiv5qkhAa90N4Ob/AC/5YOZLItK30OciAlrrAwAe24Iz8yul1A0imgPQ5ft+75LpZj4qIi+D/5cRMILLZDJejTXvcRxnwDgdGxtrzufzS9abiKZisVgiKMwyAlrr8wCu2UZvzjHzgIj0mHet9fH59uyvqnrmXhG5/bc0pZehoaFYNBpN27ZaoLY/mPk1EeUAmDnRFEJgZnZ2Nt7Z2ZkpBFA6rLXeB+B5LdEXM/ARwPZa7Jg5KSJvygi4rnuFiC7aOlJKPSCiR4lEYrw4L0aIaKWl/S3HcS6XEfA8b9T3/d2WDoxORhzHmQxk0JSv2cZeKfVunnj7whJ8ALDNwkFBpMy8Q0SOBQhMA9hkYW9sv4jIzoUEvgFYbeHAEOgFcKK9vf1JUf0tAN5b2BaOMPMvETHLrEyEtgQKTmKx2NpSP7uue4GIri6XgG0JTARDInIkkP5hs6ZrILC4BLWIkJlPicigAZyYmIjOzc19twU35yqKsJY2zGazG5PJZNY4c103SUQPayFARIvb0HYQMfOoiBwMpL8PwEkiMkPMkAl9Kg4i21HMzGdF5F4JxfO8TwA+Axg33RGGzsyVR3GxnUKXETM3iUih5lrrFiK6T0TdRPQCwCoLApWXkTG0WceRSKS1ra1tugSUSqWa5397RkRbwsBD13ExqqoXEqXUYD6fvx6JRLYCOEREXQDWWYCb9q1+IQkIq35XsoC46ncpDWSiftfyEom6fpgEhVW3TzMbdS/nTOi34XKc29j+AXyzojCfNKqJAAAAAElFTkSuQmCC",Ce={class:"card-wrap"},we={class:"card-icon card"},Ne={class:"card-input"},Ee={class:"card-icon info"},Se=e.defineComponent({__name:"index",props:{activeTabName:{type:String,default:""}},emits:["handleCardInput"],setup(C,{emit:S}){const A=C,d=e.ref(""),m=S,_=c=>{m("handleCardInput",c==null?void 0:c.trim())};return e.watch(()=>A.activeTabName,c=>{c&&(d.value="")}),(c,v)=>{const u=e.resolveComponent("el-image"),h=e.resolveComponent("el-input");return e.openBlock(),e.createElementBlock("div",Ce,[e.createElementVNode("div",we,[e.createVNode(u,{src:e.unref(Ae),fit:"contain"},null,8,["src"])]),e.createElementVNode("div",Ne,[e.createVNode(h,{modelValue:d.value,"onUpdate:modelValue":v[0]||(v[0]=l=>d.value=l),onChange:_,clearable:""},null,8,["modelValue"])]),e.createElementVNode("div",Ee,[e.createVNode(u,{src:e.unref(_e),fit:"contain"},null,8,["src"])])])}}}),Ie=B._export_sfc(Se,[["__scopeId","data-v-f5ac8fa1"]]);function Ve(){const C={account:"superadmin",password:"1c8e7623312244c1feb677732278fb8b2af6af1a5335fdaebbdb2720137b372b7871292d11165b83b2967b9c39fa37027d63d37a2f36d764257b566dcfa99f334faa8995301601aec549adf39aef8d89c8788da03a9164937a5f73af20a15ea60d47c7cf01cf",tenantId:-1,code:"",codeId:0};return y.service({url:"/api/sysAuth/login",method:"post",data:C})}const ke={class:"login-wrap"},xe={class:"login-body"},Te={class:"login-body-item left"},Ke={class:"title"},Be={class:"login-body-item right"},Me=e.defineComponent({__name:"index",props:{oldSystemKey:{}},emits:["change"],setup(C,{emit:S}){const A=j.useRouter(),d=y.useLoginState(y.pinia),{systemKey:m,systemInfo:_,loginUserInfo:c}=y.storeToRefs(d),v=e.ref({sysCTitle:"",sysETitle:"",loginTitle:"账户密码登录",tabs:[{name:"密码登录",btnLabel:"登录",tips:"温馨提示:建议使用谷歌、Microsoft Edge,版本79.0.1072.62及以上浏览器,360浏览器请使用极速模式"},{name:"人脸识别",btnLabel:"人脸识别",tips:"温馨提示:建议使用谷歌、Microsoft Edge,版本79.0.1072.62及以上浏览器,360浏览器请使用极速模式"},{name:"刷卡登录",btnLabel:"登录",tips:"温馨提示:建议使用谷歌、Microsoft Edge,版本79.0.1072.62及以上浏览器,360浏览器请使用极速模式"}]}),u=e.ref("account"),h=e.ref(!1),l=e.ref(!1),p=()=>{h.value=!0},E=a=>{h.value=!1,F(a)},N=(a,n)=>{h.value=!1,a&&F(n)},I=a=>k.getFirstArrayProperty(a),x=a=>{let n;const o=k.convertArrayToTree(a),s=k.addPathToTree(o),f=k.getLeafNodesRecursive(s),b=k.groupByField(f,"parentPath");return n=k.handleRowAuthorityRender(b),n},K=(a,n)=>{var s,f,b;const o=(n==null?void 0:n.userRoles)??(n==null?void 0:n.角色名称);try{if(n.layer&&((s=n==null?void 0:n.layer)==null?void 0:s.toUpperCase())==="SUPERADMIN")return"superAdmin";if(Array.isArray(o)){if((o==null?void 0:o.length)===1){const r=a==null?void 0:a.find(t=>(t==null?void 0:t.roleName)===(o==null?void 0:o[0])||t.角色名称===(o==null?void 0:o[0])),w=I(r),i=x(r==null?void 0:r[w]);return r&&i&&Array.isArray(i)?r?i==null?void 0:i.flatMap(t=>t.checkedButtons):[]:[]}if((o==null?void 0:o.length)>1){let r=a==null?void 0:a.filter(t=>o==null?void 0:o.includes(t.roleName||(t==null?void 0:t.角色名称)));const w=I(r==null?void 0:r[0]),i=(b=(f=r==null?void 0:r.map(t=>Array.isArray(t==null?void 0:t[w])?t==null?void 0:t[w]:[]))==null?void 0:f.flat())==null?void 0:b.flatMap(t=>t.checkedButtons);return(i==null?void 0:i.length)===0?y.ElMessage.error("该用户没有权限,请联系管理员"):new Set(i)}}if(typeof o=="string"){const r=a==null?void 0:a.find(t=>(t==null?void 0:t.roleName)===o||(t==null?void 0:t.角色名称)===o),w=I(r),i=x(r==null?void 0:r[w]);return r&&i&&Array.isArray(i)?r?i==null?void 0:i.flatMap(t=>t.checkedButtons):[]:[]}}catch(r){throw new Error(r)}},U=async a=>{var n,o;try{let s=[];const f=await y.getInsofDataApi({key:{systemKey:m.value?m.value:a==null?void 0:a.systemKey,pageKey:"系统管理/角色管理",type:"data"}});if(f.data.code===200){const b=(o=(n=f.data)==null?void 0:n.result)==null?void 0:o.map(r=>r.value.tableData);s=K(b,a)}if(s)return Array.isArray(s)?Array.from(s):s;throw y.ElMessage.error("获取用户权限失败,请联系管理员"),new Error("获取用户权限失败,请联系管理员")}catch(s){throw y.ElMessage.error("获取用户权限失败,请联系管理员"),new Error(s)}},P=async a=>{var n,o,s,f,b,r,w;try{let i=[],t,T,M;m.value?M={pageKey:"系统管理/用户管理",type:"data",systemKey:m.value}:M={pageKey:"系统管理/用户管理",type:"data"};const $=await y.getInsofDataApi({key:M});let R;if(!sessionStorage.getItem("systemKey")||sessionStorage.getItem("systemKey")===""?R=await y.getInsofDataApi({key:{layer:"superAdmin"}}):R=await y.getInsofDataApi({key:{layer:"superAdmin",systemKey:sessionStorage.getItem("systemKey")}}),$.data.code===200&&R.data.code===200){const Z=(o=(n=R.data)==null?void 0:n.result)==null?void 0:o.map(g=>{var V,L;return{...g.value.tableData,layer:(V=g.key)==null?void 0:V.layer,systemKey:(L=g==null?void 0:g.key)==null?void 0:L.systemKey,id:g.id}}),Y=(f=(s=$.data)==null?void 0:s.result)==null?void 0:f.map(g=>{var V,L;return{...g.value.tableData,layer:(V=g.key)==null?void 0:V.layer,systemKey:(L=g==null?void 0:g.key)==null?void 0:L.systemKey,id:g.id}}),q=[...Z,...Y];if(t=q==null?void 0:q.find(g=>(g==null?void 0:g.account)===(a==null?void 0:a.account)||(g==null?void 0:g.账号)===(a==null?void 0:a.account)),t){if(((b=t.layer)==null?void 0:b.toUpperCase())!=="SUPERADMIN"&&(!(t!=null&&t.状态)||(t==null?void 0:t.状态)==="禁用"||(t==null?void 0:t.status)==="禁用")){y.ElMessage.error("该用户已被禁用,请联系管理员"),l.value=!1;return}i=await U(t);const{privateKey:g}=await d.getModelSecretAsync(t);let V;if(t.password?V=((r=t.layer)==null?void 0:r.toUpperCase())==="SUPERADMIN"?t.password:k.decryptData(t.password,g):V=((w=t.layer)==null?void 0:w.toUpperCase())==="SUPERADMIN"?t.password:k.resetPassword,(a==null?void 0:a.password)===V)T=t;else throw T=null,y.ElMessage.error("输入的密码错误,请重新输入"),l.value=!1,new Error("输入的密码错误,请重新输入")}else return y.ElMessage.error("该用户不存在,请重新输入")}return T&&i?{matchedUser:T,userAuthority:i}:void 0}catch(i){throw new Error(i)}},Q=async a=>{var o,s,f;const n=await P(a);if(n!=null&&n.matchedUser){d.setLoginUserInfo(n.matchedUser),sessionStorage.setItem("authority",JSON.stringify(n.userAuthority));const b=((s=(o=n.matchedUser)==null?void 0:o.layer)==null?void 0:s.toUpperCase())==="SUPERADMIN";return sessionStorage.setItem("isSuperAdmin",JSON.stringify(b)),sessionStorage.setItem("systemKey",m.value?m.value:(f=n.matchedUser)==null?void 0:f.systemKey),await D(n.matchedUser),!0}else throw l.value=!1,new Error("该用户数据处理失败,请联系管理员")},D=async a=>{var o,s,f,b,r,w,i,t,T;const n=await y.getInsofDataApi({key:{layer:"superAdmin",systemKey:m.value?m.value:a==null?void 0:a.systemKey}});if(n.data.code===200&&(o=n.data)!=null&&o.result&&Array.isArray((s=n.data)==null?void 0:s.result)&&((b=(f=n.data)==null?void 0:f.result)==null?void 0:b.length)>0){const M=(T=(t=(i=(w=(r=n.data)==null?void 0:r.result)==null?void 0:w[0])==null?void 0:i.value)==null?void 0:t.tableData)==null?void 0:T.account;d.setSuperAdminInfo({account:M})}},O=async()=>{var a,n,o;try{const s=await Ve();return((a=s==null?void 0:s.data)==null?void 0:a.code)===200?(sessionStorage.setItem("loginToken",(o=(n=s.data)==null?void 0:n.result)==null?void 0:o.accessToken),!0):!1}catch(s){y.ElMessage.error(s)}},J=async()=>{var a,n,o;try{const s=await y.axios.post("http://139.196.154.85:20024/api/sysAuth/login",{account:"superadmin",password:"9bf00809059adc7f57bd290bf73ddf4d16f4c83b5937e2d68144ab0bd60d045d22d70afeed8f2fa071cda536e1fac0daf12b8e63dd870c3ca8b308f23be6e693bb32ebd3d013116dc8338d6854b1332701a522a7c43706a6db4162fbe991c8c08aa842fbbc34",codeId:0,code:""});return((a=s==null?void 0:s.data)==null?void 0:a.code)===200?(sessionStorage.setItem("magicToken",(o=(n=s.data)==null?void 0:n.result)==null?void 0:o.accessToken),!0):!1}catch(s){y.ElMessage.error(s)}},F=async a=>{var f,b,r,w;l.value=!0;let n=[Q(a),O(),J()];const o=await Promise.all(n);(o==null?void 0:o.every(i=>i))&&(await H.verifyStructureDataToStore(),A.push("/"),d.setLogRecordAsync({type:"登录",data:{account:((f=c.value)==null?void 0:f.account)??((b=c.value)==null?void 0:b.账号),userName:((r=c.value)==null?void 0:r.姓名)||((w=c.value)==null?void 0:w.userName)||"未知"}},"/login","login"))},X=a=>{u.value=a,h.value=!1,l.value=!1},G=a=>/^[\u4e00-\u9fa5\s,。!?《》“”【】]+$/.test(a);return(a,n)=>(e.openBlock(),e.createElementBlock("div",ke,[e.createElementVNode("div",xe,[e.createElementVNode("div",Te,[e.createVNode(ae,{class:"login-left-bg"},{img:e.withCtx(()=>{var o,s,f,b;return[e.createElementVNode("div",Ke,[e.createElementVNode("div",null,e.toDisplayString(((o=e.unref(_))==null?void 0:o.EnglishName)||"INSOFWORKS"),1),e.createElementVNode("div",null,e.toDisplayString((s=e.unref(_))!=null&&s.chineseName&&G((f=e.unref(_))==null?void 0:f.chineseName)?(b=e.unref(_))==null?void 0:b.chineseName:"工业软件集成开发平台"),1)]),n[0]||(n[0]=e.createElementVNode("div",{class:"divide-line"},null,-1))]}),_:1})]),e.createElementVNode("div",Be,[e.createVNode(ue,{loading:l.value,onClickLogin:p,onHandleTabChange:X},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(v.value.loginTitle),1)]),tabLabel1:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(v.value.tabs[0].name),1)]),tabContent1:e.withCtx(()=>[e.createVNode(ge,{activeTabName:u.value,isClickLogin:h.value,onHandleLoginFormChange:N},null,8,["activeTabName","isClickLogin"])]),tabButton1:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(v.value.tabs[0].btnLabel),1)]),tabLabel2:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(v.value.tabs[1].name),1)]),tabContent2:e.withCtx(()=>[e.createVNode(be,{systemKey:a.oldSystemKey,activeTabName:u.value,isClickLogin:h.value,onHandleLoginFormChange:N},null,8,["systemKey","activeTabName","isClickLogin"])]),tabButton2:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(v.value.tabs[1].btnLabel),1)]),tabLabel3:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(v.value.tabs[2].name),1)]),tabContent3:e.withCtx(()=>[e.createVNode(Ie,{activeTabName:u.value,onHandleCardInput:E},null,8,["activeTabName"])]),tabButton3:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(v.value.tabs[2].btnLabel),1)]),_:1},8,["loading"])])])]))}}),Le=B._export_sfc(Me,[["__scopeId","data-v-2579cbdb"]]);exports.default=Le;
|