diff --git a/src/components/table/Ddy.vue b/src/components/table/Ddy.vue index 86da48d..20234de 100644 --- a/src/components/table/Ddy.vue +++ b/src/components/table/Ddy.vue @@ -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({