无spm/cpm时跳过审核
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
2ee3ff0a7c
commit
8800ddb0a0
|
@ -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
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue