|
|
|
@ -233,7 +233,7 @@ import '@/utils/WebScan';
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "Collection",
|
|
|
|
name: "Collection",
|
|
|
|
components: {Treeselect},
|
|
|
|
components: {Treeselect},
|
|
|
|
dicts: ['total_task', 'tatal_task_pic'],
|
|
|
|
dicts: ['total_task', 'tatal_task_pic', 'url'],
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
tsVisible: false,
|
|
|
|
tsVisible: false,
|
|
|
|
@ -295,9 +295,10 @@ export default {
|
|
|
|
WebScanInit(){
|
|
|
|
WebScanInit(){
|
|
|
|
|
|
|
|
|
|
|
|
let _this = this;
|
|
|
|
let _this = this;
|
|
|
|
|
|
|
|
let WebScanUrl = this.dict.type.url[0].value;
|
|
|
|
|
|
|
|
|
|
|
|
_this.WebScan = new WebScan({
|
|
|
|
_this.WebScan = new WebScan({
|
|
|
|
url:'http://localhost:18989/WebScan',
|
|
|
|
url: WebScanUrl,
|
|
|
|
wsUrl:'http://localhost:28989/',
|
|
|
|
wsUrl:'http://localhost:28989/',
|
|
|
|
licence:'V4tMKPYgFtW8vQr4C0s4/g=='
|
|
|
|
licence:'V4tMKPYgFtW8vQr4C0s4/g=='
|
|
|
|
});
|
|
|
|
});
|
|
|
|
@ -311,7 +312,6 @@ export default {
|
|
|
|
_this.WebScanGetDevices()
|
|
|
|
_this.WebScanGetDevices()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 获取设备列表
|
|
|
|
// 获取设备列表
|
|
|
|
WebScanGetDevices(){
|
|
|
|
WebScanGetDevices(){
|
|
|
|
|