Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
LuJin-Im
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
yangzhaojun
LuJin-Im
Commits
214c0658
Commit
214c0658
authored
Jul 09, 2018
by
李博今
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改主页
修改bug
parent
acf30e84
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
web.xml
src/main/webapp/WEB-INF/web.xml
+1
-1
manager.jsp
src/main/webapp/manager.jsp
+4
-7
No files found.
src/main/webapp/WEB-INF/web.xml
View file @
214c0658
...
...
@@ -3,7 +3,7 @@
<display-name>
QIQIIM-SERVER
</display-name>
<welcome-file-list>
<welcome-file>
manager
.jsp
</welcome-file>
<welcome-file>
consultant
.jsp
</welcome-file>
</welcome-file-list>
<context-param>
...
...
src/main/webapp/manager.jsp
View file @
214c0658
...
...
@@ -95,11 +95,9 @@
var
forms
=
$
(
".layui-elem-field"
);
if
(
btntext
==
'取消注册'
){
forms
.
eq
(
0
).
show
();
forms
.
eq
(
1
).
show
();
forms
.
eq
(
2
).
hide
();
}
else
{
forms
.
eq
(
2
).
show
();
forms
.
eq
(
1
).
hide
();
}
else
{
forms
.
eq
(
1
).
show
();
forms
.
eq
(
0
).
hide
();
}
})
...
...
@@ -110,7 +108,7 @@
/* layer.alert(JSON.stringify(data.field), {
title: '最终的提交信息'
}) */
var
forms
=
$
(
".layui-elem-field"
);
//
var forms = $(".layui-elem-field");
$
.
ajax
({
type
:
"post"
,
url
:
"useraccount/save"
,
...
...
@@ -121,8 +119,7 @@
if
(
data
.
data
!=
null
&&
data
.
data
.
id
!=
null
){
layer
.
msg
(
"注册成功!"
);
forms
.
eq
(
0
).
show
();
forms
.
eq
(
1
).
show
();
forms
.
eq
(
2
).
hide
();
forms
.
eq
(
1
).
hide
();
}
else
{
layer
.
msg
(
"注册失败,请检查用户名是否重复!"
);
}
...
...
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