fix: 将客户查询参数从name改为phone
修改客户聊天和通话记录的查询参数,从使用客户姓名改为使用电话号码,以匹配后端接口的变更需求
This commit is contained in:
2
my-vue-app/package-lock.json
generated
2
my-vue-app/package-lock.json
generated
@@ -4664,7 +4664,7 @@
|
||||
},
|
||||
"node_modules/markdown-it": {
|
||||
"version": "14.1.0",
|
||||
"resolved": "https://registry.npmmirror.com/markdown-it/-/markdown-it-14.1.0.tgz",
|
||||
"resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.0.tgz",
|
||||
"integrity": "sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
||||
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