app.716e79dd.js 20 KB

1
  1. (function(e){function t(t){for(var a,r,o=t[0],i=t[1],f=t[2],d=0,s=[];d<o.length;d++)r=o[d],Object.prototype.hasOwnProperty.call(u,r)&&u[r]&&s.push(u[r][0]),u[r]=0;for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);l&&l(t);while(s.length)s.shift()();return c.push.apply(c,f||[]),n()}function n(){for(var e,t=0;t<c.length;t++){for(var n=c[t],a=!0,r=1;r<n.length;r++){var o=n[r];0!==u[o]&&(a=!1)}a&&(c.splice(t--,1),e=i(i.s=n[0]))}return e}var a={},r={app:0},u={app:0},c=[];function o(e){return i.p+"static/js/"+({}[e]||e)+"."+{"chunk-04065db3":"c8f373bb","chunk-20c93ed9":"2a6d6988","chunk-2d0cc033":"6d841d83","chunk-2d0ddfa1":"1cbf939e","chunk-2d0dedfa":"d1edaed5","chunk-36816180":"e271ba97","chunk-3d9741f2":"d4209b80","chunk-4a13e562":"9f64703c","chunk-4b327d31":"22c4fb04","chunk-541e9d76":"9b3a27e3","chunk-575a1984":"c2efa9ed","chunk-709e2b06":"8a3ea1cd","chunk-715a0f6b":"7db9a870","chunk-970df694":"4b80650b","chunk-98b69284":"a32f60d0","chunk-ba35b466":"64b48a19","chunk-c407027e":"db6ab859","chunk-cec0310c":"bcf3afee","chunk-f6048faa":"8167bbe3","chunk-fe4ffe92":"bcdaa3a3"}[e]+".js"}function i(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.e=function(e){var t=[],n={"chunk-3d9741f2":1,"chunk-4a13e562":1,"chunk-cec0310c":1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=new Promise((function(t,n){for(var a="static/css/"+({}[e]||e)+"."+{"chunk-04065db3":"31d6cfe0","chunk-20c93ed9":"31d6cfe0","chunk-2d0cc033":"31d6cfe0","chunk-2d0ddfa1":"31d6cfe0","chunk-2d0dedfa":"31d6cfe0","chunk-36816180":"31d6cfe0","chunk-3d9741f2":"a608d4ee","chunk-4a13e562":"4a3141f1","chunk-4b327d31":"31d6cfe0","chunk-541e9d76":"31d6cfe0","chunk-575a1984":"31d6cfe0","chunk-709e2b06":"31d6cfe0","chunk-715a0f6b":"31d6cfe0","chunk-970df694":"31d6cfe0","chunk-98b69284":"31d6cfe0","chunk-ba35b466":"31d6cfe0","chunk-c407027e":"31d6cfe0","chunk-cec0310c":"84c8ffc0","chunk-f6048faa":"31d6cfe0","chunk-fe4ffe92":"31d6cfe0"}[e]+".css",u=i.p+a,c=document.getElementsByTagName("link"),o=0;o<c.length;o++){var f=c[o],d=f.getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(d===a||d===u))return t()}var s=document.getElementsByTagName("style");for(o=0;o<s.length;o++){f=s[o],d=f.getAttribute("data-href");if(d===a||d===u)return t()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=t,l.onerror=function(t){var a=t&&t.target&&t.target.src||u,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=a,delete r[e],l.parentNode.removeChild(l),n(c)},l.href=u;var h=document.getElementsByTagName("head")[0];h.appendChild(l)})).then((function(){r[e]=0})));var a=u[e];if(0!==a)if(a)t.push(a[2]);else{var c=new Promise((function(t,n){a=u[e]=[t,n]}));t.push(a[2]=c);var f,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=o(e);var s=new Error;f=function(t){d.onerror=d.onload=null,clearTimeout(l);var n=u[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;s.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",s.name="ChunkLoadError",s.type=a,s.request=r,n[1](s)}u[e]=void 0}};var l=setTimeout((function(){f({type:"timeout",target:d})}),12e4);d.onerror=d.onload=f,document.head.appendChild(d)}return Promise.all(t)},i.m=e,i.c=a,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/aftersale/customer/",i.oe=function(e){throw console.error(e),e};var f=window["webpackJsonp"]=window["webpackJsonp"]||[],d=f.push.bind(f);f.push=t,f=f.slice();for(var s=0;s<f.length;s++)t(f[s]);var l=d;c.push(["01ec","chunk-vendors"]),n()})({"01ec":function(e,t,n){"use strict";n.r(t);n("f1dc");var a=n("6e47"),r=(n("342a"),n("1437")),u=(n("5d17"),n("f9bd")),c=(n("2b28"),n("9ed2")),o=(n("414a"),n("7a82")),i=(n("a909"),n("3acc")),f=(n("3c32"),n("417e")),d=(n("4142"),n("39d1")),s=(n("91d5"),n("f0ca")),l=(n("e17f"),n("2241")),h=(n("1f87"),n("510b")),p=(n("77f8"),n("dc0f")),b=(n("db2c"),n("1125")),m=(n("e930"),n("8f80")),g=(n("5f5f"),n("f253")),v=(n("8a58"),n("e41f")),k=(n("c3a6"),n("ad06")),O=(n("0ec5"),n("21ab")),j=(n("3df5"),n("2830")),_=(n("4b0a"),n("2bb1")),E=(n("7844"),n("5596")),y=(n("e7e5"),n("d399")),w=(n("bda7"),n("5e46")),T=(n("da3c"),n("0b33")),S=(n("0653"),n("34e9")),x=(n("c194"),n("7744")),N=(n("2994"),n("2bdd")),P=(n("5246"),n("6b41")),A=(n("8fec"),n("7bd9")),I=(n("a52c"),n("2ed4")),C=(n("537a"),n("ac28")),D=(n("4056"),n("44bf")),L=(n("66cf"),n("343b")),M=(n("be7f"),n("565f")),U=(n("38d5"),n("772a")),H=(n("66b9"),n("b650")),$=(n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("2b0e")),F=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bg-gray-100 min-h-screen text-gray-600",attrs:{id:"app"}},[t("Loading",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}]}),t("router-view")],1)},K=[],z=function(){var e=this,t=e._self._c;return t("div",{staticClass:"fixed z-max w-full h-full flex justify-center items-center bg-white bg-opacity-50"},[t("van-loading",{attrs:{type:"spinner",color:"#1989fa"}})],1)},q=[],G=(n("ac1e"),n("543e"));$["default"].use(G["a"]);var B={name:"Loading",data:function(){return{}}},R=B,J=n("2877"),W=Object(J["a"])(R,z,q,!1,null,null,null),Q=W.exports,V={components:{Loading:Q},computed:{loading:function(){return this.$store.state.loading.loading}}},X=V,Y=Object(J["a"])(X,F,K,!1,null,null,null),Z=Y.exports,ee=n("da56"),te=(n("c975"),n("d3b7"),n("3ca3"),n("ddb0"),n("8c4f")),ne=n("8aa9"),ae=function(){var e=this,t=e._self._c;return t("div",[t("router-view"),t("app-footer"),t("tabbar")],1)},re=[],ue=function(){var e=this,t=e._self._c;return t("p",{staticClass:"text-center pb-20 pt-10 text-gray-400 text-xs"},[e._v(e._s(e.data))])},ce=[],oe=n("a6fd"),ie=n.n(oe),fe={name:"Footer",data:function(){return{data:oe["footer"]}}},de=fe,se=Object(J["a"])(de,ue,ce,!1,null,null,null),le=se.exports,he=function(){var e=this,t=e._self._c;return t("van-tabbar",{attrs:{route:""}},[t("van-tabbar-item",{attrs:{to:"/home",icon:"wap-home-o"}},[e._v("首页")]),t("van-tabbar-item",{attrs:{to:"/orders/add"},scopedSlots:e._u([{key:"icon",fn:function(n){return t("van-icon",{attrs:{"class-prefix":"my-icon",size:"20px",name:n.active?e.icon.repair_active:e.icon.repair_inactive}})}}])},[t("span",[e._v("我要报修")])]),t("van-tabbar-item",{attrs:{to:"/personal",icon:"friends-o"}},[e._v("个人信息")])],1)},pe=[],be={data:function(){return{active:0,icon:{repair_active:"repair",repair_inactive:"repair"}}}},me=be,ge=Object(J["a"])(me,he,pe,!1,null,null,null),ve=ge.exports,ke={name:"Page",components:{AppFooter:le,Tabbar:ve}},Oe=ke,je=Object(J["a"])(Oe,ae,re,!1,null,null,null),_e=je.exports,Ee=function(){var e=this,t=e._self._c;return t("div",[t("router-view"),t("app-footer")],1)},ye=[],we={name:"Page",components:{AppFooter:le}},Te=we,Se=Object(J["a"])(Te,Ee,ye,!1,null,null,null),xe=Se.exports,Ne=n("a6fd");$["default"].use(te["a"]);var Pe=[{path:"/redirect",children:[{path:"/redirect/:path(.*)",component:function(){return n.e("chunk-2d0dedfa").then(n.bind(null,"8804"))}}]},{path:"/404",component:function(){return n.e("chunk-2d0ddfa1").then(n.bind(null,"844c"))},hidden:!0},{path:"/login",component:function(){return n.e("chunk-04065db3").then(n.bind(null,"84fa"))},meta:{title:"登录"},hidden:!0},{path:"/",component:_e,redirect:"/home",children:[{path:"home",component:function(){return n.e("chunk-2d0cc033").then(n.bind(null,"4bb1"))},meta:{title:"首页"}},{path:"orders/add",component:function(){return n.e("chunk-3d9741f2").then(n.bind(null,"0f18"))},meta:{title:"我要报修"}},{path:"orders",component:function(){return n.e("chunk-575a1984").then(n.bind(null,"bffd"))},meta:{title:"维修记录"}},{path:"/personal",component:function(){return n.e("chunk-98b69284").then(n.bind(null,"32b3"))},meta:{title:"个人信息"}}]},{path:"/nav",component:xe,children:[{path:"",component:function(){return n.e("chunk-fe4ffe92").then(n.bind(null,"fcb7"))},meta:{title:"后台入口"}}]},{path:"/qa",component:xe,children:[{path:"list",component:function(){return n.e("chunk-970df694").then(n.bind(null,"3b06"))},meta:{title:"常见问题"}},{path:":id(\\d+)/info",component:function(){return n.e("chunk-c407027e").then(n.bind(null,"21cf"))},meta:{title:"问题详情"}}]},{path:"/book",component:function(){return n.e("chunk-cec0310c").then(n.bind(null,"fd30"))},meta:{title:"售后保障书"}},{path:"/doing",component:function(){return n.e("chunk-541e9d76").then(n.bind(null,"e237"))},meta:{title:"我的在建"}},{path:"/integral",component:function(){return n.e("chunk-ba35b466").then(n.bind(null,"03f4"))},meta:{title:"我的积分"}},{path:"/check/:id",component:function(){return n.e("chunk-4a13e562").then(n.bind(null,"c829"))},meta:{title:"我的答题"}},{path:"/house",component:xe,children:[{path:"edit/:id(\\d+)",component:function(){return n.e("chunk-f6048faa").then(n.bind(null,"f708"))},meta:{title:"我的房屋"}},{path:"list",component:function(){return n.e("chunk-709e2b06").then(n.bind(null,"03d8"))},meta:{title:"我的房屋"}},{path:"add",component:function(){return n.e("chunk-f6048faa").then(n.bind(null,"f708"))},meta:{title:"绑定房屋"}}]},{path:"/orders",component:xe,children:[{path:":id(\\d+)/revoke",component:function(){return n.e("chunk-20c93ed9").then(n.bind(null,"7328"))},meta:{title:"撤销工单"}},{path:":id(\\d+)/info",component:function(){return n.e("chunk-36816180").then(n.bind(null,"b7b9"))},meta:{title:"工单详情"}},{path:":id(\\d+)/comment",component:function(){return n.e("chunk-715a0f6b").then(n.bind(null,"153c"))},meta:{title:"评价工单"}}]},{path:"/personal/info",component:xe,children:[{path:"",component:function(){return n.e("chunk-4b327d31").then(n.bind(null,"5f30"))},meta:{title:"个人信息"}}]},{path:"*",redirect:"/404"}],Ae=new te["a"]({routes:Pe}),Ie=["/login","/nav"];Ae.beforeEach((function(e,t,n){var a=e.meta&&e.meta.title;a&&(document.title=Ne.title+"-"+a);var r=Object(ne["a"])();if(r)if("/login"===e.path)n({path:"/"});else{var u=ee["a"].getters.user_id;0===u?ee["a"].dispatch("user/getInfo").then((function(){n()})):n()}else-1!==Ie.indexOf(e.path)?n():n("/login?redirect=".concat(e.path))}));var Ce=Ae,De=(n("b972"),n("4f92"),n("e886"),n("bc3a")),Le=n.n(De),Me=n("a0ac"),Ue=n("8237"),He=n.n(Ue),$e=n("5c96"),Fe=n.n($e);n("0fae");$["default"].use(H["a"]),$["default"].use(U["a"]),$["default"].use(M["a"]),$["default"].use(L["a"]),$["default"].use(D["a"]),$["default"].use(C["a"]),$["default"].use(I["a"]),$["default"].use(A["a"]),$["default"].use(P["a"]),$["default"].use(N["a"]),$["default"].use(x["a"]),$["default"].use(S["a"]),$["default"].use(T["a"]),$["default"].use(w["a"]),$["default"].use(y["a"]),$["default"].use(E["a"]),$["default"].use(_["a"]),$["default"].use(j["a"]),$["default"].use(O["a"]),$["default"].use(k["a"]),$["default"].use(v["a"]),$["default"].use(g["a"]),$["default"].use(m["a"]),$["default"].use(b["a"]),$["default"].use(p["a"]),$["default"].use(h["a"]),$["default"].use(l["a"]),$["default"].use(s["a"]),$["default"].use(d["a"]),$["default"].use(f["a"]),$["default"].use(i["a"]),$["default"].use(o["a"]),$["default"].use(c["a"]),$["default"].use(u["a"]),$["default"].use(r["a"]),$["default"].use(a["a"]),$["default"].use(Fe.a),$["default"].config.productionTip=!1,$["default"].prototype.$env=Me["a"],$["default"].prototype.$axios=Le.a,$["default"].prototype.$settings=ie.a,$["default"].prototype.$md5=He.a,new $["default"]({router:Ce,store:ee["a"],el:"#app",render:function(e){return e(Z)}})},"47ba":function(e,t,n){var a={"./loading.js":"b9a8"};function r(e){var t=u(e);return n(t)}function u(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}r.keys=function(){return Object.keys(a)},r.resolve=u,e.exports=r,r.id="47ba"},"4f92":function(e,t,n){},"60cc":function(e,t,n){var a={"./user.js":"a7bf"};function r(e){var t=u(e);return n(t)}function u(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}r.keys=function(){return Object.keys(a)},r.resolve=u,e.exports=r,r.id="60cc"},7952:function(e,t,n){"use strict";n.d(t,"i",(function(){return u})),n.d(t,"g",(function(){return c})),n.d(t,"o",(function(){return o})),n.d(t,"j",(function(){return i})),n.d(t,"n",(function(){return f})),n.d(t,"a",(function(){return d})),n.d(t,"h",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"f",(function(){return h})),n.d(t,"e",(function(){return p})),n.d(t,"l",(function(){return b})),n.d(t,"m",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"b",(function(){return v})),n.d(t,"c",(function(){return k}));var a=n("8035"),r=n("f9db");function u(e){return Object(a["a"])({url:r["a"].customer+"login",method:"post",data:e})}function c(){return Object(a["a"])({url:r["a"].customer+"info",method:"get"})}function o(e){return Object(a["a"])({url:r["a"].customer+"info",method:"put",data:e})}function i(){return Object(a["a"])({url:r["a"].customer+"logout",method:"post"})}function f(){return Object(a["a"])({url:r["a"].customer+"unbind_weixin",method:"post"})}function d(){return Object(a["a"])({url:r["a"].customer+"check_book",method:"get"})}function s(e){return Object(a["a"])({url:r["a"].customer+"integrals",method:"post",data:e})}function l(){return Object(a["a"])({url:r["a"].customer+"check",method:"get"})}function h(e){return Object(a["a"])({url:r["a"].customer+"checks",method:"get",params:e})}function p(e){return Object(a["a"])({url:r["a"].customer+"checks/".concat(e),method:"get"})}function b(e){return Object(a["a"])({url:r["a"].customer+"checks",method:"post",data:e})}function m(e){return Object(a["a"])({url:r["a"].customer+"check/".concat(e),method:"put"})}function g(e){return Object(a["a"])({url:r["a"].customer+"mycustomers",method:"post",data:e})}function v(e){return Object(a["a"])({url:r["a"].customer+"checkcontract/".concat(e),method:"post"})}function k(e){return Object(a["a"])({url:r["a"].customer+"checkstart/".concat(e),method:"post"})}},8035:function(e,t,n){"use strict";n("9a83");var a=n("f564"),r=(n("d9e2"),n("d401"),n("d3b7"),n("bc3a")),u=n.n(r),c=n("da56"),o=n("8aa9"),i=n("a0ac"),f=u.a.create({baseURL:i["a"].baseApi,timeout:5e3});f.interceptors.request.use((function(e){var t=Object(o["a"])();return t&&(e.headers["Access-Token"]=t),e}),(function(e){return console.log(e),Promise.reject(e)})),f.interceptors.response.use((function(e){var t=e.data;return 200!==t.code?(Object(a["a"])({type:"danger",message:t.message}),Promise.reject(new Error(t.message||"Error"))):t}),(function(e){return console.log(e),e&&e.response?(Object(a["a"])({type:"danger",message:e.response.data.message}),401===e.response.status&&c["a"].dispatch("user/resetToken").then((function(){location.reload()}))):Object(a["a"])({type:"danger",message:e.message}),Promise.reject(e)})),t["a"]=f},"8aa9":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return i}));var a=n("a78e"),r=n.n(a),u="Customer-Token";function c(){return r.a.get(u)}function o(e){return r.a.set(u,e)}function i(){return r.a.remove(u)}},a0ac:function(e,t,n){"use strict";var a={development:{baseApi:"http://localhost:4000/"},production:{baseApi:"/"}};t["a"]=a["production"]},a6fd:function(e,t){e.exports={title:"志远售后",footer:"@2021 志远售后系统",logo:"https://image.nczyzs.com/zhiyuan-logo.png",validCss:["bg-gray-500","text-gray-500","text-yellow-500","text-blue-500","text-pink-500","text-purple-500","text-indigo-500","text-red-500"]}},a7bf:function(e,t,n){"use strict";n.r(t);n("d3b7");var a=n("8aa9"),r=n("7952"),u=n("f277"),c={id:0,token:Object(a["a"])(),name:"",nickname:"",phone:"",headimgurl:"",house:{},setting:{},info:{}},o={SET_TOKEN:function(e,t){e.token=t},SET_NAME:function(e,t){e.name=t},SET_NICK_NAME:function(e,t){e.nickname=t},SET_HEADIMGURL:function(e,t){e.headimgurl=t},SET_PHONE:function(e,t){e.phone=t},SET_HOUSE:function(e,t){e.house=t},SET_SETTING:function(e,t){e.setting=t},SET_ID:function(e,t){e.id=t},SET_INFO:function(e,t){e.info=t}},i={login:function(e,t){var n=e.commit;return new Promise((function(e,u){Object(r["i"])(t).then((function(t){200!==t.code&&u(t.msg),n("SET_TOKEN",t.data.token),Object(a["c"])(t.data.token),e()})).catch((function(e){u(e)}))}))},logout:function(e){var t=e.commit,n=e.state;return new Promise((function(e,u){Object(r["j"])(n.token).then((function(n){t("SET_TOKEN",""),t("SET_ID",0),Object(a["b"])(),e()})).catch((function(e){u(e)}))}))},unbindWeixin:function(e){var t=e.commit,n=e.state;return new Promise((function(e,u){Object(r["n"])(n.token).then((function(n){t("SET_TOKEN",""),t("SET_ID",0),Object(a["b"])(),e()})).catch((function(e){u(e)}))}))},getInfo:function(e){var t=e.commit,n=e.state;return new Promise((function(e,a){Object(r["g"])(n.token).then((function(n){var a=n.data,r=a.id,u=a.name,c=a.phone,o=a.headimgurl,i=a.nickname,f=a.house,d=a.setting;t("SET_ID",r),t("SET_PHONE",c),t("SET_NAME",u),t("SET_HEADIMGURL",o),t("SET_NICK_NAME",i),t("SET_HOUSE",f),t("SET_SETTING",d),t("SET_INFO",n.data),console.log(n),e(n.data)})).catch((function(e){a(e)}))}))},updateInfo:function(e,t){var n=e.commit;e.state;return new Promise((function(e,a){Object(r["o"])(t).then((function(t){n("SET_ID",0),e(t.data)})).catch((function(e){a(e)}))}))},updateHouse:function(e,t){var n=e.commit;e.state;return new Promise((function(e,a){Object(u["c"])(t.id,t).then((function(t){n("SET_ID",0),e(t.data)})).catch((function(e){a(e)}))}))},addHouse:function(e,t){var n=e.commit;e.state;return new Promise((function(e,a){Object(u["a"])(t).then((function(t){n("SET_ID",0),e(t.data)})).catch((function(e){a(e)}))}))},resetToken:function(e){var t=e.commit;return new Promise((function(e){t("SET_TOKEN",""),Object(a["b"])(),e()}))}};t["default"]={namespaced:!0,state:c,mutations:o,actions:i}},b9a8:function(e,t,n){"use strict";n.r(t);var a={loading:!1},r={showLoading:function(e){e.loading=!0},hideLoading:function(e){e.loading=!1}},u={};t["default"]={namespaced:!0,state:a,mutations:r,actions:u}},da56:function(e,t,n){"use strict";n("13d5"),n("d3b7"),n("ac1f"),n("5319"),n("ddb0");var a=n("2b0e"),r=n("2f62"),u={user_id:function(e){return e.user.id},token:function(e){return e.user.token},headimgurl:function(e){return e.user.headimgurl},name:function(e){return e.user.name},nickname:function(e){return e.user.nickname},phone:function(e){return e.user.phone},house:function(e){return e.user.house},setting:function(e){return e.user.setting},info:function(e){return e.user.info}},c=u,o=n("eaf8");a["default"].use(r["a"]);var i=n("60cc"),f=i.keys().reduce((function(e,t){var n=t.replace(/^\.\/(.*)\.\w+$/,"$1"),a=i(t);return e[n]=a.default,e}),{}),d=n("47ba"),s=d.keys().reduce((function(e,t){var n=t.replace(/^\.\/(.*)\.\w+$/,"$1"),a=d(t);return e[n]=a.default,e}),{});f=Object(o["c"])(f,s);var l=new r["a"].Store({modules:f,getters:c});t["a"]=l},e886:function(e,t,n){},eaf8:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return c}));var a=n("53ca");n("d401"),n("4160"),n("c975"),n("fb6a"),n("b64b"),n("d3b7"),n("e25e"),n("4d63"),n("c607"),n("ac1f"),n("2c3e"),n("00b4"),n("25f0"),n("3ca3"),n("4d90"),n("5319"),n("159b"),n("ddb0"),n("2b3d"),n("bf19"),n("9861"),n("88a7"),n("271a"),n("5494");function r(){return window.navigator.userAgent.toLowerCase().indexOf("micromessenger")>-1}function u(){return Date.parse(new Date)/1e3}function c(e,t){return"object"!==Object(a["a"])(e)&&(e={}),Array.isArray(t)?t.slice():(Object.keys(t).forEach((function(n){var r=t[n];"object"===Object(a["a"])(r)?e[n]=c(e[n],r):e[n]=r})),e)}},f277:function(e,t,n){"use strict";n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return o}));var a=n("8035"),r=n("f9db");function u(e,t){return Object(a["a"])({url:r["a"].customer+"houses/".concat(e),method:"put",data:t})}function c(e){return Object(a["a"])({url:r["a"].customer+"houses",method:"post",data:e})}function o(){return Object(a["a"])({url:r["a"].customer+"houses",method:"get"})}},f9db:function(e,t,n){"use strict";var a=n("a0ac");t["a"]={customer:a["a"].baseApi+"api/aftersale/customer/",weixin:a["a"].baseApi+"api/weixin/"}}});