liveApplyDetail.html
20.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head th:replace="../templates/common/head::head"></head>
<body class="skin-blue sidebar-mini">
<div class="wrapper">
<div th:replace="../templates/common/frame::frame"></div>
<div class="content-wrapper" style="min-height: 788px;">
<section class="content-header">
<h1>
直播申请详情
</h1>
<ol class="breadcrumb">
<li> 首页</li>
<li class="active">直播审核</li>
</ol>
</section>
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box box-info">
<div class="box-body form-horizontal">
<div align="center" id="tabContents" class="tab-content">
<span style="font-size:30px;font-weight: bold;color:#F4A460;">中国网家家直播申请单</span>
<table border="1" style="background-color:#F5FFFA;width:80%;font-size:20px" id="table">
<tr align="center" valign="middle" height="40px">
<td width="25%">直播发起人</td>
<td width="30%" colspan="2">
<span style="color:#DC143C"
th:text="${shyLiveapply.sender}">11111111111111</span>
</td>
<td width="15%">联系方式</td>
<td width="30%" colspan="2">
<span style="color:#DC143C"
th:text="${shyLiveapply.mobile}">11111111111111</span>
</td>
</tr>
<tr align="center" valign="middle" height="40px">
<td>直播发起单位</td>
<td colspan="5">
<span style="color:#DC143C" th:text="${shyLiveapply.organization}">11111111111111</span>
</td>
</tr>
<tr align="center" valign="middle" height="40px">
<td>直播主题</td>
<td colspan="5">
<span style="color:#DC143C"
th:text="${shyLiveapply.theme}">11111111111111</span>
</td>
</tr>
<tr align="center" valign="middle" height="40px">
<td>直播时间</td>
<td colspan="5">
<span style="color:#DC143C"
th:text="${#dates.format(shyLiveapply.pre_start_time, 'yyyy-MM-dd HH:mm:ss')}">11111111111111</span>
<span>~</span>
<span style="color:#DC143C"
th:text="${#dates.format(shyLiveapply.pre_end_time, 'yyyy-MM-dd HH:mm:ss')}">11111111111111</span>
</td>
</tr>
<tr align="center" valign="middle" height="40px">
<td>商务模式</td>
<td colspan="5">
<input type="checkbox" style="height: 24px;width: 24px;"
th:checked="${shyLiveapply.business_model==0}" disabled/>
<span th:style="${shyLiveapply.business_model==0?'color:#DC143C':''}">免费</span>
<span> </span>
<input type="checkbox" style="height: 24px;width: 24px;"
th:checked="${shyLiveapply.business_model==1}" disabled/>
<span th:style="${shyLiveapply.business_model==1?'color:#DC143C':''}">收费</span>
</td>
</tr>
<tr align="center" valign="middle" height="40px">
<td>直播类型</td>
<td colspan="5">
<span style="color:#DC143C" th:text="${shyLiveapply.live_type}">11111111111111</span>
</td>
</tr>
<tr align="center" valign="middle" height="40px">
<td>内容属性</td>
<td colspan="5">
<input type="checkbox" style="height: 24px;width: 24px;"
th:checked="${shyLiveapply.content_property==1}" disabled/>
<span th:style="${shyLiveapply.content_property==1?'color:#DC143C':''}">商业类活动</span>
<span> </span>
<input type="checkbox" style="height: 24px;width: 24px;"
th:checked="${shyLiveapply.content_property==0}" disabled/>
<span th:style="${shyLiveapply.content_property==0?'color:#DC143C':''}">非商业类活动</span>
</td>
</tr>
<tr align="center" valign="middle" height="100px">
<td>内容简述</td>
<td colspan="5">
<span style="color:#DC143C" th:text="${shyLiveapply.simple_content}">11111111111111</span>
</td>
</tr>
<tr align="center" valign="middle" height="40px">
<td>要点报备</td>
<td colspan="5">
<input type="checkbox" style="height: 24px;width: 24px;"
th:checked="${#strings.contains(shyLiveapply.point_key,'0')}"
disabled/>
<span th:style="${#strings.contains(shyLiveapply.point_key,'0')?'color:#DC143C':''}">品牌植入</span>
<span> </span>
<input type="checkbox" style="height: 24px;width: 24px;"
th:checked="${#strings.contains(shyLiveapply.point_key,'1')}"
disabled/>
<span th:style="${#strings.contains(shyLiveapply.point_key,'1')?'color:#DC143C':''}">广告植入</span>
<span> </span>
<input type="checkbox" style="height: 24px;width: 24px;"
th:checked="${#strings.contains(shyLiveapply.point_key,'2')}"
disabled/>
<span th:style="${#strings.contains(shyLiveapply.point_key,'2')?'color:#DC143C':''}">商品推销</span>
<span> </span>
<input type="checkbox" style="height: 24px;width: 24px;"
th:checked="${#strings.contains(shyLiveapply.point_key,'3')}"
disabled/>
<span th:style="${#strings.contains(shyLiveapply.point_key,'3')?'color:#DC143C':''}">网家家独家麦标</span>
</td>
</tr>
<tr align="center" valign="middle" height="40px">
<td>直播地点</td>
<td colspan="5">
<span style="color:#DC143C" th:text="${shyLiveapply.live_place}">11111111111111</span>
</td>
</tr>
<tr align="center" valign="middle" height="40px">
<td>推流地址</td>
<td colspan="5">
<span style="color:#DC143C" th:text="${shyLiveapply.push_url}">11111111111111</span>
</td>
</tr>
<tr align="center" valign="middle" height="40px">
<td>拉流地址</td>
<td colspan="5">
<span style="color:#DC143C" th:text="${shyLiveapply.pull_source}">11111111111111</span>
<span>,</span>
<span style="color:#DC143C" th:text="${shyLiveapply.pull_url}">11111111111111</span>
</td>
</tr>
<tr align="center" valign="middle" height="40px">
<td>播出平台及通道</td>
<td colspan="5">
<input type="checkbox" style="height: 24px;width: 24px;"
th:checked="${#strings.contains(shyLiveapply.platforms,'0')}"
disabled/>
<span th:style="${#strings.contains(shyLiveapply.platforms,'0')?'color:#DC143C':''}">网家家</span>
<span> </span>
<input type="checkbox" style="height: 24px;width: 24px;"
th:checked="${#strings.contains(shyLiveapply.platforms,'1')}"
disabled/>
<span th:style="${#strings.contains(shyLiveapply.platforms,'1')?'color:#DC143C':''}">CNlive网站</span>
<span> </span>
<input type="checkbox" style="height: 24px;width: 24px;"
th:checked="${#strings.contains(shyLiveapply.platforms,'2')}"
disabled/>
<span th:style="${#strings.contains(shyLiveapply.platforms,'2')?'color:#DC143C':''}">@TV互动电视</span>
<!-- <span> </span> -->
<!-- <input type="checkbox" style="height: 24px;width: 24px;" disabled/>其他平台 -->
</td>
</tr>
</table>
<hr>
<div class="form-group">
<label for="msg" class="control-label col-sm-2">审核结果信息:</label>
<div class="col-sm-9">
<textarea class="form-control" name="msg" cols="50" rows="4"
id="msg" th:text="${shyLiveapply.shenhe_msg}">审核信息</textarea>
</div>
</div>
<div class="form-group">
<label for="msg" class="control-label col-sm-2">邮件通知信息:</label>
<div class="col-sm-9">
<textarea class="form-control" name="msg" cols="50" rows="4"
id="msg"
th:text="${shyLiveapply.email_notice_msg}">审核信息</textarea>
</div>
</div>
</div>
<hr>
<div class="form-group">
<input type="text" hidden="hidden" id="shyLiveapply_id" th:value="${shyLiveapply.id}">
</div>
<div class="box-footer">
<div class="col-sm-5">
<button type="button" class="btn btn-danger pull-right" onclick="live(2);">拒 绝
</button>
</div>
<div class="col-sm-1" style="margin-right:26px;">
<button type="button" class="btn btn-primary pull-right" onclick="live(1);">通 过
</button>
</div>
<div class="col-sm-1">
<button type="button" class="btn btn-info pull-right"
onclick="self.location=document.referrer;">返回列表
</button>
</div>
</div>
<!-- 模态框(Modal) -->
<div class="modal fade" id="msgModal" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content" style="margin-top: 30%;">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
×
</button>
<h4 class="modal-title" id="myModalLabel">审核意见</h4>
</div>
<div class="modal-body">
<div class="form-group" style="margin-bottom: 0;">
<textarea id="reviewMsg" style="width: 100%;height: 80px;"></textarea>
</div>
<div class="form-group">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">取消
</button>
<button type="button" class="btn btn-primary"
onclick="javascript:repulseSubmit();">提交
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div>
<!-- /.modal -->
<script th:inline="javascript">
$(function () {
var url = "/liveApply/page";
$('ul.treeview-menu>li').removeClass("active");
$('.sidebar-menu>li').removeClass("active");
$('ul.treeview-menu>li').find('a[id="' + url + '"]').closest('li').addClass('active'); //二级链接高亮
$('ul.treeview-menu>li').find('a[id="' + url + '"]').closest('li.treeview').addClass('active'); //一级栏目[含二级链接]高亮
$('.sidebar-menu>li').find('a[id="' + url + '"]').closest('li').addClass('active'); //一级栏目[不含二级链接]高亮
})
var liveId = [[${shyLiveapply.id}]];
//审核操作,status=1为通过
function live(status) {
if (status == 1) {
var msg = "直播申请审核通过";
$.post("/liveApply/shenheLiveApply?ids=" + liveId + "&msg=" + msg + "&state=" + 1, function (data) {
if (data.errorCode == 0) {
//location.href = history.back();
alert(data.errorMessage);
self.location = document.referrer;
} else {
alert(data.errorMessage);
}
})
} else {
var r = confirm("您确定拒绝本条内容吗?");
if (r == true) {
$('#msgModal').modal('show');
}
}
}
//提交拒绝
function repulseSubmit() {
var msg = $("#reviewMsg").val();
if (msg == '') {
alert('请输入审核意见!');
return false;
}
$.post("/liveApply/shenheLiveApply?ids=" + liveId + "&msg=" + msg + "&state=" + 2, function (data) {
if (data.errorCode == 0) {
alert(data.errorMessage);
self.location = document.referrer;
} else {
alert(data.errorMessage);
}
})
}
</script>
</div>
</div>
</div>
</div>
</section>
</div>
<footer th:replace="../templates/common/foot::foot"></footer>
<div class="control-sidebar-bg" style="position: fixed; height: auto;"></div>
</div><!-- ./wrapper -->
<script type="text/javascript">
$('div.alert').not('.alert-danger').delay(3000).slideUp(300);
</script>
<script src="../../static/js/app.min.js"></script>
<script src="../../static/js/sidebar.js"></script>
</body>
</html>