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