湖里大屏(劳务管理):在场统计接口对接
This commit is contained in:
parent
aa984fc814
commit
cd1ce1e903
@ -44,16 +44,16 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="persontype">
|
||||
<p class="person">679</p>
|
||||
<p class="person">679</p>
|
||||
<p class="person">{{statisticsCount.workercount.jfGlPersonTotal}}</p>
|
||||
<p class="person">{{statisticsCount.presencecount.jfGlPersonTotal}}</p>
|
||||
</div>
|
||||
<div class="persontype">
|
||||
<span>在册甲方管理人员数</span>
|
||||
<span>在场甲方管理人员数</span>
|
||||
</div>
|
||||
<div class="persontype">
|
||||
<p class="person">679</p>
|
||||
<p class="person">679</p>
|
||||
<p class="person">{{statisticsCount.workercount.lwPersonTotal}}</p>
|
||||
<p class="person">{{statisticsCount.presencecount.lwPersonTotal}}</p>
|
||||
</div>
|
||||
<div class="persontype">
|
||||
<span>在册劳务人员数</span>
|
||||
@ -111,6 +111,9 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
selectProjectWorkerStatisticsApi,
|
||||
} from "@/assets/js/api/dataBoard.js";
|
||||
export default {
|
||||
props: {
|
||||
title: {
|
||||
@ -127,43 +130,43 @@ export default {
|
||||
lwPersonYesterdayAdd: 0,
|
||||
eduPersonTotal: 0,
|
||||
jfGlPersonTotal: 0,
|
||||
age18: 0,
|
||||
age18to25: 0,
|
||||
womanPersonTotal: 0,
|
||||
lsPersonTotal: 0,
|
||||
jlGlPersonTotal: 0,
|
||||
age45to60: 0,
|
||||
lwPersonTotal: 0,
|
||||
manPersonTotal: 0,
|
||||
totalPerson: 0,
|
||||
age25to35: 0,
|
||||
glPersonTotal: 0,
|
||||
yfGlPersonTotal: 0,
|
||||
avgage: 0,
|
||||
age35to45: 0,
|
||||
glPersonYesterdayAdd: 0,
|
||||
age60: 0
|
||||
},
|
||||
presencecount: {
|
||||
jfGlPersonTotal: 0,
|
||||
age18: 0,
|
||||
age18to25: 0,
|
||||
womanPersonTotal: 0,
|
||||
lsPersonTotal: 0,
|
||||
jlGlPersonTotal: 0,
|
||||
age45to60: 0,
|
||||
lwPersonTotal: 0,
|
||||
manPersonTotal: 0,
|
||||
totalPerson: 0,
|
||||
age25to35: 0,
|
||||
glPersonTotal: 0,
|
||||
yfGlPersonTotal: 0,
|
||||
avgage: 0,
|
||||
age35to45: 0,
|
||||
age60: 0
|
||||
}
|
||||
}
|
||||
};
|
||||
},
|
||||
mounted(){
|
||||
this.getStatistics()
|
||||
},
|
||||
methods:{
|
||||
//项目人员统计
|
||||
getStatistics() {
|
||||
selectProjectWorkerStatisticsApi({
|
||||
sn: this.$store.state.projectSn,
|
||||
}).then((res) => {
|
||||
console.log('项目人员统计',res);
|
||||
this.statisticsCount = res.result;
|
||||
})
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user