add-tool-pdf_type
This commit is contained in:
@@ -56,6 +56,7 @@ class Customer extends HD_Controller
|
||||
}
|
||||
if (false == strpos($_SERVER['HTTP_HOST'], 'dev')) {//dev时不限制
|
||||
$where['biz_id<>'] = 1;
|
||||
$where['brand_id<>'] = 3;
|
||||
}
|
||||
if ($params['title']) {
|
||||
$where["{$params['search_tp']} like '%{$params['title']}%'"] = null;
|
||||
|
||||
@@ -200,7 +200,7 @@ class Contract extends Wxapp{
|
||||
break;
|
||||
case 2: //确认信息
|
||||
$sign_img = array_pop($imgs);
|
||||
$height = $order['ifentrust'] ? 670 : 480;
|
||||
$height = $order['ifentrust'] ? 680 : 490;
|
||||
$jsondata['c_cardid'] && $height += 30;
|
||||
$res = $sign_entity->merge($sign_img,$img,1050,$height,300);
|
||||
if(!$res){
|
||||
|
||||
@@ -385,7 +385,7 @@ class Customers extends Wxapp
|
||||
$mobile = $this->input_param('mobile');
|
||||
$cf_clues = $this->input_param('cf_clues');//线索来源
|
||||
$admin_id = $this->input_param('admin_id');
|
||||
$id = $this->input_param('id');
|
||||
$id = $this->input_param('cus_id');
|
||||
|
||||
!$page && $page = 1;
|
||||
!$size && $size = 10;
|
||||
|
||||
@@ -147,7 +147,9 @@ class Protocol extends CI_Controller{
|
||||
$brand = $this->auto_brand_model->get(['id'=>$row['brand_id']],'name');
|
||||
$series = $this->auto_series_model->get(['id'=>$row['s_id']],'name');
|
||||
$version = $this->auto_attr_model->get(['id'=>$row['v_id']],'title');
|
||||
$row['brand_name'] = $brand['name'].$series['name'].' '.$version['title'];
|
||||
$color = $this->auto_attr_model->get(['id'=>$row['cor_id']],'title');
|
||||
$incolor = $this->auto_attr_model->get(['id'=>$row['incor_id']],'title');
|
||||
$row['brand_name'] = $brand['name'].$series['name'].' '.$version['title']." {$color['title']}(内饰{$incolor['title']})";
|
||||
//获取门店信息
|
||||
$biz = $this->biz_model->get(['id'=>$row['biz_id']]);
|
||||
$company = $this->sys_company_model->get(['id'=>$biz['company_id']]);
|
||||
|
||||
@@ -194,6 +194,8 @@ class Toole extends CI_Controller {
|
||||
$url.="car?id=".$params['oid'];
|
||||
}elseif($params['type']==2){ //服务协议
|
||||
$url.="agent?id=".$params['oid'];
|
||||
}elseif($params['type']==3){
|
||||
$url.="car_ck?id=".$params['oid'];
|
||||
}else{
|
||||
$this->show_json(0,'参数错误,未知合同类型');
|
||||
}
|
||||
|
||||
@@ -29,6 +29,9 @@
|
||||
</label>
|
||||
<label class="checkbox-inline">
|
||||
<input type="radio" value="2" v-model="info.type">服务协议
|
||||
</label>
|
||||
<label class="checkbox-inline">
|
||||
<input type="radio" value="3" v-model="info.type">车辆确认
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user