新增分割片段名规则变更
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>
|
</el-switch>
|
||||||
<span style="margin-left: 5px;">{{
|
<span style="margin-left: 5px;">{{
|
||||||
$t('trials:reading:Segmentations:title:InactiveSegmentationsShow')
|
$t('trials:reading:Segmentations:title:InactiveSegmentationsShow')
|
||||||
}}</span>
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<template v-if="segmentList.length > 0">
|
<template v-if="segmentList.length > 0">
|
||||||
|
|
@ -766,7 +766,7 @@ export default {
|
||||||
return name
|
return name
|
||||||
},
|
},
|
||||||
getSegmentName(arr, num = 1) {
|
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 name = defaultSegmentName + num
|
||||||
let has = arr.find(item => item.SegmentLabel === name)
|
let has = arr.find(item => item.SegmentLabel === name)
|
||||||
num++
|
num++
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue