fix: 将客户查询参数从name改为phone
修改客户聊天和通话记录的查询参数,从使用客户姓名改为使用电话号码,以匹配后端接口的变更需求
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -597,7 +597,7 @@ async function getCustomerChat() {
|
||||
const routeParams = getRequestParams()
|
||||
const params = {
|
||||
user_name: routeParams.user_name || userStore.userInfo.username,
|
||||
customer_name: selectedContact.value.name,
|
||||
phone: selectedContact.value.phone,
|
||||
}
|
||||
try {
|
||||
const res = await getCustomerChatInfo(params)
|
||||
@@ -618,7 +618,7 @@ async function getCustomerCall() {
|
||||
const routeParams = getRequestParams()
|
||||
const params = {
|
||||
user_name: routeParams.user_name || userStore.userInfo.username,
|
||||
customer_name: selectedContact.value.name,
|
||||
phone: selectedContact.value.phone,
|
||||
}
|
||||
try {
|
||||
const res = await getCustomerCallInfo(params)
|
||||
|
||||
Reference in New Issue
Block a user