|
@@ -389,8 +389,13 @@ function loadDifficultyUser() {
|
|
|
// 获取年度使用数据
|
|
|
function loadAllData() {
|
|
|
getYearSystemDataCount({}).then((result: any) => {
|
|
|
- allSystemDataCountList.value.list = result['汇总'];
|
|
|
- allSystemDataCountList.value.count = result['汇总'].filter(item => item.regionCode == '100')[0];
|
|
|
+ result['汇总'].forEach((item: any) => {
|
|
|
+ if (item.regionName != '合计' && item.regionName != "市本级") {
|
|
|
+ allSystemDataCountList.value.count.companyCount += item.companyCount;
|
|
|
+ allSystemDataCountList.value.count.postCount += item.postCount;
|
|
|
+ allSystemDataCountList.value.count.jobUserCount += item.jobUserCount;
|
|
|
+ }
|
|
|
+ })
|
|
|
|
|
|
let arr = new Array<any>();
|
|
|
arr.push(['类型', '企业数', '岗位数', "求职人员数"]);
|