liche update for admin clues list show en_time
This commit is contained in:
@@ -73,8 +73,8 @@ class Clues extends HD_Controller
|
||||
$count = $this->clues_model->count($where);
|
||||
$lists = [];
|
||||
if ($count) {
|
||||
$fileds = 'id,name,mobile,cf_id,status_id,c_time,admin_id,status';
|
||||
$rows = $this->clues_model->select($where, 'id desc', $page, $size, $fileds);
|
||||
$fileds = 'id,name,mobile,cf_id,status_id,c_time,admin_id,status,en_time';
|
||||
$rows = $this->clues_model->select($where, 'en_time desc', $page, $size, $fileds);
|
||||
//获取来源
|
||||
$cf_id_arr = array_unique(array_column($rows, 'cf_id'));
|
||||
$cf_rows = $this->clues_cfrom_model->get_map_by_ids($cf_id_arr, 'id,title');
|
||||
@@ -125,6 +125,7 @@ class Clues extends HD_Controller
|
||||
$info_show['statusList'] = $statusList;
|
||||
$info_show['status2List'] = array(array("id" => 1, "name" => '未回访'), array("id" => 2, "name" => '已回访'));
|
||||
$info_show['c_time'] = date('Y-m-d H:i', $re['c_time']);
|
||||
$info_show['en_time'] = $re['en_time'];
|
||||
$info_show['mobile_sub'] = $re['mobile'] ? substr_replace($re['mobile'], '*****', 0, 5) : '';
|
||||
$resLogs = $this->mdOplogs->select(array('clue_id' => $id), 'c_time desc', 0, 0);
|
||||
foreach ($resLogs as $key => $value) {
|
||||
|
||||
@@ -89,6 +89,12 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-td">
|
||||
<div class="input-group">
|
||||
<div class="input-group-addon">最后报名时间:</div>
|
||||
{{infoShow.en_time}}
|
||||
</div>
|
||||
</td>
|
||||
<td class="table-td">
|
||||
<div class="input-group">
|
||||
<div class="input-group-addon">分配商家:</div>
|
||||
|
||||
@@ -131,6 +131,7 @@
|
||||
<th width="8%"><span>状态</span></th>
|
||||
<th width="4%"><span>跟进人</span></th>
|
||||
<th width="7%"><span>创建时间</span></th>
|
||||
<th width="7%"><span>最后报名时间</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -145,9 +146,10 @@
|
||||
<td><?= $v['status_name'] ?></td>
|
||||
<td><?= $v['admin_name'] ?></td>
|
||||
<td><?= date('Y-m-d H:i:s', $v['c_time']) ?></td>
|
||||
<td><?= $v['en_time'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="7">
|
||||
<td colspan="8">
|
||||
<div class="row">
|
||||
<div class="col-md-4 align-l">
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user