Переглянути джерело

fix: 阳光采购搜索跳转详情逻辑调整

cuiyalong 9 місяців тому
батько
коміт
a6fb3e9600
1 змінених файлів з 2 додано та 19 видалено
  1. 2 19
      apps/bigmember_pc/src/views/search/sun/model/base.js

+ 2 - 19
apps/bigmember_pc/src/views/search/sun/model/base.js

@@ -610,23 +610,6 @@ export default function () {
       const kds = inputKeywordsState.value.matchKeys.join(' ')
       aHref+= '?kds=' + encodeURIComponent(kds)
     }
-    if (getParam('resource') === 'BI') {
-      if (getParam('property') === 'BIProperty') {
-        aHref +=
-          aHref.indexOf('?') > -1
-            ? '&resource=BI&property=BIProperty'
-            : '?resource=BI&property=BIProperty'
-      } else {
-        if (inBITopNet) {
-          aHref +=
-            aHref.indexOf('?') > -1
-              ? '&resource=BI&crm_type=1'
-              : '?resource=BI&crm_type=1'
-        } else {
-          aHref += aHref.indexOf('?') > -1 ? '&resource=BI' : '?resource=BI'
-        }
-      }
-    }
 
     const id = item.id
     try {
@@ -647,7 +630,7 @@ export default function () {
 
 
     if(isLogin.value) {
-      const prefix = isInApp.value ? '/article/content/' : '/nologin/content/'
+      const prefix = '/article/content/'
       const targetLink = `${prefix}${id}${aHref}`
 
       // 在iframe里,往工作桌面跳转。不在iframe里,正常跳转
@@ -661,7 +644,7 @@ export default function () {
         window.location.href = '/notin/page'
         // openLoginDig(null, "/article/content/"+thisId+aHref)
       } else {
-        const targetLink = `/nologin/content/${id}${aHref}`
+        const targetLink = `/article/content/${id}${aHref}`
         window.open(targetLink)
       }
     }