belong
This commit is contained in:
@@ -70,6 +70,7 @@ class Clues extends HD_Controller
|
||||
$this->data['statusList'] = $statusList;
|
||||
$this->data['maintainAry'] = $this->maintainAry;
|
||||
$this->data['export_button'] = $export_button;
|
||||
$this->data['role'] = $this->role;
|
||||
$this->data['_title'] = '线索池列表';
|
||||
return $this->show_view('receiver/clues/lists', true);
|
||||
}
|
||||
@@ -93,6 +94,8 @@ class Clues extends HD_Controller
|
||||
}
|
||||
if ($this->admin_biz_str) {
|
||||
$where["belong_id in ($this->admin_biz_str)"] = null;
|
||||
}else{
|
||||
$where["belong_id"] = $params['belong_id'];
|
||||
}
|
||||
//创建时间
|
||||
if ($params['c_time']) {
|
||||
@@ -452,6 +455,7 @@ class Clues extends HD_Controller
|
||||
'brand_id' => $info['brand_id'],
|
||||
'series_id' => $info['series_id'],
|
||||
'admin_id' => $this->uid,
|
||||
'belong_id' => $this->admin_biz[0],
|
||||
'c_time' => time(),
|
||||
'en_time' => date('Y-m-d H:i:s'),
|
||||
);
|
||||
@@ -1161,6 +1165,7 @@ class Clues extends HD_Controller
|
||||
'city_id' => $map_city[$v['city_name']] ? $map_city[$v['city_name']] : 0,
|
||||
'county_id' => $map_county[$v['county_name']] ? $map_county[$v['county_name']] : 0,
|
||||
'biz_id' => $map_biz[$v['biz_name']] ? $map_biz[$v['biz_name']] : 0,
|
||||
'belong_id' => $this->admin_biz[0],
|
||||
'p_time' => $map_biz[$v['biz_name']] ? date('Y-m-d H:i:s') : 0,
|
||||
);
|
||||
$adds[] = $temp;
|
||||
|
||||
@@ -76,6 +76,22 @@
|
||||
<input id="title" name="title" type="text" value="<?= $params['title'] ?>"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if($role == 1){?>
|
||||
<div class="am-form-group fl">
|
||||
<label class="am-para-label w100">客户归属:</label>
|
||||
<div class="am-para-inline w100">
|
||||
<select name="belong_id">
|
||||
<option value=0>请选择</option>
|
||||
<option value=10>厦门</option>
|
||||
<option value=38>贵阳</option>
|
||||
<option value=39>海口</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<?php }else{ ?>
|
||||
<input name="belong_id" value="<?= $params['belong_id'] ?>" type="hidden">
|
||||
<?php } ?>
|
||||
<div class="fl" style="width:1920px">
|
||||
<label class="am-para-label w100">线索来源:</label>
|
||||
<div class="am-form-group am-para-inline w150">
|
||||
|
||||
Reference in New Issue
Block a user