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
package/dist/index-Dc8TgzRR.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),K=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v=require("./index-Dv1G67_Q.cjs"),V=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,E){return e.openBlock(),e.createElementBlock("div",z,[e.createElementVNode("div",ee,[e.renderSlot(C.$slots,"img",{},void 0,!0)])])}const ae=K._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"},ie={class:"tab-content"},le={class:"tab-tips"},de=e.defineComponent({__name:"index",props:{tabList:{type:Array,default:[]},loading:{type:Boolean,default:!1}},emits:["clickLogin","handleTabClick"],setup(C,{emit:E}){const b=e.ref("account"),u=E,m=()=>{u("clickLogin",b.value)},_=()=>{u("handleTabClick",b.value)};return(l,y)=>{const p=e.resolveComponent("el-button"),c=e.resolveComponent("el-tab-pane"),i=e.resolveComponent("el-tabs");return e.openBlock(),e.createElementBlock("div",ne,[e.createVNode(i,{modelValue:b.value,"onUpdate:modelValue":y[0]||(y[0]=A=>b.value=A),class:"right-tabs",onTabClick:_},{default:e.withCtx(()=>[e.createVNode(c,{name:"account"},{label:e.withCtx(()=>[e.renderSlot(l.$slots,"tabLabel1",{},void 0,!0)]),default:e.withCtx(()=>[e.createElementVNode("div",oe,[e.renderSlot(l.$slots,"tabContent1",{},void 0,!0)]),e.createElementVNode("div",{class:"tab-button special",onClick:m},[e.createVNode(p,{loading:C.loading},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"tabButton1",{},void 0,!0)]),_:3},8,["loading"])]),e.createElementVNode("div",se,[e.renderSlot(l.$slots,"tabTips1",{},void 0,!0)])]),_:3}),e.createVNode(c,{name:"face"},{label:e.withCtx(()=>[e.renderSlot(l.$slots,"tabLabel2",{},void 0,!0)]),default:e.withCtx(()=>[e.createElementVNode("div",re,[e.renderSlot(l.$slots,"tabContent2",{},void 0,!0)]),e.createElementVNode("div",ce,[e.renderSlot(l.$slots,"tabTips2",{},void 0,!0)])]),_:3}),e.createVNode(c,{name:"card"},{label:e.withCtx(()=>[e.renderSlot(l.$slots,"tabLabel3",{},void 0,!0)]),default:e.withCtx(()=>[e.createElementVNode("div",ie,[e.renderSlot(l.$slots,"tabContent3",{},void 0,!0)]),e.createElementVNode("div",{class:"tab-button special",onClick:m},[e.createVNode(p,{loading:C.loading},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"tabButton3",{},void 0,!0)]),_:3},8,["loading"])]),e.createElementVNode("div",le,[e.renderSlot(l.$slots,"tabTips3",{},void 0,!0)])]),_:3})]),_:3},8,["modelValue"])])}}}),ue=K._export_sfc(de,[["__scopeId","data-v-c2476df5"]]),pe={class:"account-wrap"},fe=e.defineComponent({__name:"index",props:{activeTabName:{type:String,default:""},isClickLogin:{type:Boolean,default:!1}},emits:["handleLoginFormChange"],setup(C,{emit:E}){const b=C,u=e.reactive({account:"",password:""}),m=e.reactive({account:[{required:!0,message:"请输入账号",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}]}),_=e.ref(null),l=E;return e.watch(()=>b.isClickLogin,y=>{var p;y&&(b==null?void 0:b.activeTabName)==="account"&&((p=_.value)==null||p.validate(c=>{var i;for(let A in u)u.hasOwnProperty(A)&&(u[A]=(i=u[A])==null?void 0:i.trim());l("handleLoginFormChange",c,c?u:null)}))},{immediate:!0}),e.watch(()=>b.activeTabName,y=>{var p;y==="account"&&((p=_.value)==null||p.resetFields())}),(y,p)=>{const c=e.resolveComponent("svg-icon"),i=e.resolveComponent("el-input"),A=e.resolveComponent("el-form-item"),S=e.resolveComponent("el-form");return e.openBlock(),e.createElementBlock("div",pe,[e.createVNode(S,{model:u,rules:m,ref_key:"formRef",ref:_},{default:e.withCtx(()=>[e.createVNode(A,{label:"",prop:"account"},{default:e.withCtx(()=>[e.createVNode(i,{class:"account-input",modelValue:u.account,"onUpdate:modelValue":p[0]||(p[0]=N=>u.account=N),placeholder:"请输入账号",clearable:""},{prefix:e.withCtx(()=>[e.createVNode(c,{name:"account",style:{width:"15px",height:"15px"}})]),_:1},8,["modelValue"])]),_:1}),e.createVNode(A,{label:"",prop:"password"},{default:e.withCtx(()=>[e.createVNode(i,{class:"account-input",modelValue:u.password,"onUpdate:modelValue":p[1]||(p[1]=N=>u.password=N),type:"password",placeholder:"请输入密码","show-password":"",clearable:""},{prefix:e.withCtx(()=>[e.createVNode(c,{name:"password",style:{width:"15px",height:"15px"}})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])])}}}),ge=K._export_sfc(fe,[["__scopeId","data-v-48037c0f"]]);function me(C){return v.service({url:"http://192.168.124.108:20013/api/face/face-verify",method:"post",data:C})}const ve={class:"account-wrap"},ye={class:"video-wrap"},he=e.defineComponent({__name:"index",props:{activeTabName:{type:String,default:""},isClickLogin:{type:Boolean,default:!1}},emits:["handleLoginFormChange"],setup(C,{emit:E}){const b=C,u=E,m=e.ref(null),_=e.ref(null);e.watch(()=>b.isClickLogin,c=>{c&&(b==null||b.activeTabName)},{immediate:!0});const l=async c=>{if(!c)return;const i=new FormData;i.set("file",c);const A=await me(i),{data:S}=A||{},{match:N,account:I,password:x}=S;if(!N){v.ElMessage.error("识别失败,请重新识别!");return}u("handleLoginFormChange",!0,{account:I,password:x})},y=()=>{if(!_.value||!m.value)return;const c=_.value,i=c.getContext("2d"),A=m.value;c.width=200,c.height=200;const S=A.videoWidth||640,N=A.videoHeight||480,I=Math.min(200/S,200/N),x=S*I,L=N*I,R=(200-x)/2,P=(200-L)/2;i==null||i.drawImage(A,0,0,S,N,R,P,x,L),c.toBlob(U=>{if(U){const Q=new File([U],"face.png",{type:"image/png"});l(Q)}},"image/png")},p=async()=>{if(!m.value)return;const c=m.value;try{const i=await navigator.mediaDevices.getUserMedia({video:{facingMode:"user"},audio:!1});if(c){const A=c;A.srcObject=i}}catch(i){v.ElMessage.warning("摄像头失败: "+i.message)}};return e.onMounted(()=>{p()}),(c,i)=>(e.openBlock(),e.createElementBlock("div",ve,[e.createElementVNode("div",ye,[e.createElementVNode("video",{class:"face-video",ref_key:"videoRef",ref:m,id:"v",autoplay:"",playsinline:""},null,512)]),e.createElementVNode("button",{class:"face-screenshot",onClick:y},"人脸识别"),e.createElementVNode("canvas",{ref_key:"canvasRef",ref:_,id:"canvas"},null,512)]))}}),be=K._export_sfc(he,[["__scopeId","data-v-4f612c1a"]]),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:E}){const b=C,u=e.ref(""),m=E,_=l=>{m("handleCardInput",l==null?void 0:l.trim())};return e.watch(()=>b.activeTabName,l=>{l&&(u.value="")}),(l,y)=>{const p=e.resolveComponent("el-image"),c=e.resolveComponent("el-input");return e.openBlock(),e.createElementBlock("div",Ce,[e.createElementVNode("div",we,[e.createVNode(p,{src:e.unref(Ae),fit:"contain"},null,8,["src"])]),e.createElementVNode("div",Ne,[e.createVNode(c,{modelValue:u.value,"onUpdate:modelValue":y[0]||(y[0]=i=>u.value=i),onChange:_,clearable:""},null,8,["modelValue"])]),e.createElementVNode("div",Ee,[e.createVNode(p,{src:e.unref(_e),fit:"contain"},null,8,["src"])])])}}}),ke=K._export_sfc(Se,[["__scopeId","data-v-e8a73fc2"]]);function Ie(){const C={account:"superadmin",password:"1c8e7623312244c1feb677732278fb8b2af6af1a5335fdaebbdb2720137b372b7871292d11165b83b2967b9c39fa37027d63d37a2f36d764257b566dcfa99f334faa8995301601aec549adf39aef8d89c8788da03a9164937a5f73af20a15ea60d47c7cf01cf",tenantId:-1,code:"",codeId:0};return v.service({url:"/api/sysAuth/login",method:"post",data:C})}const Ve={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",emits:["change"],setup(C,{emit:E}){const b=j.useRouter(),u=v.useLoginState(v.pinia),{systemKey:m,systemInfo:_,loginUserInfo:l}=v.storeToRefs(u),y=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浏览器请使用极速模式"}]}),p=e.ref("account"),c=e.ref(!1),i=e.ref(!1),A=()=>{c.value=!0},S=a=>{c.value=!1,q(a)},N=(a,n)=>{c.value=!1,a&&q(n)},I=a=>V.getFirstArrayProperty(a),x=a=>{let n;const o=V.convertArrayToTree(a),s=V.addPathToTree(o),f=V.getLeafNodesRecursive(s),h=V.groupByField(f,"parentPath");return n=V.handleRowAuthorityRender(h),n},L=(a,n)=>{var s,f,h;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),d=x(r==null?void 0:r[w]);return r&&d&&Array.isArray(d)?r?d==null?void 0:d.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]),d=(h=(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:h.flatMap(t=>t.checkedButtons);return(d==null?void 0:d.length)===0?v.ElMessage.error("该用户没有权限,请联系管理员"):new Set(d)}}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),d=x(r==null?void 0:r[w]);return r&&d&&Array.isArray(d)?r?d==null?void 0:d.flatMap(t=>t.checkedButtons):[]:[]}}catch(r){throw new Error(r)}},R=async a=>{var n,o;try{let s=[];const f=await v.getInsofDataApi({key:{systemKey:m.value?m.value:a==null?void 0:a.systemKey,pageKey:"系统管理/角色管理",type:"data"}});if(f.data.code===200){const h=(o=(n=f.data)==null?void 0:n.result)==null?void 0:o.map(r=>r.value.tableData);s=L(h,a)}if(s)return Array.isArray(s)?Array.from(s):s;throw v.ElMessage.error("获取用户权限失败,请联系管理员"),new Error("获取用户权限失败,请联系管理员")}catch(s){throw v.ElMessage.error("获取用户权限失败,请联系管理员"),new Error(s)}},P=async a=>{var n,o,s,f,h,r,w;try{let d=[],t,T,B;m.value?B={pageKey:"系统管理/用户管理",type:"data",systemKey:m.value}:B={pageKey:"系统管理/用户管理",type:"data"};const F=await v.getInsofDataApi({key:B});let D;if(!sessionStorage.getItem("systemKey")||sessionStorage.getItem("systemKey")===""?D=await v.getInsofDataApi({key:{layer:"superAdmin"}}):D=await v.getInsofDataApi({key:{layer:"superAdmin",systemKey:sessionStorage.getItem("systemKey")}}),F.data.code===200&&D.data.code===200){const Z=(o=(n=D.data)==null?void 0:n.result)==null?void 0:o.map(g=>{var k,M;return{...g.value.tableData,layer:(k=g.key)==null?void 0:k.layer,systemKey:(M=g==null?void 0:g.key)==null?void 0:M.systemKey,id:g.id}}),Y=(f=(s=F.data)==null?void 0:s.result)==null?void 0:f.map(g=>{var k,M;return{...g.value.tableData,layer:(k=g.key)==null?void 0:k.layer,systemKey:(M=g==null?void 0:g.key)==null?void 0:M.systemKey,id:g.id}}),O=[...Z,...Y];if(t=O==null?void 0:O.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(((h=t.layer)==null?void 0:h.toUpperCase())!=="SUPERADMIN"&&(!(t!=null&&t.状态)||(t==null?void 0:t.状态)==="禁用"||(t==null?void 0:t.status)==="禁用")){v.ElMessage.error("该用户已被禁用,请联系管理员"),i.value=!1;return}d=await R(t);const{privateKey:g}=await u.getModelSecretAsync(t);let k;if(t.password?k=((r=t.layer)==null?void 0:r.toUpperCase())==="SUPERADMIN"?t.password:V.decryptData(t.password,g):k=((w=t.layer)==null?void 0:w.toUpperCase())==="SUPERADMIN"?t.password:V.resetPassword,(a==null?void 0:a.password)===k)T=t;else throw T=null,v.ElMessage.error("输入的密码错误,请重新输入"),i.value=!1,new Error("输入的密码错误,请重新输入")}else return v.ElMessage.error("该用户不存在,请重新输入")}return T&&d?{matchedUser:T,userAuthority:d}:void 0}catch(d){throw new Error(d)}},U=async a=>{var o,s,f;const n=await P(a);if(n!=null&&n.matchedUser){u.setLoginUserInfo(n.matchedUser),sessionStorage.setItem("authority",JSON.stringify(n.userAuthority));const h=((s=(o=n.matchedUser)==null?void 0:o.layer)==null?void 0:s.toUpperCase())==="SUPERADMIN";return sessionStorage.setItem("isSuperAdmin",JSON.stringify(h)),sessionStorage.setItem("systemKey",m.value?m.value:(f=n.matchedUser)==null?void 0:f.systemKey),await Q(n.matchedUser),!0}else throw i.value=!1,new Error("该用户数据处理失败,请联系管理员")},Q=async a=>{var o,s,f,h,r,w,d,t,T;const n=await v.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)&&((h=(f=n.data)==null?void 0:f.result)==null?void 0:h.length)>0){const B=(T=(t=(d=(w=(r=n.data)==null?void 0:r.result)==null?void 0:w[0])==null?void 0:d.value)==null?void 0:t.tableData)==null?void 0:T.account;u.setSuperAdminInfo({account:B})}},$=async()=>{var a,n,o;try{const s=await Ie();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){v.ElMessage.error(s)}},J=async()=>{var a,n,o;try{const s=await v.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){v.ElMessage.error(s)}},q=async a=>{var f,h,r,w;i.value=!0;let n=[U(a),$(),J()];const o=await Promise.all(n);(o==null?void 0:o.every(d=>d))&&(await H.verifyStructureDataToStore(),b.push("/"),u.setLogRecordAsync({type:"登录",data:{account:((f=l.value)==null?void 0:f.account)??((h=l.value)==null?void 0:h.账号),userName:((r=l.value)==null?void 0:r.姓名)||((w=l.value)==null?void 0:w.userName)||"未知"}},"/login","login"))},X=a=>{p.value=a,c.value=!1,i.value=!1},G=a=>/^[\u4e00-\u9fa5\s,。!?《》“”【】]+$/.test(a);return(a,n)=>(e.openBlock(),e.createElementBlock("div",Ve,[e.createElementVNode("div",xe,[e.createElementVNode("div",Te,[e.createVNode(ae,{class:"login-left-bg"},{img:e.withCtx(()=>{var o,s,f,h;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)?(h=e.unref(_))==null?void 0:h.chineseName:"工业软件集成开发平台"),1)]),n[0]||(n[0]=e.createElementVNode("div",{class:"divide-line"},null,-1))]}),_:1})]),e.createElementVNode("div",Be,[e.createVNode(ue,{loading:i.value,onClickLogin:A,onHandleTabClick:X},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y.value.loginTitle),1)]),tabLabel1:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y.value.tabs[0].name),1)]),tabContent1:e.withCtx(()=>[e.createVNode(ge,{activeTabName:p.value,isClickLogin:c.value,onHandleLoginFormChange:N},null,8,["activeTabName","isClickLogin"])]),tabButton1:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y.value.tabs[0].btnLabel),1)]),tabLabel2:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y.value.tabs[1].name),1)]),tabContent2:e.withCtx(()=>[e.createVNode(be,{activeTabName:p.value,isClickLogin:c.value,onHandleLoginFormChange:N},null,8,["activeTabName","isClickLogin"])]),tabButton2:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y.value.tabs[1].btnLabel),1)]),tabLabel3:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y.value.tabs[2].name),1)]),tabContent3:e.withCtx(()=>[e.createVNode(ke,{activeTabName:p.value,onHandleCardInput:S},null,8,["activeTabName"])]),tabButton3:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y.value.tabs[2].btnLabel),1)]),_:1},8,["loading"])])])]))}}),Le=K._export_sfc(Me,[["__scopeId","data-v-3c402c7d"]]);exports.default=Le;
|