简历项目相关修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
6d7b991482
commit
53f0462108
|
@ -226,6 +226,9 @@ export default {
|
|||
emailOrPhone: this.form.EmailOrPhone,
|
||||
verificationCode: this.form.VerificationCode,
|
||||
}
|
||||
if (this.$route.query.trialId) {
|
||||
param.TrialId = this.$route.query.trialId
|
||||
}
|
||||
verifyEmialGetDoctorInfo(param)
|
||||
.then(async (res) => {
|
||||
this.btnLoading = false
|
||||
|
@ -242,7 +245,9 @@ export default {
|
|||
res.Result.DoctorId ? res.Result.DoctorId : ''
|
||||
}&tabActive=BasicInfo&ReviewStatus=${
|
||||
res.Result.ReviewStatus
|
||||
}&lang=${this.$route.query.lang}`,
|
||||
}&trialId=${this.$route.query.trialId}&lang=${
|
||||
this.$route.query.lang
|
||||
}`,
|
||||
})
|
||||
})
|
||||
.catch(() => {
|
||||
|
|
|
@ -525,6 +525,10 @@ export default {
|
|||
}
|
||||
},
|
||||
},
|
||||
trialId: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
reviewerId: {
|
||||
type: String,
|
||||
default: '',
|
||||
|
@ -773,6 +777,9 @@ export default {
|
|||
console.log(validate, 'validate')
|
||||
if (!validate) return false
|
||||
this.form.DoctorId = this.reviewerId
|
||||
if (this.trialId) {
|
||||
this.form.TrialId = this.trialId
|
||||
}
|
||||
this.loading = true
|
||||
let res = await addOrUpdateTrialExperience(this.form)
|
||||
this.loading = false
|
||||
|
|
|
@ -92,6 +92,10 @@ export default {
|
|||
type: String,
|
||||
default: '',
|
||||
},
|
||||
trialId: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
isEN: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
|
@ -132,6 +136,9 @@ export default {
|
|||
if (this.reviewerId) {
|
||||
this.form.Id = this.reviewerId
|
||||
}
|
||||
if (this.trialId) {
|
||||
this.form.trialId = this.trialId
|
||||
}
|
||||
this.loading = true
|
||||
let res = await updateGneralSituation(this.form)
|
||||
this.loading = false
|
||||
|
|
|
@ -78,6 +78,7 @@
|
|||
...reviewerData.SummarizeInfo,
|
||||
}"
|
||||
:reviewerId.sync="reviewerId"
|
||||
:trialId="trialId"
|
||||
:isEN="isEN"
|
||||
@getInfo="getDetail"
|
||||
/>
|
||||
|
@ -121,6 +122,7 @@
|
|||
:DATA="{ ...reviewerData.TrialExperienceView }"
|
||||
:isEN="isEN"
|
||||
:reviewerId.sync="reviewerId"
|
||||
:trialId="trialId"
|
||||
@getInfo="getDetail"
|
||||
/>
|
||||
</div>
|
||||
|
@ -223,6 +225,7 @@ export default {
|
|||
visible: false,
|
||||
loading: false,
|
||||
reviewerId: null,
|
||||
trialId: null,
|
||||
reviewerData: {
|
||||
BasicInfoView: {},
|
||||
EmploymentView: {},
|
||||
|
@ -251,6 +254,7 @@ export default {
|
|||
},
|
||||
async created() {
|
||||
this.$i18n.locale = this.$route.query.lang
|
||||
this.trialId = this.$route.query.trialId
|
||||
await this.setLanguage(this.$route.query.lang)
|
||||
if (sessionStorage.getItem('reviewerId')) {
|
||||
this.reviewerId = sessionStorage.getItem('reviewerId')
|
||||
|
@ -277,8 +281,9 @@ export default {
|
|||
async getDetail() {
|
||||
try {
|
||||
let id = this.reviewerId
|
||||
let trialId = this.trialId
|
||||
this.loading = true
|
||||
let res = await getDetail(id)
|
||||
let res = await getDetail(id, trialId)
|
||||
this.loading = false
|
||||
if (res.IsSuccess) {
|
||||
this.reviewerData = res.Result
|
||||
|
|
|
@ -484,7 +484,7 @@ export default {
|
|||
},
|
||||
// 简历采集
|
||||
resumeCollection() {
|
||||
this.shareLink = `${location.protocol}//${location.host}/ReviewersResearch?lang=${this.$store.getters.language}`
|
||||
this.shareLink = `${location.protocol}//${location.host}/ReviewersResearch?lang=${this.$store.getters.language}&trialId=${this.$route.query.trialId}`
|
||||
this.email = null
|
||||
this.share_model.visible = true
|
||||
},
|
||||
|
@ -497,7 +497,7 @@ export default {
|
|||
this.emailLoading = true
|
||||
let res = await doctorSendEmail({
|
||||
Email: this.email,
|
||||
Url: `ReviewersResearch?lang=${this.$store.getters.language}`,
|
||||
Url: `ReviewersResearch?lang=${this.$store.getters.language}&trialId=${this.$route.query.trialId}`,
|
||||
})
|
||||
this.emailLoading = false
|
||||
if (res.IsSuccess) {
|
||||
|
|
Loading…
Reference in New Issue