独立阅片人上传影像页面国际化问题
continuous-integration/drone/push Build is running Details

uat_us
DESKTOP-6C3NK6N\WXS 2024-09-13 09:20:25 +08:00
parent 672cb9b2a2
commit 82447c58de
4 changed files with 48 additions and 12 deletions

View File

@ -139,6 +139,7 @@
v-if="model_cfg.visible"
:model_cfg="model_cfg"
:modelList="modelList"
:bodyPart="bodyPart"
:IsDicom="IsDicom"
/>
</el-dialog>
@ -213,10 +214,12 @@ export default {
IsDicom: true,
open: null,
downloadId: null,
bodyPart: [],
}
},
mounted() {
async mounted() {
this.getList()
this.bodyPart = await this.$getBodyPart(this.$route.query.trialId)
this.title = `Download Images${this.SubjectCode}${this.Criterion.TrialReadingCriterionName}`
},
beforeDestroy() {

View File

@ -75,13 +75,13 @@
:title="$t('upload:dicom:button:upload')"
/>
<input
:title="$t('upload:dicom:button:upload')"
type="file"
:name="`file_${scope.row.VisitTaskId}`"
:ref="`pathClear_${scope.row.VisitTaskId}`"
:disabled="btnLoading"
webkitdirectory
multiple
title=""
@change="
($event) => beginScanFiles($event, scope.row.VisitTaskId)
"
@ -430,6 +430,7 @@
v-if="model_cfg.visible"
:model_cfg="model_cfg"
:IsDicom="true"
:bodyPart="bodyPart"
:modelList="modelList"
/>
</div>
@ -526,6 +527,7 @@ export default {
subjectVisitId: null,
errStudyUidList: [],
open: null,
bodyPart: [],
}
},
created() {
@ -533,6 +535,7 @@ export default {
},
async mounted() {
this.trialId = this.$route.query.trialId
this.bodyPart = await this.$getBodyPart(this.$route.query.trialId)
this.uploadQueues = []
this.OSSclient.close()
},

View File

@ -62,15 +62,15 @@
<template slot-scope="files">
<!-- 预览 -->
<el-button
type="text"
circle
icon="el-icon-view"
:title="$t('upload:nonedicom:button:preview')"
:disabled="
files.row.FileType &&
files.row.FileType.indexOf('zip') >= 0
"
@click.native.prevent="previewFile(files.row)"
>
{{ $t('trials:audit:button:nonDicomsPreview') }}
</el-button>
/>
</template>
</el-table-column>
</el-table>
@ -109,15 +109,15 @@
<template slot-scope="files">
<!-- 预览 -->
<el-button
type="text"
circle
icon="el-icon-view"
:title="$t('upload:nonedicom:button:preview')"
:disabled="
files.row.FileType &&
files.row.FileType.indexOf('zip') >= 0
"
@click.native.prevent="previewFile(files.row)"
>
{{ $t('trials:audit:button:nonDicomsPreview') }}
</el-button>
/>
</template>
</el-table-column>
</el-table>

View File

@ -24,7 +24,19 @@
prop="BodyPartForEdit"
:label="$t('trials:uploadImage:table:BodyPartForEdit')"
v-if="IsDicom"
/>
>
<template slot-scope="scope">
<span>{{
$fd(
'Bodypart',
scope.row.BodyPartForEdit,
'Code',
{ Bodypart: bodyPart },
'Name'
)
}}</span>
</template>
</el-table-column>
<!--序列数量-->
<el-table-column
prop="SeriesCount"
@ -55,7 +67,19 @@
prop="BodyPart"
:label="$t('trials:uploadImage:table:BodyPartForEdit')"
v-if="!IsDicom"
/>
>
<template slot-scope="scope">
<span>{{
$fd(
'Bodypart',
scope.row.BodyPart,
'Code',
{ Bodypart: bodyPart },
'Name'
)
}}</span>
</template>
</el-table-column>
<!--文件数量-->
<el-table-column
prop="FileCount"
@ -100,6 +124,12 @@ export default {
return {}
},
},
bodyPart: {
type: Array,
default: () => {
return []
},
},
modelList: {
type: Array,
default: () => {