Skip to content

Commit c1c48c2

Browse files
committed
refactor: TodayCustomer利用CustomerApi
1 parent a2de066 commit c1c48c2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/views/crm/backlog/tables/TodayCustomer.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
</template>
120120

121121
<script lang="ts" setup name="TodayCustomer">
122-
import * as BacklogApi from '@/api/crm/backlog'
122+
import * as CustomerApi from '@/api/crm/customer'
123123
import { DICT_TYPE } from '@/utils/dict'
124124
import { dateFormatter } from '@/utils/formatTime'
125125
import { CONTACT_STATUS, SCENE_TYPES } from './common'
@@ -133,15 +133,16 @@ const queryParams = ref({
133133
pageNo: 1,
134134
pageSize: 10,
135135
contactStatus: 1,
136-
sceneType: 1
136+
sceneType: 1,
137+
pool: null // 是否公海数据
137138
})
138139
const queryFormRef = ref() // 搜索的表单
139140
140141
/** 查询列表 */
141142
const getList = async () => {
142143
loading.value = true
143144
try {
144-
const data = await BacklogApi.getTodayCustomerPage(queryParams.value)
145+
const data = await CustomerApi.getCustomerPage(queryParams.value)
145146
list.value = data.list
146147
total.value = data.total
147148
} finally {

0 commit comments

Comments
 (0)