Forráskód Böngészése

Merge remote-tracking branch 'origin/dev4.6.3' into dev4.6.3

wangkaiyue 3 éve
szülő
commit
3989baea13

+ 1 - 0
src/jfw/modules/app/src/web/templates/weixin/search/mainSearch.html

@@ -650,6 +650,7 @@
       success: function(res) {
         console.log(res)
         if(res.error_code == 0) {
+          sessionStorage.setItem('setEntStatus', res.data.isNew)
           SuperSearch.isEntNicheNew = res.data.isNew
           jyUserPower.entniche = res.data.isNew || res.data.isPower
         }

+ 2 - 1
src/jfw/modules/app/src/web/templates/weixin/search/tabSearch.html

@@ -2023,6 +2023,7 @@
         }
         // tabs 切换
         $(".tabs-nav div").on('click', function () {
+            var setEntStatus = sessionStorage.getItem('setEntStatus')
             $(this).addClass('active').siblings().removeClass('active')
             var nowIndex = $(this).index()
             var tipArr = ['多个关键词用空格隔开', '企业名称', '采购单位名称']
@@ -2033,7 +2034,7 @@
                 $(".search-header-box").addClass('m-r')
                 if (nowIndex !== 1) {
                   $(".search-header-box").removeAttr("action")
-                  if(SuperSearch.isEntNicheNew) {
+                  if(SuperSearch.isEntNicheNew || setEntStatus) {
                     $(".search-header-box").next().show()
                   } else {
                     $(".search-header-box").next().hide()

+ 3 - 0
src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

@@ -1181,6 +1181,9 @@
               if(res.data.isNew) {
                 $('.commonUser').hide()
                 $('.entnicheUser').show()
+                if({{.T.obj.buyer}} == '') {
+                  $('.entnicheUser .sum_right').hide()
+                }
                 getActionState ({{.T.obj.buyer}}, 'g')
                 getActionState ({{.T.obj.buyer}}, 'r')
               } else {