generateVedio.html
2.47 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
<!DOCTYPE html>
<div id="tt" class="easyui-layout" fit="true" style="overflow-y: scroll">
<form name="vedioEditForm" id="vedioEditForm" method="post" enctype="multipart/form-data">
<input type="hidden" name="orderCode" id="orderCodeId"/>
<div style="margin-top: 20px;margin-left: 30px">
<table border="0" style="width:95%;margin-top:5px;line-height:30px;" id="tab">
<tr style="height: 60px">
<td width="15%"><span style="color:red">*</span>摄像头设备</td>
<td width="50%">
<input id="cameraCodeID" name="cameraCode" class="easyui-textbox" style="width: 380px;"/>
</td>
</tr>
<tr style="height: 60px" >
<td width="15%"><span style="color:red">*</span><label>视频时间</label></td>
<td colspan="3">
<input class="easyui-datetimebox" name="startTimeStr" id="startTime" data-options="required:true,showSeconds:true" style="width:200px"> ~
<input class="easyui-datetimebox" name="endTimeStr" id="endTime" data-options="required:true,showSeconds:true" style="width:200px">
</td>
</tr>
</table>
</div>
</form>
</div>
<script>
$(function () {
$('#vedioEditForm #orderCodeId').val(orderCodeEx);
$("#vedioEditForm #startTime").datetimebox({
required: true,
missingMessage: "开始时间不能为空",
prompt: "开始时间",
showSeconds : true
});
$("#vedioEditForm #endTime").datetimebox({
required: true,
missingMessage: "结束时间不能为空",
prompt: "结束时间",
showSeconds : true
});
$.ajax({
contentType: "application/json",
dataType: "json",
type: "GET",
async:false,
url: contextPath + '/live/queryCameraRecord',
success: function (data) {
if (data.code != 200 || !data.data || data.data.length == 0) {
return;
}
$("#cameraCodeID").myCombobox({
prompt: "选择摄像头",
width: 200,
data: data.data,
valueField: "cameraCode",
textField: "cameraName"
});
}
});
});
</script>