|
|
@ -63,16 +63,17 @@ export default { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
mounted(e) { |
|
|
mounted(e) { |
|
|
console.log("evv",e) |
|
|
// 获取url参数中的id |
|
|
th |
|
|
let id = this.$route.query.id |
|
|
this.getscdb() |
|
|
this.getscdb(id) |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
getscdb() { |
|
|
getscdb(sid) { |
|
|
let host ="http://localhost:9099" |
|
|
let host ="http://localhost:9099" |
|
|
Scedit(host,{ |
|
|
Scedit(host,{ |
|
|
id: this.scid |
|
|
id: sid |
|
|
}).then(res => { |
|
|
}).then(res => { |
|
|
|
|
|
console.log(res) |
|
|
if (res.code == 200) { |
|
|
if (res.code == 200) { |
|
|
this.serverlist = res.data |
|
|
this.serverlist = res.data |
|
|
} |
|
|
} |
|
|
|