...
|
...
|
@@ -700,8 +700,8 @@ function addRecordPage(skup, order_code, id) { |
|
|
var div = $("<div id='recordDiv'>").appendTo($(document.body));
|
|
|
var url = contextPath + "/html/judgeCenter/record.html";
|
|
|
$(div).myDialog({
|
|
|
width: "25%",
|
|
|
height: "20%",
|
|
|
width: "45%",
|
|
|
height: "35%",
|
|
|
title: "视频录制",
|
|
|
href: url,
|
|
|
modal: true,
|
...
|
...
|
@@ -713,12 +713,21 @@ function addRecordPage(skup, order_code, id) { |
|
|
iconCls: "icon-save",
|
|
|
onClick: function () {
|
|
|
if (!$('#startTime').val() || $('#startTime').val() == '') {
|
|
|
if ($("#cameraCode").myCombobox("getValue") == undefined || $("#cameraCode").myCombobox("getValue") == '')
|
|
|
{
|
|
|
window.self.$.messager.alert("失败", "先选择摄像头", "error");
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
|
|
|
timedCount();
|
|
|
$('#recordBtn').linkbutton({text:'结束录制'});
|
|
|
$('#startTime').val(parseInt(new Date().getTime() / 1000));
|
|
|
//$("#startTime").textbox('setValue',parseInt(new Date().getTime() / 1000));
|
|
|
} else if ($('#endTime').val() == '') {
|
|
|
stopCount();
|
|
|
$('#endTime').val(parseInt(new Date().getTime() / 1000));
|
|
|
// $("#endTime").textbox('setValue',parseInt(new Date().getTime() / 1000));
|
|
|
$('#recordBtn').linkbutton({text:'上传云端'});
|
|
|
} else if ($('#startTime').val() != '' && $('#endTime').val() != ''){
|
|
|
$('#recordBtn').linkbutton('disable');
|
...
|
...
|
@@ -726,7 +735,7 @@ function addRecordPage(skup, order_code, id) { |
|
|
id : id,
|
|
|
skup : skup,
|
|
|
orderCode : order_code,
|
|
|
cameraCode : $('#cameraCode').val(),
|
|
|
cameraCode : $("#cameraCode").myCombobox("getValue"),
|
|
|
startTime : $('#startTime').val(),
|
|
|
endTime : $('#endTime').val(),
|
|
|
depotNo: $("#depotNo").combobox("getValue")
|
...
|
...
|
|