新增复杂案件考核

This commit is contained in:
Renpc-kilig 2024-04-19 15:30:34 +08:00
parent ebb778519a
commit 6eefdc4da3
3 changed files with 26 additions and 2 deletions

View File

@ -163,6 +163,13 @@ export default {
}, row.C);
}
},
{
align: 'center',
title: '复杂案件数量',
key: 'complex',
keyName: 'complexScore',
width: 60
},
{
align: 'center',
title: '网格案件调度情况',
@ -333,7 +340,7 @@ export default {
fixed: 'right',
width: 60,
render(row, index) {
return (vueSelf.computeM(row) * row.N / 100 + row.F).toFixed(2);
return ((vueSelf.computeM(row) * row.N / 100 + row.F) + vueSelf.computeComplex(row)).toFixed(2);
}
}
],
@ -482,6 +489,10 @@ export default {
computeM(row) {
return Math.max(row.C - row.G - row.H - row.I - row.J - row.K - row.L, 0);
},
computeComplex(row) {
let complex = row.complex;
return complex * 200;
},
resize() {
let body = document.body;
this.table.minHeight = body.clientHeight - 379;

View File

@ -155,6 +155,13 @@ export default {
keyName: 'caseCount',
width: 60,
},
{
align: 'center',
title: '复杂案件数量',
key: 'complex',
keyName: 'complexScore',
width: 60,
},
{
align: 'center',
title: '办结并验收',
@ -308,7 +315,8 @@ export default {
fixed: 'right',
width: 60,
render(row, index) {
return vueSelf.computeN(row) * row.O / 100 + row.F;
return vueSelf.computeN(row) * row.O / 100 + row.F + vueSelf.computeComplex(row);
// return vueSelf.computeN(row) * row.O / 100 + row.F;
}
}
],
@ -419,6 +427,10 @@ export default {
computeN(row) {
return Math.max(row.G - row.H - row.J - row.K + row.L + row.M, 0);
},
computeComplex(row) {
let complex = row.complex;
return complex * 200;
},
resize() {
let body = document.body;
this.table.minHeight = body.clientHeight - 378;

View File

@ -26,6 +26,7 @@ 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 = '/bigdata';
axios.defaults.timeout = 20000;