阅片页面下载影像更改

uat_us
caiyiling 2024-09-10 18:29:22 +08:00
parent 95998f0dea
commit d5c0e15f46
2 changed files with 12 additions and 0 deletions

View File

@ -725,6 +725,7 @@
:SubjectId="uploadSubjectId" :SubjectId="uploadSubjectId"
:SubjectCode="uploadSubjectCode" :SubjectCode="uploadSubjectCode"
:Criterion="uploadTrialCriterion" :Criterion="uploadTrialCriterion"
:TaskId="taskId"
:visible.sync="downloadImageVisible" :visible.sync="downloadImageVisible"
/> />
</div> </div>
@ -930,6 +931,7 @@ export default {
uploadSubjectCode: null, uploadSubjectCode: null,
uploadTrialCriterion: {}, uploadTrialCriterion: {},
uploadStatus: 'upload', uploadStatus: 'upload',
taskId: ''
} }
}, },
@ -1168,6 +1170,10 @@ export default {
.catch(() => {}) .catch(() => {})
}, },
openUploadImage(status) { openUploadImage(status) {
const idx = this.visitTaskList.findIndex(i => i.IsCurrentTask)
if (idx > -1) {
this.taskId = this.visitTaskList[idx].VisitTaskId
}
this.uploadSubjectCode = this.$route.query.subjectCode this.uploadSubjectCode = this.$route.query.subjectCode
this.uploadSubjectId = this.$route.query.subjectId this.uploadSubjectId = this.$route.query.subjectId
this.uploadTrialCriterion = this.trialCriterion this.uploadTrialCriterion = this.trialCriterion

View File

@ -669,6 +669,7 @@
:SubjectId="uploadSubjectId" :SubjectId="uploadSubjectId"
:SubjectCode="uploadSubjectCode" :SubjectCode="uploadSubjectCode"
:Criterion="uploadTrialCriterion" :Criterion="uploadTrialCriterion"
:TaskId="taskId"
:visible.sync="downloadImageVisible" :visible.sync="downloadImageVisible"
/> />
</div> </div>
@ -889,6 +890,7 @@ export default {
uploadSubjectCode: null, uploadSubjectCode: null,
uploadTrialCriterion: {}, uploadTrialCriterion: {},
uploadStatus: 'upload', uploadStatus: 'upload',
taskId: ''
} }
}, },
@ -1073,6 +1075,10 @@ export default {
.catch(() => {}) .catch(() => {})
}, },
openUploadImage(status) { openUploadImage(status) {
const idx = this.visitTaskList.findIndex(i => i.IsCurrentTask)
if (idx > -1) {
this.taskId = this.visitTaskList[idx].VisitTaskId
}
this.uploadSubjectCode = this.$route.query.subjectCode this.uploadSubjectCode = this.$route.query.subjectCode
this.uploadSubjectId = this.$route.query.subjectId this.uploadSubjectId = this.$route.query.subjectId
this.uploadTrialCriterion = this.trialCriterion this.uploadTrialCriterion = this.trialCriterion