(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0c2d220d"],{"1f5a":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"page"},[r("div",{staticClass:"tijianPage"},[r("section",{staticClass:"pageMain"},[r("div",{staticClass:"img"},[r("img",{attrs:{src:t.studyAbroadBg}})])]),this.user.growCode==this.$route.query.growCode&&"wait"!==t.user.status?r("div",{staticClass:"phone"},[r("div",{staticClass:"title"},[t._v("请填写手机号,用于接收预约信息")]),r("input",{directives:[{name:"model",rawName:"v-model",value:t.postForm.mobile,expression:"postForm.mobile"}],ref:"inputVal",staticClass:"input",attrs:{type:"number",placeholder:"请输入手机号",disabled:t.disabled},domProps:{value:t.postForm.mobile},on:{input:function(e){e.target.composing||t.$set(t.postForm,"mobile",e.target.value)}}}),"wait"==t.status?r("div",{staticClass:"bt",on:{click:t.getPhysicalAdd}},[t._v("提交申请")]):t._e()]):t._e(),t._m(0)])])},a=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"remark"},[r("div",{staticClass:"title"},[t._v("领取须知")]),r("div",{staticClass:"text"},[r("p",[t._v("请参照以下操作,享受公司为您准备的体检服务:")]),r("p",[t._v("(1)使用手机号码登录微信小程序“爱康国宾健康服务”预约。")]),r("p",[t._v("(2)使用手机号码登录(http://m.ikang.com)爱康APP预约。")]),r("p",[t._v("(3)致电400-8100-120转2再转2接通人工客服报身份证号码预约。")]),r("p",[t._v("(4)使用手机号码登录微信公众号“爱康国宾”预约。")])])])}],i=r("c0d6"),o=r("76a0"),s=r("e925"),u=r("32a8"),c={name:"money",data:function(){return{studyAbroadBg:r("2dbc"),giftCode:"",user:i["a"].state.user,status:this.$route.query.status?this.$route.query.status:"",phone:"",postForm:{name:"性别",sex:"女",mobile:"",idcard:"123",isYibao:"否"},growCode:""}},mounted:function(){this.growCode=this.$route.query.growCode,this.giftCode=this.$route.params.giftCode,this.$route.query.growCode==this.user.growCode&&"wait"!==this.$route.query.status&&this.getDetail()},methods:{getPhysicalAdd:function(){var t=this;return this.postForm.mobile?(this.postForm.mobile=(this.postForm.mobile+"").trim(),Object(s["b"])(this.postForm.mobile)?(this.postForm.year=this.user.year,console.log(this.postForm,"this.postForm"),o["Indicator"].open(),void Object(u["i"])(this.postForm).then((function(e){return console.log(e),o["Indicator"].close(),0!=e.resp_code?Object(o["Toast"])({message:e.resp_msg,duration:1500,className:"toastFail"}):(t.getDetail(),Object(o["Toast"])("提交成功!"))})).catch((function(t){console.log(t),o["Indicator"].close(),Object(o["Toast"])("操作异常")}))):Object(o["Toast"])("请输入正确的手机号!")):Object(o["Toast"])("请输入手机号!")},getDetail:function(){var t=this,e={giftCode:this.$route.query.giftCode,year:this.$route.query.year};if(console.log(this.user.growCode),console.log(this.growCode),this.user.growCode!=this.growCode||"success"!=this.user.status)return!1;o["Indicator"].open(),Object(u["h"])(e).then((function(e){if(o["Indicator"].close(),console.log(e),0!=e.resp_code)return Object(o["Toast"])({message:e.resp_msg,duration:1500,className:"toastFail"});t.status=e.datas.status;var r=e.datas.remark;r&&(t.postForm.mobile=JSON.parse(r).mobile)})).catch((function(t){o["Indicator"].close(),console.log(t),Object(o["Toast"])("操作异常")}))}}},d=c,g=(r("8a32"),r("3f68"),r("2877")),f=Object(g["a"])(d,n,a,!1,null,"e87a3cf4",null);e["default"]=f.exports},"2dbc":function(t,e,r){t.exports=r.p+"img/tijian.df9e2c8f.png"},"32a8":function(t,e,r){"use strict";r.d(e,"f",(function(){return a})),r.d(e,"o",(function(){return i})),r.d(e,"g",(function(){return o})),r.d(e,"c",(function(){return s})),r.d(e,"b",(function(){return u})),r.d(e,"a",(function(){return c})),r.d(e,"l",(function(){return d})),r.d(e,"j",(function(){return g})),r.d(e,"p",(function(){return f})),r.d(e,"q",(function(){return l})),r.d(e,"k",(function(){return m})),r.d(e,"e",(function(){return p})),r.d(e,"d",(function(){return h})),r.d(e,"v",(function(){return b})),r.d(e,"u",(function(){return O})),r.d(e,"w",(function(){return w})),r.d(e,"r",(function(){return v})),r.d(e,"s",(function(){return j})),r.d(e,"h",(function(){return y})),r.d(e,"t",(function(){return C})),r.d(e,"i",(function(){return S})),r.d(e,"x",(function(){return N})),r.d(e,"m",(function(){return J})),r.d(e,"n",(function(){return _}));r("e13e");var n=r("40ec");function a(t){return Object(n["a"])({url:"/api-agent/grow/detail",method:"get",params:t})}function i(t){return Object(n["a"])({url:"/api-agent/grow/user/update",method:"post",data:JSON.stringify(t)})}function o(t){return Object(n["a"])({url:"/api-agent/grow/gift/detail/list",method:"get",params:t})}function s(t){return Object(n["a"])({url:"/api-agent/agent/grow/gift/card/mobile/add",method:"post",data:JSON.stringify(t)})}function u(t){return Object(n["a"])({url:"/api-agent/agent/grow/gift/card/car/detail",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/api-agent/agent/grow/gift/card/car/add",method:"post",data:JSON.stringify(t)})}function d(t){return Object(n["a"])({url:"/api-agent/grow/gift/record/integral",method:"post",data:JSON.stringify(t)})}function g(t){return Object(n["a"])({url:"/api-agent/grow/gift/vms/list",method:"get",params:t})}function f(t){return Object(n["a"])({url:"/api-agent/grow/gift/vms/image/save",method:"post",data:JSON.stringify(t)})}function l(t){return Object(n["a"])({url:"/api-agent/grow/gift/vms/cancel",method:"post",data:JSON.stringify(t)})}function m(t){return Object(n["a"])({url:"/api-agent/grow/gift/vms/detail",method:"get",params:t})}function p(t){return Object(n["a"])({url:"/api-agent/grow/gift/vms/comment/detail",method:"get",params:t})}function h(t){return Object(n["a"])({url:"/api-agent/grow/gift/vms/comment/save",method:"post",data:JSON.stringify(t)})}function b(t){return Object(n["a"])({url:"/api-agent/agent/grow/gift/card/study/recharge",method:"POST",data:JSON.stringify(t)})}function O(t){return Object(n["a"])({url:"/api-agent/agent/grow/gift/card/platform/detail",method:"get",params:t})}function w(t){return Object(n["a"])({url:"/api-agent/grow/user/birthday",method:"POST",data:JSON.stringify(t)})}function v(t){return Object(n["a"])({url:"/api-agent/grow/gift01/update",method:"POST",data:JSON.stringify(t)})}function j(t){return Object(n["a"])({url:"/api-agent/grow/gift/record/accident",method:"POST",data:JSON.stringify(t)})}function y(t){return Object(n["a"])({url:"/api-agent/grow/gift/record/insurance/detail",method:"get",params:t})}function C(t){return Object(n["a"])({url:"/api-agent/grow/gift/record/medical",method:"POST",data:JSON.stringify(t)})}function S(t){return Object(n["a"])({url:"/api-agent/grow/gift/record/physical",method:"post",data:JSON.stringify(t)})}function N(t){return Object(n["a"])({url:"/api-agent/grow/wx/confirm",method:"post",data:JSON.stringify(t)})}function J(t){return Object(n["a"])({url:"/api-agent/grow/gift/kf/save",method:"post",data:JSON.stringify(t)})}function _(t){return Object(n["a"])({url:"/api-agent/grow/gift/record/maize",method:"post",data:JSON.stringify(t)})}},"3f68":function(t,e,r){"use strict";var n=r("5b33"),a=r.n(n);a.a},"5b33":function(t,e,r){},"8a32":function(t,e,r){"use strict";var n=r("edb6"),a=r.n(n);a.a},e925:function(t,e,r){"use strict";function n(t){var e=/^[1][3,4,5,6,7,8,9][0-9]{9}$/;return e.test(t)}function a(t){var e=/(^\d{15}$)|(^\d{17}(\d|X)$)/;return!1!==e.test(t)}r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return a}))},edb6:function(t,e,r){}}]);