From fb90a85e43aca87705699425409e5bc2a3e6d659 Mon Sep 17 00:00:00 2001 From: "913752709@qq.com" <913752709@qq.com> Date: Sat, 21 Oct 2023 00:53:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20crm=20=E7=BA=BF=E7=B4=A2=E8=A1=A8?= =?UTF-8?q?=E5=AE=8C=E5=96=84=20review=20=E6=8F=90=E5=88=B0=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/crm/clue/ClueForm.vue | 30 +--------- src/views/crm/clue/index.vue | 100 +------------------------------- 2 files changed, 2 insertions(+), 128 deletions(-) diff --git a/src/views/crm/clue/ClueForm.vue b/src/views/crm/clue/ClueForm.vue index e72e4228..877b26d9 100644 --- a/src/views/crm/clue/ClueForm.vue +++ b/src/views/crm/clue/ClueForm.vue @@ -7,28 +7,6 @@ label-width="100px" v-loading="formLoading" > - - - - {{ dict.label }} - - - - - - - {{ dict.label }} - - - @@ -80,8 +58,6 @@ const formLoading = ref(false) // 表单的加载中:1)修改时的数据加 const formType = ref('') // 表单的类型:create - 新增;update - 修改 const formData = ref({ id: undefined, - transformStatus: undefined, - followUpStatus: undefined, name: undefined, customerId: undefined, contactNextTime: undefined, @@ -93,10 +69,8 @@ const formData = ref({ remark: undefined }) const formRules = reactive({ - transformStatus: [{ required: true, message: '转化状态不能为空', trigger: 'blur' }], - followUpStatus: [{ required: true, message: '跟进状态不能为空', trigger: 'blur' }], name: [{ required: true, message: '线索名称不能为空', trigger: 'blur' }], - customerId: [{ required: true, message: '客户id不能为空', trigger: 'blur' }] + customerId: [{ required: true, message: '客户不能为空', trigger: 'blur' }] }) const formRef = ref() // 表单 Ref @@ -148,8 +122,6 @@ const submitForm = async () => { const resetForm = () => { formData.value = { id: undefined, - transformStatus: undefined, - followUpStatus: undefined, name: undefined, customerId: undefined, contactNextTime: undefined, diff --git a/src/views/crm/clue/index.vue b/src/views/crm/clue/index.vue index 42f20545..e866a725 100644 --- a/src/views/crm/clue/index.vue +++ b/src/views/crm/clue/index.vue @@ -8,36 +8,6 @@ :inline="true" label-width="68px" > - - - - - - - - - - - - - - - - - - - - - - - - - - - - 搜索 重置 @@ -238,17 +148,9 @@ const list = ref([]) // 列表的数据 const queryParams = reactive({ pageNo: 1, pageSize: 10, - transformStatus: null, - followUpStatus: null, name: null, - customerId: null, - contactNextTime: [], telephone: null, - mobile: null, - address: null, - ownerUserId: null, - contactLastTime: [], - createTime: [] + mobile: null }) const queryFormRef = ref() // 搜索的表单 const exportLoading = ref(false) // 导出的加载中