diff --git a/aufs/ups.db b/aufs/ups.db index 1513e96..3e0c9be 100644 Binary files a/aufs/ups.db and b/aufs/ups.db differ diff --git a/vue/afvue/src/api/scinfo.js b/vue/afvue/src/api/scinfo.js index 3887150..5e2fd10 100644 --- a/vue/afvue/src/api/scinfo.js +++ b/vue/afvue/src/api/scinfo.js @@ -9,3 +9,12 @@ export function Sysinfo(host){ }) } + + +// 服务器的 +export function Sclist(host){ + return axios({ + url: host+'/scdb', + method: 'get' + }) +} \ No newline at end of file diff --git a/vue/afvue/src/views/Setting.vue b/vue/afvue/src/views/Setting.vue index 49bd095..6fc7e6f 100644 --- a/vue/afvue/src/views/Setting.vue +++ b/vue/afvue/src/views/Setting.vue @@ -31,26 +31,16 @@ 服务器端口 操作 - - 服务器1 - 192.168.1.1 - 8080 - - - - - - - 服务器2 - 192.168.1.2 - 8080 + + {{val.scname}} + {{val.addr}} + {{ val.port }} - - + @@ -122,3 +112,24 @@ tr:nth-child(odd) { background-color: #ffffff; } + \ No newline at end of file