病灶查看suv测量历史截图
parent
c114f1bb23
commit
8c38700b51
|
@ -1762,7 +1762,6 @@ export function getNeedSignTrialDocTrialIdList() {
|
|||
})
|
||||
}
|
||||
|
||||
|
||||
export function getBasicStat() {
|
||||
return request({
|
||||
url: `/PersonalWorkstation/getBasicStat`,
|
||||
|
@ -3590,8 +3589,6 @@ export function addDefaultQuestions(param) {
|
|||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function getReadingCalculationData(param) {
|
||||
return request({
|
||||
url: `/ReadingImageTask/getReadingCalculationData`,
|
||||
|
@ -3608,4 +3605,11 @@ export function getTrialSignDocumentList(param) {
|
|||
})
|
||||
}
|
||||
|
||||
export function getPreviousOtherPicturePath(param) {
|
||||
return request({
|
||||
url: `/ReadingImageTask/getPreviousOtherPicturePath`,
|
||||
method: 'post',
|
||||
data: param
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -139,6 +139,13 @@ export const constantRoutes = [
|
|||
hidden: true,
|
||||
component: () => import('@/views/trials/trials-panel/reading/dicoms/components/Fusion/PetCt')
|
||||
},
|
||||
|
||||
{
|
||||
path: '/historyScreenshot',
|
||||
name: 'historyScreenshot',
|
||||
hidden: true,
|
||||
component: () => import('@/views/trials/trials-panel/reading/dicoms/components/Fusion/HistoryScreenshot')
|
||||
},
|
||||
{
|
||||
path: '/visitDicomReview',
|
||||
name: 'visitDicomReview',
|
||||
|
|
|
@ -0,0 +1,82 @@
|
|||
<template>
|
||||
<div class="history_screenshot">
|
||||
<h3 class="info">
|
||||
<span>{{ subjectCode }}</span>
|
||||
<span style="margin-left:10px;">{{ title }}</span>
|
||||
</h3>
|
||||
<template v-if="historyInfo">
|
||||
<el-timeline v-viewer>
|
||||
<el-timeline-item
|
||||
v-for="i in historyInfo"
|
||||
:key="i.VisitTaskId"
|
||||
:timestamp="i.TaskBlindName"
|
||||
placement="top"
|
||||
>
|
||||
<el-card shadow="never">
|
||||
<img
|
||||
crossorigin="anonymous"
|
||||
:src="i.OtherPicturePath"
|
||||
alt="Image"
|
||||
>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
</el-timeline>
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { getPreviousOtherPicturePath } from '@/api/trials'
|
||||
import { changeURLStatic } from '@/utils/history.js'
|
||||
import store from '@/store'
|
||||
import Viewer from 'v-viewer'
|
||||
export default {
|
||||
name: 'HistoryScreenshot',
|
||||
data() {
|
||||
return {
|
||||
subjectCode: '',
|
||||
title: '',
|
||||
lesionId: '',
|
||||
historyInfo: null
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
if (this.$router.currentRoute.query.TokenKey) {
|
||||
store.dispatch('user/setToken', this.$route.query.TokenKey)
|
||||
changeURLStatic('TokenKey', '')
|
||||
}
|
||||
this.lesionId = this.$route.query.rowId
|
||||
this.subjectCode = this.$route.query.subjectCode
|
||||
this.title = this.$route.query.lesionName
|
||||
if (!this.lesionId) return
|
||||
this.initializeViewer()
|
||||
this.getScreenshot()
|
||||
},
|
||||
methods: {
|
||||
getScreenshot() {
|
||||
const loading = this.$loading({ fullscreen: true })
|
||||
getPreviousOtherPicturePath({ rowId: this.lesionId }).then(res => {
|
||||
this.historyInfo = res.Result
|
||||
loading.close()
|
||||
}).catch(() => { loading.close() })
|
||||
},
|
||||
initializeViewer() {
|
||||
Viewer.setDefaults({
|
||||
toolbar: { zoomIn: true, zoomOut: true, rotateLeft: true, rotateRight: true, flipHorizontal: true, flipVertical: true, prev: true, next: true }
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.history_screenshot{
|
||||
padding: 20px 100px 20px 20px;
|
||||
.info{
|
||||
margin-left: 35px;
|
||||
}
|
||||
img{
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
</style>
|
|
@ -137,8 +137,26 @@
|
|||
{{ val }}
|
||||
</el-radio>
|
||||
</el-radio-group>
|
||||
<template v-if="qs.QuestionMark === 20 && qs.Type==='calculation'">
|
||||
<div style="display: flex;flex-direction: row;justify-content: flex-start;">
|
||||
<el-input
|
||||
v-if="qs.Type==='calculation'"
|
||||
v-model="questionForm[qs.Id]"
|
||||
disabled
|
||||
style="width:120px;"
|
||||
>
|
||||
<template v-if="qs.Unit" slot="append">
|
||||
{{ $fd('ValueUnit', parseInt(qs.Unit)) }}
|
||||
</template>
|
||||
</el-input>
|
||||
<!-- <span style="color:#409eff;cursor: pointer" @click="previewImages(answers.RowId)">
|
||||
{{ $t('trials:lugano:button:suvscreenshot') }}
|
||||
</span> -->
|
||||
<el-button type="text" @click="previewImages(answers.RowId)">{{ $t('trials:lugano:button:suvscreenshot') }}</el-button>
|
||||
</div>
|
||||
</template>
|
||||
<el-input
|
||||
v-if="qs.Type==='calculation'"
|
||||
v-else-if="qs.Type==='calculation' && qs.QuestionMark !== 20"
|
||||
v-model="questionForm[qs.Id]"
|
||||
disabled
|
||||
>
|
||||
|
@ -187,6 +205,7 @@
|
|||
import { submitTableQuestion, deleteReadingRowAnswer } from '@/api/trials'
|
||||
// import { uploadPrintscreen } from '@/api/reading'
|
||||
import store from '@/store'
|
||||
import { getToken } from '@/utils/auth'
|
||||
import FusionEvent from './FusionEvent'
|
||||
export default {
|
||||
name: 'MeasurementForm',
|
||||
|
@ -988,6 +1007,13 @@ export default {
|
|||
this.$emit('close')
|
||||
}
|
||||
}
|
||||
},
|
||||
previewImages(rowId) {
|
||||
var token = getToken()
|
||||
var subjectCode = this.$route.query.subjectCode
|
||||
var path = `/historyScreenshot?rowId=${rowId}&subjectCode=${subjectCode}&lesionName=${this.lesionName}&TokenKey=${token}`
|
||||
const routeData = this.$router.resolve({ path })
|
||||
window.open(routeData.href, '_blank')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue