/* empty css                  *//* empty css                        *//* empty css                    *//* empty css                  *//* empty css               */import{d as v,r as l,c as i,b as e,a as o,u as p,F as y,h as g,w as a,i as x,ad as C,o as r,A as c,t as m,e as E,E as w,$ as T,af as B,a0 as N,_ as V}from"./index-hZHbf6Qq.js";import{P as A}from"./index-C__Mp2q5.js";/* empty css                                                              *//* empty css                        *//* empty css                  *//* empty css                             *//* empty css                 *//* empty css                      */const F={class:"role-manage-container"},I={class:"role-header"},L={class:"role-tabs"},P=["onClick"],R=v({__name:"index",setup($){const d=l("role01"),u=l([{key:"role01",label:"角色01"},{key:"role02",label:"角色02"},{key:"role03",label:"角色03"},{key:"role04",label:"角色04"},{key:"role05",label:"角色05"},{key:"role06",label:"角色06"}]),_=l([{id:1,name:"郑婷雅",phone:"137 8651 5262",status:"启用"},{id:2,name:"冯艺莲",phone:"158 6084 7617",status:"启用"},{id:3,name:"吴彦琛",phone:"158 0598 5923",status:"启用"},{id:4,name:"吴彦漆",phone:"137 8231 8088",status:"启用"},{id:5,name:"周碰",phone:"180 6243 3980",status:"启用"},{id:6,name:"吴萱萱",phone:"131 1251 9348",status:"启用"},{id:7,name:"王凡玄",phone:"185 3264 9149",status:"启用"},{id:8,name:"冯启彬",phone:"184 5857 8572",status:"启用"},{id:9,name:"郑文锦",phone:"189 2860 9388",status:"启用"},{id:10,name:"赵吾光",phone:"181 0834 1643",status:"启用"}]),b=()=>{N.info("新增角色")};return(z,s)=>{const h=w,f=x,n=B,k=C;return r(),i("div",F,[e(p(A),{title:"角色管理"}),o("div",I,[o("div",L,[(r(!0),i(y,null,g(u.value,t=>(r(),i("div",{key:t.key,class:c(["tab-item",{active:d.value===t.key}]),onClick:D=>d.value=t.key},m(t.label),11,P))),128))]),e(f,{type:"danger",link:"",onClick:b},{default:a(()=>[e(h,null,{default:a(()=>[e(p(T))]),_:1}),s[0]||(s[0]=E("新增角色",-1))]),_:1})]),e(k,{data:_.value,border:""},{default:a(()=>[e(n,{prop:"name",label:"姓名","min-width":"120",align:"center"}),e(n,{prop:"phone",label:"手机号","min-width":"150",align:"center"}),e(n,{prop:"status",label:"状态","min-width":"100",align:"center"},{default:a(({row:t})=>[o("span",{class:c(["status-text",t.status==="启用"?"active":""])},m(t.status),3)]),_:1}),e(n,{label:"操作","min-width":"100",align:"center"},{default:a(()=>[...s[1]||(s[1]=[o("span",{class:"action-text"},"-",-1)])]),_:1})]),_:1},8,["data"])])}}}),Y=V(R,[["__scopeId","data-v-b4742b08"]]);export{Y as default};
