Bläddra i källkod

客户表属性名称调整

shasha 1 månad sedan
förälder
incheckning
d58ad2dc95
1 ändrade filer med 6 tillägg och 6 borttagningar
  1. 6 6
      snowy-admin-web/src/components/XnCustomerSelector/index.vue

+ 6 - 6
snowy-admin-web/src/components/XnCustomerSelector/index.vue

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