!function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function t(t){for(var o=1;o0&&1===o.current)){e.next=8;break}return e.abrupt("return");case 8:d.list=d.list.concat(o.rows||[]),d.listState.finished=o.current>=o.pages,d.params.page=o.current+1,d.listState.dataShow=d.list.length>0,e.next=18;break;case 14:e.prev=14,e.t0=e.catch(0),d.listState.dataShow=!1,d.listState.finished=!0;case 18:case"end":return e.stop()}}),e,null,[[0,14]])})));return function(){return e.apply(this,arguments)}}(),B=function(){d.params.page=1,d.list=[],d.listState.dataShow=!0,d.listState.loading=!1,d.listState.finished=!1,P()};return f((function(){console.log(m.user.data.id,"1212"),z(m.user.data.id),P()})),function(){var t,r;return g(b,null,[g(s,{position:"top"},{default:function(){return[g(n,{border:!1},{right:function(){return g(h,{name:"plus",size:19,onClick:function(){return d.showQrcode=!0}},null)}}),g(c,{placeholder:"请输入管理老师姓名",inputBackground:"white",background:"#f6f8f9",onSearch:function(e){console.log(e),d.params.keyword=e,B()}},{left:function(){return g("div",{class:T.searchBand,style:{marginRight:"13px"},onClick:function(){return d.oPopover=!0}},[d.statusText,p(" "),g(h,{name:d.oPopover?"arrow-up":"arrow-down"},null)])}})]}}),d.listState.dataShow?g(C,{loading:d.listState.loading,"onUpdate:loading":function(e){return d.listState.loading=e},finished:d.listState.finished,finishedText:" ",class:[T.liveList],onLoad:P,immediateCheck:!1},(r=t=d.list.map((function(t){return g(j,{center:!0,isLink:!0,class:T.manageCell,onClick:function(){return function(t){e.push({path:"/manage-teacher-detail",query:{id:t.id}})}(t)}},{icon:function(){return g(S,{class:T.img,src:t.avatar?t.avatar:l},null)},title:function(){return g("div",{class:T.content},[g("p",{class:T.name},[t.nickname]),g("p",{class:T.phone},[t.phone])])},value:function(){return g("span",{class:[T.status,"LOCKED"===t.status?T.frozen:""]},[y[t.status]])}})})),"function"==typeof r||"[object Object]"===Object.prototype.toString.call(r)&&!w(r)?t:{default:function(){return[t]}})):g(x,{btnStatus:!1,classImgSize:"SMALL",tips:"暂无管理老师"},null),g(q,{show:d.showQrcode,"onUpdate:show":function(e){return d.showQrcode=e},position:"bottom",style:{background:"transparent"},safeAreaInsetBottom:!0},{default:function(){return[g("div",{class:T.codeContainer},[g("div",{class:T.codeImg},[g("div",{class:T.codeContent},[g("h2",{class:T.codeTitle},[d.schoolName]),g("div",{class:T.codeName},[p("邀请您成为乐团管理老师")]),g("div",{class:T.codeQr},[g(o,{text:d.url,size:"100%"},null)]),g("div",{style:{textAlign:"center"}},[g("span",{class:T.codeBtnText},[p("扫描上方二维码完成资料填写")])]),g("div",{class:T.codeTips},[p("二维码将在两小时后失效,请及时登记")])])]),g("div",{class:T.codeBottom},[g(h,{name:"cross",size:22,class:T.close,color:"#666",onClick:function(){return d.showQrcode=!1}},null),g("h3",{class:T.title},[g("i",null,null),p("分享方式")]),g(k,{columnNum:2,border:!1},{default:function(){return[g(O,null,{icon:function(){return g(S,{class:T.shareImg,src:a},null)},text:function(){return g("div",{class:T.shareText},[p("保存图片")])}}),g(O,null,{icon:function(){return g(S,{class:T.shareImg,src:i},null)},text:function(){return g("div",{class:T.shareText},[p("微信")])}})]}})])])]}}),g(I,{show:d.oPopover,"onUpdate:show":function(e){return d.oPopover=e},cancelText:"取消",actions:[{name:"全部",id:"ALL"},{name:"注销",id:"CANCEL"},{name:"冻结",id:"LOCKED"},{name:"正常",id:"ACTIVATION"}],onSelect:function(e){d.statusText=e.name,d.params.status="ALL"===e.id?null:e.id,d.oPopover=!1,B()}},null)])}}}))}}}))}();