xiebaomin 1 jaar geleden
bovenliggende
commit
1dc85a57a9

+ 1 - 1
pages/seller/club/list.vue

@@ -53,7 +53,7 @@
                 >
                     <text class="iconfont icon-shaixuan"></text>
                 </view>
-                <view class="search-btn" v-if="!isManage || tabSmallCurrentIndex != 1">搜索</view>
+                <view class="search-btn" @click="GetSellerClubList" v-if="!isManage || tabSmallCurrentIndex != 1">搜索</view>
             </view>
             <view class="search-tab">
                 <view

+ 2 - 2
pages/seller/components/message.vue

@@ -41,7 +41,7 @@
                 CustomBar: this.CustomBar,
                 StatusBar: this.StatusBar,
                 StaticUrl: this.$Static,
-                notificationCount: 100,
+                notificationCount: 0,
                 skeletonShow: false,
                 allCount:0,
                 tradeCount: 0,
@@ -102,7 +102,7 @@
             	this.SellerService.getSellerNoticeSpCount({ commonId: this.userInfo.serviceProviderId, messageType: 3 })
             		.then(response => {
                         console.log(response)
-                        this.notificationCount = response.data.accountCount
+                        this.notificationCount = response.data.notificationCount
             			this.skeletonShow = false //预加载圆圈隐藏
             		})
             		.catch(error => {

+ 7 - 4
pages/seller/notice/components/notice-cell.vue

@@ -25,12 +25,15 @@
                         下一任销售:<text>{{cell.superUserName}}</text>
                     </view>
                 </view>
-<!--                <view class="cell-info" v-if="cell.shopTieredType === 7">
+               <view class="cell-info" v-if="cell.shopTieredType === 7">
                     {{ noticeSellerUserText(cell) }}
-                </view> -->
-				<view class="tui-cell-content"> 
-					{{ noticeSellerUserText(cell) }}
+                </view>
+				<view class="tui-cell-content" v-if="cell.shopTieredType === 7"> 
+					关注点:{{cell.content}}
 				</view> 
+                <view class="tui-cell-content" v-if="cell.shopTieredType !== 7">
+                	{{ noticeSellerUserText(cell) }}
+                </view>
                 <view class="tui-cell-button" v-if="cell.shopTieredType === 2 || cell.shopTieredType === 4 || cell.shopTieredType === 7">
                     <button @click="$emit('trampInfo', cell)">立即查看</button>
                 </view>

+ 1 - 1
pages/seller/notice/mixins/notice.mixins.js

@@ -20,7 +20,7 @@ const noticeMixins = {
                 2: '系统已为你分配机构客户,请及时跟进。',
                 3: '系统已将你的机构转移给其他销售人员,你已无权管理该客户。',
                 4: '系统已为你分配机构客户,请及时跟进。',
-                7: `${cell.content}`,
+                7: `昨日【${cell.name}...】等${cell.couponFee}家机构客户访问了采美商城`,
                 8: '系统已将你的机构客户进行回收,你已无权管理该客户。'
             }
             return map[cell.shopTieredType]

+ 2 - 2
pages/seller/notice/service/visits_details.vue

@@ -5,7 +5,7 @@
             <view class="details-title"><visits-cell @handlerVisits="handlerVisits" :visits-info="visitsInfo" /></view>
         </template>
         <view class="trajectory">
-            <Trajectory />
+            <Trajectory :trajectory-list="detailList"/>
         </view>
     </view>
 </template>
@@ -26,7 +26,7 @@ export default {
             accessTime: '', // 访问日期
             spId: '', // 协销id
             clubId: '' ,// 机构id
-            detailList: {}
+            detailList: []
         }
     },
     onLoad(options) {

+ 1 - 1
services/sellse.service.js

@@ -464,7 +464,7 @@ export default class SellerService {
      */
     getVisitesClubInfo(data = {}) {
         return this.AjaxService.get({
-            url:'/user/seller/getBehaviorRecordclubFrom', 
+            url:'/user/seller/getBehaviorRecordClubFrom', 
             data, 
             isLoading: true 
         })

+ 1 - 1
store/index.js

@@ -116,7 +116,7 @@ const store = new Vuex.Store({
             console.log(userInfo, commonId)
             getSellerService.getSellerNoticeSpCount({ commonId: commonId, messageType: 3 })
                 .then(response => {
-                    state.noticeNum = response.data.accountCount
+                    state.noticeNum = response.data.notificationCount
                     if (state.noticeNum >= 100) {
                         uni.setTabBarBadge({
                             index: 2,