From b83ba3cc4687f21d744e9866e10e30e91229e8a4 Mon Sep 17 00:00:00 2001
From: queenwuli <942534046@qq.com>
Date: Thu, 28 Jan 2021 16:23:30 +0800
Subject: [PATCH] gx
---
hive-app/pages/workbench/followRecords/index.vue | 19 ++++++++++++++++---
1 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/hive-app/pages/workbench/followRecords/index.vue b/hive-app/pages/workbench/followRecords/index.vue
index 2706092..7ccfec3 100644
--- a/hive-app/pages/workbench/followRecords/index.vue
+++ b/hive-app/pages/workbench/followRecords/index.vue
@@ -31,14 +31,14 @@
<image v-for="(op,index) in item.albums" @click="previewImg(item.albums,index)" class="content-img mr-10" :src="op.img"></image>
</view>
<view class="flex align-center justify-between mt-5 gray font-13">
- <text>客户: {{item.vipName}}</text>
+ <navigator :url="'../../member/detail?id='+item.vipId" hover-class="none" style="padding-right: 50px;">客户: {{item.vipName}}</navigator>
<view class="flex align-center" v-if="item.nextNotifyTime">
<text class="iconfont iconzhong mr-5"></text>
<text>{{item.nextNotifyTime}}</text>
</view>
</view>
- <view class="mt-5 gray font-13">
- <text>订单:{{item.orderAbstract}}</text>
+ <view class="flex align-center justify-between mt-5 gray font-13">
+ <text style="padding-right: 50px;" @click="toOrder(item)">订单: {{item.orderAbstract}}</text>
</view>
<view class="right mt-5">
<text class="iconfont" :class="item.zans && item.zans.indexOf(userInfo.id)>-1?'blue iconlove-b':'iconlove-b1'" @click="thumbsUp(item)"></text>
@@ -184,6 +184,7 @@
staffIds: staffIds,
vipIds: vipIds
}, 'POST').then((res) => {
+ console.log(res.rows)
if(res.status == 200){
this.list = res.rows
}
@@ -298,6 +299,18 @@
this.startTime = data.startTime;
this.endTime = data.endTime;
this.reload();
+ },
+ toOrder(item){
+ if(item.orderId){
+ uni.navigateTo({
+ url: '../orderDetail?orderId='+item.orderId
+ })
+ }
+ if(item.serviceId){
+ uni.navigateTo({
+ url: '../serviceOrderDetail?id='+item.serviceId
+ })
+ }
}
}
}
--
Gitblit v1.9.1