|
|
@ -42,17 +42,21 @@ export default { |
|
|
dstip: '', |
|
|
dstip: '', |
|
|
flist: [], |
|
|
flist: [], |
|
|
spath: '/', // 当前的目录 |
|
|
spath: '/', // 当前的目录 |
|
|
|
|
|
sport: 9098, // 服务器运行端口 |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
|
this.srcip = this.$route.query.srcip |
|
|
this.srcip = this.$route.query.srcip |
|
|
|
|
|
this.sport = this.$route.query.sport |
|
|
this.getFlist() |
|
|
this.getFlist() |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
getFlist() { |
|
|
getFlist() { |
|
|
GetFileList({ |
|
|
GetFileList({ |
|
|
srcip: this.srcip, |
|
|
srcip: this.srcip, |
|
|
path: this.spath |
|
|
path: this.spath, |
|
|
|
|
|
sport: this.sport |
|
|
|
|
|
|
|
|
}).then(res => { |
|
|
}).then(res => { |
|
|
// console.log(res) |
|
|
// console.log(res) |
|
|
this.flist = res.data.list |
|
|
this.flist = res.data.list |
|
|
|