@@ -87,7 +87,7 @@ const handleGoApplyPermission = async () => {
});
} else {
// 流失客户主动申请一次
- if (userInfo.value.status == "流失") {
+ if (userInfo.value.status == "流失"||userInfo.value.status == "关闭") {
apiApplyPermission({
company_name: userInfo.value.company_name,
real_name: userInfo.value.real_name,
@@ -212,7 +212,7 @@ const handleApply=()=>{
confirmButtonClass:'self-elmessage-confirm-btn'
})
}else{
- if(!noAuth.data.customer_info.status||noAuth.data.customer_info.status!='流失'){
+ if(!noAuth.data.customer_info.status||noAuth.data.customer_info.status!='流失'||noAuth.data.customer_info.status!='关闭'){
console.log('跳转申请页');
router.push({
path:'/apply/permission',
@@ -98,7 +98,7 @@ export const applyAuth=(res,type,source,fromPage)=>{
- if(!res.data.customer_info.status||res.data.customer_info.status!='流失'){
+ if(!res.data.customer_info.status||res.data.customer_info.status!='流失'||res.data.customer_info.status!='关闭'){
@@ -170,7 +170,7 @@ const handleGoApply = async () => {
if (
!noAuthInfo.value.customer_info.status ||
- noAuthInfo.value.customer_info.status !== "流失"
+ noAuthInfo.value.customer_info.status !== "流失"||noAuthInfo.value.customer_info.status !== "关闭"
) {
path: "/apply/permission",
@@ -192,7 +192,7 @@ const toApply = (type='')=>{
return
}
- if(question.noAuthorData.status==='流失'){
+ if(question.noAuthorData.status==='流失'||question.noAuthorData.status==='关闭'){
company_name:question.noAuthorData.company,
real_name:question.noAuthorData.name,
@@ -176,7 +176,7 @@ const toApply = (type='')=>{
@@ -330,7 +330,7 @@ const handleGoApply=async ()=>{
- if(!info.value.permission_check.customer_info.status||info.value.permission_check.customer_info.status!='流失'){
+ if(!info.value.permission_check.customer_info.status||info.value.permission_check.customer_info.status!='流失'||info.value.permission_check.customer_info.status!='关闭'){
query:{
@@ -304,7 +304,7 @@ const handleGoApply=async ()=>{
@@ -166,7 +166,7 @@ const handleApply=()=>{
- if (!noAuth.value.customer_info.status || noAuth.value.customer_info.status != '流失') {
+ if (!noAuth.value.customer_info.status || noAuth.value.customer_info.status != '流失'|| noAuth.value.customer_info.status != '关闭') {
@@ -248,7 +248,7 @@ const toApply = (type='')=>{
- if(sandBox.applyer.status==='流失'){
+ if(sandBox.applyer.status==='流失'||sandBox.applyer.status==='关闭'){
company_name:sandBox.applyer.company,
real_name:sandBox.applyer.name,
@@ -165,7 +165,7 @@ const handleApply=()=>{
@@ -110,7 +110,7 @@ const handleApply=()=>{
@@ -140,7 +140,7 @@ const handleApply=()=>{