import{_ as a}from"./uni-nav-bar.cBITQXNK.js";import{d as s,c as e,e as t,Q as l,f as n,g as i,o,h as c,w as r,a as u,cM as _,N as d,i as p,k as f,l as m,F as y,j as g,m as v,z as x,y as j,A as b,W as k,t as h}from"./index-WeUkftbp.js";import{B as C}from"./index.Cu5Lzzw4.js";import{b as w}from"./business.Bp32YIvd.js";import{_ as D}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./uni-icons.B3nCnuXe.js";/* empty css                                                                  *//* empty css                                                                    *//* empty css                                                              */const $=D(s({__name:"apply",setup(s){const D=e((()=>!!window.plus)),$=t({listData:[]});l((()=>{L(0)}));const L=a=>{w(a).then((a=>{const s=a.data?a.data:[];$.listData=s})).catch((a=>{message.error(a.message)}))};return(s,e)=>{const t=n(i("uni-nav-bar"),a),l=x,w=j;return o(),c(l,null,{default:r((()=>[u(D)?(o(),c(t,{key:0,fixed:!0,"background-color":"#fff",border:!1,"status-bar":"","left-icon":"left",title:"申请",onClickLeft:u(_)},null,8,["onClickLeft"])):d("",!0),p(l,{class:"menu card"},{default:r((()=>[p(l,{class:"report-list"},{default:r((()=>[(o(!0),f(y,null,m($.listData,(a=>(o(),c(l,{class:"report-list-item",key:a.id},{default:r((()=>[p(l,{class:"text-center",onClick:s=>(a=>{v(`/pages/users/examine/default?id=${a.id}&name=${a.name}`)})(a)},{default:r((()=>[p(l,{class:"item-logo"},{default:r((()=>{return[p(l,{class:b(["iconfont",(s=a.icon,s.indexOf("-")>-1?s:`icon-${s.slice(4)}`)]),style:k({color:a.color})},null,8,["class","style"])];var s})),_:2},1024),p(l,{class:"item-caption line1"},{default:r((()=>[g(h(a.name),1)])),_:2},1024)])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),_:1})])),_:1}),p(l,{class:"card list",onClick:e[0]||(e[0]=a=>{v("/pages/users/examine/center")})},{default:r((()=>[p(l,null,{default:r((()=>[g("申请记录")])),_:1}),p(w,{class:"iconfont icon-jinru-copy"})])),_:1}),p(C,{type:4,"page-path":"/pages/attendance/apply"})])),_:1})}}}),[["__scopeId","data-v-8a4dffed"]]);export{$ as default};
