(function(e){function t(t){for(var o,a,s=t[0],c=t[1],u=t[2],l=0,d=[];l=1920?(e("html").css({"font-size":"95.01%"}),this.$store.commit("REMRATIOFUN",{remRatio:15.2016})):(e("html").css({"font-size":62.5*n/1200+"%"}),this.$store.commit("REMRATIOFUN",{remRatio:62.5*n/1200/100*16})),window.onresize=function(){n=document.body.offsetWidth,n>=1920?(e("html").css({"font-size":"95.01%"}),t.$store.commit("REMRATIOFUN",{remRatio:15.2016})):(e("html").css({"font-size":62.5*n/1200+"%"}),t.$store.commit("REMRATIOFUN",{remRatio:62.5*n/1200/100*16})),t.$store.commit("UPDATEREMRATIOFUN",{updateRemRatio:t.updateRemRatio+1})};var o=window.location.href.split("/")[2],a=document.location.protocol,r=new RegExp("https:");for(var s in"localhost:8080"==o||"127.0.0.1:8080"==o?(o="120.77.179.55",a="http:"):"solar.iotena.com"==o?o="new.solar-iot.com":"www.gammausa.solar-iot.com"==o?this.webType=2:"www.solar.flyingsmart.net"==o&&(this.webType=1),i["a"])for(var c in i["a"][s])i["a"][s][c]="websocket"==s?i["a"][s][c].replace(new RegExp("ws:"),subStrW):i["a"][s][c].replace(r,a);var u=new RegExp("120.77.179.55");for(var l in i["a"])for(var d in i["a"][l])i["a"][l][d]=i["a"][l][d].replace(u,o);this.login()},methods:{login:function(){var e=this,t=window.localStorage,n=c["a"].md5(navigator.userAgent);s["a"].ajax_post(i["a"].common.login,{username:"admin",password:"654321",client_key:n},{},(function(o){console.log(o),o.data.client_key=n,o.data.version=e.version,e.$store.commit("USERDATAFUN",{username:o.data.username,id:o.data.id,role:o.data.role,lastLoginTime:o.data.lastLoginTime,client_key:o.data.client_key,token:o.data.token,number:o.data.number,avatar:o.data.avatar,version:o.data.version}),t.setItem("userData",JSON.stringify(o.data)),e.checkboxRememberPassword&&(t.setItem("rememberPassword","true"),t.setItem("udfn",e.username),t.setItem("udfp",c["a"].base64Encode(e.password))),e.$store.commit("HEADERIDFUN",{headerUpdate:e.headerUpdate+1})}),this)}}}}).call(this,n("a336"))},"1e96":function(e,t){e.exports={App:{login:{text1:"Welcome to inhealth!",text2:"Happiness and healthiness",text3:"Please enter your log-in name",text4:"Please enter your password",text5:"Please enter the verification code",text6:"Sign in",text7:"Retrieve password"},message:{text1:"System hints",text2:"Confirm",text3:"Do you confirm to delete?",text4:"Prompt",text5:"Confim",text6:"Cancel",text7:"Undelete"}}}},"55d4":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAAAmCAYAAABESIy4AAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAWqADAAQAAAABAAAAJgAAAABWlqRDAAALvElEQVRoBe2ae5CVZRnAWS4LiIDcQZBdBCRJSsMLlJDExBRdHHO0Ggssncw/apzMMhmLsJlwCFMSY3QaptEYs8Y/agYUBGU0KVDAkovKZVmT+/2yy2XZ7fc7fO+Zb7/9vrOHw7J/NDwzv33v7/u8z/u8z/edc7ZNmwuSaYGGhob2MBlGZHa60FC6BTBsd/guPA+boHfps50Z2f5cJ/h/Go9Be7Kfu+F7UAe9YFNZWdle0gvSEhbAyLfAe6BshNW5XEPDgpaY3xhUVmgiTrMhtDfXN/SLjwl1LZGej/WZsxzdfgk/BW1RBdthAii7/FNo7WL2a+i4DNo5WYrUs8B/meg0aVfa+0De8ORVTOJyir6HqDgVUVeMIvEJQp552pLvAOrZJcK6LHEf+yF/1WNz2NYxop60JuJHpA+CchhWw2QLkRxnjv7kO4eKRHqCsgdTUNzA38GJ0kSFx8M++BI8AUlJblwDO249LIPFKLoDY6tQURIZpxOdr4YvwFgYAh52cj2qcmL9CvgJ7GWOYNhPUp4IN0AFdAMNvQgeh2Bk616D0eDaQTTiY+AcabKSyq+kNTSqQ6GdkCUqrBd7daZmdWqmfhvt06E/ZBkprxN9yuHT8CLUQDFSR6eFcGmkawfyo+FvkDXH47Q9AkHWklkaClF6kvRaeCVRHy/+I698gYwbP12gvVBbgW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1ojuL5eEtYLXt/R+ahvJIyxb5vYHHqhh26MNsarn300xjE4Sb3xVk/V+MZo382D99vf/WtYx1k+QR//wdI5nN8YfYBUndXP9eyno1yQ1rDA/wBiQh29Gl86NAAAAABJRU5ErkJggg=="},"56d7":function(e,t,n){"use strict";n.r(t);var o=n("5530"),a=(n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("2b0e")),r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("Header"),n("div",{staticClass:"scrollbar_style"},[n("router-view")],1)],1)},i=[],s=n("199c"),c=s["a"],u=(n("7c55"),n("2877")),l=Object(u["a"])(c,r,i,!1,null,null,null),d=l.exports,f=(n("d3b7"),n("7d82"));a["default"].use(f["a"]);var h=function(){return n.e("chunk-7ef40bfa").then(n.bind(null,"4601"))},m=function(){return n.e("chunk-2838ffbd").then(n.bind(null,"4517"))},p=function(){return n.e("chunk-485d9bbe").then(n.bind(null,"e41a"))},g=function(){return n.e("chunk-e4e87226").then(n.bind(null,"f26b"))},v=[{path:"/",component:h},{path:"/dashboard",name:"dashboard",component:h},{path:"/projectManagement",name:"projectManagement",component:m},{path:"/GIS",name:"GIS",component:p},{path:"/userManagement",name:"userManagement",component:g}],w=new f["a"]({mode:"hash",base:"",routes:v}),b=w,A=n("ae8c");a["default"].use(A["a"]);var S=new A["a"].Store({state:{routerStr:"",remRatio:0,updateRemRatio:0,countryId:null,provinceId:null,cityId:null,hotelId:null,headerIdStr:null,headerUpdate:0,headerLogo:"",sideBarShow:!1,userData:{version:"0",username:"",Id:"",role:"",lastLoginTime:"2018-12-22 13:30:21",client_key:"",token:"",number:"",avatar:""},editHotelLogoShow:!1,editHotelLogoShowBg:!1,longitude:0,latitude:0},getters:{routerStr:function(e){return e.routerStr},remRatio:function(e){return e.remRatio},headerLogo:function(e){return e.headerLogo},sideBarShow:function(e){return e.sideBarShow},editHotelLogoShow:function(e){return e.editHotelLogoShow},editHotelLogoShowBg:function(e){return e.editHotelLogoShowBg},countryId:function(e){return e.countryId},provinceId:function(e){return e.provinceId},cityId:function(e){return e.cityId},hotelId:function(e){return e.hotelId},longitude:function(e){return e.longitude},latitude:function(e){return e.latitude},headerIdStr:function(e){return e.headerIdStr},headerUpdate:function(e){return e.headerUpdate},updateRemRatio:function(e){return e.updateRemRatio},version:function(e){return e.userData.version},username:function(e){return e.userData.username},id:function(e){return e.userData.id},role:function(e){return e.userData.role},lastLoginTime:function(e){return e.userData.lastLoginTime},client_key:function(e){return e.userData.client_key},token:function(e){return e.userData.token},number:function(e){return e.userData.number},avatar:function(e){return e.userData.avatar}},actions:{},mutations:{HEADERLOGO:function(e,t){e.headerLogo=t.headerLogo},EDITHOTELLOGOSHOW:function(e,t){t.editHotelLogoShow&&(e.editHotelLogoShow=t.editHotelLogoShow),t.editHotelLogoShowBg&&(e.editHotelLogoShowBg=t.editHotelLogoShowBg)},SIDEBARSHOW:function(e,t){e.sideBarShow=t.sideBarShow},USERDATAFUN:function(e,t){e.userData.version=t.version,e.userData.username=t.username,e.userData.id=t.id,e.userData.role=t.role,e.userData.lastLoginTime=t.lastLoginTime,e.userData.client_key=t.client_key,e.userData.token=t.token,e.userData.number=t.number,e.userData.avatar=t.avatar},HEADERIDFUN:function(e,t){(t.countryId||""==t.countryId)&&(e.countryId=t.countryId),(t.provinceId||""==t.provinceId)&&(e.provinceId=t.provinceId),(t.cityId||""==t.cityId)&&(e.cityId=t.cityId),(t.hotelId||""==t.hotelId)&&(e.hotelId=t.hotelId),(t.headerIdStr||""==t.headerIdStr)&&(e.headerIdStr=t.headerIdStr),t.headerUpdate&&(e.headerUpdate=t.headerUpdate)},LONLATFUN:function(e,t){e.longitude=t.longitude,e.latitude=t.latitude},UPDATEREMRATIOFUN:function(e,t){e.updateRemRatio=t.updateRemRatio},ROUTERSTRFUN:function(e,t){e.routerStr=t.routerStr},REMRATIOFUN:function(e,t){e.remRatio=t.remRatio}}}),C=n("7e37"),y=n.n(C),k=n("b705"),x=n.n(k),R=(n("3880"),n("255a")),_=n.n(R),j=n("4a42"),O=n.n(j),B=n("1e96"),E=n.n(B),I=n("fdf0"),H=n.n(I),N=n("2ec6");n("2fe8"),n("ec21"),n("ff7b"),n("b2be"),a["default"].prototype.$echarts=y.a,a["default"].use(N["a"]);var D=new N["a"]({locale:"en-US",messages:{"zh-CN":Object(o["a"])(Object(o["a"])({},H.a),O.a),"en-US":Object(o["a"])(Object(o["a"])({},E.a),_.a)}});a["default"].use(x.a,{i18n:function(e,t){return D.t(e,t)}}),a["default"].config.productionTip=!1,new a["default"]({router:b,store:S,i18n:D,render:function(e){return e(d)}}).$mount("#app")},"71c2":function(e,t,n){"use strict";var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"headers"},[n("div",{staticClass:"left_nav_btn"},[n("div",{staticClass:"nav_box"},[e._m(0),n("div",{staticClass:"nav_main"},[n("div",{staticClass:"nav_left"},[n("div",{staticClass:"nav_ul"},[e._m(1),n("div",{staticClass:"nav_li",class:{select:"/dashboard"==e.routerStr},on:{click:function(t){return e.linkToFun("/dashboard")}}},[n("i",{staticClass:"iconfont icon-daohangjiantou"}),n("span",{staticClass:"span"},[e._v("Dashboard")])]),n("div",{staticClass:"nav_li",class:{select:"/projectManagement"==e.routerStr},on:{click:function(t){return e.linkToFun("/projectManagement")}}},[n("i",{staticClass:"iconfont icon-daohangjiantou"}),n("span",{staticClass:"span"},[e._v("Project Management")])]),n("div",{staticClass:"nav_li",class:{select:"/GIS"==e.routerStr},on:{click:function(t){return e.linkToFun("GIS")}}},[n("i",{staticClass:"iconfont icon-daohangjiantou"}),n("span",{staticClass:"span"},[e._v("GIS Map")])])]),e._m(2),n("div",{staticClass:"nav_ul"},[e._m(3),n("div",{staticClass:"nav_li",class:{select:"/userManagement"==e.routerStr},on:{click:function(t){return e.linkToFun("/userManagement")}}},[n("i",{staticClass:"iconfont icon-daohangjiantou"}),n("span",{staticClass:"span"},[e._v("User Management")])]),e._m(4)])]),e._m(5)])])]),e._m(6),n("div",{staticClass:"right_btn_box"},[n("span",{staticClass:"img_box"},[n("img",{attrs:{src:e.avatar,onError:e.imgErrorSrc},on:{click:function(t){return e.linkToFun("/dashboard")}}})]),n("el-popover",{attrs:{placement:"top-start","popper-class":"btn_signOut_box",trigger:"hover"}},[n("span",{staticClass:"btn_signOut",on:{click:function(t){return e.signOutFun()}}},[e._v("Sign Out")]),n("span",{attrs:{slot:"reference"},slot:"reference"},[n("span",{staticClass:"span"},[e._v(e._s(e.username))]),n("i",{staticClass:"el-icon-caret-bottom"})])])],1)])},a=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"nav_open"},[n("i",{staticClass:"iconfont icon-zhudaohang"})])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"nav_title"},[n("span",{staticClass:"span"},[e._v("Control Deck")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"nav_ul"},[n("div",{staticClass:"nav_title"},[n("span",{staticClass:"span"},[e._v("Maintain")])]),n("div",{staticClass:"nav_li"},[n("i",{staticClass:"iconfont icon-daohangjiantou"}),n("span",{staticClass:"span"},[e._v("Alarm maintenance")])]),n("div",{staticClass:"nav_li"},[n("i",{staticClass:"iconfont icon-daohangjiantou"}),n("span",{staticClass:"span"},[e._v("Historical Data")])])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"nav_title"},[n("span",{staticClass:"span"},[e._v("Set Up")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"nav_li"},[n("i",{staticClass:"iconfont icon-daohangjiantou"}),n("span",{staticClass:"span"},[e._v("Operation Log")])])},function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"nav_right"},[o("p",{staticClass:"p1"},[e._v("Complex background")]),o("p",{staticClass:"p2"},[e._v("simple operation")]),o("div",{staticClass:"btn"},[o("span",{staticClass:"span"},[e._v("About more")])]),o("img",{staticClass:"img",attrs:{src:n("aea5")}})])},function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"center_logo"},[o("img",{attrs:{src:n("55d4")}}),o("i"),o("span",[e._v("Solar Street Light Manegament System")])])}],r=(n("ac1f"),n("1276"),n("5530")),i=n("ae8c"),s={name:"headers",data:function(){return{imgErrorSrc:""}},computed:Object(r["a"])({},Object(i["b"])({token:"token",client_key:"client_key",username:"username",version:"version",routerStr:"routerStr",avatar:"avatar"})),mounted:function(){this.imgErrorSrc='this.src="'+n("8167")+'"'},methods:{linkToFun:function(e){e!=this.routerStr&&(this.$router.push({path:e}),this.$store.commit("ROUTERSTRFUN",{routerStr:e}),document.title="IDCOL-"+e.split("/")[1])},signOutFun:function(){}},watch:{}},c=s,u=(n("fb5a"),n("2877")),l=Object(u["a"])(c,o,a,!1,null,null,null);t["a"]=l.exports},"71c3":function(e,t,n){"use strict";n("a15b"),n("d3b7"),n("ac1f"),n("25f0"),n("5319"),n("1276");var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a="",r=[256],i=[256],s=0,c={encode:function(e){var t=e.replace(/[\u0080-\u07ff]/g,(function(e){var t=e.charCodeAt(0);return String.fromCharCode(192|t>>6,128|63&t)})).replace(/[\u0800-\uffff]/g,(function(e){var t=e.charCodeAt(0);return String.fromCharCode(224|t>>12,128|t>>6&63,128|63&t)}));return t},decode:function(e){var t=e.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,(function(e){var t=(15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2);return String.fromCharCode(t)})).replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,(function(e){var t=(31&e.charCodeAt(0))<<6|63&e.charCodeAt(1);return String.fromCharCode(t)}));return t}};while(s<256){var u=String.fromCharCode(s);a+=u,i[s]=s,r[s]=o.indexOf(u),++s}function l(e,t,n,o,a,r){e=String(e);var i=0,s=0,c=e.length,u="",l=0;while(s=r){l-=r;var f=i>>l;u+=o.charAt(f),i^=f<0&&(u+=o.charAt(i<>>32-t},d=function(e,t){var n,o,a,r,i;return a=2147483648&e,r=2147483648&t,n=1073741824&e,o=1073741824&t,i=(1073741823&e)+(1073741823&t),n&o?2147483648^i^a^r:n|o?1073741824&i?3221225472^i^a^r:1073741824^i^a^r:i^a^r},f=function(e,t,n){return e&t|~e&n},h=function(e,t,n){return e&n|t&~n},m=function(e,t,n){return e^t^n},p=function(e,t,n){return t^(e|~n)},g=function(e,t,n,o,a,r,i){return e=d(e,d(d(f(t,n,o),a),i)),d(l(e,r),t)},v=function(e,t,n,o,a,r,i){return e=d(e,d(d(h(t,n,o),a),i)),d(l(e,r),t)},w=function(e,t,n,o,a,r,i){return e=d(e,d(d(m(t,n,o),a),i)),d(l(e,r),t)},b=function(e,t,n,o,a,r,i){return e=d(e,d(d(p(t,n,o),a),i)),d(l(e,r),t)},A=function(e){var t,n=e.length,o=n+8,a=(o-o%64)/64,r=16*(a+1),i=Array(r-1),s=0,c=0;while(c>>29,i},S=function(e){var t,n,o="",a="";for(n=0;n<=3;n++)t=e>>>8*n&255,a="0"+t.toString(16),o+=a.substr(a.length-2,2);return o},C=function(e){e=e.replace(/\x0d\x0a/g,"\n");for(var t="",n=0;n127&&o<2048?(t+=String.fromCharCode(o>>6|192),t+=String.fromCharCode(63&o|128)):(t+=String.fromCharCode(o>>12|224),t+=String.fromCharCode(o>>6&63|128),t+=String.fromCharCode(63&o|128))}return t},y=Array(),k=7,x=12,R=17,_=22,j=5,O=9,B=14,E=20,I=4,H=11,N=16,D=23,T=6,U=10,M=15,L=21;for(e=C(e),y=A(e),i=1732584193,s=4023233417,c=2562383102,u=271733878,t=0;t0);return e=e.join(""),!1===Plugin.raw||Plugin.utf8decode||t?c.decode(e):e}}},"7c55":function(e,t,n){"use strict";var o=n("abd2"),a=n.n(o);a.a},"7e21":function(e,t,n){"use strict";var o={home:{},common:{login:"http://120.77.179.55/api/common/login",update_file:"http://120.77.179.55/api/common/update_file"},strategy:{},device:{},history:{},alarm:{},gisMap:{},syslog:{},video:{},group:{},user:{info:"http://120.77.179.55/api/user/info",sub_list:"http://120.77.179.55/api/user/sub_list",user_update:"http://120.77.179.55/api/user/user_update",privilege_list:"http://120.77.179.55/api/user/privilege_list",data:"http://120.77.179.55/api/user/data",save_user_privilege:"http://120.77.179.55/api/user/save_user_privilege",del:"http://120.77.179.55/api/user/del",block_user:"http://120.77.179.55/api/user/block_user"},weather:{}};t["a"]=o},8167:function(e,t,n){e.exports=n.p+"img/user.9c4580fd.jpg"},"8fd4":function(e,t,n){},a417:function(e,t,n){"use strict";n("ac1f"),n("5319"),n("1276");var o=n("82ae"),a=n.n(o);t["a"]={websocket:function(e,t){var n=null;function o(){setTimeout((function(){n=null,("WebSocket"in window||"MozWebSocket"in window)&&(n=new WebSocket(e)),n.onerror=function(){o()},n.onopen=function(){n.onmessage=function(e){if(t)if(e.data)try{var o=JSON.parse(e.data);console.log(o,"=------------"),"0000"==o.code?t(o,n):(console.log(o,"=------------"),error&&error(o),1==this_.version?this_.$alert(o.msg,"System hints",{confirmButtonText:"Confirm"}):this_.$alert(o.msg,"系统提示",{confirmButtonText:"确认"})),o.data.code}catch(a){console.log(a)}else t()},window.onbeforeunload=function(){return n.close()}}}),1e3),console.log("error")}return("WebSocket"in window||"MozWebSocket"in window)&&(n=new WebSocket(e)),n.onerror=function(){o()},n.onopen=function(){n.onmessage=function(e){if(t)if(e.data)try{t(e.data,n)}catch(o){console.log(o)}else t()},window.onbeforeunload=function(){return n.close()}},n},websocket1:function(e,t,n,o){console.log(e),e="https:"==window.location.protocol?e.replace("wss","wss"):e.replace("wss","ws");var a=null;function r(){setTimeout((function(){a=null,("WebSocket"in window||"MozWebSocket"in window)&&(a=new WebSocket(e)),a.onerror=function(){r()},a.onopen=function(){a.onmessage=function(e){if(t)if(e.data)try{var r=JSON.parse(e.data);console.log(r,"=------------"),"0000"==r.code?t(r,a):(console.log(r,"=------------"),n&&n(r),1==o.version?o.$alert(r.msg,"System hints",{confirmButtonText:"Confirm"}):o.$alert(r.msg,"系统提示",{confirmButtonText:"确认"})),r.data.code}catch(i){console.log(i)}else t()},window.onbeforeunload=function(){return a.close()}}}),1e3),console.log("error")}return("WebSocket"in window||"MozWebSocket"in window)&&(a=new WebSocket(e)),a.onerror=function(){r()},a.onopen=function(){a.onmessage=function(e){if(t)if(e.data)try{var r=JSON.parse(e.data);console.log(r,"=------------"),"0000"==r.code?t(r,a):(console.log(r,"=------------"),n&&n(r),1==o.version?o.$alert(r.msg,"System hints",{confirmButtonText:"Confirm"}):o.$alert(r.msg,"系统提示",{confirmButtonText:"确认"})),r.data.code}catch(i){console.log(i)}else t()},window.onbeforeunload=function(){return a.close()}},a},ajax_get:function(e,t,n,o){t=Object.assign({version:o.version},t),a.a.get(e,{params:t}).then((function(e){var t=e.data;if(t=Object.assign({version:o.version},t),t.result){if(n)if(t.model&&JSON.stringify(t.model).length>2)try{n(t.model)}catch(a){}else n(t.model)}else o.$alert(t.message,"系统提示")}))},ajax_post:function(e,t,o,r,i,s,c){var u=n("4328");t=Object.assign({version:i.version},t),a.a.post(e,u.stringify(t),{params:o}).then((function(t){var n=t.data;if("0000"==n.code)r&&r(n,i);else if(s&&s(n,i),console.log(c),!c){var o=window.location.href.split("/")[2];"localhost:8081"==o&&(o="newtest.solar-iot.com"),e!="http://"+o+"/api/device/lampcontrol/turnonoff"&&e!="http://"+o+"/api/device/lampcontrol/load_setting"&&e!="http://"+o+"/api/device/lampcontrol/set_load"&&e!="http://"+o+"/api/device/lampcontrol/battery_setting"&&e!="http://"+o+"/api/device/lampcontrol/set_battery"&&("0001"==n.code||"0002"==n.code||"0003"==n.code||"0004"==n.code||n.code,1==i.version?i.$alert(n.msg,"System hints",{confirmButtonText:"Confirm"}):i.$alert(n.msg,"系统提示",{confirmButtonText:"确定"}))}}))},ajax_post3:function(e,t,o,r,i,s,c){var u=n("4328");t=Object.assign({version:i.version},t),a.a.post(e,u.stringify(t),{params:o}).then((function(t){var n=t.data;if("0000"==n.code)r&&r(n,i);else if(s&&s(n,i),!c){var o=window.location.href.split("/")[2];if("localhost:8081"==o&&(o="newtest.solar-iot.com"),e!="http://"+o+"/api/device/lampcontrol/turnonoff"&&e!="http://"+o+"/api/device/lampcontrol/load_setting"&&e!="http://"+o+"/api/device/lampcontrol/set_load"&&e!="http://"+o+"/api/device/lampcontrol/battery_setting"&&e!="http://"+o+"/api/device/lampcontrol/set_battery"){if("0001"==n.code||"0002"==n.code||"0003"==n.code||"0004"==n.code||"0102"==n.code){var a=window.localStorage;a.setItem("UserInformation","false"),a.setItem("loginState","false"),window.location.href="login.html"}1==i.version?i.$alert(n.msg,"System hints",{confirmButtonText:"Confirm"}):i.$alert(n.msg,"系统提示",{confirmButtonText:"确定"})}}}))},ajax_post2:function(e,t,o,r,i){var s=n("4328");t=Object.assign({version:i.version},t),a.a.post(e,s.stringify(t),{params:o}).then((function(e){var t=e.data;if(t.result){if(r)if(t.model&&JSON.stringify(t.model).length>2)try{r(t)}catch(n){}else r(t.message,i)}else i.$alert(t.message,"系统提示")}))},ajax_postAction:function(e,t,o,r,i){var s=n("4328");t=Object.assign({version:i.version},t),a.a.post(e,s.stringify(t),{params:o}).then((function(e){var t=e.data;if(t.result)try{r(t.message)}catch(n){}else i.$alert(t.message,"系统提示")}))},ajax_post1:function(e,t,n,o,r){t=Object.assign({version:r.version},t),a.a.post(e,t,{params:n}).then((function(e){var t=e.data;if(t.result){if(o)if(t.model&&JSON.stringify(t.model).length>2)try{o(t.model)}catch(n){}else o(t.message,r)}else r.$alert(t.message,"系统提示")}))},ajax_post_ws:function(e,t,o){var r=n("4328");t=Object.assign({version:o.version},t),a.a.post(e,r.stringify(t),{params:{}}).then((function(e){console.log(e)}))},ajax_weather:function(e,t,n,o){a.a.get(e,{params:t}).then((function(e){var t=e.data;console.log(t,"----------"),"ok"==t.HeWeather6[0].code?n&&n(t.HeWeather6[0]):o.$alert("获取天气信息失败","系统提示")}))}}},abd2:function(e,t,n){},aea5:function(e,t,n){e.exports=n.p+"img/nav_bg.402f2b5b.png"},fb5a:function(e,t,n){"use strict";var o=n("8fd4"),a=n.n(o);a.a},fdf0:function(e,t){e.exports={App:{login:{text1:"Welcome to inhealth!",text2:"Happiness and healthiness",text3:"Please enter your log-in name",text4:"Please enter your password",text5:"Please enter the verification code",text6:"Sign in",text7:"Retrieve password"},message:{text1:"System hints",text2:"Confirm",text3:"是否确认删除?",text4:"提示",text5:"确定",text6:"取消",text7:"已取消删除"}}}}}); //# sourceMappingURL=app.b71075e2.js.map