From a9c401e79d244ec2cfa6ca9d71f36c1bd7add848 Mon Sep 17 00:00:00 2001 From: "DESKTOP-00SUCB6\\Administrator" Date: Wed, 20 Jan 2021 18:22:05 +0800 Subject: [PATCH] =?UTF-8?q?v0.6=20=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/config.js | 6 +- public/template/001/login/login/index.scss | 2 +- public/template/001/styles/element-ui.scss | 22 +++--- public/template/001/styles/index.scss | 1 + public/template/001/styles/sidebar.scss | 12 +-- src/store/modules/user.js | 1 + src/utils/request.js | 2 +- src/views/layout/components/AppMain.vue | 2 +- src/views/layout/components/Sidebar/index.vue | 6 +- src/views/layout/components/header.vue | 2 +- src/views/login/editPassword.vue | 2 +- src/views/login/index.vue | 4 +- src/views/login/register.vue | 4 +- src/views/login/retrievePassword.vue | 10 +-- src/views/login/userInfo.vue | 4 +- src/views/systemManage/company/company.vue | 12 +-- .../systemManage/company/companyDetail.vue | 2 +- .../systemManage/company/companyExamine.vue | 4 +- src/views/systemManage/menu.vue | 6 +- src/views/systemManage/notice/notice.vue | 26 +++---- .../systemManage/notice/noticeDetail.vue | 76 ++++++++++++++----- src/views/systemManage/notice/noticeShow.vue | 19 ++++- src/views/systemManage/permission.vue | 4 +- src/views/systemManage/role.vue | 4 +- src/views/systemManage/user.vue | 8 +- 25 files changed, 146 insertions(+), 95 deletions(-) diff --git a/public/config.js b/public/config.js index 6a082a5..82ffee6 100644 --- a/public/config.js +++ b/public/config.js @@ -5,9 +5,9 @@ // SHOW_URL: "http://www.fatoaniic.com/ftpfile/", // } config = { - API_URL: 'http://172.119.51.18:8082', - UPLOAD_URL: "http://172.119.51.18:8082/attachment/uploadOne", - DOWNLOAD_URL: "http://172.119.51.18:8082/api-ftp/ftp/download?filename=", + API_URL: 'http://172.119.51.140:8082', + UPLOAD_URL: "http://172.119.51.140:8082/attachment/uploadOne", + DOWNLOAD_URL: "http://172.119.51.140:8082/api-ftp/ftp/download?filename=", SHOW_URL: "http://www.fatoaniic.com/ftpfile/", } \ No newline at end of file diff --git a/public/template/001/login/login/index.scss b/public/template/001/login/login/index.scss index 27a994a..3d3aa33 100644 --- a/public/template/001/login/login/index.scss +++ b/public/template/001/login/login/index.scss @@ -68,7 +68,7 @@ color:rgba(255,255,255,1); width:405px; height:35px; - background:linear-gradient(-24deg,rgba(223,52,52,1),rgba(255,108,88,1)); + // background:linear-gradient(-24deg,rgba(223,52,52,1),rgba(255,108,88,1)); border:1px solid rgba(220, 220, 220, 1); border-radius:4px; } diff --git a/public/template/001/styles/element-ui.scss b/public/template/001/styles/element-ui.scss index 5ba4a53..ae62306 100644 --- a/public/template/001/styles/element-ui.scss +++ b/public/template/001/styles/element-ui.scss @@ -26,24 +26,24 @@ color: #606266; } .el-pagination.is-background .el-pager li:not(.disabled):hover { - color: #df3434; + color: #1b5c7d; } .el-pagination.is-background .el-pager li:not(.disabled).active { - background-color: #df3434; + background-color: #1b5c7d; color: #fff; } .el-pagination__sizes .el-input .el-input__inner:hover { - border-color: #df3434; + border-color: #1b5c7d; } .el-select .el-input.is-focus .el-input__inner { - border-color: #df3434; + border-color: #1b5c7d; } .el-select-dropdown__item.selected { - color: #df3434; + color: #1b5c7d; } .el-input.is-active .el-input__inner, .el-input__inner:focus { - border-color: #df3434; + border-color: #1b5c7d; } .el-dialog__header { @@ -85,15 +85,15 @@ //步骤条 .el-step__head.is-process { - color: #DF3434; - border-color: #DF3434; + color: #1b5c7d; + border-color: #1b5c7d; } .el-step__title.is-process { font-weight: 700; - color: #DF3434; + color: #1b5c7d; } .el-step__description.is-process { - color: #DF3434; + color: #1b5c7d; } //文字链接 @@ -106,7 +106,7 @@ width:100%; padding: 0; height:84px; - background-color: #DF3434; + background-color: #1b5c7d; z-index: 100; } diff --git a/public/template/001/styles/index.scss b/public/template/001/styles/index.scss index 99149a8..78657a4 100644 --- a/public/template/001/styles/index.scss +++ b/public/template/001/styles/index.scss @@ -141,6 +141,7 @@ a:active { .app-main { min-height: 100%; padding-top:84px; + border-top: 2px solid #1b5c7d; } .app-container { diff --git a/public/template/001/styles/sidebar.scss b/public/template/001/styles/sidebar.scss index e886303..356a02f 100644 --- a/public/template/001/styles/sidebar.scss +++ b/public/template/001/styles/sidebar.scss @@ -23,7 +23,7 @@ // height: 60px; position: fixed; min-width: 700px; - background-color: #DF3434; + background-color: #1b5c7d; color: #fff; top: 0; left: 0; @@ -133,16 +133,16 @@ background-size: 100% 100%; li { &:hover { - color: #DF3434; - background-color: #FFE8E6 !important; + color: #1b5c7d; + background-color: #ececec !important; } } } .is-active { - border-left: 3px solid #DF3434; - color: #DF3434; + border-left: 3px solid #1b5c7d; + color: #1b5c7d; border-bottom: 0; - background-color: #FFE8E6 !important; + background-color: #ececec !important; } } .openSidebar { diff --git a/src/store/modules/user.js b/src/store/modules/user.js index c01731d..d0a281a 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -126,6 +126,7 @@ const user = { commit('SET_NAME', "") removeToken(); removeName() + resolve(); }); }, }, diff --git a/src/utils/request.js b/src/utils/request.js index 9d4d452..75fa645 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -75,7 +75,7 @@ service.interceptors.response.use( if (res.status !== 200) { // 511:失效的token;弹出弹框,返回登录页 - if (res.status === 511) { + if (res.status === 74001) { if (isToken) { isToken = false //防止下个一个token失效的请求在弹出第二个框 MessageBox.alert('你已被登出,请重新登录', '确定登出', { diff --git a/src/views/layout/components/AppMain.vue b/src/views/layout/components/AppMain.vue index 6e6baad..2fad99d 100644 --- a/src/views/layout/components/AppMain.vue +++ b/src/views/layout/components/AppMain.vue @@ -62,7 +62,7 @@ import ResizeMixin from "../mixin/ResizeHandler"; /* max-height: calc(100vh - 194px); */ position: relative; overflow: auto; - border-top: 2px solid rgba(223,52,52,1); + padding: 20px; } diff --git a/src/views/layout/components/Sidebar/index.vue b/src/views/layout/components/Sidebar/index.vue index 8130e6c..c57f977 100644 --- a/src/views/layout/components/Sidebar/index.vue +++ b/src/views/layout/components/Sidebar/index.vue @@ -48,12 +48,12 @@ { path: 'company', name: 'companyManage', - meta: {title: '公司管理', icon: 'dashboard', noCache: true}, + meta: {title: '公司管理', icon: 'tree', noCache: true}, }, { path: 'user', name: 'userManage', - meta: {title: '用户管理', icon: 'dashboard', noCache: true}, + meta: {title: '用户管理', icon: 'user', noCache: true}, }, // { // path: 'role', @@ -68,7 +68,7 @@ { path: 'notice', name: 'noticeManage', - meta: {title: '公告管理', icon: 'jiaoliu', noCache: true}, + meta: {title: '文章管理', icon: 'jiaoliu', noCache: true}, } ], } diff --git a/src/views/layout/components/header.vue b/src/views/layout/components/header.vue index 4f8551d..25f654f 100644 --- a/src/views/layout/components/header.vue +++ b/src/views/layout/components/header.vue @@ -19,7 +19,7 @@
- {{name.length > 3 ? name.substring(0,3)+'...':name||'欢迎您'}} + {{name.length > 7 ? name.substring(0,6)+'...':name||'欢迎您'}}
diff --git a/src/views/login/editPassword.vue b/src/views/login/editPassword.vue index 21410b8..be48a76 100644 --- a/src/views/login/editPassword.vue +++ b/src/views/login/editPassword.vue @@ -12,7 +12,7 @@ diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 3816d0c..d988d6f 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -219,7 +219,7 @@ export default { }; diff --git a/src/views/login/register.vue b/src/views/login/register.vue index bbcb03b..7c643f6 100644 --- a/src/views/login/register.vue +++ b/src/views/login/register.vue @@ -30,12 +30,12 @@ --> - + {{ !sendStatus ? '获取验证码' : timer + '秒' }} - 注册 + 注册 已有账号? diff --git a/src/views/login/retrievePassword.vue b/src/views/login/retrievePassword.vue index 443db44..2e35c8c 100644 --- a/src/views/login/retrievePassword.vue +++ b/src/views/login/retrievePassword.vue @@ -21,7 +21,7 @@ - + diff --git a/src/views/systemManage/company/company.vue b/src/views/systemManage/company/company.vue index 1024ce3..9471279 100644 --- a/src/views/systemManage/company/company.vue +++ b/src/views/systemManage/company/company.vue @@ -6,11 +6,11 @@ - 查询 + 查询 - 刷新 - 新增 + 刷新 + 新增 @@ -46,7 +46,7 @@