(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f6650276"],{"2a60":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"page"},[a("div",{staticClass:"doctorPage"},[a("section",{staticClass:"pageMain"},[a("div",{staticClass:"img"},[a("div",{staticClass:"text"},[t._v("\n 当前额度\n "),a("span",{staticClass:"money"},[t._v(t._s(t.money))])]),a("div",{staticClass:"text bot"},[t._v("一站式医疗服务全保障")])])]),this.user.growCode==this.$route.query.growCode&&"wait"!==t.user.status?a("div",{staticClass:"userInfoBox"},[a("div",{staticClass:"tit"},[t._v("请输入被保人信息")]),a("ul",[a("li",[t._m(0),a("input",{directives:[{name:"model",rawName:"v-model",value:t.postForm.name,expression:"postForm.name"}],staticClass:"input",attrs:{type:"text",placeholder:"请输入您的姓名"},domProps:{value:t.postForm.name},on:{input:function(e){e.target.composing||t.$set(t.postForm,"name",e.target.value)}}})]),a("li",[t._m(1),a("select",{directives:[{name:"model",rawName:"v-model",value:t.postForm.sex,expression:"postForm.sex"}],staticClass:"select",attrs:{placeholder:"请选择您的性别"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.postForm,"sex",e.target.multiple?a:a[0])}}},[a("option",{attrs:{value:"男"}},[t._v("男")]),a("option",{attrs:{value:"女"}},[t._v("女")])])]),a("li",{staticClass:"left"},[t._m(2),a("input",{directives:[{name:"model",rawName:"v-model",value:t.postForm.mobile,expression:"postForm.mobile"}],staticClass:"input",attrs:{type:"text",placeholder:"请输入您的手机号"},domProps:{value:t.postForm.mobile},on:{input:function(e){e.target.composing||t.$set(t.postForm,"mobile",e.target.value)}}})]),a("li",{staticClass:"left"},[t._m(3),a("input",{directives:[{name:"model",rawName:"v-model",value:t.postForm.idcard,expression:"postForm.idcard"}],staticClass:"input",attrs:{type:"text",placeholder:"请输入您的证件号码"},domProps:{value:t.postForm.idcard},on:{input:function(e){e.target.composing||t.$set(t.postForm,"idcard",e.target.value)}}})]),a("li",[t._m(4),a("select",{directives:[{name:"model",rawName:"v-model",value:t.postForm.isYibao,expression:"postForm.isYibao"}],staticClass:"select",attrs:{placeholder:"请选择是或否"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.postForm,"isYibao",e.target.multiple?a:a[0])}}},[a("option",{attrs:{value:"是"}},[t._v("是")]),a("option",{attrs:{value:"否"}},[t._v("否")])])]),t._m(5)]),"wait"==t.status?a("div",{staticClass:"bt",on:{click:t.saveMedical}},[t._v("确认投保")]):t._e()]):t._e(),t._m(6)])])},n=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",{staticClass:"left"},[a("b",{staticClass:"red"},[t._v("*")]),a("span",[t._v("姓名")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",{staticClass:"left"},[a("b",{staticClass:"red"},[t._v("*")]),a("span",[t._v("性别")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",[a("b",{staticClass:"red"},[t._v("*")]),a("span",[t._v("手机号")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",[a("b",{staticClass:"red"},[t._v("*")]),a("span",[t._v("证件号码")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",{staticClass:"left"},[a("b",{staticClass:"red"},[t._v("*")]),a("span",[t._v("是否有社保")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",[a("span",{staticClass:"left"}),a("div",{staticClass:"note"},[t._v("社保是指已购买新农合或城镇保险")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"remark"},[a("div",{staticClass:"title"},[t._v("领取须知")]),a("div",{staticClass:"text"},[a("p",[t._v("1、根据团体保险的相关要求,公司将进行集中投保。")]),a("p",[t._v("2、完成投保,届时将在 APP 内进行通知;")]),a("p",[t._v("3、投保通道开启后,请您在规定的时间内完成投保操作。")]),a("p",[t._v("\n 4、投保成功后,需等待保险公司完成核保录单等工作,正式起保后可查询保单(即保单生效)。\n ")]),a("p",[t._v("5、如何查询保单,请咨询唯蜜星球的在线客服。")]),a("p",[t._v("\n 6、您可拨打中华保险全国统一客户服务电话:95585,咨询该产品相关保障内容或申请在线理赔。\n ")]),a("p",[t._v("7、投保流程:")]),a("p",[t._v("(1)点击页面中的【医疗保险】,进入投保页面。")]),a("p",[t._v("(2)确认投保信息页的个人信息。")]),a("p",[t._v("(3)请务必阅读《健康告知》,并确认是否符合承保条件。")]),a("p",[t._v("(4)若符合条件,点击【确认投保】。")]),a("p",[t._v("(5)如健康状况不符合投保条件,则将无法投保。")])])])}],o=(a("7f7f"),a("c0d6")),i=a("76a0"),s=a("e925"),c=a("32a8"),u={name:"money",data:function(){return{user:o["a"].state.user,status:this.$route.query.status?this.$route.query.status:"",year:null,levelCode:"",growCode:"",postForm:{name:"",sex:"女",mobile:"",idcard:"",isYibao:"否"},money:0}},mounted:function(){switch(this.year=this.$route.query.year,this.levelCode=this.$route.params.levelCode,this.growCode=this.$route.query.growCode,this.$route.query.growCode){case"HJ1000":this.money="200万";break;case"BJ1000":this.money="200万";break;case"HJ900":this.money="300万";break;case"BJ900":this.money="400万";break;case"ZS900":this.money="400万";break;default:return Object(i["Toast"])("未获取到当前额度")}this.$route.query.growCode==this.user.growCode&&"wait"!==this.$route.query.status&&"wait"!=this.status&&this.getInsuranceDetail()},methods:{saveMedical:function(){var t=this;return this.postForm.name?this.postForm.mobile?(this.postForm.mobile=(this.postForm.mobile+"").trim(),Object(s["b"])(this.postForm.mobile)?(this.postForm.idcard=(this.postForm.idcard+"").trim(),this.postForm.idcard?Object(s["a"])(this.postForm.idcard)?(this.postForm.year=this.year,i["Indicator"].open(),void Object(c["t"])(this.postForm).then((function(e){return console.log(e),i["Indicator"].close(),0!=e.resp_code?Object(i["Toast"])(e.resp_msg):(Object(i["Toast"])("提交成功"),t.getInsuranceDetail())})).catch((function(t){console.log(t),i["Indicator"].close()}))):Object(i["Toast"])("请输入正确的身份证号!"):Object(i["Toast"])("请输入身份证号!")):Object(i["Toast"])("请输入正确的手机号!")):Object(i["Toast"])("请输入手机号!"):Object(i["Toast"])("请输入真实姓名!")},getInsuranceDetail:function(){var t=this;i["Indicator"].open();var e={giftCode:this.$route.query.giftCode,year:this.$route.query.year};Object(c["h"])(e).then((function(e){if(console.log(e),i["Indicator"].close(),0!=e.resp_code)return Object(i["Toast"])(e.resp_msg);t.status=e.datas.status;var a=e.datas.remark;a&&(t.postForm=JSON.parse(a))})).catch((function(t){console.log(t),i["Indicator"].close()}))}}},l=u,d=(a("362e"),a("5275"),a("2877")),p=Object(d["a"])(l,r,n,!1,null,"3244da2e",null);e["default"]=p.exports},"32a8":function(t,e,a){"use strict";a.d(e,"f",(function(){return n})),a.d(e,"o",(function(){return o})),a.d(e,"g",(function(){return i})),a.d(e,"c",(function(){return s})),a.d(e,"b",(function(){return c})),a.d(e,"a",(function(){return u})),a.d(e,"l",(function(){return l})),a.d(e,"j",(function(){return d})),a.d(e,"p",(function(){return p})),a.d(e,"q",(function(){return m})),a.d(e,"k",(function(){return f})),a.d(e,"e",(function(){return g})),a.d(e,"d",(function(){return v})),a.d(e,"v",(function(){return h})),a.d(e,"u",(function(){return b})),a.d(e,"w",(function(){return _})),a.d(e,"r",(function(){return O})),a.d(e,"s",(function(){return y})),a.d(e,"h",(function(){return w})),a.d(e,"t",(function(){return C})),a.d(e,"i",(function(){return j})),a.d(e,"x",(function(){return F})),a.d(e,"m",(function(){return $})),a.d(e,"n",(function(){return J}));a("e13e");var r=a("40ec");function n(t){return Object(r["a"])({url:"/api-agent/grow/detail",method:"get",params:t})}function o(t){return Object(r["a"])({url:"/api-agent/grow/user/update",method:"post",data:JSON.stringify(t)})}function i(t){return Object(r["a"])({url:"/api-agent/grow/gift/detail/list",method:"get",params:t})}function s(t){return Object(r["a"])({url:"/api-agent/agent/grow/gift/card/mobile/add",method:"post",data:JSON.stringify(t)})}function c(t){return Object(r["a"])({url:"/api-agent/agent/grow/gift/card/car/detail",method:"get",params:t})}function u(t){return Object(r["a"])({url:"/api-agent/agent/grow/gift/card/car/add",method:"post",data:JSON.stringify(t)})}function l(t){return Object(r["a"])({url:"/api-agent/grow/gift/record/integral",method:"post",data:JSON.stringify(t)})}function d(t){return Object(r["a"])({url:"/api-agent/grow/gift/vms/list",method:"get",params:t})}function p(t){return Object(r["a"])({url:"/api-agent/grow/gift/vms/image/save",method:"post",data:JSON.stringify(t)})}function m(t){return Object(r["a"])({url:"/api-agent/grow/gift/vms/cancel",method:"post",data:JSON.stringify(t)})}function f(t){return Object(r["a"])({url:"/api-agent/grow/gift/vms/detail",method:"get",params:t})}function g(t){return Object(r["a"])({url:"/api-agent/grow/gift/vms/comment/detail",method:"get",params:t})}function v(t){return Object(r["a"])({url:"/api-agent/grow/gift/vms/comment/save",method:"post",data:JSON.stringify(t)})}function h(t){return Object(r["a"])({url:"/api-agent/agent/grow/gift/card/study/recharge",method:"POST",data:JSON.stringify(t)})}function b(t){return Object(r["a"])({url:"/api-agent/agent/grow/gift/card/platform/detail",method:"get",params:t})}function _(t){return Object(r["a"])({url:"/api-agent/grow/user/birthday",method:"POST",data:JSON.stringify(t)})}function O(t){return Object(r["a"])({url:"/api-agent/grow/gift01/update",method:"POST",data:JSON.stringify(t)})}function y(t){return Object(r["a"])({url:"/api-agent/grow/gift/record/accident",method:"POST",data:JSON.stringify(t)})}function w(t){return Object(r["a"])({url:"/api-agent/grow/gift/record/insurance/detail",method:"get",params:t})}function C(t){return Object(r["a"])({url:"/api-agent/grow/gift/record/medical",method:"POST",data:JSON.stringify(t)})}function j(t){return Object(r["a"])({url:"/api-agent/grow/gift/record/physical",method:"post",data:JSON.stringify(t)})}function F(t){return Object(r["a"])({url:"/api-agent/grow/wx/confirm",method:"post",data:JSON.stringify(t)})}function $(t){return Object(r["a"])({url:"/api-agent/grow/gift/kf/save",method:"post",data:JSON.stringify(t)})}function J(t){return Object(r["a"])({url:"/api-agent/grow/gift/record/maize",method:"post",data:JSON.stringify(t)})}},"362e":function(t,e,a){"use strict";var r=a("fa84"),n=a.n(r);n.a},5275:function(t,e,a){"use strict";var r=a("a921"),n=a.n(r);n.a},a921:function(t,e,a){},e925:function(t,e,a){"use strict";function r(t){var e=/^[1][3,4,5,6,7,8,9][0-9]{9}$/;return e.test(t)}function n(t){var e=/(^\d{15}$)|(^\d{17}(\d|X)$)/;return!1!==e.test(t)}a.d(e,"b",(function(){return r})),a.d(e,"a",(function(){return n}))},fa84:function(t,e,a){}}]);