首页访客项目数量异常
This commit is contained in:
parent
3a79888312
commit
48fc7dcfed
|
@ -10,45 +10,25 @@
|
|||
<div class="card-body">
|
||||
<div>
|
||||
<el-badge :value="operationnumber" class="item">
|
||||
<el-button
|
||||
class="projecting"
|
||||
icon="el-icon-bell"
|
||||
type="danger"
|
||||
size="small"
|
||||
></el-button>
|
||||
<el-button class="projecting" icon="el-icon-bell" type="danger" size="small"></el-button>
|
||||
</el-badge>
|
||||
<div style="font-size: 16px">危险作业</div>
|
||||
</div>
|
||||
<div>
|
||||
<el-badge :value="rpjnumber" class="item">
|
||||
<el-button
|
||||
class="projecting"
|
||||
icon="el-icon-user"
|
||||
type="success"
|
||||
size="small"
|
||||
></el-button>
|
||||
<el-button class="projecting" icon="el-icon-user" type="success" size="small"></el-button>
|
||||
</el-badge>
|
||||
<div style="font-size: 16px">相关方入厂</div>
|
||||
</div>
|
||||
<div>
|
||||
<el-badge :value="visitnumber2" class="item">
|
||||
<el-button
|
||||
class="projecting"
|
||||
icon="el-icon-van"
|
||||
type="warning"
|
||||
size="small"
|
||||
></el-button>
|
||||
<el-button class="projecting" icon="el-icon-van" type="warning" size="small"></el-button>
|
||||
</el-badge>
|
||||
<div style="font-size: 16px">拉送货</div>
|
||||
</div>
|
||||
<div>
|
||||
<el-badge :value="visitnumber" class="item">
|
||||
<el-button
|
||||
class="projecting"
|
||||
icon="el-icon-view"
|
||||
type="primary"
|
||||
size="small"
|
||||
></el-button>
|
||||
<el-button class="projecting" icon="el-icon-view" type="primary" size="small"></el-button>
|
||||
</el-badge>
|
||||
<div style="font-size: 16px">来访</div>
|
||||
</div>
|
||||
|
@ -74,8 +54,7 @@
|
|||
<div class="item-info">
|
||||
<div title="正式员工" class="normal">正式员工</div>
|
||||
<div class="bottom">
|
||||
<span class="large">{{ userCount.count_employee }}</span
|
||||
> <span class="normal">人</span>
|
||||
<span class="large">{{ userCount.count_employee }}</span> <span class="normal">人</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -84,8 +63,7 @@
|
|||
<div class="item-info">
|
||||
<div title="相关方" class="normal">相关方</div>
|
||||
<div class="bottom">
|
||||
<span class="large">{{ userCount.count_remployee }}</span
|
||||
> <span class="normal">人</span>
|
||||
<span class="large">{{ userCount.count_remployee }}</span> <span class="normal">人</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -94,8 +72,7 @@
|
|||
<div class="item-info">
|
||||
<div title="司机" class="normal">货车司机</div>
|
||||
<div class="bottom">
|
||||
<span class="large">{{ userCount.count_driver }}</span
|
||||
> <span class="normal">人</span>
|
||||
<span class="large">{{ userCount.count_driver }}</span> <span class="normal">人</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -104,8 +81,7 @@
|
|||
<div class="item-info">
|
||||
<div title="访客" class="normal">访客</div>
|
||||
<div class="bottom">
|
||||
<span class="large">{{ userCount.count_visitor }}</span
|
||||
> <span class="normal">人</span>
|
||||
<span class="large">{{ userCount.count_visitor }}</span> <span class="normal">人</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -143,7 +119,6 @@ export default {
|
|||
this.getManCount(); //人员统计$$
|
||||
this.getOperation();
|
||||
this.getRpj();
|
||||
this.getVisit();
|
||||
this.getVisit2();
|
||||
},
|
||||
methods: {
|
||||
|
@ -203,9 +178,14 @@ export default {
|
|||
//司机
|
||||
getVisit2() {
|
||||
this.$API.vm.visit.list
|
||||
.req({ page: 1, page_size: 1, state: 40, type: 50 })
|
||||
.req({ page: 1, page_size: 1, state: 40, purpose: 50 })
|
||||
.then((res) => {
|
||||
this.visitnumber2 = res.count;
|
||||
this.$API.vm.visit.list
|
||||
.req({ page: 1, page_size: 1, state: 40 })
|
||||
.then((res2) => {
|
||||
this.visitnumber = res2.count - this.visitnumber2;
|
||||
});
|
||||
});
|
||||
},
|
||||
},
|
||||
|
@ -218,6 +198,7 @@ export default {
|
|||
height: 45px;
|
||||
font-size: 25px;
|
||||
}
|
||||
|
||||
.welcome .logo {
|
||||
text-align: center;
|
||||
}
|
||||
|
@ -261,10 +242,12 @@ export default {
|
|||
color: var(--el-color-primary);
|
||||
background: rgba(180, 180, 180, 0.1);
|
||||
}
|
||||
|
||||
.item {
|
||||
margin-top: 10px;
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.tips-item-message {
|
||||
flex: 1;
|
||||
font-size: 14px;
|
||||
|
@ -274,11 +257,14 @@ export default {
|
|||
background: url(/public/img/zuoye.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.actions {
|
||||
text-align: center;
|
||||
margin: 40px 0 20px 0;
|
||||
}
|
||||
|
||||
.screen-cockpits {
|
||||
|
||||
// margin-top: -15px;
|
||||
.cockpit-count {
|
||||
.count-list {
|
||||
|
@ -287,6 +273,7 @@ export default {
|
|||
justify-content: space-around;
|
||||
align-items: center;
|
||||
height: 80px;
|
||||
|
||||
.count-list-item {
|
||||
width: 33.3333%;
|
||||
height: 50%;
|
||||
|
@ -361,6 +348,7 @@ export default {
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
.countTypeWrap {
|
||||
font-size: 14px;
|
||||
|
||||
|
@ -497,12 +485,14 @@ export default {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.card-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.card-body {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
|
|
Loading…
Reference in New Issue