This commit is contained in:
parent
6bc1c3c7e1
commit
97331f810b
|
@ -9,6 +9,7 @@
|
||||||
<script src="lib/flex.js"></script>
|
<script src="lib/flex.js"></script>
|
||||||
<link rel="stylesheet" href="css/safetyproduction.css"/>
|
<link rel="stylesheet" href="css/safetyproduction.css"/>
|
||||||
<link rel="stylesheet" href="../res/assets/css/xfk.css"/>
|
<link rel="stylesheet" href="../res/assets/css/xfk.css"/>
|
||||||
|
<script src="~/res/js/crypto-js.min.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<form id="form1" runat="server">
|
<form id="form1" runat="server">
|
||||||
|
@ -451,9 +452,12 @@
|
||||||
|
|
||||||
|
|
||||||
} else if (type == 'Video') {
|
} else if (type == 'Video') {
|
||||||
var videoURL ='<%=VideoURL %>'
|
var videoURL = '<%=VideoURL %>'
|
||||||
window.open(videoURL + "#/screen", '_blank'); //视频监控
|
var username = 'admin'
|
||||||
|
var password = '<%=PassWord %>';
|
||||||
|
var sign = CryptoJS.AES.encrypt(username + "$" + password + "$" + Date.now(), "nbd").toString();
|
||||||
|
sign = encodeURIComponent(sign);
|
||||||
|
window.open(videoURL + "login.html?sign=" + sign, '_blank');
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (type == 'HighRiskWorkPermit') {
|
else if (type == 'HighRiskWorkPermit') {
|
||||||
|
@ -981,6 +985,6 @@
|
||||||
aPassChart.setOption(opt);
|
aPassChart.setOption(opt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue