Browse Source

update

tags/v1.22.12.2^2
chenshihai 3 years ago
parent
commit
798d7a24a4
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      web_src/vuepages/pages/reward/point/utils.js

+ 3
- 3
web_src/vuepages/pages/reward/point/utils.js View File

@@ -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':


Loading…
Cancel
Save