xiebaomin vor 1 Jahr
Ursprung
Commit
48947899cd

+ 1 - 1
pages/seller/notice/components/notice-cell.vue

@@ -31,7 +31,7 @@
                     </view>
                 </view>
                 <view class="cell-info" v-if="cell.shopTieredType === 7 || cell.shopTieredType === 10">{{ noticeSellerUserText(cell) }}</view>
-                <view class="tui-cell-content" v-if="cell.shopTieredType === 7 || cell.shopTieredType === 10">关注点:{{ cell.content }}</view>
+                <view class="tui-cell-content" v-if="cell.shopTieredType === 7 || cell.shopTieredType === 10">关注点:{{ cell.content || '' }}</view>
                 <view class="tui-cell-content" v-if="cell.shopTieredType !== 7">{{ noticeSellerUserText(cell) }}</view>
                 <view
                     class="tui-cell-button"

+ 4 - 1
pages/seller/notice/components/trajectory.vue

@@ -35,7 +35,10 @@ export default {
             const obj = {
                 '6': '商品',
                 '11': '文章',
-                '8': '搜索记录'
+                '8': '搜索记录',
+                '69': '文件',
+                '70': '图片',
+                '71': '视频'
             }
             return obj[val]
         }

+ 2 - 2
pages/seller/notice/components/visits-cell.vue

@@ -2,10 +2,10 @@
     <view class="visits-cell" @click="$emit('handlerVisits', visitsInfo)">
         <view class="visits-club">
             <image :src="visitsInfo.image || '/static/icon-user-active@3x.png'" mode="" class="visits-author"></image>
-            <view>{{visitsInfo.name}}</view>
+            <view>{{visitsInfo.name || '游客'}}</view>
         </view>
         <view class="visits-content">
-            <view class="container">
+            <view class="container" v-if="visitsInfo.linkMan && visitsInfo.contractMobile">
                 <view class="visits-name">
                     {{ visitsInfo.linkMan }}
                 </view>

+ 5 - 4
pages/seller/notice/service/Institutional_visits.vue

@@ -33,7 +33,8 @@ export default {
             type: options.type
         })
         this.visitsList = data
-        this.accDateTime = data[0].accessDate
+        this.accDateTime = options.accDateTime
+        this.type = options.type || ''
 		console.log('options', options, 'visitsList', data)
     },
     onReachBottom() {
@@ -48,10 +49,10 @@ export default {
             this.$api.navigateTo(
                 '/pages/seller/notice/service/visits_details?spId=' +
                     this.spId +
-                    '&clubId=' +
-                    $event.clubId +
+                '&clubId=' +
+                    ($event.clubId || '') +
                     '&accessTime=' +
-                    $event.accessTime.substr(0, 10)
+                    this.accDateTime + '&type=' + this.type
             )
         },
 		async getVisitesClubList() {

+ 1 - 1
pages/seller/notice/service/service.vue

@@ -100,7 +100,7 @@ export default {
         // 详情
         async trampInfo($event) {
             const time = $event.time.replace(/[年月日]/g, '-')
-            if ($event.shopTieredType === 7 && $event.shopTieredType === 10) {
+            if ($event.shopTieredType === 7 || $event.shopTieredType === 10) {
                 this.$api.navigateTo(
                     '/pages/seller/notice/service/Institutional_visits?spId=' +
                         this.userInfo.serviceProviderId +

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

@@ -34,8 +34,8 @@ export default {
         const { data } = await this.SellerService.getVisitesClubInfo({
             accessTime: options.accessTime,
             spId: options.spId,
-            clubId: options.clubId,
-            type: options.type
+            clubId: options.clubId || '',
+            type: options.type || ''
         })
         this.detailList = data
         this.visitsInfo = {