Compare commits

...

3 Commits

Author SHA1 Message Date
wangxiaoshuang 9b9c83797a 冲突解决
continuous-integration/drone/push Build is passing Details
2026-02-02 10:26:30 +08:00
wangxiaoshuang 8a4b4fc9fb Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web 2026-02-02 10:19:51 +08:00
wangxiaoshuang 91d8d1797a 非diocm阅片部分问题解决 2026-02-02 10:19:39 +08:00
3 changed files with 15 additions and 7 deletions

View File

@ -95,6 +95,7 @@ export default {
localStorage.setItem('taskInfo', JSON.stringify(res.Result)) localStorage.setItem('taskInfo', JSON.stringify(res.Result))
sessionStorage.setItem('taskInfo', JSON.stringify(res.Result)) sessionStorage.setItem('taskInfo', JSON.stringify(res.Result))
localStorage.setItem('digitPlaces', JSON.stringify(res.Result.DigitPlaces)) localStorage.setItem('digitPlaces', JSON.stringify(res.Result.DigitPlaces))
localStorage.setItem('subjectCode', res.Result.SubjectCode)
this.loading = false this.loading = false
this.$nextTick(() => { this.$nextTick(() => {
if (this.taskInfo.IsExistsClinicalData && this.taskInfo.IsNeedReadClinicalData && !this.taskInfo.IsReadClinicalData) { if (this.taskInfo.IsExistsClinicalData && this.taskInfo.IsNeedReadClinicalData && !this.taskInfo.IsReadClinicalData) {

View File

@ -219,6 +219,11 @@
<el-dialog :title="$t('trials:noneDicom:message:msg2')" :visible.sync="dialogVisible" :close-on-click-modal="false" <el-dialog :title="$t('trials:noneDicom:message:msg2')" :visible.sync="dialogVisible" :close-on-click-modal="false"
:close-on-press-escape="false" :show-close="false" width="400px"> :close-on-press-escape="false" :show-close="false" width="400px">
<el-form ref="lengthForm" :model="form" :rules="rules"> <el-form ref="lengthForm" :model="form" :rules="rules">
<el-form-item label="" prop="length" v-show="false">
<el-input v-model="form.length" type="number">
<template slot="append">mm</template>
</el-input>
</el-form-item>
<el-form-item label="" prop="length"> <el-form-item label="" prop="length">
<el-input v-model="form.length" type="number"> <el-input v-model="form.length" type="number">
<template slot="append">mm</template> <template slot="append">mm</template>
@ -248,7 +253,7 @@
<!-- 手册 --> <!-- 手册 -->
<span>{{ $t('trials:reading:button:handbooks') }}</span> <span>{{ $t('trials:reading:button:handbooks') }}</span>
<span style="position: absolute;right: 20px;font-size: 20px;"> <span style="position: absolute;right: 20px;font-size: 20px;">
<svg-icon :icon-class="isFullscreen ? 'exit-fullscreen' : 'fullscreen'" <svg-icon :icon-class="manualsDialog.isFullscreen ? 'exit-fullscreen' : 'fullscreen'"
style="margin-right:10px;cursor: pointer;" style="margin-right:10px;cursor: pointer;"
@click="manualsDialog.isFullscreen = !manualsDialog.isFullscreen" /> @click="manualsDialog.isFullscreen = !manualsDialog.isFullscreen" />
<svg-icon icon-class="close" style="cursor: pointer;" @click="manualsDialog.visible = false" /> <svg-icon icon-class="close" style="cursor: pointer;" @click="manualsDialog.visible = false" />
@ -266,7 +271,7 @@
</div> </div>
</template> </template>
<script> <script>
import { addNoneDicomMark, deleteTrialFileType, getCriterionReadingInfo } from '@/api/trials' import { addNoneDicomMark, deleteTrialFileType, getCriterionReadingInfo, setReadKeyFile } from '@/api/trials'
import html2canvas from 'html2canvas' import html2canvas from 'html2canvas'
import { import {
RenderingEngine, RenderingEngine,
@ -773,6 +778,7 @@ export default {
if (this.activeCanvasIndex === this.cells.length - 1) { if (this.activeCanvasIndex === this.cells.length - 1) {
store.dispatch('noneDicomReview/setLastViewportTaskId', obj.visitTaskInfo.VisitTaskId) store.dispatch('noneDicomReview/setLastViewportTaskId', obj.visitTaskInfo.VisitTaskId)
} }
this.setToolsPassive()
}, },
// //
activeCanvas(index) { activeCanvas(index) {
@ -1107,7 +1113,7 @@ export default {
// const errorMsg = { message: 'annotation Not allowed to operate' } // const errorMsg = { message: 'annotation Not allowed to operate' }
// throw errorMsg // throw errorMsg
// } // }
this.$emit('getMarkedFileIds', { type: "remove", visitTaskId: this.taskInfo.VisitTaskId, fileId: annotation.noneDicomFileId}) this.$emit('getMarkedFileIds', { type: "remove", visitTaskId: this.taskInfo.VisitTaskId, fileId: annotation.noneDicomFileId })
} catch (err) { } catch (err) {
cornerstoneTools.annotation.state.addAnnotation(annotation) cornerstoneTools.annotation.state.addAnnotation(annotation)
const renderingEngine = getRenderingEngine(renderingEngineId) const renderingEngine = getRenderingEngine(renderingEngineId)
@ -1121,7 +1127,7 @@ export default {
}) })
} }
} catch (e) { } catch (e) {
cornerstoneTools.annotation.state.addAnnotation(annotation) cornerstoneTools.annotation.state.addAnnotation(annotation)
const renderingEngine = getRenderingEngine(renderingEngineId) const renderingEngine = getRenderingEngine(renderingEngineId)
@ -1262,7 +1268,7 @@ export default {
// } // }
} }
}) })
this.$emit('getMarkedFileIds', { type: "add", visitTaskId: this.taskInfo.VisitTaskId, fileId: annotation.noneDicomFileId}) this.$emit('getMarkedFileIds', { type: "add", visitTaskId: this.taskInfo.VisitTaskId, fileId: annotation.noneDicomFileId })
}, },
annotationSelectionChangeListener(e) { annotationSelectionChangeListener(e) {
console.log('selection') console.log('selection')

View File

@ -13,7 +13,7 @@
<div v-for="s in visitTaskList" v-show="activeTaskVisitId === s.VisitTaskId" :key="s.VisitTaskId" <div v-for="s in visitTaskList" v-show="activeTaskVisitId === s.VisitTaskId" :key="s.VisitTaskId"
style="height:100%;"> style="height:100%;">
<study-list v-if="selectArr.includes(s.VisitTaskId) && s.StudyList.length > 0" :ref="s.VisitTaskId" <study-list v-if="selectArr.includes(s.VisitTaskId) && s.StudyList.length > 0" :ref="s.VisitTaskId"
:visit-task-info="s" @selectFile="selectFile" :currentMarkedFiles="currentMarkedFiles"/> :visit-task-info="s" @selectFile="selectFile" :currentMarkedFiles="currentMarkedFiles" />
</div> </div>
</div> </div>
@ -37,7 +37,7 @@
/> --> /> -->
<file-viewer ref="fileViewer" :related-study-info="relatedStudyInfo" :ps-arr="psArr" :ecrf="ecrf" <file-viewer ref="fileViewer" :related-study-info="relatedStudyInfo" :ps-arr="psArr" :ecrf="ecrf"
@toggleTaskByViewer="toggleTaskByViewer" @toggleTask="toggleTask" @toggleImage="toggleImage" @toggleTaskByViewer="toggleTaskByViewer" @toggleTask="toggleTask" @toggleImage="toggleImage"
@previewCD="previewCD" @setPS="setPS" @getEcrf="getEcrf" @getMarkedFileIds="getMarkedFileIds"/> @previewCD="previewCD" @setPS="setPS" @getEcrf="getEcrf" @getMarkedFileIds="getMarkedFileIds" />
</div> </div>
<!-- 表单 --> <!-- 表单 -->
<div class="right-panel"> <div class="right-panel">
@ -368,6 +368,7 @@ export default {
// //
toggleTask(taskInfo) { toggleTask(taskInfo) {
this.setActiveTaskVisitId(taskInfo.VisitTaskId) this.setActiveTaskVisitId(taskInfo.VisitTaskId)
this.$refs.fileViewer.setToolsPassive()
}, },
// //
async toggleTaskByViewer(visitTaskNum) { async toggleTaskByViewer(visitTaskNum) {