From 8800ddb0a09cffa913737a90156df2ef4850b133 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Tue, 25 Jun 2024 10:34:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0spm/cpm=E6=97=B6=E8=B7=B3=E8=BF=87?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../attachments/enrollment/components/Submission.vue | 6 +++++- .../trials/trials-panel/attachments/enrollment/index.vue | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) 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() {