diff --git a/frontend/src/views/desktop/CustomerManage.vue b/frontend/src/views/desktop/CustomerManage.vue index 99cb6ff..0fbce8a 100644 --- a/frontend/src/views/desktop/CustomerManage.vue +++ b/frontend/src/views/desktop/CustomerManage.vue @@ -55,11 +55,11 @@ async function handleIndivEditSave() { manager_id: f.manager_id, }) } else if (type === 'plan') { - await api.put(`/work-plans/${f.id}`, { plan_content: f.plan_content, status: f.status }) + await api.put(`/work-plans/${f.id}`, { plan_content: f.plan_content, status: f.status, plan_date: f.plan_date, manager_id: f.manager_id }) } else if (type === 'mini') { - await api.put(`/mini-business/${f.id}`, { product_type: f.product_type, amount: f.amount, follow_up_detail: f.follow_up_detail, status: f.status }) + await api.put(`/mini-business/${f.id}`, { product_type: f.product_type, amount: f.amount, follow_up_detail: f.follow_up_detail, status: f.status, expected_revenue_date: f.expected_revenue_date, manager_id: f.manager_id }) } else if (type === 'key') { - await api.put(`/key-visits/${f.id}`, { description: f.description }) + await api.put(`/key-visits/${f.id}`, { description: f.description, urgency_level: f.urgency_level, progress_status: f.progress_status, planned_date: f.planned_date, planned_visitor: f.planned_visitor, visit_target: f.visit_target, manager_id: f.manager_id }) } ElMessage.success('已更新') indivEditVisible.value = false @@ -707,21 +707,48 @@ async function handleImport() { +