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

隐藏关注按钮、显示中标信息

TANGSHIZHE 4 жил өмнө
parent
commit
7e8beb7c7f

+ 7 - 2
src/jfw/modules/app/src/web/staticres/jyapp/big-member/js/ent_portrait.js

@@ -119,7 +119,12 @@ var vNode = {
             this.getPowerInfo()
             // 获取企业基本信息
             this.getEntBaseInfo()
-            this.getEntFollowState()
+            if (this.svip) {
+                this.entInfo.followSearchFinish = true
+                this.entInfo.entExist = false
+            } else {
+                this.getEntFollowState()
+            }
         }
     },
     mounted: function () {
@@ -353,7 +358,7 @@ var vNode = {
                             // _this.conf.showPortraitAll = true
                             // 根据power判断权限,企业画像包含权限(4,12,13)
                             var power = res.data.power
-                            if (power.indexOf(4) != -1) {
+                            if (power.indexOf(4) != -1 || _this.svip) {
                                 // 获取企业画像信息-4
                                 _this.getEntPortrait()
                                 _this.conf._4 = true