|
|
|
|
@ -410,20 +410,18 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
this.getDeptTree();
|
|
|
|
|
this.getIpAdress();
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
getIpAdress(){
|
|
|
|
|
getIp().then(response => {
|
|
|
|
|
this.Ip = response
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 初始化
|
|
|
|
|
WebScanInit(){
|
|
|
|
|
async WebScanInit(){
|
|
|
|
|
|
|
|
|
|
let Ip = await getIp().then(response => {
|
|
|
|
|
return response;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
let _this = this;
|
|
|
|
|
_this.WebScan = new WebScan({
|
|
|
|
|
url: "http://"+this.Ip+":18989/WebScan",
|
|
|
|
|
url: "http://"+Ip+":18989/WebScan",
|
|
|
|
|
wsUrl:'http://localhost:28989/',
|
|
|
|
|
licence:'V4tMKPYgFtW8vQr4C0s4/g=='
|
|
|
|
|
});
|
|
|
|
|
|