This commit is contained in:
小鱼开发
2024-06-06 19:12:54 +08:00
parent 1f03a202b5
commit d5b2daa0f2
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -261,7 +261,7 @@
onclick="del_img('data','car_auth_img','')">x
</div>
<a target="_blank" class="pic">
<img alt="交车合照" onclick="showViewer('viewer-cardida')"
<img alt="" onclick="showViewer('viewer-cardida')"
:src="info.img_data.car_auth_img"/>
</a>
</li>
@@ -277,7 +277,7 @@
</div>
</div>
<div class="am-form-group clearfix">
<!--div class="am-form-group clearfix">
<div class="">
<p class="am-text-default mb10 ml30 pt15 pb10">
交车合照:
@@ -302,7 +302,7 @@
</li>
</ul>
</div>
</div>
</div-->
</div>
</div>
+1 -1
View File
@@ -227,7 +227,7 @@ class Licheb extends HD_Controller
$visit_count = $this->mdCustomerVisitData->count_visit($where_v);
if ($visit_count) {//发送短信
b2m_send_sms($value['mobile'], '【理车宝】您好,今天共有 '.$visit_count.' 个客户需要回访,线索来之不易,请及时跟进~');
b2m_send_sms($value['mobile'], '【理车宝】您好,今天共有 '.$visit_count.' 个客户需要回访,客户线索来之不易,请及时跟进~');
$log[] = array('id' => $id, 'mobile' => $value['mobile'], 'count' => $visit_count);
}
}
+2 -2
View File
@@ -115,7 +115,7 @@ class Customers extends Wxapp
'name' => ['value' => $row['name'], 'cn' => '客户姓名'],
'mobile' => ['value' => $this->get_mobile(['mobile' => $row['mobile'], 'of_id' => $row['of_id'], 'of2_id' => $row['of2_id']]), '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],
'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' => '预计购车时间'],
'wxgr' => $row['wxgr'],
'wxgrimg' => $row['wxgrimg'],
@@ -1083,7 +1083,7 @@ class Customers extends Wxapp
if ($status == 1) {//跟进客户
$tabs = [['name' => '本日新增跟进', 'id' => 1], ['name' => '逾期未跟进', 'id' => 3]];
} else if ($status == 3) {
$tabs = [['name' => '今日', 'id' => 1], ['name' => '本月线索', 'id' => 2]];
$tabs = [['name' => '今日', 'id' => 1], ['name' => '本月客户', 'id' => 2]];
} else if ($status == 4) {
$tabs = [['name' => '今日', 'id' => 1], ['name' => '本月企v', 'id' => 2]];
} else if ($status == 5) {
+3 -3
View File
@@ -238,11 +238,11 @@ class User extends Wxapp
//授权
if (!is_null($encrypted)) {
if (!$encrypted || !$iv) {
throw new Exception('授权失败', API_CODE_INVILD_PARAM);
throw new Exception('授权失败,请重启小程序进行尝试', API_CODE_INVILD_PARAM);
}
$wxdata = $this->wx_data($encrypted, $iv);
if (!$wxdata) {
throw new Exception('授权失败', API_CODE_FAIL);
throw new Exception('授权失败,请重启小程序进行尝试', API_CODE_FAIL);
}
$openid = $wxdata['openId'];
$nickname = $wxdata['nickName'];
@@ -419,7 +419,7 @@ class User extends Wxapp
$where_month_defeat = ['biz_id' => $biz_id, 'status>=' => 0, 'cs_biz_id<>' => -1,
"id in(select customer_id from lc_receiver_customer_oplogs where type=7 and uid in({$str_uids}) and c_time>=" . strtotime($s_month) . " and c_time<=" . strtotime($e_month) . ")" => null];
$statistics = [
['today' => ['title' => '今日', 'value' => $this->customers_model->count($where_today_xs), 'url' => '/pages/customer/filterList/index?status=3&visit=3&title=线索']
['today' => ['title' => '今日', 'value' => $this->customers_model->count($where_today_xs), 'url' => '/pages/customer/filterList/index?status=3&visit=3&title=客户']
, 'month' => ['title' => '本月客户', 'value' => $this->customers_model->count($where_month_xs)]],
['today' => ['title' => '今日', 'value' => $this->customers_model->count($where_today_dd), 'url' => '/pages/customer/filterList/index?status=5&visit=5&title=到店']
, 'month' => ['title' => '本月到店', 'value' => $this->customers_model->count($where_month_dd)]],