关联摄像头
This commit is contained in:
@@ -448,6 +448,13 @@
|
||||
<f:Button runat="server" CssClass="bgbtn" Text="协调与沟通" ID="btnDoc" OnClick="btnDoc_Click"
|
||||
EnablePostBack="true" EnableDefaultState="true" EnableDefaultCorner="false" OnClientClick="parent.removeActiveTab();" Hidden="true">
|
||||
</f:Button>
|
||||
<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 %>';
|
||||
@@ -544,7 +551,23 @@
|
||||
var $item = $('.f-tabstrip-header')
|
||||
$item.attr('style', ";display:block !important;")
|
||||
}
|
||||
// 点击标题栏工具图标 - 查看源代码
|
||||
var videoURL ='<%=VideoURL %>'
|
||||
|
||||
function openVideo() {
|
||||
if (videoURL) {
|
||||
var username = $('#<%= hfProjectCode.ClientID %>-inputEl').val()
|
||||
var password = $('#<%= hfMonitorPW.ClientID %>-inputEl').val();
|
||||
if (password != "") {
|
||||
window.open(videoURL + "#/screen?username=" + username + "&password=" + password, '_blank');
|
||||
} else {
|
||||
alert("该项目未关联监控信息!");
|
||||
}
|
||||
}
|
||||
else {
|
||||
alert("您没有权限!");
|
||||
}
|
||||
}
|
||||
function PDigDataClick() {
|
||||
parent.removeActiveTab();
|
||||
F(btnPDigDataClientID).click();
|
||||
|
||||
Reference in New Issue
Block a user