mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-08-08 15:11:52 +08:00
✨ CRM:完成客户的分配接入
This commit is contained in:
@@ -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) {
|
||||
|
@@ -312,6 +312,6 @@ const openCustomerDetail = (id: number) => {
|
||||
/** 初始化 **/
|
||||
onMounted(async () => {
|
||||
await getList()
|
||||
customerList.value = await CustomerApi.getSimpleCustomerList()
|
||||
customerList.value = await CustomerApi.getCustomerSimpleList()
|
||||
})
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user