fix: 将客户表单请求参数从name改为phone
客户表单接口现在需要使用手机号而非姓名作为查询参数,以更准确地识别客户
This commit is contained in:
@@ -578,7 +578,7 @@ async function getCustomerForm() {
|
|||||||
const routeParams = getRequestParams()
|
const routeParams = getRequestParams()
|
||||||
const params = {
|
const params = {
|
||||||
user_name: routeParams.user_name || userStore.userInfo.username,
|
user_name: routeParams.user_name || userStore.userInfo.username,
|
||||||
customer_name: selectedContact.value.name,
|
phone: selectedContact.value.phone,
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
const res = await getCustomerFormInfo(params)
|
const res = await getCustomerFormInfo(params)
|
||||||
|
|||||||
Reference in New Issue
Block a user