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({
|
return request({
|
||||||
url: `/doctor/getDetail`,
|
url: `/doctor/getDetail`,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data
|
data: {
|
||||||
|
DoctorId: doctorId,
|
||||||
|
TrialId
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in New Issue