Commit 4a9c03cc authored by hujun's avatar hujun

通话记录隐私号码修改

parent 62865fd6
...@@ -74,6 +74,10 @@ class CellPhone extends Basic ...@@ -74,6 +74,10 @@ class CellPhone extends Basic
} }
} }
if (!empty($this->params['ali_yun_phone'])) {
$where['a.secret_no'] = ['LIKE', '%'.$this->params['ali_yun_phone'].'%'];
}
$data['list'] = $report->getCallList($pageNo, $pageSize, 'id desc', $field, $where); $data['list'] = $report->getCallList($pageNo, $pageSize, 'id desc', $field, $where);
$data['total'] = $report->getCallListTotal($where); $data['total'] = $report->getCallListTotal($where);
return $this->response($result['code'], $result['msg'], $data); return $this->response($result['code'], $result['msg'], $data);
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
</select> </select>
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="industry_type" placeholder="姓名" type="text" value=""> <input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="industry_type" placeholder="姓名" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="dish" placeholder="手机号" type="phone" value=""> <input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="dish" placeholder="手机号" type="phone" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="ali_yun_phone" placeholder="隐私号码" type="phone" value="">
<div class="clear"> <div class="clear">
</div> </div>
<span class="fore-span ld-Marheight">拨打时间:</span> <span class="fore-span ld-Marheight">拨打时间:</span>
......
...@@ -40,6 +40,7 @@ define (['doT', 'text!temp/callPhone_template_tpl.html', 'css!style/home.css','c ...@@ -40,6 +40,7 @@ define (['doT', 'text!temp/callPhone_template_tpl.html', 'css!style/home.css','c
params.end_date = $('#end_date') .val();//时间2 params.end_date = $('#end_date') .val();//时间2
params.call_type = $("#call_type").val(); params.call_type = $("#call_type").val();
params.call_style = $("#call_style").val(); params.call_style = $("#call_style").val();
params.ali_yun_phone = $("#ali_yun_phone").val();
$.ajax ({ $.ajax ({
url: '/index/callLog',//获取列表 url: '/index/callLog',//获取列表
type: 'GET', type: 'GET',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment