Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄媛媛
ElectricitySheep
Commits
b368623b
Commit
b368623b
authored
May 20, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
1e9c03ed
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
9 deletions
+23
-9
Login.vue
src/components/Login.vue
+8
-7
EmployeesList.vue
src/components/StoreDesign/EmployeesList.vue
+15
-2
No files found.
src/components/Login.vue
View file @
b368623b
...
@@ -200,7 +200,8 @@
...
@@ -200,7 +200,8 @@
<img
alt
class=
"logo"
/>
<img
alt
class=
"logo"
/>
<div
class=
"register_box"
>
<div
class=
"register_box"
>
<span
class=
"register"
@
click=
"CommonJump('Forgetpassword',
{blank:'y'})">忘记密码?
</span>
<span
class=
"register"
@
click=
"CommonJump('Forgetpassword',
{blank:'y'})">忘记密码?
</span>
<span
class=
"register"
@
click=
"CommonJump('Register',
{blank:'y'})" style="border-left: 1px solid rgb(169, 169, 169);">注册账号
</span>
<span
class=
"register"
@
click=
"CommonJump('Register',
{blank:'y'})"
style="border-left: 1px solid rgb(169, 169, 169);">注册账号
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -218,6 +219,7 @@
...
@@ -218,6 +219,7 @@
Account
:
''
,
//账号
Account
:
''
,
//账号
Password
:
''
,
//密码
Password
:
''
,
//密码
ValidataCode
:
''
,
//验证码
ValidataCode
:
''
,
//验证码
MallBaseId
:
0
,
//小程序Id
},
},
rules
:
{
rules
:
{
Account
:
[{
Account
:
[{
...
@@ -239,7 +241,9 @@
...
@@ -239,7 +241,9 @@
};
};
},
},
created
()
{
created
()
{
if
(
this
.
$route
.
query
.
mall_id
)
{
this
.
msg
.
MallBaseId
=
this
.
$route
.
query
.
mall_id
;
}
},
},
methods
:
{
methods
:
{
//登录
//登录
...
@@ -261,9 +265,7 @@
...
@@ -261,9 +265,7 @@
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/index"
path
:
"/index"
});
});
}
}
else
{
else
{
this
.
Info
(
res
.
data
.
message
);
this
.
Info
(
res
.
data
.
message
);
}
}
})
})
...
@@ -287,5 +289,4 @@
...
@@ -287,5 +289,4 @@
}
}
}
}
};
};
</
script
>
</
script
>
\ No newline at end of file
src/components/StoreDesign/EmployeesList.vue
View file @
b368623b
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<div
class=
"content"
>
<div
class=
"content"
>
<div>
<div>
<el-alert
title=
"员工登录入口链接:"
:closable=
'false'
type=
"info"
style=
"margin-bottom:20px;"
>
<el-alert
title=
"员工登录入口链接:"
:closable=
'false'
type=
"info"
style=
"margin-bottom:20px;"
>
<span
id=
"my_Link"
>
http://wx.weibaoge.cn/web/index.php?r=admin/passport/login
&
mall_id=MTI4NQ==
</span>
<span
id=
"my_Link"
>
{{
LoginUrl
}}
</span>
<el-button
size=
"mini"
style=
"margin-left:20px;"
@
click=
"copyCode()"
>
复制链接
</el-button>
<el-button
size=
"mini"
style=
"margin-left:20px;"
@
click=
"copyCode()"
>
复制链接
</el-button>
</el-alert>
</el-alert>
<div
class=
"searchInput"
>
<div
class=
"searchInput"
>
...
@@ -142,19 +142,31 @@
...
@@ -142,19 +142,31 @@
trigger
:
"blur"
trigger
:
"blur"
}]
}]
},
},
LoginUrl
:
""
,
//登录地址
};
};
},
},
created
()
{
created
()
{
},
},
methods
:
{
methods
:
{
GetLoginUrl
()
{
var
port
=
window
.
location
.
port
;
var
hostUrl
=
"http://"
;
if
(
port
==
80
)
{
hostUrl
+=
window
.
location
.
hostname
;
}
else
{
hostUrl
+=
window
.
location
.
host
;
}
hostUrl
+=
"/#/login?mall_id="
+
this
.
getLocalStorage
().
MallBaseId
;
this
.
LoginUrl
=
hostUrl
;
},
UpdatePwd
()
{
UpdatePwd
()
{
this
.
apipost
(
"/api/Employee/SetEmployeePwd"
,
this
.
pwdMsg
,
res
=>
{
this
.
apipost
(
"/api/Employee/SetEmployeePwd"
,
this
.
pwdMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
getList
();;
this
.
getList
();;
this
.
upPwddialog
=
false
;
this
.
upPwddialog
=
false
;
this
.
Success
(
res
.
data
.
message
);
this
.
Success
(
res
.
data
.
message
);
this
.
pwdMsg
.
EmpPwd
=
''
;
this
.
pwdMsg
.
EmpPwd
=
''
;
}
else
{
}
else
{
this
.
Info
(
res
.
data
.
message
);
this
.
Info
(
res
.
data
.
message
);
}
}
...
@@ -274,6 +286,7 @@
...
@@ -274,6 +286,7 @@
}
}
},
},
mounted
()
{
mounted
()
{
this
.
GetLoginUrl
();
this
.
getRoleList
();
this
.
getRoleList
();
this
.
getList
();
this
.
getList
();
}
}
...
...
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