影像融合布局调整及国际化处理

uat_us
caiyiling 2024-03-08 09:58:45 +08:00
parent aea1bf16bf
commit 2dc2383d9d
2 changed files with 96 additions and 96 deletions

View File

@ -466,7 +466,7 @@
width="850px" width="850px"
> >
<el-form ref="fusionForm" :model="fusionForm" label-width="80px"> <el-form ref="fusionForm" :model="fusionForm">
<!-- 检查 --> <!-- 检查 -->
<el-form-item <el-form-item
:label="$t('trials:lugano:fusionDialog:label:study')" :label="$t('trials:lugano:fusionDialog:label:study')"
@ -491,105 +491,104 @@
<!-- 融合图像 --> <!-- 融合图像 -->
<el-form-item <el-form-item
:label="$t('trials:lugano:fusionDialog:label:fusionImages')" :label="$t('trials:lugano:fusionDialog:label:fusionImages')"
> />
<div style="display: flex;flex-direction: row;justify-content: space-between;margin-top: 10px;" class="series-table"> <div style="display: flex;flex-direction: row;justify-content: space-between;margin-bottom:10px;" class="series-table">
<div style="border: 1px solid #5e5e5e;border-radius: 5px;padding: 0 10px;"> <div style="border: 1px solid #5e5e5e;border-radius: 5px;padding: 0 10px;">
<!-- CT/MRI序列 --> <!-- CT/MRI序列 -->
<h3 style="color:#ddd">{{ $t('trials:lugano:fusionDialog:label:ctSeries') }}</h3> <h3 style="color:#ddd">{{ $t('trials:lugano:fusionDialog:label:ctSeries') }}</h3>
<el-table <el-table
ref="ctSeries" ref="ctSeries"
:data="ctSeries" :data="ctSeries"
:show-header="false" :show-header="false"
style="width: 340px" style="width: 380px"
size="mini" size="mini"
height="300" height="300"
:default-sort="{prop: 'instanceCount', order: 'descending'}" :default-sort="{prop: 'instanceCount', order: 'descending'}"
@selection-change="handleCTSelectionChange" @selection-change="handleCTSelectionChange"
@select="handleCTSelect" @select="handleCTSelect"
>
<el-table-column
type="selection"
width="30"
/>
<el-table-column
label=""
width="100"
> >
<template slot-scope="scope">
<el-table-column <el-image
type="selection" style="width: 60px; height: 60px"
width="30" :src="scope.row.previewImageUrl"
/> fit="fit"
<el-table-column crossorigin="anonymous"
label="" />
width="100" </template>
> </el-table-column>
<template slot-scope="scope"> <el-table-column
<el-image label=""
style="width: 60px; height: 60px" min-width="50"
:src="scope.row.previewImageUrl" show-overflow-tooltip
fit="fit"
crossorigin="anonymous"
/>
</template>
</el-table-column>
<el-table-column
label=""
min-width="50"
show-overflow-tooltip
>
<template slot-scope="scope">
<div>#{{ scope.row.seriesNumber }} </div>
<div>{{ scope.row.modality }}: {{ scope.row.instanceCount }} images T: {{ parseFloat(scope.row.sliceThickness).toFixed(digitPlaces) }}</div>
<div>{{ scope.row.description }}</div>
</template>
</el-table-column>
</el-table>
</div>
<div style="border: 1px solid #5e5e5e;border-radius: 5px;padding: 0 10px;">
<!-- PET序列 -->
<h3 style="color:#ddd">{{ $t('trials:lugano:fusionDialog:label:ptSeries') }}</h3>
<el-table
ref="petSeries"
:data="petSeries"
:show-header="false"
style="width: 340px"
size="mini"
height="300"
@selection-change="handlePTSelectionChange"
@select="handlePTSelect"
> >
<el-table-column <template slot-scope="scope">
type="selection" <div>#{{ scope.row.seriesNumber }} </div>
width="30" <div>{{ scope.row.modality }}: {{ scope.row.instanceCount }} images T: {{ parseFloat(scope.row.sliceThickness).toFixed(digitPlaces) }}</div>
/> <div>{{ scope.row.description }}</div>
<el-table-column </template>
label="" </el-table-column>
width="100"
> </el-table>
<template slot-scope="scope">
<el-image
style="width: 60px; height: 60px"
:src="scope.row.previewImageUrl"
fit="fit"
crossorigin="anonymous"
/>
</template>
</el-table-column>
<el-table-column
label=""
min-width="50"
show-overflow-tooltip
>
<template slot-scope="scope">
<div>#{{ scope.row.seriesNumber }} </div>
<div>{{ scope.row.modality }}: {{ scope.row.instanceCount }} images T: {{ parseFloat(scope.row.sliceThickness).toFixed(digitPlaces) }}</div>
<div>{{ scope.row.description }}</div>
</template>
</el-table-column>
</el-table>
</div>
</div> </div>
</el-form-item>
<div style="border: 1px solid #5e5e5e;border-radius: 5px;padding: 0 10px;">
<!-- PET序列 -->
<h3 style="color:#ddd">{{ $t('trials:lugano:fusionDialog:label:ptSeries') }}</h3>
<el-table
ref="petSeries"
:data="petSeries"
:show-header="false"
style="width: 380px"
size="mini"
height="300"
@selection-change="handlePTSelectionChange"
@select="handlePTSelect"
>
<el-table-column
type="selection"
width="30"
/>
<el-table-column
label=""
width="100"
>
<template slot-scope="scope">
<el-image
style="width: 60px; height: 60px"
:src="scope.row.previewImageUrl"
fit="fit"
crossorigin="anonymous"
/>
</template>
</el-table-column>
<el-table-column
label=""
min-width="50"
show-overflow-tooltip
>
<template slot-scope="scope">
<div>#{{ scope.row.seriesNumber }} </div>
<div>{{ scope.row.modality }}: {{ scope.row.instanceCount }} images T: {{ parseFloat(scope.row.sliceThickness).toFixed(digitPlaces) }}</div>
<div>{{ scope.row.description }}</div>
</template>
</el-table-column>
</el-table>
</div>
</div>
<el-form-item style="text-align:right;"> <el-form-item style="text-align:right;">
<!-- 取消 --> <!-- 取消 -->
<el-button size="mini" @click="fusionSeries.visible = false">{{ $t('common:button:cancel') }}</el-button> <el-button size="mini" @click="fusionSeries.visible = false">{{ $t('common:button:cancel') }}</el-button>
<!-- 确认 --> <!-- 确认 -->
<el-button <el-button
type="primary" type="primary"
size="mini" size="mini"

View File

@ -168,11 +168,11 @@
> >
<div class="merge-table"> <div class="merge-table">
<div class="merge-label"> <div class="merge-label">
<label>{{$t('trials:reading:lugano:label:currentLesion')}}</label> <label>{{ $t('trials:reading:lugano:label:currentLesion') }}</label>
<span>{{ mergeInfo.lesionName }}</span> <span>{{ mergeInfo.lesionName }}</span>
<span style="margin-left:10px">{{ mergeInfo.lesionPart }}</span> <span style="margin-left:10px">{{ mergeInfo.lesionPart }}</span>
</div> </div>
<div class="merge-label"><label>{{$t('trials:reading:lugano:label:selectLesion')}}</label></div> <div class="merge-label"><label>{{ $t('trials:reading:lugano:label:selectLesion') }}</label></div>
<el-table <el-table
:data="lesionData" :data="lesionData"
style="width: 450px" style="width: 450px"
@ -699,7 +699,8 @@ export default {
}) })
}, },
confirmMerge() { confirmMerge() {
this.$confirm('融合后将无法撤销, 是否继续?', '提示', { // ', ?'
this.$confirm(this.$t('trials:reading:lugano:warnning:fuse'), {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.lesionMerge() this.lesionMerge()