bug
This commit is contained in:
@@ -514,6 +514,7 @@ class Clues extends HD_Controller
|
||||
}
|
||||
$log = '更新状态(' . $status_name . ')为(' . $status_name_up . ')';
|
||||
$ret = $this->clues_model->update(array('status' => $info['status'], 'status2' => $info['status2']), array('id' => $info['id']));
|
||||
echo $this->clues_model->db->last_query();exit;
|
||||
if (!$ret) {
|
||||
$code = SYS_CODE_FAIL;
|
||||
$msg = '修改状态失败';
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
</div>
|
||||
<div class="am-form-group ml10" v-if="info.editType==1">
|
||||
<a href="javascript:void(0)" class="am-btn am-btn-sm am-btn-success"
|
||||
@click="saveEdit()">修改状态</a>
|
||||
@click="saveEdit(1)">修改状态</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -33,7 +33,7 @@ class Sign extends Wxapp
|
||||
$lng = $this->input_param('lng');
|
||||
$biz = $this->biz_model->get(['id' => $this->get_biz_id()]);
|
||||
$distance = get_distance($lat, $lng, $biz['lat'], $biz['lng']);
|
||||
if ($distance > 100) {
|
||||
if ($distance > 500) {
|
||||
return ['msg' => '您未在门店有效范围', 'type' => 'fail', 'fail_img' => 'https://img.liche.cn/spacestation/failed.png?t=20240607'];
|
||||
// throw new Exception('您未在门店的有效范围之内', ERR_PARAMS_ERROR);
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ class Receiver_clues_model extends HD_Model
|
||||
$status_ary[2] = array('name' => '跟进中', 'list' => array());
|
||||
$status_ary[3] = array('name' => '无效线索', 'list' => array());
|
||||
// $status_ary[1] = array('name' => '已分配', 'list' => array(1 => '强意向', 2 => '中意向', 3 => '弱意向', 10 => '已加微信'));
|
||||
// $status_ary[2] = array('name' => '跟进中', 'list' => array(4 => '未接通', 5 => '未完整触碰', 6 => '近期没时间'));
|
||||
$status_ary[2] = array('name' => '跟进中', 'list' => array(4 => '未接通', 5 => '待派单'));
|
||||
// $status_ary[3] = array('name' => '无效线索', 'list' => array(7 => '明确拒绝', 8 => '误报', 9 => '战败'));
|
||||
if (strlen($status)) {
|
||||
$return_status = $status_ary[$status];
|
||||
|
||||
Reference in New Issue
Block a user