无spm/cpm时跳过审核
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2024-06-25 10:34:20 +08:00
parent 2ee3ff0a7c
commit 8800ddb0a0
2 changed files with 9 additions and 2 deletions

View File

@ -192,7 +192,11 @@ export default {
this.getList() this.getList()
// //
this.$message.success(this.$t('common:message:savedSuccessfully')) 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(() => { }).catch(() => {
this.loading = false this.loading = false

View File

@ -147,7 +147,10 @@ export default {
this.activeStatus = step this.activeStatus = step
}, },
nextStep(stepName) { 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.TrialMaxState = this.activeStatus
this.$nextTick( this.$nextTick(
function() { function() {