Browse Source

提交代码

wangxiaogang 3 years ago
parent
commit
2012875991

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

@@ -286,7 +286,7 @@ var vm = new Vue({
         industryTab() {
             $.ajax({
                 type:'POST',
-                url:'/entnichenew/buy/whetherbuy',
+                url:'/entnicheNew/buy/whetherbuy',
                 success:function (res) {
                   if (res.data.isNew) {
                     this.industryShow = true

+ 4 - 5
src/web/staticres/js/pur-search-index-pc.js

@@ -437,6 +437,9 @@ var vm = new Vue({
                         })
                         if (arrs.length == 0) {
                             this.listState.list = []
+                            if (res.error_msg) {
+                                toastFn(res.error_msg, 2000)
+                            }
                         } else {
                             _this.attentionCheck(arrs, String(arr1))
                         }
@@ -455,11 +458,7 @@ var vm = new Vue({
             this.getList(p)
         },
         goTitle(name) {
-            // const urls = this.$router.resolve({path:'/swordfish/page_big_pc/ent-bus_portrayal/' + name})
-            // window.open(urls.href, '_blank')
-            // const reff = this.$router.resolve({path:'/swordfish/page_big_pc/ent-bus_portrayal/' + name});
-            // window.open(reff.href,'_blank');
-            location.href = '/swordfish/page_big_pc/client_portrayal/' + name
+            location.href = '/unit_portrayal/' + name
         },
         // 全选
         allChange() {

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

@@ -841,7 +841,7 @@ var IframeOnClick = {
   .control-tabBtn a{
     margin-top: 0!important;
   }
-  #pursearch {
+  #searchInner .searchHeader .searchHeader-container .control-tabBtn #pursearch {
     display: none;
   }
   .bidbutdir{