lugano病灶融合
parent
f0dd5398c8
commit
fcc239b54e
|
@ -680,6 +680,14 @@ export default {
|
||||||
const imageId = this.stack.imageIds[this.stack.currentImageIdIndex]
|
const imageId = this.stack.imageIds[this.stack.currentImageIdIndex]
|
||||||
ToolStateManager.clearImageIdToolState(imageId)
|
ToolStateManager.clearImageIdToolState(imageId)
|
||||||
cornerstone.updateImage(this.canvas, true)
|
cornerstone.updateImage(this.canvas, true)
|
||||||
|
var criterionType = parseInt(localStorage.getItem('CriterionType'))
|
||||||
|
if (this.isFirstChangeTask) {
|
||||||
|
this.disabledMarks = this.getDisabledMarks(this.visitTaskList[idx].MeasureData)
|
||||||
|
} else if (criterionType === 2) {
|
||||||
|
this.disabledMarks = this.getMergeMarks(this.visitTaskList[idx].MeasureData)
|
||||||
|
} else {
|
||||||
|
this.disabledMarks = []
|
||||||
|
}
|
||||||
return true
|
return true
|
||||||
},
|
},
|
||||||
onContextmenu(event) {
|
onContextmenu(event) {
|
||||||
|
|
|
@ -470,6 +470,17 @@ export default {
|
||||||
sdiIncrease = isNaN(parseFloat(sdiIncrease)) ? 0 : parseFloat(sdiIncrease)
|
sdiIncrease = isNaN(parseFloat(sdiIncrease)) ? 0 : parseFloat(sdiIncrease)
|
||||||
|
|
||||||
if (!this.isBaseLineTask && state === 4 && this.lesionType === 0 && ldi && pddIncrease && ldiIncrease && sdiIncrease) {
|
if (!this.isBaseLineTask && state === 4 && this.lesionType === 0 && ldi && pddIncrease && ldiIncrease && sdiIncrease) {
|
||||||
|
/** 融合主病灶疾病进展
|
||||||
|
* 当前融合靶病灶LDi>15
|
||||||
|
* 相比最低点PPD增加百分比 ≥50%
|
||||||
|
**/
|
||||||
|
if (this.answers.SplitOrMergeType === '4') {
|
||||||
|
if (ldi > 15 && pddIncrease >= 50) {
|
||||||
|
this.stateDisabled = true
|
||||||
|
} else {
|
||||||
|
this.stateDisabled = false
|
||||||
|
}
|
||||||
|
} else {
|
||||||
if (this.splitLesionTargetPDD) {
|
if (this.splitLesionTargetPDD) {
|
||||||
var minPPD = this.getQuestionVal(13)
|
var minPPD = this.getQuestionVal(13)
|
||||||
minPPD = parseFloat(minPPD)
|
minPPD = parseFloat(minPPD)
|
||||||
|
@ -492,6 +503,7 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
this.stateDisabled = false
|
this.stateDisabled = false
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.stateDisabled = false
|
this.stateDisabled = false
|
||||||
}
|
}
|
||||||
|
@ -968,6 +980,21 @@ export default {
|
||||||
}
|
}
|
||||||
/** 疾病进展* **/
|
/** 疾病进展* **/
|
||||||
if (!this.isBaseLineTask && ldi && pddIncreaseNum && ldiIncrease && sdiIncrease && this.lesionType === 0 && this.isCurrentTaskAdd === 'False') {
|
if (!this.isBaseLineTask && ldi && pddIncreaseNum && ldiIncrease && sdiIncrease && this.lesionType === 0 && this.isCurrentTaskAdd === 'False') {
|
||||||
|
if (this.answers.SplitOrMergeType === '4') {
|
||||||
|
/** 融合主病灶疾病进展
|
||||||
|
* 当前融合靶病灶LDi>15
|
||||||
|
* 相比最低点PPD增加百分比 ≥50%
|
||||||
|
**/
|
||||||
|
if (ldi > 15 && pddIncreaseNum >= 50) {
|
||||||
|
console.log('融合主病灶疾病进展')
|
||||||
|
const stateId = this.getQuestionId(7)
|
||||||
|
this.$set(this.questionForm, stateId, 4)
|
||||||
|
this.stateDisabled = true
|
||||||
|
} else {
|
||||||
|
// 不符合疾病进展是否需要清空修改前疾病进展的状态
|
||||||
|
this.stateDisabled = false
|
||||||
|
}
|
||||||
|
} else {
|
||||||
/** 疾病进展
|
/** 疾病进展
|
||||||
* 15mm<当前靶病灶LDi≤20mm
|
* 15mm<当前靶病灶LDi≤20mm
|
||||||
* 相比最低点PPD增加百分比 ≥50%
|
* 相比最低点PPD增加百分比 ≥50%
|
||||||
|
@ -995,6 +1022,7 @@ export default {
|
||||||
// }
|
// }
|
||||||
this.stateDisabled = false
|
this.stateDisabled = false
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// 不符合疾病进展是否需要清空修改前疾病进展的状态
|
// 不符合疾病进展是否需要清空修改前疾病进展的状态
|
||||||
// const lesionState = !isNaN(parseInt(this.getQuestionVal(7))) ? parseInt(this.getQuestionVal(7)) : ''
|
// const lesionState = !isNaN(parseInt(this.getQuestionVal(7))) ? parseInt(this.getQuestionVal(7)) : ''
|
||||||
|
|
|
@ -66,11 +66,14 @@
|
||||||
<!-- white-space: nowrap;overflow: hidden;text-overflow: ellipsis; -->
|
<!-- white-space: nowrap;overflow: hidden;text-overflow: ellipsis; -->
|
||||||
|
|
||||||
<div style="font-size: 11px;width:210px;height: 30px;display: flex;justify-content: flex-start;flex-wrap: nowrap;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">
|
<div style="font-size: 11px;width:210px;height: 30px;display: flex;justify-content: flex-start;flex-wrap: nowrap;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">
|
||||||
<el-tooltip v-if="item.TableQuestions.Answers[i].SplitOrMergeType === '1'" class="item" effect="dark" :content="`融向${item.TableQuestions.Answers[i].MeltingInToLesionMarks}`" placement="bottom">
|
<el-tooltip v-if="item.TableQuestions.Answers[i].SplitOrMergeType === '1'" class="item" effect="dark" :content="`融向${item.TableQuestions.Answers[i].SplitOrMergeLesionName}`" placement="bottom">
|
||||||
<div v-if="item.TableQuestions.Answers[i].SplitOrMergeType === '1'">
|
<div v-if="item.TableQuestions.Answers[i].SplitOrMergeType === '1'">
|
||||||
<span class="login-cycle" />
|
<span class="login-cycle" />
|
||||||
</div>
|
</div>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
<div v-if="item.TableQuestions.Answers[i].SplitOrMergeType === '4'">
|
||||||
|
<span class="login-cycle" />
|
||||||
|
</div>
|
||||||
<el-tooltip v-if="!!item.TableQuestions.Answers[i].lesionPart" class="item" effect="dark" :content="item.TableQuestions.Answers[i].lesionPart" placement="bottom">
|
<el-tooltip v-if="!!item.TableQuestions.Answers[i].lesionPart" class="item" effect="dark" :content="item.TableQuestions.Answers[i].lesionPart" placement="bottom">
|
||||||
<div v-if="item.TableQuestions.Answers[i].lesionPart" style="max-width: 100px;overflow: hidden;">
|
<div v-if="item.TableQuestions.Answers[i].lesionPart" style="max-width: 100px;overflow: hidden;">
|
||||||
{{ item.TableQuestions.Answers[i].lesionPart }}
|
{{ item.TableQuestions.Answers[i].lesionPart }}
|
||||||
|
@ -95,7 +98,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div v-if="item.TableQuestions.Answers[i].IsCurrentTaskAdd === 'False'" style="position: absolute;right: 5px;top: 2px;">
|
<div v-if="item.TableQuestions.Answers[i].IsCurrentTaskAdd === 'False'" style="position: absolute;right: 5px;top: 2px;">
|
||||||
<!-- 分裂 -->
|
<!-- 分裂 -->
|
||||||
<el-tooltip v-show="!!item.TableQuestions.Answers[i].RowId && item.TableQuestions.Answers[i].SplitOrMergeType !== '1' && ((item.LesionType === 0 && [0,4].includes(parseInt(item.TableQuestions.Answers[i].lesionState))) || (item.LesionType === 1 && [0,1].includes(parseInt(item.TableQuestions.Answers[i].lesionState))) || (item.LesionType === 2 && parseInt(item.TableQuestions.Answers[i].lesionState) === 0))" class="item" :content="$t('trials:reading:button:split')" placement="bottom">
|
<el-tooltip v-show="!!item.TableQuestions.Answers[i].RowId && item.TableQuestions.Answers[i].SplitOrMergeType !== '4' && ((item.LesionType === 0 && [0,4].includes(parseInt(item.TableQuestions.Answers[i].lesionState))) || (item.LesionType === 1 && [0,1].includes(parseInt(item.TableQuestions.Answers[i].lesionState))) || (item.LesionType === 2 && parseInt(item.TableQuestions.Answers[i].lesionState) === 0))" class="item" :content="$t('trials:reading:button:split')" placement="bottom">
|
||||||
<i class="iconfont icon-24gl-split" style="color:#fff;font-size: 16px;" @click.stop="handleSplit(item.TableQuestions.Answers[i].RowId,item.Id)" />
|
<i class="iconfont icon-24gl-split" style="color:#fff;font-size: 16px;" @click.stop="handleSplit(item.TableQuestions.Answers[i].RowId,item.Id)" />
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
|
||||||
|
@ -708,8 +711,8 @@ export default {
|
||||||
var params = {
|
var params = {
|
||||||
visitTaskId: this.visitTaskId,
|
visitTaskId: this.visitTaskId,
|
||||||
questionId: this.mergeInfo.questionId,
|
questionId: this.mergeInfo.questionId,
|
||||||
mergeRowId: this.mergeInfo.mergeRowId,
|
mergeMainRowId: this.mergeInfo.mergeRowId,
|
||||||
meltingInToLesionList: this.mergeList
|
mergeRowIdList: this.mergeList
|
||||||
}
|
}
|
||||||
mergeLesion(params).then(res => {
|
mergeLesion(params).then(res => {
|
||||||
this.merge.loading = false
|
this.merge.loading = false
|
||||||
|
|
Loading…
Reference in New Issue