import{a as x}from"./useAsync.24db85a6.js";import{h,_ as v}from"./actions.vue_vue_type_script_setup_true_lang.ce7f0d16.js";import{P as b}from"./page-auth.324b6f34.js";import{b as g,p as n,ax as k,k as C,ac as w,o as s,h as D,A as i,K as y,f as o,c as l,a as r,j as u,F as A,r as B,J as E,t as S}from"./index.4d3e3847.js";import"./useNav.afbe69e0.js";import"./btnList.6c44b4ef.js";const N={class:"flex h-[calc(100vh-60px)] bg-white"},P={class:"h-full mt-[5px] px-[10px] border-[#b4b6c0] border-r flex flex-col"},R=r("h1",{class:"px-[10px] text-[#b4b6c0]"},"\u89D2\u8272\u5217\u8868",-1),F=["onClick"],V={class:"flex-1 h-full"},I=g({__name:"index",setup(j){const f="processPermission",e=n(""),t=n(null),{run:p,data:c,loading:_}=x({initalData:[],success:()=>e.value=c.value[0].value});return k(()=>{!t.value||t.value.onSearch(e.value)}),p(h()),(z,J)=>{const d=C("ElScrollbar"),m=w("loading");return s(),D(o(b),{pageName:f,margin:!1},{default:i(()=>[y((s(),l("div",N,[r("div",P,[R,u(d,{class:"min-w-[198px] leading-[30px] cursor-pointer flex-1"},{default:i(()=>[(s(!0),l(A,null,B(o(c),a=>(s(),l("p",{class:E({"bg-[#f7f7f7]":e.value===a.value,"px-[10px]":!0}),key:a.value,onClick:()=>e.value=a.value},S(a.role_name),11,F))),128))]),_:1})]),r("div",V,[u(v,{ref_key:"actionsRef",ref:t},null,512)])])),[[m,o(_)]])]),_:1})}}});export{I as default};
