wangxiaoshuang 2026-02-02 10:19:51 +08:00
commit 8a4b4fc9fb
1 changed files with 6 additions and 5 deletions

View File

@ -253,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="manualsDialog.isFullscreen ? 'exit-fullscreen' : 'fullscreen'" <svg-icon :icon-class="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" />
@ -271,7 +271,7 @@
</div> </div>
</template> </template>
<script> <script>
import { addNoneDicomMark, deleteTrialFileType, getCriterionReadingInfo, setReadKeyFile } from '@/api/trials' import { addNoneDicomMark, deleteTrialFileType, getCriterionReadingInfo } from '@/api/trials'
import html2canvas from 'html2canvas' import html2canvas from 'html2canvas'
import { import {
RenderingEngine, RenderingEngine,
@ -1063,7 +1063,7 @@ export default {
// //
return return
} }
this.$emit('getMarkedFileIds', { type: "remove", visitTaskId: this.taskInfo.VisitTaskId, fileId: annotation.noneDicomFileId }) // this.$emit('getMarkedFileIds', { type: "remove", visitTaskId: this.taskInfo.VisitTaskId, fileId: annotation.noneDicomFileId})
if (annotation.visitTaskId === this.taskInfo.VisitTaskId) { if (annotation.visitTaskId === this.taskInfo.VisitTaskId) {
this.$emit('getEcrf', { type: "verifyAnnotationIsBound", VisitTaskId: annotation.visitTaskId, annotation }) this.$emit('getEcrf', { type: "verifyAnnotationIsBound", VisitTaskId: annotation.visitTaskId, annotation })
this.$nextTick(async () => { this.$nextTick(async () => {
@ -1113,6 +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})
} catch (err) { } catch (err) {
cornerstoneTools.annotation.state.addAnnotation(annotation) cornerstoneTools.annotation.state.addAnnotation(annotation)
const renderingEngine = getRenderingEngine(renderingEngineId) const renderingEngine = getRenderingEngine(renderingEngineId)
@ -1126,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)
@ -1267,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')