Commit 22277de7 by sunchao

公告佣金bug修复

parent ee96314e
...@@ -52,13 +52,16 @@ export class ProductDataComponent implements OnInit { ...@@ -52,13 +52,16 @@ export class ProductDataComponent implements OnInit {
if(urlItem['categoryId'] != 35){ if(urlItem['categoryId'] != 35){
this.router.navigate(['/filelist'],{queryParams:{planId:this.planId,productId:this.productId,categoryId:urlItem['categoryId']}}) this.router.navigate(['/filelist'],{queryParams:{planId:this.planId,productId:this.productId,categoryId:urlItem['categoryId']}})
}else{ }else{
if(this.isActive == 1){
sessionStorage.setItem('commission',urlItem['fileInfos'][0]['description']); sessionStorage.setItem('commission',urlItem['fileInfos'][0]['description']);
}
if(this.isActive == null){ if(this.isActive == null){
const toast = ToastService.show('暂未配置公告佣金', 0); const toast = ToastService.show('暂未配置公告佣金', 0);
setTimeout(() => { setTimeout(() => {
ToastService.hide(); ToastService.hide();
}, 3000); }, 3000);
}else{ }
if(this.isActive == 2){
this.router.navigate(['/commission'],{queryParams:{productId:this.productId,planId:this.planId,isActive:this.isActive}}); this.router.navigate(['/commission'],{queryParams:{productId:this.productId,planId:this.planId,isActive:this.isActive}});
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment