Commit 6c83e554 by zhangxw

修改

1 parent 85e33d6d
......@@ -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!