关联摄像头

This commit is contained in:
2023-02-01 16:23:55 +08:00
parent 1d18cfbbf1
commit 9cd1860db1
16 changed files with 829 additions and 69 deletions
+19 -6
View File
@@ -420,6 +420,13 @@
EnableMaximize="true" EnableResize="false">
</f:Window>
<asp:XmlDataSource ID="XmlDataSource1" runat="server" EnableCaching="false"></asp:XmlDataSource>
<f:SimpleForm ID="SimpleForm1" runat="server" ShowBorder="true" ShowHeader="false" Hidden="true"
LabelWidth="80px" BodyPadding="5px" Width="350px">
<Items>
<f:HiddenField runat="server" ID="hfProjectCode" ></f:HiddenField>
<f:HiddenField runat="server" ID="hfMonitorPW" ></f:HiddenField>
</Items>
</f:SimpleForm>
</form>
<script type="text/javascript">
var toolRefreshClientID = '<%= toolRefresh.ClientID %>';
@@ -640,12 +647,18 @@
var videoURL ='<%=VideoURL %>'
function openVideo() {
if (videoURL) {
window.open(videoURL, '_blank');
}
else {
alert("您没有权限!");
}
}
var username = $('#<%= hfProjectCode.ClientID %>-inputEl').val()
var password = $('#<%= hfMonitorPW.ClientID %>-inputEl').val();
if (password != "") {
window.open(videoURL + "login.html?username=" + username + "&password=" + password, '_blank');
} else {
alert("该项目未关联监控信息!");
}
}
else {
alert("您没有权限!");
}
}
// 激活选项卡,并刷新其中的内容,示例:表格控件->杂项->在新标签页中打开(关闭后更新父选项卡中的表格)
function activeTabAndUpdate(tabId, param1) {