This commit is contained in:
xman 2025-05-08 14:45:42 +08:00
parent 9405f14322
commit 75e56d8bbb
4 changed files with 4 additions and 4 deletions

View File

@ -190,7 +190,7 @@ class Dispatcher extends Backend
}else{
$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;
$newData[] = $datum->toArray();

View File

@ -291,7 +291,7 @@ class Worker extends Backend
//好评率
$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);
}
}

View File

@ -45,7 +45,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'echarts', 'echarts-t
{field: 'performance_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: 'city_name', title: __('城市'),operate: "LIKE",visible:false},

View File

@ -49,7 +49,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'echarts', 'echarts-t
{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: 'city_name', title: __('城市'),operate: "LIKE",visible:false},