From 3a7449e2e9a162040488a2b2667fcccd18896bea Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Fri, 10 Oct 2025 09:21:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E5=AF=BC=E5=87=BA=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/crmAdmin/service/CustomerService.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/crmAdmin/service/CustomerService.php b/app/crmAdmin/service/CustomerService.php index 98d4259..0ba9a31 100644 --- a/app/crmAdmin/service/CustomerService.php +++ b/app/crmAdmin/service/CustomerService.php @@ -199,7 +199,8 @@ class CustomerService 'I1' => '描述', 'J1' => '所属人', 'K1' => '录入人', - 'L1' => '录入时间', + 'L1' => '详情', + 'M1' => '录入时间', ]; // 设置表头样式 @@ -229,7 +230,7 @@ class CustomerService ], ]; - $sheet->getStyle('A1:K1')->applyFromArray($headerStyle); + $sheet->getStyle('A1:M1')->applyFromArray($headerStyle); // 填充数据 $row = 2; @@ -249,7 +250,8 @@ class CustomerService $sheet->setCellValue('I' . $row, $customerData['describe']); $sheet->setCellValue('J' . $row, $customerData['user_name']); // 所属人姓名 $sheet->setCellValue('K' . $row, $customerData['enter_user_name']); - $sheet->setCellValue('L' . $row, $customerData['created_at']->toDateTimeString()); + $sheet->setCellValue('L' . $row, strip_tags($customerData['desc_collect'])); + $sheet->setCellValue('M' . $row, $customerData['created_at']->toDateTimeString()); $row++; }