This commit is contained in:
李超 2025-09-18 10:20:26 +08:00
parent 6bc1c3c7e1
commit 97331f810b
1 changed files with 8 additions and 4 deletions

View File

@ -9,6 +9,7 @@
<script src="lib/flex.js"></script>
<link rel="stylesheet" href="css/safetyproduction.css"/>
<link rel="stylesheet" href="../res/assets/css/xfk.css"/>
<script src="~/res/js/crypto-js.min.js"></script>
</head>
<body>
<form id="form1" runat="server">
@ -452,8 +453,11 @@
} else if (type == 'Video') {
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') {