中建四局大屏(指挥中心):人员概览
This commit is contained in:
parent
60f50385a6
commit
b014a640ff
@ -41,7 +41,7 @@ if (process.env.NODE_ENV == 'development') {
|
|||||||
// tag: 本地
|
// tag: 本地
|
||||||
// axios.defaults.baseURL = 'http://192.168.34.174:6023/' // 老大本地
|
// axios.defaults.baseURL = 'http://192.168.34.174:6023/' // 老大本地
|
||||||
// axios.defaults.baseURL = 'http://192.168.34.216:6023/' // 邱平毅本地
|
// axios.defaults.baseURL = 'http://192.168.34.216:6023/' // 邱平毅本地
|
||||||
axios.defaults.baseURL = 'http://ue6a4s.natappfree.cc' // 邱平毅vpn本地
|
// axios.defaults.baseURL = 'http://ue6a4s.natappfree.cc' // 邱平毅vpn本地
|
||||||
// axios.defaults.baseURL = 'http://139.9.66.234:6324/' // 河南春笋
|
// axios.defaults.baseURL = 'http://139.9.66.234:6324/' // 河南春笋
|
||||||
// axios.defaults.baseURL ='http://124.71.67.160:8088/' //中建四局线上
|
// axios.defaults.baseURL ='http://124.71.67.160:8088/' //中建四局线上
|
||||||
// axios.defaults.baseURL = 'http://192.168.34.125:6023/' //杨意本地 http/1.1
|
// axios.defaults.baseURL = 'http://192.168.34.125:6023/' //杨意本地 http/1.1
|
||||||
@ -50,7 +50,7 @@ if (process.env.NODE_ENV == 'development') {
|
|||||||
// axios.defaults.baseURL = 'http://47.97.202.104:6023/';
|
// axios.defaults.baseURL = 'http://47.97.202.104:6023/';
|
||||||
// axios.defaults.baseURL = 'http://139.9.66.234:8/';
|
// axios.defaults.baseURL = 'http://139.9.66.234:8/';
|
||||||
// axios.defaults.baseURL = 'http://120.196.217.6:7000/'; // 鹤洲
|
// axios.defaults.baseURL = 'http://120.196.217.6:7000/'; // 鹤洲
|
||||||
// axios.defaults.baseURL = 'http://182.90.224.237:7000/'; // 广西
|
axios.defaults.baseURL = 'http://182.90.224.237:7000/'; // 广西
|
||||||
// axios.defaults.baseURL = 'http://120.196.217.6:7000/' //鹤洲
|
// axios.defaults.baseURL = 'http://120.196.217.6:7000/' //鹤洲
|
||||||
|
|
||||||
// axios.defaults.baseURL = 'http://117.156.17.59:9090/'; //
|
// axios.defaults.baseURL = 'http://117.156.17.59:9090/'; //
|
||||||
|
|||||||
@ -6,29 +6,31 @@
|
|||||||
<img src="../assets/images/common/num_skyblue.png" />
|
<img src="../assets/images/common/num_skyblue.png" />
|
||||||
</div>
|
</div>
|
||||||
<div class="contentBtn">
|
<div class="contentBtn">
|
||||||
<p class="num1">6250</p>
|
<p class="num1"> {{ statisticsCount.presencecount.lwPersonTotal }}</p>
|
||||||
<p class="text">在场总人数</p>
|
<p class="text">在场总人数</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="img">
|
<div class="img">
|
||||||
<img style=" margin-left: 25px;" src="../assets/images/common/icon_hs.png" />
|
<img style=" margin-left: 25px;" src="../assets/images/common/icon_hs.png" />
|
||||||
</div>
|
</div>
|
||||||
<div class="contentBtn">
|
<div class="contentBtn">
|
||||||
<p class="num2">5649</p>
|
<p class="num2">{{statisticsCount.workercount.totalPerson}}</p>
|
||||||
<p class="text">实名制人数</p>
|
<p class="text">实名制人数</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="contentbut">
|
<div class="contentbut">
|
||||||
<div class="lw">
|
<div class="lw">
|
||||||
<p>劳务人数</p>
|
<p>劳务人数</p>
|
||||||
<p class="number">366</p>
|
<p class="number">{{statisticsCount.workercount.lwPersonTotal}}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="cq">
|
<div class="cq">
|
||||||
<p>管理人员数量</p>
|
<p>管理人员数量</p>
|
||||||
<p class="number">236</p>
|
<p class="number">{{ statisticsCount.workercount.jfGlPersonTotal +
|
||||||
|
statisticsCount.workercount.jlGlPersonTotal
|
||||||
|
+ statisticsCount.workercount.yfGlPersonTotal }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="tc">
|
<div class="tc">
|
||||||
<p>今日出勤人数</p>
|
<p>今日出勤人数</p>
|
||||||
<p class="number">128</p>
|
<p class="number">{{uFaceData.currentAttendance.lwPersonTotal}}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -37,8 +39,105 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Card from "../components/Card.vue";
|
import Card from "../components/Card.vue";
|
||||||
|
import {
|
||||||
|
getWorkerStatisticsCountApi,selectUfaceDevStatisticsCountApi
|
||||||
|
} from "@/assets/js/api/company/project";
|
||||||
export default {
|
export default {
|
||||||
components: { Card }
|
components: { Card },
|
||||||
|
data(){
|
||||||
|
return{
|
||||||
|
statisticsCount: {
|
||||||
|
currentMonthEducationPerson: 0,
|
||||||
|
projectcount: {
|
||||||
|
constructionStageCount14: 0,
|
||||||
|
constructionStageCount13: 0,
|
||||||
|
constructionStageCount15: 0,
|
||||||
|
constructionStageCount10: 0,
|
||||||
|
constructionStageCount12: 0,
|
||||||
|
constructionStageCount11: 0,
|
||||||
|
constructionStageCount1: 0,
|
||||||
|
saleAcreageTotal: 0,
|
||||||
|
constructionStageCount9: 0,
|
||||||
|
constructionStageCount8: 0,
|
||||||
|
constructionStageCount7: 0,
|
||||||
|
constructionStageCount6: 0,
|
||||||
|
constructionStageCount5: 0,
|
||||||
|
constructionStageCount4: 0,
|
||||||
|
constructionStageCount3: 0,
|
||||||
|
constructionStageCount2: 0,
|
||||||
|
projectNum: 0,
|
||||||
|
},
|
||||||
|
workercount: {
|
||||||
|
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,
|
||||||
|
},
|
||||||
|
devcount: { ufaceDevNum: 0, videoNum: 0, environmentDevNum: 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,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
uFaceData:{
|
||||||
|
currentAttendance:{
|
||||||
|
glPersonTotal: 0,
|
||||||
|
lwPersonTotal: 0
|
||||||
|
},yesterdayAttendance:{
|
||||||
|
glPersonTotal: 0,
|
||||||
|
lwPersonTotal: 0,totalNum: 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
},
|
||||||
|
created(){
|
||||||
|
this.getWorkerStatisticsCount()
|
||||||
|
},
|
||||||
|
methods:{
|
||||||
|
//统计企业下项目各人员统计
|
||||||
|
getWorkerStatisticsCount() {
|
||||||
|
console.log('执行');
|
||||||
|
getWorkerStatisticsCountApi({ sn: this.$store.state.userInfo.sn }).then((res) => {
|
||||||
|
console.log('老区啊拉垃圾啊哈哈',res);
|
||||||
|
this.statisticsCount = res.result;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//获取人脸设备数据
|
||||||
|
getData3(){
|
||||||
|
selectUfaceDevStatisticsCountApi({sn:this.searchsn}).then(res=>{
|
||||||
|
this.uFaceData=res.result;
|
||||||
|
})
|
||||||
|
},
|
||||||
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -106,6 +106,7 @@ export default {
|
|||||||
typeId: this.typeId,
|
typeId: this.typeId,
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if(res.code == 200){
|
if(res.code == 200){
|
||||||
|
console.log('数据',res)
|
||||||
this.showList = res.result
|
this.showList = res.result
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user