Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
38cd28fa
authored
May 12, 2021
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
c5ede3ce
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
187 additions
and
58 deletions
src/ajax/index.js
src/assets/css/index/index.less
src/assets/css/index/index.min.css
src/assets/css/index/index.min.css.map
src/assets/css/list/list.min.css
src/assets/css/list/list.min.css.map
src/assets/css/public/common.min.css
src/assets/css/public/common.min.css.map
src/components/menu.vue
src/main.js
src/views/User/login.vue
src/ajax/index.js
View file @
38cd28fa
...
@@ -15,7 +15,7 @@ let NODE_ENVS = "/";
...
@@ -15,7 +15,7 @@ let NODE_ENVS = "/";
switch
(
envs
)
{
switch
(
envs
)
{
case
'development'
:
case
'development'
:
//开发环境
//开发环境
NODE_ENVS
=
'http://192.168.2.1
64
:8080'
;
NODE_ENVS
=
'http://192.168.2.1
42
:8080'
;
break
;
break
;
case
'test'
:
case
'test'
:
//测试环境
//测试环境
...
...
src/assets/css/index/index.less
View file @
38cd28fa
...
@@ -450,25 +450,26 @@
...
@@ -450,25 +450,26 @@
}
}
}
}
}
}
}
.el-input__inner {
.el-input__inner {
height: 28px !important;
height: 28px !important;
line-height: 28px !important;
line-height: 28px !important;
}
}
.el-icon-date:before {
.el-icon-date:before {
content: "\e78e";
content: "\e78e";
position: relative;
position: relative;
top: -6px !important;
top: -6px !important;
}
}
.el-date-editor .el-range-separator {
.el-date-editor .el-range-separator {
line-height: 19px !important;
line-height: 19px !important;
font-size: 14px !important;
font-size: 14px !important;
color: #646b78 !important;
color: #646b78 !important;
}
}
.el-date-editor .el-range__close-icon {
.el-date-editor .el-range__close-icon {
line-height: 23px !important;
line-height: 23px !important;
}
}
}
src/assets/css/index/index.min.css
View file @
38cd28fa
...
@@ -378,21 +378,21 @@
...
@@ -378,21 +378,21 @@
.home-index
.inquiry
.wrap
.box2
.inp
::-webkit-input-placeholder
{
.home-index
.inquiry
.wrap
.box2
.inp
::-webkit-input-placeholder
{
color
:
#a1acc1
;
color
:
#a1acc1
;
}
}
.el-input__inner
{
.
home-index
.
el-input__inner
{
height
:
28px
!important
;
height
:
28px
!important
;
line-height
:
28px
!important
;
line-height
:
28px
!important
;
}
}
.el-icon-date
:before
{
.
home-index
.
el-icon-date
:before
{
content
:
"\e78e"
;
content
:
"\e78e"
;
position
:
relative
;
position
:
relative
;
top
:
-6px
!important
;
top
:
-6px
!important
;
}
}
.el-date-editor
.el-range-separator
{
.
home-index
.
el-date-editor
.el-range-separator
{
line-height
:
19px
!important
;
line-height
:
19px
!important
;
font-size
:
14px
!important
;
font-size
:
14px
!important
;
color
:
#646b78
!important
;
color
:
#646b78
!important
;
}
}
.el-date-editor
.el-range__close-icon
{
.
home-index
.
el-date-editor
.el-range__close-icon
{
line-height
:
23px
!important
;
line-height
:
23px
!important
;
}
}
/*# sourceMappingURL=index.min.css.map */
/*# sourceMappingURL=index.min.css.map */
\ No newline at end of file
src/assets/css/index/index.min.css.map
View file @
38cd28fa
{"version":3,"sources":["index.less"],"names":[],"mappings":"AAAA;EACE,UAAA;EACA,kBAAA;EACA,oBAAA;;AAHF,WAKE;EACE,iBAAA;;AANJ,WAKE,YAGE;EACE,yBAAA;EACA,UAAA;EACA,aAAA;EACA,mBAAA;EACA,kBAAA;EACA,yBAAA;;AAdN,WAKE,YAGE,GAQE,KACE;EACE,eAAA;EACA,cAAA;EACA,gBAAA;;AApBV,WAKE,YAGE,GAQE,KAOE;EACE,WAAA;EACA,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,yBAAA;EACA,eAAA;EACA,cAAA;EACA,eAAA;;AA/BV,WAKE,YAG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AA;EACA,OAAA;EACA,WAAA;EACA,WAAA;EACA,mBAAA;EACA,SAAS,EAAT;EACA,YAAA;;AA/Xd,WAqVE,SAOE,MAyCE,aACE;EACE,iBAAA;EACA,YAAA;EACA,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,yBAAA;EACA,kBAAA;;AA7YV,WAqVE,SAOE,MAyCE,aACE,MASE;EACE,eAAA;EACA,cAAA;EACA,kBAAA;EACA,YAAA;EACA,+BAAA;EACA,cAAA;EACA,eAAA;;AAEA,WAnEV,SAOE,MAyCE,aACE,MASE,GASG;EACC,cAAA;;AAGF,WAvEV,SAOE,MAyCE,aACE,MASE,GAaG;EACC,kBAAA;;AA7Zd,WAqVE,SA+EE;EACE,gBAAA;EACA,WAAA;;AAtaN,WAqVE,SA+EE,MAIE;EACE,UAAA;;AAzaR,WAqVE,SA+EE,MAQE;EACE,UAAA;;AA7aR,WAqVE,SA+EE,MAQE,MAGE;EACE,eAAA;EACA,cAAA;EACA,kBAAA;;AAlbV,WAqVE,SA+EE,MAQE,MASE;EACE,YAAA;EACA,YAAA;EACA,kBAAA;EACA,yBAAA;EACA,iBAAA;EACA,eAAA;;AAEA,WAxGR,SA+EE,MAQE,MASE,KAQG;EACC,cAAA;;AAQZ;EACE,uBAAA;EACA,4BAAA;;AAGF,aAAa;EACX,SAAS,OAAT;EACA,kBAAA;EACA,SAAA;;AAGF,eAAgB;EACd,4BAAA;EACA,0BAAA;EACA,cAAA;;AAGF,eAAgB;EACd,4BAAA","file":"index.min.css"}
{"version":3,"sources":["index.less"],"names":[],"mappings":"AAAA;EACE,UAAA;EACA,kBAAA;EACA,oBAAA;;AAHF,WAKE;EACE,iBAAA;;AANJ,WAKE,YAGE;EACE,yBAAA;EACA,UAAA;EACA,aAAA;EACA,mBAAA;EACA,kBAAA;EACA,yBAAA;;AAdN,WAKE,YAGE,GAQE,KACE;EACE,eAAA;EACA,cAAA;EACA,gBAAA;;AApBV,WAKE,YAGE,GAQE,KAOE;EACE,WAAA;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ACE,GAiBG;EACC,mBAAA;EACA,cAAA;EACA,eAAA;;AAEA,WAnCV,SAOE,MAKE,KACE,GAiBG,KAKE;EACC,kBAAA;EACA,OAAA;EACA,WAAA;EACA,WAAA;EACA,mBAAA;EACA,SAAS,EAAT;EACA,YAAA;;AA/Xd,WAqVE,SAOE,MAyCE,aACE;EACE,iBAAA;EACA,YAAA;EACA,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,yBAAA;EACA,kBAAA;;AA7YV,WAqVE,SAOE,MAyCE,aACE,MASE;EACE,eAAA;EACA,cAAA;EACA,kBAAA;EACA,YAAA;EACA,+BAAA;EACA,cAAA;EACA,eAAA;;AAEA,WAnEV,SAOE,MAyCE,aACE,MASE,GASG;EACC,cAAA;;AAGF,WAvEV,SAOE,MAyCE,aACE,MASE,GAaG;EACC,kBAAA;;AA7Zd,WAqVE,SA+EE;EACE,gBAAA;EACA,WAAA;;AAtaN,WAqVE,SA+EE,MAIE;EACE,UAAA;;AAzaR,WAqVE,SA+EE,MAQE;EACE,UAAA;;AA7aR,WAqVE,SA+EE,MAQE,MAGE;EACE,eAAA;EACA,cAAA;EACA,kBAAA;;AAlbV,WAqVE,SA+EE,MAQE,MASE;EACE,YAAA;EACA,YAAA;EACA,kBAAA;EACA,yBAAA;EACA,iBAAA;EACA,eAAA;;AAEA,WAxGR,SA+EE,MAQE,MASE,KAQG;EACC,cAAA;;AA9bZ,WAqcE;EACE,uBAAA;EACA,4BAAA;;AAvcJ,WA0cE,cAAa;EACX,SAAS,OAAT;EACA,kBAAA;EACA,SAAA;;AA7cJ,WAgdE,gBAAgB;EACd,4BAAA;EACA,0BAAA;EACA,cAAA;;AAndJ,WAsdE,gBAAgB;EACd,4BAAA","file":"index.min.css"}
\ No newline at end of file
\ No newline at end of file
src/assets/css/list/list.min.css
View file @
38cd28fa
.store-con
{
background
:
#FFFFFF
;
border-radius
:
4px
;
border
:
1px
solid
#E5EBF6
;
padding
:
20px
}
.store-con
.search-btn
{
cursor
:
pointer
;
width
:
76px
;
height
:
36px
;
line-height
:
36px
;
background
:
#1969F9
;
border-radius
:
2px
;
font-size
:
14px
;
color
:
#fff
;
text-align
:
center
}
.store-con
.search-btn
:hover
{
background
:
#0050E0
}
.store-con
.btn-nav
{
margin-top
:
11px
;
margin-bottom
:
22px
}
.store-con
.btn-nav
.update
{
height
:
26px
;
line-height
:
26px
;
text-align
:
center
;
background
:
#FFEEDD
;
border
:
1px
solid
#FF870D
;
border-radius
:
2px
;
color
:
#FF870D
;
font-size
:
14px
;
cursor
:
pointer
;
width
:
66px
}
.store-con
.btn-nav
.update
i
{
margin-left
:
3px
}
.store-con
.btn-nav
.update
:hover
{
background
:
#FCA955
;
color
:
#fff
}
.store-con
.btn-nav
.dcg
{
width
:
66px
;
height
:
26px
;
border-radius
:
2px
;
text-align
:
center
;
line-height
:
26px
;
border
:
1px
solid
#1969F9
;
background
:
#E5EEFF
;
color
:
#1969F9
;
margin-left
:
10px
;
font-size
:
14px
;
transition
:
all
.5s
}
.store-con
.btn-nav
.dcg
:hover
{
background
:
#1969F9
;
cursor
:
pointer
;
color
:
#fff
}
.store-con
.btn-nav
.dcg.heti
{
width
:
56px
}
.store-con
.btn-nav
.dcg.xjk
{
position
:
relative
;
left
:
-11px
;
border-left
:
1px
solid
#1969F9
}
.store-con
.btn-nav
.dcg.xjk
:hover
{
border-left
:
1px
solid
#1969F9
}
.store-con
.updatebox
{
position
:
relative
}
.store-con
.updatebox
.selectdw
{
height
:
36px
;
width
:
36px
;
position
:
absolute
;
top
:
1px
;
right
:
2px
}
.store-con
.updatebox
.selectdw
.el-select
{
width
:
36px
;
border-left
:
1px
solid
#C0C4CC
}
.store-con
.updatebox
.selectdw
.el-select
input
{
border
:
0px
;
padding
:
0px
;
height
:
36px
;
width
:
36px
;
font-size
:
14px
;
color
:
#333
;
text-align
:
center
}
.store-con
.updatebox
.selectdw
.el-select
.el-input__prefix
,
.store-con
.updatebox
.selectdw
.el-select
.el-input__suffix
{
display
:
none
!important
}
.store-con
{
\ No newline at end of file
background
:
#FFFFFF
;
border-radius
:
4px
;
border
:
1px
solid
#E5EBF6
;
padding
:
20px
;
}
.store-con
.search-btn
{
cursor
:
pointer
;
width
:
76px
;
height
:
36px
;
line-height
:
36px
;
background
:
#1969F9
;
border-radius
:
2px
;
font-size
:
14px
;
color
:
#fff
;
text-align
:
center
;
}
.store-con
.search-btn
:hover
{
background
:
#0050E0
;
}
.store-con
.btn-nav
{
margin-top
:
11px
;
margin-bottom
:
22px
;
}
.store-con
.btn-nav
.update
{
height
:
26px
;
line-height
:
26px
;
text-align
:
center
;
background
:
#FFEEDD
;
border
:
1px
solid
#FF870D
;
border-radius
:
2px
;
color
:
#FF870D
;
font-size
:
14px
;
cursor
:
pointer
;
width
:
66px
;
}
.store-con
.btn-nav
.update
i
{
margin-left
:
3px
;
}
.store-con
.btn-nav
.update
:hover
{
background
:
#FCA955
;
color
:
#fff
;
}
.store-con
.btn-nav
.dcg
{
width
:
66px
;
height
:
26px
;
border-radius
:
2px
;
text-align
:
center
;
line-height
:
26px
;
border
:
1px
solid
#1969F9
;
background
:
#E5EEFF
;
color
:
#1969F9
;
margin-left
:
10px
;
font-size
:
14px
;
transition
:
all
0.5s
;
}
.store-con
.btn-nav
.dcg
:hover
{
background
:
#1969F9
;
cursor
:
pointer
;
color
:
#fff
;
}
.store-con
.btn-nav
.dcg.heti
{
width
:
56px
;
}
.store-con
.btn-nav
.dcg.xjk
{
position
:
relative
;
left
:
-11px
;
border-left
:
1px
solid
#1969F9
;
}
.store-con
.btn-nav
.dcg.xjk
:hover
{
border-left
:
1px
solid
#1969F9
;
}
.store-con
.updatebox
{
position
:
relative
;
}
.store-con
.updatebox
.selectdw
{
height
:
36px
;
width
:
36px
;
position
:
absolute
;
top
:
1px
;
right
:
2px
;
}
.store-con
.updatebox
.selectdw
.el-select
{
width
:
36px
;
border-left
:
1px
solid
#C0C4CC
;
}
.store-con
.updatebox
.selectdw
.el-select
input
{
border
:
0px
;
padding
:
0px
;
height
:
36px
;
width
:
36px
;
font-size
:
14px
;
color
:
#333
;
text-align
:
center
;
}
.store-con
.updatebox
.selectdw
.el-select
.el-input__prefix
,
.store-con
.updatebox
.selectdw
.el-select
.el-input__suffix
{
display
:
none
!important
;
}
/*# sourceMappingURL=list.min.css.map */
\ No newline at end of file
src/assets/css/list/list.min.css.map
View file @
38cd28fa
{"version":3,"sources":["list.less"],"names":[],"mappings":"AAAA;EACI,mBAAA;EACA,kBAAA;EACA,yBAAA;EACA,aAAA;;AAJJ,UAKI;EACI,eAAA;EACA,WAAA;EACA,YAAA;EACA,iBAAA;EACA,mBAAA;EACA,kBAAA;EACA,eAAA;EACA,WAAA;EACA,kBAAA;;AACA,UAVJ,YAUK;EACG,mBAAA;;AAhBZ,UAmBI;EACI,gBAAA;EACA,mBAAA;;AArBR,UAmBI,SAGI;EACI,WAAA;EACA,YAAA;EACA,iBAAA;EACA,kBAAA;EACA,mBAAA;EACA,yBAAA;EACA,kBAAA;EACA,WAAA;EACA,eAAA;EACA,eAAA;;AAhCZ,UAmBI,SAGI,QAWI;EAAE,gBAAA;;AAjCd,UAmBI,SAgBI;EACI,WAAA;EACA,YAAA;EACA,kBAAA;EACA,kBAAA;EACA,iBAAA;EACA,yBAAA;EACA,cAAA;EACA,iBAAA;EACA,eAAA;;AACA,UA1BR,SAgBI,KAUK;EACG,mBAAA;EACA,eAAA;;AAEJ,UA9BR,SAgBI,KAcK;EACG,WAAA;;AAEJ,UAjCR,SAgBI,KAiBK;EACG,kBAAA;EACA,WAAA;EACA,6CAAA;;AACA,UArCZ,SAgBI,KAiBK,IAII;EACG,8BAAA","file":"list.min.css"}
{"version":3,"sources":["list.less"],"names":[],"mappings":"AACA;EACI,mBAAA;EACA,kBAAA;EACA,yBAAA;EACA,aAAA;;AAJJ,UAKI;EACI,eAAA;EACA,WAAA;EACA,YAAA;EACA,iBAAA;EACA,mBAAA;EACA,kBAAA;EACA,eAAA;EACA,WAAA;EACA,kBAAA;;AACA,UAVJ,YAUK;EACG,mBAAA;;AAhBZ,UAmBI;EACI,gBAAA;EACA,mBAAA;;AArBR,UAmBI,SAGI;EAEI,YAAA;EACA,iBAAA;EACA,kBAAA;EACA,mBAAA;EACA,yBAAA;EACA,kBAAA;EACA,cAAA;EACA,eAAA;EACA,eAAA;EACA,WAAA;;AAjCZ,UAmBI,SAGI,QAYI;EAAE,gBAAA;;AACF,UAhBR,SAGI,QAaK;EAEG,mBAAA;EACA,WAAA;;AAtChB,UAmBI,SAuBI;EACI,WAAA;EACA,YAAA;EACA,kBAAA;EACA,kBAAA;EACA,iBAAA;EACA,yBAAA;EACA,mBAAA;EACA,cAAA;EACA,iBAAA;EACA,eAAA;EACA,oBAAA;;AACA,UAnCR,SAuBI,KAYK;EACG,mBAAA;EACA,eAAA;EACA,WAAA;;AAEJ,UAxCR,SAuBI,KAiBK;EACG,WAAA;;AAEJ,UA3CR,SAuBI,KAoBK;EACG,kBAAA;EACA,WAAA;EACA,8BAAA;;AACA,UA/CZ,SAuBI,KAoBK,IAII;EACG,8BAAA;;AAnEpB,UAwEI;EACI,kBAAA;;AAzER,UAwEI,WAEI;EACI,YAAA;EACA,WAAA;EAEA,kBAAA;EACA,QAAA;EACA,UAAA;;AAhFZ,UAwEI,WAEI,UAOI;EACI,WAAA;EACA,8BAAA;;AAnFhB,UAwEI,WAEI,UAOI,WAGI;EACI,WAAA;EACA,YAAA;EACA,YAAA;EACA,WAAA;EACA,eAAA;EACA,WAAA;EACA,kBAAA;;AA3FpB,UAwEI,WAEI,UAOI,WAaI;AA9FhB,UAwEI,WAEI,UAOI,WAauB;EAAkB,uBAAA","file":"list.min.css"}
\ No newline at end of file
\ No newline at end of file
src/assets/css/public/common.min.css
View file @
38cd28fa
This diff is collapsed.
Click to expand it.
src/assets/css/public/common.min.css.map
View file @
38cd28fa
{"version":3,"sources":["common.less"],"names":[],"mappings":"AAAA;EACE,8BAAA;EACA,0BAAA;;AAGF,IAAK;EACH,UAAA;EACA,yCAAA;EACA,6CAAA;;AAGF;AACA;EACE,8CAA8C,6BAA9C;EACA,kBAAA;EACA,mCAAA;EACA,kCAAA;EACA,eAAA;EACA,cAAA;;AAGF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE,SAAA;EACA,UAAA;;AAGF;AACA;AACA;AACA;EACE,eAAA;EACA,YAAA;EACA,wBAAA;;AAGF,KAAK;AACL,KAAK;AACL,KAAK;EACH,eAAA;;AAGF;EACE,yBAAA;EACA,iBAAA;;AAGF;AACA;AACA;EACE,gBAAA;;AAGF;AACA;AACA;AACA;AACA;AACA;EACE,eAAA;EACA,gBAAA;;AAGF;AACA;AACA;EACE,kBAAA;;AAGF;EACE,qBAAA;;AAGF;EACE,YAAA;;AAGF;EACE,QAAA;EACA,WAAA;;AAGF,IAAI;EACF,SAAS,GAAT;EACA,WAAA;EACA,SAAA;EACA,kBAAA;EACA,cAAA;;AAGF;EACE,WAAA;EACA,gBAAA;;AAGF;EACE,YAAA;EACA,gBAAA;;AAGF;EACE,mBAAA;;AAGF;EACE,sBAAA;;AAGF;EACE,sBAAA;;AAIF;EACE,qBAAA;EACA,gBAAA;EACA,OAAA;EACA,sBAAA;EACA,oBAAA;;AAGF;EACE,uBAAA;EACA,mBAAA;;AAGF;EACE,iBAAA;EACA,UAAA;EACA,YAAA;EACA,YAAA;EACA,sBAAA;;AAGF;EACE,8BAAA;EACA,sBAAA;;AAGF;EACE,aAAA;EACA,sBAAA;;AAGF;EACE,aAAA;EACA,mBAAA;;;AAIF;EACE,8BAAA;;;AAIF;EACE,6BAAA;;;AAIF;EACE,uBAAA;;;AAIF;EACE,mBAAA;;AAGF;EACE,mBAAA;EACA,gBAAA;EACA,eAAA;EACA,WAAA;EACA,OAAA;;AAGF;AACA;EACE,WAAA;EACA,YAAA;E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C;EACC,SAAS,EAAT;EACA,kBAAA;EACA,UAAA;EACA,YAAA;EACA,mBAAA;EACA,WAAA;EACA,QAAA;;AAIJ;EACE,eAAA;;AAEA,cAAC;AAAQ,cAAC;EACR,cAAA;;AAMJ;EACE,kBAAA;EACA,iBAAA;;AAGF;EACE,qBAAA;;AAGF,wBAAyB;EACvB,WAAA;EACA,eAAA;;AAGF,uBAAuB;EACrB,cAAA;EACA,0BAAA;;AAGF,sBAAsB;EACpB,SAAS,OAAT;;AAGF,qBAEE;AAFqB,cAErB;EACE,WAAA;EACA,YAAA;EACA,kBAAA;EACA,iBAAA;EACA,mBAAA;EACA,yBAAA;EACA,kBAAA;EACA,cAAA;EACA,eAAA;EACA,YAAA;;AAEA,qBAZF,WAYG;AAAD,cAZF,WAYG;AAAQ,qBAZX,WAYY;AAAD,cAZX,WAYY;EACR,cAAA;EACA,mBAAA;EACA,yBAAA;;AAGF,qBAlBF,WAkBG;AAAD,cAlBF,WAkBG;EACC,yBAAA;EACA,WAAA;EACA,mBAAA;;AAEA,qBAvBJ,WAkBG,mBAKE;AAAD,cAvBJ,WAkBG,mBAKE;AAAQ,qBAvBb,WAkBG,mBAKW;AAAD,cAvBb,WAkBG,mBAKW;EACR,WAAA;EACA,mBAAA;EACA,yBAAA","file":"common.min.css"}
{"version":3,"sources":["common.less"],"names":[],"mappings":"AAAA;EACE,8BAAA;EACA,0BAAA;;AAGF,IAAK;EACH,UAAA;EACA,yCAAA;EACA,6CAAA;;AAGF;AACA;EACE,8CAA8C,6BAA9C;EACA,kBAAA;EACA,mCAAA;EACA,kCAAA;EACA,eAAA;EACA,cAAA;;AAGF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE,SAAA;EACA,UAAA;;AAGF;AACA;AACA;AACA;E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yB;EACvB,WAAA;EACA,eAAA;;AAGF,uBAAuB;EACrB,cAAA;EACA,0BAAA;;AAGF,sBAAsB;EACpB,SAAS,OAAT;;AAGF,qBAEE;AAFqB,cAErB;EACE,WAAA;EACA,YAAA;EACA,kBAAA;EACA,iBAAA;EACA,mBAAA;EACA,yBAAA;EACA,kBAAA;EACA,cAAA;EACA,eAAA;EACA,YAAA;;AAEA,qBAZF,WAYG;AAAD,cAZF,WAYG;AAAQ,qBAZX,WAYY;AAAD,cAZX,WAYY;EACR,cAAA;EACA,mBAAA;EACA,yBAAA;;AAGF,qBAlBF,WAkBG;AAAD,cAlBF,WAkBG;EACC,yBAAA;EACA,WAAA;EACA,mBAAA;;AAEA,qBAvBJ,WAkBG,mBAKE;AAAD,cAvBJ,WAkBG,mBAKE;AAAQ,qBAvBb,WAkBG,mBAKW;AAAD,cAvBb,WAkBG,mBAKW;EACR,WAAA;EACA,mBAAA;EACA,yBAAA","file":"common.min.css"}
\ No newline at end of file
\ No newline at end of file
src/components/menu.vue
View file @
38cd28fa
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<div
class=
"fl lo-box-drop"
>
<div
class=
"fl lo-box-drop"
>
<span
class=
"icon iconfont"
>
</span>
<span
class=
"icon iconfont"
>
</span>
<div
class=
"drop-box"
>
<div
class=
"drop-box"
>
<a
href=
"
#
"
>
修改密码
</a>
<a
href=
"
javascript:;"
@
click=
"changePwd()
"
>
修改密码
</a>
<a
href=
"javascript:;"
@
click=
"logout"
>
退出登录
</a>
<a
href=
"javascript:;"
@
click=
"logout"
>
退出登录
</a>
</div>
</div>
</div>
</div>
...
@@ -119,38 +119,65 @@
...
@@ -119,38 +119,65 @@
<span
class=
"icon iconfont"
>
</span>
<span
class=
"icon iconfont"
>
</span>
</div>
</div>
</div>
</div>
<!--修改库存弹窗-->
<el-dialog
title=
"修改密码"
:visible
.
sync=
"dialogVisible"
width=
"500px"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"100px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"原始密码"
prop=
"name"
>
<el-input
v-model=
"ruleForm.name"
></el-input>
</el-form-item>
<el-form-item
label=
"新密码"
prop=
"name"
>
<el-input
v-model=
"ruleForm.name"
></el-input>
</el-form-item>
<el-form-item
label=
"确认新密码"
prop=
"name"
>
<el-input
v-model=
"ruleForm.name"
></el-input>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"dialogVisible = false"
>
确 定
</el-button>
</div>
</el-dialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
Vue
from
'vue'
;
import
Vue
from
'vue'
;
import
Util
from
"../tool"
;
import
{
import
{
Form
,
FormItem
,
Menu
,
Menu
,
MenuItem
,
MenuItem
,
Submenu
,
Submenu
,
MenuItemGroup
,
MenuItemGroup
,
Message
Message
,
Dialog
}
from
'element-ui'
}
from
'element-ui'
Vue
.
use
(
Menu
).
use
(
MenuItem
).
use
(
MenuItemGroup
).
use
(
Submenu
)
Vue
.
use
(
Menu
).
use
(
MenuItem
).
use
(
MenuItemGroup
).
use
(
Submenu
)
.
use
(
Form
).
use
(
FormItem
).
use
(
Dialog
);
export
default
{
export
default
{
name
:
'menus'
,
name
:
'menus'
,
props
:
{},
props
:
{},
created
()
{
created
()
{
/* this.$http('get', "/api/user/getuserinfo").then(res => {
}).catch(err => {
console.log(err.message);
})*/
},
},
data
()
{
data
()
{
return
{
return
{
collapse
:
false
,
collapse
:
false
,
isIndexTab
:
true
,
isIndexTab
:
true
,
tabSure
:
""
,
tabSure
:
""
,
tabs
:
""
tabs
:
""
,
dialogVisible
:
false
,
ruleForm
:
{
name
:
''
},
rules
:
{
name
:
[
{
required
:
true
,
message
:
'请输入活动名称'
,
trigger
:
'blur'
}
]
}
}
}
},
},
watch
:
{
watch
:
{
...
@@ -173,6 +200,9 @@
...
@@ -173,6 +200,9 @@
this
.
tabss
(
this
.
$route
.
path
)
this
.
tabss
(
this
.
$route
.
path
)
},
},
methods
:
{
methods
:
{
changePwd
()
{
this
.
dialogVisible
=
true
;
},
tabss
(
lk
)
{
tabss
(
lk
)
{
if
(
lk
==
"/"
)
{
if
(
lk
==
"/"
)
{
this
.
tabSure
=
1
this
.
tabSure
=
1
...
@@ -243,6 +273,13 @@
...
@@ -243,6 +273,13 @@
},
},
logout
()
{
logout
()
{
this
.
$http
(
'POST'
,
"/auth/logout"
).
then
(
res
=>
{
this
.
$http
(
'POST'
,
"/auth/logout"
).
then
(
res
=>
{
Util
.
delCookie
(
'token'
);
if
(
res
.
err_code
===
0
)
{
window
.
location
.
href
=
'/#/login'
;
history
.
go
(
0
);
}
else
{
Message
(
res
.
err_msg
);
}
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
err
.
message
);
console
.
log
(
err
.
message
);
})
})
...
...
src/main.js
View file @
38cd28fa
...
@@ -60,7 +60,7 @@ router.afterEach((to, from, next) => {
...
@@ -60,7 +60,7 @@ router.afterEach((to, from, next) => {
});
});
axios
.
interceptors
.
response
.
use
(
res
=>
{
axios
.
interceptors
.
response
.
use
(
res
=>
{
return
res
;
return
res
.
data
;
},
error
=>
{
},
error
=>
{
// Message('网络出现问题,请检查网络');
// Message('网络出现问题,请检查网络');
return
Promise
.
reject
(
new
Error
(
error
))
return
Promise
.
reject
(
new
Error
(
error
))
...
@@ -71,27 +71,18 @@ Vue.prototype.$http = http;
...
@@ -71,27 +71,18 @@ Vue.prototype.$http = http;
//路由页面回跳处理 mate里面参数 back:true 开启登录态回跳
//路由页面回跳处理 mate里面参数 back:true 开启登录态回跳
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
console
.
log
(
to
)
if
(
to
.
path
==
"/login"
)
{
if
(
to
.
path
==
"/login"
){
next
()
next
()
}
else
{
}
else
{
http
(
'get'
,
"/api/user/getuserinfo"
,
{
next
();
}).
then
(
data
=>
{
let
token
=
Util
.
getCookie
(
'token'
)
||
''
;
let
res
=
data
.
data
;
if
(
!
token
)
{
window
.
location
.
href
=
'/#/login?referer='
+
encodeURI
(
to
.
path
);
if
(
res
.
err_code
===
101
)
{
window
.
location
.
href
=
'/#/login?referer='
+
encodeURI
(
to
.
path
);
history
.
go
(
0
)
history
.
go
(
0
)
}
else
{
}
else
{
next
()
next
();
}
}
}).
catch
(
err
=>
{
console
.
log
(
err
.
message
);
})
}
}
});
});
...
...
src/views/User/login.vue
View file @
38cd28fa
...
@@ -18,9 +18,10 @@
...
@@ -18,9 +18,10 @@
<div
class=
"login-box"
>
<div
class=
"login-box"
>
<p
class=
"tit"
>
欢迎登录云芯系统
</p>
<p
class=
"tit"
>
欢迎登录云芯系统
</p>
<div
class=
"bar"
>
<div
class=
"bar"
>
<form>
<div
class=
"input-box lbBox"
>
<div
class=
"input-box lbBox"
>
<i
class=
"iconfont iconuser va-m"
></i>
<i
class=
"iconfont iconuser va-m"
></i>
<input
type=
"text"
placeholder=
"请输入手机号"
class=
"inp va-m"
v-model=
"form.mobile
"
/>
<input
type=
"text"
placeholder=
"请输入手机号"
class=
"inp va-m"
v-model=
"form.mobile"
autocomplete=
"off
"
/>
<b
class=
"lineBlock emptys"
></b>
<b
class=
"lineBlock emptys"
></b>
</div>
</div>
<div
class=
"input-box lbBox"
>
<div
class=
"input-box lbBox"
>
...
@@ -42,6 +43,7 @@
...
@@ -42,6 +43,7 @@
<a
href=
"javascript:;"
>
忘记密码
</a>
<a
href=
"javascript:;"
>
忘记密码
</a>
</p>
</p>
<a
href=
"javascript:;"
class=
"btn-submit"
:class=
"active ? 'active':''"
@
click=
"submit()"
:loading=
"true"
>
登录
</a>
<a
href=
"javascript:;"
class=
"btn-submit"
:class=
"active ? 'active':''"
@
click=
"submit()"
:loading=
"true"
>
登录
</a>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -96,8 +98,8 @@
...
@@ -96,8 +98,8 @@
methods
:
{
methods
:
{
updateCp
()
{
updateCp
()
{
this
.
$http
(
'get'
,
"/auth/cp"
).
then
(
res
=>
{
this
.
$http
(
'get'
,
"/auth/cp"
).
then
(
res
=>
{
this
.
imgSrc
=
res
.
data
.
data
.
url
.
img
;
this
.
imgSrc
=
res
.
data
.
url
.
img
;
this
.
form
.
captcha_key
=
res
.
data
.
data
.
url
.
key
;
this
.
form
.
captcha_key
=
res
.
data
.
url
.
key
;
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
err
.
message
);
console
.
log
(
err
.
message
);
})
})
...
@@ -134,16 +136,14 @@
...
@@ -134,16 +136,14 @@
password
:
this
.
form
.
password
,
password
:
this
.
form
.
password
,
captcha
:
this
.
form
.
captcha
,
captcha
:
this
.
form
.
captcha
,
captcha_key
:
this
.
form
.
captcha_key
captcha_key
:
this
.
form
.
captcha_key
}).
then
(
data
=>
{
}).
then
(
res
=>
{
loadingInstance
.
close
();
loadingInstance
.
close
();
let
res
=
data
.
data
;
if
(
res
.
err_code
===
0
)
{
if
(
res
.
err_code
===
0
)
{
Util
.
setCookie
(
"token"
,
res
.
data
.
api_token
,
1
);
Util
.
setCookie
(
"token"
,
res
.
data
.
api_token
,
1
);
console
.
log
(
this
.
$route
.
query
.
referer
)
console
.
log
(
this
.
$route
.
query
.
referer
)
if
(
this
.
$route
.
query
.
referer
){
if
(
this
.
$route
.
query
.
referer
)
{
window
.
location
.
href
=
"/#"
+
this
.
$route
.
query
.
referer
window
.
location
.
href
=
"/#"
+
this
.
$route
.
query
.
referer
}
else
{
}
else
{
window
.
location
.
href
=
'/'
;
window
.
location
.
href
=
'/'
;
}
}
}
else
{
}
else
{
...
...
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