PageSourceSearch

https://wallet.moneycollect.com/assets/permission-9e7f5351.js

js moneycollect.com collected 2026-10-02 05:17:31 UTC 6,539 bytes, 1 lines download raw bytes

1import{d as e,c as a,o as t,A as l,B as s,C as i,j as d,u as r,Y as u,I as o,D as c,H as v,Q as n,G as m,$ as f,P as p,F as x,U as h,r as y,E as b,aB as k,aC as w,a7 as g,a3 as $,L as j,ah as V}from"./vue-vendor-fc9d70f0.js";import{o as A,j as W,y as E,af as O,Y as R,s as _,a3 as I,_ as C}from"./index-761c6c6f.js";/* empty css                */import{V as P}from"./index-576440e5.js";import{b as F}from"./index-466ba999.js";import{V as U}from"./index-38fd0342.js";import"./i18n-e53c91ad.js";import"./http-crypto-09d0f023.js";import"./LOGO-7ae459eb.js";import"./burialPointGA-b8489468.js";const G={class:"auth-wrapper h-full fixed top-0 left-0 bg-white z-50 overflow-hidden overflow-y-auto w-full"},N={class:"auth-content m-auto bg-white mt-11 mb-36"},S={class:"mx-auto max-w-[440px]"},M={class:"text-lg text-[#050F19] font-bold mt-10"},L={class:"bg-[#fafafa] rounded-md pl-6 py-5 mb-12 mt-4"},Q={class:"flex items-start"},T={class:"flex-1"},B={class:"flex items-start mt-3"},Y={class:"flex-1"},z={class:"flex items-start mt-3"},H={class:"flex-1"},D={class:"flex items-start mt-3"},Z={class:"flex-1"},q={key:0},J={key:1,class:"text-left"},K={class:"text-lg text-[#050F19] font-bold mt-4 mb-3"},X={class:"mb-3"},ee={class:"section-addMems-role-groupItem mt-6"},ae={class:"addMems-role-groupItem-radio"},te={class:"addMems-role-groupItem-text pl-6 break-words text-[#616471] text-sm"},le={class:"footer-wrapper"},se=C(e({__name:"permission",emits:["update:hide","update:visible"],setup(e,{emit:C}){const{t:se,locale:ie}=A.global,de=y(1),re=y("finish"),ue=y(5),oe=y(!1),ce=async()=>{2==de.value?(ve.value&&await fe(),W("/userManagement/users")):(de.value+=1,null!=ke.value.relationOperatorAccount?ve.value=!0:ve.value=!1)},ve=y(!1),ne=y(""),me=async()=>{ve.value&&await fe(),W("/dashboard?fromChannel=permission")},fe=()=>{let e=E.RESQUEST.OWNERASSINGPER+"/"+ue.value+"/"+ke.value.relationOperatorAccountUserId;return oe.value=!0,new Promise((a,t)=>{O(e,{},{"content-type":"application/x-www-form-urlencoded"}).then(e=>{"success"===e.code?(b.success(se("team.success")),a(e.data)):(t(e.msg),b.error(e.msg)),oe.value=!1}).catch(e=>{t(e),b.error(e),oe.value=!1})})},pe=async e=>{if(2==e.status){be.value=!1,re.value="success";let e=await ye();ke.value=e}},xe=a(()=>[{id:5,role:se("team.role5"),tag:se("team.roleRemark6")},{id:4,role:se("team.role4"),tag:se("team.roleRemark1")},{id:2,role:se("team.role2"),tag:se("team.roleRemark3")},{id:1,role:se("team.role1"),tag:se("team.roleRemark5")}]),he=()=>new Promise((e,a)=>{try{e({...ke.value,isOwnerInvite:!0,state:!0})}catch(t){b.error(t),a(!1)}}),ye=()=>R({url:E.RESQUEST.QUERYOPTINFO+"?type=1"}),be=y(!0),ke=y(null),we=y({faceVerified:0,disableCheck:!1});return t(async()=>{let e=await ye();ke.value=e,ne.value=e.relationOperatorAccount,0==e.faceVerificationFlag?await he():(we.value.faceVerified=1,be.value=!1,re.value="success")}),(e,a)=>{var t,y,b,A,W,E,O;const R=k,C=w,fe=l("VaButton"),ye=g,ge=V,$e=$;return s(),i("div",G,[d(P,{tab:2==de.value?r(se)("auth.key197"):r(se)("advanceAuth.key105")},null,8,["tab"]),u((s(),i("div",N,[d(C,{"finish-status":re.value,space:"100%",style:{width:"95%"},active:1,"align-center":""},{default:o(()=>[d(R,{title:e.$t("advanceAuth.key105")},null,8,["title"]),d(R,{title:e.$t("auth.key197")},null,8,["title"])]),_:1},8,["finish-status"]),u(c("div",S,[c("h1",M,v(2==(null==(t=ke.value)?void 0:t.cardType)?e.$t("advanceAuth.key108"):e.$t("advanceAuth.key115")),1),c("div",L,[c("div",Q,[c("div",{class:n(["flex mr-3 items-center text-[#000000]",{"flex-1":1===r(_).state.deviceWidth,"w-[140px]":1!=r(_).state.deviceWidth}])},v(e.$t("auth.key14")),3),c("div",T,"****** "+v(null==(y=ke.value)?void 0:y.idNumber.substr(-4)),1)]),c("div",B,[c("div",{class:n(["flex mr-3 items-center text-[#000000]",{"flex-1":1===r(_).state.deviceWidth,"w-[140px]":1!=r(_).state.deviceWidth}])},v(e.$t("auth.key58")),3),c("div",Y,v(null==(b=ke.value)?void 0:b.enName),1)]),c("div",z,[c("div",{class:n(["flex mr-3 items-center text-[#000000]",{"flex-1":1===r(_).state.deviceWidth,"w-[140px]":1!=r(_).state.deviceWidth}])},v(e.$t("auth.key11")),3),c("div",H,v(null==(A=ke.value)?void 0:A.birth),1
1)]),c("div",D,[c("div",{class:n(["flex mr-3 items-center text-[#000000]",{"flex-1":1===r(_).state.deviceWidth,"w-[140px]":1!=r(_).state.deviceWidth}])},v(e.$t("advanceAuth.key109")),3),c("div",Z,v(r(I)(null==(W=ke.value)?void 0:W.country)["zh-CN"==r(ie)?"nameZh":"nameEn"]||(null==(E=ke.value)?void 0:E.country)),1)])]),d(r(U),{faceVerifiedObj:we.value,disableLink:!1,isPermission:{state:!0,faceVerificationFlag:null==(O=ke.value)?void 0:O.faceVerificationFlag},onGetResult:pe,submitEvent:he},null,8,["faceVerifiedObj","isPermission"]),c("div",{class:n(["flex text-center items-center justify-center mt-6 w-[60%] mx-auto",{"flex-col-reverse":1===r(_).state.deviceWidth}])},[d(fe,{type:"primary",onClick:ce,disabled:be.value,class:n(["mt-8",{"w-full":1===r(_).state.deviceWidth}])},{default:o(()=>[m(v(e.$t("profile.key39")),1)]),_:1},8,["disabled","class"])],2)],512),[[f,1==de.value]]),u(c("div",null,[c("div",{class:n(["border border-solid border-[#E5E5E5] rounded-xl text-center mx-auto mt-16 max-w-[440px]",{"border-0":ve.value,"md:px-24 md:pt-16":!ve.value}])},[ve.value?p("",!0):(s(),i("p",q,v(e.$t("advanceAuth.key111")),1)),ve.value?(s(),i("div",J,[c("h1",K,v(e.$t("auth.key197")),1),c("p",X,v(e.$t("advanceAuth.key114")),1),d(ye,{disabled:!0,modelValue:ne.value,"onUpdate:modelValue":a[0]||(a[0]=e=>ne.value=e)},null,8,["modelValue"]),(s(!0),i(x,null,h(xe.value,e=>(s(),i("div",{class:"section-addMems-role-group",key:e.id},[c("div",ee,[c("div",ae,[(s(),j(ge,{modelValue:ue.value,"onUpdate:modelValue":a[1]||(a[1]=e=>ue.value=e),disabled:"1"==e.id,key:e.id,label:e.id},{default:o(()=>[m(v(e.role),1)]),_:2},1032,["modelValue","disabled","label"]))]),c("div",te,v(e.tag),1)])]))),128))])):p("",!0),c("div",{class:n(["flex text-center items-center justify-between mt-10 mb-12 mx-auto",{"flex-col-reverse":1===r(_).state.deviceWidth}])},[u(d(fe,{onClick:me,class:n(["mt-8",{"w-full":1===r(_).state.deviceWidth}])},{default:o(()=>[m(v(ve.value?e.$t("team.key2"):e.$t("advanceAuth.key112")),1)]),_:1},8,["class"]),[[f,2==de.value]]),d(fe,{type:"primary",onClick:ce,disabled:be.value,class:n(["mt-8",{"w-full":1===r(_).state.deviceWidth}])},{default:o(()=>[m(v(ve.value?e.$t("team.key3"):e.$t("advanceAuth.key113")),1)]),_:1},8,["disabled","class"])],2)],2)],512),[[f,2==de.value]])])),[[$e,oe.value]]),c("div",le,[d(F)])])}}}),[["__scopeId","data-v-91729c28"]]);export{se as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.