text: webpackJsonp([87,89,90,91,93,95],{0:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t.d(e,"GET_DISTCODES",function(){return o}),t.d(e,"SET_STATE",function(){return i}),t.d(e,"SET_KEEPSTATE",function(){return u}),t.d(e,"SET_GPS",function(){return r}),t.d(e,"SET_SGPS",function(){return a}),t.d(e,"SET_WXINFO",function(){return s}),t.d(e,"SET_GOEASY",function(){return c});var o="GET_DISTCODES",i="SET_STATE",u="SET_KEEPSTATE",r="SET_GPS",a="SET_SGPS",s="SET_WXINFO",c="SET_GOEASY"},16:function(n,e,t){var o=t(71),i=t(6);n.exports=o(i,{NODE_ENV:'"development"'})},21:function(n,e,t){"use strict";var o=t(7),i=o.build.target;e.a=function(n){return"/"==n.slice(0,1)?n:i+"/d2p/"+n}},22:function(n,e,t){"use strict";var o=t(12),i=t.n(o),u=t(52),r=t.n(u),a=t(21);e.a=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments[2];return new i.a(function(i,u){r.a.get(t.i(a.a)(n),{params:e}).then(function(n){n.data?i(n.data):u()}).catch(function(n){u(),o&&("scroll"in o&&"loading"==o.scroll.pullupStatus&&(o.scroll.pullupStatus="default"),"$vux"in o&&(o.$vux.loading.hide(),o.$vux.toast.text("数据出错，请检查或者通知管理员")))})})}},28:function(n,e,t){"use strict";function o(n){t.i(s.a)(c.a,{type:0,parentCode:""}).then(function(e){n(e.dists||[])})}function i(n){return t.i(s.a)(c.b,{code:n})}function u(n,e){return t.i(s.a)(c.c,{openid:n,sceneStr:e})}function r(n){return t.i(s.a)(c.d,{openid:n})}function a(n,e,o){t.i(s.a)(c.e,{latitude:n,longitude:e}).then(function(n){o(n.distCode||"",n.city||"")})}e.a=o,e.d=i,e.c=u,e.b=r,e.e=a;var s=t(22),c=t(37)},29:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t.d(e,"getDistCodes",function(){return d}),t.d(e,"isLogin",function(){return l}),t.d(e,"getGPS",function(){return f});var o=t(12),i=t.n(o),u=t(28),r=t(0),a=t(54),s=t.n(a),c=t(33),d=function(n){var e=n.commit;return new i.a(function(n,t){u.a(function(t){e(r.GET_DISTCODES,{items:t}),n()})})},l=function(n){var e=n.commit,o=n.state,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=a.sceneStr,l=void 0===d?"":d;return new i.a(function(n,i){function a(n){!o.userid&&n&&u.b(n).then(function(n){n.uwr&&n.uwr.userId&&(e(r.SET_WXINFO,{uinfo:n.uinfo,uwr:n.uwr}),t.i(c.a)("patient_"+n.uwr.userId,function(n){var t="",o=+new Date,i=JSON.parse(n.content);i.content&&i.content.pushCode?t="messageNotify:"+o:"rongCloudNotify"==i.type&&(t="rongCloudNotify_"+o),t&&e(r.SET_GOEASY,{key:t})}))})}function d(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";u.c(t,l).then(function(o){var i=1==o.isbind,u="1"==o.subscribe;e(r.SET_STATE,{logintype:i&&u,openid:t}),n(u?i?{logined:!0}:{needbind:!0}:{needwatch:o.erweimaUrl})}),a(t)}var f=s.a.parse(),p=f.openid,g=f.code,v=o.openid||p;o.logintype?(a(v),n({logined:!0})):v?d(v):g?u.d(g).then(function(n){n&&n.openid?d(n.openid):alert("获取信息失败")}):n({needauth2:!0})})},f=function(n,e){var t=n.commit,o=(n.state,e.latitude),i=e.longitude;u.e(o,i,function(n,e){t(r.SET_GPS,{code:n,name:e,lat:o,lon:i})})}},30:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),t.d(e,"gpsCode",function(){return o}),t.d(e,"gpsName",function(){return i});var o=function(n){return n.sgps.code||n.gps.code},i=function(n){return n.sgps.code?n.sgps.name:n.gps.name}},31:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o,i=t(49),u=t.n(i),r=t(77),a=t.n(r),s=t(34),c=t.n(s),d=t(50),l=t.n(d),f=t(1),p=t(0);e.default=(o={},u()(o,p.GET_DISTCODES,function(n,e){var t=e.items;f.a.set(n,"distcodes",[].concat(l()(t.map(function(n,e){return{name:n.distName,value:n.distCode,parent:2==n.distCode.lastIndexOf("0000")?0:4==n.distCode.lastIndexOf("00")?n.distCode.substr(0,2)+"0000":n.distCode.substr(0,4)+"00"}}))))}),u()(o,p.SET_STATE,function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.logintype,o=void 0===t?0:t,i=e.openid;n.logintype=o,n.openid=i,sessionStorage.setItem("_openid",i)}),u()(o,p.SET_WXINFO,function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.uinfo,o=void 0===t?{}:t,i=e.uwr,u=void 0===i?{}:i;n.uinfo=c()({},n.uinfo,o),n.uwr=c()({},n.uwr,u),n.userid=u.userId}),u()(o,p.SET_KEEPSTATE,function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.keepAlive,o=void 0!==t&&t;n.keepAlive=o}),u()(o,p.SET_GPS,function(n,e){var t=a()(e,[]);n.gps=t}),u()(o,p.SET_SGPS,function(n,e){var t=a()(e,[]);n.sgps=t}),u()(o,p.SET_GOEASY,function(n,e){var t=e.key;n.goeasy=t}),o)},32:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){for(var n=[],e=1;e<=120;e++)n.push({value:e+"",name:e+"岁"});return n}(),i=t(7),u=i.build.assetsPublicPath+i.build.assetsSubDirectory;e.default={static:u,wechat:navigator.userAgent.match(/MicroMessenger\/([\d\.]+)/i),ios:!!navigator.userAgent.match(/(i[^;]+\;(U;)? CPU.+Mac OS X)/),android:navigator.userAgent.indexOf("Android")>-1||navigator.userAgent.indexOf("Linux")>-1,keepAlive:!1,logintype:!1,openid:sessionStorage.getItem("_openid")||"",userid:"",code:"",uinfo:null,uwr:null,goeasy:"",age:o,sex:[{value:"1",name:"男"},{value:"2",name:"女"}],diagnosis:[{value:"1",name:"初诊"},{value:"0",name:"复诊"}],distcodes:[],gps:{lat:"",lon:"",code:"",name:"未定位"},sgps:{lat:"",lon:"",code:"",name:""},pullupConfig:{content:"上拉加载更多",downContent:"松开进行加载",upContent:"上拉加载更多",loadingContent:"加载中...",pullUpHeight:20},orderType:{1:"图文问诊",2:"电话问诊",4:"远程会诊",5:"图文会诊",6:"图文问诊",7:"电话问诊",8:"患者报到",9:"快速问诊",10:"转诊服务",11:"会诊申请","11-5":"图文会诊申请","11-4":"视频会诊申请",12:"团队问诊",13:"送心意",14:"团队vip",15:"家庭医生"},orderState:{10:"待接诊",20:"问诊中",25:"待复诊",30:"已退诊",40:"已完成",50:"已取消"}}},33:function(n,e,t){"use strict";function o(n,e){new GoEasy({appkey:"78028e7e-edcc-4524-b56b-45639785a53a",onConnected:function(){}}).subscribe({channel:n,onMessage:e,onSuccess:function(){console.log("监听【"+n+"】成功。"+new Date)},onFailed:function(){console.log("监听【"+n+"】失败。"+new Date)}})}var i=t(36);e.a=function(n,e){"undefined"!=typeof GoEasy?o(n,e):t.i(i.a)("https://cdn.goeasy.io/goeasy.js",function(){o(n,e)})}},36:function(n,e,t){"use strict";e.a=function(n,e){var t=document.getElementsByTagName("body")[0],o=document.createElement("script");o.type="text/javascript",o.src=n,o.onload=function(){e()},t.appendChild(o)}},37:function(n,e,t){"use strict";t.d(e,"e",function(){return o}),t.d(e,"b",function(){return i}),t.d(e,"a",function(){return u}),t.d(e,"d",function(){return r}),t.d(e,"c",function(){return a});var o="system/location/info",i="system/wx/openid/get",u="system/area/list",r="user/info",a="user/isbind"},6:function(n,e){n.exports={NODE_ENV:'"production"'}},7:function(n,e,t){(function(e){var o=t(70);n.exports={build:{env:t(6),index:o.resolve(e,"../dist/module/index.html"),assetsRoot:o.resolve(e,"../dist"),assetsSubDirectory:"static/v2",assetsPublicPath:"/",productionSourceMap:!1,productionGzip:!0,productionGzipExtensions:["js","css"],bundleAnalyzerReport:t.i({NODE_ENV:"production"}).npm_config_report,target:"https://weixin.ebaiyihui.com",appid:"wx4ee3ae2857ad1e18"},dev:{appid:"wx0369e0fca6790259",env:t(16),port:8e3,autoOpenBrowser:!0,assetsSubDirectory:"static/v2",assetsPublicPath:"/",proxyTable:{"/d2p":{target:"https://weixin.ebaiyihui.com",secure:!1,changeOrigin:!0,pathRewrite:{"^/d2p":"/d2p"}}},cssSourceMap:!1,target:""}}}).call(e,"/")},74:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=t(1),i=t(48),u=t(32),r=t(29),a=t(30),s=t(31);t(76);o.a.use(i.d);e.default=new i.d.Store({state:u.default,actions:r,getters:a,mutations:s.default,strict:!1,plugins:[]})},76:function(n,e,t){"use strict";function o(n,e){return new Array(e+1).join(n)}function i(n,e){return o("0",e-n.toString().length)+n}function u(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=n.collapsed,o=void 0===e||e,u=n.transformer,a=void 0===u?function(n){return n}:u,s=n.mutationTransformer,c=void 0===s?function(n){return n}:s;return function(n){var e=t.i(r.a)(n.state);n.subscribe(function(n,u){if("undefined"!=typeof console){var s=t.i(r.a)(u),d=new Date,l=" @ "+i(d.getHours(),2)+":"+i(d.getMinutes(),2)+":"+i(d.getSeconds(),2)+"."+i(d.getMilliseconds(),3),f=c(n),p="mutation "+n.type+l,g=o?console.groupCollapsed:console.group;try{g.call(console,p)}catch(n){console.log(p)}console.log("%c prev state","color: #9E9E9E; font-weight: bold",a(e)),console.log("%c mutation","color: #03A9F4; font-weight: bold",f),console.log("%c next state","color: #4CAF50; font-weight: bold",a(s));try{console.groupEnd()}catch(n){console.log("—— log end ——")}e=s}})}}e.a=u;var r=t(80)},80:function(n,e,t){"use strict";function o(n,e){return n.filter(e)[0]}function i(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(null===n||"object"!==(void 0===n?"undefined":s()(n)))return n;var t=o(e,function(e){return e.original===n});if(t)return t.copy;var u=Array.isArray(n)?[]:{};return e.push({original:n,copy:u}),r()(n).forEach(function(t){u[t]=i(n[t],e)}),u}e.a=i;var u=t(116),r=t.n(u),a=t(20),s=t.n(a)}},[74]);