ソースを参照

feat: 修改样式及大会员权限

yangfeng 4 年 前
コミット
f2391544d7

+ 8 - 3
src/jfw/modules/app/src/web/staticres/jyapp/big-member/js/ent_portrait.js

@@ -29,6 +29,7 @@ var vNode = {
                 _13: false,
                 // 是否有企业情报历史记录权限
                 _12: false,
+                isMember: 0 // 是否是大会员
             },
             powerInfo: {},
             tabActiveName: '1',
@@ -517,6 +518,7 @@ var vNode = {
                                 _this.bidcollPowerInfo.vip = 1
                             }
                         }
+                        _this.conf.isMember = res.data.memberStatus
                     } else {
                         _this.$toast(res.error_msg)
                     }
@@ -783,11 +785,14 @@ var vNode = {
             var rows = []
             var columns = ['月份']
             var count = 0
-
+            var allNum = []
             // 1. 先将月份提取出来, 并排序
             var yearArr = []
             for (var key in data) {
                 yearArr.push(parseInt(key))
+                for (var n in data[key]) {
+                  allNum.push(data[key][n])
+                }
             }
             yearArr.sort(function (a, b) { return a - b })
 
@@ -812,9 +817,9 @@ var vNode = {
                 })
                 rows.push(columnsItem)
             }
-
+            var maxNum = Math.max.apply(Math, allNum.map(function(o) { return o }))
             // 数据总量为0,不赋值
