|
@@ -114,17 +114,17 @@
|
|
|
</div>
|
|
|
<div style="position: absolute;right: 0;color: #3FC9FD;top: 28rem;font-size: 9rem;">
|
|
|
<div style="display: inline-block;margin-right:6rem">
|
|
|
- <a target="view_window" :href="gosubsys('/guangpusonsystem/door','manager','admin123',1)">
|
|
|
+ <a target="view_window" :href="gosubsys('/guangpusonsystem/door','manager','admin123')">
|
|
|
<img style="width:20px;vertical-align: middle;margin-right:2px" src="../assets/images/txsb_selected@2x.png"/>光谱
|
|
|
</a>
|
|
|
</div>
|
|
|
<div
|
|
|
style="display: inline-block;margin-right:6rem">
|
|
|
- <a target="view_window" :href="gosubsys('/gas/index.html','js_admin','js@123456',1)">
|
|
|
+ <a target="view_window" :href="gosubsys('/gas/index.html','js_admin','js@123456')">
|
|
|
<img style="width:20px;vertical-align: middle;margin-right:2px" src="../assets/images/gpsb@2x.png"/>嗅探
|
|
|
</a></div>
|
|
|
<div style="display: inline-block;margin-right:9rem">
|
|
|
- <a target="view_window" :href="gosubsys('/heiyansonsystem','readwrite','OaUcu1jYZ4a',1)">
|
|
|
+ <a target="view_window" :href="gosubsys('/heiyansonsystem','readwrite','OaUcu1jYZ4a')">
|
|
|
<img style="width:20px;vertical-align: middle;margin-right:2px" src="../assets/images/heiyan@2x.png"/>黑烟
|
|
|
</a>
|
|
|
</div>
|
|
@@ -226,13 +226,13 @@ export default {
|
|
|
console.log("code=" + encodeURIComponent(CryptoJS.enc.Base64.stringify(CryptoJS.enc.Hex.parse(Encrypt(JSON.stringify(jsons))))));
|
|
|
},
|
|
|
methods: {
|
|
|
- gosubsys(url, username = "", password = "", opt = 1) {
|
|
|
+ gosubsys(url, username = "", password = "") {
|
|
|
const CryptoJS = require("crypto-js"); //引用AES源码js
|
|
|
var jsons = {
|
|
|
"username": username,
|
|
|
"password": password,
|
|
|
"timestamp": Date.parse(new Date()) / 1000,
|
|
|
- "optauth": opt
|
|
|
+ "optauth": 1
|
|
|
}
|
|
|
// console.log(jsons);
|
|
|
// console.log("code="+encodeURI(CryptoJS.enc.Base64.stringify(CryptoJS.enc.Hex.parse(Encrypt(JSON.stringify(jsons))))));
|