zhengjinyi преди 1 година
родител
ревизия
a8ca745032

+ 7 - 0
pages.json

@@ -827,6 +827,13 @@
 						"navigationBarTitleText": "机构填写咨询记录详情"
 					}
 				},
+				{
+					"path": "club/club-remind",
+					"style": {
+						"navigationBarTitleText": "咨询记录填写提醒",
+						"navigationStyle": "custom"
+					}
+				},
 				{
 					"path": "login/register",
 					"style": {

+ 1 - 0
pages/h5/activity/activity.vue

@@ -30,6 +30,7 @@ export default {
 					this.activityPath = link
 					uni.setNavigationBarTitle({ title: response.data.title })
 					uni.setStorageSync('pageLabel', `${response.data.contentLabel}`)
+					console.log('activityPath',this.activityPath)
 				})
 				.catch(error => {
 					console.log('获取活动专题页数据异常')

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

@@ -39,7 +39,8 @@
                         cell.shopTieredType === 2 ||
                             cell.shopTieredType === 4 ||
                             cell.shopTieredType === 7 ||
-                            cell.shopTieredType === 10
+                            cell.shopTieredType === 10 ||
+                            cell.shopTieredType === 11
                     "
                 >
                     <button @click="$emit('trampInfo', cell)">立即查看</button>

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

@@ -22,6 +22,17 @@
                 </view>
             </view>
         </view>
+		<view class="visits-content-bot">
+			<view class="btn" @click.stop="handleClickOper(1, visitsInfo)">
+				<text class="iconfont icon-jigouhuaxiang"></text> 机构画像
+			</view>
+			<view class="btn" @click.stop="handleClickOper(2, visitsInfo)">
+				<text class="iconfont icon-tianxie"></text> 填写咨询记录
+			</view>
+			<view class="btn" @click.stop="handleClickOper(3, visitsInfo)">
+				<text class="iconfont icon-shangcheng"></text> 商城访问记录
+			</view>
+		</view>
     </view>
 </template>
 
@@ -32,6 +43,7 @@ export default {
             type: Object,
             default: () => ({
                 image: '',
+				userId:'',
                 pageLabel: '',
                 name: '',
                 linkMan: '',
@@ -40,7 +52,24 @@ export default {
                 clubId: '1111'
             })
         }
-    }
+    },
+	methods:{
+		// 按钮操作
+		handleClickOper(type, club) {
+			//1:机构画像 2:填写咨询记录 3:商城访问记录 
+			switch (type) {
+				case 1:
+					this.$api.navigateTo(`/pages/seller/club/club-portrait?userId=${club.userId}`)
+					break
+				case 2:
+					this.$api.navigateTo(`/pages/seller/remarks/add?userId=${club.userId}`)
+					break
+				case 3:
+					this.$api.navigateTo(`/pages/seller/club/club-visit?clubId=${club.clubId}`)
+					break
+			}
+		},
+	}
 }
 </script>
 
@@ -94,5 +123,51 @@ export default {
             }
         }
     }
+	.visits-content-bot {
+		width: 100%;
+		height: 80rpx;
+		background-color: #f7f7f7;
+		border-radius: 8rpx;
+		margin-top: 20rpx; 
+		.btn {
+			height: 80rpx;
+			box-sizing: border-box;
+			line-height: 80rpx;
+			padding: 0 20rpx;
+			font-size: $font-size-24;
+			color: #333333;
+			text-align: center;
+			float: left;
+			position: relative;
+			&:nth-child(1) {
+				&:before {
+					content: '';
+					width: 1px;
+					height: 20rpx;
+					background-color: #b2b2b2;
+					position: absolute;
+					right: 0;
+					top: 30rpx;
+				}
+			}
+			&:nth-child(2) {
+				&:before {
+					content: '';
+					width: 1px;
+					height: 20rpx;
+					background-color: #b2b2b2;
+					position: absolute;
+					right: 0;
+					top: 30rpx;
+				}
+			}
+			.iconfont {
+				font-size: 30rpx;
+				color: #333333;
+				margin-right: 5rpx;
+			}
+		}
+	}
+		
 }
 </style>

+ 16 - 14
pages/seller/notice/mixins/notice.mixins.js

