11.c7dd9df1daa12226d21e.js 1.9 KB

12
  1. webpackJsonp([11],{"1dIK":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=s("l/JR"),i={name:"System",data:function(){return{isAdmin:!1}},created:function(){"admin"==JSON.parse(sessionStorage.getItem("userData")).userName&&(this.isAdmin=!0)},methods:{Reboots:function(){Object(n.p)().then(function(t){console.log(t)})},goToUser:function(){this.$router.push("/SystemSet/User")},goToUsers:function(){this.$router.push("/SystemSet/Users")},goToRestart:function(){var t=this;this.$confirm("是否需要重启系统?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){t.Reboots(),t.$message({type:"success",duration:800,message:"重启成功!"})}).catch(function(){t.$message({type:"info",duration:800,message:"已取消操作"})})},goToTaskSetting:function(){this.$router.push("/SystemSet/taskSetting")}}},r={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"System"},[n("div",{on:{click:t.goToUser}},[t._m(0),t._v(" "),n("img",{attrs:{src:s("Qf5d"),alt:""}})]),t._v(" "),n("div",{on:{click:t.goToUsers}},[t._m(1),t._v(" "),n("img",{attrs:{src:s("Qf5d"),alt:""}})]),t._v(" "),n("div",{on:{click:t.goToRestart}},[t._m(2),t._v(" "),n("img",{attrs:{src:s("Qf5d"),alt:""}})])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("label",[this._v("参数"),e("br"),this._v("配置")])},function(){var t=this.$createElement,e=this._self._c||t;return e("label",[this._v("用户"),e("br"),this._v("管理")])},function(){var t=this.$createElement,e=this._self._c||t;return e("label",[this._v("系统"),e("br"),this._v("重启")])}]};var o=s("VU/8")(i,r,!1,function(t){s("Mwlq")},"data-v-2441b1ae",null);e.default=o.exports},Mwlq:function(t,e){},Qf5d:function(t,e,s){t.exports=s.p+"static/img/System4.9952cba.png"}});
  2. //# sourceMappingURL=11.c7dd9df1daa12226d21e.js.map