Newer
Older
smartwellapp / app / src / main / assets / static / js / app.dec4bfbb5ac4766e17d9.js
Pengxh on 19 May 2021 27 KB first commit
webpackJsonp([51],{0:function(e,t,n){n("j1ja"),e.exports=n("NHnr")},"0EwI":function(e,t,n){"use strict";var o={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"loader"})},staticRenderFns:[]};var i=n("VU/8")({name:"Loading"},o,!1,function(e){n("CRFf")},"data-v-253c1fc5",null);t.a=i.exports},"44Su":function(e,t,n){"use strict";n.d(t,"i",function(){return o}),n.d(t,"e",function(){return i}),n.d(t,"a",function(){return a}),n.d(t,"k",function(){return r}),n.d(t,"l",function(){return c}),n.d(t,"j",function(){return s}),n.d(t,"h",function(){return l}),n.d(t,"b",function(){return u}),n.d(t,"f",function(){return p}),n.d(t,"d",function(){return d}),n.d(t,"c",function(){return m}),n.d(t,"g",function(){return f});var o="_slider_flag_",i="_login_flag_",a="_AD_flag_",r="_account_",c="_password_",s="_smart_well_token_",l="_public_key_",u="_client_id_",p="_name_",d="_dept_name_",m="_dept_id_",f="_phone_"},"4qiC":function(e,t){},CRFf:function(e,t){},HSk6:function(e,t){},IcnI:function(e,t,n){"use strict";var o=n("7+uW"),i=n("NYxO"),a=n("//Fk"),r=n.n(a),c=(n("lbHh"),n("vLgD"));var s=n("TIfe"),l={state:{device:"phone",version:"1.0.0",kaptcha:"",publicKey:Object(s.g)(),sid:"",cid:Object(s.b)(),pageYOffset:0},mutations:{TOGGLE_DEVICE:function(e,t){e.device=t},SYS_CONFIG:function(e,t){e.publicKey=t.publicKey,Object(s.s)(t.publicKey)},SET_CLIENTID:function(e,t){console.log("set cid: "+t),e.cid=t,Object(s.n)(t)},SET_PAGE_OFFSET:function(e,t){e.pageYOffset=t}},actions:{ToggleDevice:function(e,t){(0,e.commit)("TOGGLE_DEVICE",t)},GetConfig:function(e){var t=e.commit;return new r.a(function(e,n){Object(c.a)({url:"/config/baseConfig",method:"get"}).then(function(n){var o=n.data;t("SYS_CONFIG",o),e()}).catch(function(e){t("SYS_CONFIG",{publicKey:"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCu5k8gcTFJy5UtMfmtKiR3f/EcUe93kzfteRj6+sM5fHRvOib82+uqQMjgaRZiMcr3HiHIFY5vA6c+Rfb5R2COitoOhxyA9U2eLXknzxLUQIAqXAvKQO8KnerA1Qjcds7xhJB2XPhWFlY4RVtMT2wr2lMd29QDE4F/kzyDhNBpxwIDAQAB"}),n(e)})})}}},u=(n("44Su"),n("heyG")),p={state:{token:Object(s.i)(),username:Object(s.a)(),password:Object(s.h)(),ip:"10.9.39.8",imei:"-",yys:"lt",identityCard:"",clientid:Object(s.b)(),name:Object(s.e)(),jgdm:"-",deptId:Object(s.c)(),deptName:Object(s.d)(),phone:Object(s.f)(),roleList:[],roleNames:[],roleTips:[],wellTypes:[],deviceTypes:[],communications:[],area:""},mutations:{SET_TOKEN:function(e,t){e.token=t,Object(s.u)(t)},SET_NAME:function(e,t){e.name=t,Object(s.q)(t)},SET_CLIENTID:function(e,t){e.clientid=t,Object(s.n)(t)},SET_IP:function(e,t){e.ip=t},SET_IMEI:function(e,t){e.imei=t},SET_YYS:function(e,t){e.yys=t},SET_IDENTITYCARD:function(e,t){e.identityCard=t},SET_JJDM:function(e,t){e.jgdm=t},SET_ROLELIST:function(e,t){e.roleList=t},SET_ROLENAMES:function(e,t){e.roleNames=t},SET_ROLETIPS:function(e,t){e.roleTips=t},SET_DEPTID:function(e,t){e.deptId=t,Object(s.o)(t)},SET_DEPTNAME:function(e,t){e.deptName=t,Object(s.p)(t)},SET_PHONE:function(e,t){e.phone=t,Object(s.r)(t)},SET_USERNAME:function(e,t){e.username=t,Object(s.m)(t)},SET_WELLTYPES:function(e,t){e.wellTypes=t},SET_DEVICETYPES:function(e,t){e.deviceTypes=t},SET_COMMUNICATIONS:function(e,t){e.communications=t},SET_AREA:function(e,t){e.area=t}},actions:{Login:function(e,t){var n=e.commit;return new r.a(function(e,o){var i;(i=t,Object(c.a)({url:"user/appLogin",method:"post",params:i})).then(function(i){if(200===i.code){var a=i.data;Object(s.t)(t.password),n("SET_TOKEN",a.token),n("SET_USERNAME",t.username),e(i)}else o(i.message)}).catch(function(e){o(e)})})},IDLogin:function(e){var t=e.commit;return new r.a(function(e,n){console.log("IDLogin function:");var o=JSON.parse(window.android.getUser());console.log(o),""==o.imei&&(o.imei="0000"),t("SET_NAME",o.name),t("SET_YYS",o.yys),t("SET_IDENTITYCARD",o.card),t("SET_IMEI",o.imei),console.log("apptokenByCard params:"+o.card),Object(u.a)("app/tokenByCard",{card:o.card}).then(function(i){if(200===i.code){console.log("getToken Success");var a=i.data;t("SET_TOKEN",a.token),t("SET_USERNAME",o.card),console.log("app/tokenByCard: getToken:"+a.token),e(i)}else n(i.message)}).catch(function(e){n(e)})})},GetInfo:function(e){var t=e.commit;e.state;return new r.a(function(e,n){Object(u.a)("user/info").then(function(o){console.log("get UserInfo Success");var i=o.data;i.roleList&&i.roleList.length>0?(t("SET_ROLELIST",i.roleList),t("SET_ROLENAMES",i.roleNames),t("SET_ROLETIPS",i.roleTips)):n("该用户无角色"),i.deptId?(t("SET_DEPTID",i.deptId),t("SET_DEPTNAME",i.deptName)):n("该用户无组织机构"),t("SET_PHONE",i.phone),t("SET_JGDM",i.deptId);var a=i.devices;1==a.length&&a[0].imei&&""!=a[0].imei&&t("SET_IMEI",a[0].imei),e(o)}).catch(function(e){n(e)})})},LogOut:function(e){var t=e.commit,n=e.state;return new r.a(function(e,o){(n.token,Object(c.a)({url:"/user/logout",method:"get"})).then(function(){t("SET_ROLELIST",[]),Object(s.j)(),Object(s.k)(),Object(s.l)(),e()}).catch(function(e){t("SET_ROLELIST",[]),Object(s.j)(),Object(s.k)(),Object(s.l)(),window.Android.unbindUser(),o(e)})})},FedLogOut:function(e){var t=e.commit;return new r.a(function(e){t("SET_ROLELIST",[]),Object(s.j)(),Object(s.k)(),Object(s.l)(),window.Android.unbindUser(),e()})}}},d=n("BO1k"),m=n.n(d);n("Dd8w");var f={state:{routers:n("YaEn").b,addRouters:[],menus:[],btns:[]},mutations:{SET_ROUTERS:function(e,t){e.addRouters=t,e.routers=constantRouterMap.concat(t)},SET_MENUS:function(e,t){e.menus=t},SET_BTNS:function(e,t){e.btns=t}},actions:{GetMenus:function(e){var t=e.commit,n=e.state;return console.log("in store.permission.js:GetMenus:"),new r.a(function(e,o){(n.token,Object(c.a)({url:"/user/permission",method:"get"})).then(function(n){console.log("get Menus success!");var o=n.data,i=[],a=[];if(o.menus&&o.menus.length>0){t("SET_MENUS",o.menus);var r=!0,c=!1,s=void 0;try{for(var l,u=m()(o.menus);!(r=(l=u.next()).done);r=!0){var p=l.value;if("1"===p.ismenu){var d={};d.url=p.url,d.icon=p.icon,d.name=p.name,i.push(d)}else{var f={};f.url=p.url,f.name=p.name,f.icon=p.icon,a.push(f)}}}catch(e){c=!0,s=e}finally{try{!r&&u.return&&u.return()}finally{if(c)throw s}}}t("SET_BTNS",a),e(n)}).catch(function(e){o(e)})})}}},h={sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device},version:function(e){return e.app.version},kaptcha:function(e){return e.app.kaptcha},publicKey:function(e){return e.app.publicKey},sid:function(e){return e.app.sid},cid:function(e){return e.app.cid},pageYOffset:function(e){return e.app.pageYOffset},token:function(e){return e.user.token},name:function(e){return e.user.name},ip:function(e){return e.user.ip},imei:function(e){return e.user.imei},yys:function(e){return e.user.yys},identityCard:function(e){return e.user.identityCard},jgdm:function(e){return e.user.jgdm},roleList:function(e){return e.user.roleList},roleNames:function(e){return e.user.roleNames},roleTips:function(e){return e.user.roleTips},deptId:function(e){return e.user.deptId},deptName:function(e){return e.user.deptName},phone:function(e){return e.user.phone},username:function(e){return e.user.username},menus:function(e){return e.permission.menus},permission_routers:function(e){return e.permission.routers},addRouters:function(e){return e.permission.addRouters},btns:function(e){return e.permission.btns},wellTypes:function(e){return e.user.wellTypes},deviceTypes:function(e){return e.user.deviceTypes},communications:function(e){return e.user.communications},area:function(e){return e.user.area}};o.default.use(i.a);var b=new i.a.Store({modules:{app:l,user:p,permission:f},getters:h});t.a=b},KvKp:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),t.b=function(e){if(!1===c)return!1;if("standard"===c)return e;return c+e.charAt(0).toUpperCase()+e.substr(1)};var o=n("mvHQ"),i=n.n(o),a=(n("44Su"),{Cache:{set:function(e,t,n){try{if(!localStorage)return!1;n&&!isNaN(n)||(n=60);var o={val:t,exp:new Date-1+1e3*n};localStorage.setItem(e,i()(o))}catch(e){}},get:function(e){try{if(!localStorage)return!1;var t=localStorage.getItem(e),n=JSON.parse(t),o=new Date-1;return n?o>n.exp?(this.remove(e),null):n.val:null}catch(t){return this.remove(e),null}},remove:function(e){if(!localStorage)return!1;localStorage.removeItem(e)},clear:function(){if(!localStorage)return!1;localStorage.clear()}}});var r=document.createElement("div").style,c=function(){var e={webkit:"webkitTransform",Moz:"MozTransform",O:"OTransform",ms:"msTransform",standard:"transform"};for(var t in e)if(void 0!==r[e[t]])return t;return!1}()},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n("j1ja");var o=n("hKoQ"),i=n.n(o),a=n("7+uW"),r={name:"App",computed:{key:function(){return this.$route.meta.keepAlive?void 0!==this.$route.name?this.$route.name:this.$route:void 0!==this.$route.name?this.$route.name+new Date:this.$route+new Date}}},c={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("keep-alive",[this.$route.meta.keepAlive?t("router-view",{key:this.key}):this._e()],1),this._v(" "),this.$route.meta.keepAlive?this._e():t("router-view",{key:this.key})],1)},staticRenderFns:[]};var s=n("VU/8")(r,c,!1,function(e){n("XaB4")},null,null).exports,l=n("Au9i"),u=n.n(l),p=(n("d8/S"),n("HSk6"),n("IcnI")),d=n("YaEn"),m=n("Y81h"),f=n.n(m),h=(n("UVIz"),n("TIfe")),b=n("KvKp"),g=n("44Su");console.log(g.i),f.a.configure({showSpinner:!1});var v=["/login","/slider","/error","/testpage"];d.a.beforeEach(function(e,t,n){f.a.start(),console.log("to Path:"+e.path);localStorage.getItem(g.i);var o=Object(h.i)();console.log("token:"+o),Object(h.i)()?"/login"===e.path?(n(),f.a.done()):(console.log("not to login "),0===p.a.getters.roleList.length?(console.log("无角色"),p.a.dispatch("GetInfo").then(function(e){n()}).catch(function(e){console.log("拉取用户信息失败,清除缓存后重试"),b.a.Cache.remove(g.j),n()})):n()):-1!==v.indexOf(e.path)?n():p.a.dispatch("IDLogin").then(function(e){n()}).catch(function(e){console.log("获取token失败"),b.a.Cache.remove(g.j),Object(l.Toast)("获取用户信息失败,请退出后重试")})}),d.a.afterEach(function(){f.a.done()});var T={name:"TabBottom",components:{Tabbar:l.Tabbar},props:["activeTabItem"],data:function(){return{activeTabInit:"MAIN",fixed:!0}},computed:{activeTab:{get:function(){return this.activeTabItem&&""!=this.activeTabItem?this.activeTabItem:this.activeTabInit},set:function(){}}},methods:{goHome:function(){this.$router.push({name:"index"})},goWellManage:function(){this.$router.push({name:"wellManage",params:{refresh:!0}})},goJob:function(){this.$router.push({name:"job"})},goMessage:function(){this.$router.push({name:"index"})},goMine:function(){this.$router.push({name:"mine"})}}},_={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("mt-tabbar",{attrs:{fixed:e.fixed},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[n("mt-tab-item",{attrs:{id:"MAIN"},nativeOn:{click:function(t){return e.goHome(t)}}},[n("i",{staticClass:"iconfont icon-home",attrs:{slot:"icon"},slot:"icon"}),e._v("\n    首页\n  ")]),e._v(" "),n("mt-tab-item",{attrs:{id:"WELL"},nativeOn:{click:function(t){return e.goWellManage(t)}}},[n("i",{staticClass:"iconfont icon-jinggai2",attrs:{slot:"icon"},slot:"icon"}),e._v("\n    闸井\n  ")]),e._v(" "),n("mt-tab-item",{attrs:{id:"JOB"},nativeOn:{click:function(t){return e.goJob(t)}}},[n("i",{staticClass:"iconfont icon-quanbudingdan",attrs:{slot:"icon"},slot:"icon"}),e._v("\n    工单\n  ")]),e._v(" "),n("mt-tab-item",{attrs:{id:"MINE"},nativeOn:{click:function(t){return e.goMine(t)}}},[n("i",{staticClass:"iconfont icon-mine",attrs:{slot:"icon"},slot:"icon"}),e._v("\n    我的\n  ")])],1)},staticRenderFns:[]};var S=n("VU/8")(T,_,!1,function(e){n("4qiC")},null,null).exports;i.a.polyfill(),n("hKoQ").polyfill(),a.default.use(u.a),a.default.config.productionTip=!1,new a.default({el:"#app",router:d.a,store:p.a,components:{App:s},template:"<App/>"}),a.default.component("Tabbottom",S)},TIfe:function(e,t,n){"use strict";t.i=function(){return i.a.Cache.get(a.j)},t.u=function(e){return i.a.Cache.set(a.j,e,30)},t.l=function(){return i.a.Cache.remove(a.j)},t.g=function(){return i.a.Cache.get(a.h)},t.s=function(e){return i.a.Cache.set(a.h,e,99999)},t.a=function(){return i.a.Cache.get(a.k)},t.m=function(e){return i.a.Cache.set(a.k,e,99999)},t.j=function(){return i.a.Cache.remove(a.k)},t.h=function(){return i.a.Cache.get(a.l)},t.t=function(e){return i.a.Cache.set(a.l,e,99999)},t.k=function(){return i.a.Cache.remove(a.l)},t.b=function(){return i.a.Cache.get(a.b)},t.n=function(e){return i.a.Cache.set(a.b,e,99999)},t.e=function(){return i.a.Cache.get(a.f)},t.q=function(e){return i.a.Cache.set(a.f,e,99999)},t.d=function(){return i.a.Cache.get(a.d)},t.p=function(e){return i.a.Cache.set(a.d,e,99999)},t.c=function(){return i.a.Cache.get(a.c)},t.o=function(e){return i.a.Cache.set(a.c,e,99999)},t.f=function(){return i.a.Cache.get(a.g)},t.r=function(e){return i.a.Cache.set(a.g,e,99999)};var o=n("lbHh"),i=(n.n(o),n("KvKp")),a=n("44Su")},Tdr3:function(e,t){},UVIz:function(e,t){},X2Oc:function(e,t,n){"use strict";t.a=function(e,t,n){console.log("经纬度:",e,t);var o="androidamap://viewMap?poiname="+n,i="&lat="+t+"&lng="+e;location.assign(o+i+"")}},XaB4:function(e,t){},YaEn:function(e,t,n){"use strict";var o=n("7+uW"),i=n("/ocq"),a=(n("wiJb"),n("X2Oc")),r=n("0EwI"),c=n("heyG"),s=!1,l={name:"WellManage",components:{Loading:r.a},data:function(){return{listQuery:{keywords:"",wellType:"",offset:1,limit:10,sort:"id",order:"asc"},wellType:"全部",wellTypeList:[],wellTypeShow:!1,showPopupModel:!1,list:[],total:50,loadConf:{loadTopConf:{isFinish:!1,topPullText:"下拉刷新",topDropText:"松开刷新",topLoadingText:"刷新中"},loadBottomConf:{isFinish:!1,bottomPullText:"",bottomDropText:"释放获取内容",bottomLoadingText:"加载中",count:1}},isLoading:!0,isFromDetail:!1,bigImageVisible:!1,bigImageSrc:""}},mounted:function(){this.fetchWellType(),this.loadTop()},beforeRouteEnter:function(e,t,n){s=!!t.name&&-1!=t.name.indexOf("wellDetail"),n()},activated:function(){s?this.$refs.wrapper.scrollTop=this.$store.getters.pageYOffset:(this.list=[],this.isLoading=!0,this.loadTop(),this.$refs.wrapper.scrollTop=0),this.wellTypeShow=!1},methods:{loadTop:function(){var e=this;console.log("wellManageloadTop"),this.list=[],this.$refs.loadmore.onTopLoaded(),this.loadConf.loadBottomConf.isFinish=!1,this.isLoading=!0,this.listQuery.offset=1,Object(c.a)("well/list",this.listQuery).then(function(t){e.listQuery.offset+=1,e.list=t.data.rows,e.total=parseInt(t.data.total),e.isLoading=!1,e.list.length>=e.total&&(e.loadConf.loadBottomConf.isFinish=!0,e.$refs.loadmore.onBottomLoaded())})},loadBottom:function(){var e=this;console.log("loadBottom"),this.wellTypeShow=!1,this.list.length>=this.total?(this.loadConf.loadBottomConf.isFinish=!0,this.$refs.loadmore.onBottomLoaded()):Object(c.a)("well/list",this.listQuery).then(function(t){e.listQuery.offset+=1,e.list=e.list.concat(t.data.rows),e.total=parseInt(t.data.total),e.$refs.loadmore.onBottomLoaded(),e.isLoading=!1})},chooseWellType:function(){this.wellTypeShow=!this.wellTypeShow},search:function(e){this.wellTypeShow=!1,this.wellTypeShow=!1,this.listQuery.wellType=e.value,this.wellType=e.name,this.loadTop()},searchKeyWords:function(){this.wellTypeShow=!1,document.activeElement.blur(),this.loadTop()},toWellDetail:function(e){this.wellTypeShow=!1;var t=e.id;this.$store.commit("SET_PAGE_OFFSET",this.$refs.wrapper.scrollTop),this.$router.push({path:"/wellDetail/"+t})},goToMap:function(e){this.wellTypeShow=!1,Object(a.a)(e.coordinateX,e.coordinateY,e.wellName)},fetchWellType:function(){var e=this;Object(c.a)("dict/code/sluicewellType").then(function(t){e.wellTypeList=t.data,e.wellTypeList.unshift({name:"全部",value:""})})}}},u={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"slide"}},[n("div",[n("div",{staticClass:"index-container"},[n("mt-header",{staticClass:"header",attrs:{title:"闸井管理",fixed:""}}),e._v(" "),n("div",{staticClass:"search-div"},[n("span",{staticClass:"search-select",on:{click:e.chooseWellType}},[n("span",{staticClass:"select-text"},[e._v(e._s(e.wellType))]),e._v(" "),n("i",{staticClass:"iconfont icon-31xiala",attrs:{slot:"icon"},slot:"icon"})]),e._v(" "),n("span",[n("mt-search",{attrs:{placeholder:"闸井编号/位置"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchKeyWords(t)}},model:{value:e.listQuery.keywords,callback:function(t){e.$set(e.listQuery,"keywords","string"==typeof t?t.trim():t)},expression:"listQuery.keywords"}})],1),e._v(" "),n("div",{staticClass:"clear-float"})]),e._v(" "),n("div",{ref:"wrapper",staticClass:"listbody"},[n("Loading",{directives:[{name:"show",rawName:"v-show",value:e.isLoading,expression:"isLoading"}]}),e._v(" "),n("mt-loadmore",{ref:"loadmore",staticClass:"loadmore-content",attrs:{"top-method":e.loadTop,topPullText:e.loadConf.loadTopConf.topPullText,topDropText:e.loadConf.loadTopConf.topDropText,topLoadingText:e.loadConf.loadTopConf.topLoadingText,"bottom-method":e.loadBottom,bottomAllLoaded:e.loadConf.loadBottomConf.isFinish,bottomPullText:e.loadConf.loadBottomConf.bottomPullText,bottomDropText:e.loadConf.loadBottomConf.bottomDropText,bottomLoadingText:e.loadConf.loadBottomConf.bottomLoadingText}},[n("ul",{staticClass:"list-ul"},e._l(e.list,function(t){return n("li",{staticClass:"list-li",on:{click:function(n){return e.toWellDetail(t)}}},[n("div",{staticClass:"well-card"},[n("div",{staticClass:"card-left"},[n("div",[n("span",{staticClass:"card-wellcode"},[e._v(e._s(t.wellCode))]),e._v(" "),n("span",{staticClass:"card-welltype"},[e._v(e._s(t.wellTypeName))]),e._v(" "),n("span",{staticClass:"card-bfzt"},[e._v(e._s(t.bfztName))])]),e._v(" "),n("div",{staticClass:"card-position"},[n("span",[e._v(e._s(t.position))])])]),e._v(" "),n("div",{staticClass:"card-right"},[n("mt-button",{attrs:{type:"primary",size:"small"},on:{click:function(n){return n.stopPropagation(),e.goToMap(t)}}},[e._v("前往")])],1),e._v(" "),n("div",{staticClass:"clear-float"})])])}),0),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.loadConf.loadBottomConf.isFinish,expression:"loadConf.loadBottomConf.isFinish"}],staticClass:"no-content"},[e._v("已经到底了")])])],1),e._v(" "),n("mt-popup",{staticClass:"welltype-popup",attrs:{"popup-transition":"popup-fade",modal:e.showPopupModel,position:"top"},model:{value:e.wellTypeShow,callback:function(t){e.wellTypeShow=t},expression:"wellTypeShow"}},[n("ul",e._l(e.wellTypeList,function(t){return n("li",{on:{click:function(n){return e.search(t)}}},[e._v("\n            "+e._s(t.name)+"\n          ")])}),0)]),e._v(" "),n("tabbottom",{attrs:{activeTabItem:"WELL"}})],1)])])},staticRenderFns:[]};n("VU/8")(l,u,!1,function(e){n("Tdr3")},"data-v-034106db",null).exports;var p=[{path:"/",name:"index",component:function(){return Promise.all([n.e(0),n.e(3)]).then(n.bind(null,"KKGB"))},meta:{keepAlive:!0}},{path:"/login",name:"login",component:function(){return Promise.all([n.e(0),n.e(5)]).then(n.bind(null,"Pv68"))}},{path:"/slider",name:"slider",component:function(){return n.e(4).then(n.bind(null,"rSof"))}},{path:"/testpage",name:"testpage",component:function(){return Promise.all([n.e(0),n.e(6)]).then(n.bind(null,"qxtq"))}},{path:"/advertisement",name:"advertisement",component:function(){return n.e(34).then(n.bind(null,"3YHG"))}}].concat([{path:"/ui/toast",name:"toast",component:function(e){Promise.all([n.e(0),n.e(48)]).then(n.bind(null,"SkhH")).then(function(t){e(t)})}},{path:"/ui/indicator",name:"indicator",component:function(){return Promise.all([n.e(0),n.e(41)]).then(n.bind(null,"N4J3"))}},{path:"/ui/loadmore",name:"loadmore",component:function(){return Promise.all([n.e(0),n.e(21)]).then(n.bind(null,"2T0X"))}},{path:"/ui/infinite-scroll",name:"infiniteScroll",component:function(){return Promise.all([n.e(0),n.e(14)]).then(n.bind(null,"rNs2"))}},{path:"/ui/message-box",name:"messageBox",component:function(){return Promise.all([n.e(0),n.e(15)]).then(n.bind(null,"2zX2"))}},{path:"/ui/action-sheet",name:"actionSheet",component:function(){return Promise.all([n.e(0),n.e(16)]).then(n.bind(null,"KXMy"))}},{path:"/ui/popup",name:"popup",component:function(){return Promise.all([n.e(0),n.e(27)]).then(n.bind(null,"HUyZ"))}},{path:"/ui/swipe",name:"swipe",component:function(){return Promise.all([n.e(0),n.e(38)]).then(n.bind(null,"eT6X"))}},{path:"/ui/lazyLoad",name:"lazyLoad",component:function(){return Promise.all([n.e(0),n.e(45)]).then(n.bind(null,"6x/Z"))}},{path:"/ui/range",name:"range",component:function(){return Promise.all([n.e(0),n.e(9)]).then(n.bind(null,"1zrh"))}},{path:"/ui/progress",name:"progress",component:function(){return Promise.all([n.e(0),n.e(22)]).then(n.bind(null,"bJDk"))}},{path:"/ui/picker",name:"picker",component:function(){return Promise.all([n.e(0),n.e(25)]).then(n.bind(null,"hEOo"))}},{path:"/ui/datetime-picker",name:"datetimePicker",component:function(){return Promise.all([n.e(0),n.e(7)]).then(n.bind(null,"HA1e"))}},{path:"/ui/index-list",name:"indexList",component:function(){return Promise.all([n.e(0),n.e(35)]).then(n.bind(null,"XCl4"))}},{path:"/ui/palette-button",name:"paletteButton",component:function(){return Promise.all([n.e(0),n.e(28)]).then(n.bind(null,"68Yz"))}},{path:"/ui/header",name:"header",component:function(){return Promise.all([n.e(0),n.e(47)]).then(n.bind(null,"bga4"))}},{path:"/ui/button",name:"button",component:function(){return Promise.all([n.e(0),n.e(8)]).then(n.bind(null,"yKrW"))}},{path:"/ui/cell",name:"cell",component:function(){return Promise.all([n.e(0),n.e(10)]).then(n.bind(null,"/265"))}},{path:"/ui/spinner",name:"spinner",component:function(){return Promise.all([n.e(0),n.e(24)]).then(n.bind(null,"K0g4"))}},{path:"/ui/search",name:"search",component:function(){return Promise.all([n.e(0),n.e(18)]).then(n.bind(null,"ZVky"))}},{path:"/ui/switch",name:"switch",component:function(){return Promise.all([n.e(0),n.e(44)]).then(n.bind(null,"CIfO"))}},{path:"/ui/checklist",name:"checklist",component:function(){return Promise.all([n.e(0),n.e(26)]).then(n.bind(null,"OQeh"))}},{path:"/ui/radio",name:"radio",component:function(){return Promise.all([n.e(0),n.e(29)]).then(n.bind(null,"dcIw"))}},{path:"/ui/field",name:"field",component:function(){return Promise.all([n.e(0),n.e(12)]).then(n.bind(null,"O4SB"))}},{path:"/ui/badge",name:"badge",component:function(){return Promise.all([n.e(0),n.e(32)]).then(n.bind(null,"p9fl"))}}],[{path:"/plus/camera",name:"camera",component:function(){return Promise.all([n.e(0),n.e(49)]).then(n.bind(null,"X2KN"))}},{path:"/plus/geolocation",name:"geolocation",component:function(){return Promise.all([n.e(0),n.e(23)]).then(n.bind(null,"eYCY"))}},{path:"/plus/accelerometer",name:"accelerometer",component:function(){return Promise.all([n.e(0),n.e(46)]).then(n.bind(null,"PdiS"))}},{path:"/plus/resumeCallback",name:"resumeCallback",component:function(){return Promise.all([n.e(0),n.e(33)]).then(n.bind(null,"anz/"))}},{path:"/plus/payment",name:"payment",component:function(){return Promise.all([n.e(0),n.e(39)]).then(n.bind(null,"RGD6"))}},{path:"/plus/router",name:"router",component:function(){return Promise.all([n.e(0),n.e(37)]).then(n.bind(null,"w8e4"))},children:[{path:"routerChildren:id",component:function(){return Promise.all([n.e(0),n.e(17)]).then(n.bind(null,"Gauk"))}}]}],[{path:"/wellManage",name:"wellManage",component:function(){return n.e(36).then(n.bind(null,"cnln"))},meta:{keepAlive:!0}},{path:"/wellDetail/:id",name:"wellDetail",component:function(){return n.e(43).then(n.bind(null,"nDjU"))}},{path:"/watchData/:id",name:"watchData",component:function(){return n.e(42).then(n.bind(null,"9fGG"))}},{path:"/wellBfcf",name:"wellBfcf",component:function(){return n.e(40).then(n.bind(null,"ftF+"))},meta:{keepAlive:!0}},{path:"/job",name:"job",component:function(){return Promise.all([n.e(0),n.e(2)]).then(n.bind(null,"pFkK"))},meta:{keepAlive:!0}},{path:"/jobDetail/:id",name:"jobDetail",component:function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,"8w2b"))}},{path:"/mine",name:"mine",component:function(){return n.e(19).then(n.bind(null,"MtoQ"))}},{path:"/information",name:"information",component:function(){return Promise.all([n.e(0),n.e(31)]).then(n.bind(null,"8YrF"))}},{path:"/resetPwd",name:"resetPwd",component:function(){return Promise.all([n.e(0),n.e(13)]).then(n.bind(null,"qpgP"))}},{path:"/helpMe",name:"helpMe",component:function(){return n.e(20).then(n.bind(null,"PZsq"))}},{path:"/contactUs",name:"contactUs",component:function(){return n.e(30).then(n.bind(null,"e+gR"))}},{path:"/aboutUs",name:"aboutUs",component:function(){return n.e(11).then(n.bind(null,"hHu6"))}},{path:"/*",redirect:"/"}]),d=(n("KvKp"),n("44Su"));n.d(t,"b",function(){return f}),console.log(d.i),o.default.use(i.a);var m=new i.a({scrollBehavior:function(e,t,n){return n||{x:0,y:0}},routes:p}),f=(t.a=m,p)},"d8/S":function(e,t){},heyG:function(e,t,n){"use strict";t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GET",o={FWQQ_BWBH:(i=s(c.a.getters.ip),u=new Date,p=u.getFullYear(),d=u.getMonth()+1,m=u.getDate(),f=u.getHours(),h=u.getMinutes(),b=u.getSeconds(),g=u.getMilliseconds(),v=Math.floor(8999*Math.random())+1e3,"SR"+i+p+l(d,2)+l(m,2)+l(f,2)+l(h,2)+l(b,2)+l(g,3)+v),BWLYIPDZ:s(c.a.getters.ip),BWLYDKH:"8083",FWQQZ_ZCXX:"A00111000026000004818",FWBS:"S00101100002600052004",FFBS:"FUN001",FWQQ_RQSJ:function(){var e=new Date,t=e.getFullYear(),n=e.getMonth()+1,o=e.getDate(),i=e.getHours(),a=e.getMinutes(),r=e.getSeconds();return""+t+l(n,2)+l(o,2)+l(i,2)+l(a,2)+l(r,2)}(),FWQQ_NR:{method:"appprepositionInvoke",params:{method:e,type:n,token:Object(r.i)(),params:t}},XXCZRY_XM:c.a.getters.name,XXCZRY_GMSFHM:c.a.getters.username,XXCZRY_GAJGJGDM:c.a.getters.jgdm,FWQQSB_BH:c.a.getters.imei,FWQQ_SJSJLX:"service_request",YYSBS:c.a.getters.yys};var i,u,p,d,m,f,h,b,g,v;return Object(a.a)({url:"/http/GA000Comm",method:"post",data:o})};var o=n("BO1k"),i=n.n(o),a=n("vLgD"),r=n("TIfe"),c=n("IcnI");function s(e){var t=e.split("."),n="",o=!0,a=!1,r=void 0;try{for(var c,s=i()(t);!(o=(c=s.next()).done);o=!0){var l=c.value;n+=(l="000"+l).substr(-3)}}catch(e){a=!0,r=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw r}}return n}function l(e,t){return(e="000"+e).substr(0-t)}},vLgD:function(e,t,n){"use strict";var o=n("//Fk"),i=n.n(o),a=n("Dd8w"),r=n.n(a),c=n("mtWM"),s=n.n(c),l=n("Au9i"),u=(n.n(l),n("IcnI")),p=n("TIfe"),d=s.a.create({baseURL:"http://20.1.11.52:5988",timeout:1e5});d.interceptors.request.use(function(e){return u.a.getters.token&&(e.headers.token=Object(p.i)()),e.headers["Content-Type"]="text/plain","get"==e.method&&(e.params=r()({_t:Date.parse(new Date)/1e3},e.params)),e},function(e){console.log(e),i.a.reject(e)}),d.interceptors.response.use(function(e){console.log(e.data);var t=e.data.FWTG_NR;return t instanceof Blob?e:t&&t.code&&200!==t.code?(401===t.code||50012===t.code||50014===t.code?Object(l.Toast)({message:t.message,position:"bottom",duration:3e3}).then(function(){u.a.dispatch("FedLogOut").then(function(){location.reload()})}):MyLocalStorage.Cache.remove(TOKEN),i.a.reject(t)):t&&t.code&&200==t.code?t:t&&t.msg?(Object(l.Toast)({message:t.msg,position:"bottom",duration:3e3}),i.a.reject(t)):t},function(e){console.log("错误"+e),Object(l.Toast)({message:e.response.data,position:"bottom",duration:3e3}).then(function(){return i.a.reject(e)})}),t.a=d},wiJb:function(e,t,n){"use strict";n("vLgD")}},[0]);
//# sourceMappingURL=app.dec4bfbb5ac4766e17d9.js.map