|
|
|
@ -223,6 +223,7 @@ |
|
|
|
<el-scrollbar height="200px"> |
|
|
|
<el-scrollbar height="200px"> |
|
|
|
<datav-chart-bar-fixbug |
|
|
|
<datav-chart-bar-fixbug |
|
|
|
:data="list4" |
|
|
|
:data="list4" |
|
|
|
|
|
|
|
:label-width="160" |
|
|
|
clickable |
|
|
|
clickable |
|
|
|
@item-click="openDetail($event, 'police')" |
|
|
|
@item-click="openDetail($event, 'police')" |
|
|
|
size="small" |
|
|
|
size="small" |
|
|
|
@ -246,6 +247,7 @@ |
|
|
|
<el-scrollbar height="200px"> |
|
|
|
<el-scrollbar height="200px"> |
|
|
|
<datav-chart-bar-fixbug |
|
|
|
<datav-chart-bar-fixbug |
|
|
|
:data="list5" |
|
|
|
:data="list5" |
|
|
|
|
|
|
|
:label-width="160" |
|
|
|
clickable |
|
|
|
clickable |
|
|
|
@item-click="openDetail($event, 'police')" |
|
|
|
@item-click="openDetail($event, 'police')" |
|
|
|
size="small" |
|
|
|
size="small" |
|
|
|
@ -269,6 +271,7 @@ |
|
|
|
<el-scrollbar height="200px"> |
|
|
|
<el-scrollbar height="200px"> |
|
|
|
<datav-chart-bar-fixbug |
|
|
|
<datav-chart-bar-fixbug |
|
|
|
:data="list6" |
|
|
|
:data="list6" |
|
|
|
|
|
|
|
:label-width="160" |
|
|
|
clickable |
|
|
|
clickable |
|
|
|
@item-click="openDetail($event, 'police')" |
|
|
|
@item-click="openDetail($event, 'police')" |
|
|
|
size="small" |
|
|
|
size="small" |
|
|
|
@ -421,6 +424,7 @@ function withRankColors(data) { |
|
|
|
function withProfileScope(data, query, category) { |
|
|
|
function withProfileScope(data, query, category) { |
|
|
|
return data.map(item => ({ |
|
|
|
return data.map(item => ({ |
|
|
|
...item, |
|
|
|
...item, |
|
|
|
|
|
|
|
displayLabel: `${item.label}(${item.departName || '单位未知'})`, |
|
|
|
profileScope: { groupId: query.groupId, category, rankName: item.label, rankEmpNo: item.empNo }, |
|
|
|
profileScope: { groupId: query.groupId, category, rankName: item.label, rankEmpNo: item.empNo }, |
|
|
|
initialTime: [ |
|
|
|
initialTime: [ |
|
|
|
moment(query.beginTime).startOf('day').format('YYYY-MM-DD HH:mm:ss'), |
|
|
|
moment(query.beginTime).startOf('day').format('YYYY-MM-DD HH:mm:ss'), |
|
|
|
|