From cd33ec4672397c6665665d59ed8ea0d13150367c Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 31 Dec 2021 18:21:44 +0800
Subject: [PATCH] 智能分析统计修改
---
src/views/securityAnalysis/index.vue | 26 +++++---------------------
1 files changed, 5 insertions(+), 21 deletions(-)
diff --git a/src/views/securityAnalysis/index.vue b/src/views/securityAnalysis/index.vue
index d530621..3ce72e1 100644
--- a/src/views/securityAnalysis/index.vue
+++ b/src/views/securityAnalysis/index.vue
@@ -109,6 +109,7 @@
getExamStatisInfo, //保安员考试情况统计
getinformationselectDisp, //保安派遣情况
getinformationselectSoil, //社保缴纳情况统计
+ getEducationStatistics
} from "@/api/securityAnalysis/securityAnalysis";
import { mapState } from "vuex";
import { getRoleDetail } from "@/api/system/role";
@@ -849,35 +850,18 @@
},
getEC6() {
var that = this;
- getinformationselectSoil(this.deptid, this.jurisdiction)
+ getEducationStatistics(this.deptid, this.jurisdiction)
.then((res) => {
var a = res.data.data;
- var b = that.changedata(
- a,
- "numj",
- "nmuwj",
- "已缴纳社保",
- "未缴纳社保"
- );
- that.setEC6(b);
- })
- .catch((res) => {
- var b = that.changedata(
- [],
- "numj",
- "nmuwj",
- "已缴纳社保",
- "未缴纳社保"
- );
- that.setEC6(b);
+ that.setEC6(a);
});
},
setEC6(d) {
var option;
- d = this.setColor(d, this.colors);
+ // d = this.setColor(d, this.colors);
option = {
title: {
- text: "社保缴纳情况统计",
+ text: "保安员学历分布统计",
// subtext: "纯属虚构",
top: 25,
left: "center",
--
Gitblit v1.9.3