crc上传获取临床数据请求参数修改

uat_us
DESKTOP-6C3NK6N\WXS 2024-08-20 16:20:18 +08:00
parent 0494d567db
commit aaf9decc49
2 changed files with 10 additions and 7 deletions

View File

@ -1002,6 +1002,7 @@ export default {
// pet // pet
handleUploadPetData(row) { handleUploadPetData(row) {
this.studyData = row; this.studyData = row;
this.studyData.SubjectId = this.subjectId;
this.petVisible = true; this.petVisible = true;
}, },
// //

View File

@ -318,13 +318,13 @@
:label="$t('trials:uploadClinicalData:table:fileSize')" :label="$t('trials:uploadClinicalData:table:fileSize')"
width="150" width="150"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ <span>{{
scope.row.Size && scope.row.Size > 0 scope.row.Size && scope.row.Size > 0
? `${(scope.row.Size / 1024 / 1024).toFixed(2)}MB` ? `${(scope.row.Size / 1024 / 1024).toFixed(2)}MB`
: 0 : 0
}}</span> }}</span>
</template> </template>
</el-table-column> </el-table-column>
<!-- 上传时间 --> <!-- 上传时间 -->
<el-table-column <el-table-column
@ -655,6 +655,8 @@ export default {
this.data.TrialId = this.$route.query.trialId; this.data.TrialId = this.$route.query.trialId;
var param = { var param = {
StudyId: this.studyData.StudyId, StudyId: this.studyData.StudyId,
TrialId: this.$route.query.trialId,
SubjectId: this.studyData.SubjectId,
}; };
getCRCClinicalData(param) getCRCClinicalData(param)
.then((res) => { .then((res) => {