-
- 批量转移
-
+
+
+ 批量转移
+
+
+
+
+
+
+
+
('')
const loading = ref(false)
const loadingkh = ref(false)
@@ -542,6 +557,10 @@
loading.value = false
}
}
+ watch([selectchannel_id], () => {
+ paginationkh.currentPage = 1
+ gettableListkh(zyForm.customer_id)
+ })
const gettableListkh = async (user_id: any) => {
loadingkh.value = true
try {
@@ -551,6 +570,9 @@
size: pageSize,
user_id: user_id
}
+ if (selectchannel_id.value) {
+ params.channel_id = selectchannel_id.value
+ }
const { data, current, size, total } = await manageService.getcrmCustomerList(params)
tableDatakh.value = data.map((item: any) => ({
...item
@@ -585,7 +607,14 @@
if (status === 0) return 'status-lost'
return ''
}
+ const channelOptions = ref()
+ //渠道
+ const getgetChannel = async () => {
+ const res = await CrmService.getChannel()
+ channelOptions.value = res || []
+ }
const gotransfer = (row: any) => {
+ getgetChannel()
paginationkh.currentPage = 1
paginationkh.pageSize = 10
paginationkh.total = 0