This commit is contained in:
小鱼开发
2024-07-08 07:36:56 +08:00
parent b0490e1dfc
commit 66c6cf419b
+5 -5
View File
@@ -73,7 +73,7 @@ class Customers extends Wxapp
'id' => $row['id'],
'cid' => $row['cid'],
'name' => $row['name'],
'mobile' => $this->get_mobile(['mobile' => $row['mobile'], 'clue_id' => $row['clue_id']]),
'mobile' => $this->get_mobile(['mobile' => $row['mobile'], 'rid' => $row['rid']]),
'complete_mobile' => $row['mobile'],
'tip' => $tip,
'is_top' => $row['is_top'],
@@ -113,7 +113,7 @@ class Customers extends Wxapp
$of_title = $row['of_id'] ? $this->get_cfTitle($row) : '';
$data['baseinfo'] = [
'name' => ['value' => $row['name'], 'cn' => '客户姓名'],
'mobile' => ['value' => $this->get_mobile(['mobile' => $row['mobile'], 'clue_id' => $row['clue_id']]), 'cn' => '客户电话'],
'mobile' => ['value' => $this->get_mobile(['mobile' => $row['mobile'], 'rid' => $row['rid']]), 'cn' => '客户电话'],
// 'c_brand' => $row['c_brand'],
'of_id' => ['value' => $of_title, 'of_id' => intval($row['of_id']), 'of2_id' => intval($row['of2_id']), 'cn' => '客户来源', 'edit_status' => $edit_status],
'buy_time' => ['value' => $row['buy_time'], 'cn' => '预计购车时间'],
@@ -943,7 +943,7 @@ class Customers extends Wxapp
$lists[] = [
'id' => $val['id'],
'name' => $val['name'],
'mobile' => $this->get_mobile(['mobile' => $val['mobile'], 'clue_id' => $val['clue_id']]),
'mobile' => $this->get_mobile(['mobile' => $val['mobile'], 'rid' => $val['rid']]),
'complete_mobile' => $val['mobile'],
'is_top' => $val['is_top'],
'other_data' => $other_data,
@@ -1260,7 +1260,7 @@ class Customers extends Wxapp
$lists[] = [
'id' => $val['id'],
'name' => $val['name'],
'mobile' => $this->get_mobile(['mobile' => $val['mobile'], 'clue_id' => $val['clue_id']]),
'mobile' => $this->get_mobile(['mobile' => $val['mobile'], 'rid' => $val['rid']]),
'reason' => $reason,
];
}
@@ -1355,7 +1355,7 @@ class Customers extends Wxapp
$mobile = $params['mobile'];
if (!$mobile) {
return '';
} elseif ($params['clue_id']){
} elseif ($params['rid']){
return mobile_asterisk($mobile);
}else {
return $mobile;