diff --git a/src/api/crm/contact/index.ts b/src/api/crm/contact/index.ts index 43fb9745..d0da7231 100644 --- a/src/api/crm/contact/index.ts +++ b/src/api/crm/contact/index.ts @@ -8,7 +8,7 @@ export interface ContactVO { email: string post: string customerId: number - address: string + detailAddress: string remark: string ownerUserId: string lastTime: Date diff --git a/src/views/crm/contact/ContactForm.vue b/src/views/crm/contact/ContactForm.vue index 055cf5be..e6fcb0da 100644 --- a/src/views/crm/contact/ContactForm.vue +++ b/src/views/crm/contact/ContactForm.vue @@ -49,8 +49,8 @@ - + + - + + + @@ -72,8 +73,8 @@ - - + + @@ -104,10 +105,10 @@ - + @@ -126,15 +127,17 @@ - + - + + + + @@ -152,10 +155,11 @@ - - + + + + + - + + @@ -192,19 +196,20 @@ import { defaultProps } from '@/utils/tree' const { t } = useI18n() // 国际化 const message = useMessage() // 消息弹窗 + const dialogVisible = ref(false) // 弹窗的是否展示 const dialogTitle = ref('') // 弹窗的标题 const formLoading = ref(false) // 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用 const formType = ref('') // 表单的类型:create - 新增;update - 修改 const areaList = ref([]) // 地区列表 const formData = ref({ - nextTime: undefined, + contactNextTime: undefined, mobile: undefined, telephone: undefined, email: undefined, customerId: undefined, customerName: undefined, - address: undefined, + detailAddress: undefined, remark: undefined, ownerUserId: undefined, lastTime: undefined, @@ -279,13 +284,14 @@ const submitForm = async () => { /** 重置表单 */ const resetForm = () => { + // TODO zyna:ide 告警,看看怎么去掉哈; formData.value = { - nextTime: undefined, + contactNextTime: undefined, mobile: undefined, telephone: undefined, email: undefined, customerId: undefined, - address: undefined, + detailAddress: undefined, remark: undefined, ownerUserId: undefined, lastTime: undefined, diff --git a/src/views/crm/contact/index.vue b/src/views/crm/contact/index.vue index 70ba4b8c..fc467ea1 100644 --- a/src/views/crm/contact/index.vue +++ b/src/views/crm/contact/index.vue @@ -11,6 +11,7 @@ - + - @@ -102,53 +102,57 @@ - + - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + -