require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/punchclock/leave/detail"],{"23cb":function(t,e,n){"use strict";n.r(e);var a=n("ec70"),i=n("ff7c");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("be08");var u=n("f0c5"),c=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,"10991eae",null,!1,a["a"],void 0);e["default"]=c.exports},"4ead":function(t,e,n){"use strict";(function(t,e){var a=n("4ea4");n("8886");a(n("66fd"));var i=a(n("23cb"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},be08:function(t,e,n){"use strict";var a=n("c4d8"),i=n.n(a);i.a},c4d8:function(t,e,n){},d4d7:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("dc92"),i={components:{approvalStatus:function(){n.e("components/approvalStatus").then(function(){return resolve(n("b975"))}.bind(null,n)).catch(n.oe)}},data:function(){return{id:"",info:{},payment_approval:{}}},onLoad:function(t){this.id=t.id},onShow:function(){this.getDetail(),this.getApprovalList()},methods:{getDetail:function(){var t=this;(0,a.netLeaveDetail)({id:this.id}).then((function(e){t.info=e.data}))},getApprovalList:function(){var t=this,e={type:"leave",relation_id:this.id};(0,a.netApprovalDetail)(e).then((function(e){t.payment_approval=e.data}))},toPrevieImg:function(e,n){var a=[];e.forEach((function(t){a.push(t.file_path)})),t.previewImage({urls:a,current:n})},toPass:function(){t.navigateTo({url:"/pages/examine/examine?id="+this.id+"&type=leave&status=1"})},toRefuse:function(){t.navigateTo({url:"/pages/examine/examine?id="+this.id+"&type=leave&status=2"})}}};e.default=i}).call(this,n("543d")["default"])},ec70:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this.$createElement;this._self._c},i=[]},ff7c:function(t,e,n){"use strict";n.r(e);var a=n("d4d7"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a}},[["4ead","common/runtime","common/vendor"]]]);