新增复杂案件考核
This commit is contained in:
parent
ebb778519a
commit
6eefdc4da3
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user