-            if (count != 0) {
+            if (count != 0 && maxNum !== 0) {
                 this.monthZbData.columns = columns;
                 this.monthZbData.rows = rows;
             }

+ 1 - 1
src/jfw/modules/app/src/web/staticres/jyapp/css/wxinfocontent.css

@@ -984,7 +984,7 @@ ul {
 
 #tab1 .itemInfo>ul>li p.textcontent {
     /* flex: 1; */
-    width: 4.2rem;
+    width: 4rem;
     line-height: 20px;
     font-size: 14px;
     color: #171826;

+ 8 - 8
src/jfw/modules/app/src/web/templates/big-member/page_ent_portrait.html

@@ -255,10 +255,10 @@
                     </div>
                 </div>
                 <div class="vip_component" v-if="getStatus && !conf._13" style="height:9.16rem;background:url('/common-module/collection/image/bg/vip_bg_1.png') no-repeat;background-size:100% 100%">
-                    <vip-component @tabactive="tabActive" type="item_1" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_1.png'></vip-component>
+                    <vip-component @tabactive="tabActive" :power="conf" type="item_1" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_1.png'></vip-component>
                 </div>
                 <div class="vip_component" v-if="isMember" style="height:11.36rem;background:url('/common-module/collection/image/bg/vip_bg_9.png') no-repeat;background-size:100% 100%">
-                    <vip-component @tabactive="tabActive" type="item_9" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_9.png'></vip-component>
+                    <vip-component @tabactive="tabActive" :power="conf" type="item_9" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_9.png'></vip-component>
                 </div>
                 <div class="bg-white tab-card cell-list history-list" v-else>
                   <hispro-component type="winner" :id="entInfo.id"></hispro-component>
@@ -280,7 +280,7 @@
                     <div class="tab-card-tip">注:项目金额指所有项目的中标金额之和,少数缺失的中标金额,用项目预算补充。</div>
                 </div>
                 <div class="vip_component" v-if="getStatus" style="height:11.12rem;background:url('/common-module/collection/image/bg/vip_bg_2.png') no-repeat;background-size:100% 100%">
-                    <vip-component @tabactive="tabActive" type="item_2" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_2.png'></vip-component>
+                    <vip-component @tabactive="tabActive" type="item_2" :power="conf" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_2.png'></vip-component>
                 </div>
                 <div class="bg-white tab-card charts"  v-if="conf._4 && tabActiveName == '2' && monthZbData.rows.length !== 0 && !getStatus">
                     <div class="tab-card-title">月度中标金额统计</div>
@@ -296,7 +296,7 @@
                     <div class="tab-card-tip">注:少数缺失的中标金额,用项目预算补充。</div>
                 </div>
                 <div class="vip_component" v-if="getStatus" style="height:10.8rem;background:url('/common-module/collection/image/bg/vip_bg_3.png') no-repeat;background-size:100% 100%">
-                    <vip-component @tabactive="tabActive" type="item_3" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_3.png'></vip-component>
+                    <vip-component @tabactive="tabActive" type="item_3" :power="conf" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_3.png'></vip-component>
                 </div>
                 <div class="bg-white tab-card charts" v-if="conf._4 && tabActiveName == '2' && mapChartData.rows.length !== 0 && !getStatus">
                     <div class="tab-card-title">市场区域分布</div>
@@ -312,7 +312,7 @@
                     </div>
                 </div>
                 <div class="vip_component" v-if="getStatus" style="height:10.56rem;background:url('/common-module/collection/image/bg/vip_bg_4.png') no-repeat;background-size:100% 100%">
-                    <vip-component @tabactive="tabActive" type="item_4" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_4.png'></vip-component>
+                    <vip-component @tabactive="tabActive" type="item_4" :power="conf" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_4.png'></vip-component>
                 </div>
                 <div class="bg-white tab-card charts"  v-if="conf._4 && tabActiveName == '2' && rateData.rows.length !== 0 && !getStatus">
                     <div class="tab-card-title">各类客户平均折扣率</div>
@@ -328,7 +328,7 @@
                     <div class="tab-card-tip">注:平均折扣率=(全部项目预算-全部中标金额)/全部项目预算,是指价格减让部分与原价的比率,仅统计预算和中标金额同时存在的项目。</div>
                 </div>
                 <div class="vip_component" v-if="getStatus" style="height:11.24rem;background:url('/common-module/collection/image/bg/vip_bg_5.png') no-repeat;background-size:100% 100%">
-                    <vip-component @tabactive="tabActive" type="item_5" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_5.png'></vip-component>
+                    <vip-component @tabactive="tabActive" type="item_5" :power="conf" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_5.png'></vip-component>
                 </div>
                 <div class="bg-white tab-card charts"  v-show="conf._4 && tabActiveName == '2' && entPortraitInfo.top10 && entPortraitInfo.top10.length != 0 && !getStatus">
                     <div class="tab-card-title">客户类型分布</div>
@@ -338,7 +338,7 @@
                     <div class="tab-card-tip">注:各客户类型占比以中标金额计算,最多展示占比排名前十的客户类型。</div>
                 </div>
                 <div class="vip_component" v-if="getStatus" style="height:11.92rem;background:url('/common-module/collection/image/bg/vip_bg_6.png') no-repeat;background-size:100% 100%">
-                    <vip-component @tabactive="tabActive" type="item_6" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_6.png'></vip-component>
+                    <vip-component @tabactive="tabActive" type="item_6" :power="conf" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_6.png'></vip-component>
                 </div>
                 <div class="bg-white tab-card customers client"  v-show="conf._4 && tabActiveName == '2' && importantCustomers.length !== 0 && !getStatus">
                     <div class="tab-card-title">重点客户</div>
@@ -368,7 +368,7 @@
                     </div>
                 </div>
                 <div class="vip_component" v-if="getStatus" style="height:10.8rem;background:url('/common-module/collection/image/bg/vip_bg_7.png') no-repeat;background-size:100% 100%">
-                    <vip-component @tabactive="tabActive" type="item_7" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_7.png'></vip-component>
+                    <vip-component @tabactive="tabActive" type="item_7" :power="conf" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_7.png'></vip-component>
                 </div>
             </van-tab>
         </van-tabs>

+ 4 - 2
src/jfw/modules/app/src/web/templates/big-member/page_ent_portrait_change.html

@@ -42,7 +42,7 @@
             <p class="empty-text">暂无企业情报历史记录</p>
         </div>
         <div class="vip_component bigVip_com" v-if="!getStatus" style="height:100%;background:url('/common-module/collection/image/bg/vip_bg_8.png') no-repeat;background-size:100% 100%">
-            <vip-component type="item_8" :vipststus="vipststus" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_8.png'></vip-component>
+            <vip-component type="item_8" :power="conf" :vipststus="vipststus" :entvisit="entvisit" imgurl='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/collection/image/bg/vip_ex_8.png'></vip-component>
         </div>
         <ul class="ent-change-list" v-else key="changeList">
             <li class="ent-change-item" v-for="(item,index) in changeList" :key="item.changeTime">
@@ -96,7 +96,8 @@ var vNode = {
         },
         powerInfo: {},
         conf: {
-            _12: false
+            _12: false,
+            isMember: 0
         },
         isVip: false,
         vipststus: 0
@@ -148,6 +149,7 @@ var vNode = {
                             _this.conf._12 = true
                             $('.bigVip_com').css({'display':'flex'})
                         }
+                        _this.conf.isMember = res.data.memberStatus
                     }
                 }
             })

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

