|
@@ -105,11 +105,11 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div style="position: absolute;right: 0;color: #3FC9FD;top: 28rem;font-size: 9rem;">
|
|
|
|
- <div style="display: inline-block;margin-right:6rem"><a :href="gosubsys('http://198.17.188.2','','',1)"><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 :href="gosubsys('http://198.17.188.2','admin','tksadmin',2)"><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:20rem"><a :href="gosubsys('http://198.17.188.6:8090','admin','word',1)" ><img style="width:20px;vertical-align: middle;margin-right:2px" src="../assets/images/heiyan@2x.png"/>黑烟</a></div>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div style="position: absolute;right: 0;color: #3FC9FD;top: 28rem;font-size: 9rem;">
|
|
|
|
+ <div style="display: inline-block;margin-right:6rem"><a :href="gosubsys('http://198.17.188.2','','',1)"><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 :href="gosubsys('http://198.17.188.2','admin','tksadmin',2)"><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:20rem"><a :href="gosubsys('http://198.17.188.6:8090','admin','word',1)"><img style="width:20px;vertical-align: middle;margin-right:2px" src="../assets/images/heiyan@2x.png"/>黑烟</a></div>
|
|
|
|
+ </div>
|
|
<div class="center_content">
|
|
<div class="center_content">
|
|
|
|
|
|
<xtTable v-show="showTable == 1"></xtTable>
|
|
<xtTable v-show="showTable == 1"></xtTable>
|
|
@@ -120,7 +120,7 @@
|
|
<liuTable v-if="showTable==6"></liuTable>
|
|
<liuTable v-if="showTable==6"></liuTable>
|
|
<roleTable v-if="showTable==7"></roleTable>
|
|
<roleTable v-if="showTable==7"></roleTable>
|
|
<homeTable v-if="showTable==8"></homeTable>
|
|
<homeTable v-if="showTable==8"></homeTable>
|
|
- <!-- 9黑烟;10光谱http://101.133.159.237:8087/device.html?opt=1;11嗅探http://198.17.188.2:81/index.html?opt=1 -->
|
|
|
|
|
|
+ <!-- 9黑烟;10光谱http://101.133.159.237:8087/device.html?opt=1;11嗅探 -->
|
|
<iframe style="height:350rem;width:100%" v-show="showTable==9" marginwidth="0" marginheight="0" vspace="0"
|
|
<iframe style="height:350rem;width:100%" v-show="showTable==9" marginwidth="0" marginheight="0" vspace="0"
|
|
hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" frameborder="0" name="showHere"
|
|
hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" frameborder="0" name="showHere"
|
|
src="http://198.17.23.29:8091/?opt=1"
|
|
src="http://198.17.23.29:8091/?opt=1"
|
|
@@ -131,7 +131,7 @@
|
|
></iframe>
|
|
></iframe>
|
|
<iframe style="height:350rem;width:100%" v-show="showTable==11" marginwidth="0" marginheight="0" vspace="0"
|
|
<iframe style="height:350rem;width:100%" v-show="showTable==11" marginwidth="0" marginheight="0" vspace="0"
|
|
hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" frameborder="0" name="showHere"
|
|
hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" frameborder="0" name="showHere"
|
|
- src="http://198.17.25.32:9011/index.html?opt=1"
|
|
|
|
|
|
+ src="http://198.17.188.2:81/?opt=1"
|
|
></iframe>
|
|
></iframe>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@@ -167,7 +167,7 @@ import logininforTable from './monitor/logininfor/index.vue'
|
|
import liuTable from './components/table/liuTable.vue'
|
|
import liuTable from './components/table/liuTable.vue'
|
|
import homeTable from './components/table/homeTable.vue'
|
|
import homeTable from './components/table/homeTable.vue'
|
|
|
|
|
|
-import { Decrypt, Encrypt } from "../utils/ruoyi.js";
|
|
|
|
|
|
+import {Encrypt} from "../utils/ruoyi.js";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
@@ -191,29 +191,29 @@ export default {
|
|
menuShow: 0
|
|
menuShow: 0
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- mounted:function(){
|
|
|
|
|
|
+ mounted: function () {
|
|
const CryptoJS = require("crypto-js"); //引用AES源码js
|
|
const CryptoJS = require("crypto-js"); //引用AES源码js
|
|
var jsons = {
|
|
var jsons = {
|
|
- "username":"",
|
|
|
|
- "password":"",
|
|
|
|
- "timestamp":Date.parse(new Date())/1000,
|
|
|
|
- "optauth":1
|
|
|
|
|
|
+ "username": "",
|
|
|
|
+ "password": "",
|
|
|
|
+ "timestamp": Date.parse(new Date()) / 1000,
|
|
|
|
+ "optauth": 1
|
|
}
|
|
}
|
|
console.log(jsons);
|
|
console.log(jsons);
|
|
- console.log("code="+encodeURIComponent(CryptoJS.enc.Base64.stringify(CryptoJS.enc.Hex.parse(Encrypt(JSON.stringify(jsons))))));
|
|
|
|
|
|
+ console.log("code=" + encodeURIComponent(CryptoJS.enc.Base64.stringify(CryptoJS.enc.Hex.parse(Encrypt(JSON.stringify(jsons))))));
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- gosubsys(url,username="",password="",opt=1){
|
|
|
|
- const CryptoJS = require("crypto-js"); //引用AES源码js
|
|
|
|
- var jsons = {
|
|
|
|
- "username":username,
|
|
|
|
- "password":password,
|
|
|
|
- "timestamp":Date.parse(new Date())/1000,
|
|
|
|
- "optauth":opt
|
|
|
|
- }
|
|
|
|
- // console.log(jsons);
|
|
|
|
- // console.log("code="+encodeURI(CryptoJS.enc.Base64.stringify(CryptoJS.enc.Hex.parse(Encrypt(JSON.stringify(jsons))))));
|
|
|
|
- return url+"?"+"code="+encodeURIComponent(CryptoJS.enc.Base64.stringify(CryptoJS.enc.Hex.parse(Encrypt(JSON.stringify(jsons)))));
|
|
|
|
|
|
+ gosubsys(url, username = "", password = "", opt = 1) {
|
|
|
|
+ const CryptoJS = require("crypto-js"); //引用AES源码js
|
|
|
|
+ var jsons = {
|
|
|
|
+ "username": username,
|
|
|
|
+ "password": password,
|
|
|
|
+ "timestamp": Date.parse(new Date()) / 1000,
|
|
|
|
+ "optauth": opt
|
|
|
|
+ }
|
|
|
|
+ // console.log(jsons);
|
|
|
|
+ // console.log("code="+encodeURI(CryptoJS.enc.Base64.stringify(CryptoJS.enc.Hex.parse(Encrypt(JSON.stringify(jsons))))));
|
|
|
|
+ return url + "?" + "code=" + encodeURIComponent(CryptoJS.enc.Base64.stringify(CryptoJS.enc.Hex.parse(Encrypt(JSON.stringify(jsons)))));
|
|
|
|
|
|
},
|
|
},
|
|
goTarget(href) {
|
|
goTarget(href) {
|