From 68f12f9a77796e493668d134870186fdf957d58f Mon Sep 17 00:00:00 2001 From: lcc <805383944@qq.com> Date: Tue, 4 Nov 2025 11:37:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=BC=E5=87=BA=E5=AE=A2?= =?UTF-8?q?=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/controllers/receiver/Customer.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/admin/controllers/receiver/Customer.php b/admin/controllers/receiver/Customer.php index c54545fa..61b4f7fe 100644 --- a/admin/controllers/receiver/Customer.php +++ b/admin/controllers/receiver/Customer.php @@ -960,7 +960,8 @@ class Customer extends HD_Controller 'status_name' => '客户状态', 'city_name' => '所在城市', 'county_name' => '所在地区', - 'to_send' => '是否改派', + 'is_unlock' => '是否解锁', +// 'to_send' => '是否改派', 'c_time' => '建档时间', "p_time" => "派单时间", "sales_p_time" => "分配时间", @@ -1000,7 +1001,11 @@ class Customer extends HD_Controller $brand_detail = $brands[$val['brand_id']][0]['name']; $series_detail = $series[$val['series_id']][0]['name']; } - + $clues = $this->clues_model->get(['id' => $val['rid']]); + $is_unlock = ''; + if ($clues['app_id'] == Receiver_clues_model::APP_ID_ACTIVITY) { + $is_unlock = Receiver_customers_model::LOCK_LIST[$val['un_lock']]; + } $id = $val['id']; $row = array( 'id' => $id, @@ -1024,6 +1029,7 @@ class Customer extends HD_Controller 'wxgr_name' => $this->customers_model->wxgrAry($val['wxgr']), 'brand_detail' => $brand_detail, 'series_detail' => $series_detail, + 'is_unlock' => $is_unlock ); if ($params['export_tag']) {