Эх сурвалжийг харах

企业搜索到企业画像加权限

TANGSHIZHE 4 жил өмнө
parent
commit
fa2bef5d1e

+ 8 - 4
src/jfw/modules/app/src/web/staticres/jyapp/big-member/js/ent_portrait.js

@@ -98,7 +98,7 @@ var vNode = {
             initEchartsOptions: {
                 renderer: 'svg'
             },
-            svip: false
+            svip: false, // 判断是否是超级订阅的企业画像
         }
     },
     created: function () {
@@ -119,9 +119,13 @@ var vNode = {
             this.getPowerInfo()
             // 获取企业基本信息
             this.getEntBaseInfo()
-            if (this.svip) {
-                this.entInfo.followSearchFinish = true
-                this.entInfo.entExist = false
+            if (this.powerInfo.memberStatus < 0) {
+                if (this.svip || this.powerInfo.viper) {
+                    this.entInfo.followSearchFinish = true
+                    this.entInfo.entExist = false
+                } else {
+                    this.getEntFollowState()
+                }
             } else {
                 this.getEntFollowState()
             }