(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ce9a08be"],{"001e":function(t,e,i){},"32a8":function(t,e,i){"use strict";i.d(e,"f",(function(){return s})),i.d(e,"o",(function(){return n})),i.d(e,"g",(function(){return o})),i.d(e,"c",(function(){return r})),i.d(e,"b",(function(){return c})),i.d(e,"a",(function(){return u})),i.d(e,"l",(function(){return d})),i.d(e,"j",(function(){return l})),i.d(e,"p",(function(){return g})),i.d(e,"q",(function(){return f})),i.d(e,"k",(function(){return p})),i.d(e,"e",(function(){return h})),i.d(e,"d",(function(){return m})),i.d(e,"v",(function(){return v})),i.d(e,"u",(function(){return b})),i.d(e,"w",(function(){return C})),i.d(e,"r",(function(){return w})),i.d(e,"s",(function(){return O})),i.d(e,"h",(function(){return j})),i.d(e,"t",(function(){return y})),i.d(e,"i",(function(){return A})),i.d(e,"x",(function(){return S})),i.d(e,"m",(function(){return q})),i.d(e,"n",(function(){return N}));i("e13e");var a=i("40ec");function s(t){return Object(a["a"])({url:"/api-agent/grow/detail",method:"get",params:t})}function n(t){return Object(a["a"])({url:"/api-agent/grow/user/update",method:"post",data:JSON.stringify(t)})}function o(t){return Object(a["a"])({url:"/api-agent/grow/gift/detail/list",method:"get",params:t})}function r(t){return Object(a["a"])({url:"/api-agent/agent/grow/gift/card/mobile/add",method:"post",data:JSON.stringify(t)})}function c(t){return Object(a["a"])({url:"/api-agent/agent/grow/gift/card/car/detail",method:"get",params:t})}function u(t){return Object(a["a"])({url:"/api-agent/agent/grow/gift/card/car/add",method:"post",data:JSON.stringify(t)})}function d(t){return Object(a["a"])({url:"/api-agent/grow/gift/record/integral",method:"post",data:JSON.stringify(t)})}function l(t){return Object(a["a"])({url:"/api-agent/grow/gift/vms/list",method:"get",params:t})}function g(t){return Object(a["a"])({url:"/api-agent/grow/gift/vms/image/save",method:"post",data:JSON.stringify(t)})}function f(t){return Object(a["a"])({url:"/api-agent/grow/gift/vms/cancel",method:"post",data:JSON.stringify(t)})}function p(t){return Object(a["a"])({url:"/api-agent/grow/gift/vms/detail",method:"get",params:t})}function h(t){return Object(a["a"])({url:"/api-agent/grow/gift/vms/comment/detail",method:"get",params:t})}function m(t){return Object(a["a"])({url:"/api-agent/grow/gift/vms/comment/save",method:"post",data:JSON.stringify(t)})}function v(t){return Object(a["a"])({url:"/api-agent/agent/grow/gift/card/study/recharge",method:"POST",data:JSON.stringify(t)})}function b(t){return Object(a["a"])({url:"/api-agent/agent/grow/gift/card/platform/detail",method:"get",params:t})}function C(t){return Object(a["a"])({url:"/api-agent/grow/user/birthday",method:"POST",data:JSON.stringify(t)})}function w(t){return Object(a["a"])({url:"/api-agent/grow/gift01/update",method:"POST",data:JSON.stringify(t)})}function O(t){return Object(a["a"])({url:"/api-agent/grow/gift/record/accident",method:"POST",data:JSON.stringify(t)})}function j(t){return Object(a["a"])({url:"/api-agent/grow/gift/record/insurance/detail",method:"get",params:t})}function y(t){return Object(a["a"])({url:"/api-agent/grow/gift/record/medical",method:"POST",data:JSON.stringify(t)})}function A(t){return Object(a["a"])({url:"/api-agent/grow/gift/record/physical",method:"post",data:JSON.stringify(t)})}function S(t){return Object(a["a"])({url:"/api-agent/grow/wx/confirm",method:"post",data:JSON.stringify(t)})}function q(t){return Object(a["a"])({url:"/api-agent/grow/gift/kf/save",method:"post",data:JSON.stringify(t)})}function N(t){return Object(a["a"])({url:"/api-agent/grow/gift/record/maize",method:"post",data:JSON.stringify(t)})}},"6a4d":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAB+FBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////JfA+bAAAAp3RSTlMAAQIDBAUGBwgJCgsMDQ4PEBETFBY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WypYxCnzIUUT6TYx9CqnD+DNdETkfgNEMhV3DqFbErxh/aMbvGL8pohrjmiI2Y7QpbDdGa6ZmZLZi7FZYG8ZmRWT5MMpl+/n6tasXv1BYQVPzlasNspVj+LIUpRGj3aWUuNoxGhWtcBxjh1KyA2O8UA5HMUaKlYLiEYyjcvL0Y3S4NSd3B0a/R7NsxXLepTm4zmPZqhhnsRx3KSnXcSxnFSvXi+WcW0m4z2Hx5iqOZf1Y2oqUUFEblv5liqvUh2WoWglUD2HxlSqBsgFCWtYojjUthAyUKaGSHqbdqnLLwV11i2k9JUoi7wIzhs9sK0lTSFrJtjPDzLiQp+RqBgmbeHr/5s37TycIG6zRnBaemCSByRMLlYqiY2PEMXasSKnK237bj4P/9vY8fZacjQcvdfqmYMrXeengxhz9S9nZ+s/7B26Eb2xJLhdJAAAAAElFTkSuQmCC"},b931:function(t,e,i){},c191:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"page"},[a("div",{staticClass:"quan"},[a("div",{staticClass:"con"},[a("div",{staticClass:"list"},t._l(t.list,(function(e){return a("div",{key:e.detailId,staticClass:"item"},[a("img",{staticClass:"bg",attrs:{src:i("f59f")}}),"wait"==e.status?a("div",{staticClass:"bt",on:{click:function(i){return t.prpupShow(e)}}},[t._v("\n 领取\n ")]):"error"==e.status?a("div",{staticClass:"bt bt2"},[t._v("领取")]):"fail"==e.status?a("div",{staticClass:"bt bt2"},[t._v("失败")]):a("div",{staticClass:"bt bt2"},[t._v("已领")]),a("div",{staticClass:"price"},[a("div",[t._v("\n ¥"),a("span",{staticClass:"bold"},[t._v(t._s(e.money))])]),a("div",[t._v("元")])]),a("div",{directives:[{name:"show",rawName:"v-show",value:"ZFL-04"==e.giftCode,expression:"item.giftCode == 'ZFL-04'"}],staticClass:"text"},[t._v("\n 快车代金券\n ")]),a("div",{directives:[{name:"show",rawName:"v-show",value:"ZFL-07"==e.giftCode,expression:"item.giftCode == 'ZFL-07'"}],staticClass:"text"},[t._v("\n 专车代金券\n ")])])})),0)])]),a("div",{staticClass:"phone"},[a("div",{staticClass:"title"},[t._v("兑换码将发送到手机号")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.phone,expression:"phone"}],ref:"inputVal",staticClass:"input",attrs:{type:"number",placeholder:"请输入手机号",disabled:t.disabled},domProps:{value:t.phone},on:{input:function(e){e.target.composing||(t.phone=e.target.value)}}}),t.user.growCode!=t.growCode||"success"!=t.user.status?a("div",{staticClass:"bt bt2",staticStyle:{background:"#9f9685",color:"#47464a","border-color":"#9f9685"}},[t._v("\n 未领取礼包\n ")]):a("div",[t.disabled?a("div",{staticClass:"bt",on:{click:function(e){return t.inputFocus()}}},[t._v("编辑")]):a("div",{staticClass:"edit"},[a("div",{staticClass:"cancel",on:{click:function(e){return t.close()}}},[t._v("取消")]),a("div",{staticClass:"confirm",on:{click:function(e){return t.keep()}}},[t._v("确认保存")])])])]),t._m(0),a("mt-popup",{attrs:{"popup-transition":"popup-fade"},nativeOn:{touchmove:function(t){t.stopPropagation(),t.preventDefault()}},model:{value:t.popupVisible,callback:function(e){t.popupVisible=e},expression:"popupVisible"}},[a("div",{staticClass:"pb-prop"},[a("div",{staticClass:"top"},[t._v("滴滴打车券")]),a("div",{staticClass:"con"},[a("div",{staticClass:"type1"},[a("div",{staticClass:"text"},[a("div",[t._v("请确认领取兑换码的手机号")]),a("div",[t._v(t._s(t.phone))])]),a("div",{staticClass:"bt"},[a("div",{staticClass:"confirm",on:{click:t.cardCarAdd}},[t._v("确认充值")]),a("div",{staticClass:"cancel",on:{click:function(e){t.popupVisible=!1}}},[t._v("取消")])])])]),a("div",{staticClass:"close"},[a("div",{staticClass:"xian"}),a("img",{attrs:{src:i("6a4d")},on:{click:function(e){t.popupVisible=!1}}})])])])],1)},s=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"remark"},[i("div",{staticClass:"title"},[t._v("领取须知")]),i("div",{staticClass:"text"},[i("p",[t._v("1、打车券将以短信的形式,发放到您提供的手机号;")]),i("p",[t._v("2、点击手机号码区域,可修改领取的手机号;")]),i("p",[t._v("\n 3、收到短信后,请复制短信中的兑换码卡密,进入滴滴出行APP,点击首页头像进入“我的”页面,在页面下方找到【兑换码】,粘贴短信中的卡密,即可完成兑换;\n ")])])])}],n=i("c0d6"),o=i("76a0"),r=i("32a8"),c={name:"money",data:function(){return{disabled:!0,levelCode:"",popupVisible:!1,giftCode:"",user:n["a"].state.user,status:this.$route.query.status,list:[],phone:localStorage.getItem("phone"),queryForm:{giftCode:"",year:"",detailId:"",mobile:""},growCode:"",quanList:[[10,20],[10,10,10,10,20],[10,10,10,10,10,20,30],[10,10,10,10,10,20,30,50],[10,10,10,10,10,10,10,10,10,10,20,30,50]],quanList1:[[50,50,50,50,50,50,50,50,100],[50,50,50,50,50,50,50,50,50,50,50,50,100,100,100,100],[50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,100,100,100,100,100]]}},mounted:function(){this.growCode=this.$route.query.growCode,this.giftCode=this.$route.params.giftCode,this.getDetail()},methods:{close:function(){this.phone=localStorage.getItem("phone"),this.disabled=!0},keep:function(){this.disabled=!0,localStorage.setItem("phone",this.phone),Object(o["Toast"])("保存成功")},inputFocus:function(){this.disabled=!1,this.$nextTick((function(){this.$refs.inputVal.focus()}))},prpupShow:function(t){return console.log(this.user.growCode),console.log(this.growCode),this.user.growCode!=this.growCode||"success"!=this.user.status?Object(o["Toast"])("您还未领取当前级别礼包"):"wait"!=t.status?Object(o["Toast"])("礼包已领取"):this.phone?(this.queryForm.detailId=t.detailId,void(this.popupVisible=!0)):Object(o["Toast"])("请输入手机号")},cardCarAdd:function(){var t=this,e={year:n["a"].state.user.year,mobile:this.phone,detailId:this.queryForm.detailId,giftCode:this.giftCode};o["Indicator"].open(),Object(r["a"])(e).then((function(e){if(console.log(e),o["Indicator"].close(),0!=e.resp_code)return Object(o["Toast"])({message:e.resp_msg,duration:1500,className:"toastFail"});o["Indicator"].open(),setTimeout((function(){return t.popupVisible=!1,t.getDetail(),o["Indicator"].close(),Object(o["Toast"])("领取成功")}),2e3)})).catch((function(t){console.log(t),o["Indicator"].close(),Object(o["Toast"])("操作异常")}))},getDetail:function(){var t=this,e={giftCode:this.giftCode,year:n["a"].state.user.year};if(console.log(this.user.growCode),console.log(this.growCode),this.user.growCode!=this.growCode||"success"!=this.user.status)return this.getCount(),!1;Object(r["b"])(e).then((function(e){if(console.log(e),0!=e.resp_code)return Object(o["Toast"])({message:e.resp_msg,duration:1500,className:"toastFail"});t.list=e.datas})).catch((function(t){console.log(t),Object(o["Toast"])("操作异常")}))},getCount:function(){this.list=[];var t=0;if("ZFL-04"==this.giftCode){switch(this.growCode){case"HJ1000":t=0;break;case"BJ1000":t=1;break;case"HJ900":t=2;break;case"BJ900":t=3;break;case"ZS900":t=4;break;default:}for(var e in console.log(t),console.log(this.quanList[t]),this.quanList[t])console.log(e),this.list.push({money:this.quanList[t][e],giftCode:this.giftCode,detailId:e,status:"error"})}else{switch(this.growCode){case"HJ900":t=0;break;case"BJ900":t=1;break;case"ZS900":t=2;break;default:}for(var i in this.quanList1[t])console.log(i),this.list.push({money:this.quanList1[t][i],giftCode:this.giftCode,detailId:i,status:"error"})}}}},u=c,d=(i("d411"),i("cb92"),i("2877")),l=Object(d["a"])(u,a,s,!1,null,"4e0ace9c",null);e["default"]=l.exports},cb92:function(t,e,i){"use strict";var a=i("001e"),s=i.n(a);s.a},d411:function(t,e,i){"use strict";var a=i("b931"),s=i.n(a);s.a},f59f:function(t,e,i){t.exports=i.p+"img/bg_02.b8a9264b.png"}}]);