浏览代码

feat: 企业查询画像跳转逻辑修改

cuiyalong 4 年之前
父节点
当前提交
6575a456c3
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      src/web/staticres/js/ent-search-index-pc.js

+ 7 - 1
src/web/staticres/js/ent-search-index-pc.js

@@ -504,7 +504,13 @@ var vm = new Vue({
             $('#go-customer-4').trigger('click')
             $('#go-customer-4').trigger('click')
         },
         },
         toDetail: function (id) {
         toDetail: function (id) {
-            window.open('/swordfish/page_big_pc/svip/ent_ser_portrait/' + id)
+            if (this.powerInfo.vip > 1) {
+                // 去超级订阅画像
+                window.open('/swordfish/page_big_pc/svip/ent_ser_portrait/' + id)
+            } else {
+                // 去大会员画像
+                window.open('/swordfish/page_big_pc/ent_portrait/' + id)
+            }
         },
         },
         calcListItemForCap: function (p) {
         calcListItemForCap: function (p) {
             if (p) {
             if (p) {