add-tool-pdf_type

This commit is contained in:
lccsw
2021-12-02 14:59:49 +08:00
parent 206f9dfc90
commit 7940287e73
6 changed files with 11 additions and 3 deletions
+1
View File
@@ -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;
+1 -1
View File
@@ -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){
+1 -1
View File
@@ -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;
+3 -1
View File
@@ -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']]);
+2
View File
@@ -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,'参数错误,未知合同类型');
}
+3
View File
@@ -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>