diff --git a/templates/front-project/src/api/api.js b/templates/front-project/src/api/api.js index eeca8cca4e142a90444d92ede478f7c504694cba..833d27ccc7802018bbf6ef45715194c53b591a22 100644 --- a/templates/front-project/src/api/api.js +++ b/templates/front-project/src/api/api.js @@ -233,4 +233,14 @@ export function apply_use_machine(data) { url: '/apply_use_machine/', data }) -} \ No newline at end of file +} + +//修改服务器系统信息 +export function modify_server(data) { + return service({ + method: 'post', + url: '/modify_server/', + data + }) +} + diff --git a/templates/front-project/src/views/machineViews/ServerList.vue b/templates/front-project/src/views/machineViews/ServerList.vue index c6552167ac8af074559378f818396fedf153890f..7c27cb0fe4ce2b173c7a8c2a30bcfe5ce06d300f 100644 --- a/templates/front-project/src/views/machineViews/ServerList.vue +++ b/templates/front-project/src/views/machineViews/ServerList.vue @@ -13,6 +13,7 @@ tooltip-effect="dark" border style="width: 100%"> + @@ -29,12 +30,34 @@ +
+ + + + + + + + + + + + + + + + + +