(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-47223516"],{"05ef":function(e,t,r){},1142:function(e,t,r){"use strict";r("05ef")},7069:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ids-network-error",staticStyle:{height:"100%"}},[t("div",{staticClass:"information"},[e._m(0),t("p",[e._v("网络请求失败")]),t("p",[t("span",[e._v(e._s(e.errorCN))])]),t("v-btn",{staticClass:"button_refresh",on:{click:function(t){return e.Refresh()}}},[e._v("重试")]),t("v-btn",{staticClass:"button_refresh",on:{click:function(t){return e.ReLoginIn()}}},[e._v("重新登录")])],1)])},n=[function(){var e=this,t=e._self._c;return t("div",{attrs:{align:"center"}},[t("img",{attrs:{src:"imgs/svg/icon_networkerror.svg"}})])}],s=r("4532"),o=r("b378"),i=r("2743"),c=r("7e35"),u=r("aed0"),m=r("45da"),f=r("3bef"),l=r("c7ac"),d=r("3cc5"),p={name:"iDS-NetworkError",data:function(){return{}},computed:{errorCN:function(){if(this.$route.params.err){var e=this.$route.params.err,t=e.prefix,r=o["a"][e.toString()];r||(e.response&&(r=o["a"][t+e.response.data.message]),r||(r=o["a"][t+e.message]),r||e.message==="timeout of "+d["a"].timeout+"ms exceeded"&&(r=o["a"]["Error: timeout of ms exceeded"]));var a=r?r.text.cn:"";return a}}},methods:{mSetParams:function(e){var t=e[0];switch(t.id){case f["a"].eRefreshToken:t.params.tid=null!=c["a"].get("tid")?c["a"].get("tid"):"";break;case f["a"].eFetchUserTenantsList:t.params.phoneNumber=s["a"].vm.getPhoneNumber();break}return e},mGetResult:function(e){var t=e[0];switch(t.id){case f["a"].eRefreshToken:c["a"].set("listScrollTop",0),c["a"].set("listRecordCount",0);break}return e},Refresh:function(){console.log("调试代码");var e=c["a"].get("expire");e=i["a"].string2Timestamp(e);var t=i["a"].getLocalTimestamp(),r=c["a"].get("tid");t>e?l["a"].app.funcReLogin():"TEMP"===r||""===r?u["a"].startFuncList(s["a"],this,m["a"].common.refreshAccountToken):u["a"].startFuncList(s["a"],this,m["a"].common.refreshToken)},ReLoginIn:function(){l["a"].app.funcReLogin()}},created:function(){console.log("代码调试"),null!=this.$route.params.err?(s["a"].vm.setBottomNavVisible(!1),s["a"].vm.setBottomBtnVisible(!1),s["a"].vm.setMenuDisabled(!0),s["a"].vm.setMenuItems([]),s["a"].vm.setMenuIcon("")):window.location.href="/"}},v=p,h=(r("1142"),r("2877")),g=Object(h["a"])(v,a,n,!1,null,null,null);t["default"]=g.exports}}]);