@@ -24,7 +24,7 @@
     <style>
       .unitbtn{
         margin-left: .28rem;
-        font-size: 0.24rem;
+        font-size: 0.26rem;
         white-space: nowrap;
         color:#2ABED1;
       }

+ 9 - 4
src/web/staticres/common-module/collection/js/ent_portrait.js

@@ -26,7 +26,8 @@ var vNode = {
                 // 是否显示,企业全景分析
                 _4: false,
                 // 是否显示中标企业动态
-                _13: false
+                _13: false,
+                isMember: 0 // 是否是大会员
             },
             powerInfo: {},
             tabActiveName: '1',
@@ -516,6 +517,7 @@ var vNode = {
                                 _this.bidcollPowerInfo.vip = 1
                             }
                         }
+                        _this.conf.isMember = res.data.memberStatus
                     } else {
                         _this.$toast(res.error_msg)
                     }
@@ -782,11 +784,14 @@ var vNode = {
             var rows = []
             var columns = ['月份']
             var count = 0
-
+            var allNum = []
             // 1. 先将月份提取出来, 并排序
             var yearArr = []
             for (var key in data) {
                 yearArr.push(parseInt(key))
+                for (var n in data[key]) {
+                  allNum.push(data[key][n])
+                }
             }
             yearArr.sort(function (a, b) { return a - b })
 
@@ -811,9 +816,9 @@ var vNode = {
                 })
                 rows.push(columnsItem)
             }
-
+            var maxNum = Math.max.apply(Math, allNum.map(function(o) { return o }))
             // 数据总量为0,不赋值
