浏览代码

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

TANGSHIZHE 4 年之前
父节点
当前提交
7e8beb7c7f
共有 1 个文件被更改,包括 7 次插入2 次删除
  1. 7 2
      src/jfw/modules/app/src/web/staticres/jyapp/big-member/js/ent_portrait.js

+ 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