复杂案件考核

This commit is contained in:
Renpc-kilig 2024-04-22 15:41:08 +08:00
parent 6eefdc4da3
commit 3fbe02a330
2 changed files with 12 additions and 10 deletions

View File

@ -493,7 +493,7 @@ export default {
},
{
align: 'center',
title: '人口信息录入(3)',
title: '人口信息录入(15)',
key: 'W',
keyName: 'populationSave',
width: 80,
@ -509,7 +509,7 @@ export default {
},
{
align: 'center',
title: '人口信息质量管理(3)',
title: '人口信息质量管理(15)',
key: 'X',
keyName: 'populationQuality',
width: 80,
@ -523,7 +523,7 @@ export default {
}, row.X);
}
},
{
/*{
align: 'center',
title: '人口信息维护(4)',
key: 'Y',
@ -538,7 +538,7 @@ export default {
}
}, row.Y);
}
},
},*/
{
align: 'center',
title: '抽查情况',
@ -954,7 +954,7 @@ export default {
computeAE(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.W + row.X + row.Y - row.Z;
let result = row.C + row.H + row.L - row.M - row.N - row.O - row.P + row.W + row.X - row.Z;
result = Math.min(result, 100);
return result < 0 ? 0 : result.toFixed(2);
},
@ -1098,15 +1098,17 @@ export default {
/*item.Q = item.communityPopulationRate >= 0.75 ? 10 : (item.communityPopulationRate >= 0.6 ? 5 : 0);*/
//
// = -
var differenceValue = item.communityBasePopulationCount - item.communityPopulationCount;
/*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.W = item.communityPopulationRate === 1 ? 15 : no100Score;*/
item.W = item.communityPopulationRate * 15;
item.X = 15;
// item.Y = parseFloat((4 * item.communityPopulationRate).toFixed(2));
// ()
/*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);

View File

@ -26,8 +26,8 @@ const router = createRouter({
// axios
const createAxios = {
install(app, options) {
// axios.defaults.baseURL = 'http://219.147.99.164:8082/bigdata';
axios.defaults.baseURL = 'http://127.0.0.1:8087/bigdata';
axios.defaults.baseURL = 'http://219.147.99.164:8082/bigdata';
// axios.defaults.baseURL = 'http://127.0.0.1:8087/bigdata';
// axios.defaults.baseURL = '/bigdata';
axios.defaults.timeout = 20000;
app.config.globalProperties.$axios = axios;