去掉“党组织建设考核”和“案件处置时效”,将人口录入率和人口录入质量分值改为15分。

This commit is contained in:
Renpc-kilig 2024-04-01 09:59:48 +08:00
parent e43175ef76
commit df8fa9f6fc
2 changed files with 44 additions and 1202 deletions

1177
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -355,7 +355,7 @@ export default {
}, },
] ]
}, },
{ /*{
align: 'center', align: 'center',
title: '案件处置实效(指挥协调实效)', title: '案件处置实效(指挥协调实效)',
key: 'dispatch', key: 'dispatch',
@ -457,7 +457,7 @@ export default {
] ]
}, },
] ]
}, },*/
{ {
align: 'center', align: 'center',
title: '人口信息管理', title: '人口信息管理',
@ -550,7 +550,7 @@ export default {
}, },
] ]
}, },
{ /*{
align: 'center', align: 'center',
title: '党组织建设', title: '党组织建设',
key: 'party', key: 'party',
@ -620,7 +620,7 @@ export default {
} }
}, },
] ]
}, },*/
{ {
align: 'center', align: 'center',
title: '总得分', title: '总得分',
@ -845,8 +845,8 @@ export default {
this.modal.scoring.rowIndex = index; this.modal.scoring.rowIndex = index;
this.modal.scoring.score = populationSave; this.modal.scoring.score = populationSave;
this.modal.scoring.reason = row.reasonW; this.modal.scoring.reason = row.reasonW;
this.modal.scoring.maxScore = null; this.modal.scoring.maxScore = 15;
this.modal.scoring.minScore = null; this.modal.scoring.minScore = 0;
this.modal.scoring.userName = row.B; this.modal.scoring.userName = row.B;
this.modal.scoring.title = '人口信息录入'; this.modal.scoring.title = '人口信息录入';
}, },
@ -858,7 +858,7 @@ export default {
this.modal.scoring.rowIndex = index; this.modal.scoring.rowIndex = index;
this.modal.scoring.score = populationQuality; this.modal.scoring.score = populationQuality;
this.modal.scoring.reason = row.reasonX; this.modal.scoring.reason = row.reasonX;
this.modal.scoring.maxScore = 3; this.modal.scoring.maxScore = 15;
this.modal.scoring.minScore = 0; this.modal.scoring.minScore = 0;
this.modal.scoring.userName = row.B; this.modal.scoring.userName = row.B;
this.modal.scoring.title = '人口信息质量'; this.modal.scoring.title = '人口信息质量';
@ -946,7 +946,8 @@ export default {
}, },
computeAE(row) { computeAE(row) {
let s = this.computeS(row); let s = this.computeS(row);
let result = row.C + row.H + row.L - row.M - row.N - row.O - row.P + row.Q - s - row.T - row.U - row.V + row.W + row.X + row.Y - row.Z + row.AA + row.AB + row.AC - row.AD; // let result = row.C + row.H + row.L - row.M - row.N - row.O - row.P + row.Q - s - row.T - row.U - row.V + row.W + row.X + row.Y - row.Z + row.AA + row.AB + row.AC - row.AD;
let result = row.C + row.H + row.L - row.M - row.N - row.O - row.P + row.W + row.X + row.Y - row.Z;
result = Math.min(result, 100); result = Math.min(result, 100);
return result < 0 ? 0 : result.toFixed(2); return result < 0 ? 0 : result.toFixed(2);
}, },
@ -1083,15 +1084,23 @@ export default {
item.H = Math.min(item.F * item.G, item.D); item.H = Math.min(item.F * item.G, item.D);
item.J = Math.min(item.F * item.I, item.D); item.J = Math.min(item.F * item.I, item.D);
item.L = (item.K > 10 ? 10 : item.K) * 0.5; item.L = (item.K > 10 ? 10 : item.K) * 0.5;
item.Q = item.communityPopulationRate >= 0.75 ? 10 : (item.communityPopulationRate >= 0.6 ? 5 : 0); /*item.Q = item.communityPopulationRate >= 0.75 ? 10 : (item.communityPopulationRate >= 0.6 ? 5 : 0);*/
// //
item.W = parseFloat((3 * item.communityPopulationRate).toFixed(2)); // = -
var differenceValue = item.communityBasePopulationCount - item.communityPopulationCount;
var no100Score;
if(differenceValue > 0 && differenceValue <= 15) {
no100Score = differenceValue;
}else {
no100Score = 0;
}
item.W = item.communityPopulationRate === 1 ? 15 : no100Score;
item.Y = parseFloat((4 * item.communityPopulationRate).toFixed(2)); item.Y = parseFloat((4 * item.communityPopulationRate).toFixed(2));
// // ()
item.AA = item.communityPopulationRate >= 0.75 ? 3 : (item.communityPopulationRate >= 0.6 ? 1.5 : 0); /*item.AA = item.communityPopulationRate >= 0.75 ? 3 : (item.communityPopulationRate >= 0.6 ? 1.5 : 0);
item.AB = item.communityPopulationRate >= 0.75 ? 3 : (item.communityPopulationRate >= 0.6 ? 1.5 : 0); item.AB = item.communityPopulationRate >= 0.75 ? 3 : (item.communityPopulationRate >= 0.6 ? 1.5 : 0);
item.AC = item.communityPopulationRate >= 0.75 ? 4 : (item.communityPopulationRate >= 0.6 ? 2 : 0); item.AC = item.communityPopulationRate >= 0.75 ? 4 : (item.communityPopulationRate >= 0.6 ? 2 : 0);*/
item.S = item.R * 0.2; /*item.S = item.R * 0.2;*/
totalGridCount += item.gridCount; totalGridCount += item.gridCount;
}) })
this.table.data = data; this.table.data = data;