CRM:完成客户的分配接入

This commit is contained in:
YunaiV
2024-02-20 20:19:11 +08:00
parent 4362251b59
commit a401fff74c
13 changed files with 229 additions and 100 deletions

View File

@@ -242,7 +242,7 @@ const open = async (type: string, id?: number) => {
resetForm()
allContactList.value = await ContactApi.getSimpleContactList()
userList.value = await UserApi.getSimpleUserList()
customerList.value = await CustomerApi.getSimpleCustomerList()
customerList.value = await CustomerApi.getCustomerSimpleList()
areaList.value = await AreaApi.getAreaTree()
// 修改时,设置数据
if (id) {

View File

@@ -312,6 +312,6 @@ const openCustomerDetail = (id: number) => {
/** 初始化 **/
onMounted(async () => {
await getList()
customerList.value = await CustomerApi.getSimpleCustomerList()
customerList.value = await CustomerApi.getCustomerSimpleList()
})
</script>