|
@@ -125,7 +125,7 @@
|
|
|
import { message } from 'ant-design-vue'
|
|
|
import { remove, isEmpty, cloneDeep } from 'lodash-es'
|
|
|
import userCenterApi from '@/api/sys/userCenterApi'
|
|
|
- import bizCustomerApi from '@/api/biz/bizCustomerApi'
|
|
|
+ import customerApi from '@/api/biz/customerApi'
|
|
|
import bizOrderApi from '@/api/biz/bizOrderApi'
|
|
|
import { useSlots } from 'vue'
|
|
|
// 弹窗是否打开
|
|
@@ -140,16 +140,16 @@
|
|
|
},
|
|
|
{
|
|
|
title: '客户名称',
|
|
|
- dataIndex: 'customerName',
|
|
|
+ dataIndex: 'name',
|
|
|
ellipsis: true
|
|
|
},
|
|
|
{
|
|
|
title: '联系人',
|
|
|
- dataIndex: 'customerContactName'
|
|
|
+ dataIndex: 'contact'
|
|
|
},
|
|
|
{
|
|
|
title: '手机号',
|
|
|
- dataIndex: 'customerPhone'
|
|
|
+ dataIndex: 'phone'
|
|
|
}
|
|
|
]
|
|
|
// 选中表格的表格common
|
|
@@ -162,7 +162,7 @@
|
|
|
},
|
|
|
{
|
|
|
title: '客户名称',
|
|
|
- dataIndex: 'customerName',
|
|
|
+ dataIndex: 'name',
|
|
|
ellipsis: true
|
|
|
}
|
|
|
]
|
|
@@ -325,7 +325,7 @@
|
|
|
// searchFormState.value.category = 'ORG'
|
|
|
// }
|
|
|
pageLoading.value = true
|
|
|
- bizCustomerApi.bizCustomerPage(searchFormState.value).then((data) => {
|
|
|
+ customerApi.customerPage(searchFormState.value).then((data) => {
|
|
|
current.value = data.current
|
|
|
total.value = data.total
|
|
|
// 重置、赋值
|