修复健康评估弹窗

This commit is contained in:
huangdeliang
2021-01-29 13:56:53 +08:00
parent 459d55913e
commit 3c7e7a0f00
8 changed files with 199 additions and 26 deletions

View File

@ -1,63 +1,70 @@
import request from '@/utils/request'
import request from "@/utils/request";
// 查询客户信息列表
export function listCustomer(query) {
return request({
url: '/custom/customer/list',
method: 'get',
url: "/custom/customer/list",
method: "get",
params: query
})
});
}
// 查询客户信息详细
export function getCustomer(id) {
return request({
url: '/custom/customer/' + id,
method: 'get'
})
url: "/custom/customer/" + id,
method: "get"
});
}
// 新增客户信息
export function addCustomer(data) {
return request({
url: '/custom/customer',
method: 'post',
url: "/custom/customer",
method: "post",
data: data
})
});
}
// 修改客户信息
export function updateCustomer(data) {
return request({
url: '/custom/customer',
method: 'put',
url: "/custom/customer",
method: "put",
data: data
})
});
}
// 删除客户信息
export function delCustomer(id) {
return request({
url: '/custom/customer/' + id,
method: 'delete'
})
url: "/custom/customer/" + id,
method: "delete"
});
}
// 导出客户信息
export function exportCustomer(query) {
return request({
url: '/custom/customer/export',
method: 'get',
url: "/custom/customer/export",
method: "get",
params: query
})
});
}
// 查询客户信息详细
export function getCustomerAndSignByPhone(query) {
return request({
url: '/custom/customer/getCustomerAndSignByPhone',
method: 'get',
url: "/custom/customer/getCustomerAndSignByPhone",
method: "get",
params: query
})
});
}
/**获取用户体征信息 */
export function getCustomerPhysicalSignsByCusId(id) {
return request({
url: `/custom/customer/physicalSigns/${id}`,
method: "get"
});
}