档案采集

master
wanglei 1 year ago
parent 934f1a9770
commit 6121e27379

@ -34,6 +34,14 @@ export function collectRecongnize(data) {
})
}*/
// 查询档案目录详细
export function getIp() {
return request({
url: '/dangan/search/ip',
method: 'get'
})
}
// 重新提交识别
export function reRecongnize(data) {

@ -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=='
});

Loading…
Cancel
Save