Commit a107e2c9 by 杨树贤

罗盘精简

parent a2034803
......@@ -20,40 +20,40 @@ class SupplierStatisticsService
return $result;
}
$total = $this->getStatisticsCount('all');
//待复审
$needReview = $this->getStatisticsCount('need_review');
//待提审
$pending = $this->getStatisticsCount('pending');
//审核中
$inReview = $this->getStatisticsCount('in_review');
//通过
$passed = $this->getStatisticsCount('passed');
//未通过
$rejected = $this->getStatisticsCount('rejected');
//禁用
$disable = $this->getStatisticsCount('disable');
//没有渠道开发员
$noPurchaseUid = $this->getStatisticsCount('no_purchase_uid');
//没有采购
$noChannelUid = $this->getStatisticsCount('no_channel_uid');
//存在无效(离职)采购员
$invalidChannelUid = $this->getStatisticsCount('invalid_channel_uid');
//存在无效(离职)开发员
$invalidPurchaseUid = $this->getStatisticsCount('invalid_purchase_uid');
//需要跟进的
$toFollowUp = $this->getStatisticsCount('to_follow_up');
//没有sku的
$noSku = $this->getStatisticsCount('no_sku');
// //待复审
// $needReview = $this->getStatisticsCount('need_review');
// //待提审
// $pending = $this->getStatisticsCount('pending');
// //审核中
// $inReview = $this->getStatisticsCount('in_review');
// //通过
// $passed = $this->getStatisticsCount('passed');
// //未通过
// $rejected = $this->getStatisticsCount('rejected');
// //禁用
// $disable = $this->getStatisticsCount('disable');
// //没有渠道开发员
// $noPurchaseUid = $this->getStatisticsCount('no_purchase_uid');
// //没有采购
// $noChannelUid = $this->getStatisticsCount('no_channel_uid');
// //存在无效(离职)采购员
// $invalidChannelUid = $this->getStatisticsCount('invalid_channel_uid');
// //存在无效(离职)开发员
// $invalidPurchaseUid = $this->getStatisticsCount('invalid_purchase_uid');
// //需要跟进的
// $toFollowUp = $this->getStatisticsCount('to_follow_up');
// //没有sku的
// $noSku = $this->getStatisticsCount('no_sku');
//拉黑的
$block = $this->getStatisticsCount('block');
//没有品牌协议附件的
$noQualityAssuranceAgreement = $this->getStatisticsCount('no_quality_assurance_agreement');
//有标签的(客户指定供应商)
$hasTagSupplier = $this->getStatisticsCount('has_supplier_tag');
//联系人未完善
$concatNoComplete = $this->getStatisticsCount('contact_no_complete');
//历史检测异常
$historyAbnormal = $this->getStatisticsCount('history_abnormal');
// //没有品牌协议附件的
// $noQualityAssuranceAgreement = $this->getStatisticsCount('no_quality_assurance_agreement');
// //有标签的(客户指定供应商)
// $hasTagSupplier = $this->getStatisticsCount('has_supplier_tag');
// //联系人未完善
// $concatNoComplete = $this->getStatisticsCount('contact_no_complete');
// //历史检测异常
// $historyAbnormal = $this->getStatisticsCount('history_abnormal');
//战略供应商(等级为A)
$payTypeTerm = $this->getStatisticsCount('pay_type_term');
//账期供应商
......@@ -62,23 +62,23 @@ class SupplierStatisticsService
//缺少品质协议(线上)
$result = [
'total' => $total,
'need_review' => $needReview,
'pending' => $pending,
'in_review' => $inReview,
'passed' => $passed,
'rejected' => $rejected,
'disable' => $disable,
// 'need_review' => $needReview,
// 'pending' => $pending,
// 'in_review' => $inReview,
// 'passed' => $passed,
// 'rejected' => $rejected,
// 'disable' => $disable,
'block' => $block,
'no_purchase_uid' => $noPurchaseUid,
'no_channel_uid' => $noChannelUid,
'invalid_channel_uid' => $invalidChannelUid,
'invalid_purchase_uid' => $invalidPurchaseUid,
'to_follow_up' => $toFollowUp,
'no_sku' => $noSku,
'no_quality_assurance_agreement' => $noQualityAssuranceAgreement,
'has_supplier_tag' => $hasTagSupplier,
'contact_no_complete' => $concatNoComplete,
'history_abnormal' => $historyAbnormal,
// 'no_purchase_uid' => $noPurchaseUid,
// 'no_channel_uid' => $noChannelUid,
// 'invalid_channel_uid' => $invalidChannelUid,
// 'invalid_purchase_uid' => $invalidPurchaseUid,
// 'to_follow_up' => $toFollowUp,
// 'no_sku' => $noSku,
// 'no_quality_assurance_agreement' => $noQualityAssuranceAgreement,
// 'has_supplier_tag' => $hasTagSupplier,
// 'contact_no_complete' => $concatNoComplete,
// 'history_abnormal' => $historyAbnormal,
'pay_type_term' => $payTypeTerm,
'level_a' => $levelA,
//所有采购员离职
......
......@@ -219,24 +219,24 @@ return [
//罗盘菜单对应id
'CompassMenuMap' => [
'total' => '全部',
'pending' => '待提审',
'need_review' => '待复审',
'in_review' => '审核中',
'draft' => '草稿',
'passed' => '已通过',
'rejected' => '未通过',
// 'pending' => '待提审',
// 'need_review' => '待复审',
// 'in_review' => '审核中',
// 'draft' => '草稿',
// 'passed' => '已通过',
// 'rejected' => '未通过',
// 'disable' => '禁止交易',
// 'no_purchase_uid' => '渠道未分配',
// 'no_channel_uid' => '采购未分配',
// 'invalid_channel_uid' => '无效采购员',
// 'invalid_purchase_uid' => '无效渠道员',
// 'contact_no_complete' => '联系人不完善',
// 'to_follow_up' => '待跟进',
// 'no_sku' => '无sku',
// 'no_quality_assurance_agreement' => '无品质协议',
// 'has_supplier_tag' => '客户指定供应商',
// 'history_abnormal' => '历史检测异常',
'block' => '黑名单',
'disable' => '禁止交易',
'no_purchase_uid' => '渠道未分配',
'no_channel_uid' => '采购未分配',
'invalid_channel_uid' => '无效采购员',
'invalid_purchase_uid' => '无效渠道员',
'contact_no_complete' => '联系人不完善',
'to_follow_up' => '待跟进',
'no_sku' => '无sku',
'no_quality_assurance_agreement' => '无品质协议',
'has_supplier_tag' => '客户指定供应商',
'history_abnormal' => '历史检测异常',
'level_a' => '战略供应商',
'pay_type_term' => '账期供应商',
'all_channel_user_resigned' => '采购员全离职',
......
......@@ -3,7 +3,8 @@
let $ = layui.jquery;
let Split = layui.Split;
// 水平分割,需要分割的元素(id)、默认大小(百分比)、最小值(单位px)
Split(['#s1', '#s2', '#s3', '#s4', '#s5', '#s6', '#s7','#s8'], {sizes: [9, 12, 12, 12, 12, 12, 12,19], minSize: 70});
Split(['#s1', '#s6', '#s7','#s8'], {sizes: [9, 12, 12,12], minSize: 70});
// Split(['#s1', '#s2', '#s3', '#s4', '#s5', '#s6', '#s7','#s8'], {sizes: [9, 12, 12, 12, 12, 12, 12,19], minSize: 70});
let table = layui.table;
let form = layui.form;
let index = layui.index;
......
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