Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
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
西魏
cms_sys
Commits
14b4eefd
Commit
14b4eefd
authored
Jan 29, 2019
by
ms-dev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '4.7.0' of
https://gitee.com/tianbinjie/MCMS
into 4.7.0
# Conflicts: # src/main/webapp/WEB-INF/manager/login.ftl
parents
42fb675a
fa9020e2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
9 deletions
+23
-9
index.ftl
src/main/webapp/WEB-INF/manager/index.ftl
+7
-4
login.ftl
src/main/webapp/WEB-INF/manager/login.ftl
+4
-1
reset-password.ftl
src/main/webapp/WEB-INF/manager/reset-password.ftl
+12
-4
No files found.
src/main/webapp/WEB-INF/manager/index.ftl
View file @
14b4eefd
...
@@ -2,12 +2,14 @@
...
@@ -2,12 +2,14 @@
<html>
<html>
<head>
<head>
<title></title>
<title></title>
<!-- <#include "/include/head-file.ftl"/> -->
<
#
include
"/
include
/
head-file
.
ftl
"
/>
<!-- <link rel="stylesheet" href="${base}/static/ms-admin/4.7.0/css/index.css"> -->
<
#
include
"/
reset-password
.
ftl
"
/>
<
#
include
"/
exit-system
.
ftl
"
/>
<link
rel=
"stylesheet"
href=
"${base}/static/ms-admin/4.7.0/css/index.css"
>
<!--#include virtual="include/head-file.ftl" -->
<!--#include virtual="include/head-file.ftl" -->
<!--#include virtual="./reset-password.ftl" -->
<!--#include virtual="./reset-password.ftl" -->
<!--#include virtual="./exit-system.ftl" -->
<!--#include virtual="./exit-system.ftl" -->
<
link
rel=
"stylesheet"
href=
"../../../static/ms-admin/4.7.0/css/index.css"
>
<
!--<link rel="stylesheet" href="../../../static/ms-admin/4.7.0/css/index.css">-->
</head>
</head>
<body>
<body>
...
@@ -174,7 +176,7 @@
...
@@ -174,7 +176,7 @@
// 菜单列表
// 菜单列表
list
:
function
(){
list
:
function
(){
var
that
=
this
;
var
that
=
this
;
ms
.
http
.
get
(
ms
.
manager
+
"/model/list.do"
)
ms
.
http
.
post
(
ms
.
manager
+
"/model/list.do"
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
that
.
menuList
=
data
.
rows
that
.
menuList
=
data
.
rows
},
(
err
)
=>
{
},
(
err
)
=>
{
...
@@ -242,6 +244,7 @@
...
@@ -242,6 +244,7 @@
ms
.
http
.
get
(
ms
.
manager
+
"/basic/manager/get.do"
)
ms
.
http
.
get
(
ms
.
manager
+
"/basic/manager/get.do"
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
that
.
peopleInfo
=
data
that
.
peopleInfo
=
data
resetPasswordVue
.
resetPasswordForm
.
managerName
=
that
.
peopleInfo
.
managerName
},
(
err
)
=>
{
},
(
err
)
=>
{
that
.
$message
.
error
(
err
);
that
.
$message
.
error
(
err
);
})
})
...
...
src/main/webapp/WEB-INF/manager/login.ftl
View file @
14b4eefd
...
@@ -54,11 +54,12 @@
...
@@ -54,11 +54,12 @@
loginForm
:
{
loginForm
:
{
managerName
:
''
,
managerName
:
''
,
managerPassword
:
""
,
managerPassword
:
""
,
rand_code
:
''
,
rand_code
:
''
},
},
verifCode
:
ms
.
manager
+
"/code?t="
+
new
Date
().
getTime
(),
verifCode
:
ms
.
manager
+
"/code?t="
+
new
Date
().
getTime
(),
rememberPass
:
''
,
rememberPass
:
''
,
loginFormRule
:
{
loginFormRule
:
{
managerName
:
[{
managerName
:
[{
required
:
true
,
required
:
true
,
message
:
'请输入用户名'
,
message
:
'请输入用户名'
,
...
@@ -129,4 +130,5 @@
...
@@ -129,4 +130,5 @@
this
.
verifCode
=
ms
.
manager
+
"/code?t="
+
new
Date
().
getTime
()
this
.
verifCode
=
ms
.
manager
+
"/code?t="
+
new
Date
().
getTime
()
}
}
})
})
</script>
</script>
\ No newline at end of file
src/main/webapp/WEB-INF/manager/reset-password.ftl
View file @
14b4eefd
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</el-form>
</el-form>
<div slot="footer" class="dialog-footer">
<div slot="footer" class="dialog-footer">
<el-button @click="isShow = false">取 消</el-button>
<el-button @click="isShow = false">取 消</el-button>
<el-button type="primary" @click="update
">更新密码</el-button>
<el-button type="primary" @click="update
Password">更新密码</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -27,13 +27,21 @@
...
@@ -27,13 +27,21 @@
resetPasswordForm: {
resetPasswordForm: {
managerName: '',
managerName: '',
oldManagerPassword: '',
oldManagerPassword: '',
newManagerPassword:
"",
newManagerPassword:
'',
}
}
},
},
methods: {
methods: {
// 更新密码
// 更新密码
update: function () {
updatePassword: function () {
isShow = false
var that = this;
ms.http.post(ms.manager + "/updatePassword.do",that.resetPasswordForm)
.then((data)=>{
that.resetPasswordForm.oldManagerPassword = '';
that.resetPasswordForm.newManagerPassword = '';
that.isShow = false;
}, (err) => {
that.$message.error(err);
})
}
}
}
}
})
})
...
...
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