fc6c1b1f by 赵千

空项率统计接口前端页面调整,添加百分比,以及后位补0

1 parent 06f63028
......@@ -38,16 +38,21 @@ class data extends filter {
},
{
label: '本期未成功接入登簿量及在登簿日志量中的占比',
width: '120',
children: [
{
prop: 'failReportCount',
label: '未成功接入登簿量(条)',
width: '120'
},
{
prop: 'failReportRatio',
label: '占比',
width: '60'
render: (h, scope) => {
return (
<span>{(scope.row.failReportRatio * 100).toFixed(2)}%</span>
);
},
}
]
},
......@@ -63,6 +68,11 @@ class data extends filter {
},
{
prop: 'failReportRatio24h',
render: (h, scope) => {
return (
<span>{(scope.row.failReportRatio24h * 100).toFixed(2)}%</span>
);
},
}
]
},
......@@ -75,6 +85,11 @@ class data extends filter {
},
{
prop: 'failReportRatio24To48h',
render: (h, scope) => {
return (
<span>{(scope.row.failReportRatio24To48h * 100).toFixed(2)}%</span>
);
},
}
]
},
......@@ -87,6 +102,11 @@ class data extends filter {
},
{
prop: 'failReportRatio48h',
render: (h, scope) => {
return (
<span>{(scope.row.failReportRatio48h * 100).toFixed(2)}%</span>
);
},
}
]
}
......
......@@ -21,6 +21,11 @@ class data extends filter {
{
label: '空项率',
prop: "yt",
render: (h, scope) => {
return (
<span>{(scope.row.yt * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -35,6 +40,11 @@ class data extends filter {
{
label: '空项率',
prop: "qlxz",
render: (h, scope) => {
return (
<span>{(scope.row.qlxz * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -49,6 +59,11 @@ class data extends filter {
{
label: '空项率',
prop: "qlsdfs",
render: (h, scope) => {
return (
<span>{(scope.row.qlsdfs * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -63,6 +78,11 @@ class data extends filter {
{
label: '空项率',
prop: "gyjsydgyqk",
render: (h, scope) => {
return (
<span>{(scope.row.gyjsydgyqk * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -77,6 +97,11 @@ class data extends filter {
{
label: '空项率',
prop: "dj",
render: (h, scope) => {
return (
<span>{(scope.row.dj * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -91,6 +116,11 @@ class data extends filter {
{
label: '空项率',
prop: "rjl",
render: (h, scope) => {
return (
<span>{(scope.row.rjl * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -111,6 +141,11 @@ class data extends filter {
{
label: '空项率',
prop: "fwgyqk",
render: (h, scope) => {
return (
<span>{(scope.row.fwgyqk * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -125,6 +160,11 @@ class data extends filter {
{
label: '空项率',
prop: "fwxz",
render: (h, scope) => {
return (
<span>{(scope.row.fwxz * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -139,6 +179,11 @@ class data extends filter {
{
label: '空项率',
prop: "fwjg",
render: (h, scope) => {
return (
<span>{(scope.row.fwjg * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -153,6 +198,11 @@ class data extends filter {
{
label: '空项率',
prop: "jgsj",
render: (h, scope) => {
return (
<span>{(scope.row.jgsj * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -173,6 +223,11 @@ class data extends filter {
{
prop: 'dyqx',
label: '空项率',
render: (h, scope) => {
return (
<span>{(scope.row.dyqx * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -193,6 +248,11 @@ class data extends filter {
{
prop: 'zgzqse',
label: '空项率',
render: (h, scope) => {
return (
<span>{(scope.row.zgzqse * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -213,6 +273,11 @@ class data extends filter {
{
prop: 'ybzjzjwzl',
label: '空项率',
render: (h, scope) => {
return (
<span>{(scope.row.ybzjzjwzl * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -227,6 +292,11 @@ class data extends filter {
{
prop: 'ybzjzjwdyfw',
label: '空项率',
render: (h, scope) => {
return (
<span>{(scope.row.ybzjzjwdyfw * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -247,6 +317,11 @@ class data extends filter {
{
prop: 'zgezjzjwzl',
label: '空项率',
render: (h, scope) => {
return (
<span>{(scope.row.zgezjzjwzl * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -261,6 +336,11 @@ class data extends filter {
{
prop: 'zgezjzjwdyfw',
label: '空项率',
render: (h, scope) => {
return (
<span>{(scope.row.zgezjzjwdyfw * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -281,6 +361,11 @@ class data extends filter {
{
prop: 'dyzxyy',
label: '空项率',
render: (h, scope) => {
return (
<span>{(scope.row.dyzxyy * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -295,6 +380,11 @@ class data extends filter {
{
prop: 'zxsj',
label: '空项率',
render: (h, scope) => {
return (
<span>{(scope.row.zxsj * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -315,6 +405,11 @@ class data extends filter {
{
prop: 'ywrzjzl',
label: '空项率',
render: (h, scope) => {
return (
<span>{(scope.row.ywrzjzl * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -329,6 +424,11 @@ class data extends filter {
{
prop: 'ywrzjh',
label: '空项率',
render: (h, scope) => {
return (
<span>{(scope.row.ywrzjh * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -343,6 +443,11 @@ class data extends filter {
{
prop: 'ghyt',
label: '空项率',
render: (h, scope) => {
return (
<span>{(scope.row.ghyt * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -357,6 +462,11 @@ class data extends filter {
{
prop: 'ygdjfwxz',
label: '空项率',
render: (h, scope) => {
return (
<span>{(scope.row.ygdjfwxz * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -377,6 +487,11 @@ class data extends filter {
{
prop: 'jfjg',
label: '空项率',
render: (h, scope) => {
return (
<span>{(scope.row.jfjg * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -391,6 +506,11 @@ class data extends filter {
{
prop: 'jfwj',
label: '空项率',
render: (h, scope) => {
return (
<span>{(scope.row.jfwj * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -405,6 +525,11 @@ class data extends filter {
{
prop: 'jfdjsj',
label: '空项率',
render: (h, scope) => {
return (
<span>{(scope.row.jfdjsj * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -419,6 +544,11 @@ class data extends filter {
{
prop: 'jfdbr',
label: '空项率',
render: (h, scope) => {
return (
<span>{(scope.row.jfdbr * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......@@ -433,6 +563,11 @@ class data extends filter {
{
prop: 'jfywh',
label: '空项率',
render: (h, scope) => {
return (
<span>{(scope.row.jfywh * 100).toFixed(2)}%</span>
);
},
},
/*{
label: '分值',
......
......@@ -21,9 +21,19 @@ class data extends filter {
children: [
{
prop: 'gyjsydsyqRate',
render: (h, scope) => {
return (
<span>{scope.row.gyjsydsyqRate.toFixed(2)}</span>
);
},
},
{
prop: 'gyjsydsyqRadio',
render: (h, scope) => {
return (
<span>{(scope.row.gyjsydsyqRadio * 100).toFixed(2)}%</span>
);
},
}
]
},
......@@ -33,10 +43,20 @@ class data extends filter {
{
prop: 'fwsyqRate',
width: 176,
render: (h, scope) => {
return (
<span>{scope.row.fwsyqRate.toFixed(2)}</span>
);
},
},
{
prop: 'fwsyqRadio',
width: 176,
render: (h, scope) => {
return (
<span>{(scope.row.fwsyqRadio * 100).toFixed(2)}%</span>
);
},
}
]
},
......@@ -45,9 +65,19 @@ class data extends filter {
children: [
{
prop: 'dyqRate',
render: (h, scope) => {
return (
<span>{scope.row.dyqRate.toFixed(2)}</span>
);
},
},
{
prop: 'dyqRadio',
render: (h, scope) => {
return (
<span>{(scope.row.dyqRadio * 100).toFixed(2)}%</span>
);
},
}
]
},
......@@ -56,9 +86,19 @@ class data extends filter {
children: [
{
prop: 'ygdjRate',
render: (h, scope) => {
return (
<span>{scope.row.ygdjRate.toFixed(2)}</span>
);
},
},
{
prop: 'ygdjRadio',
render: (h, scope) => {
return (
<span>{(scope.row.ygdjRadio * 100).toFixed(2)}%</span>
);
},
}
]
},
......@@ -67,9 +107,19 @@ class data extends filter {
children: [
{
prop: 'cfdjRate',
render: (h, scope) => {
return (
<span>{scope.row.cfdjRate.toFixed(2)}</span>
);
},
},
{
prop: 'cfdjRadio',
render: (h, scope) => {
return (
<span>{(scope.row.cfdjRadio * 100).toFixed(2)}%</span>
);
},
}
]
}
......