-            if (count != 0) {
+            if (count != 0 && maxNum !== 0) {
                 this.monthZbData.columns = columns;
                 this.monthZbData.rows = rows;
             }

+ 8 - 2
src/web/staticres/common-module/collection/js/vip-dialog.js

@@ -47,6 +47,12 @@ var vipComponent = {
       default: function () {
         return 0
       }
+    },
+    "power": {
+      type: Object,
+      default: function () {
+        return {}
+      }
     }
   },
   data: function() {
@@ -145,7 +151,7 @@ var vipComponent = {
           // 企业情报历史记录
         case 'item_8': {
           textMap.titleText = '开通大会员'
-          textMap.btnText = '免费体验'
+          textMap.btnText = this.power.isMember > 0 && !this.power._12 ? '联系客服' : '免费体验'
           textMap.headText.top = '快速查询全国企业工商信息、法人信息、'
           textMap.headText.bot = '联系方式,全面掌控企业动态!'
           textMap.source = 'ent_portrait_changeList'
@@ -154,7 +160,7 @@ var vipComponent = {
           // 历史项目联系方式
         case 'item_9': {
           textMap.titleText = '开通大会员'
-          textMap.btnText = '免费体验'
+          textMap.btnText = this.power.isMember > 0 && !this.power._4 ? '联系客服' : '免费体验'
           textMap.headText.top = '获取企业历史项目联系人信息,'
           textMap.headText.bot = '直接与甲方或渠道商项目负责人对接!'
           textMap.source = 'ent_portrait_contacts'

+ 2 - 1
src/web/staticres/css/wxcontentinfo.css

@@ -81,7 +81,8 @@
 }
 
 #tab1 .itemInfo>ul>li p.textcontent {
-  width: 4.2rem;
+  width: 4rem;
+  margin-right: 0.28rem;
 }
 #tab1 .itemInfo>ul>li .unitcenter {
   display: flex;

+ 8 - 8
src/web/templates/frontRouter/wx/collection/sess/ent_portrait.html

@@ -260,10 +260,10 @@
                     </div>
                 </div>
                 <div class="vip_component" v-if="getStatus && !conf._13" style="height:9.16rem;background:url('/common-module/collection/image/bg/vip_bg_1.png') no-repeat;background-size:100% 100%">
-                    <vip-component @tabactive="tabActive" type="item_1" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_1.png'></vip-component>
+                    <vip-component @tabactive="tabActive" :power="conf" type="item_1" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_1.png'></vip-component>
                 </div>
                 <div class="vip_component" v-if="isMember" style="height:11.36rem;background:url('/common-module/collection/image/bg/vip_bg_9.png') no-repeat;background-size:100% 100%">
-                    <vip-component @tabactive="tabActive" type="item_9" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_9.png'></vip-component>
+                    <vip-component @tabactive="tabActive" :power="conf" type="item_9" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_9.png'></vip-component>
                 </div>
                 <div class="bg-white tab-card cell-list history-list" v-else>
                   <hispro-component type="winner" :id="entInfo.id"></hispro-component>
@@ -285,7 +285,7 @@
                     <div class="tab-card-tip">注:项目金额指所有项目的中标金额之和,少数缺失的中标金额,用项目预算补充。</div>
                 </div>
                 <div class="vip_component" v-if="getStatus" style="height:11.12rem;background:url('/common-module/collection/image/bg/vip_bg_2.png') no-repeat;background-size:100% 100%">
-                    <vip-component @tabactive="tabActive" type="item_2" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_2.png'></vip-component>
+                    <vip-component @tabactive="tabActive" :power="conf" type="item_2" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_2.png'></vip-component>
                 </div>
                 <div class="bg-white tab-card charts"  v-if="conf._4 && tabActiveName == '2' && monthZbData.rows.length !== 0  && !getStatus">
                     <div class="tab-card-title">月度中标金额统计</div>
@@ -301,7 +301,7 @@
                     <div class="tab-card-tip">注:少数缺失的中标金额,用项目预算补充。</div>
                 </div>
                 <div class="vip_component" v-if="getStatus" style="height:10.8rem;background:url('/common-module/collection/image/bg/vip_bg_3.png') no-repeat;background-size:100% 100%">
-                    <vip-component @tabactive="tabActive" type="item_3" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_3.png'></vip-component>
+                    <vip-component @tabactive="tabActive" :power="conf" type="item_3" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_3.png'></vip-component>
                 </div>
                 <div class="bg-white tab-card charts" v-if="conf._4 && tabActiveName == '2' && mapChartData.rows.length !== 0  && !getStatus">
                     <div class="tab-card-title">市场区域分布</div>
@@ -317,7 +317,7 @@
                     </div>
                 </div>
                 <div class="vip_component" v-if="getStatus" style="height:10.56rem;background:url('/common-module/collection/image/bg/vip_bg_4.png') no-repeat;background-size:100% 100%">
-                    <vip-component @tabactive="tabActive" type="item_4" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_4.png'></vip-component>
+                    <vip-component @tabactive="tabActive" :power="conf" type="item_4" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_4.png'></vip-component>
                 </div>
                 <div class="bg-white tab-card charts"  v-if="conf._4 && tabActiveName == '2' && rateData.rows.length !== 0  && !getStatus">
                     <div class="tab-card-title">各类客户平均折扣率</div>
@@ -333,7 +333,7 @@
                     <div class="tab-card-tip">注:平均折扣率=(全部项目预算-全部中标金额)/全部项目预算,是指价格减让部分与原价的比率,仅统计预算和中标金额同时存在的项目。</div>
                 </div>
                 <div class="vip_component" v-if="getStatus" style="height:11.24rem;background:url('/common-module/collection/image/bg/vip_bg_5.png') no-repeat;background-size:100% 100%">
-                    <vip-component @tabactive="tabActive" type="item_5" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_5.png'></vip-component>
+                    <vip-component @tabactive="tabActive" :power="conf" type="item_5" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_5.png'></vip-component>
                 </div>
                 <div class="bg-white tab-card charts"  v-show="conf._4 && tabActiveName == '2' && entPortraitInfo.top10 && entPortraitInfo.top10.length != 0  && !getStatus">
                     <div class="tab-card-title">客户类型分布</div>
@@ -343,7 +343,7 @@
                     <div class="tab-card-tip">注:各客户类型占比以中标金额计算,最多展示占比排名前十的客户类型。</div>
                 </div>
                 <div class="vip_component" v-if="getStatus" style="height:11.92rem;background:url('/common-module/collection/image/bg/vip_bg_6.png') no-repeat;background-size:100% 100%">
-                    <vip-component @tabactive="tabActive" type="item_6" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_6.png'></vip-component>
+                    <vip-component @tabactive="tabActive" :power="conf" type="item_6" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_6.png'></vip-component>
                 </div>
                 <div class="bg-white tab-card customers client"  v-show="conf._4 && tabActiveName == '2' && importantCustomers.length !== 0  && !getStatus">
                     <div class="tab-card-title">重点客户</div>
@@ -373,7 +373,7 @@
                     </div>
                 </div>
                 <div class="vip_component" v-if="getStatus" style="height:10.8rem;background:url('/common-module/collection/image/bg/vip_bg_7.png') no-repeat;background-size:100% 100%">
-                    <vip-component @tabactive="tabActive" type="item_7" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_7.png'></vip-component>
+                    <vip-component @tabactive="tabActive" :power="conf" type="item_7" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_7.png'></vip-component>
                 </div>
             </van-tab>
         </van-tabs>

+ 4 - 2
src/web/templates/frontRouter/wx/collection/sess/ent_portrait_change.html

@@ -43,7 +43,7 @@
             <p class="empty-text">暂无企业情报历史记录</p>
         </div>
         <div class="vip_component bigVip_com" v-if="!getStatus" style="height:100%;background:url('/common-module/collection/image/bg/vip_bg_8.png') no-repeat;background-size:100% 100%">
-            <vip-component type="item_8" :vipststus="vipststus" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_8.png'></vip-component>
+            <vip-component type="item_8" :power="conf" :vipststus="vipststus" :entvisit="entvisit" imgurl='{{Msg "seo" "cdn"}}/common-module/collection/image/bg/vip_ex_8.png'></vip-component>
         </div>
         <ul class="ent-change-list" v-else key="changeList">
             <li class="ent-change-item" v-for="(item,index) in changeList" :key="item.changeTime">
@@ -90,7 +90,8 @@ var vNode = {
         },
         powerInfo: {},
         conf: {
-            _12: false
+            _12: false,
+            isMember: 0
         },
         isVip: false,
         vipststus: 0
@@ -141,6 +142,7 @@ var vNode = {
                             _this.conf._12 = true
                             $('.bigVip_com').css({'display':'flex'})
                         }
+                        _this.conf.isMember = res.data.memberStatus
                     }
                 }
             })

