DESKTOP-6C3NK6N\WXS 2024-09-27 16:23:42 +08:00
parent 0a4683386c
commit e690aadd8a
2 changed files with 7 additions and 1 deletions

View File

@ -142,6 +142,7 @@
:modelList="modelList" :modelList="modelList"
:bodyPart="bodyPart" :bodyPart="bodyPart"
:IsDicom="IsDicom" :IsDicom="IsDicom"
:visitTaskId="modelTaskId"
/> />
</el-dialog> </el-dialog>
</template> </template>
@ -217,6 +218,7 @@ export default {
downloadId: null, downloadId: null,
IsReadingTaskViewInOrder: 0, // IsReadingTaskViewInOrder: 0, //
bodyPart: [], bodyPart: [],
modelTaskId: null,
} }
}, },
async mounted() { async mounted() {
@ -442,6 +444,7 @@ export default {
data.SourceSubjectVisitId = item.SourceSubjectVisitId data.SourceSubjectVisitId = item.SourceSubjectVisitId
}) })
} }
this.modelTaskId = item.VisitTaskId
this.IsDicom = item.IsDicom this.IsDicom = item.IsDicom
this.model_cfg.visible = true this.model_cfg.visible = true
}, },

View File

@ -136,6 +136,9 @@ export default {
return [] return []
}, },
}, },
visitTaskId: {
type: String,
},
IsDicom: { IsDicom: {
required: true, required: true,
type: Boolean, type: Boolean,
@ -152,7 +155,7 @@ export default {
if (this.IsDicom) { if (this.IsDicom) {
var token = getToken() var token = getToken()
routeData = this.$router.resolve({ routeData = this.$router.resolve({
path: `/showdicom?studyId=${row.Id}&TokenKey=${token}&type=Study`, path: `/showdicom?studyId=${row.Id}&TokenKey=${token}&type=Study&visitTaskId=${this.visitTaskId}`,
}) })
} else { } else {
let trialId = this.$route.query.trialId let trialId = this.$route.query.trialId