1
0
mirror of https://github.com/newnius/YAO-portal.git synced 2025-06-06 07:11:54 +00:00
This commit is contained in:
Newnius 2020-06-18 21:58:53 +08:00
parent 0fa136bb3b
commit bca2c854ab
2 changed files with 7 additions and 0 deletions

View File

@ -186,6 +186,12 @@ function load_jobs(scope) {
valign: 'middle',
formatter: statusFormatter,
visible: true
}, {
field: 'base_priority',
title: 'BasePriority',
align: 'center',
valign: 'middle',
visible: false
}, {
field: 'operate',
title: 'Operate',

View File

@ -71,6 +71,7 @@ function resourceResponseHandler(res) {
tmp["rows"] = [];
$.each(res["resources"], function (i, node) {
var item = {
'id': node.id,
'host': node.host,
'CPU': node.cpu_num,
'MEM': node.mem_available + ' / ' + node.mem_total + ' (GB)',