webpackJsonp([44],{PwQ0:function(t,i,s){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var e={data:function(){return{id:this.$route.query.id,res:{},photo:[],stuArray:[]}},methods:{goBack:function(){if(this.$router.isBack=!0,window.history.length<=1)return this.$router.push({path:"/"}),!1;this.$router.go(-1)},goTo:function(t){this.$router.push(t)},getDetail:function(){var t=this,i={hid:this.id};this.ajax.get(this.$store.state.api+"getvolunteerDetail",i).then(function(i){t.res=i.data[0][0],t.photo=JSON.parse(t.res.file).photo.split(","),t.stuArray=i.data[1],console.log(i.data)}).catch(function(t){console.error(t)})}},created:function(){this.getDetail()}},a={render:function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"pb_content2",staticStyle:{background:"#fff"}},[e("div",{staticClass:"pb_head"},[e("van-icon",{staticClass:"pb_back",attrs:{name:"arrow-left",color:"#fff",size:"1.2rem"},on:{click:t.goBack}}),t._v(" "),e("span",[t._v("义工中心")])],1),t._v(" "),e("div",{staticClass:"pb_content_body"},[e("div",{staticClass:"work_detail"},[e("div",{staticClass:"work_title"},[t._v(t._s(t.res.workName))]),t._v(" "),e("div",{staticClass:"work_content",domProps:{innerHTML:t._s(t.res.content)}}),t._v(" "),e("div",{staticStyle:{width:"90%",margin:"0 auto"}},t._l(t.photo,function(t){return e("el-image",{key:t,attrs:{src:t,fit:"cover"}})}),1),t._v(" "),e("div",{staticClass:"work_bottom"},[e("div",{staticClass:"work_time"},[t._v(t._s(t.res.time))]),t._v(" "),t._m(0)])]),t._v(" "),e("div",{staticClass:"is_doing_work"},[t._v("正在参与的")]),t._v(" "),e("div",{staticClass:"is_doing_people",staticStyle:{padding:"0 1rem","box-sizing":"border-box"}},[0==t.stuArray.length?e("van-empty",{staticClass:"custom-image",attrs:{image:s("0vHl"),description:"暂无学生参与"}}):t._e(),t._v(" "),t._l(t.stuArray,function(i,a){return e("div",{key:a,staticClass:"is_people",on:{click:function(s){1==i.type?null!=i.examine&&("1"==i.examine?t.goTo("/vExamine?id="+i.homeSchoolid+"&uid="+i.userid+"&type=1"):t.goTo("/vExamine?id="+i.homeSchoolid+"&uid="+i.userid+"&type=2")):2!=i.type&&t.goTo("/pExamine?id="+i.id)}}},[e("div",{staticClass:"is_people_tx"},[e("img",{attrs:{src:i.smailheadportrait?i.smailheadportrait:s("eMeI"),alt:""}})]),t._v(" "),e("div",{staticClass:"is_people_nav"},[e("div",{staticClass:"nav_top"},[e("div",[t._v(t._s(i.name))]),t._v(" "),e("div",[t._v(t._s(i.classname))])]),t._v(" "),e("div",{staticClass:"nav_bottom"},[t._v(t._s(t.res.workName))])]),t._v(" "),e("div",{staticClass:"nofinish",class:{is_finish:"1"==i.examine}},[t._v("\n          "+t._s(1==i.type?null!=i.examine?"1"==i.examine?"已完成":"审核任务":"未提交":2==i.type?"已拒绝":"未审核")+"\n        ")])])})],2)])])},staticRenderFns:[function(){var t=this.$createElement,i=this._self._c||t;return i("div",{staticClass:"lag"},[i("img",{attrs:{src:s("C/b2"),alt:""}})])}]};var o=s("VU/8")(e,a,!1,function(t){s("dZhj")},"data-v-17f86621",null);i.default=o.exports},dZhj:function(t,i){}});
//# sourceMappingURL=44.083b00f7707f05c6631c.js.map