+ 13 - 6
src/web/templates/weixin/wxinfocontent_rec.html

@@ -610,7 +610,7 @@ pre {
   width:100%;
 }
 .go-look{
-  font-size: 0.24rem;
+  font-size: .26rem;
   white-space: nowrap;
   color: #2ABED1
 }
@@ -1647,7 +1647,7 @@ $(function(){
 		outhtml +='<li><p class="name">项目名称</p><p class="textcontent">'+rerprojectname+'</p><a dataName="项目名称" dataCont="'+rerprojectname+'" dataCode="projectname" onClick="recoveryAction(this)">纠错</a></li>'
 		var rerbuyer = {{.T.obj.buyer}};
 		if(rerbuyer==undefined||rerbuyer==null){
-			rerbuyer=""
+      rerbuyer=""
 		}
     var rerbuyerperson = {{.T.obj.buyerperson}};
 		if(rerbuyerperson==undefined||rerbuyerperson==null){
@@ -1657,7 +1657,7 @@ $(function(){
 		if(rerbuyertel==undefined||rerbuyertel==null){
 			rerbuyertel=""
 		}
-		outhtml +='<li><p class="name">采购单位</p><div class="unitcenter caigouunit"><p class="textcontent">'+rerbuyer+'</p></div><span class="go-look">立即查看</span><a dataName="采购单位" dataCont="'+rerbuyer+'" dataCode="buyer" onClick="recoveryAction(this)">纠错</a></li>'
+		outhtml +='<li><p class="name">采购单位</p><div class="unitcenter caigouunit"><p class="textcontent">'+rerbuyer+'</p><span class="go-look go-buyer">立即查看</span></div><a dataName="采购单位" dataCont="'+rerbuyer+'" dataCode="buyer" onClick="recoveryAction(this)">纠错</a></li>'
 		outhtml +='<li><p class="name">采购联系人</p><p class="textcontent">'+rerbuyerperson+'</p><a dataName="采购联系人" dataCont="'+rerbuyerperson+'" dataCode="buyerperson" onClick="recoveryAction(this)">纠错</a></li>'+
 					'<li class="bbm0"><p class="name">采购电话</p><p class="textcontent">'+rerbuyertel+'</p><a dataName="采购电话" dataCont="'+rerbuyertel+'" dataCode="buyertel" onClick="recoveryAction(this)">纠错</a></li>'
 		if(packageCon==""){
@@ -1673,8 +1673,12 @@ $(function(){
         rerwinner=""
       }
 			outhtml +='<li style="border-top:1px solid #ebebeb;"><p class="name">拟定单一来源采购供应商</p><p class="textcontent">'+rerwinner+'</p><a dataName="拟定单一来源采购供应商" dataCont="'+rerwinner+'" dataCode="winner" onClick="recoveryAction(this)">纠错</a></li>'
-		}
-	$("#baseInfo ul").html(outhtml)
+    }
+    
+  $("#baseInfo ul").html(outhtml)
+  if (!rerbuyer) {
+    $('.go-buyer').hide()
+  }
 	//中标信息
 	if(isbid){
 		var rerwinner = {{.T.obj.winner}};
@@ -1699,7 +1703,7 @@ $(function(){
     }
     if(count>=5){
 		$("#bidInfoTitle").show();
-  		var bidInfohtml ='<li class="zhongbiaounit" data-eid="'+rerwinnerEntId+'"><p class="name">中标单位</p><p class="textcontent" style="text-decoration-line: underline;color: #2ABED1;">'+rerwinner+'</p><span class="go-look">立即查看</span><a dataName="中标单位" dataCont="'+rerwinner+'" dataCode="winner" onClick="recoveryAction(this)">纠错</a></li>'
+  		var bidInfohtml ='<li class="zhongbiaounit" data-eid="'+rerwinnerEntId+'"><p class="name">中标单位</p><p class="textcontent" style="text-decoration-line: underline;color: #2ABED1;">'+rerwinner+'</p><span class="go-look go-winner">立即查看</span><a dataName="中标单位" dataCont="'+rerwinner+'" dataCode="winner" onClick="recoveryAction(this)">纠错</a></li>'
   		bidInfohtml +='<li class="bbm0"><p class="name">中标金额(元)</p><p class="textcontent">'+rerbidamount+'</p><a dataName="中标金额(元)" dataCont="'+rerbidamount+'" dataCode="bidamount" onClick="recoveryAction(this)">纠错</a></li>'
       if(winnertel!=""){
         bidInfohtml +='<li class="bbm0 winnertel"><p class="name">联系方式</p>';
@@ -1711,6 +1715,9 @@ $(function(){
         bidInfohtml +='</li>'
       }
      $("#bidInfo ul").html(bidInfohtml)
+     if (!rerwinner) {
+        $('.go-winner').hide()
+      }
     }
 	}