|
|
|
|
@ -310,7 +310,7 @@ import { listCatalog } from "@/api/dangan/catalog";
|
|
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
|
|
import { getCabinetTree } from "@/api/dangan/cabinet";
|
|
|
|
|
import { collectSaves, collectRecongnize, reRecongnize } from "@/api/dangan/collection";
|
|
|
|
|
import { collectSaves, collectRecongnize, getIp } from "@/api/dangan/collection";
|
|
|
|
|
import { listTask } from "@/api/dangan/task";
|
|
|
|
|
import '@/utils/WebScan';
|
|
|
|
|
|
|
|
|
|
@ -410,15 +410,20 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
this.getDeptTree();
|
|
|
|
|
this.getIpAdress();
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
getIpAdress(){
|
|
|
|
|
getIp().then(response => {
|
|
|
|
|
this.Ip = response
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 初始化
|
|
|
|
|
WebScanInit(){
|
|
|
|
|
|
|
|
|
|
let _this = this;
|
|
|
|
|
|
|
|
|
|
_this.WebScan = new WebScan({
|
|
|
|
|
url: "http://"+this.$store.state.user.ip+":18989/WebScan",
|
|
|
|
|
url: "http://"+this.Ip+":18989/WebScan",
|
|
|
|
|
wsUrl:'http://localhost:28989/',
|
|
|
|
|
licence:'V4tMKPYgFtW8vQr4C0s4/g=='
|
|
|
|
|
});
|
|
|
|
|
|