parent
19372285a7
commit
ea9044a8a1
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,2 @@
|
||||||
|
User-agent: *
|
||||||
|
Disallow:
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
||||||
.ya-file[data-v-3a500afa]{text-align:center;border:1px solid #dcdfe6}.ya-file-name[data-v-3a500afa]{display:block;height:24px;line-height:24px;padding:0 4px;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ya-file-link[data-v-3a500afa]{margin-right:6px}
|
|
|
@ -0,0 +1 @@
|
||||||
|
.yyl-top[data-v-4b430c5a]{margin-top:2vh}.yyl-center[data-v-4b430c5a]{text-align:center}
|
|
@ -1 +1 @@
|
||||||
.custom-tree-node[data-v-6c5b7948]{-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}
|
.custom-tree-node[data-v-eb871000]{-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}
|
|
@ -0,0 +1 @@
|
||||||
|
.box-card[data-v-7e9714db]{text-align:center}.box-card .text[data-v-7e9714db]{text-align:center;color:#666;font-size:20px;line-height:32px;font-weight:700;margin-bottom:10px}
|
|
@ -0,0 +1 @@
|
||||||
|
.card[data-v-13f3428d]{text-align:center}.card-text[data-v-13f3428d]{color:#666;font-size:20px;line-height:32px;font-weight:700;text-align:center}
|
|
@ -0,0 +1 @@
|
||||||
|
.ya-top[data-v-1f134710]{margin-top:2vh}.ya-center[data-v-1f134710]{text-align:center}
|
|
@ -0,0 +1 @@
|
||||||
|
.image-logo[data-v-0917681c]{width:60px;height:100%}.image-favicon[data-v-0917681c]{width:32px;height:100%}.image-login-bg[data-v-0917681c]{width:100px;height:100%}
|
|
@ -1 +0,0 @@
|
||||||
.yyl-top[data-v-0dd19479]{margin-top:2vh}.yyl-center[data-v-0dd19479]{text-align:center}
|
|
|
@ -1 +0,0 @@
|
||||||
.card[data-v-6e52a3ba]{text-align:center}.card-text[data-v-6e52a3ba]{color:#666;font-size:20px;line-height:32px;font-weight:700;text-align:center}
|
|
|
@ -0,0 +1 @@
|
||||||
|
.ya-file[data-v-319086c1]{text-align:center;border:1px solid #dcdfe6}.ya-file-name[data-v-319086c1]{display:block;height:24px;line-height:24px;padding:0 4px;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ya-file-link[data-v-319086c1]{margin-right:6px}
|
|
@ -0,0 +1 @@
|
||||||
|
.login-container[data-v-1a8812a7]{width:100%;min-height:100%;background-color:#2d3a4b;background-size:100% 100%;background-position:50%;overflow:hidden}.login-container .login-form[data-v-1a8812a7]{position:relative;padding:160px 35px 0;margin:0 auto;width:520px;max-width:100%;overflow:hidden}.login-container .login-title[data-v-1a8812a7]{position:relative}.login-container .login-title .login-title-name[data-v-1a8812a7]{margin:0 auto 22px auto;text-align:center;font-weight:700;font-size:26px;color:#eee}.login-container .login-logo[data-v-1a8812a7]{margin-bottom:22px;text-align:center}.login-container .login-logo .login-logo-img[data-v-1a8812a7]{height:130px}.login-container .login-captcha[data-v-1a8812a7]{float:right;width:200px;height:36px}
|
|
@ -1 +0,0 @@
|
||||||
.apidoc-item[data-v-5ab2acb2]{color:#303133;font-size:14px;padding-right:30px}.el-icon-copy-document[data-v-5ab2acb2]{color:#1890ff}
|
|
|
@ -1 +0,0 @@
|
||||||
.box-card[data-v-62b0f277]{text-align:center}.box-card .text[data-v-62b0f277]{text-align:center;color:#666;font-size:20px;line-height:32px;font-weight:700;margin-bottom:10px}
|
|
|
@ -0,0 +1 @@
|
||||||
|
.apidoc-item[data-v-441d77f5]{color:#303133;font-size:14px;padding-right:30px}.el-icon-copy-document[data-v-441d77f5]{color:#1890ff}
|
|
@ -0,0 +1 @@
|
||||||
|
.box-card[data-v-3cf85dc3]{text-align:center}.box-card .text[data-v-3cf85dc3]{text-align:center;color:#666;font-size:20px;line-height:32px;font-weight:700;margin-bottom:10px}
|
|
@ -1 +0,0 @@
|
||||||
.image-logo[data-v-8932b54e]{width:60px;height:100%}.image-favicon[data-v-8932b54e]{width:32px;height:100%}.image-login-bg[data-v-8932b54e]{width:100px;height:100%}
|
|
|
@ -1 +0,0 @@
|
||||||
.ya-top[data-v-201addc1]{margin-top:2vh}.ya-center[data-v-201addc1]{text-align:center}
|
|
|
@ -1 +0,0 @@
|
||||||
.login-container[data-v-7c88443a]{width:100%;min-height:100%;background-color:#2d3a4b;background-size:100% 100%;background-position:50%;overflow:hidden}.login-container .login-form[data-v-7c88443a]{position:relative;padding:160px 35px 0;margin:0 auto;width:520px;max-width:100%;overflow:hidden}.login-container .login-title[data-v-7c88443a]{position:relative}.login-container .login-title .login-title-name[data-v-7c88443a]{margin:0 auto 22px auto;text-align:center;font-weight:700;font-size:26px;color:#eee}.login-container .login-logo[data-v-7c88443a]{margin-bottom:22px;text-align:center}.login-container .login-logo .login-logo-img[data-v-7c88443a]{height:130px}.login-container .login-captcha[data-v-7c88443a]{float:right;width:200px;height:36px}
|
|
|
@ -1 +0,0 @@
|
||||||
.box-card[data-v-ed28578e]{text-align:center}.box-card .text[data-v-ed28578e]{color:#666;font-size:20px;line-height:32px;font-weight:700;text-align:center}.el-row[data-v-ed28578e]{margin-bottom:10px}.color-tot[data-v-ed28578e]{color:#1890ff}.color-new[data-v-ed28578e]{color:#5470c6;border-right:1px solid #e6ebf5}.color-act[data-v-ed28578e]{color:#91cc75}
|
|
|
@ -1 +0,0 @@
|
||||||
.box-card[data-v-bb1e437c]{text-align:center}.box-card .text[data-v-bb1e437c]{text-align:center;color:#666;font-size:20px;line-height:32px;font-weight:700;margin-bottom:10px}
|
|
|
@ -1 +1 @@
|
||||||
.custom-tree-node[data-v-45d8f891]{-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}
|
.custom-tree-node[data-v-198b46c6]{-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}
|
|
@ -0,0 +1 @@
|
||||||
|
.box-card[data-v-c8c7ab8c]{text-align:center}.box-card .text[data-v-c8c7ab8c]{color:#666;font-size:20px;line-height:32px;font-weight:700;text-align:center}.el-row[data-v-c8c7ab8c]{margin-bottom:10px}.color-tot[data-v-c8c7ab8c]{color:#1890ff}.color-new[data-v-c8c7ab8c]{color:#5470c6;border-right:1px solid #e6ebf5}.color-act[data-v-c8c7ab8c]{color:#91cc75}
|
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
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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0c326724"],{"176f":function(t,s,e){},"2a1c":function(t,s,e){"use strict";e("176f")},c6537:function(t,s,e){"use strict";e.r(s);var a=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"app-container"},[e("el-row",[e("el-col",{attrs:{span:12,offset:6}},[e("el-result",{attrs:{icon:"warning",title:"401","sub-title":"没有权限访问"}})],1)],1),e("el-row",[e("el-col",{staticClass:"yyl-center yyl-top",attrs:{span:6,offset:6}},[e("el-button",{attrs:{icon:"el-icon-arrow-left"},on:{click:t.back}},[t._v("返回")])],1),e("el-col",{staticClass:"yyl-center yyl-top",attrs:{span:6}},[e("el-button",{attrs:{icon:"el-icon-s-home"},on:{click:t.dashboard}},[t._v("控制台")])],1)],1),e("el-row",[e("el-col",{staticClass:"yyl-center yyl-top",attrs:{span:12,offset:6}},[e("a",{attrs:{href:"https://gitee.com/skyselang/yylAdmin",target:"_blank",title:""}},[e("img",{attrs:{src:"https://gitee.com/skyselang/yylAdmin/widgets/widget_card.svg?colors=4183c4,ffffff,ffffff,e3e9ed,666666,9b9b9b",alt:"",srcset:""}})])])],1)],1)},n=[],o={name:"Constant401",data:function(){return{name:"401页面"}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/dashboard"}):this.$router.go(-1)},dashboard:function(){this.$router.push({path:"/dashboard"})}}},c=o,r=(e("2a1c"),e("cba8")),l=Object(r["a"])(c,a,n,!1,null,"4b430c5a",null);s["default"]=l.exports}}]);
|
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
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
|
@ -0,0 +1 @@
|
||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-252e4366"],{c275:function(t,e,s){"use strict";s("e10b")},e10b:function(t,e,s){},fdb1:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-container"},[s("el-row",[s("el-col",{attrs:{span:12,offset:6}},[s("el-result",{attrs:{icon:"error",title:"404","sub-title":"页面不存在"}})],1)],1),s("el-row",[s("el-col",{staticClass:"ya-center ya-top",attrs:{span:6,offset:6}},[s("el-button",{attrs:{icon:"el-icon-arrow-left"},on:{click:t.back}},[t._v("返回")])],1),s("el-col",{staticClass:"ya-center ya-top",attrs:{span:6}},[s("el-button",{attrs:{icon:"el-icon-s-home"},on:{click:t.dashboard}},[t._v("控制台")])],1)],1),s("el-row",[s("el-col",{staticClass:"ya-center ya-top",attrs:{span:12,offset:6}},[s("a",{attrs:{href:"https://gitee.com/skyselang/yylAdmin",target:"_blank",title:""}},[s("img",{attrs:{src:"https://gitee.com/skyselang/yylAdmin/widgets/widget_card.svg?colors=4183c4,ffffff,ffffff,e3e9ed,666666,9b9b9b",alt:"",srcset:""}})])])],1)],1)},o=[],n={name:"Constant404",data:function(){return{name:"404页面"}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/dashboard"}):this.$router.go(-1)},dashboard:function(){this.$router.push({path:"/dashboard"})}}},r=n,c=(s("c275"),s("cba8")),l=Object(c["a"])(r,a,o,!1,null,"1f134710",null);e["default"]=l.exports}}]);
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c1b1a"],{"46ac":function(n,t,a){"use strict";a.r(t);a("abd8"),a("c12c");var c,e,r={data:function(){return{name:"跳转页面"}},created:function(){var n=this.$route,t=n.params,a=n.query,c=t.path;this.$router.replace({path:"/"+c,query:a}).catch((function(){}))},render:function(n){return n()}},u=r,o=a("cba8"),i=Object(o["a"])(u,c,e,!1,null,null,null);t["default"]=i.exports}}]);
|
|
@ -1 +0,0 @@
|
||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d231201"],{eee0:function(e,n,t){"use strict";t.r(n);t("3fab"),t("ed02");var r,a,u={data:function(){return{name:"跳转页面"}},created:function(){var e=this.$route,n=e.params,t=e.query,r=n.path;this.$router.replace({path:"/"+r,query:t}).catch((function(){}))},render:function(e){return e()}},c=u,o=t("cba8"),i=Object(o["a"])(c,r,a,!1,null,null,null);n["default"]=i.exports}}]);
|
|
|
@ -1 +0,0 @@
|
||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2e952bb4"],{"46bb":function(t,e,s){"use strict";s("76dc3")},"76dc3":function(t,e,s){},"86db":function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-container"},[s("el-row",[s("el-col",{attrs:{span:12,offset:6}},[s("el-result",{attrs:{icon:"warning",title:"401","sub-title":"没有权限访问"}})],1)],1),s("el-row",[s("el-col",{staticClass:"yyl-center yyl-top",attrs:{span:6,offset:6}},[s("el-button",{attrs:{icon:"el-icon-arrow-left"},on:{click:t.back}},[t._v("返回")])],1),s("el-col",{staticClass:"yyl-center yyl-top",attrs:{span:6}},[s("el-button",{attrs:{icon:"el-icon-s-home"},on:{click:t.dashboard}},[t._v("控制台")])],1)],1),s("el-row",[s("el-col",{staticClass:"yyl-center yyl-top",attrs:{span:12,offset:6}},[s("a",{attrs:{href:"https://gitee.com/skyselang/yylAdmin",target:"_blank",title:""}},[s("img",{attrs:{src:"https://gitee.com/skyselang/yylAdmin/widgets/widget_card.svg?colors=4183c4,ffffff,ffffff,e3e9ed,666666,9b9b9b",alt:"",srcset:""}})])])],1)],1)},n=[],o={name:"AdminBase401",data:function(){return{name:"401页面"}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/dashboard"}):this.$router.go(-1)},dashboard:function(){this.$router.push({path:"/dashboard"})}}},c=o,r=(s("46bb"),s("cba8")),l=Object(r["a"])(c,a,n,!1,null,"0dd19479",null);e["default"]=l.exports}}]);
|
|
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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4375bbad"],{"75ea":function(t,e,a){},a1ee:function(t,e,a){"use strict";a("75ea")},fb7a:function(t,e,a){"use strict";a.r(e);var c=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"login-container",style:{backgroundImage:"url("+t.login_bg_url+")"}},[a("el-form",{ref:"ref",staticClass:"login-form",attrs:{model:t.model,rules:t.rules,"label-position":"left"}},[a("div",{staticClass:"login-title"},[a("h3",{staticClass:"login-title-name"},[t._v(t._s(t.system_name))])]),a("div",{staticClass:"login-logo"},[t.logo_url?a("el-image",{staticClass:"login-logo-img",attrs:{src:t.logo_url,fit:"contain"}}):a("div",{staticStyle:{height:"60px"}})],1),a("el-form-item",{attrs:{prop:"username"}},[a("el-input",{attrs:{type:"text",placeholder:"账号/手机/邮箱","prefix-icon":"el-icon-user",autocomplete:"on",clearable:""},model:{value:t.model.username,callback:function(e){t.$set(t.model,"username",e)},expression:"model.username"}})],1),a("el-form-item",{attrs:{prop:"password"}},[a("el-input",{attrs:{type:"password",placeholder:"请输入密码","prefix-icon":"el-icon-lock",autocomplete:"on",clearable:"","show-password":""},model:{value:t.model.password,callback:function(e){t.$set(t.model,"password",e)},expression:"model.password"}})],1),t.captcha_switch?a("el-form-item",{attrs:{prop:"captcha_code"}},[a("el-col",{attrs:{span:13}},[a("el-input",{attrs:{placeholder:"请输入验证码","prefix-icon":"el-icon-picture",autocomplete:"off",clearable:""},model:{value:t.model.captcha_code,callback:function(e){t.$set(t.model,"captcha_code",e)},expression:"model.captcha_code"}})],1),a("el-col",{attrs:{span:11}},[a("el-image",{staticClass:"login-captcha",attrs:{src:t.captcha_src,fit:"fill",alt:"验证码",title:"点击刷新验证码"},on:{click:t.captcha}})],1)],1):t._e(),a("el-button",{staticStyle:{width:"100%","margin-bottom":"30px"},attrs:{loading:t.loading,type:"primary"},nativeOn:{click:function(e){return e.preventDefault(),t.handleLogin.apply(null,arguments)}}},[t._v("登录")])],1)],1)},o=[],i=(a("f6be"),a("e208")),s=a("d369"),n={name:"ConstantLogin",components:{},data:function(){return{name:"登录",system_name:"",loading:!1,redirect:void 0,otherQuery:{},captcha_switch:0,captcha_src:"",logo_url:"",login_bg_url:"",model:{username:"",password:"",captcha_id:"",captcha_code:""},rules:{username:[{required:!0,message:"请输入账号",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}],captcha_code:[{required:!0,message:"请输入验证码",trigger:"blur"}]}}},watch:{$route:{handler:function(t){var e=t.query;e&&(this.redirect=e.redirect,this.otherQuery=this.getOtherQuery(e))},immediate:!0}},created:function(){this.setting()},mounted:function(){},destroyed:function(){},methods:{captcha:function(){var t=this;Object(i["a"])().then((function(e){t.captchaSet(e)}))},captchaSet:function(t){this.model.captcha_id="",this.model.captcha_code="",t.data.captcha_switch&&(this.captcha_src=t.data.captcha_src,this.model.captcha_id=t.data.captcha_id),this.captcha_switch=t.data.captcha_switch},setting:function(){var t=this;this.model.captcha_id="",this.model.captcha_code="",Object(i["d"])().then((function(e){t.captchaSet(e),t.login_bg_url=e.data.login_bg_url,t.system_name=e.data.system_name,t.logo_url=e.data.logo_url,t.$store.dispatch("settings/changeSetting",{key:"systemName",value:e.data.system_name}),t.$store.dispatch("settings/changeSetting",{key:"pageTitle",value:e.data.page_title}),t.$store.dispatch("settings/changeSetting",{key:"logoUrl",value:e.data.logo_url}),t.$store.dispatch("settings/changeSetting",{key:"faviconUrl",value:e.data.favicon_url})}))},handleLogin:function(){var t=this;this.$refs["ref"].validate((function(e){if(!e)return!1;t.loading=!0,t.$store.dispatch("user/login",t.model).then((function(){Object(s["a"])(),t.$router.push({path:t.redirect||"/",query:t.otherQuery}).catch((function(){t.loading=!1}))})).catch((function(){t.loading=!1}))}))},getOtherQuery:function(t){return Object.keys(t).reduce((function(e,a){return"redirect"!==a&&(e[a]=t[a]),e}),{})}}},r=n,l=(a("a1ee"),a("cba8")),d=Object(l["a"])(r,c,o,!1,null,"1a8812a7",null);e["default"]=d.exports}}]);
|
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
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
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5d23fcc3"],{"44bc":function(t,e,s){"use strict";s("f8b8")},d573:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"app-container"},[s("el-row",[s("el-col",{attrs:{span:12,offset:6}},[s("el-result",{attrs:{icon:"error",title:"404","sub-title":"页面不存在"}})],1)],1),s("el-row",[s("el-col",{staticClass:"ya-center ya-top",attrs:{span:6,offset:6}},[s("el-button",{attrs:{icon:"el-icon-arrow-left"},on:{click:t.back}},[t._v("返回")])],1),s("el-col",{staticClass:"ya-center ya-top",attrs:{span:6}},[s("el-button",{attrs:{icon:"el-icon-s-home"},on:{click:t.dashboard}},[t._v("控制台")])],1)],1),s("el-row",[s("el-col",{staticClass:"ya-center ya-top",attrs:{span:12,offset:6}},[s("a",{attrs:{href:"https://gitee.com/skyselang/yylAdmin",target:"_blank",title:""}},[s("img",{attrs:{src:"https://gitee.com/skyselang/yylAdmin/widgets/widget_card.svg?colors=4183c4,ffffff,ffffff,e3e9ed,666666,9b9b9b",alt:"",srcset:""}})])])],1)],1)},o=[],c={name:"AdminBase404",data:function(){return{name:"404页面"}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/dashboard"}):this.$router.go(-1)},dashboard:function(){this.$router.push({path:"/dashboard"})}}},n=c,r=(s("44bc"),s("cba8")),l=Object(r["a"])(n,a,o,!1,null,"201addc1",null);e["default"]=l.exports},f8b8:function(t,e,s){}}]);
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-62e7395e"],{"162c":function(t,e,a){"use strict";a.r(e);var c=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"login-container",style:{backgroundImage:"url("+t.login_bg_url+")"}},[a("el-form",{ref:"ref",staticClass:"login-form",attrs:{model:t.model,rules:t.rules,"label-position":"left"}},[a("div",{staticClass:"login-title"},[a("h3",{staticClass:"login-title-name"},[t._v(t._s(t.system_name))])]),a("div",{staticClass:"login-logo"},[t.logo_url?a("el-image",{staticClass:"login-logo-img",attrs:{src:t.logo_url,fit:"contain"}}):a("div",{staticStyle:{height:"60px"}})],1),a("el-form-item",{attrs:{prop:"username"}},[a("el-input",{attrs:{type:"text",placeholder:"账号/手机/邮箱","prefix-icon":"el-icon-user",autocomplete:"on",clearable:""},model:{value:t.model.username,callback:function(e){t.$set(t.model,"username",e)},expression:"model.username"}})],1),a("el-form-item",{attrs:{prop:"password"}},[a("el-input",{attrs:{type:"password",placeholder:"请输入密码","prefix-icon":"el-icon-lock",autocomplete:"on",clearable:"","show-password":""},model:{value:t.model.password,callback:function(e){t.$set(t.model,"password",e)},expression:"model.password"}})],1),t.captcha_switch?a("el-form-item",{attrs:{prop:"captcha_code"}},[a("el-col",{attrs:{span:13}},[a("el-input",{attrs:{placeholder:"请输入验证码","prefix-icon":"el-icon-picture",autocomplete:"off",clearable:""},model:{value:t.model.captcha_code,callback:function(e){t.$set(t.model,"captcha_code",e)},expression:"model.captcha_code"}})],1),a("el-col",{attrs:{span:11}},[a("el-image",{staticClass:"login-captcha",attrs:{src:t.captcha_src,fit:"fill",alt:"验证码",title:"点击刷新验证码"},on:{click:t.captcha}})],1)],1):t._e(),a("el-button",{staticStyle:{width:"100%","margin-bottom":"30px"},attrs:{loading:t.loading,type:"primary"},nativeOn:{click:function(e){return e.preventDefault(),t.handleLogin.apply(null,arguments)}}},[t._v("登录")])],1)],1)},o=[],i=(a("9d16"),a("e208")),s=a("d369"),n={name:"AdminLogin",components:{},data:function(){return{name:"登录",system_name:"",loading:!1,redirect:void 0,otherQuery:{},captcha_switch:0,captcha_src:"",logo_url:"",login_bg_url:"",model:{username:"",password:"",captcha_id:"",captcha_code:""},rules:{username:[{required:!0,message:"请输入账号",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}],captcha_code:[{required:!0,message:"请输入验证码",trigger:"blur"}]}}},watch:{$route:{handler:function(t){var e=t.query;e&&(this.redirect=e.redirect,this.otherQuery=this.getOtherQuery(e))},immediate:!0}},created:function(){this.setting()},mounted:function(){},destroyed:function(){},methods:{captcha:function(){var t=this;Object(i["a"])().then((function(e){t.captchaSet(e)}))},captchaSet:function(t){this.model.captcha_id="",this.model.captcha_code="",t.data.captcha_switch&&(this.captcha_src=t.data.captcha_src,this.model.captcha_id=t.data.captcha_id),this.captcha_switch=t.data.captcha_switch},setting:function(){var t=this;this.model.captcha_id="",this.model.captcha_code="",Object(i["d"])().then((function(e){t.captchaSet(e),t.login_bg_url=e.data.login_bg_url,t.system_name=e.data.system_name,t.logo_url=e.data.logo_url,t.$store.dispatch("settings/changeSetting",{key:"systemName",value:e.data.system_name}),t.$store.dispatch("settings/changeSetting",{key:"pageTitle",value:e.data.page_title}),t.$store.dispatch("settings/changeSetting",{key:"logoUrl",value:e.data.logo_url}),t.$store.dispatch("settings/changeSetting",{key:"faviconUrl",value:e.data.favicon_url})}))},handleLogin:function(){var t=this;this.$refs["ref"].validate((function(e){if(!e)return!1;t.loading=!0,t.$store.dispatch("user/login",t.model).then((function(){Object(s["a"])(),t.$router.push({path:t.redirect||"/",query:t.otherQuery}).catch((function(){t.loading=!1}))})).catch((function(){t.loading=!1}))}))},getOtherQuery:function(t){return Object.keys(t).reduce((function(e,a){return"redirect"!==a&&(e[a]=t[a]),e}),{})}}},r=n,l=(a("d8f8"),a("cba8")),d=Object(l["a"])(r,c,o,!1,null,"7c88443a",null);e["default"]=d.exports},6802:function(t,e,a){},d8f8:function(t,e,a){"use strict";a("6802")}}]);
|
|
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
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
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
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
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
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
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
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
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
|
@ -0,0 +1,2 @@
|
||||||
|
User-agent: *
|
||||||
|
Disallow:
|
Loading…
Reference in New Issue