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

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"
>
<el-form ref="fusionForm" :model="fusionForm" label-width="80px">
<el-form ref="fusionForm" :model="fusionForm">
<!-- 检查 -->
<el-form-item
:label="$t('trials:lugano:fusionDialog:label:study')"
@ -491,105 +491,104 @@
<!-- 融合图像 -->
<el-form-item
: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;">
<!-- CT/MRI序列 -->
<h3 style="color:#ddd">{{ $t('trials:lugano:fusionDialog:label:ctSeries') }}</h3>
<el-table
ref="ctSeries"
:data="ctSeries"
:show-header="false"
style="width: 340px"
size="mini"
height="300"
:default-sort="{prop: 'instanceCount', order: 'descending'}"
@selection-change="handleCTSelectionChange"
@select="handleCTSelect"
<div style="border: 1px solid #5e5e5e;border-radius: 5px;padding: 0 10px;">
<!-- CT/MRI序列 -->
<h3 style="color:#ddd">{{ $t('trials:lugano:fusionDialog:label:ctSeries') }}</h3>
<el-table
ref="ctSeries"
:data="ctSeries"
:show-header="false"
style="width: 380px"
size="mini"
height="300"
:default-sort="{prop: 'instanceCount', order: 'descending'}"
@selection-change="handleCTSelectionChange"
@select="handleCTSelect"
>
<el-table-column
type="selection"
width="30"
/>
<el-table-column
label=""
width="100"
>
<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 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"
<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
>
<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>
<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>
</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-button size="mini" @click="fusionSeries.visible = false">{{ $t('common:button:cancel') }}</el-button>
<!-- 确认 -->
<!-- 确认 -->
<el-button
type="primary"
size="mini"

View File

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