1 |
- import{a as h}from"./useAsync.df7387ce.js";import{h as v,_ as x}from"./actions.vue_vue_type_script_setup_true_lang.8b47cbf0.js";import{P as b}from"./page-auth.ffc7568b.js";import{a as g,r as c,aM as k,b as C,a7 as w,c as s,j as D,h as i,Z as y,u as o,e as l,m as r,f as u,F as B,i as E,n as S,p as A}from"./index.4d061c66.js";import"./useNav.5e73c372.js";import"./usePermission.8064505c.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"},J=g({__name:"index",setup(j){const p="processPermission",e=c(""),t=c(null),{run:f,data:n,loading:_}=h({initalData:[],success:()=>e.value=n.value[0].value});return k(()=>{!t.value||t.value.onSearch(e.value)}),f(v()),(z,L)=>{const d=C("ElScrollbar"),m=w("loading");return s(),D(o(b),{pageName:p,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(B,null,E(o(n),a=>(s(),l("p",{class:S({"bg-[#f7f7f7]":e.value===a.value,"px-[10px]":!0}),key:a.value,onClick:()=>e.value=a.value},A(a.role_name),11,F))),128))]),_:1})]),r("div",V,[u(x,{ref_key:"actionsRef",ref:t},null,512)])])),[[m,o(_)]])]),_:1})}}});export{J as default};
|