Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c1c48c20
authored
Feb 16, 2024
by
dhb52
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: TodayCustomer利用CustomerApi
parent
a2de0665
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/views/crm/backlog/tables/TodayCustomer.vue
+4
-3
No files found.
src/views/crm/backlog/tables/TodayCustomer.vue
View file @
c1c48c20
...
...
@@ -119,7 +119,7 @@
</template>
<
script
lang=
"ts"
setup
name=
"TodayCustomer"
>
import
*
as
BacklogApi
from
'@/api/crm/backlog
'
import
*
as
CustomerApi
from
'@/api/crm/customer
'
import
{
DICT_TYPE
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
CONTACT_STATUS
,
SCENE_TYPES
}
from
'./common'
...
...
@@ -133,7 +133,8 @@ const queryParams = ref({
pageNo
:
1
,
pageSize
:
10
,
contactStatus
:
1
,
sceneType
:
1
sceneType
:
1
,
pool
:
null
// 是否公海数据
})
const
queryFormRef
=
ref
()
// 搜索的表单
...
...
@@ -141,7 +142,7 @@ const queryFormRef = ref() // 搜索的表单
const
getList
=
async
()
=>
{
loading
.
value
=
true
try
{
const
data
=
await
BacklogApi
.
getToday
CustomerPage
(
queryParams
.
value
)
const
data
=
await
CustomerApi
.
get
CustomerPage
(
queryParams
.
value
)
list
.
value
=
data
.
list
total
.
value
=
data
.
total
}
finally
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment