(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-00d95915"],{"09a0":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"index"}},[r("keep-alive",[r("router-view")],1)],1)},o=[],i=(r("bc4a"),r("e967"),r("379d"),r("82ae")),a=r("fed1"),l={data:function(){return{}},mounted:function(){this.getCurVersion()},methods:{getCurVersion:function(){var e=this;function t(){if("undefined"==typeof plus)return!1;plus.runtime.getProperty(plus.runtime.appid,(function(t){localStorage.version=t.version,e.curVersion=t.version})),plus.device.getInfo({success:function(t){var r=JSON.stringify(t.uuid).toString().substr(1);if(r=r.substring(0,r.length-1),localStorage.eqSn=r,console.log("===== uuid =====:"+r),console.log("getDeviceInfo success: "+JSON.stringify(t.uuid)),"8e501b0bde9ce600"==r){if("test"==runVersion)return console.log("test版本暂时关闭本地升级"),!1;var n="http://192.168.0.3:19096/v1/Sensors/VCAppQueryVueFramework",o={},l=a.stringify(o);i.post(n,l).then((function(t){var r=t.data;if(0==r.Code){if(localStorage.version!=r.VueFramework.Version){console.log(332);var n="http://192.168.0.3:19096/v1/Sensors/VCAppDownloadVueFramework";e.downWgt(n)}}else console.log(r.Memo)}),(function(e){console.info(e)}))}else{if(console.log(223),"test"==runVersion)return console.log("测试版禁用自动升级"),!1;e.checkUpdate()}},fail:function(e){console.log("getDeviceInfo failed: "+JSON.stringify(e))}})}localStorage.eqSn="30:9C:23:0C:8B:1E",localStorage.version="1.1.0",window.plus?t():(console.log("mui is not ready"),document.addEventListener("plusready",t,!1))},checkUpdate:function(){var e={},t=a.stringify(e),r=(this.$createElement,"http://cal.beswell.com:85/v1/Sensors/VCAppQueryVueFramework");i.post(r,t).then((function(e){var t=e.data;if(0==t.Code&&(console.log("localStorage.version"+localStorage.version),localStorage.version!=t.VueFramework.Version)){var r="http://cal.beswell.com:85/v1/Sensors/VCAppDownloadVueFramework";this.downWgt(r)}}))},downWgt:function(e){var t=this;plus.downloader.createDownload(e,{filename:"_doc/update/"},(function(e,r){200==r?(console.log(e),console.log("下载wgt成功:"+e.filename),t.installWgt(e.filename)):console.log("下载wgt失败!"),plus.nativeUI.closeWaiting()})).start()},installWgt:function(e){plus.runtime.install(e,{},(function(){plus.nativeUI.closeWaiting(),console.log("安装wgt文件成功!"),plus.runtime.restart()}),(function(e){plus.nativeUI.closeWaiting(),console.log("安装wgt文件失败["+e.code+"]:"+e.message)}))}}},c=l,s=(r("5982"),r("5d22")),u=Object(s["a"])(c,n,o,!1,null,null,null);t["default"]=u.exports},"20d0":function(e,t,r){"use strict";var n=r("7b05"),o=r("aaf3"),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,s=function(e,t){c.apply(e,l(t)?t:[t])},u=Date.prototype.toISOString,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,formatter:o.formatters[o["default"]],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(t,r,o,i,a,c,u,p,d,y,g,m,h){var v=t;if("function"===typeof u?v=u(r,v):v instanceof Date?v=y(v):"comma"===o&&l(v)&&(v=v.join(",")),null===v){if(i)return c&&!m?c(r,f.encoder,h):r;v=""}if("string"===typeof v||"number"===typeof v||"boolean"===typeof v||n.isBuffer(v)){if(c){var b=m?r:c(r,f.encoder,h);return[g(b)+"="+g(c(v,f.encoder,h))]}return[g(r)+"="+g(String(v))]}var w,O=[];if("undefined"===typeof v)return O;if(l(u))w=u;else{var j=Object.keys(v);w=p?j.sort(p):j}for(var S=0;S0?h+m:""}},"40d2":function(e,t,r){},5982:function(e,t,r){"use strict";r("40d2")},"7b05":function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e){while(e.length>1){var t=e.pop(),r=t.obj[t.prop];if(o(r)){for(var n=[],i=0;i=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122?o+=n.charAt(a):l<128?o+=i[l]:l<2048?o+=i[192|l>>6]+i[128|63&l]:l<55296||l>=57344?o+=i[224|l>>12]+i[128|l>>6&63]+i[128|63&l]:(a+=1,l=65536+((1023&l)<<10|1023&n.charCodeAt(a)),o+=i[240|l>>18]+i[128|l>>12&63]+i[128|l>>6&63]+i[128|63&l])}return o},p=function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n-1&&(m=m.split(",")),o.call(s,g)?s[g]=n.combine(s[g],m):s[g]=m}return s},u=function(e,t,r){for(var n=t,o=e.length-1;o>=0;--o){var i,a=e[o];if("[]"===a&&r.parseArrays)i=[].concat(n);else{i=r.plainObjects?Object.create(null):{};var l="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,c=parseInt(l,10);r.parseArrays||""!==l?!isNaN(c)&&a!==l&&String(c)===l&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(i=[],i[c]=n):i[l]=n:i={0:n}}n=i}return n},f=function(e,t,r){if(e){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,l=i.exec(n),c=l?n.slice(0,l.index):n,s=[];if(c){if(!r.plainObjects&&o.call(Object.prototype,c)&&!r.allowPrototypes)return;s.push(c)}var f=0;while(null!==(l=a.exec(n))&&f