客户详细-跟进动态
This commit is contained in:
parent
4c7ee14a4b
commit
43c69bdbad
|
|
@ -105,10 +105,10 @@ export const getCustomerDetail = (id) => {
|
|||
/**
|
||||
* 获取客户跟进动态列表
|
||||
* @param {string} customerId 客户ID
|
||||
* @returns {Promise} 返回跟进动态列表
|
||||
* @returns {Promise} 返回跟进动态列表 { total: number, rows: array }
|
||||
*/
|
||||
export const getCustomerFollowupList = (customerId) => {
|
||||
return uni.$uv.http.get(`bst/customer/followup/list`, {
|
||||
return uni.$uv.http.get(`bst/customerFollow/list`, {
|
||||
params: {
|
||||
customerId: customerId
|
||||
},
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@
|
|||
@click="handleFollowupClick(item)"
|
||||
>
|
||||
<view class="timeline-dot">
|
||||
<text class="dot-date">{{ formatDate(item.createTime) }}</text>
|
||||
<text class="dot-date">{{ formatDate(item.followTime) }}</text>
|
||||
</view>
|
||||
<view class="followup-content">
|
||||
<view class="followup-header">
|
||||
|
|
@ -100,12 +100,15 @@
|
|||
/>
|
||||
<view class="followup-user-info">
|
||||
<text class="followup-user-name">{{ item.userName }}</text>
|
||||
<text class="followup-user-role">{{ item.userRole || '销售经理' }}</text>
|
||||
<text class="followup-user-role">跟进人</text>
|
||||
</view>
|
||||
<text class="followup-arrow">›</text>
|
||||
</view>
|
||||
<text class="followup-text">{{ item.content }}</text>
|
||||
<text class="followup-time">{{ formatDateTime(item.createTime) }}</text>
|
||||
<view class="followup-meta">
|
||||
<text class="followup-time">跟进时间:{{ formatDateTime(item.followTime) }}</text>
|
||||
<text class="followup-next-time" v-if="item.nextFollowTime">下次跟进:{{ formatDateTime(item.nextFollowTime) }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="empty-state" v-if="followupList.length === 0">
|
||||
|
|
@ -763,11 +766,22 @@ onMounted(() => {
|
|||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.followup-meta {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.followup-time {
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.followup-next-time {
|
||||
font-size: 12px;
|
||||
color: #1976d2;
|
||||
}
|
||||
|
||||
// 项目列表样式
|
||||
.project-card {
|
||||
background-color: #fff;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user