无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.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
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue