Commit 40300e2f by 杨树贤

0.5版本

parent 6b790653
...@@ -276,6 +276,8 @@ class SupplierFilter ...@@ -276,6 +276,8 @@ class SupplierFilter
->orWhere('supplier_telephone', ''); ->orWhere('supplier_telephone', '');
})->groupBy('supplier_channel.supplier_id'); })->groupBy('supplier_channel.supplier_id');
break; break;
case "history_abnormal":
$query->where('system_tags', 'like', '%历史检测异常%');
} }
return $query; return $query;
} }
......
...@@ -52,7 +52,8 @@ class SupplierStatisticsService ...@@ -52,7 +52,8 @@ class SupplierStatisticsService
$hasTagSupplier = $this->getStatisticsCount('has_supplier_tag'); $hasTagSupplier = $this->getStatisticsCount('has_supplier_tag');
//联系人未完善 //联系人未完善
$concatNoComplete = $this->getStatisticsCount('contact_no_complete'); $concatNoComplete = $this->getStatisticsCount('contact_no_complete');
//历史检测异常
$historyAbnormal = $this->getStatisticsCount('history_abnormal');
$result = [ $result = [
'total' => $total, 'total' => $total,
'need_review' => $needReview, 'need_review' => $needReview,
......
...@@ -237,6 +237,7 @@ return [ ...@@ -237,6 +237,7 @@ return [
'to_follow_up' => '待跟进', 'to_follow_up' => '待跟进',
'no_sku' => '无sku', 'no_sku' => '无sku',
'no_quality_assurance_agreement' => '无品质协议', 'no_quality_assurance_agreement' => '无品质协议',
'history_abnormal' => '历史检测异常',
'has_supplier_tag' => '客户指定供应商', 'has_supplier_tag' => '客户指定供应商',
], ],
//Sku列表的罗盘对应菜单id //Sku列表的罗盘对应菜单id
......
...@@ -117,6 +117,10 @@ ...@@ -117,6 +117,10 @@
<a class="main_filter" title="系统标签中贴有客户指定的供应商" id="has_supplier_tag"> <a class="main_filter" title="系统标签中贴有客户指定的供应商" id="has_supplier_tag">
</a> </a>
</div> </div>
<div class="layui-row">
<a class="main_filter" title="历史检测异常" id="history_abnormal">
</a>
</div>
</div> </div>
<div class="split-item" id="s6"> <div class="split-item" id="s6">
</div> </div>
......
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 sign in to comment