Commit 533753ff by changjin

完成页面

parent f2ada1c9
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
{ {
name: '系统设置', name: '系统设置',
id: 5, id: 5,
url: '/system/list', url: '/system/project',
childNodes:[ childNodes:[
{ {
name:'项目管理', name:'项目管理',
...@@ -208,7 +208,7 @@ export default { ...@@ -208,7 +208,7 @@ export default {
changeMenu (menu, type) { changeMenu (menu, type) {
if (type && menu) { if (type && menu) {
console.log(menu.name) console.log(menu.name)
if (menu.name == '外部系统管理' || menu.name == '接口文档') { if (menu.name == '外部系统管理') {
this.menuActive = menu.name this.menuActive = menu.name
this.$router.push({path: menu.url}) this.$router.push({path: menu.url})
this.sideMenu = [] this.sideMenu = []
......
...@@ -64,6 +64,13 @@ export default { ...@@ -64,6 +64,13 @@ export default {
}, },
showAlert: function (cont) { showAlert: function (cont) {
this.$alert(cont, '温馨提示', { this.$alert(cont, '温馨提示', {
type: 'success',
confirmButtonText: '确定'
})
},
showAlert1: function (cont) {
this.$alert(cont, '温馨提示', {
type: 'error',
confirmButtonText: '确定' confirmButtonText: '确定'
}) })
} }
......
...@@ -79,11 +79,11 @@ ...@@ -79,11 +79,11 @@
} }
return isJPG && isLt4M; return isJPG && isLt4M;
}, },
showAlert: function (cont) { showAlert: function (cont) {
this.$alert(cont, '温馨提示', { this.$alert(cont, '温馨提示', {
confirmButtonText: '确定' confirmButtonText: '确定'
}) })
} }
} }
} }
</script> </script>
......
...@@ -83,13 +83,6 @@ export default { ...@@ -83,13 +83,6 @@ export default {
}, },
showAlert: function (cont) { showAlert: function (cont) {
this.$alert(cont, '温馨提示', { this.$alert(cont, '温馨提示', {
type: 'success',
confirmButtonText: '确定'
})
},
showAlert1: function (cont) {
this.$alert(cont, '温馨提示', {
type: 'error',
confirmButtonText: '确定' confirmButtonText: '确定'
}) })
} }
......
...@@ -36,7 +36,10 @@ axios.interceptors.response.use(function (response) { ...@@ -36,7 +36,10 @@ axios.interceptors.response.use(function (response) {
if (response.data.code === '0') { if (response.data.code === '0') {
return response return response
} else if (response.data.code === 'BASE_00004') { } else if (response.data.code === 'BASE_00004') {
alert('登录失效,请重新登录') alert('登录失效,请重新登录', '温馨提示', {
type: 'info',
confirmButtonText: '确定'
})
router.push('/login') router.push('/login')
} else { } else {
// 在添加其他的错误码判断 // 在添加其他的错误码判断
......
...@@ -203,7 +203,7 @@ export default new Router({ ...@@ -203,7 +203,7 @@ export default new Router({
path: '/system/project', path: '/system/project',
name: '/system', name: '/system',
meta: { meta: {
pageName: '系统管理' pageName: '系统设置'
}, },
component: resolve => require(['../components/page/index/SubContent.vue'], resolve), component: resolve => require(['../components/page/index/SubContent.vue'], resolve),
children: [ children: [
......
...@@ -337,23 +337,23 @@ background-color:#bbb!important; ...@@ -337,23 +337,23 @@ background-color:#bbb!important;
background-color: #DF9F01!important; background-color: #DF9F01!important;
border-color: #DF9F01!important; border-color: #DF9F01!important;
} }
.el-message-box__header{ // .el-message-box__header{
border-bottom: 1px solid #eee!important; // border-bottom: 1px solid #eee!important;
text-align: center!important; // text-align: center!important;
padding: 15px 15px 15px!important; // padding: 15px 15px 15px!important;
} // }
.el-message-box{width: 320px!important;} // .el-message-box{width: 320px!important;}
.el-message-box__status{ // .el-message-box__status{
top: 30%!important; // top: 30%!important;
left: 45%!important; // left: 45%!important;
font-size: 32px!important; // font-size: 32px!important;
} // }
.el-message-box__status.el-icon-success{color: #37A100!important;} // .el-message-box__status.el-icon-success{color: #37A100!important;}
.el-message-box__status.el-icon-error{color: #B82C0E!important;} // .el-message-box__status.el-icon-error{color: #B82C0E!important;}
.el-message-box__message{padding-top: 50px!important;} // .el-message-box__message{padding-top: 50px!important;}
.el-message-box__title{font-size: 16px!important;color:#313D4B!important;} // .el-message-box__title{font-size: 16px!important;color:#313D4B!important;}
.el-message-box__btns{padding: 15px 15px 15px!important;} // .el-message-box__btns{padding: 15px 15px 15px!important;}
.el-message-box__btns,.el-message-box__message{text-align: center!important;} // .el-message-box__btns,.el-message-box__message{text-align: center!important;}
.title{ .title{
color: #313D4B; color: #313D4B;
font-size: 14px; font-size: 14px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment