|
@@ -5,7 +5,7 @@
|
|
|
<div class="product_summary">
|
|
<div class="product_summary">
|
|
|
<div class="summary_title">跟进产品总数 {{ followUpProductSummary.total }}</div>
|
|
<div class="summary_title">跟进产品总数 {{ followUpProductSummary.total }}</div>
|
|
|
<div class="summary_tags">
|
|
<div class="summary_tags">
|
|
|
- <span v-for="(item,index) in followUpProductSummary.differentStatusNum" :key="item.productId"> {{item.productName}} {{item.count}}</span>
|
|
|
|
|
|
|
+ <span v-for="(item,index) in followUpProductSummary.differentStatusNum" :key="index"> {{item.statusName}} {{item.count}}</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -104,8 +104,8 @@
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 之前归属人的跟进记录 -->
|
|
<!-- 之前归属人的跟进记录 -->
|
|
|
- <!-- 历史跟进的状态是否展示 要判断是否给当前用户开放历史跟进权限——待完善 -->
|
|
|
|
|
- <div class="history_statistics">
|
|
|
|
|
|
|
+ <!-- 历史跟进的状态是否展示 要判断是否给当前用户开放历史跟进权限 -->
|
|
|
|
|
+ <div v-if="historyFollowData" class="history_statistics">
|
|
|
<div class="stat_header">
|
|
<div class="stat_header">
|
|
|
<span>历史跟进</span>
|
|
<span>历史跟进</span>
|
|
|
<el-button class="button_border" @click="OpenHistoryFollowDialog">历史跟进</el-button>
|
|
<el-button class="button_border" @click="OpenHistoryFollowDialog">历史跟进</el-button>
|
|
@@ -316,19 +316,19 @@ const GetOverviewDetail = async ()=>{
|
|
|
let res = await getOverviewDetailApi(params)
|
|
let res = await getOverviewDetailApi(params)
|
|
|
if(res.code == 200){
|
|
if(res.code == 200){
|
|
|
const {selectData,dataPageList,productCount,
|
|
const {selectData,dataPageList,productCount,
|
|
|
- productOverviewData,productData,
|
|
|
|
|
|
|
+ productData,statusOverviewData,
|
|
|
followOverViewData,orderData
|
|
followOverViewData,orderData
|
|
|
} = res.data
|
|
} = res.data
|
|
|
|
|
|
|
|
// 跟进产品总览 ——左
|
|
// 跟进产品总览 ——左
|
|
|
followUpProductSummary.value = {
|
|
followUpProductSummary.value = {
|
|
|
total:productCount,
|
|
total:productCount,
|
|
|
- differentStatusNum:productOverviewData || []
|
|
|
|
|
|
|
+ differentStatusNum:statusOverviewData || []
|
|
|
}
|
|
}
|
|
|
// 跟进产品-各自分析 ——左
|
|
// 跟进产品-各自分析 ——左
|
|
|
productsFollowStatistic.value = productData || []
|
|
productsFollowStatistic.value = productData || []
|
|
|
// 历史跟进统计 —— 右
|
|
// 历史跟进统计 —— 右
|
|
|
- historyFollowData.value = followOverViewData || {}
|
|
|
|
|
|
|
+ historyFollowData.value = followOverViewData
|
|
|
//预约待办展示 —— 右
|
|
//预约待办展示 —— 右
|
|
|
pendingAppointmentList.value = orderData || []
|
|
pendingAppointmentList.value = orderData || []
|
|
|
// 中间 正在进行中的跟进记录 —— 中
|
|
// 中间 正在进行中的跟进记录 —— 中
|
|
@@ -444,12 +444,13 @@ const HandleSearchChange = async (params,key)=>{
|
|
|
const pendingAppointmentList = ref<pendingAppointmentItm[]>([])
|
|
const pendingAppointmentList = ref<pendingAppointmentItm[]>([])
|
|
|
|
|
|
|
|
// 右侧—— 历史跟进 数据总览
|
|
// 右侧—— 历史跟进 数据总览
|
|
|
-const historyFollowData = ref({
|
|
|
|
|
- historyProductCount:0,
|
|
|
|
|
- historyPersonCount:0,
|
|
|
|
|
- historyFollowCount:0,
|
|
|
|
|
- successCount:0,
|
|
|
|
|
-})
|
|
|
|
|
|
|
+interface historyFollowData {
|
|
|
|
|
+ historyProductCount:number,
|
|
|
|
|
+ historyPersonCount:number,
|
|
|
|
|
+ historyFollowCount:number,
|
|
|
|
|
+ successCount:number,
|
|
|
|
|
+}
|
|
|
|
|
+const historyFollowData = ref<historyFollowData>()
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|