Commit d1f8b4f9 by 张立顺

Merge branch 'SAAS+V5.3.0-1117' of 192.168.3.233:saas_plus/sales-assistant into SAAS+V5.3.0-1117

2 parents e0457dfc 5f3d87f0
......@@ -109,9 +109,9 @@ Page({
val.directSalesFlag && v.value == val.directSalesFlag
)
const cooperationName = cooperationItem?.name || ''
return `${sceneName}/${cooperationName}`
return `${sceneName}:${cooperationName}`
}).filter(item => item) // 过滤空字符串
.join(',')
.join('/')
// 流量情况
data.flowScale = data.flowSituation ? TRSFFICSTATUSLIST?.find(val => val.value == data.flowSituation)?.name : ''
// 业务类型
......
......@@ -14,7 +14,7 @@
<info-board items="{{infoBoardItems}}" threshold="{{24}}" clampLines="{{1}}" />
<view class="fail-row" wx:if="{{infoDetail.potentialCustomersStatus == 2}}">
<view class="title">战败原因</view>
<view class="content">{{infoDetail.failureReason}}</view>
<view class="content">{{infoDetail.failureReason || '-'}}</view>
</view>
</view>
<view class="tabbar-anchor" id="tabbarAnchor">
......
......@@ -179,7 +179,7 @@ Component({
try {
const { currentPage, pageSize } = this.data
const params = this.getParams()
if (currentPage == 1) wx.$api.showLoading()
wx.$api.showLoading()
const res = await CustomerApi.getPotentialList({ currentPage, pageSize, ...params })
wx.$api.hideLoading()
const nextList = res?.list || []
......
......@@ -172,12 +172,12 @@ Component({
try {
const { currentPage, pageSize } = this.data
const params = this.getParams()
if (currentPage == 1) wx.$api.showLoading()
wx.$api.showLoading()
const res = await CustomerApi.getStorePageList({ currentPage, pageSize, ...params })
wx.$api.hideLoading()
const nextList = (res.list || []).map(val => {
val.salesUser = val.salePersonnelInfoDTOList?.map(v => { return v.personnelName })?.join('/')
val.signedTime = val.signedTime ? dayjs(val.signedTime).format('YYYY-MM-DD HH:mm') : ''
val.signedTime = val.signedTime ? dayjs(val.signedTime).format('YYYY-MM-DD') : ''
val.expectedOperationDate = val.expectedOperationDate ? dayjs(val.expectedOperationDate).format('YYYY-MM-DD') : ''
return val
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!