Commit 533753ff by changjin

完成页面

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