|
|
|
@ -40,19 +40,19 @@ export default {
|
|
|
|
|
this.arr1 = [];
|
|
|
|
|
this.arr2 = [];
|
|
|
|
|
this.newTable.forEach((value1) => {
|
|
|
|
|
if (value1.institutionName != "苏州市") {
|
|
|
|
|
this.arr1.push({
|
|
|
|
|
value: value1.checkEnterpriseCount,
|
|
|
|
|
name: value1.institutionName,
|
|
|
|
|
pt: value1.pt,
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
// if (value1.institutionName != "苏州市") {
|
|
|
|
|
// this.arr1.push({
|
|
|
|
|
// value: value1.checkEnterpriseCount,
|
|
|
|
|
// name: value1.institutionName,
|
|
|
|
|
// pt: value1.pt,
|
|
|
|
|
// });
|
|
|
|
|
// } else {
|
|
|
|
|
this.arr2.push({
|
|
|
|
|
value: value1.plannedEnterpriseCount,
|
|
|
|
|
name: value1.institutionName,
|
|
|
|
|
pt: value1.pt == "NaN" ? 0 : value1.pt.toFixed(2),
|
|
|
|
|
value: value1.count,
|
|
|
|
|
name: value1.lawAreas,
|
|
|
|
|
pt: value1.completionRate == "NaN" ? 0 : value1.completionRate.toFixed(2),
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
// }
|
|
|
|
|
});
|
|
|
|
|
this.initChart();
|
|
|
|
|
},
|
|
|
|
|