新增分割片段名规则变更
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
d88f7c43b2
commit
a59509dd7d
|
|
@ -127,7 +127,7 @@
|
|||
</el-switch>
|
||||
<span style="margin-left: 5px;">{{
|
||||
$t('trials:reading:Segmentations:title:InactiveSegmentationsShow')
|
||||
}}</span>
|
||||
}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<template v-if="segmentList.length > 0">
|
||||
|
|
@ -766,7 +766,7 @@ export default {
|
|||
return name
|
||||
},
|
||||
getSegmentName(arr, num = 1) {
|
||||
let defaultSegmentName = arr[0].SegmentLabel
|
||||
let defaultSegmentName = this.trialCriterion && this.trialCriterion.DefaultSegmentName && this.trialCriterion.DefaultSegmentName.SegmentNameList && this.trialCriterion.DefaultSegmentName.SegmentNameList.length > 0 ? this.trialCriterion.DefaultSegmentName.SegmentNameList[0] : arr[0].SegmentLabel
|
||||
let name = defaultSegmentName + num
|
||||
let has = arr.find(item => item.SegmentLabel === name)
|
||||
num++
|
||||
|
|
|
|||
Loading…
Reference in New Issue