系统备份还原功能增加,新增设备上报节点导出功能

This commit is contained in:
DESKTOP-KOLE9JG\智恒山 2021-04-09 18:17:31 +08:00
parent 418cab1407
commit 4d0c1ce085
9 changed files with 9 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
@supports (-webkit-mask:none) and (not (cater-color:#fff)){.login-container .el-input input{color:#fff}}.login-container .el-input{display:inline-block;height:47px;width:85%}.login-container .el-input input{background:transparent;border:0;-webkit-appearance:none;border-radius:0;padding:12px 5px 12px 15px;color:#fff;height:47px;caret-color:#fff}.login-container .el-input input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #283443 inset!important;box-shadow:inset 0 0 0 1000px #283443!important;-webkit-text-fill-color:#fff!important}.login-container .el-form-item{border:1px solid hsla(0,0%,100%,.1);background:rgba(0,0,0,.1);border-radius:5px;color:#454545}.login-container[data-v-73b2acc0]{min-height:100%;width:100%;background-color:#2d3a4b;overflow:hidden}.login-container .login-form[data-v-73b2acc0]{position:relative;width:520px;max-width:100%;padding:160px 35px 0;margin:0 auto;overflow:hidden}.login-container .tips[data-v-73b2acc0]{font-size:14px;color:#fff;margin-bottom:10px}.login-container .tips span[data-v-73b2acc0]:first-of-type{margin-right:16px}.login-container .svg-container[data-v-73b2acc0]{padding:6px 5px 6px 15px;color:#889aa4;vertical-align:middle;width:30px;display:inline-block}.login-container .title-container[data-v-73b2acc0]{position:relative}.login-container .title-container .title[data-v-73b2acc0]{font-size:26px;color:#eee;margin:0 auto 40px auto;text-align:center;font-weight:700}.login-container .show-pwd[data-v-73b2acc0]{position:absolute;right:10px;top:7px;font-size:16px;color:#889aa4;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}

View File

@ -0,0 +1 @@
.layTop1{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.layTop,.layTop1{-webkit-box-sizing:initial;box-sizing:initial;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px}

View File

@ -0,0 +1 @@
.card-panel-icon[data-v-54028602]{float:left;font-size:48px;width:50%;display:block;margin-bottom:10px;color:#f4516c}.text[data-v-54028602]{font-size:14px}.item[data-v-54028602]{margin-bottom:18px;display:-webkit-box;display:-ms-flexbox;display:flex}.bottom[data-v-54028602]{margin-top:23px;line-height:25px;padding-left:10px;padding-right:10px}.custom-tree-node[data-v-54028602]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:14px;padding-right:8px}.demo-drawer__content[data-v-54028602]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;padding-left:20px;padding-right:20px;height:580px}.demo-drawer__footer[data-v-54028602]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:10px}.deviceTree[data-v-54028602]{overflow:auto;height:500px}.demo-drawer__footer button[data-v-54028602],.deviceTree[data-v-54028602]{-webkit-box-flex:1;-ms-flex:1;flex:1}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-45bcf5d5"],{2017:function(e,t,s){"use strict";var n=s("b12d"),o=s.n(n);o.a},"9ed6":function(e,t,s){"use strict";s.r(t);var n=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"login-container"},[s("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:e.loginForm,rules:e.loginRules,"auto-complete":"on","label-position":"left"}},[s("div",{staticClass:"title-container"},[s("h3",{staticClass:"title"},[e._v(" "+e._s(e.HOME_TITLE))])]),e._v(" "),s("el-form-item",{attrs:{prop:"username"}},[s("span",{staticClass:"svg-container"},[s("svg-icon",{attrs:{"icon-class":"user"}})],1),e._v(" "),s("el-input",{ref:"username",attrs:{placeholder:"Username",name:"username",type:"text",tabindex:"1","auto-complete":"on"},model:{value:e.loginForm.username,callback:function(t){e.$set(e.loginForm,"username",t)},expression:"loginForm.username"}})],1),e._v(" "),s("el-form-item",{attrs:{prop:"password"}},[s("span",{staticClass:"svg-container"},[s("svg-icon",{attrs:{"icon-class":"password"}})],1),e._v(" "),s("el-input",{key:e.passwordType,ref:"password",attrs:{type:e.passwordType,placeholder:"Password",name:"password",tabindex:"2","auto-complete":"on"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleLogin(t)}},model:{value:e.loginForm.password,callback:function(t){e.$set(e.loginForm,"password",t)},expression:"loginForm.password"}}),e._v(" "),s("span",{staticClass:"show-pwd",on:{click:e.showPwd}},[s("svg-icon",{attrs:{"icon-class":"password"===e.passwordType?"eye":"eye-open"}})],1)],1),e._v(" "),s("el-button",{staticStyle:{width:"100%","margin-bottom":"30px"},attrs:{loading:e.loading,type:"primary"},nativeOn:{click:function(t){return t.preventDefault(),e.handleLogin(t)}}},[e._v("登陆")]),e._v(" "),s("div",{staticClass:"tips"},[s("span",{staticStyle:{"margin-right":"20px"}},[e._v("用户名: admin")]),e._v(" "),s("span",[e._v(" 密码: admin")])])],1)],1)},o=[],r=s("61f7"),a={name:"Login",data:function(){var e=function(e,t,s){Object(r["c"])(t)?s():s(new Error("请输入正确的用户名"))},t=function(e,t,s){t.length<5?s(new Error("密码不可小于5个字符")):Object(r["b"])(t)?s():s(new Error("请输入正确的密码"))};return{loginForm:{username:"admin",password:"admin"},loginRules:{username:[{required:!0,trigger:"blur",validator:e}],password:[{required:!0,trigger:"blur",validator:t}]},loading:!1,passwordType:"password",redirect:void 0,OPEN_SOURCE:this.OPEN_SOURCE}},watch:{$route:{handler:function(e){this.redirect=e.query&&e.query.redirect},immediate:!0}},methods:{showPwd:function(){var e=this;"password"===this.passwordType?this.passwordType="":this.passwordType="password",this.$nextTick((function(){e.$refs.password.focus()}))},handleLogin:function(){var e=this;this.$refs.loginForm.validate((function(t){if(!t)return e.$message.error("请输入正确的用户名或者密码"),!1;e.loading=!0,e.$store.dispatch("user/login",e.loginForm).then((function(t){e.$axios.defaults.headers.common["token"]=e.$store.getters.token,e.$router.push({path:e.redirect||"/"}),e.loading=!1})).catch((function(t){console.log(t),e.loading=!1}))}))}}},i=a,l=(s("2017"),s("cc53"),s("2877")),c=Object(l["a"])(i,n,o,!1,null,"73b2acc0",null);t["default"]=c.exports},b12d:function(e,t,s){},cc53:function(e,t,s){"use strict";var n=s("d9b5"),o=s.n(n);o.a},d9b5:function(e,t,s){}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long