增加调度员绩效

This commit is contained in:
TS-QD1 2023-07-28 15:56:56 +08:00
parent 27402b350a
commit 5c628f81a9

View File

@ -169,6 +169,13 @@ export default {
key: 'dispatchCase',
width: 60,
children: [
{
align: 'center',
title: '数量未超过24小时',
key: 'timelyCount',
keyName: 'dispatchCaseCount',
width: 60
},
{
align: 'center',
title: '数量超过24小时',
@ -287,7 +294,7 @@ export default {
fixed: 'right',
width: 60,
render(row, index) {
return vueSelf.computeK(row) * row.L / 100;
return (vueSelf.computeK(row) * row.L / 100 + row.timelyCount * 200).toFixed(2);
}
}
],
@ -386,7 +393,7 @@ export default {
this.modal.scoring.title = '组织评价';
},
computeK(row) {
return Math.max(row.C + row.D - row.F - row.G - row.H - row.I + row.J, 0);
return Math.max(row.C + row.D - row.F - row.G - row.H - row.I + row.J, 0).toFixed(2);
},
onSearchClick() {
this.listData();
@ -396,7 +403,7 @@ export default {
let tableDatas = [];
vueSelf.table.data.forEach(item => {
item.K = vueSelf.computeK(item);
item.M = (item.K * item.L / 100).toFixed(2);
item.M = (item.K * item.L / 100 + item.timelyCount * 200).toFixed(2);
tableDatas.push({...item});
})
vueSelf.dialog.warning({