简历部分接口添加项目id
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2024-10-29 14:16:30 +08:00
parent 9f9255d315
commit 2d938d077e
4 changed files with 19 additions and 4 deletions

View File

@ -140,8 +140,11 @@ export function addOrUpdateResearchPublication(param) {
export function getTrialExperience(doctorId) { export function getTrialExperience(doctorId) {
return request({ return request({
url: `/trialExperience/getTrialExperience/${doctorId}`, url: `/trialExperience/getTrialExperience`,
method: 'get' method: 'post',
data: {
DoctorId: doctorId
}
}) })
} }
@ -238,8 +241,11 @@ export function downloadByAttachmentId(doctorId, attachmentIds) {
export function getDetail(doctorId) { export function getDetail(doctorId) {
return request({ return request({
url: `/doctor/getDetail/${doctorId}`, url: `/doctor/getDetail`,
method: 'get' method: 'post',
data: {
DoctorId: doctorId
}
}) })
} }

View File

@ -90,6 +90,9 @@ export default {
if (!validate) return false if (!validate) return false
this.form.Id = this.$route.query.Id || this.reviewerId this.form.Id = this.$route.query.Id || this.reviewerId
this.loading = true this.loading = true
if (this.$route.query.trialId) {
this.form.TrialId = this.$route.query.trialId
}
let res = await updateGneralSituation(this.form) let res = await updateGneralSituation(this.form)
this.loading = false this.loading = false
if (res.IsSuccess) { if (res.IsSuccess) {

View File

@ -522,6 +522,9 @@ export default {
OtherClinicalExperience: this.OtherClinicalExperience, OtherClinicalExperience: this.OtherClinicalExperience,
OtherClinicalExperienceCN: this.OtherClinicalExperienceCN, OtherClinicalExperienceCN: this.OtherClinicalExperienceCN,
} }
if (this.$route.query.trialId) {
param.TrialId = this.$route.query.trialId
}
updateOtherExperience(param).then((res) => { updateOtherExperience(param).then((res) => {
if (res.IsSuccess) { if (res.IsSuccess) {
if (this.id) { if (this.id) {

View File

@ -602,5 +602,8 @@ export default {
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
::v-deep .el-card__body {
padding: 20px !important;
}
</style> </style>