2 lines
32 KiB
JavaScript
2 lines
32 KiB
JavaScript
|
|
(function(t){function e(e){for(var n,r,s=e[0],l=e[1],c=e[2],u=0,h=[];u<s.length;u++)r=s[u],i[r]&&h.push(i[r][0]),i[r]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(t[n]=l[n]);d&&d(e);while(h.length)h.shift()();return o.push.apply(o,c||[]),a()}function a(){for(var t,e=0;e<o.length;e++){for(var a=o[e],n=!0,s=1;s<a.length;s++){var l=a[s];0!==i[l]&&(n=!1)}n&&(o.splice(e--,1),t=r(r.s=a[0]))}return t}var n={},i={app:0},o=[];function r(e){if(n[e])return n[e].exports;var a=n[e]={i:e,l:!1,exports:{}};return t[e].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=t,r.c=n,r.d=function(t,e,a){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(a,n,function(e){return t[e]}.bind(null,n));return a},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/";var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=e,s=s.slice();for(var c=0;c<s.length;c++)e(s[c]);var d=l;o.push([0,"chunk-vendors"]),a()})({0:function(t,e,a){t.exports=a("56d7")},"034f":function(t,e,a){"use strict";var n=a("64a9"),i=a.n(n);i.a},"085b":function(t,e,a){},1:function(t,e){},2:function(t,e){},3:function(t,e){},4:function(t,e){},"56d7":function(t,e,a){"use strict";a.r(e);a("cadf"),a("551c"),a("f751"),a("097d");var n=a("2b0e"),i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"app"}},[a("router-view")],1)},o=[],r=(a("57e7"),a("28a5"),{name:"app",data:function(){return{isLogin:!1,userInfo:{nick:null,ulevel:null,uid:null,portrait:null}}},created:function(){this.$cookies.get("session")||this.$router.push("/login")},watch:{$route:"checkLogin"},mounted:function(){},methods:{getUserInfo:function(){this.$cookies.get("session")},checkLogin:function(){this.$cookies.get("session")||this.$router.push("/login")},getCookie:function(t){for(var e=t+"=",a=document.cookie.split(";"),n=0;n<a.length;n++){var i=a[n];while(" "==i.charAt(0))i=i.substring(1);if(-1!=i.indexOf(e))return i.substring(e.length,i.length)}return""}},components:{}}),s=r,l=(a("034f"),a("2877")),c=Object(l["a"])(s,i,o,!1,null,null,null),d=c.exports,u="127.0.0.1:10080",h="035c73f7-bb6b-4889-a715-d9eb2d1925cc",p="ws://"+u+"/";function m(t){return t}function f(t){return"/media"+t+"?secret="+h}var g={genApiUrl:f,genGb28181Url:m,baseMediaUrl:p,ZLServerIp:u},v=a("5c96"),b=a.n(v),y=(a("0fae"),a("8c4f")),S=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"app"}},[a("el-container",[a("el-header",[a("uiHeader")],1),a("el-main",[a("div",{staticStyle:{"background-color":"#FFFFFF","margin-bottom":"1rem",position:"relative",padding:"0.5rem","text-align":"left"}},[a("span",{staticStyle:{"font-size":"1rem","font-weight":"bold"}},[t._v("控制台")]),a("div",{staticStyle:{position:"absolute",right:"1rem",top:"0.3rem"}},[a("el-popover",{attrs:{placement:"bottom",width:"750",height:"300",trigger:"click"}},[a("div",{staticStyle:{height:"600px",overflow:"auto"}},[a("table",{staticClass:"table-c",attrs:{cellspacing:"0"}},t._l(t.serverConfig,function(e,n,i){return a("tr",[a("td",{staticStyle:{width:"18rem","text-align":"right"}},[t._v(t._s(n))]),a("td",{staticStyle:{width:"33rem","text-align":"left"}},[t._v(t._s(e))])])}),0)]),a("el-button",{attrs:{slot:"reference",type:"primary",size:"mini"},on:{click:function(e){return t.getServerConfig()}},slot:"reference"},[t._v("查看服务器配置")])],1),a("el-button",{staticStyle:{"margin-left":"1rem"},attrs:{type:"danger",size:"mini"},on:{click:function(e){return t.reStartServer()}}},[t._v("重启服务器")])],1)]),a("el-row",{attrs:{gutter:30}}
|
||
|
|
//# sourceMappingURL=app.d31a42f9.js.map
|