app.7eb0f506.js 30 KB

12
  1. (function(t){function e(e){for(var a,i,s=e[0],c=e[1],l=e[2],p=0,u=[];p<s.length;p++)i=s[p],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&u.push(r[i][0]),r[i]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(t[a]=c[a]);m&&m(e);while(u.length)u.shift()();return n.push.apply(n,l||[]),o()}function o(){for(var t,e=0;e<n.length;e++){for(var o=n[e],a=!0,i=1;i<o.length;i++){var s=o[i];0!==r[s]&&(a=!1)}a&&(n.splice(e--,1),t=c(c.s=o[0]))}return t}var a={},i={app:0},r={app:0},n=[];function s(t){return c.p+"js/"+({}[t]||t)+"."+{"chunk-6a010b72":"2cd7d577","chunk-7ef40bfa":"16e72cb6","chunk-f2a89e68":"98dc6402","chunk-04b56cd4":"34df97ae","chunk-691e64ee":"1ff22d28"}[t]+".js"}function c(e){if(a[e])return a[e].exports;var o=a[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,c),o.l=!0,o.exports}c.e=function(t){var e=[],o={"chunk-6a010b72":1,"chunk-7ef40bfa":1,"chunk-04b56cd4":1,"chunk-691e64ee":1};i[t]?e.push(i[t]):0!==i[t]&&o[t]&&e.push(i[t]=new Promise((function(e,o){for(var a="css/"+({}[t]||t)+"."+{"chunk-6a010b72":"4211d6bc","chunk-7ef40bfa":"c6dbfddd","chunk-f2a89e68":"31d6cfe0","chunk-04b56cd4":"419bdf9f","chunk-691e64ee":"8b32b1f0"}[t]+".css",r=c.p+a,n=document.getElementsByTagName("link"),s=0;s<n.length;s++){var l=n[s],p=l.getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(p===a||p===r))return e()}var u=document.getElementsByTagName("style");for(s=0;s<u.length;s++){l=u[s],p=l.getAttribute("data-href");if(p===a||p===r)return e()}var m=document.createElement("link");m.rel="stylesheet",m.type="text/css",m.onload=e,m.onerror=function(e){var a=e&&e.target&&e.target.src||r,n=new Error("Loading CSS chunk "+t+" failed.\n("+a+")");n.code="CSS_CHUNK_LOAD_FAILED",n.request=a,delete i[t],m.parentNode.removeChild(m),o(n)},m.href=r;var d=document.getElementsByTagName("head")[0];d.appendChild(m)})).then((function(){i[t]=0})));var a=r[t];if(0!==a)if(a)e.push(a[2]);else{var n=new Promise((function(e,o){a=r[t]=[e,o]}));e.push(a[2]=n);var l,p=document.createElement("script");p.charset="utf-8",p.timeout=120,c.nc&&p.setAttribute("nonce",c.nc),p.src=s(t);var u=new Error;l=function(e){p.onerror=p.onload=null,clearTimeout(m);var o=r[t];if(0!==o){if(o){var a=e&&("load"===e.type?"missing":e.type),i=e&&e.target&&e.target.src;u.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",u.name="ChunkLoadError",u.type=a,u.request=i,o[1](u)}r[t]=void 0}};var m=setTimeout((function(){l({type:"timeout",target:p})}),12e4);p.onerror=p.onload=l,document.head.appendChild(p)}return Promise.all(e)},c.m=t,c.c=a,c.d=function(t,e,o){c.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},c.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},c.t=function(t,e){if(1&e&&(t=c(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(c.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)c.d(o,a,function(e){return t[e]}.bind(null,a));return o},c.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return c.d(e,"a",e),e},c.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},c.p="",c.oe=function(t){throw console.error(t),t};var l=window["webpackJsonp"]=window["webpackJsonp"]||[],p=l.push.bind(l);l.push=e,l=l.slice();for(var u=0;u<l.length;u++)e(l[u]);var m=p;n.push([0,"chunk-vendors"]),o()})({0:function(t,e,o){t.exports=o("56d7")},"199c":function(t,e,o){"use strict";(function(t){o("a15b"),o("a9e3"),o("d3b7"),o("4d63"),o("ac1f"),o("25f0"),o("5319"),o("1276");var a=o("5530"),i=o("71c2"),r=o("ae8c"),n=o("7e21");Number.prototype.formatNumberRgx=function(){var t=this.toString().split(".");return t[0]=t[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),t.join(".")},e["a"]={name:"App",computed:Object(a["a"])({},Object(r["b"])({token:"token",client_key:"client_key",username:"username",version:"version",routerStr:"routerStr",avatar:"avatar"})),components:{Header:i["a"]},created:function(){var t=this,e=window.location.href.split("/"),o=e[e.length-1];this.$store.commit("ROUTERSTRFUN",{routerStr:"/"+o}),document.title="inHealth-"+o,this.$router.beforeEach((function(e,o,a){"/login"==e.path||"/retrievePassword"==e.path?t.headersShow=!1:t.headersShow=!0,console.log(t.headersShow),t.$store.commit("ROUTERSTRFUN",{routerStr:e.path}),a()}))},mounted:function(){var e=this,o=document.body.offsetWidth;o>=1920?(t("html").css({"font-size":"95.01%"}),this.$store.commit("REMRATIOFUN",{remRatio:15.2016})):(t("html").css({"font-size":62.5*o/1200+"%"}),this.$store.commit("REMRATIOFUN",{remRatio:62.5*o/1200/100*16})),window.onresize=function(){o=document.body.offsetWidth,o>=1920?(t("html").css({"font-size":"95.01%"}),e.$store.commit("REMRATIOFUN",{remRatio:15.2016})):(t("html").css({"font-size":62.5*o/1200+"%"}),e.$store.commit("REMRATIOFUN",{remRatio:62.5*o/1200/100*16})),e.$store.commit("UPDATEREMRATIOFUN",{updateRemRatio:e.updateRemRatio+1})};var a=window.location.href.split("/")[2],i=document.location.protocol,r=new RegExp("https:");for(var s in"localhost:8080"==a||"127.0.0.1:8080"==a?(a="new.solar-iot.com",this.webType=2,i="http:"):"solar.iotena.com"==a?a="new.solar-iot.com":"www.gammausa.solar-iot.com"==a?this.webType=2:"www.solar.flyingsmart.net"==a&&(this.webType=1),n["a"])for(var c in n["a"][s])n["a"][s][c]="websocket"==s?n["a"][s][c].replace(new RegExp("ws:"),subStrW):n["a"][s][c].replace(r,i);var l=new RegExp("newtest.solar-iot.com");for(var p in n["a"])for(var u in n["a"][p])n["a"][p][u]=n["a"][p][u].replace(l,a)}}}).call(this,o("a336"))},"1e96":function(t,e){t.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(t,e){t.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+kNTSqQ6GdkCUq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5tI+6uR9DWbBZZ8rud0+49sbR3KboYYMn5MQHokGerJ4er7OPfY2ZvpVo9Hbk/f7BaxQOsZw6Y78e4WY9PGOkY1XaMRotL9F46zW4V1ojuL5eEtYLXt/R+ahvJIyxb5vYHHqhh26MNsarn300xjE4Sb3xVk/V+MZo382D99vf/WtYx1k+QR//wdI5nN8YfYBUndXP9eyno1yQ1rDA/wBiQh29Gl86NAAAAABJRU5ErkJggg=="},"56d7":function(t,e,o){"use strict";o.r(e);var a=o("5530"),i=(o("e260"),o("e6cf"),o("cca6"),o("a79d"),o("2b0e")),r=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{attrs:{id:"app"}},[o("Header"),o("div",{staticClass:"scrollbar_style"},[o("router-view")],1)],1)},n=[],s=o("199c"),c=s["a"],l=(o("7c55"),o("2877")),p=Object(l["a"])(c,r,n,!1,null,null,null),u=p.exports,m=(o("d3b7"),o("7d82"));i["default"].use(m["a"]);var d=function(){return o.e("chunk-7ef40bfa").then(o.bind(null,"4601"))},h=function(){return Promise.all([o.e("chunk-f2a89e68"),o.e("chunk-691e64ee")]).then(o.bind(null,"4517"))},f=function(){return Promise.all([o.e("chunk-f2a89e68"),o.e("chunk-04b56cd4")]).then(o.bind(null,"e41a"))},w=function(){return o.e("chunk-6a010b72").then(o.bind(null,"e1e4"))},v=[{path:"/",component:d},{path:"/dashboard",name:"dashboard",component:d},{path:"/projectManagement",name:"projectManagement",component:h},{path:"/GIS",name:"GIS",component:f},{path:"/userRights",name:"userRights",component:w}],g=new m["a"]({mode:"hash",base:"",routes:v}),y=g,_=o("ae8c");i["default"].use(_["a"]);var b=new _["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(t){return t.routerStr},remRatio:function(t){return t.remRatio},headerLogo:function(t){return t.headerLogo},sideBarShow:function(t){return t.sideBarShow},editHotelLogoShow:function(t){return t.editHotelLogoShow},editHotelLogoShowBg:function(t){return t.editHotelLogoShowBg},countryId:function(t){return t.countryId},provinceId:function(t){return t.provinceId},cityId:function(t){return t.cityId},hotelId:function(t){return t.hotelId},longitude:function(t){return t.longitude},latitude:function(t){return t.latitude},headerIdStr:function(t){return t.headerIdStr},headerUpdate:function(t){return t.headerUpdate},updateRemRatio:function(t){return t.updateRemRatio},version:function(t){return t.userData.version},username:function(t){return t.userData.username},id:function(t){return t.userData.id},role:function(t){return t.userData.role},lastLoginTime:function(t){return t.userData.lastLoginTime},client_key:function(t){return t.userData.client_key},token:function(t){return t.userData.token},number:function(t){return t.userData.number},avatar:function(t){return t.userData.avatar}},actions:{},mutations:{HEADERLOGO:function(t,e){t.headerLogo=e.headerLogo},EDITHOTELLOGOSHOW:function(t,e){e.editHotelLogoShow&&(t.editHotelLogoShow=e.editHotelLogoShow),e.editHotelLogoShowBg&&(t.editHotelLogoShowBg=e.editHotelLogoShowBg)},SIDEBARSHOW:function(t,e){t.sideBarShow=e.sideBarShow},USERDATAFUN:function(t,e){t.userData.version=e.version,t.userData.username=e.username,t.userData.id=e.id,t.userData.role=e.role,t.userData.lastLoginTime=e.lastLoginTime,t.userData.client_key=e.client_key,t.userData.token=e.token,t.userData.number=e.number,t.userData.avatar=e.avatar},HEADERIDFUN:function(t,e){(e.countryId||""==e.countryId)&&(t.countryId=e.countryId),(e.provinceId||""==e.provinceId)&&(t.provinceId=e.provinceId),(e.cityId||""==e.cityId)&&(t.cityId=e.cityId),(e.hotelId||""==e.hotelId)&&(t.hotelId=e.hotelId),(e.headerIdStr||""==e.headerIdStr)&&(t.headerIdStr=e.headerIdStr),e.headerUpdate&&(t.headerUpdate=e.headerUpdate)},LONLATFUN:function(t,e){t.longitude=e.longitude,t.latitude=e.latitude},UPDATEREMRATIOFUN:function(t,e){t.updateRemRatio=e.updateRemRatio},ROUTERSTRFUN:function(t,e){t.routerStr=e.routerStr},REMRATIOFUN:function(t,e){t.remRatio=e.remRatio}}}),A=o("7e37"),S=o.n(A),k=o("b705"),C=o.n(k),R=(o("3880"),o("255a")),L=o.n(R),j=o("4a42"),D=o.n(j),I=o("1e96"),x=o.n(I),E=o("fdf0"),U=o.n(E),H=o("2ec6");o("2fe8"),o("ec21"),o("ff7b"),o("b2be"),i["default"].prototype.$echarts=S.a,i["default"].use(H["a"]);var B=new H["a"]({locale:"en-US",messages:{"zh-CN":Object(a["a"])(Object(a["a"])({},U.a),D.a),"en-US":Object(a["a"])(Object(a["a"])({},x.a),L.a)}});i["default"].use(C.a,{i18n:function(t,e){return B.t(t,e)}}),i["default"].config.productionTip=!1,new i["default"]({router:y,store:b,i18n:B,render:function(t){return t(u)}}).$mount("#app")},"71c2":function(t,e,o){"use strict";var a=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"headers"},[o("div",{staticClass:"left_nav_btn"},[o("div",{staticClass:"nav_box"},[t._m(0),o("div",{staticClass:"nav_main"},[o("div",{staticClass:"nav_left"},[o("div",{staticClass:"nav_ul"},[t._m(1),o("div",{staticClass:"nav_li",class:{select:"/dashboard"==t.routerStr},on:{click:function(e){return t.linkToFun("/dashboard")}}},[o("i",{staticClass:"iconfont icon-daohangjiantou"}),o("span",{staticClass:"span"},[t._v("Dashboard")])]),o("div",{staticClass:"nav_li",class:{select:"/projectManagement"==t.routerStr},on:{click:function(e){return t.linkToFun("/projectManagement")}}},[o("i",{staticClass:"iconfont icon-daohangjiantou"}),o("span",{staticClass:"span"},[t._v("Project Management")])]),o("div",{staticClass:"nav_li",class:{select:"/GIS"==t.routerStr},on:{click:function(e){return t.linkToFun("GIS")}}},[o("i",{staticClass:"iconfont icon-daohangjiantou"}),o("span",{staticClass:"span"},[t._v("GIS Map")])])]),t._m(2),o("div",{staticClass:"nav_ul"},[t._m(3),o("div",{staticClass:"nav_li",class:{select:"/userRights"==t.routerStr},on:{click:function(e){return t.linkToFun("/userRights")}}},[o("i",{staticClass:"iconfont icon-daohangjiantou"}),o("span",{staticClass:"span"},[t._v("User rights")])]),t._m(4),t._m(5)])]),t._m(6)])])]),t._m(7),o("div",{staticClass:"right_btn_box"},[o("span",{staticClass:"img_box"},[o("img",{attrs:{src:t.avatar,onError:t.imgErrorSrc},on:{click:function(e){return t.linkToFun("/dashboard")}}})]),o("el-popover",{attrs:{placement:"top-start","popper-class":"btn_signOut_box",trigger:"hover"}},[o("span",{staticClass:"btn_signOut",on:{click:function(e){return t.signOutFun()}}},[t._v("Sign Out")]),o("span",{attrs:{slot:"reference"},slot:"reference"},[o("span",{staticClass:"span"},[t._v("Eunice Gomez")]),o("i",{staticClass:"el-icon-caret-bottom"})])])],1)])},i=[function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"nav_open"},[o("i",{staticClass:"iconfont icon-zhudaohang"})])},function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"nav_title"},[o("span",{staticClass:"span"},[t._v("Control Deck")])])},function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"nav_ul"},[o("div",{staticClass:"nav_title"},[o("span",{staticClass:"span"},[t._v("Maintain")])]),o("div",{staticClass:"nav_li"},[o("i",{staticClass:"iconfont icon-daohangjiantou"}),o("span",{staticClass:"span"},[t._v("Alarm maintenance")])]),o("div",{staticClass:"nav_li"},[o("i",{staticClass:"iconfont icon-daohangjiantou"}),o("span",{staticClass:"span"},[t._v("Historical Data")])])])},function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"nav_title"},[o("span",{staticClass:"span"},[t._v("Set Up")])])},function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"nav_li"},[o("i",{staticClass:"iconfont icon-daohangjiantou"}),o("span",{staticClass:"span"},[t._v("User Management")])])},function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"nav_li"},[o("i",{staticClass:"iconfont icon-daohangjiantou"}),o("span",{staticClass:"span"},[t._v("Operation Log")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"nav_right"},[a("p",{staticClass:"p1"},[t._v("Complex background")]),a("p",{staticClass:"p2"},[t._v("simple operation")]),a("div",{staticClass:"btn"},[a("span",{staticClass:"span"},[t._v("About more")])]),a("img",{staticClass:"img",attrs:{src:o("aea5")}})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"center_logo"},[a("img",{attrs:{src:o("55d4")}}),a("i"),a("span",[t._v("Solar Street Light Manegament System")])])}],r=(o("ac1f"),o("1276"),o("5530")),n=o("ae8c"),s={name:"headers",data:function(){return{imgErrorSrc:""}},computed:Object(r["a"])({},Object(n["b"])({token:"token",client_key:"client_key",username:"username",version:"version",routerStr:"routerStr",avatar:"avatar"})),mounted:function(){this.imgErrorSrc='this.src="'+o("8167")+'"'},methods:{linkToFun:function(t){t!=this.routerStr&&(this.$router.push({path:t}),this.$store.commit("ROUTERSTRFUN",{routerStr:t}),document.title="IDCOL-"+t.split("/")[1])},signOutFun:function(){}},watch:{}},c=s,l=(o("fb5a"),o("2877")),p=Object(l["a"])(c,a,i,!1,null,null,null);e["a"]=p.exports},"7c55":function(t,e,o){"use strict";var a=o("abd2"),i=o.n(a);i.a},"7e21":function(t,e,o){"use strict";var a={home:{homeData:"http://newtest.solar-iot.com/api/home/data",projectGet:"http://newtest.solar-iot.com/api/device/project/get",companyList:"http://newtest.solar-iot.com/api/home/company_list",homeWeb_info:"http://newtest.solar-iot.com/api/home/web_info",logout:"http://newtest.solar-iot.com/api/home/logout",wss:"wss://newtest.solar-iot.com/wss"},strategy:{save:"http://newtest.solar-iot.com/api/policy/save",getlist:"http://newtest.solar-iot.com/api/policy/getlist",policy_detail:"http://newtest.solar-iot.com/api/policy/policy_detail",del_policy:"http://newtest.solar-iot.com/api/policy/del_policy",policy_nav:"http://newtest.solar-iot.com/api/policy/policy_nav",set_policy:"http://newtest.solar-iot.com/api/policy/set_policy",sublist:"http://newtest.solar-iot.com/api/policy/sublist",addSubPolicy:"http://newtest.solar-iot.com/api/policy/addSubPolicy",updateSubPolicy:"http://newtest.solar-iot.com/api/policy/updateSubPolicy",delPolicy:"http://newtest.solar-iot.com/api/policy/delPolicy",getPolicyLoadInfo:"http://newtest.solar-iot.com/api/policy/getPolicyLoadInfo",setPolicyLoadInfo:"http://newtest.solar-iot.com/api/policy/setPolicyLoadInfo",getPolicyOutLoadInfo:"http://newtest.solar-iot.com/api/policy/getPolicyOutLoadInfo",setPolicyOutLoadInfo:"http://newtest.solar-iot.com/api/policy/setPolicyOutLoadInfo"},device:{getCountry:"http://newtest.solar-iot.com/api/common/get_country",getProvince:"http://newtest.solar-iot.com/api/common/get_province",getCity:"http://newtest.solar-iot.com/api/common/get_city",getArea:"http://newtest.solar-iot.com/api/common/get_area",projectGet_pram_data:"http://newtest.solar-iot.com/api/device/project/get_pram_data",projectData:"http://newtest.solar-iot.com/api/device/project/data",projectDetail:"http://newtest.solar-iot.com/api/device/project/detail",projectNav:"http://newtest.solar-iot.com/api/device/project/nav",projectSave:"http://newtest.solar-iot.com/api/device/project/save",lampcontrolGet:"http://newtest.solar-iot.com/api/device/lampcontrol/get",commonFields:"http://newtest.solar-iot.com/api/home/fields",projectDel:"http://newtest.solar-iot.com/api/device/project/del",lampcontrolHistorylist:"http://newtest.solar-iot.com/api/device/lampcontrol/historylist",networkDetail:"http://newtest.solar-iot.com/api/device/network/detail",networkSave:"http://newtest.solar-iot.com/api/device/network/save",networkDel:"http://newtest.solar-iot.com/api/device/network/del",lampcontrolSave:"http://newtest.solar-iot.com/api/device/lampcontrol/save",lampcontrolTurnonoff:"http://newtest.solar-iot.com/api/device/lampcontrol/turnonoff",lampcontrolDel:"http://newtest.solar-iot.com/api/device/lampcontrol/del",lampcontrolViewloglist:"http://newtest.solar-iot.com/api/device/lampcontrol/viewloglist",lampcontrolUpdate:"http://newtest.solar-iot.com/api/device/lampcontrol/update",workmode:"http://newtest.solar-iot.com/api/common/workmode",loadSetting:"http://newtest.solar-iot.com/api/device/lampcontrol/load_setting",modbusGetLoad:"http://newtest.solar-iot.com/api/device/lampcontrol/modbus_get_load",setLoad:"http://newtest.solar-iot.com/api/device/lampcontrol/set_load",modbusSetLoad:"http://newtest.solar-iot.com/api/device/lampcontrol/modbus_set_load",projectSetPramData:"http://newtest.solar-iot.com/api/device/project/set_pram_data",batterySetting:"http://newtest.solar-iot.com/api/device/lampcontrol/battery_setting",modbusGetBattery:"http://newtest.solar-iot.com/api/device/lampcontrol/modbus_get_battery",setBattery:"http://newtest.solar-iot.com/api/device/lampcontrol/set_battery",modbusSetBattery:"http://newtest.solar-iot.com/api/device/lampcontrol/modbus_set_battery",lampcontrolGetData:"http://newtest.solar-iot.com/api/device/lampcontrol/get_data",modbusGetData:"http://newtest.solar-iot.com/api/device/lampcontrol/modbus_get_data",zoneList:"http://newtest.solar-iot.com/api/home/zone_list",timezoneList:"http://newtest.solar-iot.com/api/home/timezone_list",lampcontrolBatchInput:"http://newtest.solar-iot.com/api/device/lampcontrol/batchInput",excelModel:"http://newtest.solar-iot.com/api//file/ExcelModel/路灯信息模版.xls",excelModelEN:"http://newtest.solar-iot.com/api//file/ExcelModel/lamp_model.xls",lampHistoryData:"http://newtest.solar-iot.com/api/device/lampcontrol/lamp_history_data",getLampList:"http://newtest.solar-iot.com/api/home/lamp_list",upgrade:"http://newtest.solar-iot.com/api/device/project/upgrade"},history:{reportHome:"http://newtest.solar-iot.com/api/report/home",reportData:"http://newtest.solar-iot.com/api/report/data"},alarm:{setPatrolCmd:"http://newtest.solar-iot.com/api/device/lampcontrol/set_patrol_cmd",alarmGet:"http://newtest.solar-iot.com/api/alarm/get",alarmSet:"http://newtest.solar-iot.com/api/alarm/set",patrol_list:"http://newtest.solar-iot.com/api/alarm/patrol_list",repairUser:"http://newtest.solar-iot.com/api/repair/repair_user",nearRepairList:"http://newtest.solar-iot.com/api/repair/near_repair_list",repairUserList:"http://newtest.solar-iot.com/api/repair/repair_user_list",userInfo:"http://newtest.solar-iot.com/api/repair/user_info",saveRepairUser:"http://newtest.solar-iot.com/api/repair/save_repair_user",delRepairUser:"http://newtest.solar-iot.com/api/repair/del_repair_user",alarmRepairInfo:"http://newtest.solar-iot.com/api/alarm/repair_info",repairList:"http://newtest.solar-iot.com/api/repair/repair_list",saveRepairInfo:"http://newtest.solar-iot.com/api/repair/save_repair_info",repairInfo:"http://newtest.solar-iot.com/api/repair/repair_info",delRepairInfo:"http://newtest.solar-iot.com/api/repair/del_repair_info",alarmDel:"http://newtest.solar-iot.com/api/alarm/del",networkGet:"http://newtest.solar-iot.com/api/device/network/get",networkSectionList:"http://newtest.solar-iot.com/api/device/network/network_section_list",lampList:"http://newtest.solar-iot.com/api/home/lamp_list",userList:"http://newtest.solar-iot.com/api/repair/user_list",alarmTypeList:"http://newtest.solar-iot.com/api/home/alarm_type_list",patrolPost:"http://newtest.solar-iot.com/api/device/project/patrol"},gisMap:{mapGet:"http://newtest.solar-iot.com/api/map/get",lampInfo:"http://newtest.solar-iot.com/api/map/lamp_info",turnonoff:"http://newtest.solar-iot.com/api/map/turnonoff",projectInfo:"http://newtest.solar-iot.com/api/map/project_info",projectListUrl:"http://newtest.solar-iot.com/api/map/project_list",monitorInfo:"http://newtest.solar-iot.com/api/map/monitor_info",lampcontrolDimming:"http://newtest.solar-iot.com/api/device/lampcontrol/dimming",dataList:"http://newtest.solar-iot.com/api/map/data_list",faultInfo:"http://newtest.solar-iot.com/api/map/fault_info",grouplist:"http://newtest.solar-iot.com/api/policy/grouplist",policyGroupset:"http://newtest.solar-iot.com/api/policy/groupset",policyGroupinfo:"http://newtest.solar-iot.com/api/policy/groupinfo",repairDispatch:"http://newtest.solar-iot.com/api/repair/repair_dispatch",getProjectCompany:"http://newtest.solar-iot.com/api/device/data/get_project_company",getLngLat:"http://newtest.solar-iot.com/api/home/get_lng_lat",changeLocation:"http://newtest.solar-iot.com/api/device/lampcontrol/change_location",lampList:"http://newtest.solar-iot.com/api/map/lamp_list",videoList:"http://newtest.solar-iot.com/api/map/video_list",dateNav:"http://newtest.solar-iot.com/api/map/date_nav",lampData:"http://newtest.solar-iot.com/api/map/lamp_data",sectionData:"http://newtest.solar-iot.com/api/map/section_data",projectData:"http://newtest.solar-iot.com/api/map/project_data",section_nav:"http://newtest.solar-iot.com/api/map/section_nav",alarmData:"http://newtest.solar-iot.com/api/map/alarm_data",changeDirection:"http://newtest.solar-iot.com/api/map/change_direction"},syslog:{getList:"http://newtest.solar-iot.com/api/syslog/get_list"},video:{getlist:"http://newtest.solar-iot.com/api/video/getlist",videoInfo:"http://newtest.solar-iot.com/api/video/video_info",videoPlay:"http://newtest.solar-iot.com/api/video/video_play",videoUpdate:"http://newtest.solar-iot.com/api/video/update",videoDelete:"http://newtest.solar-iot.com/api/video/del",starVideoControl:"http://newtest.solar-iot.com/api/video/yun_start",stopVideoControl:"http://newtest.solar-iot.com/api/video/yun_end"},group:{getGrouplist:"http://newtest.solar-iot.com/api/policy/get_grouplist",groupinfo:"http://newtest.solar-iot.com/api/policy/groupinfo",lampList:"http://newtest.solar-iot.com/api/policy/lamp_list",groupsave:"http://newtest.solar-iot.com/api/policy/groupsave",groupDel:"http://newtest.solar-iot.com/api/policy/del_group",lampdel:"http://newtest.solar-iot.com/api/policy/lampdel",getlist:"http://newtest.solar-iot.com/api/policy/getlist",policySave:"http://newtest.solar-iot.com/api/policy/save",policyDetail:"http://newtest.solar-iot.com/api/policy/policy_detail",delPolicy:"http://newtest.solar-iot.com/api/policy/del_policy"},user:{userInfo:"http://newtest.solar-iot.com/api/user/info",updateUserInfo:"http://newtest.solar-iot.com/api/user/update_user_info",userPassword:"http://newtest.solar-iot.com/api/user/password",userCompanyList:"http://newtest.solar-iot.com/api/user/company_list",subList:"http://newtest.solar-iot.com/api/user/sub_list",zoneList:"http://newtest.solar-iot.com/api/user/zone_list",privilegeList:"http://newtest.solar-iot.com/api/user/privilege_list",saveUserPrivilege:"http://newtest.solar-iot.com/api/user/save_user_privilege",userUpdate:"http://newtest.solar-iot.com/api/user/user_update",feedback:"http://newtest.solar-iot.com/api/user/feedback",about:"http://newtest.solar-iot.com/api/user/about",userUser_info:"http://newtest.solar-iot.com/api/user/user_info",saveZone:"http://newtest.solar-iot.com/api/user/save_zone",getZoneList:"http://newtest.solar-iot.com/api/user/get_zone_list",getPorjectList:"http://newtest.solar-iot.com/api/user/get_porject_list",saveUserProject:"http://newtest.solar-iot.com/api/user/save_user_project",companySave:"http://newtest.solar-iot.com/api/company/save",companyDel:"http://newtest.solar-iot.com/api/company/del",companyInfo:"http://newtest.solar-iot.com/api/company/info",blockUser:"http://newtest.solar-iot.com/api/user/block_user",delZone:"http://newtest.solar-iot.com/api/user/del_zone",addWebLogo:"http://newtest.solar-iot.com/api/user/add_web_logo"},weather:{getList:"http://newtest.solar-iot.com/api/weather/getlist",update:"http://newtest.solar-iot.com/api/weather/update",info:"http://newtest.solar-iot.com/api/weather/info",del:"http://newtest.solar-iot.com/api/weather/del",dataList:"http://newtest.solar-iot.com/api/weather/data_list",dataCom:"http://newtest.solar-iot.com/api/weather/data_com"}};e["a"]=a},8167:function(t,e,o){t.exports=o.p+"img/user.9c4580fd.jpg"},"8fd4":function(t,e,o){},abd2:function(t,e,o){},aea5:function(t,e,o){t.exports=o.p+"img/nav_bg.402f2b5b.png"},fb5a:function(t,e,o){"use strict";var a=o("8fd4"),i=o.n(a);i.a},fdf0:function(t,e){t.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:"已取消删除"}}}}});
  2. //# sourceMappingURL=app.7eb0f506.js.map