独立阅片人上传影像页面国际化问题
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" v-if="model_cfg.visible"
:model_cfg="model_cfg" :model_cfg="model_cfg"
:modelList="modelList" :modelList="modelList"
:bodyPart="bodyPart"
:IsDicom="IsDicom" :IsDicom="IsDicom"
/> />
</el-dialog> </el-dialog>
@ -213,10 +214,12 @@ export default {
IsDicom: true, IsDicom: true,
open: null, open: null,
downloadId: null, downloadId: null,
bodyPart: [],
} }
}, },
mounted() { async mounted() {
this.getList() this.getList()
this.bodyPart = await this.$getBodyPart(this.$route.query.trialId)
this.title = `Download Images${this.SubjectCode}${this.Criterion.TrialReadingCriterionName}` this.title = `Download Images${this.SubjectCode}${this.Criterion.TrialReadingCriterionName}`
}, },
beforeDestroy() { beforeDestroy() {

View File

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

View File

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

View File

@ -24,7 +24,19 @@
prop="BodyPartForEdit" prop="BodyPartForEdit"
:label="$t('trials:uploadImage:table:BodyPartForEdit')" :label="$t('trials:uploadImage:table:BodyPartForEdit')"
v-if="IsDicom" 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 <el-table-column
prop="SeriesCount" prop="SeriesCount"
@ -55,7 +67,19 @@
prop="BodyPart" prop="BodyPart"
:label="$t('trials:uploadImage:table:BodyPartForEdit')" :label="$t('trials:uploadImage:table:BodyPartForEdit')"
v-if="!IsDicom" 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 <el-table-column
prop="FileCount" prop="FileCount"
@ -100,6 +124,12 @@ export default {
return {} return {}
}, },
}, },
bodyPart: {
type: Array,
default: () => {
return []
},
},
modelList: { modelList: {
type: Array, type: Array,
default: () => { default: () => {