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

feat: 资讯三级页添加from=jhfp参数

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 1 жил өмнө
parent
commit
7b70f71126

+ 3 - 0
src/web/staticres/BI-module/js/crm-action.js

@@ -270,6 +270,9 @@ var crmNode = new Vue({
         sourceType: 1,
         sourceType: 1,
         employType: 1
         employType: 1
       }
       }
+      if(item.active && this.fromJhfp) {
+        params.from = this.fromJhfp
+      }
       if(!item.active) {
       if(!item.active) {
         url = '/jyNewApi/property/information/exist'
         url = '/jyNewApi/property/information/exist'
         info = this.employInfo[0]
         info = this.employInfo[0]

+ 1 - 1
src/web/templates/pc/supsearch.html

@@ -3114,7 +3114,7 @@ function checkTagDisabled () {
     }
     }
     if (getParam('resource') === 'BI') {
     if (getParam('resource') === 'BI') {
       if(getParam('property') === 'BIProperty') {
       if(getParam('property') === 'BIProperty') {
-        aHref += aHref.indexOf('?') > -1 ? '&resource=BI&property=BIProperty&from=jhfp' : '?resource=BI&property=BIProperty&from=jhfp'
+        aHref += aHref.indexOf('?') > -1 ? '&resource=BI&property=BIProperty' : '?resource=BI&property=BIProperty'
       } else {
       } else {
         aHref += aHref.indexOf('?') > -1 ? '&resource=BI' : '?resource=BI'
         aHref += aHref.indexOf('?') > -1 ? '&resource=BI' : '?resource=BI'
       }
       }