1
0
mirror of https://github.com/newnius/YAO-portal.git synced 2025-06-07 15:41:56 +00:00
This commit is contained in:
Newnius 2020-06-30 23:35:43 +08:00
parent dda8c65338
commit 72a5d1d299
2 changed files with 3 additions and 2 deletions

View File

@ -101,7 +101,7 @@ switch ($action) {
case 'job_predict_req': case 'job_predict_req':
$job = new CRObject(); $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('virtual_cluster', cr_get_POST('cluster'));
$job->set('workspace', cr_get_POST('workspace')); $job->set('workspace', cr_get_POST('workspace'));
$job->set('priority', cr_get_POST('priority')); $job->set('priority', cr_get_POST('priority'));

View File

@ -252,7 +252,8 @@ function load_jobs(scope) {
title: 'Started At', title: 'Started At',
align: 'center', align: 'center',
valign: 'middle', valign: 'middle',
formatter: timeFormatter formatter: timeFormatter,
visible: false
}, { }, {
field: 'updated_at', field: 'updated_at',
title: 'Updated At', title: 'Updated At',