diff --git a/src/api/trials.js b/src/api/trials.js index 10caf5d2..43eea227 100644 --- a/src/api/trials.js +++ b/src/api/trials.js @@ -3481,6 +3481,13 @@ export function getSplenicState(visitTaskId, spleenLength) { method: 'post' }) } + +export function getSplenicVerify(visitTaskId) { + return request({ + url: `/LuganoCalculate/getSplenicVerify?visitTaskId=${visitTaskId}`, + method: 'post' + }) +} export function uploadTrialSiteSurveyUser(trialId, baseUrl, routeUrl, param) { return request({ url: `/TrialSiteSurvey/UploadTrialSiteSurveyUser?trialId=${trialId}&baseUrl=${baseUrl}&routeUrl=${routeUrl}`, diff --git a/src/views/trials/trials-panel/reading/dicoms/components/DicomCanvas.vue b/src/views/trials/trials-panel/reading/dicoms/components/DicomCanvas.vue index a5877ce1..298bef3d 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/DicomCanvas.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/DicomCanvas.vue @@ -867,7 +867,7 @@ export default { renderMeasuredData(e) { this.stack.frame = !isNaN(parseInt(this.stack.frame)) ? parseInt(this.stack.frame) : 0 var idx = this.visitTaskList.findIndex(i => i.VisitTaskId === this.stack.visitTaskId) - if(idx === -1) return + if (idx === -1) return this.measureData = this.visitTaskList[idx].MeasureData const { element } = e.detail const ToolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager diff --git a/src/views/trials/trials-panel/reading/dicoms/components/Fusion/PetCt.vue b/src/views/trials/trials-panel/reading/dicoms/components/Fusion/PetCt.vue index e92faee1..551786ee 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/Fusion/PetCt.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/Fusion/PetCt.vue @@ -697,11 +697,11 @@ export default { this.onAnnotationModified(e) } else { // annotation.isInsideVolume = false - console.log('异常标记:',annotation) + console.log('异常标记:', annotation) const { remark } = annotation.data if (remark === 'Liver' || remark === 'Mediastinum') { this.$refs['questions'].setOutsideMeasuredData(annotation) - }else{ + } else { this.$refs['tableQuestions'].setOutsideMeasuredData(annotation) } // // 移除标记 diff --git a/src/views/trials/trials-panel/reading/dicoms/components/Fusion/TableQuestionItem.vue b/src/views/trials/trials-panel/reading/dicoms/components/Fusion/TableQuestionItem.vue index 105880dd..444855bc 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/Fusion/TableQuestionItem.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/Fusion/TableQuestionItem.vue @@ -257,7 +257,7 @@ export default { pictureBaseStr: '', currentMarkTool: '', firstRenderAnnotation: true, - isInsideVolume:true + isInsideVolume: true } }, mounted() { @@ -611,7 +611,7 @@ export default { resolve() }) }, - setOutsideMeasuredData(measureData){ + setOutsideMeasuredData(measureData) { this.isInsideVolume = false var suvObj = this.questions.find(i => i.QuestionMark === 20) this.$set(this.questionForm, suvObj.Id, '') @@ -621,20 +621,20 @@ export default { this.$set(this.questionForm, 'saveTypeEnum', 0) } this.$set(this.questionForm, 'OtherMeasureData', measureData) - var isLymph = this.getQuestionVal(2) - isLymph = !isNaN(parseInt(isLymph)) ? parseInt(isLymph) : null - const lesionPart = this.getQuestionVal(8) - const lesionOrgan = this.getQuestionVal(6) - var suvMax = this.getQuestionVal(20) - this.$emit('resetQuestions', { isLymphLesion: isLymph, lesionPart, lesionOrgan, suvMax, saveTypeEnum: this.questionForm.saveTypeEnum, rowIndex: this.rowIndex, questionId: this.parentQsId, anwsers: this.questionForm }) - this.toolType = measureData.type - if (this.questionForm.MeasureData) { - this.organList = [] - this.getOrganInfoList() - } else { - this.organList = [] - this.getOrganInfoList() - } + var isLymph = this.getQuestionVal(2) + isLymph = !isNaN(parseInt(isLymph)) ? parseInt(isLymph) : null + const lesionPart = this.getQuestionVal(8) + const lesionOrgan = this.getQuestionVal(6) + var suvMax = this.getQuestionVal(20) + this.$emit('resetQuestions', { isLymphLesion: isLymph, lesionPart, lesionOrgan, suvMax, saveTypeEnum: this.questionForm.saveTypeEnum, rowIndex: this.rowIndex, questionId: this.parentQsId, anwsers: this.questionForm }) + this.toolType = measureData.type + if (this.questionForm.MeasureData) { + this.organList = [] + this.getOrganInfoList() + } else { + this.organList = [] + this.getOrganInfoList() + } }, returnFloat(num) { if (num) return @@ -719,13 +719,13 @@ export default { handleSave() { this.$refs.measurementForm.validate(async valid => { if (!valid) return - if(!this.isInsideVolume){ + if (!this.isInsideVolume) { this.$alert('当前标记在图像外,不允许保存!', '提示', { callback: action => { this.$message({ type: 'info', - message: `action: ${ action }` - }); + message: `action: ${action}` + }) } }) return diff --git a/src/views/trials/trials-panel/reading/dicoms/components/Fusion/TableQuestions.vue b/src/views/trials/trials-panel/reading/dicoms/components/Fusion/TableQuestions.vue index c90281b6..4889e51e 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/Fusion/TableQuestions.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/Fusion/TableQuestions.vue @@ -749,7 +749,7 @@ export default { this.$refs[refName][0].clearMeasurement() } }, - setOutsideMeasuredData(annotation){ + setOutsideMeasuredData(annotation) { if (this.activeItem.activeCollapseId && this.activeItem.activeRowIndex && this.activeName) { const refName = `${this.activeItem.activeCollapseId}_${this.activeItem.activeRowIndex}` this.$refs[refName][0].setOutsideMeasuredData(annotation) diff --git a/src/views/trials/trials-panel/reading/dicoms/components/Questions.vue b/src/views/trials/trials-panel/reading/dicoms/components/Questions.vue index bfdf6367..3af9cd53 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/Questions.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/Questions.vue @@ -33,7 +33,7 @@