Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SooonerHotel
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
吴贤德
SooonerHotel
Commits
ec123e03
Commit
ec123e03
authored
5 years ago
by
wangjiangze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分前端添加功能优化
parent
6a546299
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
add.html
SooonerHotel/App/Tpl/Hotel/zh-cn/Front/add.html
+8
-0
No files found.
SooonerHotel/App/Tpl/Hotel/zh-cn/Front/add.html
View file @
ec123e03
...
...
@@ -125,6 +125,8 @@ function submitForm(){
var
code_v
=
$
(
"input[name='code']"
).
val
();
var
ip_v
=
$
(
"input[name='ip']"
).
val
();
var
port_v
=
$
(
"input[name='port']"
).
val
();
var
virtual_ip_v
=
$
(
"input[name='virtual_ip']"
).
val
();
var
netcard_v
=
$
(
"input[name='netcard']"
).
val
();
if
(
hotel_id
==
0
){
alert
(
"请选择酒店"
);
return
;
...
...
@@ -140,6 +142,12 @@ function submitForm(){
}
if
(
!
port_v
){
alert
(
"请输入分前端端口"
);
return
;
}
if
(
!
virtual_ip_v
){
alert
(
"请输入虚拟IP"
);
return
;
}
if
(
!
netcard_v
){
alert
(
"请输入服务网卡名称"
);
return
;
}
$
(
'#ff'
).
form
(
'submit'
,
{
url
:
'/Hotel/Front/addHandle/'
,
...
...
This diff is collapsed.
Click to expand it.
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