mirror of
https://github.com/newnius/YAO-portal.git
synced 2025-06-06 07:11:54 +00:00
update
This commit is contained in:
parent
dda8c65338
commit
72a5d1d299
2
ajax.php
2
ajax.php
@ -101,7 +101,7 @@ switch ($action) {
|
||||
|
||||
case 'job_predict_req':
|
||||
$job = new CRObject();
|
||||
$job->set('name', cr_get_POST('name', '') . '-' . time() . Random::randomInt(1000, 9999));
|
||||
$job->set('name', cr_get_POST('name', 'jobName'));
|
||||
$job->set('virtual_cluster', cr_get_POST('cluster'));
|
||||
$job->set('workspace', cr_get_POST('workspace'));
|
||||
$job->set('priority', cr_get_POST('priority'));
|
||||
|
@ -252,7 +252,8 @@ function load_jobs(scope) {
|
||||
title: 'Started At',
|
||||
align: 'center',
|
||||
valign: 'middle',
|
||||
formatter: timeFormatter
|
||||
formatter: timeFormatter,
|
||||
visible: false
|
||||
}, {
|
||||
field: 'updated_at',
|
||||
title: 'Updated At',
|
||||
|
Loading…
Reference in New Issue
Block a user