sth
This commit is contained in:
parent
9405f14322
commit
75e56d8bbb
|
|
@ -190,7 +190,7 @@ class Dispatcher extends Backend
|
||||||
}else{
|
}else{
|
||||||
$datum->admin_user = '系统';
|
$datum->admin_user = '系统';
|
||||||
}
|
}
|
||||||
$datum->avg_time_diff = $this->_calc($datum->avg_time_diff,3600*24,2);
|
$datum->avg_time_diff = $this->_calc($datum->avg_time_diff,3600,2);
|
||||||
|
|
||||||
$datum->id = $datum->dispatch_admin_id;
|
$datum->id = $datum->dispatch_admin_id;
|
||||||
$newData[] = $datum->toArray();
|
$newData[] = $datum->toArray();
|
||||||
|
|
|
||||||
|
|
@ -291,7 +291,7 @@ class Worker extends Backend
|
||||||
//好评率
|
//好评率
|
||||||
$datum->good_rate = $this->_calc($datum->good_count,$datum->finish_num,4,true);
|
$datum->good_rate = $this->_calc($datum->good_count,$datum->finish_num,4,true);
|
||||||
|
|
||||||
$datum->avg_time_diff = $this->_calc($datum->avg_time_diff,3600*24,2);
|
$datum->avg_time_diff = $this->_calc($datum->avg_time_diff,3600,2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'echarts', 'echarts-t
|
||||||
{field: 'performance_avg', title: __('客单利润(¥)'), operate: false},
|
{field: 'performance_avg', title: __('客单利润(¥)'), operate: false},
|
||||||
{field: 'total_avg', title: __('客单价(¥)'), operate: false},
|
{field: 'total_avg', title: __('客单价(¥)'), operate: false},
|
||||||
|
|
||||||
{field: 'avg_time_diff', title: __('派单时效(天)'), operate: false},
|
{field: 'avg_time_diff', title: __('派单时效(小时)'), operate: false},
|
||||||
|
|
||||||
//{field: 'admin_user', title: __('派单员'),operate: "LIKE",visible:false},
|
//{field: 'admin_user', title: __('派单员'),operate: "LIKE",visible:false},
|
||||||
//{field: 'city_name', title: __('城市'),operate: "LIKE",visible:false},
|
//{field: 'city_name', title: __('城市'),operate: "LIKE",visible:false},
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'echarts', 'echarts-t
|
||||||
{field: 'refund_count', title: __('退款单数'), operate: false},
|
{field: 'refund_count', title: __('退款单数'), operate: false},
|
||||||
|
|
||||||
|
|
||||||
{field: 'avg_time_diff', title: __('联系时效(天)'), operate: false},
|
{field: 'avg_time_diff', title: __('联系时效(小时)'), operate: false},
|
||||||
|
|
||||||
//{field: 'admin_user', title: __('派单员'),operate: "LIKE",visible:false},
|
//{field: 'admin_user', title: __('派单员'),operate: "LIKE",visible:false},
|
||||||
//{field: 'city_name', title: __('城市'),operate: "LIKE",visible:false},
|
//{field: 'city_name', title: __('城市'),operate: "LIKE",visible:false},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user