1
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
b8baa1b5d8
commit
7a5693a468
|
@ -237,11 +237,14 @@ export function downloadByAttachmentId(doctorId, attachmentIds) {
|
|||
})
|
||||
}
|
||||
|
||||
export function getDetail(data) {
|
||||
export function getDetail(doctorId, TrialId) {
|
||||
return request({
|
||||
url: `/doctor/getDetail`,
|
||||
method: 'post',
|
||||
data
|
||||
data: {
|
||||
DoctorId: doctorId,
|
||||
TrialId
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -108,14 +108,8 @@ export default {
|
|||
try {
|
||||
let id = this.$route.query.Id || this.reviewerId
|
||||
if (!id) return false
|
||||
let data = {
|
||||
DoctorId: id,
|
||||
}
|
||||
if (this.$route.query.trialId) {
|
||||
data.TrialId = this.$route.query.trialId
|
||||
}
|
||||
this.loading = true
|
||||
let res = await getDetail(data)
|
||||
let res = await getDetail(id, this.$route.query.trialId)
|
||||
this.loading = false
|
||||
if (res.IsSuccess) {
|
||||
Object.keys(this.form).forEach((key) => {
|
||||
|
|
Loading…
Reference in New Issue