diff --git a/static/job.js b/static/job.js index 23b9ff0..959e4c9 100755 --- a/static/job.js +++ b/static/job.js @@ -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', diff --git a/static/resource.js b/static/resource.js index b7c3033..3fbb658 100755 --- a/static/resource.js +++ b/static/resource.js @@ -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)',