1
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2024-11-04 17:20:23 +08:00
parent b8baa1b5d8
commit 7a5693a468
2 changed files with 6 additions and 9 deletions

View File

@ -237,11 +237,14 @@ export function downloadByAttachmentId(doctorId, attachmentIds) {
}) })
} }
export function getDetail(data) { export function getDetail(doctorId, TrialId) {
return request({ return request({
url: `/doctor/getDetail`, url: `/doctor/getDetail`,
method: 'post', method: 'post',
data data: {
DoctorId: doctorId,
TrialId
}
}) })
} }

View File

@ -108,14 +108,8 @@ export default {
try { try {
let id = this.$route.query.Id || this.reviewerId let id = this.$route.query.Id || this.reviewerId
if (!id) return false if (!id) return false
let data = {
DoctorId: id,
}
if (this.$route.query.trialId) {
data.TrialId = this.$route.query.trialId
}
this.loading = true this.loading = true
let res = await getDetail(data) let res = await getDetail(id, this.$route.query.trialId)
this.loading = false this.loading = false
if (res.IsSuccess) { if (res.IsSuccess) {
Object.keys(this.form).forEach((key) => { Object.keys(this.form).forEach((key) => {