Commit 42f3a4a9 authored by zhangyanni's avatar zhangyanni

需求试一下

parent 45b9abe8
...@@ -810,27 +810,33 @@ ...@@ -810,27 +810,33 @@
}else { }else {
this.isOneSelf = false; this.isOneSelf = false;
} }
if(this.detailInfo.requirementStatus=="RA03"){ this.getStatusFunc();
}else{
this.$alert(this.$t("commonTitle.requireSaleOuDialog"), {
confirmButtonText: this.$t("commonTips.confirm"),
center: true,
customClass: 'alertDialog',
callback: action => {
this.$router.push("/bigBusiness/list")
}
});
}
} }
} }
else{ else{
this.getStatusFunc();
this.isShare = true; this.isShare = true;
this.navTitleList =["title","customerInfo"]; this.navTitleList =["title","customerInfo"];
} }
}, },
//状态是否正常
getStatusFunc(){
if(this.detailInfo.requirementStatus=="RA03"){
}else{
this.$alert(this.$t("commonTitle.requireSaleOuDialog"), {
confirmButtonText: this.$t("commonTips.confirm"),
center: true,
customClass: 'alertDialog',
callback: action => {
this.$router.push("/bigBusiness/list")
}
});
}
},
//是否已经自推荐 //是否已经自推荐
isHasSelfFunc(){ isHasSelfFunc(){
let params = this.$route.query.id; let params = this.$route.query.id;
......
...@@ -169,6 +169,24 @@ ...@@ -169,6 +169,24 @@
}) })
}, },
//状态是否正常
getStatusFunc(){
if(this.detailInfo.requirementStatus=="RA03"){
}else{
MessageBox({
title:"",
message:this.$t("commonTitle.requireSaleOuDialog"),
confirmButtonText:this.$t("commonTips.confirm")
}).then(action=>{
if(action=='confirm') {
globalMsg.$emit("sendContactIndex",2)
globalMsg.$emit('sendSelected', "contact");
this.$router.push({path:"/tabconnect",query:{tabIndex:2}});
}
})
}
},
//获取用户信息 //获取用户信息
getUserInfoFunc(){ getUserInfoFunc(){
var userInfo = this.publicFun.getCookie("userInfo") ? JSON.parse(this.Base64.decode(this.publicFun.getCookie("userInfo"))) : ""; var userInfo = this.publicFun.getCookie("userInfo") ? JSON.parse(this.Base64.decode(this.publicFun.getCookie("userInfo"))) : "";
...@@ -209,24 +227,14 @@ ...@@ -209,24 +227,14 @@
}else { }else {
this.isOneSelf = false; this.isOneSelf = false;
} }
if(this.detailInfo.requirementStatus=="RA03"){ this.getStatusFunc();
}else{
MessageBox({
title:"",
message:this.$t("commonTitle.requireSaleOuDialog"),
confirmButtonText:this.$t("commonTips.confirm")
}).then(action=>{
if(action=='confirm') {
globalMsg.$emit("sendContactIndex",2)
globalMsg.$emit('sendSelected', "contact");
this.$router.push({path:"/tabconnect",query:{tabIndex:2}});
}
})
}
} }
}else{
this.getStatusFunc();
} }
}, },
handleToCom(){ handleToCom(){
......
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