@@ -1,19 +1,20 @@
 // 机构通知消息 
 const noticeMixins = {
     filters: {
-       noticeUsersFilters(value) {
-           const map = {
-               1: '上架费',
-               2: '机构分配通知',
-               3: '机构转移通知',
-               4: '机构分配通知',
-               7: '机构访问通知',
-               8: '机构回收通知',
-               9: '客户注册通知',
-               10: '客户访问通知'
-           }
-           return map[value]
-       },
+        noticeUsersFilters(value) {
+            const map = {
+                1: '上架费',
+                2: '机构分配通知',
+                3: '机构转移通知',
+                4: '机构分配通知',
+                7: '机构访问通知',
+                8: '机构回收通知',
+                9: '客户注册通知',
+                10: '客户访问通知',
+                11: '咨询记录填写提醒'
+            }
+            return map[value]
+        },
     },
     methods: {
         noticeSellerUserText(cell) {
@@ -25,7 +26,8 @@ const noticeMixins = {
                 7: `昨日【${cell.name}...】等${cell.sum}家机构客户访问了采美商城`,
                 8: '系统已将你的机构客户进行回收,你已无权管理该客户。',
                 9: `昨日【${cell.name}...】通过您的内容库资料分享注册成为了机构客户`,
-                10: `昨日【${cell.name}...】等${cell.sum}家机构客户访问了您的内容库资料分享`
+                10: `昨日【${cell.name}...】等${cell.sum}家机构客户访问了您的内容库资料分享`,
+                11: `【${cell.name}...】等${cell.sum}家机构等待你填写咨询记录`
             }
             return map[cell.shopTieredType]
         },

+ 9 - 7
pages/seller/notice/service/service.vue

@@ -6,7 +6,7 @@
             borderRadius="10rpx"
             :isLoading="true"
             :loadingType="5"
-        ></tui-skeleton>
+        />
         <view class="container">
             <tab-list v-model="params.type" />
             <view v-for="(cell, index) in messageList" class="info-card" :key="index">
@@ -98,17 +98,19 @@ export default {
                 })
         },
         // 详情
-        async trampInfo($event) {
-            const time = $event.time.replace(/[年月日]/g, '-')
-            if ($event.shopTieredType === 7 || $event.shopTieredType === 10) {
+        async trampInfo(cell) {
+            const time = cell.time.replace(/[年月日]/g, '-')
+            if (cell.shopTieredType === 7 || cell.shopTieredType === 10) {
                 this.$api.navigateTo(
                     '/pages/seller/notice/service/Institutional_visits?spId=' +
                         this.userInfo.serviceProviderId +
                         '&accDateTime=' +
-                        $event.time + '&type=' + this.params.type
+                        cell.time + '&type=' + this.params.type
                 )
-            } else {
-                const {data} = await this.SellerService.getFindUserId({id: $event.clubId, userType: 1})
+            } else if(cell.shopTieredType === 11) {
+				this.$api.navigateTo('/pages/seller/club/club-remind')
+			}else {
+                const {data} = await this.SellerService.getFindUserId({id: cell.clubId, userType: 1})
                 this.$api.navigateTo('/pages/seller/club/club-portrait?userId=' + data)
             }
         }

+ 17 - 1
pages/seller/remarks/add-record.vue

@@ -29,6 +29,20 @@
 					</label>
 				</checkbox-group>
 			</view>
+			<view class="list-view-title">
+				<view class="list-view-h1"><text>*</text>手机号或微信号:</view> 
+			</view>
+			<view class="list-view-radio" @click="handleShowReportPopup">
+				<input
+					class="input"
+					type="text"
+					disabled="false"
+					v-model="reportText"
+					value=""
+					placeholder="请输入咨询人的手机号或微信号"
+				/>
+				<text class="iconfont icon-xiangyou"></text>
+			</view>
 			<view class="list-view-title"> <view class="list-view-h1">客户来源:</view> </view>
 			<view class="list-view-radio">
 				<picker @change="bindPickerChange(4, $event)" :value="index" :range="sourceActions" range-key="name">
@@ -57,7 +71,9 @@
 					<text class="iconfont icon-xiangyou"></text>
 				</picker>
 			</view>
-			<view class="list-view-title"> <view class="list-view-h1">客户年龄:</view> </view>
+			<view class="list-view-title"> 
+				<view class="list-view-h1">s客户年龄:</view> 
+			</view>
 			<view class="list-view-radio">
 				<picker @change="bindPickerChange(6, $event)" :value="index" :range="ageActions" range-key="name">
 					<input class="input" type="text" disabled="false" v-model="customerAge" value="" placeholder="请选择" />