Compare commits

..

No commits in common. "4b915c152ef13a8555466a5751c16a9a5df6e833" and "196610cae1627b97cd954f1c6a716cd6c911a196" have entirely different histories.

2 changed files with 7 additions and 33 deletions

View File

@ -251,9 +251,9 @@ export default {
let res = await getPatientSeriesList(this.studyId);
if (res.IsSuccess && res.Result.length > 0) {
console.log(res.Result)
this.modality = res.OtherInfo.Modalities
this.modality = res.Result[0].Modality
this.seriesCount = res.Result.length
this.description = res.OtherInfo.Description
this.description = res.Result[0].Description
this.seriesList = []
res.Result.map(item=>{
var imageIds = []
@ -266,8 +266,8 @@ export default {
seriesUid: item.SeriesInstanceUid,
seriesNumber:item.SeriesNumber,
sliceThickness: item.SliceThickness,
modality: item.Modality,
description: item.Description,
modality: this.modality,
description: this.description,
previewImageUrl: item.ImageResizePath ? this.OSSclientConfig.basePath + item.ImageResizePath : item.ImageResizePath,
instanceCount: item.InstanceCount,
prefetchInstanceCount: 0,

View File

@ -96,7 +96,7 @@
</template>
<template slot-scope="scope">
<span :style="{color: ((scope.row.isLymphNodes === 1 && scope.row.QuestionMark === 1) || (scope.row.isLymphNodes === 0 && scope.row.QuestionMark === 0)) && (scope.row.LesionType === 0 || scope.row.LesionType === 5) || (scope.row.QuestionMark === 12) ? '#f66' : '#fff'}">
<template v-if="task.VisitTaskId === visitTaskId && readingTaskState < 2 && [13,14,15,21,22,42].includes(scope.row.QuestionType)">
<template v-if="task.VisitTaskId === visitTaskId && readingTaskState < 2 && [13,14,15,21,42].includes(scope.row.QuestionType)">
<!-- 是否存在疾病基线时可修改 -->
<template v-if="task.IsBaseLine && scope.row.QuestionType=== 15">
<el-select
@ -169,13 +169,6 @@
</template>
</el-select>
</template>
<template v-else-if="!task.IsBaseLine && scope.row.QuestionType=== 22">
<el-input v-model="intervalDays" size="mini" @change="handleIntervalDaysChange"
@input="handleNumberInput" maxlength="3"></el-input>
</template>
<template v-else-if="task.IsBaseLine && scope.row.QuestionType=== 22">
{{ scope.row.Answers[task.VisitTaskId] }}
</template>
<!-- <template v-else-if="task.IsBaseLine && scope.row.QuestionType=== 13">
{{ $fd(scope.row.DictionaryCode, currentEvaluateResult) }}
</template> -->
@ -200,7 +193,7 @@
@change="evaluateReasonChange"
/>
<!-- 系统评估结果为xxx,与当前调整的结果不一致请填写调整原因 -->
<p v-if="tumorEvaluate && currentEvaluateResult && parseInt(currentEvaluateResult) !== parseInt(tumorEvaluate)" style="width: 140px;padding:0 2px;white-space: normal;word-break: break-all;word-wrap: break-word;">{{ $t('trials:readingReport:message:msg6').replace('***', $fd('CriterionType', CriterionType)) }}<span v-if="CriterionType === 2" style="color:red">{{ $fd('ImagingOverallAssessment_Lugano',tumorEvaluate) }}</span><span v-else-if="CriterionType === 10" style="color:red">{{ $fd('VisitTumorEvaluation',tumorEvaluate) }}</span><span v-else style="color:red">{{ $fd('OverallAssessment',tumorEvaluate) }}</span>{{ $t('trials:readingReport:message:msg7') }}<span v-if="CriterionType === 2" style="color:red">{{ $fd('ImagingOverallAssessment_Lugano',currentEvaluateResult) }}</span><span v-else-if="CriterionType === 10" style="color:red">{{ $fd('VisitTumorEvaluation',tumorEvaluate) }}</span><span v-else style="color:red">{{ $fd('OverallAssessment',currentEvaluateResult) }}</span>{{ $t('trials:readingReport:message:msg8') }}</p>
<p v-if="currentEvaluateResult !== tumorEvaluate" style="width: 140px;padding:0 2px;white-space: normal;word-break: break-all;word-wrap: break-word;">{{ $t('trials:readingReport:message:msg6') }}<span v-if="CriterionType === 2" style="color:red">{{ $fd('ImagingOverallAssessment_Lugano',tumorEvaluate) }}</span><span v-else style="color:red">{{ $fd('OverallAssessment',tumorEvaluate) }}</span>{{ $t('trials:readingReport:message:msg7') }}<span v-if="CriterionType === 2" style="color:red">{{ $fd('ImagingOverallAssessment_Lugano',currentEvaluateResult) }}</span><span v-else style="color:red">{{ $fd('OverallAssessment',currentEvaluateResult) }}</span>{{ $t('trials:readingReport:message:msg8') }}</p>
<p v-else-if="currentExistDisease !== isExistDisease" style="width: 140px;padding:0 2px;white-space: normal;word-break: break-all;word-wrap: break-word;">{{ $t('trials:readingReport:title:sysEvaluationRes') }}<span style="color:red">{{ $fd('ExistDisease',isExistDisease) }}</span>{{ $t('trials:readingReport:message:msg1') }}</p>
</template>
<!-- <template v-else>
@ -348,8 +341,7 @@ export default {
//
previewFileVisible: false,
fileData: {},
reportBtnLoading:false,
intervalDays: null
reportBtnLoading:false
}
},
computed: {
@ -619,10 +611,6 @@ export default {
this.currentTaskReason = obj.Answers[this.visitTaskId]
this.answerArr.push({ id: item.QuestionId, answer: obj.Answers[this.visitTaskId], questionType: 14 })
}
if (item.QuestionType === 22) {
this.intervalDays = obj.Answers[this.visitTaskId]
this.answerArr.push({ id: item.QuestionId, answer: obj.Answers[this.visitTaskId]?obj.Answers[this.visitTaskId]:null, questionType: 22 })
}
if (item.Childrens.length >= 1) {
obj.Childrens = this.getQuestions(item.Childrens, isNTFilterLength, lesionType, isLymphNodes)
}
@ -670,20 +658,6 @@ export default {
this.answerArr[idx].answer = val
}
},
handleIntervalDaysChange(v) {
var idx = this.answerArr.findIndex(i => i.questionType === 22)
if (idx > -1) {
this.answerArr[idx].answer = v
}
},
handleNumberInput(value) {
var reg = /^(?!0)\d{1,3}$/
if(reg.test(value)==false){
this.intervalDays = ""
}else{
this.intervalDays = value
}
},
async handleConfirm() {
await this.handleSave(false)
await this.verifyVisitTaskQuestions()