diff --git a/src/views/projectAdmin/jlw/laborManage/index.vue b/src/views/projectAdmin/jlw/laborManage/index.vue
index 94b847bf..93feb5e8 100644
--- a/src/views/projectAdmin/jlw/laborManage/index.vue
+++ b/src/views/projectAdmin/jlw/laborManage/index.vue
@@ -21,7 +21,7 @@
-
+
diff --git a/src/views/projectAdmin/jlw/laborManage/rightTop.vue b/src/views/projectAdmin/jlw/laborManage/rightTop.vue
index 19edfb5a..fceaaa9d 100644
--- a/src/views/projectAdmin/jlw/laborManage/rightTop.vue
+++ b/src/views/projectAdmin/jlw/laborManage/rightTop.vue
@@ -13,6 +13,9 @@ export default {
title: {
type: String,
default: "default title"
+ },
+ statisticsCount:{
+ type: Object,
}
},
data() {
@@ -26,7 +29,7 @@ export default {
const myChart = echarts.init(this.$refs.myChart);
const option = {
title:{
- text:'1450',
+ text:this.statisticsCount.workercount.totalPerson,
subtext:'在册总人数',
x:'48%',
y:'40%',
@@ -46,8 +49,8 @@ export default {
{
type: "pie",
roseType: "radius",
- radius: [40, 70],
- color:['#43d7b5','#f7d400','#5181f6','#786ff0','#5be2f6'],
+ radius: [45, 70],
+ color:['#5ce2f6','#557ded','#64f8ff'],
left: "center",
width: 400,
label: {
@@ -68,11 +71,9 @@ export default {
maxSurfaceAngle: 80
},
data: [
- { name: "项目管理人员", value: 210 },
- { name: "特种作业人员", value: 103 },
- { name: "临时工", value: 52 },
- { name: "外包工", value: 123 },
- { name: "一般作用人员", value: 80 }
+ { name: "管理人员", value: this.statisticsCount.workercount.lwPersonTotal },
+ { name: "劳务人员", value: this.statisticsCount.workercount.lwAndGlPersonTotal },
+ { name: "临时人员", value: this.statisticsCount.workercount.lsPersonTotal },
]
}
]