| @@ -29,14 +29,14 @@ const getJobTypeLink = (record, type) => { | |||||
| const cloudbrain = type === 'INCREASE' ? record.Action?.Cloudbrain : record.Cloudbrain; | const cloudbrain = type === 'INCREASE' ? record.Action?.Cloudbrain : record.Cloudbrain; | ||||
| switch (cloudbrain?.JobType) { | switch (cloudbrain?.JobType) { | ||||
| case 'DEBUG': | case 'DEBUG': | ||||
| if (cloudbrain.Type === 0) { | |||||
| if (cloudbrain.Type == 2) { | |||||
| link += `/grampus/notebook/${cloudbrain.ID}`; | |||||
| } else { | |||||
| if (cloudbrain.ComputeResource === 'CPU/GPU') { | if (cloudbrain.ComputeResource === 'CPU/GPU') { | ||||
| link += `/cloudbrain/${cloudbrain.ID}`; | link += `/cloudbrain/${cloudbrain.ID}`; | ||||
| } else { | } else { | ||||
| link += `/modelarts/notebook/${cloudbrain.ID}`; | link += `/modelarts/notebook/${cloudbrain.ID}`; | ||||
| } | } | ||||
| } else { | |||||
| link += `/grampus/notebook/${cloudbrain.ID}`; | |||||
| } | } | ||||
| break; | break; | ||||
| case 'TRAIN': | case 'TRAIN': | ||||