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
71799c83
Commit
71799c83
authored
Aug 19, 2019
by
wangjiangze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新媒资注入、播控、播单
parent
86e785a3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
2 deletions
+20
-2
add.html
SooonerHotel/App/Tpl/Inject/zh-cn/Inject/add.html
+8
-0
add.html
SooonerHotel/App/Tpl/Media/zh-cn/Playlist/add.html
+4
-2
add.html
SooonerHotel/App/Tpl/Playctrl/zh-cn/PlayCtrl/add.html
+8
-0
No files found.
SooonerHotel/App/Tpl/Inject/zh-cn/Inject/add.html
View file @
71799c83
...
...
@@ -127,10 +127,18 @@ jQuery(document).ready(function($) {
<script
type=
"text/javascript"
>
function
submitForm
(){
var
name_v
=
$
(
"input[name='name']"
).
val
();
var
hotel_lists_count
=
$
(
"select[name='hotel_lists[]'] option"
).
length
;
var
media_lists_count
=
$
(
"select[name='media_lists[]'] option"
).
length
;
if
(
!
name_v
){
alert
(
"请输入任务名称"
);
return
;
}
if
(
hotel_lists_count
==
0
){
alert
(
"请选择酒店"
);
return
;
}
if
(
media_lists_count
==
0
){
alert
(
"请选择媒资"
);
return
;
}
$
(
"select[name='hotel_lists[]'] option"
).
prop
(
"selected"
,
true
);
$
(
"select[name='media_lists[]'] option"
).
prop
(
"selected"
,
true
);
...
...
SooonerHotel/App/Tpl/Media/zh-cn/Playlist/add.html
View file @
71799c83
...
...
@@ -97,11 +97,13 @@ jQuery(document).ready(function($) {
<script
type=
"text/javascript"
>
function
submitForm
(){
var
name_v
=
$
(
"input[name='name']"
).
val
();
var
media_lists_count
=
$
(
"select[name='media_lists[]'] option"
).
length
;
if
(
!
name_v
){
alert
(
"请输入播单名称"
);
return
;
}
if
(
media_lists_count
==
0
){
alert
(
"请选择媒资"
);
return
;
}
$
(
"select[name='media_lists[]'] option"
).
prop
(
"selected"
,
true
);
$
(
'#ff'
).
form
(
'submit'
,
{
url
:
'/Media/Playlist/addHandle/'
,
...
...
SooonerHotel/App/Tpl/Playctrl/zh-cn/PlayCtrl/add.html
View file @
71799c83
...
...
@@ -151,10 +151,18 @@ jQuery(document).ready(function($) {
<script
type=
"text/javascript"
>
function
submitForm
(){
var
name_v
=
$
(
"input[name='name']"
).
val
();
var
hotel_lists_count
=
$
(
"select[name='hotel_lists[]'] option"
).
length
;
var
media_lists_count
=
$
(
"select[name='media_lists[]'] option"
).
length
;
if
(
!
name_v
){
alert
(
"请输入任务名称"
);
return
;
}
if
(
hotel_lists_count
==
0
){
alert
(
"请选择酒店"
);
return
;
}
if
(
media_lists_count
==
0
){
alert
(
"请选择媒资"
);
return
;
}
$
(
"select[name='hotel_lists[]'] option"
).
prop
(
"selected"
,
true
);
$
(
"select[name='media_lists[]'] option"
).
prop
(
"selected"
,
true
);
...
...
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