webpackJsonp([40],{"+AGS":function(t,s){},BscX:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i={data:function(){return{id:this.$route.query.id,res:{}}},methods:{goBack:function(){if(this.$router.isBack=!0,window.history.length<=1)return this.$router.push({path:"/"}),!1;this.$router.go(-1)},time:function(){if(this.now){var t=(new Date).getTime();return t-this.now>3e3&&(this.now=t,!0)}return this.now=(new Date).getTime(),!0},checkNow:function(t){var s=this;if(this.time()){var e=[{id:this.id,t:t}];this.ajax.post(this.$store.state.api+"pExamine",e).then(function(t){s.$toast.success("审核成功"),setTimeout(function(){s.goBack()},1e3),console.log(t.data)}).catch(function(t){s.$toast.success("审核失败"),console.error(t)})}},getDetail:function(){var t=this,s={id:this.id};this.ajax.get(this.$store.state.api+"vExamineDetail",s).then(function(s){t.res=s.data[0][0]}).catch(function(s){t.loading=!1,t.refreshing=!1,console.error(s)})}},created:function(){this.getDetail()}},a={render:function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"pb_content2",staticStyle:{background:"#e8e7e7"}},[i("div",{staticClass:"pb_head"},[i("van-icon",{staticClass:"pb_back",attrs:{name:"arrow-left",color:"#fff",size:"1.2rem"},on:{click:t.goBack}}),t._v(" "),i("span",[t._v(t._s(t.res.stuname)+"的义工任务")])],1),t._v(" "),i("div",{staticClass:"pb_content_body",staticStyle:{position:"relative","min-height":"calc(100% - 3.5rem)"}},[i("div",{staticClass:"is_who_work"},[i("div",{staticClass:"new_left"},[i("div",{staticClass:"tx"},[i("img",{attrs:{src:t.res.smailheadportrait?t.res.smailheadportrait:e("eMeI"),alt:""}})]),t._v(" "),i("div",{staticClass:"tx_nav"},[i("div",{staticClass:"new_title"},[t._v(t._s(t.res.stuname))]),t._v(" "),i("div",{staticClass:"new_content"},[t._v(t._s(t.res.classname))])])])]),t._v(" "),i("div",{staticClass:"work_detail"},[i("div",{staticClass:"work_top"},[t._m(0),t._v(" "),i("div",{staticClass:"work_title"},[t._v(t._s(t.res.workName))])]),t._v(" "),i("div",{staticClass:"work_content",domProps:{innerHTML:t._s(t.res.content)}}),t._v(" "),i("div",{staticClass:"work_time"},[t._v(t._s(t.res.time)+"发布")])])]),t._v(" "),"1"!=t.res.type?i("div",{staticClass:"up_button"},["2"!=t.res.type?i("div",{staticClass:"defail_work",on:{click:function(s){return t.checkNow(2)}}},[t._v("\n        拒绝\n      ")]):t._e(),t._v(" "),i("div",{staticClass:"upload_work",on:{click:function(s){return t.checkNow(1)}}},[t._v("同意参与")])]):t._e()])},staticRenderFns:[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"lag"},[s("img",{attrs:{src:e("C/b2"),alt:""}})])}]};var n=e("VU/8")(i,a,!1,function(t){e("+AGS")},"data-v-41acfcce",null);s.default=n.exports}});
//# sourceMappingURL=40.cfc9bc49f94a8c7a2b1a.js.map