webpackJsonp([28],{"6IRH":function(e,t){},pc51:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={data:function(){return{choose:0,res:[],loading:!1,finished:!1,refreshing:!1,isShow:!1,page:1,value:""}},methods:{goBack:function(){if(this.$router.isBack=!0,window.history.length<=1)return this.$router.push({path:"/"}),!1;this.$router.go(-1)},goTo:function(e){this.$router.push(e)},getVolunteer:function(){var e=this;this.loading=!0;var t={uid:this.$store.state.userInfo.userid,t:this.choose,cn:this.value,page:this.page};this.ajax.get(this.$store.state.api+"vExamine",t).then(function(t){0==t.data[0].length?e.isShow=!0:e.isShow=!1,e.page++,e.loading=!1,e.refreshing=!1,e.finished=!1,e.res=t.data[0],console.log(t.data)}).catch(function(t){e.loading=!1,e.refreshing=!1,console.error(t)})},onRefresh:function(){this.page=1,this.getVolunteer()},onLoad:function(){var e=this,t={uid:this.$store.state.userInfo.userid,t:this.choose,cn:this.value,page:this.page};this.ajax.get(this.$store.state.api+"vExamine",t).then(function(t){e.loading=!1,e.refreshing=!1,e.res=e.res.concat(t.data[0]);var s=e.res.length?e.res[0].num:0;e.res.length<s?(e.page++,e.loading=!1):(e.finished=!0,e.loading=!0),console.log(t.data)}).catch(function(t){e.loading=!1,e.refreshing=!1,console.error(t)})},setchoose:function(e){this.choose=e,this.page=1,this.getVolunteer()}},created:function(){this.getVolunteer()}},n={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"pb_content",staticStyle:{background:"rgb(246 246 246)"}},[e._m(0),e._v(" "),i("div",{staticClass:"pb_content_body"},[i("div",{staticClass:"body_top_second"},[i("el-input",{attrs:{placeholder:"请输入组员名字搜索..."},on:{input:function(t){return e.onRefresh()}},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}}),e._v(" "),e._m(1)],1),e._v(" "),i("div",{staticClass:"choose_box"},[i("div",{class:0==e.choose?"ischoose":"isnochoose",on:{click:function(t){return e.setchoose(0)}}},[e._v("\n        未审核\n      ")]),e._v(" "),i("div",{class:1==e.choose?"ischoose":"isnochoose",on:{click:function(t){return e.setchoose(1)}}},[e._v("\n        已审核\n      ")]),e._v(" "),i("div",{class:2==e.choose?"ischoose":"isnochoose",on:{click:function(t){return e.setchoose(2)}}},[e._v("\n        已拒绝\n      ")])]),e._v(" "),i("div",{staticClass:"body_content"},[i("div",{staticClass:"content_body"},[i("van-pull-refresh",{staticStyle:{"padding-top":"0.5rem"},attrs:{"looing-text":"释放刷新","pulling-text":"下拉刷新"},on:{refresh:e.onRefresh},model:{value:e.refreshing,callback:function(t){e.refreshing=t},expression:"refreshing"}},[i("van-list",{attrs:{finished:e.finished,"finished-text":"没有更多啦",offset:"10","immediate-check":!1},on:{load:e.onLoad},model:{value:e.loading,callback:function(t){e.loading=t},expression:"loading"}},[e.isShow?i("van-empty",{staticClass:"custom-image",attrs:{image:s("0vHl"),description:"暂无数据"}}):e._e(),e._v(" "),e._l(e.res,function(t,n){return i("div",{key:n,staticClass:"is_people",on:{click:function(s){return e.goTo("/pExamine?id="+t.id)}}},[i("div",{staticClass:"is_people_tx"},[i("img",{attrs:{src:t.smailheadportrait?t.smailheadportrait:s("eMeI"),alt:""}})]),e._v(" "),i("div",{staticClass:"is_people_nav"},[i("div",{staticClass:"nav_top"},[i("div",[e._v(e._s(t.stuname))]),e._v(" "),i("div",[e._v(e._s(t.classname))])]),e._v(" "),i("div",{staticClass:"nav_bottom"},[e._v(e._s(t.workName))])]),e._v(" "),i("div",{staticClass:"is_finish",class:{nofinsish:"1"!=t.type}},[e._v("\n                "+e._s("1"==t.type?"已审核":"2"==t.type?"已拒绝":"未审核")+"\n              ")])])})],2)],1)],1)])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"pb_head"},[t("span",[this._v("义工审核")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"search_img"},[t("img",{attrs:{src:s("GY9m"),alt:""}})])}]};var o=s("VU/8")(i,n,!1,function(e){s("6IRH")},"data-v-7ae935f8",null);t.default=o.exports}});
//# sourceMappingURL=28.a747d45e1842da87c856.js.map