Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
html
/
jinmao-community-platform
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
533753ff
authored
Apr 09, 2021
by
changjin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成页面
parent
f2ada1c9
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
36 additions
and
33 deletions
+36
-33
src/components/common/Sidebar.vue
+2
-2
src/components/page/equipment/attribute.vue
+7
-0
src/components/page/index/externalSystem.vue
+5
-5
src/components/page/system/userAdd.vue
+0
-7
src/main.js
+4
-1
src/router/index.js
+1
-1
static/css/main.less
+17
-17
No files found.
src/components/common/Sidebar.vue
View file @
533753ff
...
...
@@ -143,7 +143,7 @@ export default {
{
name
:
'系统设置'
,
id
:
5
,
url
:
'/system/
lis
t'
,
url
:
'/system/
projec
t'
,
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
=
[]
...
...
src/components/page/equipment/attribute.vue
View file @
533753ff
...
...
@@ -64,6 +64,13 @@ export default {
},
showAlert
:
function
(
cont
)
{
this
.
$alert
(
cont
,
'温馨提示'
,
{
type
:
'success'
,
confirmButtonText
:
'确定'
})
},
showAlert1
:
function
(
cont
)
{
this
.
$alert
(
cont
,
'温馨提示'
,
{
type
:
'error'
,
confirmButtonText
:
'确定'
})
}
...
...
src/components/page/index/externalSystem.vue
View file @
533753ff
...
...
@@ -79,11 +79,11 @@
}
return
isJPG
&&
isLt4M
;
},
showAlert
:
function
(
cont
)
{
this
.
$alert
(
cont
,
'温馨提示'
,
{
confirmButtonText
:
'确定'
})
}
showAlert
:
function
(
cont
)
{
this
.
$alert
(
cont
,
'温馨提示'
,
{
confirmButtonText
:
'确定'
})
}
}
}
</
script
>
...
...
src/components/page/system/userAdd.vue
View file @
533753ff
...
...
@@ -83,13 +83,6 @@ export default {
},
showAlert
:
function
(
cont
)
{
this
.
$alert
(
cont
,
'温馨提示'
,
{
type
:
'success'
,
confirmButtonText
:
'确定'
})
},
showAlert1
:
function
(
cont
)
{
this
.
$alert
(
cont
,
'温馨提示'
,
{
type
:
'error'
,
confirmButtonText
:
'确定'
})
}
...
...
src/main.js
View file @
533753ff
...
...
@@ -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
{
// 在添加其他的错误码判断
...
...
src/router/index.js
View file @
533753ff
...
...
@@ -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
:
[
...
...
static/css/main.less
View file @
533753ff
...
...
@@ -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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment