diff --git a/src/views/trials/trials-panel/attachments/enrollment/components/Submission.vue b/src/views/trials/trials-panel/attachments/enrollment/components/Submission.vue index f496d756..4dffa9c9 100644 --- a/src/views/trials/trials-panel/attachments/enrollment/components/Submission.vue +++ b/src/views/trials/trials-panel/attachments/enrollment/components/Submission.vue @@ -192,7 +192,11 @@ export default { this.getList() // 保存成功 this.$message.success(this.$t('common:message:savedSuccessfully')) - this.$emit('nextStep', 'approval') + if(res.Result.IsHaveSPMOrCPM){ + this.$emit('nextStep', 'approval') + }else{ + this.$emit('nextStep', 'confirmation') + } } }).catch(() => { this.loading = false diff --git a/src/views/trials/trials-panel/attachments/enrollment/index.vue b/src/views/trials/trials-panel/attachments/enrollment/index.vue index 29fece41..c1400a3c 100644 --- a/src/views/trials/trials-panel/attachments/enrollment/index.vue +++ b/src/views/trials/trials-panel/attachments/enrollment/index.vue @@ -147,7 +147,10 @@ export default { this.activeStatus = step }, nextStep(stepName) { - this.activeStatus = this.activeStatus === 3 ? 3 : this.activeStatus + 1 + this.activeStatus = this.activeStatus === 3 ? 3 : this.activeStatus + 1; + if(stepName==='confirmation'){ + this.activeStatus = 3; + } this.TrialMaxState = this.activeStatus this.$nextTick( function() {