|
|
(window["webpackJsonp_TIS_PLATFORM"]=window["webpackJsonp_TIS_PLATFORM"]||[]).push([["SettingSys"],{1148:function(t,e,s){"use strict";var i=s("a691"),a=s("1d80");t.exports="".repeat||function(t){var e=String(a(this)),s="",n=i(t);if(n<0||n==1/0)throw RangeError("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(e+=e))1&n&&(s+=e);return s}},"408a":function(t,e,s){var i=s("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=i(t))throw TypeError("Incorrect invocation");return+t}},"70b0":function(t,e,s){"use strict";s("9f14")},"78cd":function(t,e,s){"use strict";s.d(e,"a",(function(){return n}));s("99af"),s("4de4"),s("d81d"),s("b0c0"),s("b680");var i=s("2909"),a=s("4ec3"),n={data:function(){return{isVisible:!0,menuIndex:1,radio:"1",radio_theme:localStorage.getItem("TIS_DESIGN_THEME")||"default",radio_mode:localStorage.getItem("SYS_MODE")||"0",radio_message_hint:"无",radio_message_precise:"模糊",switchMessageHint:!0,DNDmodel:!1,startTime:"",endTime:"",value1:0,value2:0,value3:0,value4:0,value5:50,value6:0,tags:[{name:"标签一",type:"",hidden:!1},{name:"标签二",type:"success",hidden:!1},{name:"标签三",type:"info",hidden:!1},{name:"标签四",type:"warning",hidden:!1},{name:"标签五",type:"danger",hidden:!1}]}},filters:{byteToMB:function(t){return(t/1024/1024).toFixed(2)}},computed:{msgForm:function(){return this.$tis.getNotificationConfig()},configComponents:function(){return[{name:"显示设置",selected:!1},{name:"消息设置",selected:!0},{name:"监控模块",selected:!1},{name:"语音设置",selected:!1}].concat(Object(i["a"])(this.$tis.getAllComponents().filter((function(t){return t.type&&"config"===t.type})).map((function(t){return t.selected=!1,t}))))},runningApps:function(){var t=this.$tis.getApps();return t.map((function(t){var e=!!t.instance,s=t.opened,i="未加载";return e&&(i=s?"运行":"隐藏"),{name:t.name,id:t.id,loadTime:t.loadTime,loaded:e,opened:s,status:i}}))},memory:function(){return window.performance.memory},isShowMode:function(){return"manager"===this.$tis.bus.userInfo.username}},created:function(){this.radio_theme=document.documentElement.getAttribute("data-theme")||"",console.log(localStorage.getItem("SYS_MODE"))},destroy:function(){console.log(122),this.radio_mode="0"},methods:{onClose:function(){this.$tis.closeWidgetSettingPanel(),console.log(this.msgForm),this.$tis.setNotificationConfig(this.msgForm)},onMenuSelect:function(t){this.menuIndex=t;var e=this.configComponents[t];e.component&&this.$tis._loadComponent(e.component).then((function(){return e.loaded=!0})).catch((function(){return e.loaded=!0}))},onTabClose:function(t){this.tags[t].hidden=!0},addTab:function(){this.tags.push({name:"标签"+this.tags.length,hidden:!1})},setMode:function(){var t=this,e=parseInt(this.radio_mode);this.$tis.initOMFrameView(e),Object(a["w"])({mode:e}).then((function(e){localStorage.setItem("SYS_MODE",t.radio_mode)}))}},watch:{radio_theme:function(){this.$tis.switchFrameTheme(this.radio_theme)}}}},"9f14":function(t,e,s){},b680:function(t,e,s){"use strict";var i=s("23e7"),a=s("a691"),n=s("408a"),o=s("1148"),l=s("d039"),r=1..toFixed,c=Math.floor,d=function(t,e,s){return 0===e?s:e%2===1?d(t,e-1,s*t):d(t*t,e/2,s)},m=function(t){var e=0,s=t;while(s>=4096)e+=12,s/=4096;while(s>=2)e+=1,s/=2;return e},u=r&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!l((function(){r.call({})}));i({target:"Number",proto:!0,forced:u},{toFixed:function(t){var e,s,i,l,r=n(this),u=a(t),v=[0,0,0,0,0,0],p="",f="0",_=function(t,e){var s=-1,i=e;while(++s<6)i+=t*v[s],v[s]=i%1e7,i=c(i/1e7)},g=function(t){var e=6,s=0;while(--e>=0)s+=v[e],v[e]=c(s/t),s=s%t*1e7},h=function(){var t=6,e="";while(--t>=0)if(""!==e||0===t||0!==v[t]){var s=String(v[t]);e=""===e?s:e+o.call("0",7-s.length)+s}return e};if(u<0||u>20)throw RangeError("Incorrect fraction digits");if(r!=r)return"NaN";if(r<=-1e21||r>=1e21)return String(r);if(r<0&&(p="-",r=-r),r>1e-21)if(e=m(r*d(2,69,1))-69,s=e<0?r*d(2,-e,1):r/d(2,e,1),s*=4503599627370496,e=52-e,e>0){_(0,s),i=u;while(i>=7)_(
|